You can enter a user defined ratio. In case of the rack and pinion, it want to know a linear distance per rotation.
I have run into some limitations in the rack and pinion where the servo axis has to be perpendicular to the rack.
Differential Drive for Micro-Manipulators
In this mechanism, everything is based on user input gear connections.