summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html
index 616e7d9ecc0..11b71fbcbae 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-compjobnam.html
@@ -1,18 +1,18 @@
<head>
<title>UK TeX FAQ -- question label compjobnam</title>
</head><body>
-<h3>Comparing the &ldquo;job name&rdquo;</h3>
+<h3>Comparing the &#8220;job name&#8221;</h3>
<p/>The token <code>\</code><code>jobname</code> amusingly produces a sequence of characters
-whose category code is 12 (&lsquo;other&rsquo;), regardless of what the characters
+whose category code is 12 (&#8216;other&#8217;), regardless of what the characters
actually are. Since one inevitably has to compare a macro with the
contents of another macro (using <code>\</code><code>ifx</code>, somewhere) one needs to
create a macro whose expansion looks the same as the expansion of
<code>\</code><code>jobname</code>. We find we can do this with <code>\</code><code>meaning</code>, if we strip
-the &ldquo;<code>\</code><code>show</code> command&rdquo; prefix.
+the &#8220;<code>\</code><code>show</code> command&#8221; prefix.
<p/>The full command looks like:
<blockquote>
<pre>
-\def\StripPrefix#1&gt;{}
+\def\StripPrefix#1&#62;{}
\def\jobis#1{FF\fi
\def\predicate{#1}%
\edef\predicate{\expandafter\StripPrefix\meaning\predicate}%
@@ -22,7 +22,7 @@ the &ldquo;<code>\</code><code>show</code> command&rdquo; prefix.
</pre>
</blockquote><p>
-And it&rsquo;s used as:
+And it&#8217;s used as:
<blockquote>
<pre>
\if\jobis{mainfile}%
@@ -32,8 +32,8 @@ And it&rsquo;s used as:
\fi
</pre>
</blockquote><p>
-Note that the command <code>\</code><code>StripPrefix</code> need not be defined if you&rsquo;re
-using LaTeX &mdash; there&rsquo;s already an
+Note that the command <code>\</code><code>StripPrefix</code> need not be defined if you&#8217;re
+using LaTeX &#8212; there&#8217;s already an
<a href="FAQ-atsigns.html">internal command</a> <code>\</code><code>strip@prefix</code> that you can
use.
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=compjobnam">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=compjobnam</a>