summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html
index af21826a520..ba0c7532cbf 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-oddpage.html
@@ -1,21 +1,21 @@
<head>
<title>UK TeX FAQ -- question label oddpage</title>
</head><body>
-<h3>Finding if you&rsquo;re on an odd or an even page</h3>
+<h3>Finding if you&#8217;re on an odd or an even page</h3>
<p/><a href="FAQ-marginparside.html">Another question</a> discusses the issue
of getting <code>\</code><code>marginpar</code> commands to put their output in the correct
margin of two-sided documents. This is an example of the general
problem of knowing where a particular bit of text lies: the output
routine is asynchronous, and (La)TeX will usually process quite a
-bit of the &ldquo;next&rdquo; page before deciding to output any page. As a
+bit of the &#8220;next&#8221; page before deciding to output any page. As a
result, the <code>page</code> counter (known internally in LaTeX as
-<code>\</code><code>c@page</code>) is normally only reliable when you&rsquo;re actually <em>in</em>
+<code>\</code><code>c@page</code>) is normally only reliable when you&#8217;re actually <em>in</em>
the output routine.
<p/>The solution is to use some version of the <code>\</code><code>label</code> mechanism to
-determine which side of the page you&rsquo;re on; the value of the page
+determine which side of the page you&#8217;re on; the value of the page
counter that appears in a <code>\</code><code>pageref</code> command has been inserted in
the course of the output routine, and is therefore safe.
-<p/>However, <code>\</code><code>pageref</code> itself isn&rsquo;t reliable: one might hope that
+<p/>However, <code>\</code><code>pageref</code> itself isn&#8217;t reliable: one might hope that
<pre>
\ifthenelse{\isodd{\pageref{foo}}}{odd}{even}
</pre>
@@ -28,12 +28,12 @@ sets a private-use label, and the page reference part of that label is
then examined (in a <i>hyperref</i>-safe way) to set a conditional
<code>\</code><code>ifoddpage</code> true if the command was issued on an odd page. The
<i>memoir</i> class has the same command setting a conditional
-<code>\</code><code>ifoddpage</code>. Of course, the <code>\</code><code>label</code> contributes to LaTeX&rsquo;s
-&ldquo;Rerun to get cross-references right&rdquo; error messages&hellip;
+<code>\</code><code>ifoddpage</code>. Of course, the <code>\</code><code>label</code> contributes to LaTeX&#8217;s
+&#8220;Rerun to get cross-references right&#8221; error messages&#8230;
<p/>The Koma-Script classes have an <code>addmargin*</code> environment
that also provides the sorts of facilities that the <i>changepage</i>
-offers. Koma-Script&rsquo;s supporting command is
-<code>\</code><code>ifthispageodd{&lt;true&gt;}{&lt;false&gt;}</code> executes different things
+offers. Koma-Script&#8217;s supporting command is
+<code>\</code><code>ifthispageodd{&#60;true&#62;}{&#60;false&#62;}</code> executes different things
depending on the page number.
<dl>
<dt><tt><i>changepage.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/changepage.zip">macros/latex/contrib/changepage</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/changepage/">browse the directory</a>)