I just got a tex file from others but can not understand the following:
% ...
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse
\else
\pdfoutput=1
\pdftrue
\fi
% ...
\ifpdf
% ...
\fi
Let the tex file with this header be tt.tex. If i simply run latex tt.tex,
how can I know the \pdfoutput is defined or not?
And a general question is where i can find the explanation of all these
conditional words?
Thank you!
【在 i****d 的大作中提到】 : I just got a tex file from others but can not understand the following: : % ... : \newif\ifpdf : \ifx\pdfoutput\undefined : \pdffalse : \else : \pdfoutput=1 : \pdftrue : \fi : % ...