A relativistic approach to deep inelastic scattering on the deuteron