[XeTeX] Eplain, ifpdf.sty, XeTeX and ifxetex.sty

Will Robertson wspr81 at gmail.com
Sun Jul 16 15:54:51 CEST 2006


Hi Bruno,

Sorry for the slow reply.

On 12/07/2006, at 18:35 , Bruno Voisin wrote:

> Back to topic, and to the original motivation for this message: the
> hyperlinking support in Eplain has been designed for the drivers
> dvips, pdfTeX and dvipdfm. Given the specials in XeTeX use the same
> syntax as dvipdfmx, I imagine that should make this support available
> to XeTeX as well. A check for PDF output is provided through the
> ifpdf.sty package, based on \pdfoutput <http://www.tug.org/eplain/doc/
> eplain/Checking-for-PDF-output.html>. Two thoughts:
>
> - Would this mechanism correctly detect PDF output for XeTeX?

I guess the distinction here is that \ifpdf should always be true for  
xetex?
\ifxetex checks whether the xetex engine is being used, whereas  
\ifpdf is only for checking if pdfTeX is outputting pdf.

Will


More information about the XeTeX mailing list