Split generic setup code from ODT setup.

This is important as otherwise the LaTeX setup code loads pdftools.
And that would make pdftools a hard dependecy for running any setup
routine, including the LaTeX routine which does not need it.