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.html27
1 files changed, 14 insertions, 13 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 9829d3ffd7f..3114eebe02a 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
@@ -2,8 +2,8 @@
<title>UK TeX FAQ -- question label ifpdf</title>
</head><body>
<h3>Am I using PDFTeX?</h3>
-<p/>It&rsquo;s often useful to know whether your macros are operating within
-PDFTeX or within (&ldquo;normal&rdquo;) TeX; getting the right answer is
+<p/>It&#8217;s often useful to know whether your macros are operating within
+PDFTeX or within (&#8220;normal&#8221;) TeX; getting the right answer is
surprisingly tricky.
<p/>Suppose you need to test whether your output will be PDF or
DVI. The natural thing is to check whether you have access to
@@ -20,7 +20,7 @@ was present in the very first releases of PDFTeX) is
</pre>
</blockquote><p>
Except that neither branch of this conditional is rock-solid. The
-first branch can be misleading, since the &ldquo;awkward&rdquo; user could have
+first branch can be misleading, since the &#8220;awkward&#8221; user could have
written:
<blockquote>
<pre>
@@ -30,7 +30,7 @@ written:
so that your test will falsely choose the first alternative. While
this is a theoretical problem, it is unlikely to be a major one.
<p/>More important is the user who loads a package that uses
-LaTeX-style testing for the command name&rsquo;s existence (for example,
+LaTeX-style testing for the command name&#8217;s existence (for example,
the LaTeX <i>graphics</i> package, which is useful even to the
Plain TeX user). Such a package may have gone ahead of you, so the
test may need to be elaborated:
@@ -50,7 +50,7 @@ test may need to be elaborated:
If you only want to know whether some PDFTeX extension (such as
marginal kerning) is present, you can stop at this point: you know as
much as you need.
-<p/>However, if you need to know whether you&rsquo;re creating PDF
+<p/>However, if you need to know whether you&#8217;re creating PDF
output, you also need to know about the value of <code>\</code><code>pdfoutput</code>:
<blockquote>
<pre>
@@ -61,7 +61,7 @@ output, you also need to know about the value of <code>\</code><code>pdfoutput</
... % not running PDFTeX
\else
% running PDFTeX, with...
- \ifnum\pdfoutput&gt;0
+ \ifnum\pdfoutput&#62;0
... % PDF output
\else
... % DVI output
@@ -70,18 +70,19 @@ output, you also need to know about the value of <code>\</code><code>pdfoutput</
\fi
</pre>
</blockquote><p>
-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.
+The above is, in essence, what Heiko Oberdiek&#8217;s <i>ifpdf</i>
+package does; the reasoning is the FAQ&#8217;s interpretation of
+Heiko&#8217;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
+the &#8220;TeX project&#8221; 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="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://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/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>)
+<dt><tt><i>ifpdf.sty</i></tt><dd>Distributed as part Heiko Oberdiek&#8217;s bundle
+ <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ifpdf.html">catalogue entry</a>
+<dt><tt><i>ifluatex.sty</i></tt><dd>Distributed as part of Heiko Oberdiek&#8217;s bundle
+ <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ifluatex.html">catalogue entry</a>
<dt><tt><i>ifxetex.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/generic/ifxetex.zip">macros/generic/ifxetex</a> (or <a href="http://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>