Martin Costabel wrote:
Thibaut Cousin wrote:
[]
On both systems, the latex command is a symlink to pdfetex. I didn't
change anything to the default installation.
This has nothing to do with the question whether it outputs dvi or pdf
by default. pdfetex is quite capable of producing dvi, and it does so by
default in the Fink-installed tetex if it is called under the name
latex, because it then uses the latex.fmt and this was built with
\pefoutput=0 which means dvi output.
While this is true, the problem was my formatting I had going. We're
talking about a doctoral thesis here, so it's not that easy to just drop
what I had going. Anyway, I had followed the documentation on
lshort.pdf (highly recommend it to everyone), but the little pdf trick
they give you no longer works in this newer version of latex. Apparently
there are different indicators for figuring out if you want a dvi or pdf
between the two versions of tetex. This took quite some time to figure
out, but here it is for those who care. This is necessary for me,
because I pull my work off a subversion repository onto different
machines, so I need this code to work on whichever version of tetex I'm
using. Here is my little \ifPDF command:
\newif\ifPDF
\ifx\pdfoutput\undefined %Step to check pdf on older tetex version
\ifx\pdfversion\undefined
\PDFfalse
\fi
\else %Newer version of tetex defines pdfoutput in both cases, so need
%to check pdfoutput value = 0 (dvi)
\ifnum\pdfoutput > 0
\PDFtrue
\else
\PDFfalse
\fi
\fi
Hopes this save someone the hours of effort it took me to get this going :)
Pura Vida,
Brian
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users