summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html30
1 files changed, 19 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html
index 7f26397e5c5..8c175c4600a 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-ifpdf.html
@@ -13,9 +13,9 @@ was present in the very first releases of PDFTeX) is
<blockquote>
<pre>
\ifx\pdfoutput\undefined
- &lt;not running PDFTeX&gt;
+ ... % not running PDFTeX
\else
- &lt;running PDFTeX&gt;
+ ... % running PDFTeX
\fi
</pre>
</blockquote><p>
@@ -37,12 +37,12 @@ test may need to be elaborated:
<blockquote>
<pre>
\ifx\pdfoutput\undefined
- &lt;not running PDFTeX&gt;
+ ... % not running PDFTeX
\else
\ifx\pdfoutput\relax
- &lt;not running PDFTeX&gt;
+ ... % not running PDFTeX
\else
- &lt;running PDFTeX&gt;
+ ... % running PDFTeX
\fi
\fi
</pre>
@@ -55,16 +55,16 @@ output, you also need to know about the value of <code>\</code><code>pdfoutput</
<blockquote>
<pre>
\ifx\pdfoutput\undefined
- &lt;not running PDFTeX&gt;
+ ... % not running PDFTeX
\else
\ifx\pdfoutput\relax
- &lt;not running PDFTeX&gt;
+ ... % not running PDFTeX
\else
- &lt;running PDFTeX, with...&gt;
+ % running PDFTeX, with...
\ifnum\pdfoutput&gt;0
- &lt;...PDF output&gt;
+ ... % PDF output
\else
- &lt;...DVI output&gt;
+ ... % DVI output
\fi
\fi
\fi
@@ -73,8 +73,16 @@ output, you also need to know about the value of <code>\</code><code>pdfoutput</
The above is, in essence, what Heiko Oberdiek&rsquo;s <i>ifpdf</i>
package does; the reasoning is the FAQ&rsquo;s interpretation of
Heiko&rsquo;s explanation.
+<p/>As an aside: there are now analogous packages <i>ifxetex</i> and
+<i>ifluatex</i>, for the two up-and-coming TeX-like engines (see
+the &ldquo;TeX project&rdquo; answers covering
+<a href="FAQ-xetex.html">XeTeX</a>, and
+<a href="FAQ-luatex.html">LuaTeX</a>).
<dl>
-<dt><tt><i>ifpdf.sty</i></tt><dd>Distributed with Heiko Oberdiek&rsquo;s packages <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/oberdiek.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse</a>)
+<dt><tt><i>ifpdf.sty</i></tt><dd>Distributed with Heiko Oberdiek&rsquo;s packages <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>)
+<dt><tt><i>ifluatex.sty</i></tt><dd>Distributed with Heiko Oberdiek&rsquo;s packages
+ <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>)
+<dt><tt><i>ifxetex.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/generic/ifxetex.zip">macros/generic/ifxetex</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/generic/ifxetex/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf</a>
</body>