I don't want the latex command to produce PDFs.
Tony Arnold
tony.arnold at manchester.ac.uk
Mon Aug 14 13:02:44 UTC 2006
Adam,
On Mon, 2006-08-14 at 13:34 +0100, Adam Funk wrote:
> I've recently switched from Debian to Ubuntu and noticed that the
> latex command produces .pdf rather than .dvi output because of the
> symlink [1]
>
> [1] /usr/bin/latex -> pdfetex
>
> whereas on my old Debian box [2] is the case.
>
> [2] /usr/bin/latex -> etex
>
> I'd like to fix this so the latex command works "normally", but I
> can't just change the latex symlink to point to etex because of [3] on
> Ubuntu (on Debian etex is a binary).
>
> [3] /usr/bin/etex -> pdfetex
>
> How should restore the traditional behaviour on an Ubuntu system? (If
> I want PDF output, I'll use the pdflatex command.)
Have a look at the texlinks command and fmtutil.cnf. There are man
pages for both. I think you should be able to define Latex to do what
you want by modifying the fmtutil.cnf file and re-running texlinks. I've
not tried it, so you may need to play around a bit with this.
Regards,
Tony.
--
Tony Arnold <tony.arnold at manchester.ac.uk>
University of Manchester
More information about the ubuntu-users
mailing list