Recently, I switched to MacTex, I somehow get used to run the following sequence on a Windows command terminal:
- latex *.tex ->generate only dvi file
- bibtex *.aux
- latex *.tex
- dvipdfm *.dvi ->generate the final pdf file
However, now when I launch a terminal on Mac(Yosemite), running latex *.tex
would directly generate the final pdf without the intermediate steps, seems to me "latex" is hardlinked to a combination of commands? Is there a way to follow the same steps as I used to ?
Best Answer
The
latex
program is actuallypdflatex
running indvi
mode. According tolatex --help
, the output format can be set withSo you can try to force the
dvi
output by compiling with:What you have though actually does the same, if
latex
is giving you apdf
file, and if that's what you want, you can just runlatex,bibtex,latex,latex
and it will give you the right pdf file, so unless you specifically want thedvi
file there's no any reason to produce it.