Predictive Control for Path-Following. From Trajectory Generation to the Parametrization of the Discrete Tracking Sequences