diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wrongpn.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wrongpn.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wrongpn.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wrongpn.html index 6eb4a8d9fe4..9acc7076e44 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wrongpn.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-wrongpn.html @@ -2,13 +2,13 @@ <title>UK TeX FAQ -- question label wrongpn</title> </head><body> <h3>Page number is wrong at start of page</h3> -<p>This is a long story, whose sources are deep inside the workings of +<p/>This is a long story, whose sources are deep inside the workings of TeX itself; it all derives from the TeX’s striving to generate the best possible output. -<p>The page number is conventionally stored in <code>\</code><code>count0</code>; LaTeX +<p/>The page number is conventionally stored in <code>\</code><code>count0</code>; LaTeX users see this as the counter <code>page</code>, and may typeset its value using <code>\</code><code>thepage</code>. -<p>The number (that is to say, <code>\</code><code>count0</code>) is only updated when TeX +<p/>The number (that is to say, <code>\</code><code>count0</code>) is only updated when TeX actually outputs a page. TeX only even tries to do this when it detects a hint that it may be a good thing to do. From TeX’s point of view, the end of a paragraph is a good time to consider outputting @@ -19,7 +19,7 @@ hand makes some optimisations possible.) As a result, <code>\</code><code>count page (the exception is where the page number has been “forcibly” changed, either by changing its value directly, or by breaking the page where TeX wouldn’t necessarily have chosen to break). -<p>LaTeX provides a safe way of referring to the page number, by using +<p/>LaTeX provides a safe way of referring to the page number, by using label references. So, rather than writing: <blockquote> <pre> @@ -35,5 +35,5 @@ Here is page \pageref{here}\label{here}. (note: no space between the <code>\</code><code>pageref</code> and the <code>\</code><code>label</code>, since that could potentially end up as a page-break space itself, which rather defeats the purpose of the exercise!). -<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wrongpn">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wrongpn</a> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wrongpn">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wrongpn</a> </body> |