[texhax] \pdfoutput

Konstantin Karapetyan texnic at photonica.ru
Sat Jun 18 12:54:38 CEST 2005

> As I know, the code "\newif\ifPDF" will create a boolean variable whose value
> is set to FALSE. So we may use:

> \newif\ifPDF
> \ifx\pdfoutput\undefined
> \else\ifnum\pdfoutput > 0\PDFtrue
> \fi
> \fi

You are right, thank you! More information at

Can anybody here explain, why we need \relax and what the line
means at all?

% From ifpdf package:

Why cannot we just write


Thank you!

Happy TeXing,

More information about the texhax mailing list