diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-24 23:41:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-24 23:41:28 +0000 |
commit | 76fa5e8e1df302a76387fdcd18ae069d1b4fed02 (patch) | |
tree | 7c9f3e16947ba6de1e04ff5746d8f53cd21afabe | |
parent | d9694ce1fb8dd23d0e0854338fff8c6cddc28d19 (diff) |
eplain 3.3 (24jul09)
git-svn-id: svn://tug.org/texlive/trunk@14435 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/eplain/ChangeLog | 106 | ||||
-rw-r--r-- | Master/texmf-dist/doc/eplain/NEWS | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/eplain/README.TOP | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/eplain/demo/Makefile | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/eplain/doc/eplain.html | 4208 | ||||
-rw-r--r-- | Master/texmf-dist/doc/eplain/doc/eplain.pdf | bin | 924999 -> 893366 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/eplain/doc/lscommnt.jpg | bin | 68529 -> 68468 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/eplain/doc/xhyper.jpg | bin | 14157 -> 14084 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/eplain/util/idxuniq | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/eplain/util/trimsee | 4 | ||||
-rw-r--r-- | Master/texmf-dist/source/eplain/eplain-source-3.2.zip | bin | 391982 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/eplain/eplain-source-3.3.zip | bin | 0 -> 398812 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/eplain/xeplain.tex | 5529 | ||||
-rw-r--r-- | Master/texmf-dist/tex/eplain/eplain.tex | 242 | ||||
-rw-r--r-- | Master/texmf/doc/info/eplain.info | 558 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 40 |
16 files changed, 8368 insertions, 2374 deletions
diff --git a/Master/texmf-dist/doc/eplain/ChangeLog b/Master/texmf-dist/doc/eplain/ChangeLog index 06bff49b92c..9d12ad3aefb 100644 --- a/Master/texmf-dist/doc/eplain/ChangeLog +++ b/Master/texmf-dist/doc/eplain/ChangeLog @@ -1,3 +1,109 @@ +2009-07-21 Oleg Katsitadze <olegkat@gmail.com> + + * NEWS, Makefile, eplain.tex, doc/eplain.info, doc/eplain.pdf: + * doc/eplain.texi: + Version 3.3. + +2009-07-18 Oleg Katsitadze <olegkat@gmail.com> + + * util/mkdist-merge: Only unset world's and group's write + permission bit on the generated eplain.tex and leave user's bit + on. + + * xeplain.tex (\idx@scanterm): Reset catcode of newline before + calling \scantokens, to work around a peculiarity of TeX/e-TeX + adding a trailing newline in \scantokens when newline's catcode is + 13 (active). Hopefully nobody will ever rely on unusual newline + catcode inside an index term. + + * doc/userdef.texi (Packages known to work): Updated with the new + version of epstopdf (v2.2). + + * xeplain.tex (\usepkg@load@pkg): Send the package reloading + warning to the log file only and not the terminal, for the sake of + epstopdf.sty which causes several such warnings. + +2009-07-12 Oleg Katsitadze <olegkat@gmail.com> + + * doc/userdef.texi (Verbatim listing): Added a note on extending + \dospecials when defining new special characters. + * doc/progdef.texi (Category codes): Refer to "Verbatim listing" + for the note on \dospecials. + + * xeplain.tex (\@idxwrite): \sanitize the term before passing it + to \indexproofterm, to unactivate any active characters the user + hasn't bothered to add to \dospecials. + +2009-07-10 Karl Berry <karl@gnu.org> + + * xeplain.tex (\beginpackages): Set \DoNotLoadEpstopdf, + for TL 2009 graphics.cfg. + +2009-07-05 Oleg Katsitadze <olegkat@gmail.com> + + xeplain.tex (\eqnum, \eqalignnum, \lefteqnumbers, \righteqnumbers): + New macros. Suggested by Dan Luecking May 15 00:32:26 CEST 2009. + doc/userdef.texi (Displays): Documented \eqnum, \eqalignnum, + \lefteqnumbers and \righteqnumbers. + (Formatting displays): Removed stale reference to \generaldisplay. + + xeplian.tex, doc/userdef.texi (Logos): Added eTeX, ExTeX, XeTeX + and XeLaTeX (from tugboat.dtx). Suggested by Dorai Sitaram Apr 12 + 21:30:42 CEST 2009. + +2009-06-28 Oleg Katsitadze <olegkat@gmail.com> + + (NEWS): News for the upcoming release. + +2009-06-26 Oleg Katsitadze <olegkat@gmail.com> + + doc/hlink.texi (General hyperlinks, URL hyperlinks): Added + examples of mailto hyperlinks. Suggested by John Culleton Apr 22 + 14:53:31 CEST 2009. + +2009-06-25 Oleg Katsitadze <olegkat@gmail.com> + + demo/Makefile (ctan_lion_350x350.png): New target to notify about + the missing image file and how to obtain it. + + Makefile (DIR_SOURCE, FILES_ZSOURCE): Renamed to DIR_ZSOURCE and + FILES_ZSOURCE ("zipped source"). + (DIR_SOURCE, FILES_SOURCE): Targets for packaging unzipped source + files. Includes only xeplain.tex so far. Suggested by Jim + Diamond Jun 15 16:59:03 CEST 2009. + +2009-06-21 Oleg Katsitadze <olegkat@gmail.com> + + * README.TDS, xeplain.tex, doc/invoke.texi: Added a note on how to + obtain Eplain's source files. + + * ifpdf.sty: Updated. + + * util/idxuniq, util/trimsee: Comment tweaks. + +2009-05-23 Karl Berry <karl@gnu.org> + + * util/trimsee: use standard sh instead of bash ((...)), Frank K + tex-live mail 23 May 2009 19:30:06 +0200, debian#530199 + +2009-03-28 Oleg Katsitadze <olegkat@gmail.com> + + * doc/userdef.texi (Indexing): Note on specifying output file for + MakeIndex (option -o) when using multiple indexes. Reported by + John Culleton Mar 24 15:30:47 CET 2009. + +2009-03-27 Oleg Katsitadze <olegkat@gmail.com> + + * xeplain.tex (\@idxcollectname): Expand \idxnameseparator once, + so that the .idx file contains its contents. This ensures that + \idxname{John}{Smith} and \idx{Smith, John} don't end up as + separate index entries. Reported by John Culleton Mar 23 19:31:46 + CET 2009. + +2008-03-30 Oleg Katsitadze <olegkat@gmail.com> + + * doc/userdef.texi: Note on writing .bbl by hand. + 2007-11-26 Oleg Katsitadze <olegkat@gmail.com> * NEWS, Makefile, eplain.tex, doc/eplain.info, doc/eplain.pdf: diff --git a/Master/texmf-dist/doc/eplain/NEWS b/Master/texmf-dist/doc/eplain/NEWS index 78b45d1b6f6..b30b0254313 100644 --- a/Master/texmf-dist/doc/eplain/NEWS +++ b/Master/texmf-dist/doc/eplain/NEWS @@ -1,7 +1,25 @@ This file records noteworthy changes. This file is public domain. -3.2 (26 November 2007) +3.3 (21 July 2009) + +* New commands \eqnum and \eqalignnum, counterparts of \(l)eqno and + \(l)eqalignno, producing equation numbers which can be uniformly + transformed to right-aligned (\righteqnumbers) or left-aligned + (\lefteqnumbers). +* Eplain has borrowed the eTeX, ExTeX, XeTeX and XeLaTeX logos from + tugboat.dtx. +* \idxnameseparator is now expanded once so that the .idx file + contains its contents instead of the macro call. +* Non-silent indexing macros have been fixed not to produce a spurious + newline when newline's catcode is 13 (active). +* Eplain now takes care to unactivate any active characters before + typesetting index term in the margin for proofing. +* Updated ifpdf.sty. +* LaTeX package reloading warnings are now not shown on the terminal. +* Documentation improvements. + +3.2 (26 November 2007) * Fixed a bug which caused silent indexing macros to output spurious space in vertical mode. * Added a switch to disable index file input/output. @@ -12,6 +30,7 @@ This file records noteworthy changes. This file is public domain. and producing columns too high to fit on a page. Also improved appearance of the last column, which often came out spaced out. + 3.1 (3 December 2006) General: @@ -127,7 +146,6 @@ Other: * \ref and \cite conflicts with amstex described in manual. 2.3 (1 March 1993) - * New macros for arbitrary cross-references. * \iterate is redefined to allow \else in loops. * texnames.sty uses \spacefactor1000 instead of an empty hbox to handle diff --git a/Master/texmf-dist/doc/eplain/README.TOP b/Master/texmf-dist/doc/eplain/README.TOP new file mode 100644 index 00000000000..544578f69ae --- /dev/null +++ b/Master/texmf-dist/doc/eplain/README.TOP @@ -0,0 +1,13 @@ +This directory contains the Eplain macro package for the TeX typesetting +system. For more information about Eplain see http://tug.org/eplain. + +The package consists of the files in the directories conforming to the +TeX Directory Structure (v. 1.1). The directories are: + + tex/eplain compiled Eplain package + doc/eplain compiled Eplain manual and other docs + source/eplain zip archive of the source files for Eplain + +Please note that eplain.tex is a generated file. The original sources +can be found in the zip archive under the source/eplain directory, on +CTAN or on Eplain's home page at http://tug.org/eplain. diff --git a/Master/texmf-dist/doc/eplain/demo/Makefile b/Master/texmf-dist/doc/eplain/demo/Makefile index 45ba215c7aa..7a578663f38 100644 --- a/Master/texmf-dist/doc/eplain/demo/Makefile +++ b/Master/texmf-dist/doc/eplain/demo/Makefile @@ -21,6 +21,12 @@ xhyper.pdf: xhyper.tex ctan_lion_350x350.png lscommnt.pdf: lscommnt.tex PDFLATEX=$(PDFTEX) $(TEXI2PDF) lscommnt.tex +ctan_lion_350x350.png: + @echo "Please download" + @echo " ftp://tug.ctan.org/ftpmaint/CTAN_lion/ctan_lion_350x350.png" + @echo "and place it in the demo subdirectory." + exit 1 + # # Documents which have to be processed with dvipdfm(x). # diff --git a/Master/texmf-dist/doc/eplain/doc/eplain.html b/Master/texmf-dist/doc/eplain/doc/eplain.html index 50bd1c4bd2c..a7c7a04a014 100644 --- a/Master/texmf-dist/doc/eplain/doc/eplain.html +++ b/Master/texmf-dist/doc/eplain/doc/eplain.html @@ -3,12 +3,12 @@ <title>Eplain: Expanded Plain TeX</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Eplain: Expanded Plain TeX"> -<meta name="generator" content="makeinfo 4.8"> +<meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="top" href="#Top"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- -This manual documents the Eplain macros, version 3.2, -November 2007. Eplain provides functionality for plain TeX that +This manual documents the Eplain macros, version 3.3, +July 2009. Eplain provides functionality for plain TeX that is intended to be useful regardless of how your document is actually formatted. @@ -229,8 +229,8 @@ updates throughout.--> </div> <div class="node"> -<p><hr> <a name="Top"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Introduction">Introduction</a>, Up: <a rel="up" accesskey="u" href="#dir">(dir)</a> @@ -238,8 +238,8 @@ Up: <a rel="up" accesskey="u" href="#dir">(dir)</a> <h2 class="unnumbered">Eplain</h2> -<p>This manual documents the Eplain macros, version 3.2, -November 2007. Eplain provides functionality for plain TeX that +<p>This manual documents the Eplain macros, version 3.3, +July 2009. Eplain provides functionality for plain TeX that is intended to be useful regardless of how your document is actually formatted. @@ -519,8 +519,8 @@ updates throughout. <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="Introduction"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Installation">Installation</a>, Previous: <a rel="previous" accesskey="p" href="#Top">Top</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -556,8 +556,8 @@ format, you are out of luck. <p>On the other hand, almost everyone would like capabilities such as cross-referencing by labels, so that you don't have to put actual page numbers in the manuscript. The author of Eplain -<a name="index-Berry_002c-Karl-8"></a>is not aware of any generally available macro packages that (1) <!-- /@w -->do -not force their typographic style on an author, and yet (2) <!-- /@w -->provide +<a name="index-Berry_002c-Karl-8"></a>is not aware of any generally available macro packages that (1) do +not force their typographic style on an author, and yet (2) provide such capabilities. <p>Besides such generic macros as cross-referencing, Eplain @@ -596,8 +596,8 @@ article (written for <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="Installation"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Invoking-Eplain">Invoking Eplain</a>, Previous: <a rel="previous" accesskey="p" href="#Introduction">Introduction</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -653,8 +653,8 @@ installed under <samp><span class="file">/usr/local/share/texmf/web2c/</span></s <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="Invoking-Eplain"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#User-definitions">User definitions</a>, Previous: <a rel="previous" accesskey="p" href="#Installation">Installation</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -674,7 +674,7 @@ contemporary machines. <p>In addition, if a format (<samp><span class="file">.fmt</span></samp>) <a name="index-g_t_002efmt-_0040r_007bfile_007d-25"></a>file has been created for Eplain (see the previous section), you can eliminate the time spent reading the macro source file. You do this -by responding <code>&eplain</code> to TeX's `<samp><span class="samp">**</span></samp>' prompt. For +by responding <code>&eplain</code> to TeX's ‘<samp><span class="samp">**</span></samp>’ prompt. For example: <pre class="example"> initex @@ -720,7 +720,9 @@ by Nelson Beebe. </dl> <p class="noindent">The file <samp><span class="file">eplain.tex</span></samp> is all of these files merged -together, with comments removed. +together, with comments removed. The original sources can be found in +Eplain source zip archive in your TeX distribution, on <acronym>CTAN</acronym> +or on Eplain's home page at <a href="http://tug.org/eplain">http://tug.org/eplain</a>. <p>All of these files except <samp><span class="file">xeplain.tex</span></samp> can be input individually, if all you want are the definitions in that file. @@ -766,20 +768,20 @@ undefined cross-references and/or citations. The shell script <a href="http://www.gnu.org/software/texinfo">http://www.gnu.org/software/texinfo</a>) can automate this process: it runs BibTeX, MakeIndex and TeX as many times as needed to complete the compilation process. You will need to set the -<samp><span class="env">LATEX</span></samp> environment variable to `<samp><span class="samp">tex</span></samp>'. For example, in a +<samp><span class="env">LATEX</span></samp> environment variable to ‘<samp><span class="samp">tex</span></samp>’. For example, in a Bourne-compatible shell, the following command will do all the work: <pre class="example"> prompt$ LATEX=tex texi2dvi file.tex </pre> <p><a name="index-pdftex-35"></a>(Despite the name, <samp><span class="command">texi2dvi</span></samp> can also produce -<samp><span class="file">.pdf</span></samp> files; just set `<samp><span class="samp">LATEX=pdftex</span></samp>'.) See the output from +<samp><span class="file">.pdf</span></samp> files; just set ‘<samp><span class="samp">LATEX=pdftex</span></samp>’.) See the output from the command <samp><span class="command">texi2dvi --help</span></samp> for invoking information and a full list of options. <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="User-definitions"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hyperlinks">Hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Invoking-Eplain">Invoking Eplain</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -819,8 +821,8 @@ formatting are described in subsections. </ul> <div class="node"> -<p><hr> <a name="Diagnostics"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Rules">Rules</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -863,8 +865,8 @@ Eplain defines it to be the character <code>^^J</code>. hoping that will fix it.}% </pre> <div class="node"> -<p><hr> <a name="Rules"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Citations">Citations</a>, Previous: <a rel="previous" accesskey="p" href="#Diagnostics">Diagnostics</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -873,7 +875,7 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.2 Rules</h3> -<p>The default dimensions of rules are defined in chapter <!-- /@w -->21 of the +<p>The default dimensions of rules are defined in chapter 21 of the <cite>The TeXbook</cite>. To sum up what is given there, the “thickness” of rules is <a name="index-rule-thickness-47"></a>0.4pt by default. Eplain defines three parameters that let you change @@ -891,8 +893,8 @@ to take advantage of the default rule parameters, you must use <a name="index-evrule-52"></a> <div class="node"> -<p><hr> <a name="Citations"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Displays">Displays</a>, Previous: <a rel="previous" accesskey="p" href="#Rules">Rules</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -931,6 +933,11 @@ name for the <samp><span class="file">.bbl</span></samp> file by defining the co <code>\bblfilebasename</code>. <a name="index-bblfilebasename-62"></a>The default definition is simply <code>\jobname</code>. + <p>On the other hand, if your document's bibliography is very simple, you +may prefer to create the <samp><span class="file">.bbl</span></samp> file yourself, by hand, instead of +using BibTeX. An annotated example of this approach is also given +below. + <p>See the document <cite>BibTeXing</cite> (whose text is in the file <samp><span class="file">btxdoc.tex</span></samp>, which should be in the Eplain distribution you got) for information on how to write your <tt>.bib</tt> files. Both the @@ -961,7 +968,7 @@ in the text. <a name="index-bibliography-66"></a>command is next. It serves two purposes: producing the typeset bibliography, and telling BibTeX the root names of the <tt>.bib</tt> files. Therefore, the argument to <code>\bibliography</code> is a comma -separated list of the <tt>.bib</tt> files (without the `<samp><span class="samp">.bib</span></samp>'). Again, +separated list of the <tt>.bib</tt> files (without the ‘<samp><span class="samp">.bib</span></samp>’). Again, spaces in this list are significant. <p>You tell BibTeX the particular style in which you want your @@ -993,29 +1000,36 @@ You can restore the default by saying <code>\xrefwarningtrue</code>. <p><a name="index-Knuth_002c-Donald-Ervin-70"></a><a name="index-Graham_002c-Ronald-L_002e-71"></a><a name="index-numbered-references-72"></a><a name="index-references_002c-numbered-73"></a> If we suppose that this file was named <samp><span class="file">citex.tex</span></samp> and that the bibliography data is in <samp><span class="file">knuth.bib</span></samp> (as the <code>\bibliography</code> -command says), the following commands do what's required. (`<samp><span class="samp">$ </span></samp>' +command says), the following commands do what's required. (‘<samp><span class="samp">$ </span></samp>’ represents the shell prompt.) -<pre class="example"> $ tex citex (produces undefined citation messages) - $ bibtex citex (read knuth.bib and citex.aux, write citex.bbl) - $ tex citex (read citex.bbl, still have undefined citations) - $ tex citex (one more time, to resolve the references) +<pre class="example"> $ tex citex <i>(produces undefined citation messages)</i> + $ bibtex citex <i>(read knuth.bib and citex.aux, write citex.bbl)</i> + $ tex citex <i>(read citex.bbl, still have undefined citations)</i> + $ tex citex <i>(one more time, to resolve the references)</i> </pre> <p><a name="index-texi2dvi-74"></a>The <samp><span class="command">texi2dvi</span></samp> program can help you automate this process (see <a href="#Invoking-Eplain">Invoking Eplain</a>). + <p>For simple documents you might choose to write the <samp><span class="file">.bbl</span></samp> file +yourself, instead of running BibTeX. For this scenario, the +following commands should suffice: + +<pre class="example"> $ tex citex <i>(read citex.bbl, produces undefined citation messages)</i> + $ tex citex <i>(one more time, to resolve the references)</i> +</pre> <p>The output looks something like (because we used the <tt>plain</tt> bibliography style): <blockquote> Two citations to Knuthian works: [2,1 note]. - <p><b>References</b> + <p><b>References</b> - <p>[1] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik. <i>Concrete + <p>[1] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik. <i>Concrete Mathematics</i>. Addison-Wesley, Reading, Massachusetts, 1989. - <p>[2] Donald E. Knuth. <i>Surreal Numbers</i>. Addison-Wesley, Reading, + <p>[2] Donald E. Knuth. <i>Surreal Numbers</i>. Addison-Wesley, Reading, Massachusetts, 1974. </blockquote> @@ -1031,8 +1045,8 @@ of numbered, the bibliography style is <code>alpha</code>.) </ul> <div class="node"> -<p><hr> <a name="Formatting-citations"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Formatting-bibliographies">Formatting bibliographies</a>, Up: <a rel="up" accesskey="u" href="#Citations">Citations</a> @@ -1051,7 +1065,7 @@ redefining the following macros. <dl> <dt><code>\printcitestart</code><br><dt><code>\printcitefinish</code><dd><a name="index-printcitestart-78"></a><a name="index-printcitefinish-79"></a>Eplain expands these macros at the begining and end of the list of citations for each <code>\cite</code> command. By default, they produce a -`<samp><span class="samp">[</span></samp>' and `<samp><span class="samp">]</span></samp>', respectively. +‘<samp><span class="samp">[</span></samp>’ and ‘<samp><span class="samp">]</span></samp>’, respectively. <br><dt><code>\printbetweencitations</code><dd><a name="index-printbetweencitations-80"></a>If a <code>\cite</code> command has multiple citations, as in <code>\cite{acp,texbook}</code>, Eplain expands this macro in between each @@ -1072,8 +1086,8 @@ superscripted labels, with the optional notes in parentheses. \def\printcitenote#1{\hbox{\sevenrm\space (#1)}} </pre> <div class="node"> -<p><hr> <a name="Formatting-bibliographies"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Formatting-citations">Formatting citations</a>, Up: <a rel="up" accesskey="u" href="#Citations">Citations</a> @@ -1136,8 +1150,8 @@ the names. Just use <code>\def</code>.) that BibTeX produces to do anything you wish. <div class="node"> -<p><hr> <a name="Displays"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Time-of-day">Time of day</a>, Previous: <a rel="previous" accesskey="p" href="#Citations">Citations</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1146,34 +1160,42 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.4 Displays</h3> -<p><a name="index-displays_002c-left_002djustifying-94"></a><a name="index-mathematics-displays_002c-formatting-95"></a><a name="index-left_002djustification-of-displays-96"></a> +<p><a name="index-displays_002c-left_002djustifying-94"></a><a name="index-mathematics-displays_002c-formatting-95"></a><a name="index-left_002djustification-of-displays-96"></a><a name="index-equation-numbers_002c-left_002dalignment-97"></a><a name="index-left_002dalignment-of-equation-numbers-98"></a> By default, TeX centers displayed material. (Displayed material is just whatever you put between <code>$$</code>'s—it's not necessarily mathematics.) Many layouts would be better served if the displayed material was left-justified. Therefore, Eplain provides the command <code>\leftdisplays</code>, -<a name="index-leftdisplays-97"></a>which indents displayed material by <code>\parindent</code> plus +<a name="index-leftdisplays-99"></a>which indents displayed material by <code>\parindent</code> plus <code>\leftskip</code>, plus <code>\leftdisplayindent</code>. -<a name="index-leftdisplayindent-98"></a> +<a name="index-leftdisplayindent-100"></a> You can go back to centering displays with <code>\centereddisplays</code>. -<a name="index-centereddisplays-99"></a>(It is usually poor typography to have both centered and left-justified +<a name="index-centereddisplays-101"></a>(It is usually poor typography to have both centered and left-justified displays in a single publication, though.) <p><code>\leftdisplays</code> also changes the plain TeX commands that deal with alignments inside math displays, <code>\displaylines</code>, -<a name="index-displaylines-100"></a><code>\eqalignno</code>, -<a name="index-eqalignno-101"></a>and <code>\leqalignno</code>, -<a name="index-leqalignno-102"></a>to produce left-justified text. You can still override this formatting +<a name="index-displaylines-102"></a><code>\eqalignno</code>, +<a name="index-eqalignno-103"></a>and <code>\leqalignno</code>, +<a name="index-leqalignno-104"></a>to produce left-justified text. You can still override this formatting by inserting <code>\hfill</code> glue, as explained in <cite>The TeXbook</cite>. + <p><a name="index-lefteqnumbers-105"></a><a name="index-righteqnumbers-106"></a><a name="index-eqnum-107"></a><a name="index-eqalignnum-108"></a><a name="index-eqno-109"></a><a name="index-leqno-110"></a><a name="index-eqalignno-111"></a><a name="index-leqalignno-112"></a>Eplain defines <code>\eqnum</code> and <code>\eqalignnum</code> which can be set +up to produce either left-aligned or right-aligned equation numbers. +<code>\lefteqnumbers</code> (<code>\righteqnumbers</code>) will define +<code>\eqnum</code> to expand to <code>\eqno</code> (<code>\leqno</code>), and +<code>\eqalignnum</code> to expand to <code>\eqalignno</code> +(<code>\leqalignno</code>). Default is <code>\righteqnumbers</code> +(right-aligned equation numbers). + <ul class="menu"> <li><a accesskey="1" href="#Formatting-displays">Formatting displays</a>: General formatting of displays. </ul> <div class="node"> -<p><hr> <a name="Formatting-displays"></a> +<p><hr> Up: <a rel="up" accesskey="u" href="#Displays">Displays</a> </div> @@ -1183,19 +1205,18 @@ Up: <a rel="up" accesskey="u" href="#Displays">Displays</a> <p>If you want some other kind of formatting, you can write a definition of your own, analogous to <code>\leftdisplays</code>. You need only make sure that <code>\leftdisplaysetup</code> -<a name="index-leftdisplaysetup-103"></a>is called at the beginning of every display (presumably by invoking it -in TeX's <code>\everydisplay</code> parameter), and to define -<code>\generaldisplay</code>. -<a name="index-generaldisplay-104"></a> -<code>\leftdisplays</code> expands the old value of <code>\everydisplay</code> +<a name="index-leftdisplaysetup-113"></a>is called at the beginning of every display (presumably by invoking it +in TeX's <code>\everydisplay</code> parameter). + + <p><code>\leftdisplays</code> expands the old value of <code>\everydisplay</code> before calling <code>\leftdisplaysetup</code>, so that any changes you have made to it won't be lost. That old token list as available as the value of the token register <code>\previouseverydisplay</code>. -<a name="index-previouseverydisplay-105"></a> +<a name="index-previouseverydisplay-114"></a> <div class="node"> -<p><hr> <a name="Time-of-day"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Lists">Lists</a>, Previous: <a rel="previous" accesskey="p" href="#Displays">Displays</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1204,30 +1225,30 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.5 Time of day</h3> -<p><a name="index-time-of-day-106"></a><a name="index-date-107"></a> +<p><a name="index-time-of-day-115"></a><a name="index-date-116"></a> TeX provides the day, month, and year as numeric quantities (unless your TeX implementation is woefully deficient). Eplain provides some control sequences to make them a little more friendly to humans. <p><code>\monthname</code> -<a name="index-monthname-108"></a>produces the name of the current month, abbreviated to three letters. +<a name="index-monthname-117"></a>produces the name of the current month, abbreviated to three letters. <p><code>\fullmonthname</code> -<a name="index-fullmonthname-109"></a>produces the name of the current month, unabbreviated (in English). +<a name="index-fullmonthname-118"></a>produces the name of the current month, unabbreviated (in English). <p><code>\timestring</code> -<a name="index-timestring-110"></a>produces the current time, as in `1:14 p.m.' +<a name="index-timestring-119"></a>produces the current time, as in `1:14 p.m.' <p><code>\timestamp</code> -<a name="index-timestamp-111"></a>produces the current date and time, as in `23 Apr 64 1:14 p.m.'. +<a name="index-timestamp-120"></a>produces the current date and time, as in `23 Apr 64 1:14 p.m.'. (Except the spacing is slightly different.) <p><code>\today</code> -<a name="index-today-112"></a>produces the current date, as in `23 April 1964'. +<a name="index-today-121"></a>produces the current date, as in `23 April 1964'. <div class="node"> -<p><hr> <a name="Lists"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Verbatim-listing">Verbatim listing</a>, Previous: <a rel="previous" accesskey="p" href="#Time-of-day">Time of day</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1236,20 +1257,20 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.6 Lists</h3> -<p><a name="index-lists-113"></a><a name="index-numbered-lists-114"></a><a name="index-ordered-list-115"></a><a name="index-unordered-lists-116"></a> +<p><a name="index-lists-122"></a><a name="index-numbered-lists-123"></a><a name="index-ordered-list-124"></a><a name="index-unordered-lists-125"></a> Many documents require lists of items, either numbered or simply enumerated. Plain TeX defines one macro to help with creating lists, <code>\item</code>, but that is insufficient in many cases. Therefore, Eplain provides two pairs of commands: <dl> -<dt><code>\numberedlist ... \endnumberedlist</code><br><dt><code>\orderedlist ... \endorderedlist</code><dd><a name="index-numberedlist-117"></a><a name="index-endnumberedlist-118"></a><a name="index-orderedlist-119"></a><a name="index-endorderedlist-120"></a>These commands (they are synonyms) produce a list with the items +<dt><code>\numberedlist ... \endnumberedlist</code><br><dt><code>\orderedlist ... \endorderedlist</code><dd><a name="index-numberedlist-126"></a><a name="index-endnumberedlist-127"></a><a name="index-orderedlist-128"></a><a name="index-endorderedlist-129"></a>These commands (they are synonyms) produce a list with the items numbered sequentially, starting from one. A nested <code>\numberedlist</code> labels the items with lowercase letters, starting with `a'. Another nested <code>\numberedlist</code> labels the items with roman numerals. Yet -more deeply nested numbered lists label items with `<samp><span class="samp">*</span></samp>'. +more deeply nested numbered lists label items with ‘<samp><span class="samp">*</span></samp>’. - <br><dt><code>\unorderedlist ... \endunorderedlist</code><dd><a name="index-unorderedlist-121"></a><a name="index-endunorderedlist-122"></a>This produces a list with the items labelled with small black boxes + <br><dt><code>\unorderedlist ... \endunorderedlist</code><dd><a name="index-unorderedlist-130"></a><a name="index-endunorderedlist-131"></a>This produces a list with the items labelled with small black boxes (“square bullets”). A nested <code>\unorderedlist</code> labels items with em-dashes. Doubly (and deeper) nested unordered lists label items with `*'s. @@ -1259,7 +1280,7 @@ em-dashes. Doubly (and deeper) nested unordered lists label items with <p>The two kinds of lists can be nested within each other, as well. <p>In both kinds of lists, you begin an item with <code>\li</code>. -<a name="index-li-123"></a>An item may continue for several paragraphs. Each item starts a +<a name="index-li-132"></a>An item may continue for several paragraphs. Each item starts a paragraph. <p>You can give <code>\li</code> an optional argument, a cross-reference label. @@ -1271,7 +1292,7 @@ with <code>\xrefn</code>. See <a href="#Cross_002dreferences">Cross-references< <code>\xrefn</code> pointing to the relevant list item (see <a href="#List-hyperlinks">List hyperlinks</a>). <p>You can also say <code>\listcompact</code> -<a name="index-listcompact-124"></a>right after <code>\numberedlist</code> or <code>\unorderedlist</code>. The items in +<a name="index-listcompact-133"></a>right after <code>\numberedlist</code> or <code>\unorderedlist</code>. The items in the list will then not have any extra space between them (see <a href="#Formatting-lists">Formatting lists</a>). You might want to do this if the items in this particular list are short. @@ -1290,56 +1311,56 @@ this particular list are short. </ul> <div class="node"> -<p><hr> <a name="Formatting-lists"></a> +<p><hr> Up: <a rel="up" accesskey="u" href="#Lists">Lists</a> </div> <h4 class="subsection">4.6.1 Formatting lists</h4> -<p><a name="index-lists_002c-formatting-125"></a> +<p><a name="index-lists_002c-formatting-134"></a> Several registers define the spacing associated with lists. It is likely that their default values won't suit your particular layout. <dl> -<dt><code>\abovelistskipamount, \belowlistskipamount</code><dd><a name="index-abovelistskipamount-126"></a><a name="index-belowlistskipamount-127"></a>The vertical glue inserted before and after every list, respectively. +<dt><code>\abovelistskipamount, \belowlistskipamount</code><dd><a name="index-abovelistskipamount-135"></a><a name="index-belowlistskipamount-136"></a>The vertical glue inserted before and after every list, respectively. - <br><dt><code>\interitemskipamount</code><dd><a name="index-interitemskipamount-128"></a>The vertical glue inserted before each item except the first. + <br><dt><code>\interitemskipamount</code><dd><a name="index-interitemskipamount-137"></a>The vertical glue inserted before each item except the first. <code>\listcompact</code> resets this to zero, as mentioned above. - <br><dt><code>\listleftindent, \listrightindent</code><dd><a name="index-listleftindent-129"></a><a name="index-listrightindent-130"></a><code>\listrightindent</code> is the amount of space by which the list is + <br><dt><code>\listleftindent, \listrightindent</code><dd><a name="index-listleftindent-138"></a><a name="index-listrightindent-139"></a><code>\listrightindent</code> is the amount of space by which the list is indented on the right; i.e., it is added to <code>\rightskip</code>. <code>\listleftindent</code> is the amount of space, <em>relative to</em> <code>\parindent</code>, by which the list is indented on the left. Why treat -the two parameters differently? Because (a) <!-- /@w -->it is more useful to +the two parameters differently? Because (a) it is more useful to make the list indentation depend on the paragraph indentation; -(b) <!-- /@w -->footnotes aren't formatted right if <code>\parindent</code> is reset +(b) footnotes aren't formatted right if <code>\parindent</code> is reset to zero. </dl> <p>The three vertical glues are inserted by macros, and preceded by penalties: <code>\abovelistskip</code> -<a name="index-abovelistskip-131"></a>does <code>\vpenalty\abovelistpenalty</code> -<a name="index-abovelistpenalty-132"></a>and then <code>\vskip\abovelistskip</code>. <code>\belowlistskip</code> -<a name="index-belowlistskip-133"></a>and <code>\interitemskip</code> -<a name="index-interitemskip-134"></a>are analogous. +<a name="index-abovelistskip-140"></a>does <code>\vpenalty\abovelistpenalty</code> +<a name="index-abovelistpenalty-141"></a>and then <code>\vskip\abovelistskip</code>. <code>\belowlistskip</code> +<a name="index-belowlistskip-142"></a>and <code>\interitemskip</code> +<a name="index-interitemskip-143"></a>are analogous. <p>In addition, the macro <code>\listmarkerspace</code> -<a name="index-listmarkerspace-135"></a>is called to separate the item label from the item text. This is set to +<a name="index-listmarkerspace-144"></a>is called to separate the item label from the item text. This is set to <code>\enspace</code> by default. <p>If you want to change the labels on the items, you can redefine these macros: <code>\numberedmarker</code> -<a name="index-numberedmarker-136"></a>or <code>\unorderedmarker</code>. -<a name="index-unorderedmarker-137"></a>The following registers might be useful if you do: +<a name="index-numberedmarker-145"></a>or <code>\unorderedmarker</code>. +<a name="index-unorderedmarker-146"></a>The following registers might be useful if you do: <dl> -<dt><code>\numberedlistdepth, \unorderedlistdepth</code><dd><a name="index-numberedlistdepth-138"></a><a name="index-unorderedlistdepth-139"></a>These keep track of the depth of nesting of the two kinds of lists. +<dt><code>\numberedlistdepth, \unorderedlistdepth</code><dd><a name="index-numberedlistdepth-147"></a><a name="index-unorderedlistdepth-148"></a>These keep track of the depth of nesting of the two kinds of lists. - <br><dt><code>\itemnumber, \itemletter</code><dd><a name="index-itemnumber-140"></a><a name="index-itemletter-141"></a>These keep track of the number of items that have been seen in the current + <br><dt><code>\itemnumber, \itemletter</code><dd><a name="index-itemnumber-149"></a><a name="index-itemletter-150"></a>These keep track of the number of items that have been seen in the current numbered list. They are both integer registers. The difference is that <code>\itemnumber</code> starts at one, and <code>\itemletter</code> starts at 97, i.e., lowercase `a'. @@ -1348,16 +1369,16 @@ i.e., lowercase `a'. <p>You can also redefine the control sequences that are used internally, if you want to do something radically different: <code>\beginlist</code> -<a name="index-beginlist-142"></a>is invoked to begin both kinds of lists; <code>\printitem</code> -<a name="index-printitem-143"></a>is invoked to print the label (and space following the label) for each +<a name="index-beginlist-151"></a>is invoked to begin both kinds of lists; <code>\printitem</code> +<a name="index-printitem-152"></a>is invoked to print the label (and space following the label) for each item; and <code>\endlist</code> -<a name="index-endlist-144"></a>is invoked to end both kinds of +<a name="index-endlist-153"></a>is invoked to end both kinds of lists. -<a name="index-item-labels_002c-changing-145"></a><a name="index-labels-on-items_002c-changing-146"></a> +<a name="index-item-labels_002c-changing-154"></a><a name="index-labels-on-items_002c-changing-155"></a> <div class="node"> -<p><hr> <a name="Verbatim-listing"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Contents">Contents</a>, Previous: <a rel="previous" accesskey="p" href="#Lists">Lists</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1366,40 +1387,40 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.7 Verbatim listing</h3> -<p><a name="index-verbatim-listing-147"></a><a name="index-listing-files-148"></a><a name="index-files_002c-verbatim-listing-of-149"></a>It is sometimes useful to include a file verbatim in your document; +<p><a name="index-verbatim-listing-156"></a><a name="index-listing-files-157"></a><a name="index-files_002c-verbatim-listing-of-158"></a>It is sometimes useful to include a file verbatim in your document; for example, part of a computer program. The <code>\listing</code> -<a name="index-listing-150"></a>command is given one argument, a filename, and produces the contents of +<a name="index-listing-159"></a>command is given one argument, a filename, and produces the contents of that file in your document. <code>\listing</code> expands <code>\listingfont</code> to set the current font. The default value of <code>\listingfont</code> -<a name="index-listingfont-151"></a>is <code>\tt</code>. +<a name="index-listingfont-160"></a>is <code>\tt</code>. <p>You can take arbitrary actions before reading the file by defining the macro <code>\setuplistinghook</code>. -<a name="index-setuplistinghook-152"></a>This is expanded just before the file is input. +<a name="index-setuplistinghook-161"></a>This is expanded just before the file is input. <p>If you want to have line numbers on the output, you can say <code>\let\setuplistinghook = \linenumberedlisting</code>. -<a name="index-linenumberedlisting-153"></a>The line numbers are stored in the count register <code>\lineno</code> while +<a name="index-linenumberedlisting-162"></a>The line numbers are stored in the count register <code>\lineno</code> while the file is being read. You can redefine the macro <code>\printlistinglineno</code> -<a name="index-printlistinglineno-154"></a>to change how they are printed. +<a name="index-printlistinglineno-163"></a>to change how they are printed. <p>Normally, the <code>\listing</code> command will add a final empty line at the end of the output, even if the file does not end in a newline. To suppress this final line, you can say <code>\let\setuplistinghook = \nolastlinelisting</code>. -<a name="index-nolastlinelisting-155"></a>This also works with line numbers (say +<a name="index-nolastlinelisting-164"></a>This also works with line numbers (say <code>\def\setuplistinghook{\linenumberedlisting \nolastlinelisting}</code>), but only if <code>\printlistinglineno</code> -<a name="index-printlistinglineno-156"></a>consists exclusively of boxes at the top level (i.e., any +<a name="index-printlistinglineno-165"></a>consists exclusively of boxes at the top level (i.e., any <code>\kern</code>s or glue should be wrapped up in a box). - <p><a name="index-form-feed-character_002c-and-verbatim-listing-157"></a><a name="index-g_t_0040kbd_007bCTRL_002dL_007d_002c-and-verbatim-listing-158"></a>You can use the form feed control character (<acronym>ASCII</acronym> -code <!-- /@w -->12, typed as <kbd>CTRL-L</kbd>) in the file to force a page break + <p><a name="index-form-feed-character_002c-and-verbatim-listing-166"></a><a name="index-g_t_0040kbd_007bCTRL_002dL_007d_002c-and-verbatim-listing-167"></a>You can use the form feed control character (<acronym>ASCII</acronym> +code 12, typed as <kbd>CTRL-L</kbd>) in the file to force a page break in the output. <p>You can produce in-line verbatim text in your document with <code>\verbatim</code>. -<a name="index-verbatim-159"></a>End the text with <code>|endverbatim</code>. If you need a `<samp><span class="samp">|</span></samp>' in the text, +<a name="index-verbatim-168"></a>End the text with <code>|endverbatim</code>. If you need a ‘<samp><span class="samp">|</span></samp>’ in the text, double it. If the first character of the verbatim text is a space, use <code>| </code>. (<code>| </code> will work elsewhere in the argument, too, but isn't necessary.) @@ -1412,9 +1433,9 @@ isn't necessary.) <p>Line breaks and spaces in the verbatim text are preserved. - <p><a name="index-verbatimescapechar-160"></a><a name="index-escape-character_002c-changing-verbatim-161"></a>You can change the verbatim escape character from the default `<samp><span class="samp">|</span></samp>' + <p><a name="index-verbatimescapechar-169"></a><a name="index-escape-character_002c-changing-verbatim-170"></a>You can change the verbatim escape character from the default ‘<samp><span class="samp">|</span></samp>’ with <code>\verbatimescapechar </code><var>char</var>; for example, this changes -it to `<samp><span class="samp">@</span></samp>'. +it to ‘<samp><span class="samp">@</span></samp>’. <pre class="example"> \verbatimescapechar \@ </pre> @@ -1423,6 +1444,18 @@ others, depending on the catcode of the character. The argument to <code>\verbatimescapechar</code> is used as <code>\catcode `</code><var>char</var>, so the exact rules follow that for <code>\catcode</code>. + <p><a name="index-special-characters-171"></a><a name="index-characters_002c-special-172"></a><a name="index-uncatcodespecials-173"></a><a name="index-dospecials-174"></a>To reset the category code of all special characters to 12 +(“other”), <code>\verbatim</code> uses <code>\uncatcodespecials</code> +(see <a href="#Category-codes">Category codes</a>). If you make additional characters +“special”, you should extend <code>\dospecials</code> to include those +characters, lest they be given special treatment inside verbatim +environments. For example, + +<pre class="example"> \catcode`\A=\active + % Try commenting out the following line. + \expandafter\def\expandafter\dospecials\expandafter{\dospecials\do\A} + \verbatimA#$%_^|endverbatim +</pre> <p>Because <code>\verbatim</code> must change the category code of special characters, calling inside a macro definition of your own does not work properly. For example: @@ -1434,8 +1467,8 @@ making the macro definition. Perhaps <code>\uncatcodespecials</code> will help you (see <a href="#Category-codes">Category codes</a>). <div class="node"> -<p><hr> <a name="Contents"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Cross_002dreferences">Cross-references</a>, Previous: <a rel="previous" accesskey="p" href="#Verbatim-listing">Verbatim listing</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1444,12 +1477,12 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.8 Contents</h3> -<p><a name="index-table-of-contents-162"></a><a name="index-contents-163"></a>Producing a table of contents that is both useful and aesthetic is one +<p><a name="index-table-of-contents-175"></a><a name="index-contents-176"></a>Producing a table of contents that is both useful and aesthetic is one of the most difficult design problems in any work. Naturally, Eplain does not pretend to solve the design problem. Collecting the raw data for a table of contents, however, is much the same across documents. Eplain uses an auxiliary file with extension <samp><span class="file">.toc</span></samp> -<a name="index-g_t_002etoc-_0040r_007bfile_007d-164"></a>(and the same root name as your document) to save the information. +<a name="index-g_t_002etoc-_0040r_007bfile_007d-177"></a>(and the same root name as your document) to save the information. <ul class="menu"> <li><a accesskey="1" href="#Writing-the-_002etoc-file">Writing the .toc file</a> @@ -1459,9 +1492,9 @@ Eplain uses an auxiliary file with extension <samp><span class="file">.toc</span </ul> <div class="node"> -<p><hr> <a name="Writing-the-.toc-file"></a> <a name="Writing-the-_002etoc-file"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Reading-the-_002etoc-file">Reading the .toc file</a>, Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> @@ -1471,14 +1504,14 @@ Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> <p>To write an entry for the table of contents, you say <code>\writetocentry{</code><var>part</var><code>}{</code><var>text</var><code>}</code>, -<a name="index-writetocentry-165"></a>where <var>part</var> is the type of part this entry is, e.g., -`<samp><span class="samp">chapter</span></samp>', and <var>text</var> is the text of the title. +<a name="index-writetocentry-178"></a>where <var>part</var> is the type of part this entry is, e.g., +‘<samp><span class="samp">chapter</span></samp>’, and <var>text</var> is the text of the title. <code>\writetocentry</code> puts an entry into the <tt>.toc</tt> file that looks -<a name="index-toc_0040dots_007b_007dentry-166"></a>like <code>\toc</code><var>part</var><code>entry{</code><var>text</var><code>}{</code><var>page number</var><code>}</code> +<a name="index-toc_0040dots_007b_007dentry-179"></a>like <code>\toc</code><var>part</var><code>entry{</code><var>text</var><code>}{</code><var>page number</var><code>}</code> (unless <var>part</var> is an integer, see below). The <var>text</var> is written unexpanded. - <p><a name="index-writenumberedtocentry-167"></a>A related command, <code>\writenumberedtocentry</code>, takes one additional + <p><a name="index-writenumberedtocentry-180"></a>A related command, <code>\writenumberedtocentry</code>, takes one additional argument, the first token of which is expanded at the point of the <code>\writenumberedtocentry</code>, but the rest of the argument is not expanded. The usual application is when the parts of the document are @@ -1494,14 +1527,14 @@ call <code>\writenumberedtocentry</code>. <pre class="example"> \writenumberedtocentry{chapter}{A $\sin$ wave}{\the\chapno} \writetocentry{section}{A section title} </pre> - <p class="noindent">Supposing <code>\the\chapno</code> expanded to `<samp><span class="samp">3</span></samp>' and that the + <p class="noindent">Supposing <code>\the\chapno</code> expanded to ‘<samp><span class="samp">3</span></samp>’ and that the <code>\write</code>'s occurred on pages eight and nine, respectively, the above writes the following to the <tt>.toc</tt> file: <pre class="example"> \tocchapterentry{A $\sin$ wave}{3}{8} \tocsectionentry{A section title}{9} </pre> - <p><a name="index-writenumberedtocline-168"></a>A variation on <code>\writenumberedtocentry</code> is + <p><a name="index-writenumberedtocline-181"></a>A variation on <code>\writenumberedtocentry</code> is <code>\writenumberedtocline</code>, differing only in the order of the parameters it takes and writes for the <code>\toc</code><var>part</var><code>entry</code> control sequences. To continue the previous example: @@ -1516,13 +1549,13 @@ control sequences. To continue the previous example: <code>\toc</code><var>part</var><code>entry</code> macros to typeset the text of the entry without actually reading it as an argument. This is required for entries which need to change character catcodes, e.g., to produce -<a name="index-table-of-contents_002c-and-verbatim-text-169"></a><a name="index-contents_002c-and-verbatim-text-170"></a><a name="index-verbatim-text_002c-in-table-of-contents-171"></a><a name="index-special-characters_002c-in-table-of-contents-172"></a>verbatim text (see <a href="#Verbatim-listing">Verbatim listing</a>). +<a name="index-table-of-contents_002c-and-verbatim-text-182"></a><a name="index-contents_002c-and-verbatim-text-183"></a><a name="index-verbatim-text_002c-in-table-of-contents-184"></a><a name="index-special-characters_002c-in-table-of-contents-185"></a>verbatim text (see <a href="#Verbatim-listing">Verbatim listing</a>). <p>Each of <code>\writetocentry</code>, <code>\writenumberedtocentry</code> and <code>\writenumberedtocline</code> processes a numeric <var>part</var> argument specially. If you pass <var>part</var> expanding to an integer, these macros write into the <tt>.toc</tt> file an entry that starts with -<a name="index-toc_0040dots_007b_007dentry-173"></a><code>\tocentry{</code><var>part</var><code>}</code>. Thus, you can define a single +<a name="index-toc_0040dots_007b_007dentry-186"></a><code>\tocentry{</code><var>part</var><code>}</code>. Thus, you can define a single <code>\tocentry</code> macro which formats all entries for a table of contents. To continue the previous examples: @@ -1537,9 +1570,9 @@ contents. To continue the previous examples: \tocentry{2}{A section title}{9} </pre> <div class="node"> -<p><hr> <a name="Reading-the-.toc-file"></a> <a name="Reading-the-_002etoc-file"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a>, Previous: <a rel="previous" accesskey="p" href="#Writing-the-_002etoc-file">Writing the .toc file</a>, Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> @@ -1548,7 +1581,7 @@ Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> <h4 class="subsection">4.8.2 Reading the <tt>.toc</tt> file</h4> -<p><a name="index-readtocfile-174"></a>You read the <tt>.toc</tt> file with the command <code>\readtocfile</code>. +<p><a name="index-readtocfile-187"></a>You read the <tt>.toc</tt> file with the command <code>\readtocfile</code>. Naturally, whatever <code>\toc... entry</code> commands that were written to the file must be defined when <code>\readtocfile</code> is invoked. Eplain has minimal definitions for <code>\tocchapterentry</code>, @@ -1564,19 +1597,19 @@ called <em>before</em> the first call to a <code>\writetoc...</code> macro. <code>\readtocfile</code> does not itself delete the information from the <tt>.toc</tt> file, so that you can call it several times, e.g., to create both a short -<a name="index-table-of-contents_002c-short-175"></a>and normal table of contents. (To produce this in particular, define +<a name="index-table-of-contents_002c-short-188"></a>and normal table of contents. (To produce this in particular, define <code>\tocsectionentry</code> to produce nothing while you are reading <tt>.toc</tt> file for a short table of contents (see <a href="#Macro-arguments">Macro arguments</a>).) <p>On the other hand, if you don't want to rewrite the <tt>.toc</tt> file at all, perhaps because you are only running TeX on part of your manuscript, you can set <code>\rewritetocfilefalse</code>. -<a name="index-ifrewritetocfile-176"></a><a name="index-rewritetocfile-_0040r_007b_0028conditional_0029_007d-177"></a> +<a name="index-ifrewritetocfile-189"></a><a name="index-rewritetocfile-_0040r_007b_0028conditional_0029_007d-190"></a> <div class="node"> -<p><hr> <a name="Changing-the-.toc-file's-root-name"></a> <a name="Changing-the-_002etoc-file_0027s-root-name"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Alternative-contents-files">Alternative contents files</a>, Previous: <a rel="previous" accesskey="p" href="#Reading-the-_002etoc-file">Reading the .toc file</a>, Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> @@ -1590,8 +1623,8 @@ document has more than one contents—for example, if it is a collection of papers, some of which have their own contents—you can tell Eplain to use a different root name by defining the control sequence <code>\tocfilebasename</code>. -<a name="index-tocfilebasename-178"></a> -<a name="index-writing-several-_0040code_007btoc_007d-files-179"></a><a name="index-g_t_0040code_007btoc_007d-files_002c-writing-several-180"></a>Note that <code>\writetocentry</code>, <code>\writenumberedtocentry</code> and +<a name="index-tocfilebasename-191"></a> +<a name="index-writing-several-_0040code_007btoc_007d-files-192"></a><a name="index-g_t_0040code_007btoc_007d-files_002c-writing-several-193"></a>Note that <code>\writetocentry</code>, <code>\writenumberedtocentry</code> and <code>\writenumberedtocline</code> will open the contents file for writing only at the first call, using the value of <code>\tocfilebasename</code> at that time. Changing the value of @@ -1602,8 +1635,8 @@ files from a single TeX job, use <code>\definecontentsfile</code> (see <a href="#Alternative-contents-files">Alternative contents files</a>). <div class="node"> -<p><hr> <a name="Alternative-contents-files"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a>, Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> @@ -1611,7 +1644,7 @@ Up: <a rel="up" accesskey="u" href="#Contents">Contents</a> <h4 class="subsection">4.8.4 Alternative contents files</h4> -<p><a name="index-list-of-figures-181"></a><a name="index-list-of-tables-182"></a><a name="index-definecontentsfile-183"></a>In addition to the usual table of contents, you may want to have a list +<p><a name="index-list-of-figures-194"></a><a name="index-list-of-tables-195"></a><a name="index-definecontentsfile-196"></a>In addition to the usual table of contents, you may want to have a list of figures, list of tables, or other such contents-like list. You can do this with <code>\definecontentsfile{</code><var>abbrev</var><code>}</code>. All of the above commands are actually a special case that Eplain predefines with @@ -1622,9 +1655,9 @@ above commands are actually a special case that Eplain predefines with the control sequence names. <div class="node"> -<p><hr> <a name="Cross-references"></a> <a name="Cross_002dreferences"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Page-references">Page references</a>, Previous: <a rel="previous" accesskey="p" href="#Contents">Contents</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1633,13 +1666,13 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.9 Cross-references</h3> -<p><a name="index-cross_002dreferences-184"></a>It is often useful to refer the reader to other parts of your document; +<p><a name="index-cross_002dreferences-197"></a>It is often useful to refer the reader to other parts of your document; but putting literal page, section, equation, or whatever numbers in the text is certainly a bad thing. <p>Eplain therefore provides commands for symbolic cross-references. It uses an auxiliary file with extension <tt>.aux</tt> -<a name="index-g_t_002eaux-_0040r_007bfile_007d-185"></a>(and the same root name as your document) to keep track of the +<a name="index-g_t_002eaux-_0040r_007bfile_007d-198"></a>(and the same root name as your document) to keep track of the information. Therefore, it takes two passes to get the cross-references right—one to write them out, and one to read them in. Eplain automatically reads the <tt>.aux</tt> file at the first reference; after @@ -1648,11 +1681,11 @@ reading it, Eplain reopens it for writing. <p>You can control whether or not Eplain warns you about undefined labels. See <a href="#Citations">Citations</a>. - <p><a name="index-labels_002c-characters-valid-in-186"></a>Labels in Eplain's cross-reference commands can use characters of + <p><a name="index-labels_002c-characters-valid-in-199"></a>Labels in Eplain's cross-reference commands can use characters of category code eleven (letter), twelve (other), ten (space), three (math shift), four (alignment tab), seven (superscript), or eight (subscript). -For example, `<samp><span class="samp">(a1 $&^_</span></samp>' is a valid label (assuming the category -codes of plain TeX), but `<samp><span class="samp">%#\{</span></samp>' has no valid characters. +For example, ‘<samp><span class="samp">(a1 $&^_</span></samp>’ is a valid label (assuming the category +codes of plain TeX), but ‘<samp><span class="samp">%#\{</span></samp>’ has no valid characters. <p>You can also do symbolic cross-references for bibliographic citations and list items. See <a href="#Citations">Citations</a>, and <a href="#Lists">Lists</a>. @@ -1666,8 +1699,8 @@ and list items. See <a href="#Citations">Citations</a>, and <a href="#Lists">Li </ul> <div class="node"> -<p><hr> <a name="Defining-generic-references"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Using-generic-references">Using generic references</a>, Up: <a rel="up" accesskey="u" href="#Cross_002dreferences">Cross-references</a> @@ -1675,8 +1708,8 @@ Up: <a rel="up" accesskey="u" href="#Cross_002dreferences">Cross-references <h4 class="subsection">4.9.1 Defining generic references</h4> -<p><a name="index-defining-general-references-187"></a><a name="index-references_002c-defining-general-188"></a><a name="index-cross_002dreferences_002c-defining-general-189"></a> -<a name="index-definexref-190"></a>Eplain provides the command <code>\definexref</code> for general +<p><a name="index-defining-general-references-200"></a><a name="index-references_002c-defining-general-201"></a><a name="index-cross_002dreferences_002c-defining-general-202"></a> +<a name="index-definexref-203"></a>Eplain provides the command <code>\definexref</code> for general cross-references. It takes three arguments: the name of the label (see section above for valid label names), the value of the label (which can be anything), and the “class” of the reference—whether it's a @@ -1695,8 +1728,8 @@ it on the next TeX run. commands. See the next section. <div class="node"> -<p><hr> <a name="Using-generic-references"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Defining-generic-references">Defining generic references</a>, Up: <a rel="up" accesskey="u" href="#Cross_002dreferences">Cross-references</a> @@ -1704,23 +1737,23 @@ Up: <a rel="up" accesskey="u" href="#Cross_002dreferences">Cross-references <h4 class="subsection">4.9.2 Using generic references</h4> -<p><a name="index-defining-general-references-191"></a><a name="index-references_002c-defining-general-192"></a><a name="index-cross_002dreferences_002c-defining-general-193"></a> +<p><a name="index-defining-general-references-204"></a><a name="index-references_002c-defining-general-205"></a><a name="index-cross_002dreferences_002c-defining-general-206"></a> To retrieve the value of the label defined via <code>\definexref</code> (see the previous section), Eplain provides the following macros: -<a name="index-refn-194"></a> -<dl><dt><code>\refn{</code><var>label</var><code>}</code><dd><a name="index-xrefn-195"></a><br><dt><code>\xrefn{</code><var>label</var><code>}</code><dd><code>\refn</code> and <code>\xrefn</code> (they are synonyms) produce the bare +<a name="index-refn-207"></a> +<dl><dt><code>\refn{</code><var>label</var><code>}</code><dd><a name="index-xrefn-208"></a><br><dt><code>\xrefn{</code><var>label</var><code>}</code><dd><code>\refn</code> and <code>\xrefn</code> (they are synonyms) produce the bare definition of <var>label</var>. If <var>label</var> isn't defined, issue a warning, and produce <var>label</var> itself instead, in typewriter. (The warning isn't given if <code>\xrefwarningfalse</code>.) -<a name="index-xrefwarning-_0040r_007bconditional_007d-196"></a> -<a name="index-ref-197"></a><br><dt><code>\ref{</code><var>label</var><code>}</code><dd>Given the class <var>c</var> for <var>label</var> (see the description of +<a name="index-xrefwarning-_0040r_007bconditional_007d-209"></a> +<a name="index-ref-210"></a><br><dt><code>\ref{</code><var>label</var><code>}</code><dd>Given the class <var>c</var> for <var>label</var> (see the description of <code>\definexref</code> in the previous section), expand the control sequence <code>\</code><var>c</var><code> word</code> (if it's defined) followed by a tie. Then call <code>\refn</code> on <var>label</var>. (Example below.) - <p><a name="index-refs-198"></a><br><dt><code>\refs{</code><var>label</var><code>}</code><dd>Like <code>\ref</code>, but append the letter `<samp><span class="samp">s</span></samp>' to the + <p><a name="index-refs-211"></a><br><dt><code>\refs{</code><var>label</var><code>}</code><dd>Like <code>\ref</code>, but append the letter ‘<samp><span class="samp">s</span></samp>’ to the <code>\...word</code>. </dl> @@ -1739,8 +1772,8 @@ reference number. <p class="noindent">This produces `See Sections 3.1 and 3.2 <small class="dots">...</small>' <div class="node"> -<p><hr> <a name="Page-references"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Equation-references">Equation references</a>, Previous: <a rel="previous" accesskey="p" href="#Cross_002dreferences">Cross-references</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1753,22 +1786,22 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> one for definition and one for use. <dl> -<dt><code>\xrdef{</code><var>label</var><code>}</code><dd><a name="index-xrdef-199"></a>Define <var>label</var> to be the current page number. This produces no +<dt><code>\xrdef{</code><var>label</var><code>}</code><dd><a name="index-xrdef-212"></a>Define <var>label</var> to be the current page number. This produces no printed output, and ignores following spaces. - <br><dt><code>\xref{</code><var>label</var><code>}</code><dd><a name="index-xref-200"></a>Produce the text `p. <!-- /@w --><var>pageno</var>', which is the usual form for + <br><dt><code>\xref{</code><var>label</var><code>}</code><dd><a name="index-xref-213"></a>Produce the text `p. <var>pageno</var>', which is the usual form for cross-references. The <var>pageno</var> is actually <var>label</var>'s definition; if <var>label</var> isn't defined, the text of the label itself -is printed. The `p. <!-- /@w -->' prefix is defined by <code>\xrefpageword</code>. -<a name="index-xrefpageword-201"></a>Its default definition is <code>p.\thinspace</code>. +is printed. The `p. ' prefix is defined by <code>\xrefpageword</code>. +<a name="index-xrefpageword-214"></a>Its default definition is <code>p.\thinspace</code>. </dl> <p>Eplain can create hypertext links for the page references (see <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a>). <div class="node"> -<p><hr> <a name="Equation-references"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Indexing">Indexing</a>, Previous: <a rel="previous" accesskey="p" href="#Page-references">Page references</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -1777,27 +1810,28 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.11 Equation references</h3> -<p><a name="index-equations_002c-references-to-202"></a><a name="index-equations_002c-numbering-203"></a>Instead of referring to pages, it's most useful if equation labels +<p><a name="index-equations_002c-references-to-215"></a><a name="index-equations_002c-numbering-216"></a>Instead of referring to pages, it's most useful if equation labels refer to equation numbers. Therefore, Eplain reserves a <code>\count</code> register, <code>\eqnumber</code>, -<a name="index-eqnumber-204"></a>for the current equation number, and increments it at each +<a name="index-eqnumber-217"></a>for the current equation number, and increments it at each numbered equation. <p>Here are the commands to define equation labels and then refer to them: <dl> -<dt><code>\eqdef{</code><var>label</var><code>}</code><dd><a name="index-eqdef-205"></a>This defines <var>label</var> to be the current value of <code>\eqnumber</code>, -and, if the current context is not inner, then produces a <code>\eqno</code> -command. (The condition makes it possible to use <code>\eqdef</code> in an +<dt><code>\eqdef{</code><var>label</var><code>}</code><dd><a name="index-eqdef-218"></a><a name="index-eqnum-219"></a>This defines <var>label</var> to be the current value of <code>\eqnumber</code>, +and, if the current context is not inner, then produces a <code>\eqnum</code> +command (see <a href="#Displays">Displays</a>). (The condition makes it possible to use +<code>\eqdef</code> in an <code>\eqalignno</code> construction, for example.) The text of the equation number is produced using <code>\eqprint</code>. See <a href="#Formatting-equation-references">Formatting equation references</a>. - <p><a name="index-empty-equation-labels-206"></a><a name="index-labels_002c-empty-equation-207"></a><a name="index-equations_002c-giving-numbers-to-all-208"></a>If <var>label</var> is empty, you still get an equation number (although + <p><a name="index-empty-equation-labels-220"></a><a name="index-labels_002c-empty-equation-221"></a><a name="index-equations_002c-giving-numbers-to-all-222"></a>If <var>label</var> is empty, you still get an equation number (although naturally you can't reliably refer to it). This is useful if you want to put numbers on all equations in your document, and you don't want to think up unique labels. - <p><a name="index-empty-equation-labels_002c-referring-to-209"></a><a name="index-labels_002c-empty-equation_002c-referring-to-210"></a>To refer to the last equation with the empty label, you just use the + <p><a name="index-empty-equation-labels_002c-referring-to-223"></a><a name="index-labels_002c-empty-equation_002c-referring-to-224"></a>To refer to the last equation with the empty label, you just use the empty label in one of the equation reference macros (see below). This can be handy when you want to refer to an equation shortly after its definition, say, in the sentence following the displayed equation, and @@ -1806,23 +1840,23 @@ extreme caution: if later you change the text and insert another empty definition between the original definition and the reference, the reference will start to refer to the new empty-labeled equation. - <br><dt><code>\eqdefn{</code><var>label</var><code>}</code><dd><a name="index-eqdefn-211"></a>This is like <code>\eqdef</code>, except it always omits the <code>\eqno</code> + <br><dt><code>\eqdefn{</code><var>label</var><code>}</code><dd><a name="index-eqdefn-225"></a><a name="index-eqnum-226"></a>This is like <code>\eqdef</code>, except it always omits the <code>\eqnum</code> command. It can therefore be used in places where <code>\eqdef</code> can't; for example, in a non-displayed equation. The text of the equation number is not produced, so you can also use it in the (admittedly unusual) circumstance when you want to define an equation label but not print that label. - <br><dt><code>\eqref{</code><var>label</var><code>}</code><dd><a name="index-eqref-212"></a>This produces a formatted reference to <var>label</var>. If <var>label</var> is + <br><dt><code>\eqref{</code><var>label</var><code>}</code><dd><a name="index-eqref-227"></a>This produces a formatted reference to <var>label</var>. If <var>label</var> is undefined (perhaps because it is a forward reference), it just produces the text of the label itself. Otherwise, it calls <code>\eqprint</code>. - <br><dt><code>\eqrefn{</code><var>label</var><code>}</code><dd><a name="index-eqrefn-213"></a>This produces the cross-reference text for <var>label</var>. That is, it + <br><dt><code>\eqrefn{</code><var>label</var><code>}</code><dd><a name="index-eqrefn-228"></a>This produces the cross-reference text for <var>label</var>. That is, it is like <code>\eqref</code>, except it doesn't call <code>\eqprint</code>. </dl> - <p><a name="index-equation-labels_002c-characters-valid-in-214"></a>Equation labels can contain the same characters that are valid in + <p><a name="index-equation-labels_002c-characters-valid-in-229"></a>Equation labels can contain the same characters that are valid in general cross-references. <p>Eplain can create hypertext links for the equation references @@ -1834,8 +1868,8 @@ general cross-references. </ul> <div class="node"> -<p><hr> <a name="Formatting-equation-references"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Subequation-references">Subequation references</a>, Up: <a rel="up" accesskey="u" href="#Equation-references">Equation references</a> @@ -1843,14 +1877,14 @@ Up: <a rel="up" accesskey="u" href="#Equation-references">Equation referenc <h4 class="subsection">4.11.1 Formatting equation references</h4> -<p><a name="index-equation-numbers_002c-formatting-of-215"></a>Both defining an equation label and referring to it should usually +<p><a name="index-equation-numbers_002c-formatting-of-230"></a>Both defining an equation label and referring to it should usually produce output. This output is produced with the <code>\eqprint</code> macro, which takes one argument, the equation number being defined or referred -to. By default, this just produces `<samp><span class="samp">(</span><var>number</var><span class="samp">)</span></samp>', where +to. By default, this just produces ‘<samp><span class="samp">(</span><var>number</var><span class="samp">)</span></samp>’, where <var>number</var> is the equation number. To produce the equation number in a different font, or with different surrounding symbols, or whatever, you can redefine <code>\eqprint</code>. -<a name="index-eqprint-216"></a>For example, the following definition would print all equation numbers +<a name="index-eqprint-231"></a>For example, the following definition would print all equation numbers in italics. (The extra braces define a group, to keep the font change from affecting surrounding text.) @@ -1860,7 +1894,7 @@ from affecting surrounding text.) to add more structure to the equation number; for example, you might want to include the chapter number, to get equation numbers like `(1.2)'. To achieve this, you redefine <code>\eqconstruct</code>. -<a name="index-eqconstruct-217"></a>For example: +<a name="index-eqconstruct-232"></a>For example: <pre class="example"> \def\eqconstruct#1{\the\chapternumber.#1} </pre> @@ -1895,8 +1929,8 @@ produced. Here's how to get the example just mentioned: include chapter number in all equation references, and additionally we want to include the part number when referencing an equation from any part other than the one where the equation appears. For example, -references to the third equation in chapter <!-- /@w -->2 of part <!-- /@w -->1 -should be typeset as `(2.3)' throughout part <!-- /@w -->1, but as `(I.2.3)' +references to the third equation in chapter 2 of part 1 +should be typeset as `(2.3)' throughout part 1, but as `(I.2.3)' in any other part. Let's assume we have the current chapter and part numbers in count registers <code>\chapnum</code> and <code>\partnum</code>, respectively. @@ -1939,8 +1973,8 @@ therefore we first put the argument in a box, thus causing <code>\eqpartnum</code> to be set. <div class="node"> -<p><hr> <a name="Subequation-references"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Formatting-equation-references">Formatting equation references</a>, Up: <a rel="up" accesskey="u" href="#Equation-references">Equation references</a> @@ -1948,18 +1982,18 @@ Up: <a rel="up" accesskey="u" href="#Equation-references">Equation referenc <h4 class="subsection">4.11.2 Subequation references</h4> -<p><a name="index-equations_002c-groups-of-218"></a><a name="index-subequations_002c-referring-to-219"></a>Eplain also provides for one level of substructure for equations. That +<p><a name="index-equations_002c-groups-of-233"></a><a name="index-subequations_002c-referring-to-234"></a>Eplain also provides for one level of substructure for equations. That is, you might want to define a related group of equations with numbers like `2.1' and `2.2', and then be able to refer to the group as a whole: “<small class="dots">...</small> in the system of equations (2)<small class="dots">...</small>”. <p>The commands to do this are <code>\eqsubdef</code> and -<a name="index-eqsubdef-220"></a><code>\eqsubdefn</code>. -<a name="index-eqsubdefn-221"></a>They take one <var>label</var> argument like their counterparts above, +<a name="index-eqsubdef-235"></a><code>\eqsubdefn</code>. +<a name="index-eqsubdefn-236"></a>They take one <var>label</var> argument like their counterparts above, and generally behave in the same way. The difference is in how they construct the equation number: instead of using just <code>\eqnumber</code>, they also use another counter, <code>\subeqnumber</code>. -<a name="index-subeqnumber-222"></a>This counter is advanced by one at every <code>\eqsubdef</code> or +<a name="index-subeqnumber-237"></a>This counter is advanced by one at every <code>\eqsubdef</code> or <code>\eqsubdefn</code>, and reset to zero at every <code>\eqdef</code> or <code>\eqdefn</code>. @@ -1968,7 +2002,7 @@ equations. <p>To put the two together to construct the text that the label will produce, they use a macro <code>\eqsubreftext</code>. -<a name="index-eqsubreftext-223"></a>This macros takes two arguments, the “main” equation number (which, +<a name="index-eqsubreftext-238"></a>This macros takes two arguments, the “main” equation number (which, because the equation label can be defined as arbitrary text, as described in the previous section, might be anything at all) and the “sub” equation number (which is always just a number). Eplain's @@ -1989,11 +2023,11 @@ like. For example, this definition makes the labels print as `2a', </pre> <p class="noindent">Sadly, we must define a new count register, <code>\subref</code>, instead of using the scratch count register <code>\count255</code>, because -`<samp><span class="samp">#1</span></samp>' might include other macro calls which use <code>\count255</code>. +‘<samp><span class="samp">#1</span></samp>’ might include other macro calls which use <code>\count255</code>. <div class="node"> -<p><hr> <a name="Indexing"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Justification">Justification</a>, Previous: <a rel="previous" accesskey="p" href="#Equation-references">Equation references</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2002,7 +2036,7 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.12 Indexing</h3> -<p><a name="index-indexing-224"></a><a name="index-sorting-an-index-225"></a> +<p><a name="index-indexing-239"></a><a name="index-sorting-an-index-240"></a> Eplain provides support for generating raw material for an index, and for typesetting a sorted index. A separate program must do the actual collection and sorting of terms, because TeX itself has no support @@ -2011,7 +2045,7 @@ for sorting. <p>Eplain can create hypertext links pointing from the index to the index terms (see <a href="#Index-hyperlinks">Index hyperlinks</a>). - <p><a name="index-g_t_0040acronym_007bURL_007d-for-MakeIndex-226"></a><a name="index-makeindex-227"></a>Eplain's indexing commands were designed to work with the program + <p><a name="index-g_t_0040acronym_007bURL_007d-for-MakeIndex-241"></a><a name="index-makeindex-242"></a>Eplain's indexing commands were designed to work with the program MakeIndex, available from CTAN hosts in <samp><span class="file">tex-archive/indexing/makeindex</span></samp>; MakeIndex is also commonly included in prepackaged TeX distributions. It is beyond the scope of @@ -2022,11 +2056,11 @@ options. See <a href="http://www.ctan.org/tex-archive/indexing/makeindex">http: <ol type=1 start=1> - <p><a name="index-g_t_002eidx-_0040r_007bfiles_007d-228"></a><li>For a document <samp><span class="file">foo.tex</span></samp>, Eplain's indexing commands (e.g., + <p><a name="index-g_t_002eidx-_0040r_007bfiles_007d-243"></a><li>For a document <samp><span class="file">foo.tex</span></samp>, Eplain's indexing commands (e.g., <code>\idx</code>; see the section `Indexing terms' below) write the raw index material to <samp><span class="file">foo.idx</span></samp>. - <p><a name="index-g_t_002eind-_0040r_007bfiles_007d-229"></a><li>MakeIndex reads <samp><span class="file">foo.idx</span></samp>, collects and sorts the index, and + <p><a name="index-g_t_002eind-_0040r_007bfiles_007d-244"></a><li>MakeIndex reads <samp><span class="file">foo.idx</span></samp>, collects and sorts the index, and writes the result to <samp><span class="file">foo.ind</span></samp>. <li>Eplain reads and typesets <samp><span class="file">foo.ind</span></samp> on a subsequent run of @@ -2034,12 +2068,12 @@ TeX. See the section `Typesetting an index' below. </ol> - <p><a name="index-texi2dvi-230"></a>The <samp><span class="command">texi2dvi</span></samp> program can help you automate this + <p><a name="index-texi2dvi-245"></a>The <samp><span class="command">texi2dvi</span></samp> program can help you automate this process (see <a href="#Invoking-Eplain">Invoking Eplain</a>). - <p><a name="index-multiple-indexes-231"></a><a name="index-indexes_002c-multiple-232"></a><a name="index-defineindex-233"></a>If your document needs more than one index, each must have its own + <p><a name="index-multiple-indexes-246"></a><a name="index-indexes_002c-multiple-247"></a><a name="index-defineindex-248"></a>If your document needs more than one index, each must have its own file. Therefore, Eplain provides the command <code>\defineindex</code>, which -takes an argument that is a single letter, which replaces `<samp><span class="samp">i</span></samp>' in +takes an argument that is a single letter, which replaces ‘<samp><span class="samp">i</span></samp>’ in the filenames and in the indexing command names described below. For example, @@ -2049,7 +2083,15 @@ example, <samp><span class="file">foo.mdx</span></samp>. Eplain simply does <code>\defineindex{i}</code> to define the default commands. - <p><a name="index-indexes_002c-disabling-234"></a><a name="index-disabling-indexes-235"></a><a name="index-ifidx-236"></a>For each index defined with <code>\defineindex{</code><var>n</var><code>}</code>, Eplain + <p>Note that MakeIndex does not use the above naming scheme for multiple +indexes. Unless instructed otherwise, MakeIndex always writes its +output to a file with extension <samp><span class="file">.ind</span></samp>. For example, if you +define an additional index with the command <code>\defineindex{j}</code>, +you'll need to run MakeIndex like this: + +<pre class="example"> $ makeindex book.jdx -o book.jnd +</pre> + <p><a name="index-indexes_002c-disabling-249"></a><a name="index-disabling-indexes-250"></a><a name="index-ifidx-251"></a>For each index defined with <code>\defineindex{</code><var>n</var><code>}</code>, Eplain provides a switch <code>\if</code><var>n</var><code>dx</code> which controls whether indexing commands write index entries to the corresponding index file. However, even when index term writing is disabled, indexing commands still do @@ -2071,8 +2113,8 @@ file input/output. </ul> <div class="node"> -<p><hr> <a name="Indexing-terms"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Typesetting-an-index">Typesetting an index</a>, Up: <a rel="up" accesskey="u" href="#Indexing">Indexing</a> @@ -2080,23 +2122,23 @@ Up: <a rel="up" accesskey="u" href="#Indexing">Indexing</a> <h4 class="subsection">4.12.1 Indexing terms</h4> -<p><a name="index-indexing-terms-237"></a><a name="index-silent-indexing-238"></a> +<p><a name="index-indexing-terms-252"></a><a name="index-silent-indexing-253"></a> Indexing commands in Eplain come in pairs: one command that only -writes the index entry to the `<samp><span class="samp">.idx</span></samp>' file (see above section), and +writes the index entry to the ‘<samp><span class="samp">.idx</span></samp>’ file (see above section), and one that also typesets the term being indexed. The former always starts -with `<samp><span class="samp">s</span></samp>' (for “silent”). In either case, the name always includes -`<samp><var>I</var><span class="samp">dx</span></samp>', where <var>I</var> is the index letter, also described -above. Eplain defines the index `<samp><span class="samp">i</span></samp>' itself, so that's what we'll +with ‘<samp><span class="samp">s</span></samp>’ (for “silent”). In either case, the name always includes +‘<samp><var>I</var><span class="samp">dx</span></samp>’, where <var>I</var> is the index letter, also described +above. Eplain defines the index ‘<samp><span class="samp">i</span></samp>’ itself, so that's what we'll use in the names below. - <p><a name="index-subterm-in-indexing-239"></a>The silent form of the commands take a subterm as a trailing optional + <p><a name="index-subterm-in-indexing-254"></a>The silent form of the commands take a subterm as a trailing optional argument. For example, <code>\sidx{truth}[definition of]</code> on page 75 makes an index entry that will eventually be typeset (by default) as <pre class="display"> truth definition of, 75 </pre> - <p><a name="index-trailing-spaces-and-indexing-commands-240"></a><a name="index-spaces_002c-trailing-and-indexing-commands-241"></a><a name="index-indexing-and-trailing-spaces-242"></a>Also, the silent commands ignore trailing spaces. The non-silent ones do not. + <p><a name="index-trailing-spaces-and-indexing-commands-255"></a><a name="index-spaces_002c-trailing-and-indexing-commands-256"></a><a name="index-indexing-and-trailing-spaces-257"></a>Also, the silent commands ignore trailing spaces. The non-silent ones do not. <ul class="menu"> <li><a accesskey="1" href="#Indexing-commands">Indexing commands</a>: Making index entries. @@ -2106,8 +2148,8 @@ makes an index entry that will eventually be typeset (by default) as </ul> <div class="node"> -<p><hr> <a name="Indexing-commands"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Modifying-index-entries">Modifying index entries</a>, Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> @@ -2115,25 +2157,25 @@ Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> <h5 class="subsubsection">4.12.1.1 Indexing commands</h5> -<p><a name="index-indexing-commands-243"></a>Here are the commands. +<p><a name="index-indexing-commands-258"></a>Here are the commands. <ul> -<li><a name="index-sidx-244"></a><a name="index-idx-245"></a><code>\sidx{</code><var>term</var><code>}[</code><var>subterm</var><code>]</code> makes an index entry for +<li><a name="index-sidx-259"></a><a name="index-idx-260"></a><code>\sidx{</code><var>term</var><code>}[</code><var>subterm</var><code>]</code> makes an index entry for <var>term</var>, optionally with subterm <var>subterm</var>. <code>\idx{</code><var>term</var><code>}</code> also produces <var>term</var> as output. Example: <pre class="example"> \sidx{truth}[beauty of] The beauty of truth is \idx{death}. - </pre> +</pre> <p>Subterms at the second and further levels can also be specified in <var>subterm</var>, using the <code>\idxsubentryseparator</code> character to separate -them. This character is by default `<samp><span class="samp">!</span></samp>'. +them. This character is by default ‘<samp><span class="samp">!</span></samp>’. - <li><a name="index-sidxname-246"></a><a name="index-idxnameseparator-247"></a><a name="index-idxname-248"></a><code>\sidxname{</code><var>First M.</var><code>}{</code><var>von Last</var><code>}[</code><var>subterm</var><code>]</code> + <li><a name="index-sidxname-261"></a><a name="index-idxnameseparator-262"></a><a name="index-idxname-263"></a><code>\sidxname{</code><var>First M.</var><code>}{</code><var>von Last</var><code>}[</code><var>subterm</var><code>]</code> makes an index -entry for `<samp><var>von Last</var><span class="samp">, </span><var>First M.</var></samp>'. You can change the -`<samp><span class="samp">, </span></samp>' by redefining <code>\idxnameseparator</code>. +entry for ‘<samp><var>von Last</var><span class="samp">, </span><var>First M.</var></samp>’. You can change the +‘<samp><span class="samp">, </span></samp>’ by redefining <code>\idxnameseparator</code>. <code>\idxname{</code><var>First M.</var><code>}{</code><var>von Last</var><code>}</code> also produces <var>First M. von Last</var> as output. (These commands are useful special cases of <code>\idx</code> and <code>\sidx</code>.) Example: @@ -2141,8 +2183,8 @@ and <code>\sidx</code>.) Example: <pre class="example"> \sidxname{Richard}{Stark} \idxname{Donald}{Westlake} has written many kinds of novels, under almost as many names. - </pre> - <li><a name="index-sidxmarked-249"></a><a name="index-idxmarked-250"></a><code>\sidxmarked\</code><var>cs</var><code>{</code><var>term</var><code>}[</code><var>subterm</var><code>]</code> makes an index +</pre> + <li><a name="index-sidxmarked-264"></a><a name="index-idxmarked-265"></a><code>\sidxmarked\</code><var>cs</var><code>{</code><var>term</var><code>}[</code><var>subterm</var><code>]</code> makes an index entry for <var>term</var><code>[</code><var>subterm</var><code>]</code>, but <var>term</var> will be put in the index as <code>\</code><var>cs</var><code>{term}</code>, but still sorted as just <var>term</var>. <code>\idxmarked\</code><var>cs</var><code>{</code><var>term</var><code>}</code> also typesets @@ -2153,8 +2195,8 @@ the typesetting of index entries. Example: \sidxmarked\article{Miss Elsa and Aunt Sophie} Peter Drucker's \idxmarked\article{The Polanyis} is a remarkable essay about a remarkable family. - </pre> - <li><a name="index-idxsubmarked-251"></a><a name="index-sidxsubmarked-252"></a><code>\sidxsubmarked{</code><var>term</var><code>}\</code><var>cs</var><code>{subterm}</code> makes an index +</pre> + <li><a name="index-idxsubmarked-266"></a><a name="index-sidxsubmarked-267"></a><code>\sidxsubmarked{</code><var>term</var><code>}\</code><var>cs</var><code>{subterm}</code> makes an index entry for <var>term</var>, <var>subterm</var> as usual, but also puts <var>subterm</var> in the index as <code>\</code><var>cs</var><code>{term}</code>. <code>\idxsubmarked{</code><var>term</var><code>}\</code><var>cs</var><code>{subterm}</code> also typesets @@ -2164,10 +2206,10 @@ syntax is convoluted enough to make this useful. Example: <pre class="example"> \def\title#1{{\sl #1}} \sidxsubmarked{Anderson, Laurie}\title{Strange Angels} The \idxsubmarked{Anderson}\title{Carmen} is a strange twist. - </pre> +</pre> </ul> - <p><a name="index-index-entry-general-sorting-253"></a><a name="index-sorting-of-index-entries-254"></a>The commands above rely on MakeIndex's feature for separating sorting of + <p><a name="index-index-entry-general-sorting-268"></a><a name="index-sorting-of-index-entries-269"></a>The commands above rely on MakeIndex's feature for separating sorting of an index entry's from its typesetting. You can use this directly by specifying an index entry as <var>sort</var><code>@</code><var>typeset</var>. For example: @@ -2180,7 +2222,7 @@ See <a href="http://www.ctan.org/tex-archive/indexing/makeindex">http://www.ctan entry with an <code>@</code> in it, you have to escape it with a backslash; Eplain provides no macros for doing this. - <p><a name="index-afterindexterm-_0040r_007bhook_007d-255"></a><a name="index-whatsits-made-by-index-entries-256"></a>After any index command, Eplain runs + <p><a name="index-afterindexterm-_0040r_007bhook_007d-270"></a><a name="index-whatsits-made-by-index-entries-271"></a>After any index command, Eplain runs <code>\hookaction{afterindexterm}</code>. Because the index commands always add a whatsit item to the current list, you may wish to preserve a penalty or space past the new item. For example, given a conditional @@ -2190,8 +2232,8 @@ could do: <pre class="example"> \hookaction{afterindexterm}{\if@aftersctnhead \nobreak \fi} </pre> <div class="node"> -<p><hr> <a name="Modifying-index-entries"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Index-entries-with-special-characters">Index entries with special characters</a>, Previous: <a rel="previous" accesskey="p" href="#Indexing-commands">Indexing commands</a>, Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> @@ -2200,7 +2242,7 @@ Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> <h5 class="subsubsection">4.12.1.2 Modifying index entries</h5> -<p><a name="index-modifying-index-entries_0027-page-numbers-257"></a><a name="index-index-entries_0027-page-numbers_002c-modifying-258"></a> +<p><a name="index-modifying-index-entries_0027-page-numbers-272"></a><a name="index-index-entries_0027-page-numbers_002c-modifying-273"></a> All the index commands described in the previous section take an initial optional argument before the index term, which modify the index entry's meaning in various ways. You can specify only one of the following in @@ -2216,45 +2258,45 @@ is independent of these. <p>Here are the possibilities: <dl> -<dt><code>begin</code><dt><code>end</code><dd><a name="index-begin-_0040r_007bfor-index-entries_007d-259"></a><a name="index-end-_0040r_007bfor-index-entries_007d-260"></a><a name="index-index-entries-and-ranges-261"></a><a name="index-ranges-and-index-entry-262"></a>These mark an index entry as the beginning or end of a range. The index +<dt><code>begin</code><dt><code>end</code><dd><a name="index-begin-_0040r_007bfor-index-entries_007d-274"></a><a name="index-end-_0040r_007bfor-index-entries_007d-275"></a><a name="index-index-entries-and-ranges-276"></a><a name="index-ranges-and-index-entry-277"></a>These mark an index entry as the beginning or end of a range. The index entries must match exactly for MakeIndex to recognize them. Example: <pre class="example"> \sidx[begin]{future}[Cohen, Leonard] ... \sidx[end]{future}[Cohen, Leonard] - </pre> +</pre> <p class="noindent">will typeset as something like <pre class="display"> future, Cohen, Leonard, 65–94 - </pre> - <br><dt><code>see</code><dd><a name="index-see-_0040r_007bfor-index-entries_007d-263"></a><a name="index-see_002c-and-index-entries-264"></a><a name="index-cross_002dreferencing-index-entries-265"></a><a name="index-index-entries_002c-and-cross_002dreferencing-266"></a>This marks an index entry as pointing to another; the real index term is +</pre> + <br><dt><code>see</code><dd><a name="index-see-_0040r_007bfor-index-entries_007d-278"></a><a name="index-see_002c-and-index-entries-279"></a><a name="index-cross_002dreferencing-index-entries-280"></a><a name="index-index-entries_002c-and-cross_002dreferencing-281"></a>This marks an index entry as pointing to another; the real index term is an additional (non-optional) argument to the command. Thus you can anticipate a term readers may wish to look up, yet which you have decided not to index. Example: <pre class="example"> \sidx[see]{analysis}[archetypal]{archetypal criticism} - </pre> +</pre> <p class="noindent">becomes <pre class="display"> analysis, archetypal, <i>see</i> archetypal criticism - </pre> - <br><dt><code>seealso</code><dd><a name="index-seealso-_0040r_007bfor-index-entries_007d-267"></a>Similar to <code>see</code> (the previous item), but also allows for normal +</pre> + <br><dt><code>seealso</code><dd><a name="index-seealso-_0040r_007bfor-index-entries_007d-282"></a>Similar to <code>see</code> (the previous item), but also allows for normal index entries of the referencing term. The normal index entries have to be created separately—<code>seealso</code> does <em>not</em> contribute a page number to the index entry. For example, if you have indexed a -term on pages 75, <!-- /@w -->97 and <!-- /@w -->114, and then add a <code>seealso</code> +term on pages 75, 97 and 114, and then add a <code>seealso</code> entry for the term: <pre class="example"> \sidx[seealso]{archetypal criticism}[elements of]{dichotomies} - </pre> +</pre> <p class="noindent">the index will contain <pre class="display"> archetypal criticism, elements of, 75, 97, 114, <i>see also</i> dichotomies - </pre> +</pre> <p>(Aside for the academically curious: The archetypally critical book I took these dichotomous examples from is Laurence Berman's <cite>The Musical Image</cite>, which I happened to co-design and typeset.) @@ -2267,16 +2309,16 @@ it is up to you to define the control sequences you want to use. Example: <pre class="example"> \def\defn#1{{\sl #1}} \sidx[pagemarkeup=defn]{indexing} - </pre> +</pre> <p class="noindent">becomes something like <pre class="example"> indexing, <code>\defn{75}</code> - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Index-entries-with-special-characters"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Proofing-index-terms">Proofing index terms</a>, Previous: <a rel="previous" accesskey="p" href="#Modifying-index-entries">Modifying index entries</a>, Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> @@ -2285,12 +2327,12 @@ Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> <h5 class="subsubsection">4.12.1.3 Index entries with special characters</h5> -<p><a name="index-special-characters_002c-in-index-entries-268"></a><a name="index-index-entries-with-special-characters-269"></a> +<p><a name="index-special-characters_002c-in-index-entries-283"></a><a name="index-index-entries-with-special-characters-284"></a> Indexing terms with special characters can become quite cumbersome because you have to keep both TeX and MakeIndex happy at the same -time. For example, while `<samp><span class="samp">!</span></samp>' has no special meaning for TeX, +time. For example, while ‘<samp><span class="samp">!</span></samp>’ has no special meaning for TeX, it is a subentry separator for MakeIndex, therefore you'd have to -escape occurrences of literal `<samp><span class="samp">!</span></samp>' in index terms. Things get +escape occurrences of literal ‘<samp><span class="samp">!</span></samp>’ in index terms. Things get even more interesting with characters which are special in both TeX and MakeIndex. @@ -2299,7 +2341,7 @@ indexing commands (see <a href="#Indexing-terms">Indexing terms</a>), since TeX use different conventions for escaping characters. For example, this will not typeset the exclamation point correctly within the text, while it will come out right inside the index, after MakeIndex strips -the quoting character (`<samp><span class="samp">"</span></samp>'): +the quoting character (‘<samp><span class="samp">"</span></samp>’): <pre class="example"> \idx{"!} </pre> @@ -2313,7 +2355,7 @@ commands whenever index term contains anything unusual. <p>To understand this keep in mind that indexing commands read the terms verbatim so that the terms can embed almost any character, and that's what gets written into the <samp><span class="file">.idx</span></samp> file. The non-silent forms -then typeset the term by rescanning the verbatim copy, therefore for +then typeset the term by rescanning the verbatim copy, hence for the non-silent commands the term, besides being a valid MakeIndex input, must also represent a valid TeX input. The silent commands don't have this restriction—their terms only need to become valid @@ -2322,16 +2364,16 @@ writes the <samp><span class="file">.ind</span></samp> file. This is what makes commands less powerful and more troublesome when dealing with special characters. - <p><a name="index-index-entries_002c-with-verbatim-text-270"></a><a name="index-index_002c-and-verbatim-text-271"></a><a name="index-verbatim-text_002c-in-index-272"></a>Here's an example showing that terms for the silent commands can + <p><a name="index-index-entries_002c-with-verbatim-text-285"></a><a name="index-index_002c-and-verbatim-text-286"></a><a name="index-verbatim-text_002c-in-index-287"></a>Here's an example showing that terms for the silent commands can contain almost any character: <pre class="example"> \sidx[see]{comments}[with %@with \verbatim %"|endverbatim] {commenting with \verbatim %"|endverbatim} </pre> - <p class="noindent">We didn't have to escape `<samp><span class="samp">%</span></samp>' in the sort string for + <p class="noindent">We didn't have to escape ‘<samp><span class="samp">%</span></samp>’ in the sort string for MakeIndex, while we had to put it inside the verbatim environment (see <a href="#Verbatim-listing">Verbatim listing</a>) in the part which MakeIndex will pass back -to TeX. Also, we had to escape the `<samp><span class="samp">|</span></samp>' character because it +to TeX. Also, we had to escape the ‘<samp><span class="samp">|</span></samp>’ character because it is special for MakeIndex. If you have trouble understanding the reasons for the different types of escaping used, it is best to examine the <samp><span class="file">.idx</span></samp> and <samp><span class="file">.ind</span></samp> files resulting from @@ -2347,8 +2389,8 @@ treated as spaces; <acronym>ASCII</acronym> return is treated as end-of-line (this means, among other things, that long terms can be broken across several lines). - <p><a name="index-braces_002c-inside-index-entries-273"></a><a name="index-index-entries-containing-braces-274"></a>You have to be careful with the begin- and end-group characters -(`<samp><span class="samp">{</span></samp>' and `<samp><span class="samp">}</span></samp>' by default). If they are matched, you don't + <p><a name="index-braces_002c-inside-index-entries-288"></a><a name="index-index-entries-containing-braces-289"></a>You have to be careful with the begin- and end-group characters +(‘<samp><span class="samp">{</span></samp>’ and ‘<samp><span class="samp">}</span></samp>’ by default). If they are matched, you don't have to do anything special. For example: <pre class="example"> \sidx {braces {, }@braces @@ -2358,8 +2400,8 @@ have to do anything special. For example: hand. The first one is TeX—you have to instruct TeX to use something else as begin- and/or end-group characters. Eplain provides an easy way to do this: just define -<a name="index-idxargopen-275"></a><code>\idxargopen</code> and/or -<a name="index-idxargclose-276"></a><code>\idxargclose</code> to the begin- and end-group characters you are +<a name="index-idxargopen-290"></a><code>\idxargopen</code> and/or +<a name="index-idxargclose-291"></a><code>\idxargclose</code> to the begin- and end-group characters you are going to use with indexing macros, and use braces inside index terms without any restrictions. Here's an example: @@ -2369,18 +2411,18 @@ without any restrictions. Here's an example: </pre> <p class="noindent">In this example we've also dealt with the second problem—braces are MakeIndex's grouping characters as well (by -default), so we have escaped unmatched braces with `<samp><span class="samp">"</span></samp>'. +default), so we have escaped unmatched braces with ‘<samp><span class="samp">"</span></samp>’. - <p><a name="index-brackets_002c-inside-index-entries-277"></a><a name="index-index-entries-containing-brackets-278"></a>And the final note: if you need a subentry containing brackets -(`<samp><span class="samp">[</span></samp>' and `<samp><span class="samp">]</span></samp>'), avoid the optional argument of <code>\sidx</code> + <p><a name="index-brackets_002c-inside-index-entries-292"></a><a name="index-index-entries-containing-brackets-293"></a>And the final note: if you need a subentry containing brackets +(‘<samp><span class="samp">[</span></samp>’ and ‘<samp><span class="samp">]</span></samp>’), avoid the optional argument of <code>\sidx</code> and friends, and use instead MakeIndex's subentry separator to create the subentry with the brackets in it: <pre class="example"> \sidx{entry!subentry with a bracket [} </pre> <div class="node"> -<p><hr> <a name="Proofing-index-terms"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Index-entries-with-special-characters">Index entries with special characters</a>, Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> @@ -2388,14 +2430,14 @@ Up: <a rel="up" accesskey="u" href="#Indexing-terms">Indexing terms</a> <h5 class="subsubsection">4.12.1.4 Proofing index terms</h5> -<p><a name="index-proofing-index-terms-279"></a><a name="index-index-entries_002c-proofing-280"></a><a name="index-margins_002c-index-terms-in-281"></a> +<p><a name="index-proofing-index-terms-294"></a><a name="index-index-entries_002c-proofing-295"></a><a name="index-margins_002c-index-terms-in-296"></a> As you are reading through a manuscript, it is helpful to see what terms have been indexed, so you can add others, catch miscellaneous errors, etc. (Speaking from bitter experience, I can say it is extremely error-prone to leave all indexing to the end of the writing, since it involves adding many TeX commands to the source files.) - <p><a name="index-ifindexproofing-282"></a><a name="index-indexproofingtrue-283"></a><a name="index-indexproofingfalse-284"></a><a name="index-indexproofterm-285"></a><a name="index-indexprooffont-286"></a><a name="index-cmtt8-287"></a>So Eplain puts index terms in the margin of each page, if you + <p><a name="index-ifindexproofing-297"></a><a name="index-indexproofingtrue-298"></a><a name="index-indexproofingfalse-299"></a><a name="index-indexproofterm-300"></a><a name="index-indexprooffont-301"></a><a name="index-cmtt8-302"></a>So Eplain puts index terms in the margin of each page, if you set <code>\indexproofingtrue</code>. It is <code>false</code> by default. The terms are typeset by the macro <code>\indexproofterm</code>, which takes a single argument, the term to be typeset. Eplain's definition of @@ -2404,14 +2446,14 @@ argument, the term to be typeset. Eplain's definition of <code>cmtt8</code>. With this definition long terms run off the page, but since this is just for proofreading anyway, it seems acceptable. - <p><a name="index-pageno-288"></a><a name="index-insidemargin-289"></a><a name="index-hoffset-290"></a><a name="index-outsidemargin-291"></a><a name="index-indexsetmargins-292"></a>On the other hand, we certainly don't want the index term to run into + <p><a name="index-pageno-303"></a><a name="index-insidemargin-304"></a><a name="index-hoffset-305"></a><a name="index-outsidemargin-306"></a><a name="index-indexsetmargins-307"></a>On the other hand, we certainly don't want the index term to run into the text of the page, so Eplain uses the right-hand side of the page rather than the left-hand page (assuming a language read left to right here). So <code>\ifodd\pageno</code>, Eplain kerns by <code>\outsidemargin</code>, otherwise by <code>\insidemargin</code>. If those macros are undefined, <code>\indexsetmargins</code> defines them to be one inch plus <code>\hoffset</code>. - <p><a name="index-g_t_0040_0040indexproof-_0040r_007binsertion-class_007d-293"></a><a name="index-indexproofunbox-294"></a><a name="index-makeheadline-295"></a><a name="index-output-routine-and-index-proofing-296"></a>To get the proofing index entries on the proper page, Eplain defines a new + <p><a name="index-g_t_0040_0040indexproof-_0040r_007binsertion-class_007d-308"></a><a name="index-indexproofunbox-309"></a><a name="index-makeheadline-310"></a><a name="index-output-routine-and-index-proofing-311"></a>To get the proofing index entries on the proper page, Eplain defines a new insertion class <code>\@indexproof</code>. To unbox any index proofing material, Eplain redefines <code>\makeheadline</code> to call <code>\indexproofunbox</code> before the original <code>\makeheadline</code>. Thus, @@ -2420,8 +2462,8 @@ if you have your own output routine, that redefines or doesn't use the appropriate time. <div class="node"> -<p><hr> <a name="Typesetting-an-index"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Customizing-indexing">Customizing indexing</a>, Previous: <a rel="previous" accesskey="p" href="#Indexing-terms">Indexing terms</a>, Up: <a rel="up" accesskey="u" href="#Indexing">Indexing</a> @@ -2430,38 +2472,38 @@ Up: <a rel="up" accesskey="u" href="#Indexing">Indexing</a> <h4 class="subsection">4.12.2 Typesetting an index</h4> -<p><a name="index-typesetting-an-index-297"></a><a name="index-index-typesetting-298"></a><a name="index-readindexfile-299"></a> +<p><a name="index-typesetting-an-index-312"></a><a name="index-index-typesetting-313"></a><a name="index-readindexfile-314"></a> The command <code>\readindexfile{i}</code> reads and typesets the <samp><span class="file">.ind</span></samp> file that MakeIndex outputs (from the <samp><span class="file">.idx</span></samp> file which the indexing commands in the previous sections write). Eplain defines a number of commands that support the default MakeIndex output. - <p><a name="index-indexfilebasename-300"></a><a name="index-jobname-301"></a>More precisely, <code>\readindexfile</code> reads + <p><a name="index-indexfilebasename-315"></a><a name="index-jobname-316"></a>More precisely, <code>\readindexfile</code> reads <code>\indexfilebasename.</code><var>index-letter</var><code>nd</code>, where the <var>index-letter</var> is the argument. <code>\indexfilebasename</code> is <code>\jobname</code> by default, but if you have different indexes in different parts of a book, you may wish to change it, just as with bibliographies (see <a href="#Citations">Citations</a>). - <p><a name="index-begin_0040_007btheindex_0040_007d-302"></a><a name="index-end_0040_007btheindex_0040_007d-303"></a>MakeIndex was designed to work with LaTeX; therefore, by default the + <p><a name="index-begin_0040_007btheindex_0040_007d-317"></a><a name="index-end_0040_007btheindex_0040_007d-318"></a>MakeIndex was designed to work with LaTeX; therefore, by default the <samp><span class="file">.ind</span></samp> file starts with <code>\begin{theindex}</code> and ends with <code>\end{theindex}</code>. If no <code>\begin</code> has been defined, Eplain defines one to ignore its argument and set up for typesetting the index (see below), and also defines a <code>\end</code> to ignore its argument. (In a group, naturally, since there is a primitive <code>\end</code>). - <p><a name="index-parindent-_0040r_007bin-indexes_007d-304"></a><a name="index-index-fonts-305"></a><a name="index-indexfonts-306"></a><a name="index-double-columns-in-indexes-307"></a>Eplain calls <code>\indexfonts</code>, sets <code>\parindent = 0pt</code>, and does + <p><a name="index-parindent-_0040r_007bin-indexes_007d-319"></a><a name="index-index-fonts-320"></a><a name="index-indexfonts-321"></a><a name="index-double-columns-in-indexes-322"></a>Eplain calls <code>\indexfonts</code>, sets <code>\parindent = 0pt</code>, and does <code>\doublecolumns</code> (see <a href="#Multiple-columns">Multiple columns</a>) at the <code>\begin{theindex}</code>. <code>\indexfonts</code> does nothing by default; it's just there for you to override. (Indexes are usually typeset in smaller type than the main text.) - <p><a name="index-beginindex-_0040r_007bhook_007d-308"></a>It ends the setup with <code>\hookrun{beginindex}</code>, so you can + <p><a name="index-beginindex-_0040r_007bhook_007d-323"></a>It ends the setup with <code>\hookrun{beginindex}</code>, so you can override anything you like in that hook (see <a href="#Hooks">Hooks</a>). For example: <pre class="example"> \hookaction{beginindex}{\triplecolumns} </pre> - <p><a name="index-item-_0040r_007bin-indexes_007d-309"></a><a name="index-subitem-_0040r_007bin-indexes_007d-310"></a><a name="index-subsubitem-_0040r_007bin-indexes_007d-311"></a><a name="index-index-entry-formatting-312"></a><a name="index-formatting-index-entries-313"></a><a name="index-space-above-index-entries-314"></a><a name="index-continued-index-entries-315"></a><a name="index-index-entry-continuations-316"></a>MakeIndex turns each main index entry into an <code>\item</code>, subentries + <p><a name="index-item-_0040r_007bin-indexes_007d-324"></a><a name="index-subitem-_0040r_007bin-indexes_007d-325"></a><a name="index-subsubitem-_0040r_007bin-indexes_007d-326"></a><a name="index-index-entry-formatting-327"></a><a name="index-formatting-index-entries-328"></a><a name="index-space-above-index-entries-329"></a><a name="index-continued-index-entries-330"></a><a name="index-index-entry-continuations-331"></a>MakeIndex turns each main index entry into an <code>\item</code>, subentries into <code>\subitem</code>, and subsubentries into <code>\subsubitem</code>. By default, the first line of main entries are not indented, and subentries are indented 1em per level. Main entries are preceded by a <code>\vskip</code> @@ -2472,23 +2514,23 @@ index entries. <p>All levels do the following: - <p><a name="index-hangindent-_0040r_007bfor-index-entries_007d-317"></a><a name="index-raggedright-_0040r_007bfor-index-entries_007d-318"></a><a name="index-hyphenpenalty-_0040r_007bfor-index-entries_007d-319"></a> + <p><a name="index-hangindent-_0040r_007bfor-index-entries_007d-332"></a><a name="index-raggedright-_0040r_007bfor-index-entries_007d-333"></a><a name="index-hyphenpenalty-_0040r_007bfor-index-entries_007d-334"></a> <pre class="example"> \hangindent = 1em \raggedright \hyphenpenalty = 10000 </pre> - <p><a name="index-indexitem-_0040r_007bhook_007d-320"></a>Each entry ends with <code>\hookrun{indexitem}</code>, so you can change any + <p><a name="index-indexitem-_0040r_007bhook_007d-335"></a>Each entry ends with <code>\hookrun{indexitem}</code>, so you can change any of this. For example, to increase the allowable rag: <pre class="example"> \hookaction{indexitem}{\advance\rightskip by 2em} </pre> - <p><a name="index-indexspace-321"></a><a name="index-index-groupings-322"></a>Finally, MakeIndex outputs <code>\indexspace</code> between each group of + <p><a name="index-indexspace-336"></a><a name="index-index-groupings-337"></a>Finally, MakeIndex outputs <code>\indexspace</code> between each group of entries in the <samp><span class="file">.ind</span></samp> file. Eplain makes this equivalent to <code>\bigbreak</code>. <div class="node"> -<p><hr> <a name="Customizing-indexing"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Typesetting-an-index">Typesetting an index</a>, Up: <a rel="up" accesskey="u" href="#Indexing">Indexing</a> @@ -2496,8 +2538,8 @@ Up: <a rel="up" accesskey="u" href="#Indexing">Indexing</a> <h4 class="subsection">4.12.3 Customizing indexing</h4> -<p><a name="index-customizing-indexing-323"></a> -<a name="index-afterindexterm-324"></a><a name="index-commas-after-index-terms-325"></a><a name="index-after-index-terms-326"></a>By default, MakeIndex outputs `<samp><span class="samp">, </span></samp>' after each term in the index. To +<p><a name="index-customizing-indexing-338"></a> +<a name="index-afterindexterm-339"></a><a name="index-commas-after-index-terms-340"></a><a name="index-after-index-terms-341"></a>By default, MakeIndex outputs ‘<samp><span class="samp">, </span></samp>’ after each term in the index. To change this, you can add the following to your MakeIndex style (<samp><span class="file">.ist</span></samp>) file: @@ -2511,13 +2553,13 @@ change this, you can add the following to your MakeIndex style <p>You can also change the keywords Eplain recognizes (see <a href="#Modifying-index-entries">Modifying index entries</a>): <dl> -<dt><code>\idxrangebeginword</code><dd><a name="index-idxrangebeginword-327"></a>`begin' +<dt><code>\idxrangebeginword</code><dd><a name="index-idxrangebeginword-342"></a>`begin' - <br><dt><code>\idxrangeendword</code><dd><a name="index-idxrangeendword-328"></a>`end' + <br><dt><code>\idxrangeendword</code><dd><a name="index-idxrangeendword-343"></a>`end' - <br><dt><code>\idxseecmdword</code><dd><a name="index-idxseecmdword-329"></a>`see' + <br><dt><code>\idxseecmdword</code><dd><a name="index-idxseecmdword-344"></a>`see' - <br><dt><code>\idxseealsocmdword</code><dd><a name="index-idxseealsocmdword-330"></a>`seealso' + <br><dt><code>\idxseealsocmdword</code><dd><a name="index-idxseealsocmdword-345"></a>`seealso' </dl> @@ -2525,24 +2567,24 @@ change this, you can add the following to your MakeIndex style <samp><span class="file">.idx</span></samp> file, in case you've changed them in the <code>.ist</code> file: <dl> -<dt><code>\idxsubentryseparator</code><dd><a name="index-idxsubentryseparator-331"></a>`<samp><span class="samp">!</span></samp>' +<dt><code>\idxsubentryseparator</code><dd><a name="index-idxsubentryseparator-346"></a>‘<samp><span class="samp">!</span></samp>’ - <br><dt><code>\idxencapoperator</code><dd><a name="index-idxencapoperator-332"></a>`<samp><span class="samp">|</span></samp>' + <br><dt><code>\idxencapoperator</code><dd><a name="index-idxencapoperator-347"></a>‘<samp><span class="samp">|</span></samp>’ - <br><dt><code>\idxbeginrangemark</code><dd><a name="index-idxbeginrangemark-333"></a>`<samp><span class="samp">(</span></samp>' + <br><dt><code>\idxbeginrangemark</code><dd><a name="index-idxbeginrangemark-348"></a>‘<samp><span class="samp">(</span></samp>’ - <br><dt><code>\idxendrangemark</code><dd><a name="index-idxendrangemark-334"></a>`<samp><span class="samp">)</span></samp>' + <br><dt><code>\idxendrangemark</code><dd><a name="index-idxendrangemark-349"></a>‘<samp><span class="samp">)</span></samp>’ </dl> - <p>There is no macro for the <code>actual</code> (`<samp><span class="samp">@</span></samp>' by default) + <p>There is no macro for the <code>actual</code> (‘<samp><span class="samp">@</span></samp>’ by default) character, because it's impossible to make it expand properly. - <p><a name="index-idxpagenum-335"></a><a name="index-see-also-index-entries-and-sorting-336"></a>You can change the (imaginary) page number that “see also” + <p><a name="index-idxpagenum-350"></a><a name="index-see-also-index-entries-and-sorting-351"></a>You can change the (imaginary) page number that “see also” entries sort as by redefining <code>\idxmaxpagenum</code>. This is 99999 by default, which is one digit too many for old versions of MakeIndex. - <p><a name="index-indexseeword-337"></a><a name="index-indexseealsowords-338"></a><a name="index-seevariant-339"></a><a name="index-indexsee-340"></a><a name="index-indexseealso-341"></a>The words output by Eplain for “see” and “see also” index entries + <p><a name="index-indexseeword-352"></a><a name="index-indexseealsowords-353"></a><a name="index-seevariant-354"></a><a name="index-indexsee-355"></a><a name="index-indexseealso-356"></a>The words output by Eplain for “see” and “see also” index entries are defined by <code>\indexseeword</code> and <code>\indexseealsowords</code> respectively. You can change the typeface used for these words by redefining <code>\seevariant</code>. And finally, the macros @@ -2552,12 +2594,12 @@ entirely different. If you do redefine them, make them take two parameters, the term being referenced and the <code>\idxmaxpagenum</code> (the latter should normally be ignored). See the example below. - <p><a name="index-see-_0040r_007bfor-index-entries_007d-342"></a><a name="index-see_002c-and-index-entries-343"></a><a name="index-cross_002dreferencing-index-entries-344"></a><a name="index-index-entries_002c-and-cross_002dreferencing-345"></a><a name="index-commas-in-cross_002dreferencing-index-entries-346"></a>Unfortunately, it is impossible to reliably control the commas + <p><a name="index-see-_0040r_007bfor-index-entries_007d-357"></a><a name="index-see_002c-and-index-entries-358"></a><a name="index-cross_002dreferencing-index-entries-359"></a><a name="index-index-entries_002c-and-cross_002dreferencing-360"></a><a name="index-commas-in-cross_002dreferencing-index-entries-361"></a>Unfortunately, it is impossible to reliably control the commas produced by MakeIndex in front of “see <small class="dots">...</small>” entries in the <samp><span class="file">.ind</span></samp> file, either at MakeIndex level or at Eplain level. However, the -<a name="index-sed-347"></a><samp><span class="command">sed</span></samp> script contained in <samp><span class="command">trimsee</span></samp> -<a name="index-trimsee-348"></a>distributed with Eplain in the <samp><span class="file">util</span></samp> directory can be used to +<a name="index-sed-362"></a><samp><span class="command">sed</span></samp> script contained in <samp><span class="command">trimsee</span></samp> +<a name="index-trimsee-363"></a>distributed with Eplain in the <samp><span class="file">util</span></samp> directory can be used to filter out these commas from the output of MakeIndex. For example, suppose you want the following style for your “see <small class="dots">...</small>” entries: @@ -2588,13 +2630,13 @@ following: <dl> <dt><samp><span class="option">-i </span><var>is</var></samp><dd>Use <var>is</var> as a regular expression matching separator before “see -<small class="dots">...</small>” commands in the input (default: `<samp><span class="samp">, \+</span></samp>'). +<small class="dots">...</small>” commands in the input (default: ‘<samp><span class="samp">, \+</span></samp>’). <br><dt><samp><span class="option">-o </span><var>os</var></samp><dd>Use <var>os</var> as a separator to replace <var>is</var> before “see <small class="dots">...</small>” -commands (default: `<samp> </samp>'). +commands (default: ‘<samp> </samp>’). <br><dt><samp><span class="option">-s </span><var>see</var></samp><dd>Use <var>see</var> as a regular expression matching “see <small class="dots">...</small>” -commands (default: `<samp><span class="samp">\\indexsee</span></samp>'). +commands (default: ‘<samp><span class="samp">\\indexsee</span></samp>’). <br><dt><samp><span class="option">-h</span></samp><dt><samp><span class="option">--help</span></samp><dd>Print a usage message. @@ -2605,8 +2647,8 @@ commands (default: `<samp><span class="samp">\\indexsee</span></samp>'). output to the standard output. <div class="node"> -<p><hr> <a name="Justification"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Tables">Tables</a>, Previous: <a rel="previous" accesskey="p" href="#Indexing">Indexing</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2615,10 +2657,10 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.13 Justification</h3> -<p><a name="index-centering-349"></a><a name="index-left_002djustification-350"></a><a name="index-right_002djustification-351"></a><a name="index-justification-352"></a>Eplain defines three commands to conveniently justify multiple +<p><a name="index-centering-364"></a><a name="index-left_002djustification-365"></a><a name="index-right_002djustification-366"></a><a name="index-justification-367"></a>Eplain defines three commands to conveniently justify multiple lines of text: <code>\flushright</code>, <code>\flushleft</code>, and <code>\center</code>. -<a name="index-flushright-353"></a><a name="index-flushleft-354"></a><a name="index-center-355"></a> +<a name="index-flushright-368"></a><a name="index-flushleft-369"></a><a name="index-center-370"></a> They all work in the same way; let's take <code>\center</code> as the example. To start centering lines, you say <code>\center</code> inside a group; to stop, you end the group. Between the two commands, each @@ -2635,7 +2677,7 @@ until the end of the paragraph). <p>The space between paragraphs is by default one blank line's worth. You can adjust this space by assigning to <code>\blanklineskipamount</code>; -<a name="index-blanklineskipamount-_0040r_007bin-justified-text_007d-356"></a>this (vertical) glue is inserted after each blank line. +<a name="index-blanklineskipamount-_0040r_007bin-justified-text_007d-371"></a>this (vertical) glue is inserted after each blank line. <p>Here is an example: @@ -2658,8 +2700,8 @@ a title macro might be defined: \def\endtitle{\endgroup} </pre> <div class="node"> -<p><hr> <a name="Tables"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Margins">Margins</a>, Previous: <a rel="previous" accesskey="p" href="#Justification">Justification</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2668,12 +2710,11 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.14 Tables</h3> -<p><a name="index-tables-357"></a><a name="index-alignments-358"></a>Eplain provides a single command, <code>\makecolumns</code>, -<a name="index-makecolumns-359"></a>to make generating one particular kind of table easier. More ambitious -macro packages might be helpful to you for more difficult applications. -The files <samp><span class="file">ruled.tex</span></samp> and <samp><span class="file">TXSruled.tex</span></samp>, available from -<a href="http://www.ctan.org/tex-archive/macros/texsis">http://www.ctan.org/tex-archive/macros/texsis</a>, is the only -one I know of. +<p><a name="index-tables-372"></a><a name="index-alignments-373"></a>Eplain provides a single command, <code>\makecolumns</code>, +<a name="index-makecolumns-374"></a>to make generating one particular kind of table easier. More +ambitious LaTeX styles and macro packages tackle more difficult +applications. The <code>autorows</code> feature of the Memoir package +provides similar functionality to this. <p>Many tables are homogenous, i.e., all the entries are semantically the same. The arrangement into columns is to save space on the page, not @@ -2696,7 +2737,7 @@ to these parameters, probably inside a group. <p>You can also control the penalty at a page break before the <code>\makecolumns</code> by setting the parameter <code>\abovecolumnspenalty</code>. -<a name="index-abovecolumnspenalty-360"></a>Usually, the table is preceded by some explanatory text. You wouldn't +<a name="index-abovecolumnspenalty-375"></a>Usually, the table is preceded by some explanatory text. You wouldn't want a page break to occur after the text and before the table, so Eplain sets it to <code>10000</code>. But if the table produced by <code>\makecolumns</code> is standing on its own, <code>\abovecolumnspenalty</code> @@ -2726,8 +2767,8 @@ looking somewhat out of place. `four', `five', and `six' in the second. <div class="node"> -<p><hr> <a name="Margins"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Multiple-columns">Multiple columns</a>, Previous: <a rel="previous" accesskey="p" href="#Tables">Tables</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2736,7 +2777,7 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.15 Margins</h3> -<p><a name="index-margins_002c-changing-361"></a>TeX's primitives describe the type area in terms of an offset from +<p><a name="index-margins_002c-changing-376"></a>TeX's primitives describe the type area in terms of an offset from the upper left corner, and the width and height of the type. Some people prefer to think in terms of the <dfn>margins</dfn> at the top, bottom, left, and right of the page, and most composition systems other than @@ -2744,13 +2785,13 @@ TeX conceive of the page laid out in this way. Therefore, Eplain provides commands to directly assign and increment the margins. <dl> -<dt><code>\topmargin = </code><var>dimen</var><dt><code>\bottommargin = </code><var>dimen</var><dt><code>\leftmargin = </code><var>dimen</var><br><dt><code>\rightmargin = </code><var>dimen</var><dd><a name="index-topmargin-362"></a><a name="index-bottommargin-363"></a><a name="index-leftmargin-364"></a><a name="index-rightmargin-365"></a>These commands set the specified margin to the <var>dimen</var> given. +<dt><code>\topmargin = </code><var>dimen</var><dt><code>\bottommargin = </code><var>dimen</var><dt><code>\leftmargin = </code><var>dimen</var><br><dt><code>\rightmargin = </code><var>dimen</var><dd><a name="index-topmargin-377"></a><a name="index-bottommargin-378"></a><a name="index-leftmargin-379"></a><a name="index-rightmargin-380"></a>These commands set the specified margin to the <var>dimen</var> given. The <code>=</code> and the spaces around it are optional. The control sequences here are not TeX registers, despite appearances; therefore, commands like <code>\showthe\topmargin</code> will not do what you expect. - <dt><code>\advancetopmargin by </code><var>dimen</var><dt><code>\advancebottommargin by </code><var>dimen</var><dt><code>\advanceleftmargin by </code><var>dimen</var><br><dt><code>\advancerightmargin by </code><var>dimen</var><dd><a name="index-advancetopmargin-366"></a><a name="index-advancebottommargin-367"></a><a name="index-advanceleftmargin-368"></a><a name="index-advancerightmargin-369"></a>These commands change the specified margin by the <var>dimen</var> given. + <dt><code>\advancetopmargin by </code><var>dimen</var><dt><code>\advancebottommargin by </code><var>dimen</var><dt><code>\advanceleftmargin by </code><var>dimen</var><br><dt><code>\advancerightmargin by </code><var>dimen</var><dd><a name="index-advancetopmargin-381"></a><a name="index-advancebottommargin-382"></a><a name="index-advanceleftmargin-383"></a><a name="index-advancerightmargin-384"></a>These commands change the specified margin by the <var>dimen</var> given. </dl> <p>Regardless of whether you use the assignment or the advance commands, @@ -2758,7 +2799,7 @@ Eplain always changes the type area in response, not the other margins. For example, when TeX starts, the left and right margins are both one inch. If you then say <code>\leftmargin = 2in</code>, the right margin will remain at one inch, and the width of the lines (i.e., <code>\hsize</code>) -<a name="index-hsize-370"></a>will decrease by one inch. +<a name="index-hsize-385"></a>will decrease by one inch. <p>When you use any of these commands, Eplain computes the old value of the particular margin, by how much you want to change it, and then @@ -2768,9 +2809,9 @@ help: you must tell it the full width and height of the final output page. It defines two new parameters for this: <dl> -<dt><code>\paperheight</code><dd><a name="index-paperheight-371"></a>The height of the output page; default is 11truein. +<dt><code>\paperheight</code><dd><a name="index-paperheight-386"></a>The height of the output page; default is 11truein. - <br><dt><code>\paperwidth</code><dd><a name="index-paperwidth-372"></a>The width of the output page; default is 8.5truein. + <br><dt><code>\paperwidth</code><dd><a name="index-paperwidth-387"></a>The width of the output page; default is 8.5truein. </dl> <p>If your output page has different dimensions than this, you must @@ -2780,8 +2821,8 @@ reassign to these parameters, as in \paperwidth = 17truein </pre> <div class="node"> -<p><hr> <a name="Multiple-columns"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Footnotes">Footnotes</a>, Previous: <a rel="previous" accesskey="p" href="#Margins">Margins</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2790,18 +2831,18 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.16 Multiple columns</h3> -<p><a name="index-double-column-output-373"></a><a name="index-triple-column-output-374"></a><a name="index-quadruple-column-output-375"></a><a name="index-multiple-column-output-376"></a>Eplain provides for double, triple, and quadruple column output: say +<p><a name="index-double-column-output-388"></a><a name="index-triple-column-output-389"></a><a name="index-quadruple-column-output-390"></a><a name="index-multiple-column-output-391"></a>Eplain provides for double, triple, and quadruple column output: say <code>\doublecolumns</code>, -<a name="index-doublecolumns-377"></a><code>\triplecolumns</code>, -<a name="index-triplecolumns-378"></a>or <code>\quadcolumns</code>, -<a name="index-quadcolumns-379"></a>and from that point on, the manuscript will be +<a name="index-doublecolumns-392"></a><code>\triplecolumns</code>, +<a name="index-triplecolumns-393"></a>or <code>\quadcolumns</code>, +<a name="index-quadcolumns-394"></a>and from that point on, the manuscript will be set in columns. To go back to one column, say <code>\singlecolumn</code>. -<a name="index-singlecolumn-380"></a> -<a name="index-column-balancing-with-_0040code_007b_005csinglecolumn_007d-381"></a><a name="index-balancing-of-columns-with-_0040code_007b_005csinglecolumn_007d-382"></a>You may need to invoke <code>\singlecolumn</code> to balance the columns +<a name="index-singlecolumn-395"></a> +<a name="index-column-balancing-with-_0040code_007b_005csinglecolumn_007d-396"></a><a name="index-balancing-of-columns-with-_0040code_007b_005csinglecolumn_007d-397"></a>You may need to invoke <code>\singlecolumn</code> to balance the columns on the last page of output. - <p><a name="index-columnfill-383"></a><a name="index-column-eject-384"></a><a name="index-eject-in-multicolumns-385"></a><a name="index-pagetotal-386"></a>To do a “column eject”, i.e., move to the top of the next column, do + <p><a name="index-columnfill-398"></a><a name="index-column-eject-399"></a><a name="index-eject-in-multicolumns-400"></a><a name="index-pagetotal-401"></a>To do a “column eject”, i.e., move to the top of the next column, do <code>\columnfill</code>. This does not actually force an eject, however: it merely inserts a kern of size <code>\@normalvsize</code> minus <code>\pagetotal</code> (<code>\@normalvsize</code> being the usual height of the @@ -2810,9 +2851,9 @@ by the number of columns). In most circumstances, a column break will be forced after this kern (during the column splitting operation when the whole page is output), as desired. - <p><a name="index-gutter-387"></a>The columns are separated by the value of the dimen parameter + <p><a name="index-gutter-402"></a>The columns are separated by the value of the dimen parameter <code>\gutter</code>. Default value is two picas. -<a name="index-gutterbox-388"></a>If you want to add vertical material between the columns, use +<a name="index-gutterbox-403"></a>If you want to add vertical material between the columns, use <code>\gutterbox</code>. For example, to put a vertical line between columns, define <code>\gutterbox</code> as @@ -2825,13 +2866,13 @@ contains the height of the column. <p>All the <code>\...columns</code> macros insert the value of the glue parameter <code>\abovecolumnskip</code> -<a name="index-abovecolumnskip-389"></a>before the multicolumn text, and the value of the glue parameter +<a name="index-abovecolumnskip-404"></a>before the multicolumn text, and the value of the glue parameter <code>\belowcolumnskip</code> -<a name="index-belowcolumnskip-390"></a>after it. The default value for both of these parameters is +<a name="index-belowcolumnskip-405"></a>after it. The default value for both of these parameters is <code>\bigskipamount</code>, i.e., one linespace in plain TeX. <p>The macros take into account only the insertion classes -<a name="index-insertion-classes-391"></a>defined by plain TeX; namely, footnotes and <code>\topinsert</code>s. If +<a name="index-insertion-classes-406"></a>defined by plain TeX; namely, footnotes and <code>\topinsert</code>s. If you have additional insertion classes, you will need to change the implementation. @@ -2839,8 +2880,8 @@ the implementation. provision for column-width insertions. <div class="node"> -<p><hr> <a name="Footnotes"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Fractions">Fractions</a>, Previous: <a rel="previous" accesskey="p" href="#Multiple-columns">Multiple columns</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2849,9 +2890,9 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.17 Footnotes</h3> -<p><a name="index-footnotes_002c-numbered-392"></a>The most common reference mark for footnotes is a raised number, +<p><a name="index-footnotes_002c-numbered-407"></a>The most common reference mark for footnotes is a raised number, incremented on each footnote. The <code>\numberedfootnote</code> -<a name="index-numberedfootnote-393"></a>macro provides this. It takes one argument, the footnote text. +<a name="index-numberedfootnote-408"></a>macro provides this. It takes one argument, the footnote text. <p>If your document uses only numbered footnotes, you could make typing <code>\numberedfootnote</code> more convenient with a command such as: @@ -2871,18 +2912,18 @@ could say <code>\footnotenumber=0</code>. an en space (it uses the <code>\textindent</code> macro). In Eplain, you can change this space by setting the dimension register <code>\footnotemarkseparation</code>. -<a name="index-footnotemarkseparation-394"></a>The default is still an en. +<a name="index-footnotemarkseparation-409"></a>The default is still an en. <p>You can produce a space between footenotes by setting the glue register <code>\interfootnoteskip</code>. -<a name="index-interfootnoteskip-395"></a>The default is zero. +<a name="index-interfootnoteskip-410"></a>The default is zero. <p><code>\parskip</code> is also set to zero by default before the beginning of each footnote (but not for the text of the footnote). <p>You can also control footnote formatting in a more general way: Eplain expands the token register <code>\everyfootnote</code> -<a name="index-everyfootnote-396"></a>before a footnote is typeset, but after the default values for all the +<a name="index-everyfootnote-411"></a>before a footnote is typeset, but after the default values for all the parameters have been established. For example, if you want your footnotes to be printed in seven-point type, indented by one inch, you could say: @@ -2892,10 +2933,10 @@ could say: <p>By default, an <code>\hrule</code> is typeset above each group of footnotes on a page. You can control the dimensions of this rule by setting the dimension registers <code>\footnoterulewidth</code> -<a name="index-footnoterulewidth-397"></a>and <code>\footnoteruleheight</code>. -<a name="index-footnoteruleheight-398"></a>The space between the rule and the first footnote on the page is +<a name="index-footnoterulewidth-412"></a>and <code>\footnoteruleheight</code>. +<a name="index-footnoteruleheight-413"></a>The space between the rule and the first footnote on the page is determined by the dimension register <code>\belowfootnoterulespace</code>. -<a name="index-belowfootnoterulespace-399"></a>If you don't want any rule at all, set <code>\footenoteruleheight=0pt</code>, +<a name="index-belowfootnoterulespace-414"></a>If you don't want any rule at all, set <code>\footenoteruleheight=0pt</code>, and, most likely, <code>\belowfootnoterulespace=0pt</code>. The defaults for these parameters typeset the rule in the same way as plain TeX: the rule is 0.4 points high, 2 true inches wide, with 2.6 points below it. @@ -2907,8 +2948,8 @@ by the glue register <code>\skip\footins</code>. The default is a plain TeX <p>Eplain can create hypertext links for the footnote marks (see <a href="#Footnote-hyperlinks">Footnote hyperlinks</a>). <div class="node"> -<p><hr> <a name="Fractions"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Paths">Paths</a>, Previous: <a rel="previous" accesskey="p" href="#Footnotes">Footnotes</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2917,8 +2958,8 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.18 Fractions</h3> -<p><a name="index-fractions-400"></a>Exercise 11.6 of <cite>The TeXbook</cite> describes a macro <code>\frac</code> -<a name="index-frac-401"></a>for setting fractions, but <code>\frac</code> never made it into plain TeX. +<p><a name="index-fractions-415"></a>Exercise 11.6 of <cite>The TeXbook</cite> describes a macro <code>\frac</code> +<a name="index-frac-416"></a>for setting fractions, but <code>\frac</code> never made it into plain TeX. So Eplain includes it. <p><code>\frac</code> typesets the numerator and denominator in @@ -2926,15 +2967,15 @@ So Eplain includes it. denominator are separated by a slash. The denominator must be enclosed in braces if it's more than one token long, but the numerator need not be. (This is a consequence of <code>\frac</code> taking delimited arguments; -see page <!-- /@w -->203 of <cite>The TeXbook</cite> for an explanation of +see page 203 of <cite>The TeXbook</cite> for an explanation of delimited macro arguments.) <p>For example, <code>\frac 23/{64}</code> turns `23/64' into . <div class="node"> -<p><hr> <a name="Paths"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Logos">Logos</a>, Previous: <a rel="previous" accesskey="p" href="#Fractions">Fractions</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2943,24 +2984,24 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.19 Paths</h3> -<p><a name="index-pathnames_002c-breaking-402"></a><a name="index-filenames_002c-breaking-403"></a><a name="index-electronic-mail-addresses_002c-breaking-404"></a> +<p><a name="index-pathnames_002c-breaking-417"></a><a name="index-filenames_002c-breaking-418"></a><a name="index-electronic-mail-addresses_002c-breaking-419"></a> When you typeset long pathnames, electronic mail addresses, or other such “computer” names, you would like TeX to break lines at punctuation characters within the name, rather than trying to find hyphenation points within the words. For example, it would be better to break the email address <code>letters@alpha.gnu.ai.mit.edu</code> at the -`<samp><span class="samp">@</span></samp>' or a `<samp><span class="samp">.</span></samp>', rather than at the hyphenation points in -`<samp><span class="samp">letters</span></samp>' and `<samp><span class="samp">alpha</span></samp>'. +‘<samp><span class="samp">@</span></samp>’ or a ‘<samp><span class="samp">.</span></samp>’, rather than at the hyphenation points in +‘<samp><span class="samp">letters</span></samp>’ and ‘<samp><span class="samp">alpha</span></samp>’. - <p><a name="index-path-405"></a>If you use the <code>\path</code> macro to typeset the names, TeX will find + <p><a name="index-path-420"></a>If you use the <code>\path</code> macro to typeset the names, TeX will find these good breakpoints. The argument to <code>\path</code> is delimited by -any character other other than `<samp><span class="samp">\</span></samp>' which does not appear in the +any character other other than ‘<samp><span class="samp">\</span></samp>’ which does not appear in the name itself. -`<samp><span class="samp">|</span></samp>' is often a good choice, as in: +‘<samp><span class="samp">|</span></samp>’ is often a good choice, as in: <pre class="example"> \path|letters@alpha.gnu.ai.mit.edu| </pre> - <p><a name="index-discretionaries-406"></a>You can control the exact set of characters at which breakpoints will be + <p><a name="index-discretionaries-421"></a>You can control the exact set of characters at which breakpoints will be allowed by calling <code>\discretionaries</code>. This takes the same sort of delimited argument; any character in the argument will henceforth be a valid breakpoint within <code>\path</code>. The default set is essentially all the @@ -2968,19 +3009,19 @@ punctuation characters: <pre class="example"> \discretionaries |~!@$%^&*()_+`-=#{}[]:";'<>,.?\/| </pre> - <p><a name="index-specialpathdelimiters-_0040r_007b_0028conditional_0029_007d-407"></a>If for some reason you absolutely must use <code>\</code> as the delimiter + <p><a name="index-specialpathdelimiters-_0040r_007b_0028conditional_0029_007d-422"></a>If for some reason you absolutely must use <code>\</code> as the delimiter character for <code>\path</code>, you can set <code>\specialpathdelimiterstrue</code>. (Other delimiter characters can still be used.) TeX then processes the <code>\path</code> argument about four times more slowly. - <p><a name="index-g_t_0040acronym_007bURL_007d-for-_0040file_007bpath_002esty_007d-408"></a>The <code>\path</code> macro comes from <samp><span class="file">path.sty</span></samp>, written by Nelson + <p><a name="index-g_t_0040acronym_007bURL_007d-for-_0040file_007bpath_002esty_007d-423"></a>The <code>\path</code> macro comes from <samp><span class="file">path.sty</span></samp>, written by Nelson Beebe and Philip Taylor and available at <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/misc/path.sty">http://www.ctan.org/tex-archive/macros/latex/contrib/misc/path.sty</a>. <div class="node"> -<p><hr> <a name="Logos"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Boxes">Boxes</a>, Previous: <a rel="previous" accesskey="p" href="#Paths">Paths</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -2989,30 +3030,34 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.20 Logos</h3> -<p><a name="index-logos-409"></a><a name="index-names_002c-of-_0040TeX_007b_007d-variants-410"></a> +<p><a name="index-logos-424"></a><a name="index-names_002c-of-_0040TeX_007b_007d-variants-425"></a> Eplain redefines the <code>\TeX</code> -<a name="index-TeX-411"></a>macro of plain TeX to end with <code>\null</code>, so that the proper +<a name="index-TeX-426"></a>macro of plain TeX to end with <code>\null</code>, so that the proper spacing is produced when <code>\TeX</code> is used at the end of a sentence. The other <small class="dots">...</small>TeX macros listed here do this, also. <p>Eplain defines -<code>\AMSTeX</code>, -<a name="index-AMS_0040TeX_007b_007d-412"></a><a name="index-AMSTeX-413"></a><code>\BibTeX</code> -<a name="index-Bib_0040TeX_007b_007d-414"></a><a name="index-BibTeX-415"></a><code>\AMSLaTeX</code>, -<a name="index-AMS_0040LaTeX_007b_007d-416"></a><a name="index-AMSLaTeX-417"></a><code>\LAMSTeX</code>, -<a name="index-LAMS_0040TeX_007b_007d-418"></a><a name="index-LAMSTeX-419"></a><code>\LaTeX</code> -<a name="index-g_t_0040LaTeX_007b_007d-420"></a><a name="index-LaTeX-421"></a><code>\MF</code>, -<a name="index-Metafont-422"></a><a name="index-MF-423"></a>and <code>\SLiTeX</code> -<a name="index-SLi_0040TeX_007b_007d-424"></a><a name="index-SLiTeX-425"></a>to produce their respective logos. (Sorry, the logos are not shown +<code>\AMSLaTeX</code>, +<a name="index-AMS_0040LaTeX_007b_007d-427"></a><a name="index-AMSLaTeX-428"></a><code>\AMSTeX</code>, +<a name="index-AMS_0040TeX_007b_007d-429"></a><a name="index-AMSTeX-430"></a><code>\BibTeX</code> +<a name="index-Bib_0040TeX_007b_007d-431"></a><a name="index-BibTeX-432"></a><code>\eTeX</code>, +<a name="index-e_0040TeX_007b_007d-433"></a><a name="index-eTeX-434"></a><code>\ExTeX</code>, +<a name="index-Ex_0040TeX_007b_007d-435"></a><a name="index-ExTeX-436"></a><code>\LAMSTeX</code>, +<a name="index-LAMS_0040TeX_007b_007d-437"></a><a name="index-LAMSTeX-438"></a><code>\LaTeX</code>, +<a name="index-g_t_0040LaTeX_007b_007d-439"></a><a name="index-LaTeX-440"></a><code>\MF</code>, +<a name="index-Metafont-441"></a><a name="index-MF-442"></a><code>\SLiTeX</code>, +<a name="index-SLi_0040TeX_007b_007d-443"></a><a name="index-SLiTeX-444"></a><code>\XeLaTeX</code>, +<a name="index-XeLa_0040TeX_007b_007d-445"></a><a name="index-XeLaTeX-446"></a>and <code>\XeTeX</code> +<a name="index-Xe_0040TeX_007b_007d-447"></a><a name="index-XeTeX-448"></a>to produce their respective logos. (Sorry, the logos are not shown here.) Some spelling variants of these are also supported. - <p><a name="index-g_t_0040acronym_007bURL_007d-for-_0040file_007btexnames_002esty_007d-426"></a>All these macros come from <samp><span class="file">texnames.sty</span></samp>, compiled by Nelson + <p><a name="index-g_t_0040acronym_007bURL_007d-for-_0040file_007btexnames_002esty_007d-449"></a>Most of these macros come from <samp><span class="file">texnames.sty</span></samp>, compiled by Nelson Beebe and available at <a href="http://www.ctan.org/tex-archive/info/biblio/texnames.sty">http://www.ctan.org/tex-archive/info/biblio/texnames.sty</a>. <div class="node"> -<p><hr> <a name="Boxes"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Checking-for-PDF-output">Checking for PDF output</a>, Previous: <a rel="previous" accesskey="p" href="#Logos">Logos</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -3021,14 +3066,14 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.21 Boxes</h3> -<p><a name="index-black-boxes-427"></a><a name="index-rectangles-428"></a>The solid rectangle that Eplain uses as a marker in unordered lists +<p><a name="index-black-boxes-450"></a><a name="index-rectangles-451"></a>The solid rectangle that Eplain uses as a marker in unordered lists (see <a href="#Lists">Lists</a>) is available by itself: just say <code>\blackbox</code>. -<a name="index-blackbox-429"></a> +<a name="index-blackbox-452"></a> You can create black boxes of arbitrary size with <code>\hrule</code> or <code>\vrule</code>. - <p><a name="index-open-boxes-430"></a><a name="index-boxes_002c-open-431"></a>You can also get unfilled rectangles with <code>\makeblankbox</code>. -<a name="index-makeblankbox-432"></a>This takes two explicit arguments: the height and depth of the rules that + <p><a name="index-open-boxes-453"></a><a name="index-boxes_002c-open-454"></a>You can also get unfilled rectangles with <code>\makeblankbox</code>. +<a name="index-makeblankbox-455"></a>This takes two explicit arguments: the height and depth of the rules that define the top and bottom of the rectangle. (The two arguments are added to get the width of the left and right borders, so that the thickness of the border is the same on all four sides.) It also uses, @@ -3045,9 +3090,9 @@ putting next to numbers in, e.g., a table of contents. } </pre> <p>Finally, you can put a box around arbitrary text with <code>\boxit</code>. -<a name="index-boxit-433"></a>This takes one argument, which must itself be a (TeX) box, and puts a +<a name="index-boxit-456"></a>This takes one argument, which must itself be a (TeX) box, and puts a printed box around it, separated by <code>\boxitspace</code> -<a name="index-boxitspace-434"></a>white space (3 points by default) on all four sides. For example: +<a name="index-boxitspace-457"></a>white space (3 points by default) on all four sides. For example: <pre class="example"> \boxit{\hbox{This text is boxed.}} </pre> @@ -3061,8 +3106,8 @@ you can always reset it yourself.) easily adjust the thicknesses of the box rules. See <a href="#Rules">Rules</a>. <div class="node"> -<p><hr> <a name="Checking-for-PDF-output"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Loading-LaTeX-packages">Loading LaTeX packages</a>, Previous: <a rel="previous" accesskey="p" href="#Boxes">Boxes</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -3071,12 +3116,12 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.22 Checking for PDF output</h3> -<p><a name="index-g_t_0040acronym_007bURL_007d-for-pdf_0040TeX_007b_007d-435"></a><a name="index-g_t_0040acronym_007bPDF_007d-output-436"></a><a name="index-pdftex-437"></a><a name="index-g_t_002epdf-_0040r_007bfiles_007d-438"></a>pdfTeX is a TeX variant that can output both <samp><span class="file">.dvi</span></samp> and +<p><a name="index-g_t_0040acronym_007bURL_007d-for-pdf_0040TeX_007b_007d-458"></a><a name="index-g_t_0040acronym_007bPDF_007d-output-459"></a><a name="index-pdftex-460"></a><a name="index-g_t_002epdf-_0040r_007bfiles_007d-461"></a>pdfTeX is a TeX variant that can output both <samp><span class="file">.dvi</span></samp> and <samp><span class="file">.pdf</span></samp> (Adobe's Portable Document Format) files (see <a href="http://www.ctan.org/tex-archive/systems/pdftex">http://www.ctan.org/tex-archive/systems/pdftex</a>). You might sometimes want to know whether the target format is <samp><span class="file">.pdf</span></samp> or <samp><span class="file">.dvi</span></samp>. The <code>\ifpdf</code> -<a name="index-ifpdf-439"></a>switch can be used to detect pdfTeX in <acronym>PDF</acronym> mode: +<a name="index-ifpdf-462"></a>switch can be used to detect pdfTeX in <acronym>PDF</acronym> mode: <pre class="example"> \ifpdf This text is produced when pdfTeX is in PDF mode. @@ -3087,17 +3132,17 @@ sometimes want to know whether the target format is <samp><span class="file">.pd </pre> <p>Keep in mind that <code>\ifpdf</code> is set based on the value of the <code>\pdfoutput</code> -<a name="index-pdfoutput-440"></a>primitive of pdfTeX at the time Eplain is loaded. If you change +<a name="index-pdfoutput-463"></a>primitive of pdfTeX at the time Eplain is loaded. If you change the value of <code>\pdfoutput</code> after you load Eplain, <code>\ifpdf</code> will not reflect the change. - <p><a name="index-g_t_0040acronym_007bURL_007d-for-_0040file_007bifpdf_002esty_007d-441"></a><a name="index-Oberdiek_002c-Heiko-442"></a>Eplain defines <code>\ifpdf</code> by incorporating Heiko Oberdiek's + <p><a name="index-g_t_0040acronym_007bURL_007d-for-_0040file_007bifpdf_002esty_007d-464"></a><a name="index-Oberdiek_002c-Heiko-465"></a>Eplain defines <code>\ifpdf</code> by incorporating Heiko Oberdiek's <samp><span class="file">ifpdf.sty</span></samp>, which is available at <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/ifpdf.sty">http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/ifpdf.sty</a>. <div class="node"> -<p><hr> <a name="Loading-LaTeX-packages"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Checking-for-PDF-output">Checking for PDF output</a>, Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> @@ -3105,7 +3150,7 @@ Up: <a rel="up" accesskey="u" href="#User-definitions">User definitions</a> <h3 class="section">4.23 Loading LaTeX packages</h3> -<p><a name="index-g_t_0040LaTeX_007b_007d-packages-443"></a><a name="index-packages_002c-_0040LaTeX_007b_007d-444"></a><a name="index-g_t_002esty-_0040r_007bfiles_007d-445"></a><a name="index-g_t_002ecls-_0040r_007bfiles_007d-446"></a>Eplain provides a limited support for loading LaTeX packages +<p><a name="index-g_t_0040LaTeX_007b_007d-packages-466"></a><a name="index-packages_002c-_0040LaTeX_007b_007d-467"></a><a name="index-g_t_002esty-_0040r_007bfiles_007d-468"></a><a name="index-g_t_002ecls-_0040r_007bfiles_007d-469"></a>Eplain provides a limited support for loading LaTeX packages (<samp><span class="file">.sty</span></samp> files—not <samp><span class="file">.cls</span></samp>). This will mostly work for packages which were designed with plain TeX compatibility in mind, which means that most LaTeX packages cannot be loaded. The @@ -3113,7 +3158,7 @@ packages which are known to work are listed below (see <a href="#Packages-known- the list, please report it to the Eplain mailing list (see <a href="#Introduction">Introduction</a>). - <p><a name="index-graphics-collection_002c-_0040LaTeX_007b_007d-447"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection-448"></a><a name="index-miniltx_002etex-449"></a><a name="index-Carlisle_002c-David-450"></a><a name="index-Rahtz_002c-Sebastian-451"></a>To set up a pseudo-LaTeX environment for the packages, Eplain uses + <p><a name="index-graphics-collection_002c-_0040LaTeX_007b_007d-470"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection-471"></a><a name="index-miniltx_002etex-472"></a><a name="index-Carlisle_002c-David-473"></a><a name="index-Rahtz_002c-Sebastian-474"></a>To set up a pseudo-LaTeX environment for the packages, Eplain uses <samp><span class="file">miniltx.tex</span></samp> (<a href="http://www.ctan.org/tex-archive/macros/plain/graphics/miniltx.tex">http://www.ctan.org/tex-archive/macros/plain/graphics/miniltx.tex</a>) from the LaTeX graphics collection, written by David Carlisle and @@ -3130,9 +3175,9 @@ e.g., support for package options. </ul> <div class="node"> -<p><hr> <a name="The-%5cusepackage-command"></a> <a name="The-_005cusepackage-command"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Environment-for-loading-packages">Environment for loading packages</a>, Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX packages</a> @@ -3140,7 +3185,7 @@ Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX <h4 class="subsection">4.23.1 The <code>\usepackage</code> command</h4> -<p><a name="index-usepackage-452"></a><code>\usepackage</code> loads a LaTeX package. Its syntax is similar to +<p><a name="index-usepackage-475"></a><code>\usepackage</code> loads a LaTeX package. Its syntax is similar to that of LaTeX's <code>\usepackage</code> command: <pre class="example"> \usepackage[<var>options</var>]{<var>packages</var>}[<var>version</var>] @@ -3148,7 +3193,7 @@ that of LaTeX's <code>\usepackage</code> command: <p class="noindent">where <var>options</var> is a comma-separated list of package options, <var>packages</var> is a comma-separated list of packages to load (without the <samp><span class="file">.sty</span></samp> suffix), and <var>version</var> is a package -version number given as a date in the format `<samp><span class="samp">YYYY/MM/DD</span></samp>'. If an +version number given as a date in the format ‘<samp><span class="samp">YYYY/MM/DD</span></samp>’. If an older version of the package is found, a warning is issued. If several packages are loaded within a single <code>\usepackage</code> command, the <var>options</var> will be applied to each of the packages. @@ -3159,13 +3204,13 @@ omitted (together with the square brackets). <pre class="example"> \usepackage[foo,bar]{pack1,pack2}[2005/08/29] </pre> - <p class="noindent">will load packages `<samp><span class="samp">pack1</span></samp>' and `<samp><span class="samp">pack2</span></samp>', each with -the options `<samp><span class="samp">foo</span></samp>' and `<samp><span class="samp">bar</span></samp>', and will check that each of the + <p class="noindent">will load packages ‘<samp><span class="samp">pack1</span></samp>’ and ‘<samp><span class="samp">pack2</span></samp>’, each with +the options ‘<samp><span class="samp">foo</span></samp>’ and ‘<samp><span class="samp">bar</span></samp>’, and will check that each of the packages are dated 2005/08/29 or newer. <div class="node"> -<p><hr> <a name="Environment-for-loading-packages"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Packages-known-to-work">Packages known to work</a>, Previous: <a rel="previous" accesskey="p" href="#The-_005cusepackage-command">The \usepackage command</a>, Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX packages</a> @@ -3174,7 +3219,7 @@ Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX <h4 class="subsection">4.23.2 Environment for loading packages</h4> -<p><a name="index-beginpackages-453"></a><a name="index-endpackages-454"></a>Some packages request that certain commands are executed after all +<p><a name="index-beginpackages-476"></a><a name="index-endpackages-477"></a>Some packages request that certain commands are executed after all packages have been loaded. In LaTeX, this means that the commands are executed at the beginning of the document, after the so-called <dfn>preamble</dfn>. Neither plain TeX nor Eplain have any kind of @@ -3192,20 +3237,20 @@ commands at the end of the <code>\beginpackages...\endpackages</code> block. <p>For the same reason, it is advisable to specify only one such block per document, just like there is only one preamble in LaTeX. - <p><a name="index-input-455"></a><a name="index-g_t_0040LaTeX_007b_007d-packages_002c-restoring-_0040code_007b_005cinput_007d-456"></a><a name="index-restoring-_0040code_007b_005cinput_007d_002c-_0040LaTeX_007b_007d-packages-457"></a>Some packages (and the pseudo-LaTeX environment, <samp><span class="file">miniltx.tex</span></samp>) + <p><a name="index-input-478"></a><a name="index-g_t_0040LaTeX_007b_007d-packages_002c-restoring-_0040code_007b_005cinput_007d-479"></a><a name="index-restoring-_0040code_007b_005cinput_007d_002c-_0040LaTeX_007b_007d-packages-480"></a>Some packages (and the pseudo-LaTeX environment, <samp><span class="file">miniltx.tex</span></samp>) redefine TeX's primitive <code>\input</code> to be a macro. Non-primitive <code>\input</code> is probably not what the user expects under -plain <!-- /@w -->TeX. Therefore, at the beginning of the +plain TeX. Therefore, at the beginning of the <code>\beginpackages...\endpackages</code> block Eplain saves the meaning of <code>\input</code> as -<a name="index-eplaininput-458"></a><code>\eplaininput</code> and restores the original <code>\input</code> at the end +<a name="index-eplaininput-481"></a><code>\eplaininput</code> and restores the original <code>\input</code> at the end of the block. This usually means that the primitive <code>\input</code> is restored, unless you (or some other macro package you've loaded directly) have redefined it before calling <code>\beginpackages</code>. In case you need to access the package-provided <code>\input</code>, Eplain saves it as <code>\packageinput</code>. - <p><a name="index-hanging-on-_0040code_007b_005cinput_007d-459"></a><a name="index-error-on-_0040code_007b_005cinput_007d-460"></a>Sometimes you may encounter packages which make conflicting + <p><a name="index-hanging-on-_0040code_007b_005cinput_007d-482"></a><a name="index-error-on-_0040code_007b_005cinput_007d-483"></a>Sometimes you may encounter packages which make conflicting redefinitions of <code>\input</code>. Common symptoms are TeX spewing incomprehensible error messages or hanging in a loop at a call to <code>\input</code>. This sometimes can be cured by restoring <code>\input</code> @@ -3218,8 +3263,8 @@ to <code>\eplaininput</code> before loading each package. For example: \endpackages </pre> <div class="node"> -<p><hr> <a name="Packages-known-to-work"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Packages-known-not-to-work">Packages known not to work</a>, Previous: <a rel="previous" accesskey="p" href="#Environment-for-loading-packages">Environment for loading packages</a>, Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX packages</a> @@ -3228,32 +3273,32 @@ Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX <h4 class="subsection">4.23.3 Packages known to work</h4> -<p><a name="index-g_t_0040LaTeX_007b_007d-packages-461"></a><a name="index-packages_002c-_0040LaTeX_007b_007d-462"></a>The following table lists packages that had been tested and are known +<p><a name="index-g_t_0040LaTeX_007b_007d-packages-484"></a><a name="index-packages_002c-_0040LaTeX_007b_007d-485"></a>The following table lists packages that had been tested and are known to work with Eplain, and locations where you can find manuals for these packages. Some of the short descriptions of the packages were taken from the documentation for those packages. <dl> -<dt>autopict (`<samp><span class="samp">2001/06/04 v1.1j Picture mode autoload file</span></samp>')<dd><a name="index-autopict_002esty-463"></a><a href="http://tug.org/eplain/misc/ltpictur.pdf">http://tug.org/eplain/misc/ltpictur.pdf</a> +<dt>autopict (‘<samp><span class="samp">2001/06/04 v1.1j Picture mode autoload file</span></samp>’)<dd><a name="index-autopict_002esty-486"></a><a href="http://tug.org/eplain/misc/ltpictur.pdf">http://tug.org/eplain/misc/ltpictur.pdf</a> - <p><a name="index-picture-mode-464"></a><a name="index-begin_0040_007bpicture_0040_007d-465"></a><a name="index-end_0040_007bpicture_0040_007d-466"></a>This is the LaTeX “picture mode”, started by + <p><a name="index-picture-mode-487"></a><a name="index-begin_0040_007bpicture_0040_007d-488"></a><a name="index-end_0040_007bpicture_0040_007d-489"></a>This is the LaTeX “picture mode”, started by <code>\begin{picture}</code> and ended by <code>\end{picture}</code> (in LaTeX, this package is not explicitly loaded since it is part of the LaTeX kernel). It provides commands to draw simple figures inside your document without resorting to any external tools. - <br><dt>color (`<samp><span class="samp">1999/02/16 v1.0i Standard LaTeX Color (DPC)</span></samp>')<dd><a name="index-color_002esty-467"></a><dt>graphics (`<samp><span class="samp">2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)</span></samp>')<dd><a name="index-graphics_002esty-468"></a><dt>graphicx (`<samp><span class="samp">1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)</span></samp>')<dd><a name="index-graphicx_002esty-469"></a><a href="http://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf">http://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf</a> + <br><dt>color (‘<samp><span class="samp">1999/02/16 v1.0i Standard LaTeX Color (DPC)</span></samp>’)<dd><a name="index-color_002esty-490"></a><dt>graphics (‘<samp><span class="samp">2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)</span></samp>’)<dd><a name="index-graphics_002esty-491"></a><dt>graphicx (‘<samp><span class="samp">1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)</span></samp>’)<dd><a name="index-graphicx_002esty-492"></a><a href="http://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf">http://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf</a> - <p><a name="index-graphics-collection_002c-_0040LaTeX_007b_007d-470"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection-471"></a><a name="index-color-472"></a><a name="index-rotation-473"></a><a name="index-scaling-474"></a>These packages are from the LaTeX graphics collection. They + <p><a name="index-graphics-collection_002c-_0040LaTeX_007b_007d-493"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection-494"></a><a name="index-color-495"></a><a name="index-rotation-496"></a><a name="index-scaling-497"></a>These packages are from the LaTeX graphics collection. They provide commands for changing text/page colors, text rotation and scaling, and much more. - <p><a name="index-color_002c-problems-with-pdf_0040TeX_007b_007d-475"></a><a name="index-graphics_002c-problems-with-pdf_0040TeX_007b_007d-476"></a><a name="index-pdf_0040TeX_007b_007d_002c-problems-using-color-and-graphics-477"></a><a name="index-pdf_0040TeX_007b_007d_002c-problems-with-_0040file_007bsupp_002dmis_002etex_007d-478"></a><a name="index-Con_0040TeX_007b_007dt-479"></a><a name="index-supp_002dmis_002etex_0040r_007b_002c-problems-with-pdf_0040TeX_007b_007d_007d-480"></a><a name="index-supp_002dpdf_002etex-481"></a><strong>Warning <!-- /@w -->1:</strong> If you encounter problems loading one of + <p><a name="index-color_002c-problems-with-pdf_0040TeX_007b_007d-498"></a><a name="index-graphics_002c-problems-with-pdf_0040TeX_007b_007d-499"></a><a name="index-pdf_0040TeX_007b_007d_002c-problems-using-color-and-graphics-500"></a><a name="index-pdf_0040TeX_007b_007d_002c-problems-with-_0040file_007bsupp_002dmis_002etex_007d-501"></a><a name="index-Con_0040TeX_007b_007dt-502"></a><a name="index-supp_002dmis_002etex_0040r_007b_002c-problems-with-pdf_0040TeX_007b_007d_007d-503"></a><a name="index-supp_002dpdf_002etex-504"></a><strong>Warning 1:</strong> If you encounter problems loading one of these packages under pdfTeX (more specifically, when pdfTeX reads <samp><span class="file">supp-mis.tex</span></samp>), the cause may be an outdated <samp><span class="file">supp-mis.tex</span></samp> (part of ConTeXt, a typesetting system for TeX) installed on your system. The problem was fixed in -<samp><span class="file">supp-mis.tex</span></samp> version <!-- /@w -->2004.10.26. You can obtain +<samp><span class="file">supp-mis.tex</span></samp> version 2004.10.26. You can obtain up-to-date versions of <samp><span class="file">supp-mis.tex</span></samp> and the accompanying <samp><span class="file">supp-pdf.tex</span></samp> from <a href="http://www.ctan.org/tex-archive/macros/pdftex/graphics">http://www.ctan.org/tex-archive/macros/pdftex/graphics</a>. @@ -3273,51 +3318,51 @@ TeX directory structure see <li>upgrade your ConTeXt installation. </ol> - <p class="noindent">Note that option <!-- /@w -->1 is the safest but provides the fix -only for your current document. Options <!-- /@w -->2 and <!-- /@w -->3 will -usually suffice for Eplain but may break ConTeXt. Option <!-- /@w -->4 is + <p class="noindent">Note that option 1 is the safest but provides the fix +only for your current document. Options 2 and 3 will +usually suffice for Eplain but may break ConTeXt. Option 4 is the most general but is more complicated than the first three. Be sure to backup any files you overwrite. Also keep in mind that upgrading your TeX distribution may overwrite files you install in -the system <samp><span class="file">texmf</span></samp> tree.<br> <strong>End of warning <!-- /@w -->1.</strong> +the system <samp><span class="file">texmf</span></samp> tree.<br> <strong>End of warning 1.</strong> - <p><strong>Warning <!-- /@w -->2:</strong> If you encounter problems using the + <p><strong>Warning 2:</strong> If you encounter problems using the <code>\pagecolor</code> command from the <samp><span class="file">color.sty</span></samp> package under pdfTeX, the cause may be an outdated pdfTeX color and graphics driver <samp><span class="file">pdftex.def</span></samp>. The problem was fixed in <samp><span class="file">pdftex.def</span></samp> -version <!-- /@w -->0.03p. You can obtain an up-to-date version from +version 0.03p. You can obtain an up-to-date version from <a href="http://www.ctan.org/tex-archive/graphics/pdftex/pdftex.def">http://www.ctan.org/tex-archive/graphics/pdftex/pdftex.def</a>.<br> -<strong>End of warning <!-- /@w -->2.</strong> +<strong>End of warning 2.</strong> - <p><a name="index-omitting-typesetting-of-graphics-482"></a><a name="index-graphics_002c-omitting-typesetting-of-483"></a>The <samp><span class="file">graphics</span></samp>/<samp><span class="file">graphicx</span></samp> packages have the option -<a name="index-g_t_0040code_007bdraft_007d_002c-option-for-_0040file_007bgraphics_002esty_007d-484"></a><code>draft</code> which instructs <code>\includegraphics</code> not to include the + <p><a name="index-omitting-typesetting-of-graphics-505"></a><a name="index-graphics_002c-omitting-typesetting-of-506"></a>The <samp><span class="file">graphics</span></samp>/<samp><span class="file">graphicx</span></samp> packages have the option +<a name="index-g_t_0040code_007bdraft_007d_002c-option-for-_0040file_007bgraphics_002esty_007d-507"></a><code>draft</code> which instructs <code>\includegraphics</code> not to include the graphics but instead typeset a box with the dimensions of the graphics and the name of the graphics file in typewriter type at the center of the box. These packages expect the LaTeX-provided command -<a name="index-ttfamily-485"></a><code>\ttfamily</code> to switch to the typewrite type. This command is not +<a name="index-ttfamily-508"></a><code>\ttfamily</code> to switch to the typewrite type. This command is not defined by <samp><span class="file">miniltx.tex</span></samp>, therefore Eplain defines it and makes it -equivalent to plain <!-- /@w -->TeX's -<a name="index-tt-486"></a><code>\tt</code>. +equivalent to plain TeX's +<a name="index-tt-509"></a><code>\tt</code>. <p>See <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a>, for the demonstration of text rotation and graphics inclusion using the <samp><span class="file">graphicx</span></samp> package, and using the <samp><span class="file">color</span></samp> package to colorize hypertext links. - <p><a name="index-H_0040_0022oppner_002c-Klaus-487"></a>Klaus Höppner has written a nice introduction to the LaTeX graphics + <p><a name="index-H_0040_0022oppner_002c-Klaus-510"></a>Klaus Höppner has written a nice introduction to the LaTeX graphics packages and different graphics formats. You can download it from <pre class="display"> <a href="http://www.tug.org/pracjourn/2005-3/hoeppner">http://www.tug.org/pracjourn/2005-3/hoeppner</a> - </pre> - <br><dt>epstopdf (`<samp><span class="samp">2001/02/04 v1.1 Conversion with epstopdf on the fly (HO)</span></samp>')<dd><a name="index-epstopdf_002esty-488"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek">http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek</a> +</pre> + <br><dt>epstopdf (‘<samp><span class="samp">2009/07/16 v2.2 Conversion with epstopdf on the fly (HO)</span></samp>’)<dd><a name="index-epstopdf_002esty-511"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek">http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek</a> - <p><a name="index-Encapsulated-PostScript-489"></a><a name="index-g_t_0040acronym_007bEPS_007d-490"></a><a name="index-g_t_002eeps-_0040r_007bfiles_007d-491"></a><a name="index-Portable-Document-Format-492"></a><a name="index-g_t_0040acronym_007bPDF_007d-493"></a><a name="index-g_t_002epdf-_0040r_007bfiles_007d-494"></a><a name="index-epstopdf-495"></a>This package does on-the-fly conversion of Encapsulated PostScript + <p><a name="index-Encapsulated-PostScript-512"></a><a name="index-g_t_0040acronym_007bEPS_007d-513"></a><a name="index-g_t_002eeps-_0040r_007bfiles_007d-514"></a><a name="index-Portable-Document-Format-515"></a><a name="index-g_t_0040acronym_007bPDF_007d-516"></a><a name="index-g_t_002epdf-_0040r_007bfiles_007d-517"></a><a name="index-epstopdf-518"></a>This package does on-the-fly conversion of Encapsulated PostScript (<acronym>EPS</acronym>) graphics into Portable Document Format (<acronym>PDF</acronym>) graphics for inclusion with the <code>\includegraphics</code> command from the <samp><span class="file">graphics</span></samp>/<samp><span class="file">graphicx</span></samp> packages, so that you do not have to explicitly call the <samp><span class="file">epstopdf</span></samp> script. - <br><dt>psfrag (`<samp><span class="samp">1998/04/11 v3.04 PSfrag (MCG)</span></samp>')<dd><a name="index-psfrag_002esty-496"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/pfgguide.pdf">http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/pfgguide.pdf</a> + <br><dt>psfrag (‘<samp><span class="samp">1998/04/11 v3.04 PSfrag (MCG)</span></samp>’)<dd><a name="index-psfrag_002esty-519"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/pfgguide.pdf">http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/pfgguide.pdf</a> - <p><a name="index-Encapsulated-PostScript-497"></a><a name="index-g_t_0040acronym_007bEPS_007d-498"></a><a name="index-g_t_002eeps-_0040r_007bfiles_007d-499"></a>PSfrag allows the user to precisely overlay Encapsulated PostScript + <p><a name="index-Encapsulated-PostScript-520"></a><a name="index-g_t_0040acronym_007bEPS_007d-521"></a><a name="index-g_t_002eeps-_0040r_007bfiles_007d-522"></a>PSfrag allows the user to precisely overlay Encapsulated PostScript (<acronym>EPS</acronym>) files with arbitrary (La)TeX constructions. In order to accomplish this, the user places a simple text “tag” in the graphics file, as a “position marker” of sorts. Then, using simple @@ -3325,18 +3370,18 @@ file, as a “position marker” of sorts. Then, using simple the figure, and replace it with a properly sized, aligned, and rotated (La)TeX equation. - <br><dt>soul (`<samp><span class="samp">2003/11/17 v2.4 letterspacing/underlining (mf)</span></samp>')<dd><a name="index-soul_002esty-500"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/soul">http://www.ctan.org/tex-archive/macros/latex/contrib/soul</a> + <br><dt>soul (‘<samp><span class="samp">2003/11/17 v2.4 letterspacing/underlining (mf)</span></samp>’)<dd><a name="index-soul_002esty-523"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/soul">http://www.ctan.org/tex-archive/macros/latex/contrib/soul</a> - <p><a name="index-letterspacing-501"></a><a name="index-spacing-out-502"></a><a name="index-underlining-503"></a><a name="index-striking-out-504"></a><a name="index-overstriking-505"></a><a name="index-highlighting-506"></a>This package provides hyphenatable letterspacing (spacing out), + <p><a name="index-letterspacing-524"></a><a name="index-spacing-out-525"></a><a name="index-underlining-526"></a><a name="index-striking-out-527"></a><a name="index-overstriking-528"></a><a name="index-highlighting-529"></a>This package provides hyphenatable letterspacing (spacing out), underlining, and some derivatives. The package is optimized for LaTeX, but works with plain TeX—you don't actually need to load it with the <code>\usepackage</code> command, just say <code>\input soul.sty</code>. If you intend to use the highlighting macros of <samp><span class="file">soul</span></samp>, don't forget to load the <samp><span class="file">color</span></samp> package. - <br><dt>url (`<samp><span class="samp">2005/06/27 ver 3.2 Verb mode for urls, etc.</span></samp>')<dd><a name="index-url_002esty-507"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/misc/url.sty">http://www.ctan.org/tex-archive/macros/latex/contrib/misc/url.sty</a> + <br><dt>url (‘<samp><span class="samp">2005/06/27 ver 3.2 Verb mode for urls, etc.</span></samp>’)<dd><a name="index-url_002esty-530"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/misc/url.sty">http://www.ctan.org/tex-archive/macros/latex/contrib/misc/url.sty</a> - <p><a name="index-pathnames_002c-breaking-508"></a><a name="index-filenames_002c-breaking-509"></a><a name="index-electronic-mail-addresses_002c-breaking-510"></a>This package provides a form of <code>\verbatim</code> that allows + <p><a name="index-pathnames_002c-breaking-531"></a><a name="index-filenames_002c-breaking-532"></a><a name="index-electronic-mail-addresses_002c-breaking-533"></a>This package provides a form of <code>\verbatim</code> that allows line breaks at certain characters or combinations of characters, accepts reconfiguration, and can usually be used in the argument to another command. It is intended for email addresses, hypertext links, @@ -3346,12 +3391,12 @@ directories/paths, etc., which normally have no spaces. (see <a href="#URL-hyperlinks">URL hyperlinks</a>). <p>Be sure to get a version dated at least 2005/06/27, as older versions -have problems in plain <!-- /@w -->TeX. +have problems in plain TeX. </dl> <div class="node"> -<p><hr> <a name="Packages-known-not-to-work"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Packages-known-to-work">Packages known to work</a>, Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX packages</a> @@ -3359,24 +3404,24 @@ Up: <a rel="up" accesskey="u" href="#Loading-LaTeX-packages">Loading LaTeX <h4 class="subsection">4.23.4 Packages known not to work</h4> -<p><a name="index-g_t_0040LaTeX_007b_007d-packages-511"></a><a name="index-packages_002c-_0040LaTeX_007b_007d-512"></a>The following packages are known not to work with Eplain: +<p><a name="index-g_t_0040LaTeX_007b_007d-packages-534"></a><a name="index-packages_002c-_0040LaTeX_007b_007d-535"></a>The following packages are known not to work with Eplain: <dl> -<dt>hyperref<dd><a name="index-hyperref_002esty-513"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref">http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref</a> +<dt>hyperref<dd><a name="index-hyperref_002esty-536"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref">http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref</a> <p>This package depends heavily on LaTeX, so that it is mostly unusable outside of LaTeX. Eplain provides its own macros for creating hyperlinks, see <a href="#Hyperlinks">Hyperlinks</a>. - <br><dt>pict2e (`<samp><span class="samp">2005/07/15 v0.2r Improved picture commands (HjG,RN)</span></samp>')<dd><a name="index-pict2e_002esty-514"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e">http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e</a> + <br><dt>pict2e (‘<samp><span class="samp">2005/07/15 v0.2r Improved picture commands (HjG,RN)</span></samp>’)<dd><a name="index-pict2e_002esty-537"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e">http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e</a> - <br><dt>xcolor (`<samp><span class="samp">2005/06/06 v2.03 LaTeX color extensions (UK)</span></samp>')<dd><a name="index-xcolor_002esty-515"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor">http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor</a> + <br><dt>xcolor (‘<samp><span class="samp">2005/06/06 v2.03 LaTeX color extensions (UK)</span></samp>’)<dd><a name="index-xcolor_002esty-538"></a><a href="http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor">http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor</a> </dl> <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="Hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Arrow-theoretic-diagrams">Arrow theoretic diagrams</a>, Previous: <a rel="previous" accesskey="p" href="#User-definitions">User definitions</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -3385,7 +3430,7 @@ Up: <a rel="up" accesskey="u" href="#Top">Top</a> <h2 class="chapter">5 Hyperlinks</h2> -<p><a name="index-links_002c-hypertext-516"></a><a name="index-hypertext-links-517"></a>This chapter describes the support which Eplain provides for hypertext +<p><a name="index-links_002c-hypertext-539"></a><a name="index-hypertext-links-540"></a>This chapter describes the support which Eplain provides for hypertext links (<dfn>hyperlinks</dfn> for short). Hyperlinks can be created implicitly by the cross-reference, indexing and other macros in Eplain. Macros for constructing explicit hyperlinks are also @@ -3401,8 +3446,8 @@ provided. </ul> <div class="node"> -<p><hr> <a name="Introduction-to-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Explicit-hyperlinks">Explicit hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> @@ -3410,16 +3455,16 @@ Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> <h3 class="section">5.1 Introduction to hyperlinks</h3> -<p><a name="index-hyperlink-drivers-518"></a><a name="index-drivers_002c-hyperlink-519"></a>The original TeX engine has no built-in support for hyperlinks +<p><a name="index-hyperlink-drivers-541"></a><a name="index-drivers_002c-hyperlink-542"></a>The original TeX engine has no built-in support for hyperlinks (a.k.a. hypertext links). Many of the present-day file formats with hyperlinking capabilities did not even exist at the time TeX was written. However, TeX's -<a name="index-special-520"></a><code>\special</code> primitive can be used to instruct TeX to write +<a name="index-special-543"></a><code>\special</code> primitive can be used to instruct TeX to write special directives into its <samp><span class="file">.dvi</span></samp> output file. These directives are not interpreted by TeX in any way; they are intended for programs which process the <samp><span class="file">.dvi</span></samp> files produced by TeX, be it printing or converting to other formats, such as -<a name="index-g_t_002eps-_0040r_007bfiles_007d-521"></a><a name="index-g_t_002epdf-_0040r_007bfiles_007d-522"></a><samp><span class="file">.ps</span></samp> or <samp><span class="file">.pdf</span></samp>. +<a name="index-g_t_002eps-_0040r_007bfiles_007d-544"></a><a name="index-g_t_002epdf-_0040r_007bfiles_007d-545"></a><samp><span class="file">.ps</span></samp> or <samp><span class="file">.pdf</span></samp>. <p>Another approach is to extend the original TeX engine with the ability to generate one of the hyperlinking formats; TeX's set of @@ -3443,15 +3488,15 @@ provides three drivers: <code>hypertex</code> (implementation of the HyperTeX standard, see <a href="http://arxiv.org/hypertex">http://arxiv.org/hypertex</a>), and <code>pdftex</code> and <code>dvipdfm</code> (named after the programs which process the hyperlink commands, -<a name="index-pdftex-523"></a>pdfTeX and -<a name="index-dvipdfm-524"></a>dvipdfm). Therefore, Eplain can only produce HyperTeX commands and +<a name="index-pdftex-546"></a>pdfTeX and +<a name="index-dvipdfm-547"></a>dvipdfm). Therefore, Eplain can only produce HyperTeX commands and hyperlink commands for one of these two programs—except that the extended <code>dvipdfmx</code> program can be used as well as the original <code>dvipdfm</code>, since they are compatible. <p>To tell Eplain which <samp><span class="file">.dvi</span></samp> processor or extended TeX engine you are using, use the command -<a name="index-enablehyperlinks-525"></a><code>\enablehyperlinks</code>. +<a name="index-enablehyperlinks-548"></a><code>\enablehyperlinks</code>. <p>For example: @@ -3462,7 +3507,7 @@ driver to use, as follows: if it detects pdfTeX in <acronym>PDF</acronym> mode, it loads the <code>pdftex</code> driver. If it does not detect pdfTeX in <acronym>PDF</acronym> mode, the <code>hypertex</code> driver is loaded. The detection is based on the -<a name="index-ifpdf-526"></a><code>\ifpdf</code> switch (see <a href="#Checking-for-PDF-output">Checking for PDF output</a>). +<a name="index-ifpdf-549"></a><code>\ifpdf</code> switch (see <a href="#Checking-for-PDF-output">Checking for PDF output</a>). <p>If necessary, you can explicitly specify the driver name: @@ -3498,26 +3543,26 @@ destinations jointly, in which case we will use the term <dfn>destinations</dfn> in cases when we need to refer specifically to links or destinations. - <p><a name="index-link-type-527"></a><a name="index-destination-type-528"></a><a name="index-type_002c-link-and-destination-529"></a>Hyperlink drivers provide several kinds of links and destinations. We + <p><a name="index-link-type-550"></a><a name="index-destination-type-551"></a><a name="index-type_002c-link-and-destination-552"></a>Hyperlink drivers provide several kinds of links and destinations. We will refer to them as <dfn>link types</dfn> and <dfn>destination types</dfn>. <p>For example, one of the destination types that the <code>pdftex</code> -driver provides is the `<samp><span class="samp">xyz</span></samp>' type; when the user follows a link -pointing to an `<samp><span class="samp">xyz</span></samp>' destination, the exact location marked by +driver provides is the ‘<samp><span class="samp">xyz</span></samp>’ type; when the user follows a link +pointing to an ‘<samp><span class="samp">xyz</span></samp>’ destination, the exact location marked by that destination is displayed. Another destination type provided by -the <code>pdftex</code> driver is the `<samp><span class="samp">fit</span></samp>' type; when the user follows -a link pointing to a `<samp><span class="samp">fit</span></samp>' destination, the page containing that +the <code>pdftex</code> driver is the ‘<samp><span class="samp">fit</span></samp>’ type; when the user follows +a link pointing to a ‘<samp><span class="samp">fit</span></samp>’ destination, the page containing that destination is zoomed to fit into the window in which the document is displayed. <p>Similarly, drivers support various link types. For example, with the <code>pdftex</code> driver, the usual link type used to refer to -destinations in the current document is called `<samp><span class="samp">name</span></samp>'. You can +destinations in the current document is called ‘<samp><span class="samp">name</span></samp>’. You can also create a link pointing to another local document (by using the -`<samp><span class="samp">filename</span></samp>' link type) or to a <acronym>URL</acronym> (by using the -`<samp><span class="samp">url</span></samp>' link type). +‘<samp><span class="samp">filename</span></samp>’ link type) or to a <acronym>URL</acronym> (by using the +‘<samp><span class="samp">url</span></samp>’ link type). - <p><a name="index-link-options-530"></a><a name="index-destination-options-531"></a><a name="index-options_002c-link-and-destination-532"></a>In addition, each hyperlink driver supports a number of destination and + <p><a name="index-link-options-553"></a><a name="index-destination-options-554"></a><a name="index-options_002c-link-and-destination-555"></a>In addition, each hyperlink driver supports a number of destination and link <dfn>options</dfn>. By setting these options you can customize hyperlink parameters (e.g., the thickness of the border drawn around a hyperlink) or pass information to hyperlinks (for example, file name of @@ -3527,8 +3572,8 @@ a document, for a link pointing to a destination in another document). options supported by the drivers. See <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>, for the information on how to set hyperlink options. <div class="node"> -<p><hr> <a name="Explicit-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Implicit-hyperlinks">Implicit hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> @@ -3537,7 +3582,7 @@ Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> <h3 class="section">5.2 Explicit hyperlinks</h3> -<p><a name="index-explicit-hyperlinks-533"></a><a name="index-hyperlinks_002c-explicit-534"></a><a name="index-hldest-535"></a>Explicit hyperlinks are created by you, in the source of your +<p><a name="index-explicit-hyperlinks-556"></a><a name="index-hyperlinks_002c-explicit-557"></a><a name="index-hldest-558"></a>Explicit hyperlinks are created by you, in the source of your document. The simplest command is <code>\hldest</code>, which marks the current position in your document as a destination: @@ -3552,11 +3597,11 @@ destination. For example, with the <code>pdftex</code> driver, the command <pre class="example"> \hldest{xyz}{zoom=2000}{index} </pre> - <p class="noindent">creates a destination of type `<samp><span class="samp">xyz</span></samp>' (“the current + <p class="noindent">creates a destination of type ‘<samp><span class="samp">xyz</span></samp>’ (“the current position”), sets the magnification ratio for this destination to be 200%, and associates the label <code>index</code> with the destination. - <p><a name="index-hlstart-536"></a><a name="index-hlend-537"></a>Another command, <code>\hlstart</code>, paired with <code>\hlend</code>, turns all + <p><a name="index-hlstart-559"></a><a name="index-hlend-560"></a>Another command, <code>\hlstart</code>, paired with <code>\hlend</code>, turns all intervening material into a link: <pre class="example"> \hlstart{<var>type</var>}{<var>options</var>}{<var>label</var>} ... \hlend @@ -3567,14 +3612,14 @@ meaning as for <code>\hldest</code>. Continuing the previous example, <pre class="example"> \hlstart{name}{bstyle=U,bwidth=2}{index} Index\hlend </pre> <p class="noindent">typesets the word `Index' as a link with underline border of -width <!-- /@w -->2 <!-- /@w -->PostScript points, pointing to the named destination +width 2 PostScript points, pointing to the named destination <code>index</code> defined in the previous example. (The other options, like highlight mode and border color, are determined by the defaults, see <a href="#Setting-default-types-and-options">Setting default types and options</a>). <p>The <var>label</var> argument of both <code>\hldest</code> and <code>\hlstart</code> -can contain special characters (such as `<samp><span class="samp">#</span></samp>', `<samp><span class="samp">%</span></samp>', `<samp><span class="samp">&</span></samp>', -`<samp><span class="samp">~</span></samp>', etc.) without any escaping. This is especially important +can contain special characters (such as ‘<samp><span class="samp">#</span></samp>’, ‘<samp><span class="samp">%</span></samp>’, ‘<samp><span class="samp">&</span></samp>’, +‘<samp><span class="samp">~</span></samp>’, etc.) without any escaping. This is especially important for <acronym>URL</acronym> links supported by some drivers (see <a href="#Hyperlink-drivers">Hyperlink drivers</a>). <p>Both <code>\hldest</code> and <code>\hlstart</code> ignore following spaces. @@ -3592,8 +3637,8 @@ pass it for the <var>options</var>. For example: explicit hyperlinks. <div class="node"> -<p><hr> <a name="Implicit-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hyperlink-drivers">Hyperlink drivers</a>, Previous: <a rel="previous" accesskey="p" href="#Explicit-hyperlinks">Explicit hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> @@ -3602,11 +3647,11 @@ Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> <h3 class="section">5.3 Implicit hyperlinks</h3> -<p><a name="index-implicit-hyperlinks-538"></a><a name="index-hyperlinks_002c-implicit-539"></a><dfn>Implicit hyperlinks</dfn> are hyperlinks created implicitly by various +<p><a name="index-implicit-hyperlinks-561"></a><a name="index-hyperlinks_002c-implicit-562"></a><dfn>Implicit hyperlinks</dfn> are hyperlinks created implicitly by various Eplain macros, such as the macros for citations, cross-references, indexing, etc. - <p><a name="index-link-group-540"></a><a name="index-linkgroup-541"></a><a name="index-group_002c-link-542"></a><a name="index-destination-group-543"></a><a name="index-destgroup-544"></a><a name="index-group_002c-destination-545"></a>All such macros are divided into <dfn>link groups</dfn> and + <p><a name="index-link-group-563"></a><a name="index-linkgroup-564"></a><a name="index-group_002c-link-565"></a><a name="index-destination-group-566"></a><a name="index-destgroup-567"></a><a name="index-group_002c-destination-568"></a>All such macros are divided into <dfn>link groups</dfn> and <dfn>destination groups</dfn> (or <dfn>linkgroups</dfn> and <dfn>destgroups</dfn> for short) so that parameters can be set individually for each group. For example, all equation macros which define a destination are assigned @@ -3647,8 +3692,8 @@ and the hyperlink support provided. </ul> <div class="node"> -<p><hr> <a name="General-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#URL-hyperlinks">URL hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3656,29 +3701,30 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.1 General hyperlinks: hrefint, hrefext</h4> -<p><a name="index-href-546"></a><code>\href{</code><var>url</var><code>}{</code><var>text</var><code>}</code> typesets <var>text</var> as a link +<p><a name="index-href-569"></a><code>\href{</code><var>url</var><code>}{</code><var>text</var><code>}</code> typesets <var>text</var> as a link to <var>url</var>. It basically does what the explicit hyperlink macros do (see <a href="#Explicit-hyperlinks">Explicit hyperlinks</a>), but is more convenient (at the expense of flexibility). - <p>If <var>url</var> starts with `<samp><span class="samp">#</span></samp>', the rest of <var>url</var> is assumed to + <p>If <var>url</var> starts with ‘<samp><span class="samp">#</span></samp>’, the rest of <var>url</var> is assumed to be a local hyperlink destination name (destination within the same document). Parameters for these links can be set by customizing the -<a name="index-group-_0060hrefint_0027-547"></a><a name="index-linkgroup-_0060hrefint_0027-548"></a>`hrefint' linkgroup. For example: +<a name="index-group-_0060hrefint_0027-570"></a><a name="index-linkgroup-_0060hrefint_0027-571"></a>`hrefint' linkgroup. For example: <pre class="example"> See \href{#intro}{Introduction} </pre> <p class="noindent">will make `Introduction' into an internal link, which might have been created, e.g., with <code>\xrdef{intro}</code>. - <p><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-549"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-550"></a>If <var>url</var> does not start with `<samp><span class="samp">#</span></samp>', it is assumed to be a + <p><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-572"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-573"></a>If <var>url</var> does not start with ‘<samp><span class="samp">#</span></samp>’, it is assumed to be a <acronym>URL</acronym> link. Parameters for these links can be set by customizing the -<a name="index-group-_0060hrefext_0027-551"></a><a name="index-linkgroup-_0060hrefext_0027-552"></a>`hrefext' linkgroup. The special characters (such as `<samp><span class="samp">#</span></samp>' and -`<samp><span class="samp">~</span></samp>') in the <acronym>URL</acronym> don't need to be escaped. For example: +<a name="index-group-_0060hrefext_0027-574"></a><a name="index-linkgroup-_0060hrefext_0027-575"></a>`hrefext' linkgroup. The special characters (such as ‘<samp><span class="samp">#</span></samp>’ and +‘<samp><span class="samp">~</span></samp>’) in the <acronym>URL</acronym> don't need to be escaped. For example: <pre class="example"> \href{http://tug.org/eplain/doc/eplain.html#Hyperlinks}{Hyperlinks - in Eplain} + in Eplain} + \href{mailto:tex-eplain@tug.org}{Eplain mailing list} </pre> <p class="noindent">See <a href="#URL-hyperlinks">URL hyperlinks</a>, for another way to create <acronym>URL</acronym> hyperlinks. @@ -3690,12 +3736,12 @@ catcodes. For example: <pre class="example"> \href{#WeirdChars}{The weird chars \verbatim #&%$~|endverbatim} </pre> <p><code>\href</code> does not currently handle other link types, such as -<a name="index-g_t_0040samp_007bfile_003a_007d-links-553"></a>`<samp><span class="samp">file:</span></samp>' and -<a name="index-g_t_0040samp_007brun_003a_007d-links-554"></a>`<samp><span class="samp">run:</span></samp>' links. +<a name="index-g_t_0040samp_007bfile_003a_007d-links-576"></a>‘<samp><span class="samp">file:</span></samp>’ and +<a name="index-g_t_0040samp_007brun_003a_007d-links-577"></a>‘<samp><span class="samp">run:</span></samp>’ links. <div class="node"> -<p><hr> <a name="URL-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Citation-hyperlinks">Citation hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#General-hyperlinks">General hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3704,12 +3750,12 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.2 URL hyperlinks: url</h4> -<p><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-555"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-556"></a><a name="index-group-_0060url_0027-557"></a><a name="index-linkgroup-_0060url_0027-558"></a>The `url' linkgroup covers the -<a name="index-url-_0040r_007b_0028hyperlinks_0029_007d-559"></a><code>\url</code> command from the LaTeX package -<a name="index-url_002esty-560"></a><samp><span class="file">url</span></samp> (see <a href="#Packages-known-to-work">Packages known to work</a>), as well as any new +<p><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-578"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-579"></a><a name="index-group-_0060url_0027-580"></a><a name="index-linkgroup-_0060url_0027-581"></a>The `url' linkgroup covers the +<a name="index-url-_0040r_007b_0028hyperlinks_0029_007d-582"></a><code>\url</code> command from the LaTeX package +<a name="index-url_002esty-583"></a><samp><span class="file">url</span></samp> (see <a href="#Packages-known-to-work">Packages known to work</a>), as well as any new <code>\url</code>-like commands you define. The type for this linkgroup is -set to `<samp><span class="samp">url</span></samp>' by the drivers which support this link type. -`<samp><span class="samp">url</span></samp>' links use the parameter to the <code>\url</code> command as the +set to ‘<samp><span class="samp">url</span></samp>’ by the drivers which support this link type. +‘<samp><span class="samp">url</span></samp>’ links use the parameter to the <code>\url</code> command as the <acronym>URL</acronym> to point to. <p>You may be using the <code>\url</code> command to typeset something other than @@ -3717,12 +3763,12 @@ a <acronym>URL</acronym>, e.g., a path, for which you do not want a link to be created; in that case, you can disable the `url' linkgroup with the command <code>\hloff[url]</code> (see <a href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyperlinks on/off for a group</a>). - <p><a name="index-boxed-links_002c-avoiding-561"></a><a name="index-avoiding-boxed-links-562"></a><a name="index-color_002c-hyperlinks-563"></a><a name="index-colored-links-564"></a><a name="index-hyperlink-color-565"></a>By default, <acronym>URL</acronym> (and other types of) links are boxed, so + <p><a name="index-boxed-links_002c-avoiding-584"></a><a name="index-avoiding-boxed-links-585"></a><a name="index-color_002c-hyperlinks-586"></a><a name="index-colored-links-587"></a><a name="index-hyperlink-color-588"></a>By default, <acronym>URL</acronym> (and other types of) links are boxed, so that they are visually marked even if you do not load the LaTeX -<a name="index-color_002esty-566"></a>`color' package (see <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a>) and therefore link text +<a name="index-color_002esty-589"></a>`color' package (see <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a>) and therefore link text is not colored. You can see the effect by compiling the following code snippet (be sure to get a modern <samp><span class="file">url.sty</span></samp>, older versions do not -work in plain <!-- /@w -->TeX; see <a href="#Packages-known-to-work">Packages known to work</a>): +work in plain TeX; see <a href="#Packages-known-to-work">Packages known to work</a>): <pre class="example"> \input eplain \beginpackages @@ -3732,6 +3778,9 @@ work in plain <!-- /@w -->TeX; see <a href="#Packages-known-to-work">Packag \enablehyperlinks \url{http://foo/bar} + + \url{mailto:foobar@example.org} + \bye </pre> <p>If the hyperlink driver you use supports the link option <code>bwidth</code> @@ -3748,6 +3797,9 @@ border around them. Try this: \hlopts{bwidth=0} \url{http://foo/bar} + + \url{mailto:foobar@example.org} + \bye </pre> <p class="noindent">The command <code>\hlopts{bwidth=0}</code> sets border width to @@ -3757,8 +3809,8 @@ apply to <acronym>URL</acronym> links only, say <code>\hlopts[url]{bwidth=0}</co (see <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>). <div class="node"> -<p><hr> <a name="Citation-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#List-hyperlinks">List hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#URL-hyperlinks">URL hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3767,12 +3819,12 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.3 Citation hyperlinks: cite, bib</h4> -<p><a name="index-citations_002c-hyperlinks-567"></a><a name="index-hyperlinks_002c-citations-568"></a><a name="index-group-_0060cite_0027-569"></a><a name="index-linkgroup-_0060cite_0027-570"></a><a name="index-cite-_0040r_007b_0028hyperlinks_0029_007d-571"></a>The `cite' linkgroup includes only the <code>\cite</code> command +<p><a name="index-citations_002c-hyperlinks-590"></a><a name="index-hyperlinks_002c-citations-591"></a><a name="index-group-_0060cite_0027-592"></a><a name="index-linkgroup-_0060cite_0027-593"></a><a name="index-cite-_0040r_007b_0028hyperlinks_0029_007d-594"></a>The `cite' linkgroup includes only the <code>\cite</code> command (see <a href="#Citations">Citations</a>). <code>\cite</code> turns each of the references in the list into a link pointing to the respective bibliography entry produced by the <code>\bibliography</code> command. - <p><a name="index-bibliography_002c-hyperlinks-572"></a><a name="index-hyperlinks_002c-bibliography-573"></a><a name="index-group-_0060bib_0027-574"></a><a name="index-destgroup-_0060bib_0027-575"></a><a name="index-bibliography-_0040r_007b_0028hyperlinks_0029_007d-576"></a>The `bib' destgroup includes the macros related to the + <p><a name="index-bibliography_002c-hyperlinks-595"></a><a name="index-hyperlinks_002c-bibliography-596"></a><a name="index-group-_0060bib_0027-597"></a><a name="index-destgroup-_0060bib_0027-598"></a><a name="index-bibliography-_0040r_007b_0028hyperlinks_0029_007d-599"></a>The `bib' destgroup includes the macros related to the <code>\bibliography</code> command (see <a href="#Citations">Citations</a>). <code>\bibliography</code> inputs a <samp><span class="file">.bbl</span></samp> file, which contains a list of bibliography entries. For each of the entries, a destination is defined. @@ -3780,8 +3832,8 @@ entries. For each of the entries, a destination is defined. <p>Both commands use the citation label as the hyperlink label. <div class="node"> -<p><hr> <a name="List-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Citation-hyperlinks">Citation hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3790,15 +3842,15 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.4 List hyperlinks: li</h4> -<p><a name="index-lists_002c-hyperlinks-577"></a><a name="index-hyperlinks_002c-lists-578"></a><a name="index-li-_0040r_007b_0028hyperlinks_0029_007d-579"></a><a name="index-group-_0060li_0027-580"></a><a name="index-destgroup-_0060li_0027-581"></a>The `li' destgroup consists of the <code>\li</code> command (see <a href="#Lists">Lists</a>), +<p><a name="index-lists_002c-hyperlinks-600"></a><a name="index-hyperlinks_002c-lists-601"></a><a name="index-li-_0040r_007b_0028hyperlinks_0029_007d-602"></a><a name="index-group-_0060li_0027-603"></a><a name="index-destgroup-_0060li_0027-604"></a>The `li' destgroup consists of the <code>\li</code> command (see <a href="#Lists">Lists</a>), which defines a destination if you supply the optional argument (cross-reference label). This label is also used as the hyperlink label. <div class="node"> -<p><hr> <a name="Cross-reference-hyperlinks"></a> <a name="Cross_002dreference-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Page-reference-hyperlinks">Page reference hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#List-hyperlinks">List hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3807,35 +3859,35 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.5 Cross-reference hyperlinks: definexref, ref</h4> -<p><a name="index-definexref-_0040r_007b_0028hyperlinks_0029_007d-582"></a><a name="index-cross_002dreferences_002c-hyperlinks-583"></a><a name="index-hyperlinks_002c-cross_002dreferences-584"></a><a name="index-group-_0060definexref_0027-585"></a><a name="index-destgroup-_0060definexref_0027-586"></a>The `definexref' destgroup is for the <code>\definexref</code> command +<p><a name="index-definexref-_0040r_007b_0028hyperlinks_0029_007d-605"></a><a name="index-cross_002dreferences_002c-hyperlinks-606"></a><a name="index-hyperlinks_002c-cross_002dreferences-607"></a><a name="index-group-_0060definexref_0027-608"></a><a name="index-destgroup-_0060definexref_0027-609"></a>The `definexref' destgroup is for the <code>\definexref</code> command (see <a href="#Defining-generic-references">Defining generic references</a>). <code>\definexref</code> defines a destination using the cross-reference label (the first argument) as the hyperlink label. - <p><a name="index-group-_0060ref_0027-587"></a><a name="index-linkgroup-_0060ref_0027-588"></a>The `ref' linkgroup includes <code>\refn</code> and <code>\xrefn</code> (they are + <p><a name="index-group-_0060ref_0027-610"></a><a name="index-linkgroup-_0060ref_0027-611"></a>The `ref' linkgroup includes <code>\refn</code> and <code>\xrefn</code> (they are synonyms), <code>\ref</code>, and <code>\refs</code> (see <a href="#Using-generic-references">Using generic references</a>). - <p><a name="index-refn-_0040r_007b_0028hyperlinks_0029_007d-589"></a><a name="index-xrefn-_0040r_007b_0028hyperlinks_0029_007d-590"></a><code>\refn</code> turns the cross-reference it produces into a link, using + <p><a name="index-refn-_0040r_007b_0028hyperlinks_0029_007d-612"></a><a name="index-xrefn-_0040r_007b_0028hyperlinks_0029_007d-613"></a><code>\refn</code> turns the cross-reference it produces into a link, using the cross-reference label as the hyperlink label. If an optional argument is present, it is tied by -<a name="index-reftie-591"></a><code>\reftie</code> to the reference and become part of the link. +<a name="index-reftie-614"></a><code>\reftie</code> to the reference and become part of the link. - <p><a name="index-ref-_0040r_007b_0028hyperlinks_0029_007d-592"></a><code>\ref</code> works similarly to <code>\refn</code>. It takes an optional + <p><a name="index-ref-_0040r_007b_0028hyperlinks_0029_007d-615"></a><code>\ref</code> works similarly to <code>\refn</code>. It takes an optional argument, which is treated the same way as the optional argument to <code>\refn</code>. In addition, <code>\ref</code> can produce a “class word”. Both the optional argument and the class word become part of the link, when present. The cross-reference is tied by -<a name="index-reftie-593"></a><code>\reftie</code> to the preceding word. The optional argument is +<a name="index-reftie-616"></a><code>\reftie</code> to the preceding word. The optional argument is separated from the class word by -<a name="index-refspace-594"></a><code>\refspace</code>. +<a name="index-refspace-617"></a><code>\refspace</code>. - <p><a name="index-refs-_0040r_007b_0028hyperlinks_0029_007d-595"></a>Unlike <code>\ref</code>, <code>\refs</code> does not take an optional argument and + <p><a name="index-refs-_0040r_007b_0028hyperlinks_0029_007d-618"></a>Unlike <code>\ref</code>, <code>\refs</code> does not take an optional argument and does not make the class word part of the link, which is appropriate for its intended use. <div class="node"> -<p><hr> <a name="Page-reference-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3844,18 +3896,18 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.6 Page reference hyperlinks: xrdef, xref</h4> -<p><a name="index-xrdef-_0040r_007b_0028hyperlinks_0029_007d-596"></a><a name="index-page-reference-hyperlink-597"></a><a name="index-hyperlinks_002c-page-references-598"></a><a name="index-group-_0060xrdef_0027-599"></a><a name="index-destgroup-_0060xrdef_0027-600"></a>The `xrdef' destgroup is for <code>\xrdef</code> (see <a href="#Page-references">Page references</a>). +<p><a name="index-xrdef-_0040r_007b_0028hyperlinks_0029_007d-619"></a><a name="index-page-reference-hyperlink-620"></a><a name="index-hyperlinks_002c-page-references-621"></a><a name="index-group-_0060xrdef_0027-622"></a><a name="index-destgroup-_0060xrdef_0027-623"></a>The `xrdef' destgroup is for <code>\xrdef</code> (see <a href="#Page-references">Page references</a>). <code>\xrdef</code> defines a destination using cross-reference label as the hyperlink label. - <p><a name="index-xref-_0040r_007b_0028hyperlinks_0029_007d-601"></a><a name="index-refspace-602"></a><a name="index-xrefpageword-603"></a><a name="index-group-_0060xref_0027-604"></a><a name="index-linkgroup-_0060xref_0027-605"></a>The `xref' linkgroup includes the <code>\xref</code> command (see <a href="#Page-references">Page references</a>). <code>\xref</code> turns its optional argument (followed by + <p><a name="index-xref-_0040r_007b_0028hyperlinks_0029_007d-624"></a><a name="index-refspace-625"></a><a name="index-xrefpageword-626"></a><a name="index-group-_0060xref_0027-627"></a><a name="index-linkgroup-_0060xref_0027-628"></a>The `xref' linkgroup includes the <code>\xref</code> command (see <a href="#Page-references">Page references</a>). <code>\xref</code> turns its optional argument (followed by <code>\refspace</code>), <code>\xrefpageword</code> and the cross-reference (page number) into a link, using the cross-reference label as the hyperlink label. <div class="node"> -<p><hr> <a name="Equation-reference-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Index-hyperlinks">Index hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Page-reference-hyperlinks">Page reference hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3864,7 +3916,7 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.7 Equation reference hyperlinks: eq</h4> -<p><a name="index-eqdef-_0040r_007b_0028hyperlinks_0029_007d-606"></a><a name="index-eqdefn-_0040r_007b_0028hyperlinks_0029_007d-607"></a><a name="index-eqsubdef-_0040r_007b_0028hyperlinks_0029_007d-608"></a><a name="index-eqsubdefn-_0040r_007b_0028hyperlinks_0029_007d-609"></a><a name="index-equations_002c-hyperlinks-610"></a><a name="index-hyperlinks_002c-equations-611"></a><a name="index-group-_0060eq_0027-612"></a><a name="index-destgroup-_0060eq_0027-613"></a>All commands that define equation labels are part of the `eq' destgroup. +<p><a name="index-eqdef-_0040r_007b_0028hyperlinks_0029_007d-629"></a><a name="index-eqdefn-_0040r_007b_0028hyperlinks_0029_007d-630"></a><a name="index-eqsubdef-_0040r_007b_0028hyperlinks_0029_007d-631"></a><a name="index-eqsubdefn-_0040r_007b_0028hyperlinks_0029_007d-632"></a><a name="index-equations_002c-hyperlinks-633"></a><a name="index-hyperlinks_002c-equations-634"></a><a name="index-group-_0060eq_0027-635"></a><a name="index-destgroup-_0060eq_0027-636"></a>All commands that define equation labels are part of the `eq' destgroup. These are <code>\eqdef</code>, <code>\eqdefn</code>, <code>\eqsubdef</code> and <code>\eqsubdefn</code> (see <a href="#Equation-references">Equation references</a>). All these commands use the equation label as the hyperlink label. However, if the equation @@ -3872,21 +3924,21 @@ label is empty, they make up a (hopefully) unique hyperlink label for the destination. This label will be used for the link when you refer to this empty-labeled equation with one of the equation reference macros. - <p><a name="index-phantomeqlabel-614"></a><a name="index-phantomeqnumber-615"></a>The command <code>\phantomeqlabel</code> is called to generate hyperlink + <p><a name="index-phantomeqlabel-637"></a><a name="index-phantomeqnumber-638"></a>The command <code>\phantomeqlabel</code> is called to generate hyperlink labels for the empty-labeled equations. By default, it produces the -labels in the format `<samp><span class="samp">PHEQ</span><var>number</var></samp>', where <var>number</var> comes +labels in the format ‘<samp><span class="samp">PHEQ</span><var>number</var></samp>’, where <var>number</var> comes from the count register <code>\phantomeqnumber</code>; this count register is incremented at every empty-labeled equation definition. - <p><a name="index-eqref-616"></a><a name="index-eqrefn-617"></a><a name="index-reftie-618"></a><a name="index-group-_0060eq_0027-619"></a><a name="index-linkgroup-_0060eq_0027-620"></a>The commands <code>\eqref</code> and <code>\eqrefn</code> (see <a href="#Equation-references">Equation references</a>) form the `eq' linkgroup. These commands take an optional + <p><a name="index-eqref-639"></a><a name="index-eqrefn-640"></a><a name="index-reftie-641"></a><a name="index-group-_0060eq_0027-642"></a><a name="index-linkgroup-_0060eq_0027-643"></a>The commands <code>\eqref</code> and <code>\eqrefn</code> (see <a href="#Equation-references">Equation references</a>) form the `eq' linkgroup. These commands take an optional argument, which, when present, is tied with <code>\reftie</code> to the equation reference and becomes part of the link. The equation label is used for the hyperlink label; if the label is empty, the link is for the label generated for the last empty-labeled equation. <div class="node"> -<p><hr> <a name="Index-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Footnote-hyperlinks">Footnote hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -3895,15 +3947,15 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.8 Index hyperlinks: idx</h4> -<p><a name="index-idx-_0040r_007b_0028hyperlinks_0029_007d-621"></a><a name="index-idxname-_0040r_007b_0028hyperlinks_0029_007d-622"></a><a name="index-idxmarked-_0040r_007b_0028hyperlinks_0029_007d-623"></a><a name="index-idxsubmarked-_0040r_007b_0028hyperlinks_0029_007d-624"></a><a name="index-index-hyperlink-625"></a><a name="index-hyperlinks_002c-index-626"></a><a name="index-group-_0060idx_0027-627"></a><a name="index-linkgroup-_0060idx_0027-628"></a><a name="index-destgroup-_0060idx_0027-629"></a>All indexing commands (<code>\idx</code>, <code>\idxname</code>, <code>\idxmarked</code>, +<p><a name="index-idx-_0040r_007b_0028hyperlinks_0029_007d-644"></a><a name="index-idxname-_0040r_007b_0028hyperlinks_0029_007d-645"></a><a name="index-idxmarked-_0040r_007b_0028hyperlinks_0029_007d-646"></a><a name="index-idxsubmarked-_0040r_007b_0028hyperlinks_0029_007d-647"></a><a name="index-index-hyperlink-648"></a><a name="index-hyperlinks_002c-index-649"></a><a name="index-group-_0060idx_0027-650"></a><a name="index-linkgroup-_0060idx_0027-651"></a><a name="index-destgroup-_0060idx_0027-652"></a>All indexing commands (<code>\idx</code>, <code>\idxname</code>, <code>\idxmarked</code>, <code>\idxsubmarked</code> and their silent equivalents, see <a href="#Indexing-commands">Indexing commands</a>) form the `idx' destgroup. The `idx' linkgroup consists of the macros which are used to typeset the index when you say -<a name="index-readindexfile-_0040r_007b_0028hyperlinks_0029_007d-630"></a><code>\readindexfile{</code><var>index-letter</var><code>}</code> (see <a href="#Typesetting-an-index">Typesetting an index</a>). +<a name="index-readindexfile-_0040r_007b_0028hyperlinks_0029_007d-653"></a><code>\readindexfile{</code><var>index-letter</var><code>}</code> (see <a href="#Typesetting-an-index">Typesetting an index</a>). - <p><a name="index-makeindex-631"></a>To create the links in index entries, Eplain uses MakeIndex's + <p><a name="index-makeindex-654"></a>To create the links in index entries, Eplain uses MakeIndex's “encapsulation” feature. When you use an indexing macro to mark an index term, Eplain writes out a line to the -<a name="index-g_t_002eidx-_0040r_007bfiles_007d-632"></a><samp><span class="file">.idx</span></samp> file of the following general form: +<a name="index-g_t_002eidx-_0040r_007bfiles_007d-655"></a><samp><span class="file">.idx</span></samp> file of the following general form: <pre class="example"> \indexentry{<var>entry</var>|<var>pagemarkup</var>}{<var>pageno</var>} </pre> @@ -3915,7 +3967,7 @@ and <var>pageno</var> is the page number on which the term appeared. When processing the <samp><span class="file">.idx</span></samp> file, MakeIndex makes the page number an argument to the page markup command (“encapsulates” the page number), so the page number in the -<a name="index-g_t_002eind-_0040r_007bfiles_007d-633"></a><samp><span class="file">.ind</span></samp> file appears as <code>\</code><var>cs</var><code>{</code><var>pageno</var><code>}</code>. Eplain +<a name="index-g_t_002eind-_0040r_007bfiles_007d-656"></a><samp><span class="file">.ind</span></samp> file appears as <code>\</code><var>cs</var><code>{</code><var>pageno</var><code>}</code>. Eplain internally replaces the <var>cs</var> command name with its own command, which, in addition to calling the original <code>\</code><var>cs</var> encapsulator, turns the page number into a link. @@ -3932,8 +3984,8 @@ locations of index terms in the text. </ul> <div class="node"> -<p><hr> <a name="Exact-destinations-for-index-terms"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Page-destinations-for-index-terms">Page destinations for index terms</a>, Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> @@ -3948,7 +4000,7 @@ writes to the <samp><span class="file">.idx</span></samp> file becomes <pre class="example"> \indexentry{<var>entry</var>|hlidx{<var>label</var>}{<var>cs</var>}}{<var>pageno}</var> </pre> - <p><a name="index-hlidx-634"></a>where <code>\hlidx</code> is the command that is defined by Eplain + <p><a name="index-hlidx-657"></a>where <code>\hlidx</code> is the command that is defined by Eplain to take three arguments: a hyperlink label (<var>label</var>), a name of page number encapsulator (<var>cs</var>) and a page number (<var>pageno</var>). In the <samp><span class="file">.ind</span></samp> file that MakeIndex will generate, the page number @@ -3961,19 +4013,19 @@ will now appear as <var>label</var> destination. <p>The hyperlink labels for the index terms are generated by the -<a name="index-hlidxlabel-635"></a><code>\hlidxlabel</code> command, by default in the format -`<samp><span class="samp">IDX</span><var>number</var></samp>', where <var>number</var> is the value of the count +<a name="index-hlidxlabel-658"></a><code>\hlidxlabel</code> command, by default in the format +‘<samp><span class="samp">IDX</span><var>number</var></samp>’, where <var>number</var> is the value of the count register -<a name="index-hlidxlabelnumber-636"></a><code>\hlidxlabelnumber</code>. This count register is incremented at each +<a name="index-hlidxlabelnumber-659"></a><code>\hlidxlabelnumber</code>. This count register is incremented at each index term. - <p><a name="index-exact-index-hyperlinks-637"></a><a name="index-index_002c-exact-hyperlinks-638"></a><a name="index-hyperlinks_002c-index_002c-exact-639"></a>The advantage of this approach, as compared to the second approach + <p><a name="index-exact-index-hyperlinks-660"></a><a name="index-index_002c-exact-hyperlinks-661"></a><a name="index-hyperlinks_002c-index_002c-exact-662"></a>The advantage of this approach, as compared to the second approach described below, is that links in the index point to exact locations of the indexed terms on the page. The disadvantage of this approach is that MakeIndex will regard <em>all</em> index entries as distinct, because each one contains a (unique) hyperlink label. This disadvantage can be partially overcome by the script -<a name="index-idxuniq-640"></a><a name="index-filtering-index-entries-with-hyperlinks-641"></a><a name="index-hyperlinks_002c-filtering-index-entries-642"></a><samp><span class="file">idxuniq</span></samp> distributed with Eplain in the <samp><span class="file">util</span></samp> directory. +<a name="index-idxuniq-663"></a><a name="index-filtering-index-entries-with-hyperlinks-664"></a><a name="index-hyperlinks_002c-filtering-index-entries-665"></a><samp><span class="file">idxuniq</span></samp> distributed with Eplain in the <samp><span class="file">util</span></samp> directory. This script filters out <code>\indexentry</code> lines differing only in the hyperlink label but identical otherwise. You should process the <samp><span class="file">.idx</span></samp> with this script before passing it on to MakeIndex. For @@ -3988,8 +4040,8 @@ entry appears on the same page as another entry with the same definition; <samp><span class="file">idxuniq</span></samp> will not filter out the second entry). <div class="node"> -<p><hr> <a name="Page-destinations-for-index-terms"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Choosing-destination-placement">Choosing destination placement</a>, Previous: <a rel="previous" accesskey="p" href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a>, Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> @@ -4004,16 +4056,16 @@ number encapsulator which can parse the page number and generate a link pointing to the <em>page</em> on which the term appeared. On top of each page containing an index term, Eplain defines a destination with label produced by -<a name="index-hlidxpagelabel-643"></a><code>\hlidxpagelabel</code>. The <code>\hlidxpagelabel</code> command takes a +<a name="index-hlidxpagelabel-666"></a><code>\hlidxpagelabel</code>. The <code>\hlidxpagelabel</code> command takes a single argument (page number <var>number</var>) and by default produces the -label in the format `<samp><span class="samp">IDXPG</span><var>number</var></samp>'. +label in the format ‘<samp><span class="samp">IDXPG</span><var>number</var></samp>’. <p>With this approach, the <code>\indexentry</code> line which Eplain writes to the <code>.idx</code> file looks like this: <pre class="example"> \indexentry{<var>entry</var>|hlidxpage{<var>cs</var>}}{<var>pageno}</var> </pre> - <p><a name="index-hlidxpage-644"></a>where <code>\hlidxpage</code> is the command that is defined by Eplain + <p><a name="index-hlidxpage-667"></a>where <code>\hlidxpage</code> is the command that is defined by Eplain to take two arguments: a name of page number encapsulator (<var>cs</var>) and a page number (<var>pageno</var>). In the <samp><span class="file">.ind</span></samp> file that MakeIndex will generate, the page number will appear as @@ -4025,13 +4077,13 @@ intact. The drawback is that links in the index do not point to exact locations of indexed terms on a page, but to the top of a page on which the term appears. - <p><a name="index-index_002c-parsing-page-numbers-645"></a><a name="index-page-range_002c-parsing-646"></a><a name="index-page-list_002c-parsing-647"></a><a name="index-parsing-page-numbers-648"></a>Another disadvantage is that this approach depends on the page range and + <p><a name="index-index_002c-parsing-page-numbers-668"></a><a name="index-page-range_002c-parsing-669"></a><a name="index-page-list_002c-parsing-670"></a><a name="index-parsing-page-numbers-671"></a>Another disadvantage is that this approach depends on the page range and page list separators which MakeIndex was configured to output. <code>\hlidxpage</code> must be able to parse the first page number in a page -range like `<samp><span class="samp">1--4</span></samp>'. In addition, page list parsing is needed +range like ‘<samp><span class="samp">1--4</span></samp>’. In addition, page list parsing is needed because MakeIndex combines two consecutive page numbers in one call to the page number encapsulator, so <code>\hlidxpage</code> can be passed, e.g., -`<samp><span class="samp">1, 2</span></samp>' for the <var>pageno</var>. In this last case, <code>\hlidxpage</code> +‘<samp><span class="samp">1, 2</span></samp>’ for the <var>pageno</var>. In this last case, <code>\hlidxpage</code> splits the two page numbers, applies <code>\</code><var>cs</var> to each of them, and makes each of the page numbers a link to the appropriate page. Note that this will alter typesetting slightly, because now the page list @@ -4039,8 +4091,8 @@ separator (a comma followed by a space, by default) is not typeset using the page number encapsulator (<code>\</code><var>cs</var>). <p>Eplain's defaults for the page list and page number delimiters are the -same as those in MakeIndex, a comma followed by a space (`<samp><span class="samp">, </span></samp>') and -two dashes (`<samp><span class="samp">--</span></samp>'), respectively. If you customize MakeIndex to use +same as those in MakeIndex, a comma followed by a space (‘<samp><span class="samp">, </span></samp>’) and +two dashes (‘<samp><span class="samp">--</span></samp>’), respectively. If you customize MakeIndex to use different delimiters, you must not forget to let Eplain know about them with the commands @@ -4050,8 +4102,8 @@ with the commands <p class="noindent">(see <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a>). <div class="node"> -<p><hr> <a name="Choosing-destination-placement"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Index-page-list-and-page-range-parsers">Index page list and page range parsers</a>, Previous: <a rel="previous" accesskey="p" href="#Page-destinations-for-index-terms">Page destinations for index terms</a>, Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> @@ -4060,13 +4112,13 @@ Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> <h5 class="subsubsection">5.3.8.3 Choosing destination placement</h5> -<p><a name="index-index_002c-placement-of-destinations-649"></a><a name="index-index_002c-destination-placement-650"></a><a name="index-index_002c-selecting-destination-placement-651"></a><a name="index-index_002c-choosing-destination-placement-652"></a><a name="index-hyperlinks_002c-index-destination-placement-653"></a>The approach that Eplain should use for the index terms can be +<p><a name="index-index_002c-placement-of-destinations-672"></a><a name="index-index_002c-destination-placement-673"></a><a name="index-index_002c-selecting-destination-placement-674"></a><a name="index-index_002c-choosing-destination-placement-675"></a><a name="index-hyperlinks_002c-index-destination-placement-676"></a>The approach that Eplain should use for the index terms can be selected in the -<a name="index-enablehyperlinks-654"></a><code>\enablehyperlinks</code> command. The optional argument it accepts is +<a name="index-enablehyperlinks-677"></a><code>\enablehyperlinks</code> command. The optional argument it accepts is a comma-separated list of options. The -<a name="index-idxexact-655"></a><code>idxexact</code> option selects the first approach, -<a name="index-idxpage-656"></a><code>idxpage</code> the second, and -<a name="index-idxnone-657"></a><code>idxnone</code> disables hyperlink support for the index terms +<a name="index-idxexact-678"></a><code>idxexact</code> option selects the first approach, +<a name="index-idxpage-679"></a><code>idxpage</code> the second, and +<a name="index-idxnone-680"></a><code>idxnone</code> disables hyperlink support for the index terms altogether, in case you want to stop Eplain from writing its link wrappers into the <samp><span class="file">.idx</span></samp> file. The default is <code>idxpage</code>. @@ -4077,8 +4129,8 @@ wrappers into the <samp><span class="file">.idx</span></samp> file. The default <p class="noindent">selects the first approach (“exact index links”). <div class="node"> -<p><hr> <a name="Index-page-list-and-page-range-parsers"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a>, Previous: <a rel="previous" accesskey="p" href="#Choosing-destination-placement">Choosing destination placement</a>, Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> @@ -4093,8 +4145,8 @@ when defining page number encapsulators. See <a href="#Page-list-and-page-range usage. <div class="node"> -<p><hr> <a name="Hyperlinks-in-see-and-see-also-entries"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Index-page-list-and-page-range-parsers">Index page list and page range parsers</a>, Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> @@ -4102,11 +4154,11 @@ Up: <a rel="up" accesskey="u" href="#Index-hyperlinks">Index hyperlinks</a> <h5 class="subsubsection">5.3.8.5 Hyperlinks in see and see also entries</h5> -<p><a name="index-hyperlinks_002c-see-and-see-also-index-entries-658"></a><a name="index-index_002c-hyperlinks-in-see-and-see-also-entries-659"></a><a name="index-see-also-index-entries-and-hyperlinks-660"></a><a name="index-see_002c-and-index-entries_002c-hyperlinks-661"></a>There is no automatic support for hyperlinks with “see” and “see +<p><a name="index-hyperlinks_002c-see-and-see-also-index-entries-681"></a><a name="index-index_002c-hyperlinks-in-see-and-see-also-entries-682"></a><a name="index-see-also-index-entries-and-hyperlinks-683"></a><a name="index-see_002c-and-index-entries_002c-hyperlinks-684"></a>There is no automatic support for hyperlinks with “see” and “see also” index entries, as there is not enough information to trace the parameters of -<a name="index-indexsee-662"></a><code>\indexsee</code> and -<a name="index-indexseealso-663"></a><code>\indexseealso</code> to corresponding index entries. But if desired, +<a name="index-indexsee-685"></a><code>\indexsee</code> and +<a name="index-indexseealso-686"></a><code>\indexseealso</code> to corresponding index entries. But if desired, this can be implemented with <code>\hldest</code> and <code>\hlstart</code> (see <a href="#Explicit-hyperlinks">Explicit hyperlinks</a>); for example: @@ -4117,8 +4169,8 @@ this can be implemented with <code>\hldest</code> and <code>\hlstart</code> {\hlstart{}{}{idx:theo truth}semantic theory of truth\hlend} </pre> <div class="node"> -<p><hr> <a name="Footnote-hyperlinks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Contents-hyperlinks">Contents hyperlinks</a>, Previous: <a rel="previous" accesskey="p" href="#Index-hyperlinks">Index hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -4127,19 +4179,19 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.9 Footnote hyperlinks: foot, footback</h4> -<p><a name="index-footnotes_002c-hyperlinks-664"></a><a name="index-hyperlinks_002c-footnotes-665"></a><a name="index-group-_0060foot_0027-666"></a><a name="index-group-_0060footback_0027-667"></a><a name="index-linkgroup-_0060foot_0027-668"></a><a name="index-linkgroup-_0060footback_0027-669"></a><a name="index-destgroup-_0060foot_0027-670"></a><a name="index-destgroup-_0060footback_0027-671"></a>The `foot' link and destination groups include the -<a name="index-numberedfootnote-_0040r_007b_0028hyperlinks_0029_007d-672"></a><code>\numberedfootnote</code> and -<a name="index-footnote-_0040r_007b_0028hyperlinks_0029_007d-673"></a><code>\footnote</code> macros (see <a href="#Footnotes">Footnotes</a>). The `footback' groups +<p><a name="index-footnotes_002c-hyperlinks-687"></a><a name="index-hyperlinks_002c-footnotes-688"></a><a name="index-group-_0060foot_0027-689"></a><a name="index-group-_0060footback_0027-690"></a><a name="index-linkgroup-_0060foot_0027-691"></a><a name="index-linkgroup-_0060footback_0027-692"></a><a name="index-destgroup-_0060foot_0027-693"></a><a name="index-destgroup-_0060footback_0027-694"></a>The `foot' link and destination groups include the +<a name="index-numberedfootnote-_0040r_007b_0028hyperlinks_0029_007d-695"></a><code>\numberedfootnote</code> and +<a name="index-footnote-_0040r_007b_0028hyperlinks_0029_007d-696"></a><code>\footnote</code> macros (see <a href="#Footnotes">Footnotes</a>). The `footback' groups include the same macros, but control parameters for links and destinations created inside the footnote to point back to the footnote mark within the text body. <p>The macros use hyperlink labels generated by -<a name="index-hlfootlabel-674"></a><code>\hlfootlabel</code> and -<a name="index-hlfootbacklabel-675"></a><code>\hlfootbacklabel</code>. The default formats for the labels are -`<samp><span class="samp">FOOT</span><var>number</var></samp>' and `<samp><span class="samp">FOOTB</span><var>number</var></samp>', respectively, +<a name="index-hlfootlabel-697"></a><code>\hlfootlabel</code> and +<a name="index-hlfootbacklabel-698"></a><code>\hlfootbacklabel</code>. The default formats for the labels are +‘<samp><span class="samp">FOOT</span><var>number</var></samp>’ and ‘<samp><span class="samp">FOOTB</span><var>number</var></samp>’, respectively, where <var>number</var> is the value of the count register -<a name="index-hlfootlabelnumber-676"></a><code>\hlfootlabelnumber</code>. This register is incremented at every +<a name="index-hlfootlabelnumber-699"></a><code>\hlfootlabelnumber</code>. This register is incremented at every footnote. <p>Generally, footnote hyperlinks are not of much use, because the @@ -4152,8 +4204,8 @@ hyperlinks (see <a href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyp \hlon[foot,footback] </pre> <div class="node"> -<p><hr> <a name="Contents-hyperlinks"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Footnote-hyperlinks">Footnote hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlinks</a> @@ -4161,14 +4213,14 @@ Up: <a rel="up" accesskey="u" href="#Implicit-hyperlinks">Implicit hyperlin <h4 class="subsection">5.3.10 Contents hyperlinks</h4> -<p><a name="index-table-of-contents_002c-hyperlinks-677"></a><a name="index-contents_002c-hyperlinks-678"></a><a name="index-hyperlinks_002c-table-of-contents-679"></a>There is currently no special support for hyperlinks in the table of +<p><a name="index-table-of-contents_002c-hyperlinks-700"></a><a name="index-contents_002c-hyperlinks-701"></a><a name="index-hyperlinks_002c-table-of-contents-702"></a>There is currently no special support for hyperlinks in the table of contents (see <a href="#Contents">Contents</a>), but implementing them with the <code>\hldest</code> and <code>\hlstart ... \hlend</code> commands (see <a href="#Explicit-hyperlinks">Explicit hyperlinks</a>) should be possible. <div class="node"> -<p><hr> <a name="Hyperlink-drivers"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>, Previous: <a rel="previous" accesskey="p" href="#Implicit-hyperlinks">Implicit hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> @@ -4182,7 +4234,7 @@ they support, and the options they accept. During the first reading, you may only want to skim through this section. <p>Some of the descriptions below come from <cite>Portable Document Format -Reference Manual Version <!-- /@w -->1.3</cite>, March <!-- /@w -->11, 1999. +Reference Manual Version 1.3</cite>, March 11, 1999. <ul class="menu"> <li><a accesskey="1" href="#Options-supported-by-all-drivers">Options supported by all drivers</a> @@ -4192,8 +4244,8 @@ Reference Manual Version <!-- /@w -->1.3</cite>, March <!-- /@w -->11, </ul> <div class="node"> -<p><hr> <a name="Options-supported-by-all-drivers"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</a> @@ -4201,20 +4253,20 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</ <h4 class="subsection">5.4.1 Options supported by all drivers</h4> -<p><a name="index-hyperlink-options_002c-common-680"></a>This subsection describes the destination and link options which are +<p><a name="index-hyperlink-options_002c-common-703"></a>This subsection describes the destination and link options which are supported by all hyperlink drivers. <h5 class="subsubheading">Destination options supported by all drivers</h5> -<p><a name="index-destination-options_002c-common-681"></a><a name="index-options_002c-destination_002c-common-682"></a> +<p><a name="index-destination-options_002c-common-704"></a><a name="index-options_002c-destination_002c-common-705"></a> <dl> -<dt><code>raise</code><dd><a name="index-raise-_0040r_007b_0028hyperlink-option_0029_007d-683"></a><a name="index-raising-hyperlink-destinations-684"></a><a name="index-hyperlink-destination_002c-raising-685"></a><a name="index-destinations_002c-raising-686"></a>Specifies how much to raise destinations above the baseline. When set +<dt><code>raise</code><dd><a name="index-raise-_0040r_007b_0028hyperlink-option_0029_007d-706"></a><a name="index-raising-hyperlink-destinations-707"></a><a name="index-hyperlink-destination_002c-raising-708"></a><a name="index-destinations_002c-raising-709"></a>Specifies how much to raise destinations above the baseline. When set to zero or empty, destinations are placed at the baseline. <p>It is usually convenient to set this option to some variable parameter, so that the height to which destinations are raised is automatically adjusted according to the current context. For example, setting it to -<a name="index-normalbaselineskip-687"></a><code>\normalbaselineskip</code> (or some fraction of it, like +<a name="index-normalbaselineskip-710"></a><code>\normalbaselineskip</code> (or some fraction of it, like <code>1.7\normalbaselineskip</code>) makes the setting appropriate for different point sizes, in case your document uses more than one. @@ -4222,16 +4274,16 @@ different point sizes, in case your document uses more than one. destgroups do not define this option, so they fall back on the default, except for the `eq' destgroup, for which this option is set to <code>1.7\normalbaselineskip</code>, -<a name="index-mathematics-displays_002c-hyperlinks-688"></a><a name="index-displayed-math-and-hyperlinks-689"></a><a name="index-large-operators-and-hyperlinks-690"></a><a name="index-hyperlinks_002c-large-operators-691"></a><a name="index-destinations_002c-large-operators-692"></a>to accommodate the usual cases of large operators in displayed math. +<a name="index-mathematics-displays_002c-hyperlinks-711"></a><a name="index-displayed-math-and-hyperlinks-712"></a><a name="index-large-operators-and-hyperlinks-713"></a><a name="index-hyperlinks_002c-large-operators-714"></a><a name="index-destinations_002c-large-operators-715"></a>to accommodate the usual cases of large operators in displayed math. <p>Example: <code>\hldestopts[eq]{raise=2.5\normalbaselineskip}</code> </dl> <h5 class="subsubheading">Link options supported by all drivers</h5> -<p><a name="index-link-options_002c-common-693"></a><a name="index-options_002c-link_002c-common-694"></a> +<p><a name="index-link-options_002c-common-716"></a><a name="index-options_002c-link_002c-common-717"></a> <dl> -<dt><code>colormodel</code><dt><code>color</code><dd><a name="index-colormodel-_0040r_007b_0028hyperlink-option_0029_007d-695"></a><a name="index-color-_0040r_007b_0028hyperlink-option_0029_007d-696"></a><a name="index-color_002c-hyperlinks-697"></a><a name="index-colored-links-698"></a><a name="index-hyperlink-color-699"></a>These two options define the color to be used for rendering the link +<dt><code>colormodel</code><dt><code>color</code><dd><a name="index-colormodel-_0040r_007b_0028hyperlink-option_0029_007d-718"></a><a name="index-color-_0040r_007b_0028hyperlink-option_0029_007d-719"></a><a name="index-color_002c-hyperlinks-720"></a><a name="index-colored-links-721"></a><a name="index-hyperlink-color-722"></a>These two options define the color to be used for rendering the link text. The colors are used only when a <code>\color</code> command is defined, e.g., by loading the LaTeX `color' package (see <a href="#Packages-known-to-work">Packages known to work</a>). The <code>\color</code> command is called as <code>\color[</code><var>colormodel</var><code>]{</code><var>color</var><code>}</code>, where <var>colormodel</var> @@ -4256,12 +4308,12 @@ an empty <var>colormodel</var> (see examples below). \definecolor{mycolor}{rgb}{.3,.8,.95} \hlopts{colormodel=,color=mycolor}% custom color \hlopts{colormodel=gray,color=.4} - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Hyperlink-driver-hypertex"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a>, Previous: <a rel="previous" accesskey="p" href="#Options-supported-by-all-drivers">Options supported by all drivers</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</a> @@ -4270,19 +4322,19 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</ <h4 class="subsection">5.4.2 Hyperlink driver <code>hypertex</code></h4> -<p><a name="index-hypertex-_0040r_007b_0028hyperlink-driver_0029_007d-700"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-hyperlink-driver-701"></a><a name="index-driver-_0040code_007bhypertex_007d-702"></a><a name="index-hyperlink-driver-_0040code_007bhypertex_007d-703"></a>HyperTeX is a standard for inclusion of hyperlink information in +<p><a name="index-hypertex-_0040r_007b_0028hyperlink-driver_0029_007d-723"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-hyperlink-driver-724"></a><a name="index-driver-_0040code_007bhypertex_007d-725"></a><a name="index-hyperlink-driver-_0040code_007bhypertex_007d-726"></a>HyperTeX is a standard for inclusion of hyperlink information in TeX (and LaTeX) documents (see <a href="http://arxiv.org/hypertex">http://arxiv.org/hypertex</a>). This standard defines a set of hyperlink tags implemented as <code>\special</code> commands written into the <acronym>DVI</acronym> file. The major advantage of such standard is that a single <samp><span class="file">.dvi</span></samp> file containing HyperTeX commands can be viewed by any HyperTeX-enabled viewer (e.g., any more or less modern version of -<a name="index-xdvi-704"></a><code>xdvi</code>) or converted to other file formats (e.g., <acronym>PDF</acronym>) +<a name="index-xdvi-727"></a><code>xdvi</code>) or converted to other file formats (e.g., <acronym>PDF</acronym>) by any HyperTeX-enabled <acronym>DVI</acronym> converter (e.g., -<a name="index-dvipdfm-705"></a><code>dvipdfmx</code> or -<a name="index-dvips-706"></a><code>dvips</code> with -<a name="index-g_t_0040r_007bGhostscript_007d-707"></a>Ghostscript's -<a name="index-ps2pdf-708"></a><code>ps2pdf</code> script). +<a name="index-dvipdfm-728"></a><code>dvipdfmx</code> or +<a name="index-dvips-729"></a><code>dvips</code> with +<a name="index-g_t_0040r_007bGhostscript_007d-730"></a>Ghostscript's +<a name="index-ps2pdf-731"></a><code>ps2pdf</code> script). <p>The downside to the standard is that it is by design “the common factor” of other formats supporting hyperlinks, so many features of a @@ -4301,21 +4353,21 @@ please see <p class="noindent">For convenience, we list a few HyperTeX-enabled converters: -<a name="index-dvips-709"></a> +<a name="index-dvips-732"></a> <dl><dt><code>dvips</code><dd>Note that you need to pass the <samp><span class="option">-z</span></samp> option to <code>dvips</code> to tell it to preserve the information about the hyperlinks. To generate a <samp><span class="file">.pdf</span></samp> file with hyperlinks, you can use the -<a name="index-ps2pdf-710"></a><samp><span class="file">ps2pdf</span></samp> script of -<a name="index-g_t_0040r_007bGhostscript_007d-711"></a>Ghostscript. For example, if <samp><span class="file">foo.tex</span></samp> is a TeX file using +<a name="index-ps2pdf-733"></a><samp><span class="file">ps2pdf</span></samp> script of +<a name="index-g_t_0040r_007bGhostscript_007d-734"></a>Ghostscript. For example, if <samp><span class="file">foo.tex</span></samp> is a TeX file using HyperTeX commands, then <pre class="example"> prompt$ tex foo.tex prompt$ dvips -z foo.dvi -o prompt$ ps2pdf foo.ps - </pre> +</pre> <p class="noindent">will produce <samp><span class="file">foo.pdf</span></samp> with hyperlinks. - <br><dt><code>dvipdfm</code><dt><code>dvipdfmx</code><dd><a name="index-dvipdfm-712"></a>No special command line arguments are required, these programs + <br><dt><code>dvipdfm</code><dt><code>dvipdfmx</code><dd><a name="index-dvipdfm-735"></a>No special command line arguments are required, these programs automatically detect the HyperTeX commands. </dl> @@ -4323,12 +4375,12 @@ automatically detect the HyperTeX commands. <p>One more note is in place: support for the HyperTeX commands varies from one previewer/converter to another, so you might need to experiment to see if what you need is supported by the program(s) you intend to -use. For example, dvips(k) as of version <!-- /@w -->5.92b converts all +use. For example, dvips(k) as of version 5.92b converts all internal hyperlinks into page links pointing to a page containing the destination, so that “exact” linking to destinations is not possible (this was confirmed to be a bug and most probably has already been fixed -in later versions of dvips(k)); dvipdfm as of version <!-- /@w -->0.13.2c and -dvipdfmx as of version <!-- /@w -->20040411 do not correctly parse links to +in later versions of dvips(k)); dvipdfm as of version 0.13.2c and +dvipdfmx as of version 20040411 do not correctly parse links to external local files, and produce a <acronym>URL</acronym> link instead of a file link. @@ -4340,8 +4392,8 @@ file link. </ul> <div class="node"> -<p><hr> <a name="Destination-types-for-hypertex"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Destination-options-for-hypertex">Destination options for hypertex</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a> @@ -4349,19 +4401,19 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink d <h5 class="subsubsection">5.4.2.1 Destination types for <code>hypertex</code></h5> -<p><a name="index-destination-types_002c-_0040code_007bhypertex_007d-713"></a><a name="index-types_002c-destination_002c-_0040code_007bhypertex_007d-714"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-destination-types-715"></a> +<p><a name="index-destination-types_002c-_0040code_007bhypertex_007d-736"></a><a name="index-types_002c-destination_002c-_0040code_007bhypertex_007d-737"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-destination-types-738"></a> <dl> -<dt><code>xyz</code><dd><a name="index-xyz-_0040r_007b_0028destination-type_0029_007d-716"></a>“Current position”. This is the default type. +<dt><code>xyz</code><dd><a name="index-xyz-_0040r_007b_0028destination-type_0029_007d-739"></a>“Current position”. This is the default type. <p>Example: <code>\hldest{xyz}{}{dest123}</code> - <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028destination-type_0029_007d-717"></a>The destination specification (in the form of a HyperTeX + <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028destination-type_0029_007d-740"></a>The destination specification (in the form of a HyperTeX <code>\special</code>) is taken from the command sequence <code>\</code><var>cs</var>, where <var>cs</var> is the value of the -<a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-718"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use -<a name="index-g_t_0040_0040hllabel-719"></a><code>\@hllabel</code> to refer to the hyperlink label. This option is +<a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-741"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use +<a name="index-g_t_0040_0040hllabel-742"></a><code>\@hllabel</code> to refer to the hyperlink label. This option is intended to be used with destgroups (see <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>), as it does not make sense in a direct call to -<a name="index-hldest-720"></a><code>\hldest</code>—you can just call the raw command. +<a name="index-hldest-743"></a><code>\hldest</code>—you can just call the raw command. <p>Example: @@ -4371,12 +4423,12 @@ intended to be used with destgroups (see <a href="#Setting-hyperlink-types-and-o \resetatcatcode \indent\hldest{raw}{cmd=mydest}{SpecialDest} Special destination. - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Destination-options-for-hypertex"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Link-types-for-hypertex">Link types for hypertex</a>, Previous: <a rel="previous" accesskey="p" href="#Destination-types-for-hypertex">Destination types for hypertex</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a> @@ -4385,9 +4437,9 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink d <h5 class="subsubsection">5.4.2.2 Destination options for <code>hypertex</code></h5> -<p><a name="index-destination-options_002c-_0040code_007bhypertex_007d-721"></a><a name="index-options_002c-destination_002c-_0040code_007bhypertex_007d-722"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-destination-options-723"></a> +<p><a name="index-destination-options_002c-_0040code_007bhypertex_007d-744"></a><a name="index-options_002c-destination_002c-_0040code_007bhypertex_007d-745"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-destination-options-746"></a> <dl> -<dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-724"></a>Name of the macro (without the leading `<samp><span class="samp">\</span></samp>') containing a +<dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-747"></a>Name of the macro (without the leading ‘<samp><span class="samp">\</span></samp>’) containing a HyperTeX <code>\special</code> for the <code>raw</code> destination. <p>See <a href="#Destination-types-for-hypertex">Destination types for hypertex</a>, the description of the <code>raw</code> @@ -4395,8 +4447,8 @@ destination, for an example. </dl> <div class="node"> -<p><hr> <a name="Link-types-for-hypertex"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Link-options-for-hypertex">Link options for hypertex</a>, Previous: <a rel="previous" accesskey="p" href="#Destination-options-for-hypertex">Destination options for hypertex</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a> @@ -4405,25 +4457,25 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink d <h5 class="subsubsection">5.4.2.3 Link types for <code>hypertex</code></h5> -<p><a name="index-link-types_002c-_0040code_007bhypertex_007d-725"></a><a name="index-types_002c-link_002c-_0040code_007bhypertex_007d-726"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-link-types-727"></a> +<p><a name="index-link-types_002c-_0040code_007bhypertex_007d-748"></a><a name="index-types_002c-link_002c-_0040code_007bhypertex_007d-749"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-link-types-750"></a> <dl> -<dt><code>name</code><dd><a name="index-name-_0040r_007b_0028hyperlink-type_0029_007d-728"></a><a name="index-named-destination-729"></a><a name="index-destinations_002c-named-730"></a><a name="index-hyperlink-destination_002c-named-731"></a>Go to a “named destination”. The label is the destination name. All +<dt><code>name</code><dd><a name="index-name-_0040r_007b_0028hyperlink-type_0029_007d-751"></a><a name="index-named-destination-752"></a><a name="index-destinations_002c-named-753"></a><a name="index-hyperlink-destination_002c-named-754"></a>Go to a “named destination”. The label is the destination name. All destinations in HyperTeX are named destinations. This is the default type. <p>Example: <code>\hlstart{name}{}{dest123}Link to dest123\hlend</code> - <br><dt><code>url</code><dd><a name="index-url-_0040r_007b_0028hyperlink-type_0029_007d-732"></a><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-733"></a><a name="index-destinations_002c-_0040acronym_007bURL_007d-734"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-735"></a>Go to a <acronym>URL</acronym>. The label is the <acronym>URL</acronym>. + <br><dt><code>url</code><dd><a name="index-url-_0040r_007b_0028hyperlink-type_0029_007d-755"></a><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-756"></a><a name="index-destinations_002c-_0040acronym_007bURL_007d-757"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-758"></a>Go to a <acronym>URL</acronym>. The label is the <acronym>URL</acronym>. <p>Example: <pre class="example"> <code>\hlstart{url}{}{http://tug.org/eplain/}Eplain home\hlend</code> - </pre> - <br><dt><code>filename</code><dd><a name="index-filename-_0040r_007b_0028hyperlink-type_0029_007d-736"></a><a name="index-file_002c-hyperlink-to-737"></a><a name="index-destinations_002c-in-another-file-738"></a><a name="index-hyperlinks_002c-to-another-file-739"></a>Go to a named destination in another file. The label is the +</pre> + <br><dt><code>filename</code><dd><a name="index-filename-_0040r_007b_0028hyperlink-type_0029_007d-759"></a><a name="index-file_002c-hyperlink-to-760"></a><a name="index-destinations_002c-in-another-file-761"></a><a name="index-hyperlinks_002c-to-another-file-762"></a>Go to a named destination in another file. The label is the destination name. The file name is specified by the -<a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-740"></a><code>file</code> option. The file name extension can be specified separately +<a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-763"></a><code>file</code> option. The file name extension can be specified separately by the -<a name="index-ext-_0040r_007b_0028hyperlink-option_0029_007d-741"></a><code>ext</code> option. The idea is to set the <code>ext</code> option globally at +<a name="index-ext-_0040r_007b_0028hyperlink-option_0029_007d-764"></a><code>ext</code> option. The idea is to set the <code>ext</code> option globally at the beginning of the document to avoid hard-coding the extension together with the file name within each link—HyperTeX is not restricted to any single output format, it can be <acronym>DVI</acronym>, @@ -4434,16 +4486,16 @@ restricted to any single output format, it can be <acronym>DVI</acronym>, <pre class="example"> \hlopts{ext=.pdf} \hlstart{filename}{file=book}{dest123} Link to dest123 in file `book.pdf'\hlend - </pre> - <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028hyperlink-type_0029_007d-742"></a>The link specification (in the form of a HyperTeX <code>\special</code>) is +</pre> + <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028hyperlink-type_0029_007d-765"></a>The link specification (in the form of a HyperTeX <code>\special</code>) is taken from the command sequence <code>\</code><var>cs</var>, where <var>cs</var> is the value of the -<a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-743"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use -<a name="index-g_t_0040_0040hllabel-744"></a><code>\@hllabel</code> to refer to the hyperlink label. Use the predefined +<a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-766"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use +<a name="index-g_t_0040_0040hllabel-767"></a><code>\@hllabel</code> to refer to the hyperlink label. Use the predefined command -<a name="index-hlhash-745"></a><code>\hlhash</code> to insert the <code>#</code> characters. This option is +<a name="index-hlhash-768"></a><code>\hlhash</code> to insert the <code>#</code> characters. This option is intended to be used with linkgroups (see <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>), as it does not make sense in a direct call to -<a name="index-hlstart-746"></a><code>\hlstart</code>—you can just call the raw command. +<a name="index-hlstart-769"></a><code>\hlstart</code>—you can just call the raw command. <p>Example: @@ -4452,12 +4504,12 @@ intended to be used with linkgroups (see <a href="#Setting-hyperlink-types-and-o \resetatcatcode \hlstart{raw}{cmd=mylink}{SpecialDest} Link to the special destination.\hlend - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Link-options-for-hypertex"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Link-types-for-hypertex">Link types for hypertex</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a> @@ -4465,21 +4517,21 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-driver-hypertex">Hyperlink d <h5 class="subsubsection">5.4.2.4 Link options for <code>hypertex</code></h5> -<p><a name="index-link-options_002c-_0040code_007bhypertex_007d-747"></a><a name="index-options_002c-link_002c-_0040code_007bhypertex_007d-748"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-link-options-749"></a> +<p><a name="index-link-options_002c-_0040code_007bhypertex_007d-770"></a><a name="index-options_002c-link_002c-_0040code_007bhypertex_007d-771"></a><a name="index-g_t_0040code_007bhypertex_007d_002c-link-options-772"></a> <dl> -<dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-750"></a>Name of the macro (without the leading `<samp><span class="samp">\</span></samp>') containing a +<dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-773"></a>Name of the macro (without the leading ‘<samp><span class="samp">\</span></samp>’) containing a HyperTeX <code>\special</code> for the <code>raw</code> link. <p>See <a href="#Link-types-for-hypertex">Link types for hypertex</a>, the description of the <code>raw</code> link, for an example. - <br><dt><code>file</code><dd><a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-751"></a>File name for the <code>filename</code> link type. See also the <code>ext</code> + <br><dt><code>file</code><dd><a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-774"></a>File name for the <code>filename</code> link type. See also the <code>ext</code> option. <p>See <a href="#Link-types-for-hypertex">Link types for hypertex</a>, the description of the <code>filename</code> link, for an example. - <br><dt><code>ext</code><dd><a name="index-ext-_0040r_007b_0028hyperlink-option_0029_007d-752"></a>File name extension for the <code>filename</code> link type. The idea is to + <br><dt><code>ext</code><dd><a name="index-ext-_0040r_007b_0028hyperlink-option_0029_007d-775"></a>File name extension for the <code>filename</code> link type. The idea is to set the <code>ext</code> option globally at the beginning of the document to avoid hard-coding the extension together with the file name within each link—HyperTeX is not restricted to any single output format, it can @@ -4490,8 +4542,8 @@ link, for an example. </dl> <div class="node"> -<p><hr> <a name="Hyperlink-drivers-pdftex-and-dvipdfm"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a>, Previous: <a rel="previous" accesskey="p" href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</a> @@ -4500,7 +4552,7 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</ <h4 class="subsection">5.4.3 Hyperlink drivers <code>pdftex</code> and <code>dvipdfm</code></h4> -<p><a name="index-pdftex-_0040r_007b_0028hyperlink-driver_0029_007d-753"></a><a name="index-dvipdfm-_0040r_007b_0028hyperlink-driver_0029_007d-754"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-hyperlink-driver-755"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-hyperlink-driver-756"></a><a name="index-driver-_0040code_007bpdftex_007d-757"></a><a name="index-driver-_0040code_007bdvipdfm_007d-758"></a><a name="index-hyperlink-driver-_0040code_007bpdftex_007d-759"></a><a name="index-hyperlink-driver-_0040code_007bdvipdfm_007d-760"></a>This subsection describes link and destination types and options +<p><a name="index-pdftex-_0040r_007b_0028hyperlink-driver_0029_007d-776"></a><a name="index-dvipdfm-_0040r_007b_0028hyperlink-driver_0029_007d-777"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-hyperlink-driver-778"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-hyperlink-driver-779"></a><a name="index-driver-_0040code_007bpdftex_007d-780"></a><a name="index-driver-_0040code_007bdvipdfm_007d-781"></a><a name="index-hyperlink-driver-_0040code_007bpdftex_007d-782"></a><a name="index-hyperlink-driver-_0040code_007bdvipdfm_007d-783"></a>This subsection describes link and destination types and options supported by the <code>pdftex</code> and <code>dvipdfm</code> drivers. Many of the hyperlink types and options are common to both drivers, so we describe them together. @@ -4513,8 +4565,8 @@ them together. </ul> <div class="node"> -<p><hr> <a name="Destination-types-for-pdftex-and-dvipdfm"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a> @@ -4522,73 +4574,73 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm"> <h5 class="subsubsection">5.4.3.1 Destination types for <code>pdftex</code> and <code>dvipdfm</code></h5> -<p><a name="index-destination-types_002c-_0040code_007bpdftex_007d-761"></a><a name="index-destination-types_002c-_0040code_007bdvipdfm_007d-762"></a><a name="index-types_002c-destination_002c-_0040code_007bpdftex_007d-763"></a><a name="index-types_002c-destination_002c-_0040code_007bdvipdfm_007d-764"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-destination-types-765"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-destination-types-766"></a> +<p><a name="index-destination-types_002c-_0040code_007bpdftex_007d-784"></a><a name="index-destination-types_002c-_0040code_007bdvipdfm_007d-785"></a><a name="index-types_002c-destination_002c-_0040code_007bpdftex_007d-786"></a><a name="index-types_002c-destination_002c-_0040code_007bdvipdfm_007d-787"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-destination-types-788"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-destination-types-789"></a> <dl> -<dt><code>xyz</code><dd><a name="index-xyz-_0040r_007b_0028destination-type_0029_007d-767"></a>“Current position”. The option -<a name="index-zoom-_0040r_007b_0028destination-option_0029_007d-768"></a><code>zoom</code> specifies magnification to use (zero or empty means leave +<dt><code>xyz</code><dd><a name="index-xyz-_0040r_007b_0028destination-type_0029_007d-790"></a>“Current position”. The option +<a name="index-zoom-_0040r_007b_0028destination-option_0029_007d-791"></a><code>zoom</code> specifies magnification to use (zero or empty means leave magnification unchanged, which is the default). This is the default type. <p>For <code>dvipdfm</code>: the options -<a name="index-left-_0040r_007b_0028destination-option_0029_007d-769"></a><code>left</code> and -<a name="index-top-_0040r_007b_0028destination-option_0029_007d-770"></a><code>top</code> specify position coordinates to use (empty options mean +<a name="index-left-_0040r_007b_0028destination-option_0029_007d-792"></a><code>left</code> and +<a name="index-top-_0040r_007b_0028destination-option_0029_007d-793"></a><code>top</code> specify position coordinates to use (empty options mean current position coordinate, which is the default). <p>Example: <code>\hldest{xyz}{zoom=2000}{dest123}</code> - <br><dt><code>fit</code><dd><a name="index-fit-_0040r_007b_0028destination-type_0029_007d-771"></a>Fit the page to the window. + <br><dt><code>fit</code><dd><a name="index-fit-_0040r_007b_0028destination-type_0029_007d-794"></a>Fit the page to the window. <p>Example: <code>\hldest{fit}{}{dest123}</code> - <br><dt><code>fith</code><dd><a name="index-fith-_0040r_007b_0028destination-type_0029_007d-772"></a>Fit the width of the page to the window. + <br><dt><code>fith</code><dd><a name="index-fith-_0040r_007b_0028destination-type_0029_007d-795"></a>Fit the width of the page to the window. <p>For <code>dvipdfm</code>: the -<a name="index-top-_0040r_007b_0028destination-option_0029_007d-773"></a><code>top</code> option specifies vertical position (default is empty, meaning +<a name="index-top-_0040r_007b_0028destination-option_0029_007d-796"></a><code>top</code> option specifies vertical position (default is empty, meaning current position). <p>Example: <code>\hldest{fith}{}{dest123}</code> - <br><dt><code>fitv</code><dd><a name="index-fitv-_0040r_007b_0028destination-type_0029_007d-774"></a>Fit the height of the page to the window. + <br><dt><code>fitv</code><dd><a name="index-fitv-_0040r_007b_0028destination-type_0029_007d-797"></a>Fit the height of the page to the window. <p>For <code>dvipdfm</code>: The option -<a name="index-left-_0040r_007b_0028destination-option_0029_007d-775"></a><code>left</code> specifies horizontal position (default is empty, meaning +<a name="index-left-_0040r_007b_0028destination-option_0029_007d-798"></a><code>left</code> specifies horizontal position (default is empty, meaning current position). <p>Example: <code>\hldest{fitv}{}{dest123}</code> - <br><dt><code>fitb</code><dd><a name="index-fitb-_0040r_007b_0028destination-type_0029_007d-776"></a>Fit the page's bounding box to the window. + <br><dt><code>fitb</code><dd><a name="index-fitb-_0040r_007b_0028destination-type_0029_007d-799"></a>Fit the page's bounding box to the window. <p>Example: <code>\hldest{fitb}{}{dest123}</code> - <br><dt><code>fitbh</code><dd><a name="index-fitbh-_0040r_007b_0028destination-type_0029_007d-777"></a>Fit the width of the page's bounding box to the window. + <br><dt><code>fitbh</code><dd><a name="index-fitbh-_0040r_007b_0028destination-type_0029_007d-800"></a>Fit the width of the page's bounding box to the window. <p>For <code>dvipdfm</code>: the option -<a name="index-top-_0040r_007b_0028destination-option_0029_007d-778"></a><code>top</code> specifies vertical position (default is empty, meaning +<a name="index-top-_0040r_007b_0028destination-option_0029_007d-801"></a><code>top</code> specifies vertical position (default is empty, meaning current position). <p>Example: <code>\hldest{fitbh}{}{dest123}</code> - <br><dt><code>fitbv</code><dd><a name="index-fitbv-_0040r_007b_0028destination-type_0029_007d-779"></a>Fit the height of the page's bounding box to the window. + <br><dt><code>fitbv</code><dd><a name="index-fitbv-_0040r_007b_0028destination-type_0029_007d-802"></a>Fit the height of the page's bounding box to the window. <p>For <code>dvipdfm</code>: the option -<a name="index-left-_0040r_007b_0028destination-option_0029_007d-780"></a><code>left</code> specifies horizontal position (default is empty, meaning +<a name="index-left-_0040r_007b_0028destination-option_0029_007d-803"></a><code>left</code> specifies horizontal position (default is empty, meaning current position). <p>Example: <code>\hldest{fitbv}{}{dest123}</code> - <br><dt><code>fitr</code><dd><a name="index-fitr-_0040r_007b_0028destination-type_0029_007d-781"></a>For <code>pdftex</code>: fit the rectangle specified by the options -<a name="index-width-_0040r_007b_0028destination-option_0029_007d-782"></a><code>width</code>, -<a name="index-height-_0040r_007b_0028destination-option_0029_007d-783"></a><code>height</code> and -<a name="index-depth-_0040r_007b_0028destination-option_0029_007d-784"></a><code>depth</code> (as a TeX rule specification) in the window. For + <br><dt><code>fitr</code><dd><a name="index-fitr-_0040r_007b_0028destination-type_0029_007d-804"></a>For <code>pdftex</code>: fit the rectangle specified by the options +<a name="index-width-_0040r_007b_0028destination-option_0029_007d-805"></a><code>width</code>, +<a name="index-height-_0040r_007b_0028destination-option_0029_007d-806"></a><code>height</code> and +<a name="index-depth-_0040r_007b_0028destination-option_0029_007d-807"></a><code>depth</code> (as a TeX rule specification) in the window. For dimensions set to empty, the corresponding value of the parent box is used (these are the defaults). <p>For <code>dvipdfm</code>: fit the rectangle specified by the options -<a name="index-left-_0040r_007b_0028destination-option_0029_007d-785"></a><code>left</code>, -<a name="index-bottom-_0040r_007b_0028destination-option_0029_007d-786"></a><code>bottom</code>, -<a name="index-right-_0040r_007b_0028destination-option_0029_007d-787"></a><code>right</code> and -<a name="index-top-_0040r_007b_0028destination-option_0029_007d-788"></a><code>top</code> (in -<a name="index-PostScript-point-789"></a>PostScript points, 72 <!-- /@w -->points per inch) in the window. For +<a name="index-left-_0040r_007b_0028destination-option_0029_007d-808"></a><code>left</code>, +<a name="index-bottom-_0040r_007b_0028destination-option_0029_007d-809"></a><code>bottom</code>, +<a name="index-right-_0040r_007b_0028destination-option_0029_007d-810"></a><code>right</code> and +<a name="index-top-_0040r_007b_0028destination-option_0029_007d-811"></a><code>top</code> (in +<a name="index-PostScript-point-812"></a>PostScript points, 72 points per inch) in the window. For dimensions set to empty, current position coordinate is substituted (these are the defaults). @@ -4596,19 +4648,19 @@ dimensions set to empty, current position coordinate is substituted <pre class="example"> \hldest{fitr}{width=\hsize, height=.5\vsize,depth=0pt}{dest123} - </pre> +</pre> <p>Example for <code>dvipdfm</code>: <pre class="example"> \hldest{fitr}{left=72,bottom=72, right=720,top=360}{dest123} - </pre> - <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028destination-type_0029_007d-790"></a>The destination specification (in the form of a pdfTeX command or a +</pre> + <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028destination-type_0029_007d-813"></a>The destination specification (in the form of a pdfTeX command or a dvipdfm <code>\special</code>) is taken from the command sequence <code>\</code><var>cs</var>, where <var>cs</var> is the value of the -<a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-791"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use -<a name="index-g_t_0040_0040hllabel-792"></a><code>\@hllabel</code> to refer to the hyperlink label. This option is +<a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-814"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use +<a name="index-g_t_0040_0040hllabel-815"></a><code>\@hllabel</code> to refer to the hyperlink label. This option is intended to be used with destgroups (see <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>), as it does not make sense in a direct call to -<a name="index-hldest-793"></a><code>\hldest</code>—you can just call the raw command. +<a name="index-hldest-816"></a><code>\hldest</code>—you can just call the raw command. <p>Example for <code>pdftex</code>: @@ -4617,7 +4669,7 @@ intended to be used with destgroups (see <a href="#Setting-hyperlink-types-and-o \resetatcatcode \hldesttype{raw} \hldestopts{cmd=mydest} - </pre> +</pre> <p>Example for <code>dvipdfm</code>: <pre class="example"> \makeatletter @@ -4626,12 +4678,12 @@ intended to be used with destgroups (see <a href="#Setting-hyperlink-types-and-o \resetatcatcode \hldesttype{raw} \hldestopts{cmd=mydest} - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Destination-options-for-pdftex-and-dvipdfm"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a>, Previous: <a rel="previous" accesskey="p" href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a> @@ -4640,7 +4692,7 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm"> <h5 class="subsubsection">5.4.3.2 Destination options for <code>pdftex</code> and <code>dvipdfm</code></h5> -<p><a name="index-destination-options_002c-_0040code_007bpdftex_007d-794"></a><a name="index-destination-options_002c-_0040code_007bdvipdfm_007d-795"></a><a name="index-options_002c-destination_002c-_0040code_007bpdftex_007d-796"></a><a name="index-options_002c-destination_002c-_0040code_007bdvipdfm_007d-797"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-destination-options-798"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-destination-options-799"></a>With respect to the destination options, the <code>pdftex</code> and +<p><a name="index-destination-options_002c-_0040code_007bpdftex_007d-817"></a><a name="index-destination-options_002c-_0040code_007bdvipdfm_007d-818"></a><a name="index-options_002c-destination_002c-_0040code_007bpdftex_007d-819"></a><a name="index-options_002c-destination_002c-_0040code_007bdvipdfm_007d-820"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-destination-options-821"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-destination-options-822"></a>With respect to the destination options, the <code>pdftex</code> and <code>dvipdfm</code> differ in the way the fit rectangle is specified (relative coordinates for <code>pdftex</code>, absolute coordinates for <code>dvipdfm</code>). @@ -4648,14 +4700,14 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm"> <h5 class="subsubheading">Common destination options</h5> <dl> -<dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-800"></a>Name of the macro (without the leading `<samp><span class="samp">\</span></samp>') containing a +<dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028destination-option_0029_007d-823"></a>Name of the macro (without the leading ‘<samp><span class="samp">\</span></samp>’) containing a pdfTeX command or a dvipdfm <code>\special</code> for the <code>raw</code> destination. <p>See <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a>, the description of the <code>raw</code> destination, for an example. - <br><dt><code>zoom</code><dd><a name="index-zoom-_0040r_007b_0028destination-option_0029_007d-801"></a><a name="index-destinations_002c-magnification-802"></a><a name="index-hyperlink-destination_002c-magnification-803"></a><a name="index-magnification_002c-hyperlink-destination-804"></a><a name="index-zooming_002c-hyperlink-destination-805"></a>Magnification ratio times 1000 (like TeX's scale factor). + <br><dt><code>zoom</code><dd><a name="index-zoom-_0040r_007b_0028destination-option_0029_007d-824"></a><a name="index-destinations_002c-magnification-825"></a><a name="index-hyperlink-destination_002c-magnification-826"></a><a name="index-magnification_002c-hyperlink-destination-827"></a><a name="index-zooming_002c-hyperlink-destination-828"></a>Magnification ratio times 1000 (like TeX's scale factor). Zero or empty means leave magnification unchanged, which is the default. @@ -4670,49 +4722,49 @@ of the parent box is used (this is the default for all dimension options). <dl> -<dt><code>depth</code><dd><a name="index-depth-_0040r_007b_0028destination-option_0029_007d-806"></a><a name="index-destinations_002c-dimensions-807"></a><a name="index-hyperlink-destination_002c-dimensions-808"></a><a name="index-dimensions_002c-hyperlink-destination-809"></a>Depth of the fit rectangle for the <code>fitr</code> destination. +<dt><code>depth</code><dd><a name="index-depth-_0040r_007b_0028destination-option_0029_007d-829"></a><a name="index-destinations_002c-dimensions-830"></a><a name="index-hyperlink-destination_002c-dimensions-831"></a><a name="index-dimensions_002c-hyperlink-destination-832"></a>Depth of the fit rectangle for the <code>fitr</code> destination. - <br><dt><code>height</code><dd><a name="index-height-_0040r_007b_0028destination-option_0029_007d-810"></a><a name="index-destinations_002c-dimensions-811"></a><a name="index-hyperlink-destination_002c-dimensions-812"></a><a name="index-dimensions_002c-hyperlink-destination-813"></a>Height of the fit rectangle for the <code>fitr</code> destination. + <br><dt><code>height</code><dd><a name="index-height-_0040r_007b_0028destination-option_0029_007d-833"></a><a name="index-destinations_002c-dimensions-834"></a><a name="index-hyperlink-destination_002c-dimensions-835"></a><a name="index-dimensions_002c-hyperlink-destination-836"></a>Height of the fit rectangle for the <code>fitr</code> destination. - <br><dt><code>width</code><dd><a name="index-width-_0040r_007b_0028destination-option_0029_007d-814"></a><a name="index-destinations_002c-dimensions-815"></a><a name="index-hyperlink-destination_002c-dimensions-816"></a><a name="index-dimensions_002c-hyperlink-destination-817"></a>Width of the fit rectangle for the <code>fitr</code> destination. + <br><dt><code>width</code><dd><a name="index-width-_0040r_007b_0028destination-option_0029_007d-837"></a><a name="index-destinations_002c-dimensions-838"></a><a name="index-hyperlink-destination_002c-dimensions-839"></a><a name="index-dimensions_002c-hyperlink-destination-840"></a>Width of the fit rectangle for the <code>fitr</code> destination. <p>Example: <pre class="example"> \hldest{fitr}{width=\hsize, height=.5\vsize,depth=0pt}{dest123} - </pre> +</pre> </dl> <h5 class="subsubheading"><code>dvipdfm</code>-specific destination options</h5> <p>The dimension options below must be specified in -<a name="index-PostScript-point-818"></a>PostScript points (72 <!-- /@w -->points per inch), as a number without the -`<samp><span class="samp">bp</span></samp>' unit name. When set to empty, the current position +<a name="index-PostScript-point-841"></a>PostScript points (72 points per inch), as a number without the +‘<samp><span class="samp">bp</span></samp>’ unit name. When set to empty, the current position coordinate is used (this is the default for all dimension options). <dl> -<dt><code>bottom</code><dd><a name="index-bottom-_0040r_007b_0028destination-option_0029_007d-819"></a><a name="index-destinations_002c-dimensions-820"></a><a name="index-hyperlink-destination_002c-dimensions-821"></a><a name="index-dimensions_002c-hyperlink-destination-822"></a>Bottom position coordinate of a box specification for the various +<dt><code>bottom</code><dd><a name="index-bottom-_0040r_007b_0028destination-option_0029_007d-842"></a><a name="index-destinations_002c-dimensions-843"></a><a name="index-hyperlink-destination_002c-dimensions-844"></a><a name="index-dimensions_002c-hyperlink-destination-845"></a>Bottom position coordinate of a box specification for the various destination types. - <br><dt><code>left</code><dd><a name="index-left-_0040r_007b_0028destination-option_0029_007d-823"></a><a name="index-destinations_002c-dimensions-824"></a><a name="index-hyperlink-destination_002c-dimensions-825"></a><a name="index-dimensions_002c-hyperlink-destination-826"></a>Left position coordinate of a box specification for the various + <br><dt><code>left</code><dd><a name="index-left-_0040r_007b_0028destination-option_0029_007d-846"></a><a name="index-destinations_002c-dimensions-847"></a><a name="index-hyperlink-destination_002c-dimensions-848"></a><a name="index-dimensions_002c-hyperlink-destination-849"></a>Left position coordinate of a box specification for the various destination types. - <br><dt><code>right</code><dd><a name="index-right-_0040r_007b_0028destination-option_0029_007d-827"></a><a name="index-destinations_002c-dimensions-828"></a><a name="index-hyperlink-destination_002c-dimensions-829"></a><a name="index-dimensions_002c-hyperlink-destination-830"></a>Right position coordinate of a box specification for the various + <br><dt><code>right</code><dd><a name="index-right-_0040r_007b_0028destination-option_0029_007d-850"></a><a name="index-destinations_002c-dimensions-851"></a><a name="index-hyperlink-destination_002c-dimensions-852"></a><a name="index-dimensions_002c-hyperlink-destination-853"></a>Right position coordinate of a box specification for the various destination types. - <br><dt><code>top</code><dd><a name="index-top-_0040r_007b_0028destination-option_0029_007d-831"></a><a name="index-destinations_002c-dimensions-832"></a><a name="index-hyperlink-destination_002c-dimensions-833"></a><a name="index-dimensions_002c-hyperlink-destination-834"></a>Top position coordinate of a box specification for the various + <br><dt><code>top</code><dd><a name="index-top-_0040r_007b_0028destination-option_0029_007d-854"></a><a name="index-destinations_002c-dimensions-855"></a><a name="index-hyperlink-destination_002c-dimensions-856"></a><a name="index-dimensions_002c-hyperlink-destination-857"></a>Top position coordinate of a box specification for the various destination types. <p>Example: <pre class="example"> \hldest{fitr}{left=72,bottom=72, right=720,top=360}{dest123} - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Link-types-for-pdftex-and-dvipdfm"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a>, Previous: <a rel="previous" accesskey="p" href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a> @@ -4721,7 +4773,7 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm"> <h5 class="subsubsection">5.4.3.3 Link types for <code>pdftex</code> and <code>dvipdfm</code></h5> -<p><a name="index-link-types_002c-_0040code_007bpdftex_007d-835"></a><a name="index-link-types_002c-_0040code_007bdvipdfm_007d-836"></a><a name="index-types_002c-link_002c-_0040code_007bpdftex_007d-837"></a><a name="index-types_002c-link_002c-_0040code_007bdvipdfm_007d-838"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-link-types-839"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-link-types-840"></a>Link types are the same for the <code>pdftex</code> and <code>dvipdfm</code> +<p><a name="index-link-types_002c-_0040code_007bpdftex_007d-858"></a><a name="index-link-types_002c-_0040code_007bdvipdfm_007d-859"></a><a name="index-types_002c-link_002c-_0040code_007bpdftex_007d-860"></a><a name="index-types_002c-link_002c-_0040code_007bdvipdfm_007d-861"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-link-types-862"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-link-types-863"></a>Link types are the same for the <code>pdftex</code> and <code>dvipdfm</code> drivers, except that the <code>pdftex</code> driver provides one additional link type <code>num</code> (link to a numbered destination). dvipdfm does not support numbered destinations, therefore it does not have this link @@ -4732,42 +4784,42 @@ low-level pdfTeX commands. <h5 class="subsubheading">Common link types</h5> <dl> -<dt><code>name</code><dd><a name="index-name-_0040r_007b_0028hyperlink-type_0029_007d-841"></a><a name="index-named-destination-842"></a><a name="index-destinations_002c-named-843"></a><a name="index-hyperlink-destination_002c-named-844"></a>Go to a “named destination”. The label is the destination name. +<dt><code>name</code><dd><a name="index-name-_0040r_007b_0028hyperlink-type_0029_007d-864"></a><a name="index-named-destination-865"></a><a name="index-destinations_002c-named-866"></a><a name="index-hyperlink-destination_002c-named-867"></a>Go to a “named destination”. The label is the destination name. All destinations created with <code>\hldest</code> are named destinations (see <a href="#Explicit-hyperlinks">Explicit hyperlinks</a>). This is the default type. <p>Example: <code>\hlstart{name}{}{dest123}Link to dest123\hlend</code> - <br><dt><code>url</code><dd><a name="index-url-_0040r_007b_0028hyperlink-type_0029_007d-845"></a><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-846"></a><a name="index-destinations_002c-_0040acronym_007bURL_007d-847"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-848"></a>Go to a <acronym>URL</acronym>. The label is the <acronym>URL</acronym>. + <br><dt><code>url</code><dd><a name="index-url-_0040r_007b_0028hyperlink-type_0029_007d-868"></a><a name="index-g_t_0040acronym_007bURL_007d-hyperlink-869"></a><a name="index-destinations_002c-_0040acronym_007bURL_007d-870"></a><a name="index-hyperlinks_002c-_0040acronym_007bURL_007d-871"></a>Go to a <acronym>URL</acronym>. The label is the <acronym>URL</acronym>. <p>Example: <code>\hlstart{url}{}{http://tug.org/eplain/}Eplain home\hlend</code> - <br><dt><code>page</code><dd><a name="index-page-_0040r_007b_0028hyperlink-type_0029_007d-849"></a><a name="index-page-destination-850"></a><a name="index-destinations_002c-page-851"></a><a name="index-hyperlink-destination_002c-page-852"></a>Go to a page. The label is the page number (counting from <!-- /@w -->1). + <br><dt><code>page</code><dd><a name="index-page-_0040r_007b_0028hyperlink-type_0029_007d-872"></a><a name="index-page-destination-873"></a><a name="index-destinations_002c-page-874"></a><a name="index-hyperlink-destination_002c-page-875"></a>Go to a page. The label is the page number (counting from 1). Page fitting is specified by the -<a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-853"></a><code>pagefit</code> option. +<a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-876"></a><code>pagefit</code> option. <p>Example: <pre class="example"> \hlstart{page}{pagefit=/FitH 600}{123} Link to page~123\hlend - </pre> - <br><dt><code>filename</code><dd><a name="index-filename-_0040r_007b_0028hyperlink-type_0029_007d-854"></a><a name="index-file_002c-hyperlink-to-855"></a><a name="index-destinations_002c-in-another-file-856"></a><a name="index-hyperlinks_002c-to-another-file-857"></a>Go to a named destination in another file. The label is the +</pre> + <br><dt><code>filename</code><dd><a name="index-filename-_0040r_007b_0028hyperlink-type_0029_007d-877"></a><a name="index-file_002c-hyperlink-to-878"></a><a name="index-destinations_002c-in-another-file-879"></a><a name="index-hyperlinks_002c-to-another-file-880"></a>Go to a named destination in another file. The label is the destination name. The file name is specified by the -<a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-858"></a><code>file</code> option. Page fitting is specified by the -<a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-859"></a><code>pagefit</code> option. The -<a name="index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-860"></a><code>newwin</code> option specifies whether the destination document is +<a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-881"></a><code>file</code> option. Page fitting is specified by the +<a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-882"></a><code>pagefit</code> option. The +<a name="index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-883"></a><code>newwin</code> option specifies whether the destination document is opened in the same window or in a new window. <p>Example: <pre class="example"> \hlstart{filename}{file=book.pdf,newwin=1}{dest123} Link to dest123 in file `book.pdf'\hlend - </pre> - <br><dt><code>filepage</code><dd><a name="index-filepage-_0040r_007b_0028hyperlink-type_0029_007d-861"></a><a name="index-file_002c-hyperlink-to-862"></a><a name="index-destinations_002c-in-another-file-863"></a><a name="index-hyperlinks_002c-to-another-file-864"></a>Go to a page in another file. The label is the page number (counting -from <!-- /@w -->1). The file name is specified by the -<a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-865"></a><code>file</code> option. Page fitting is specified by the -<a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-866"></a><code>pagefit</code> option. The -<a name="index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-867"></a><code>newwin</code> option specifies whether the destination document is +</pre> + <br><dt><code>filepage</code><dd><a name="index-filepage-_0040r_007b_0028hyperlink-type_0029_007d-884"></a><a name="index-file_002c-hyperlink-to-885"></a><a name="index-destinations_002c-in-another-file-886"></a><a name="index-hyperlinks_002c-to-another-file-887"></a>Go to a page in another file. The label is the page number (counting +from 1). The file name is specified by the +<a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-888"></a><code>file</code> option. Page fitting is specified by the +<a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-889"></a><code>pagefit</code> option. The +<a name="index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-890"></a><code>newwin</code> option specifies whether the destination document is opened in the same window or in a new window. <p>Example: @@ -4775,14 +4827,14 @@ opened in the same window or in a new window. <pre class="example"> \hlstart{filepage}{file=book.pdf,newwin=, pagefit=/FitR 50 100 300 500}{1} Link to page~1 in file `book.pdf'\hlend - </pre> - <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028hyperlink-type_0029_007d-868"></a>The link specification (in the form of a pdfTeX command or a dvipdfm +</pre> + <br><dt><code>raw</code><dd><a name="index-raw-_0040r_007b_0028hyperlink-type_0029_007d-891"></a>The link specification (in the form of a pdfTeX command or a dvipdfm <code>\special</code> primitive) is taken from the command sequence <code>\</code><var>cs</var>, where <var>cs</var> is the value of the -<a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-869"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use -<a name="index-g_t_0040_0040hllabel-870"></a><code>\@hllabel</code> to refer to the hyperlink label. This option is +<a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-892"></a><code>cmd</code> option. In the definition of <code>\</code><var>cs</var>, use +<a name="index-g_t_0040_0040hllabel-893"></a><code>\@hllabel</code> to refer to the hyperlink label. This option is intended to be used with linkgroups (see <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>), as it does not make sense in a direct call to -<a name="index-hlstart-871"></a><code>\hlstart</code>—you can just call the raw command. +<a name="index-hlstart-894"></a><code>\hlstart</code>—you can just call the raw command. <p>Example for <code>pdftex</code>: @@ -4790,7 +4842,7 @@ intended to be used with linkgroups (see <a href="#Setting-hyperlink-types-and-o \def\mycmd{\pdfstartlink goto page 1 {/Fit}} \hltype[url]{raw} \hlopts[url]{cmd=mycmd} - </pre> +</pre> <p>Example for <code>dvipdfm</code>: <pre class="example"> % Redirect all \url links to the first page @@ -4798,21 +4850,21 @@ intended to be used with linkgroups (see <a href="#Setting-hyperlink-types-and-o /Dest[0 /Fit]>>}} \hltype[url]{raw} \hlopts[url]{cmd=mycmd} - </pre> +</pre> </dl> <h5 class="subsubheading"><code>pdftex</code>-specific link types</h5> <dl> -<dt><code>num</code><dd><a name="index-num-_0040r_007b_0028hyperlink-type_0029_007d-872"></a><a name="index-numbered-destination-873"></a><a name="index-destinations_002c-numbered-874"></a><a name="index-hyperlink-destination_002c-numbered-875"></a>Go to a “numbered destination”. The label is the destination +<dt><code>num</code><dd><a name="index-num-_0040r_007b_0028hyperlink-type_0029_007d-895"></a><a name="index-numbered-destination-896"></a><a name="index-destinations_002c-numbered-897"></a><a name="index-hyperlink-destination_002c-numbered-898"></a>Go to a “numbered destination”. The label is the destination number. <p>Example: <code>\hlstart{num}{}{123}Link to 123\hlend</code> </dl> <div class="node"> -<p><hr> <a name="Link-options-for-pdftex-and-dvipdfm"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a> @@ -4820,31 +4872,31 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers-pdftex-and-dvipdfm"> <h5 class="subsubsection">5.4.3.4 Link options for <code>pdftex</code> and <code>dvipdfm</code></h5> -<p><a name="index-link-options_002c-_0040code_007bpdftex_007d-876"></a><a name="index-link-options_002c-_0040code_007bdvipdfm_007d-877"></a><a name="index-options_002c-link_002c-_0040code_007bpdftex_007d-878"></a><a name="index-options_002c-link_002c-_0040code_007bdvipdfm_007d-879"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-link-options-880"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-link-options-881"></a>Link options are mostly the same for the <code>pdftex</code> and +<p><a name="index-link-options_002c-_0040code_007bpdftex_007d-899"></a><a name="index-link-options_002c-_0040code_007bdvipdfm_007d-900"></a><a name="index-options_002c-link_002c-_0040code_007bpdftex_007d-901"></a><a name="index-options_002c-link_002c-_0040code_007bdvipdfm_007d-902"></a><a name="index-g_t_0040code_007bpdftex_007d_002c-link-options-903"></a><a name="index-g_t_0040code_007bdvipdfm_007d_002c-link-options-904"></a>Link options are mostly the same for the <code>pdftex</code> and <code>dvipdfm</code> drivers. The <code>pdftex</code> driver has additional options to specify link dimensions. <h5 class="subsubheading">Common link options</h5> <dl> -<dt><code>bcolor</code><dd><a name="index-bcolor-_0040r_007b_0028hyperlink-option_0029_007d-882"></a><a name="index-hyperlink-border-color-883"></a><a name="index-border-color_002c-hyperlink-884"></a><a name="index-color_002c-hyperlink-border-885"></a>Border color. An array of three numbers in the range 0 to 1, +<dt><code>bcolor</code><dd><a name="index-bcolor-_0040r_007b_0028hyperlink-option_0029_007d-905"></a><a name="index-hyperlink-border-color-906"></a><a name="index-border-color_002c-hyperlink-907"></a><a name="index-color_002c-hyperlink-border-908"></a>Border color. An array of three numbers in the range 0 to 1, representing a color in DeviceRGB. <p>Example: <code>\hlstart{name}{bcolor=.1 .5 1}{dest123}Link\hlend</code> - <br><dt><code>bdash</code><dd><a name="index-bdash-_0040r_007b_0028hyperlink-option_0029_007d-886"></a><a name="index-dashed-hyperlink-border-887"></a><a name="index-hyperlinks_002c-border-style-888"></a><a name="index-border-style_002c-hyperlink-889"></a>Array of numbers representing on and off stroke lengths for drawing + <br><dt><code>bdash</code><dd><a name="index-bdash-_0040r_007b_0028hyperlink-option_0029_007d-909"></a><a name="index-dashed-hyperlink-border-910"></a><a name="index-hyperlinks_002c-border-style-911"></a><a name="index-border-style_002c-hyperlink-912"></a>Array of numbers representing on and off stroke lengths for drawing dashes. <p>Example: <code>\hlstart{name}{bstyle=D,bdash=2 4}{dest123}Link\hlend</code> - <br><dt><code>bstyle</code><dd><a name="index-bstyle-_0040r_007b_0028hyperlink-option_0029_007d-890"></a><a name="index-solid-hyperlink-border-891"></a><a name="index-dashed-hyperlink-border-892"></a><a name="index-beveled-hyperlink-border-893"></a><a name="index-inset-hyperlink-border-894"></a><a name="index-underline-hyperlink-border-895"></a><a name="index-hyperlinks_002c-border-style-896"></a><a name="index-style_002c-hyperlink-border-897"></a><a name="index-border-style_002c-hyperlink-898"></a>Link border style: + <br><dt><code>bstyle</code><dd><a name="index-bstyle-_0040r_007b_0028hyperlink-option_0029_007d-913"></a><a name="index-solid-hyperlink-border-914"></a><a name="index-dashed-hyperlink-border-915"></a><a name="index-beveled-hyperlink-border-916"></a><a name="index-inset-hyperlink-border-917"></a><a name="index-underline-hyperlink-border-918"></a><a name="index-hyperlinks_002c-border-style-919"></a><a name="index-style_002c-hyperlink-border-920"></a><a name="index-border-style_002c-hyperlink-921"></a>Link border style: <dl> <dt><code>S</code><dd>The border is drawn as a solid line. <br><dt><code>D</code><dd>The border is drawn with a dashed line (the dash pattern is specified by the -<a name="index-bdash-_0040r_007b_0028hyperlink-option_0029_007d-899"></a><code>bdash</code> option). +<a name="index-bdash-_0040r_007b_0028hyperlink-option_0029_007d-922"></a><code>bdash</code> option). <br><dt><code>B</code><dd>The border is drawn in a beveled style. @@ -4853,27 +4905,27 @@ by the <br><dt><code>U</code><dd>The border is drawn as a line on the bottom of the link rectangle. </dl> - <p>The default is `<samp><span class="samp">S</span></samp>'. + <p>The default is ‘<samp><span class="samp">S</span></samp>’. <p>Example: <code>\hlstart{name}{bstyle=D,bdash=2 4}{dest123}Link\hlend</code> - <br><dt><code>bwidth</code><dd><a name="index-bwidth-_0040r_007b_0028hyperlink-option_0029_007d-900"></a><a name="index-width_002c-hyperlink-border-901"></a><a name="index-hyperlinks_002c-border-width-902"></a><a name="index-border-width_002c-hyperlink-903"></a>Border width in -<a name="index-PostScript-point-904"></a>PostScript points (72 <!-- /@w -->points per inch). The default is <!-- /@w -->1. + <br><dt><code>bwidth</code><dd><a name="index-bwidth-_0040r_007b_0028hyperlink-option_0029_007d-923"></a><a name="index-width_002c-hyperlink-border-924"></a><a name="index-hyperlinks_002c-border-width-925"></a><a name="index-border-width_002c-hyperlink-926"></a>Border width in +<a name="index-PostScript-point-927"></a>PostScript points (72 points per inch). The default is 1. <p>Example: <code>\hlstart{name}{bwidth=2}{dest123}Link\hlend</code> - <br><dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-905"></a>Name of the macro (without the leading `<samp><span class="samp">\</span></samp>') containing a + <br><dt><code>cmd</code><dd><a name="index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-928"></a>Name of the macro (without the leading ‘<samp><span class="samp">\</span></samp>’) containing a pdfTeX command or a dvipdfm <code>\special</code> for the <code>raw</code> link. <p>See <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a>, the description of the <code>raw</code> link, for an example. - <br><dt><code>file</code><dd><a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-906"></a>File name for the <code>filename</code> and <code>filepage</code> link types. + <br><dt><code>file</code><dd><a name="index-file-_0040r_007b_0028hyperlink-option_0029_007d-929"></a>File name for the <code>filename</code> and <code>filepage</code> link types. <p>See <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a>, the descriptions of the <code>filename</code> and <code>filepage</code> links, for an example. - <br><dt><code>hlight</code><dd><a name="index-hlight-_0040r_007b_0028hyperlink-option_0029_007d-907"></a><a name="index-hyperlinks_002c-highlight-mode-908"></a><a name="index-highlight-modes_002c-hyperlink-909"></a>Link border highlight modes: + <br><dt><code>hlight</code><dd><a name="index-hlight-_0040r_007b_0028hyperlink-option_0029_007d-930"></a><a name="index-hyperlinks_002c-highlight-mode-931"></a><a name="index-highlight-modes_002c-hyperlink-932"></a>Link border highlight modes: <dl> <dt><code>I</code><dd>The rectangle specified by the bounding box of the link is inverted. @@ -4886,11 +4938,11 @@ pdfTeX command or a dvipdfm <code>\special</code> for the <code>raw</code> link. the page. </dl> - <p>The default is `<samp><span class="samp">I</span></samp>'. + <p>The default is ‘<samp><span class="samp">I</span></samp>’. <p>Example: <code>\hlstart{name}{bstyle=S,hlight=O}{dest123}Link\hlend</code> - <br><dt><code>newwin</code><dd><a name="index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-910"></a><a name="index-hyperlinks_002c-opening-in-a-new-window-911"></a><a name="index-new-window_002c-opening-hyperlink-in-912"></a>For the <code>filename</code> and <code>filepage</code> links, specifies whether the destination document is + <br><dt><code>newwin</code><dd><a name="index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-933"></a><a name="index-hyperlinks_002c-opening-in-a-new-window-934"></a><a name="index-new-window_002c-opening-hyperlink-in-935"></a>For the <code>filename</code> and <code>filepage</code> links, specifies whether the destination document is opened in the same window or in a new window. The settings are: <dl> @@ -4904,7 +4956,7 @@ opened in the same window or in a new window. The settings are: <p>See <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a>, the descriptions of the <code>filename</code> and <code>filepage</code> links, for an example. - <br><dt><code>pagefit</code><dd><a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-913"></a>For the <code>page</code> and <code>filepage links</code>, specifies how the page + <br><dt><code>pagefit</code><dd><a name="index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-936"></a>For the <code>page</code> and <code>filepage links</code>, specifies how the page must be fitted to the window. <code>pagefit</code> specification is written to the <acronym>PDF</acronym> file as is, so it must conform to the <acronym>PDF</acronym> standard. @@ -4921,22 +4973,22 @@ of the parent box is used (this is the default for all dimension options). <dl> -<dt><code>depth</code><dd><a name="index-depth-_0040r_007b_0028hyperlink-option_0029_007d-914"></a><a name="index-hyperlink-dimensions-915"></a><a name="index-dimensions_002c-hyperlink-916"></a>Depth of the link. +<dt><code>depth</code><dd><a name="index-depth-_0040r_007b_0028hyperlink-option_0029_007d-937"></a><a name="index-hyperlink-dimensions-938"></a><a name="index-dimensions_002c-hyperlink-939"></a>Depth of the link. - <br><dt><code>height</code><dd><a name="index-height-_0040r_007b_0028hyperlink-option_0029_007d-917"></a><a name="index-hyperlink-dimensions-918"></a><a name="index-dimensions_002c-hyperlink-919"></a>Height of the link. + <br><dt><code>height</code><dd><a name="index-height-_0040r_007b_0028hyperlink-option_0029_007d-940"></a><a name="index-hyperlink-dimensions-941"></a><a name="index-dimensions_002c-hyperlink-942"></a>Height of the link. - <br><dt><code>width</code><dd><a name="index-width-_0040r_007b_0028hyperlink-option_0029_007d-920"></a><a name="index-hyperlink-dimensions-921"></a><a name="index-dimensions_002c-hyperlink-922"></a>Width of the link. + <br><dt><code>width</code><dd><a name="index-width-_0040r_007b_0028hyperlink-option_0029_007d-943"></a><a name="index-hyperlink-dimensions-944"></a><a name="index-dimensions_002c-hyperlink-945"></a>Width of the link. <p>Example: <pre class="example"> \hlstart{name}{width=5in,height=20pc,depth=0pt}{dest123} Link\hlend - </pre> +</pre> </dl> <div class="node"> -<p><hr> <a name="Hyperlink-driver-nolinks"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a>, Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</a> @@ -4944,13 +4996,13 @@ Up: <a rel="up" accesskey="u" href="#Hyperlink-drivers">Hyperlink drivers</ <h4 class="subsection">5.4.4 Hyperlink driver <code>nolinks</code></h4> -<p><a name="index-nolinks-_0040r_007b_0028hyperlink-driver_0029_007d-923"></a><a name="index-g_t_0040code_007bnolinks_007d_002c-hyperlink-driver-924"></a><a name="index-driver-_0040code_007bnolinks_007d-925"></a><a name="index-hyperlink-driver-_0040code_007bnolinks_007d-926"></a><a name="index-omitting-hyperlinks-927"></a><a name="index-disabling-hyperlinks-928"></a><a name="index-hyperlinks_002c-disabling-929"></a><a name="index-destinations_002c-disabling-930"></a><a name="index-spacing_002c-preserving-with-hyperlinks-931"></a><a name="index-hyperlinks_002c-preserving-spacing-932"></a><a name="index-page_002dbreaking_002c-preserving-with-hyperlinks-933"></a><a name="index-hyperlinks_002c-preserving-page_002dbreaking-934"></a>Select this driver to suppress all hyperlinks in your document. +<p><a name="index-nolinks-_0040r_007b_0028hyperlink-driver_0029_007d-946"></a><a name="index-g_t_0040code_007bnolinks_007d_002c-hyperlink-driver-947"></a><a name="index-driver-_0040code_007bnolinks_007d-948"></a><a name="index-hyperlink-driver-_0040code_007bnolinks_007d-949"></a><a name="index-omitting-hyperlinks-950"></a><a name="index-disabling-hyperlinks-951"></a><a name="index-hyperlinks_002c-disabling-952"></a><a name="index-destinations_002c-disabling-953"></a><a name="index-spacing_002c-preserving-with-hyperlinks-954"></a><a name="index-hyperlinks_002c-preserving-spacing-955"></a><a name="index-page_002dbreaking_002c-preserving-with-hyperlinks-956"></a><a name="index-hyperlinks_002c-preserving-page_002dbreaking-957"></a>Select this driver to suppress all hyperlinks in your document. <p>Selecting this driver is quite different from not selecting any driver at all, or from selecting some driver and then turning hyperlinks off for the entire document with -<a name="index-hloff-935"></a><code>\hloff</code> and -<a name="index-hldestoff-936"></a><code>\hldestoff</code> (see <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a>). +<a name="index-hloff-958"></a><code>\hloff</code> and +<a name="index-hldestoff-959"></a><code>\hldestoff</code> (see <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a>). <p>The purpose of <code>\hldestoff</code> and <code>\hloff</code> is to mark (parts) of your document where hyperlinks should never appear. (Imagine you want @@ -4965,7 +5017,7 @@ same as what you were getting with hyperlinks enabled. <p>The reason for this is that hyperlinks are produced by the <code>\special</code> primitives or low-level hyperlink commands. Each such command is placed inside a -<a name="index-whatsits-made-by-hyperlinks-937"></a><dfn>whatsit</dfn> (an internal TeX object), which may introduce +<a name="index-whatsits-made-by-hyperlinks-960"></a><dfn>whatsit</dfn> (an internal TeX object), which may introduce legitimate breakpoints at places where none would exist without the whatsits. The macros <code>\hldestoff</code> and <code>\hloff</code> disable the hyperlink macros completely, so that no whatsits are produced. @@ -4975,7 +5027,7 @@ hyperlink macros. Instead, it defines them to merely write to the log file (what gets written is unimportant). This also produces whatsits, thus imitating the whatsits from the hyperlink commands. (This trick was borrowed from the -<a name="index-color_002esty-938"></a><a name="index-graphics-collection_002c-_0040LaTeX_007b_007d-939"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection-940"></a>LaTeX `color' package.) +<a name="index-color_002esty-961"></a><a name="index-graphics-collection_002c-_0040LaTeX_007b_007d-962"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection-963"></a>LaTeX `color' package.) <p>Another reason for using <code>nolinks</code> is that in horizontal mode <code>\hldest</code> places destinations inside boxes of zero width, height, @@ -4989,7 +5041,7 @@ defining <code>\hldest</code> to produce the empty boxes. document both with and without hyperlinks, here is the recommended way to enable the hyperlinks under pdfTeX: - <p><a name="index-enablehyperlinks-941"></a> + <p><a name="index-enablehyperlinks-964"></a> <pre class="example"> \ifpdf \enablehyperlinks \else @@ -4997,8 +5049,8 @@ to enable the hyperlinks under pdfTeX: \fi </pre> <div class="node"> -<p><hr> <a name="Setting-hyperlink-types-and-options"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a>, Previous: <a rel="previous" accesskey="p" href="#Hyperlink-drivers">Hyperlink drivers</a>, Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> @@ -5007,14 +5059,14 @@ Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> <h3 class="section">5.5 Setting hyperlink types and options</h3> -<p><a name="index-default-hyperlink-type-942"></a><a name="index-default-hyperlink-options-943"></a><a name="index-hyperlinks_002c-default-type-944"></a><a name="index-hyperlinks_002c-default-options-945"></a><a name="index-destinations_002c-default-type-946"></a><a name="index-destinations_002c-default-options-947"></a>You can define default types for links and destinations, which will be +<p><a name="index-default-hyperlink-type-965"></a><a name="index-default-hyperlink-options-966"></a><a name="index-hyperlinks_002c-default-type-967"></a><a name="index-hyperlinks_002c-default-options-968"></a><a name="index-destinations_002c-default-type-969"></a><a name="index-destinations_002c-default-options-970"></a>You can define default types for links and destinations, which will be used when you do not specify a type in -<a name="index-hlstart-948"></a><code>\hlstart</code> or -<a name="index-hldest-949"></a><code>\hldest</code>. Similarly, you can define default values for the +<a name="index-hlstart-971"></a><code>\hlstart</code> or +<a name="index-hldest-972"></a><code>\hldest</code>. Similarly, you can define default values for the options; the default value for an option is used when you do not set the option in the argument to <code>\hlstart</code> or <code>\hldest</code>. - <p><a name="index-group-type_002c-hyperlink-950"></a><a name="index-group-options_002c-hyperlink-951"></a><a name="index-hyperlinks_002c-group-type-952"></a><a name="index-hyperlinks_002c-group-options-953"></a><a name="index-link_002c-group-type-954"></a><a name="index-link_002c-group-options-955"></a><a name="index-linkgroup-type-956"></a><a name="index-linkgroup-options-957"></a><a name="index-destinations_002c-group-type-958"></a><a name="index-destinations_002c-group-options-959"></a><a name="index-destgroup-type-960"></a><a name="index-destgroup-options-961"></a>The parameters for implicit links and destinations can be customized by + <p><a name="index-group-type_002c-hyperlink-973"></a><a name="index-group-options_002c-hyperlink-974"></a><a name="index-hyperlinks_002c-group-type-975"></a><a name="index-hyperlinks_002c-group-options-976"></a><a name="index-link_002c-group-type-977"></a><a name="index-link_002c-group-options-978"></a><a name="index-linkgroup-type-979"></a><a name="index-linkgroup-options-980"></a><a name="index-destinations_002c-group-type-981"></a><a name="index-destinations_002c-group-options-982"></a><a name="index-destgroup-type-983"></a><a name="index-destgroup-options-984"></a>The parameters for implicit links and destinations can be customized by setting the “group” types and options. When not set, the defaults are used. @@ -5030,8 +5082,8 @@ previous settings are restored. </ul> <div class="node"> -<p><hr> <a name="Setting-default-types-and-options"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Setting-group-types">Setting group types</a>, Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a> @@ -5039,7 +5091,7 @@ Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">S <h4 class="subsection">5.5.1 Setting default types and options</h4> -<p><a name="index-hltype-962"></a><a name="index-hldesttype-963"></a>The default types for links and destinations can be set with the +<p><a name="index-hltype-985"></a><a name="index-hldesttype-986"></a>The default types for links and destinations can be set with the following commands: <pre class="example"> \hltype{<var>type</var>} @@ -5049,19 +5101,19 @@ following commands: link/destination types supported by the selected hyperlink driver (see <a href="#Hyperlink-drivers">Hyperlink drivers</a>). - <p><a name="index-hlopts-964"></a><a name="index-hldestopts-965"></a>Default values for the options can be set with the following commands: + <p><a name="index-hlopts-987"></a><a name="index-hldestopts-988"></a>Default values for the options can be set with the following commands: <pre class="example"> \hlopts{<var>options</var>} \hldestopts{<var>options</var>} </pre> <p class="noindent">where <var>options</var> is a comma-separated list of option -assignments in the format `<samp><var>option</var><span class="samp">=</span><var>value</var></samp>'. Again, what options +assignments in the format ‘<samp><var>option</var><span class="samp">=</span><var>value</var></samp>’. Again, what options are allowed depends on the selected hyperlink driver. - <p><a name="index-boxed-links_002c-avoiding-966"></a><a name="index-avoiding-boxed-links-967"></a><a name="index-color_002c-hyperlinks-968"></a><a name="index-colored-links-969"></a><a name="index-hyperlink-color-970"></a>Many people regard the default boxed links as not aesthetic and + <p><a name="index-boxed-links_002c-avoiding-989"></a><a name="index-avoiding-boxed-links-990"></a><a name="index-color_002c-hyperlinks-991"></a><a name="index-colored-links-992"></a><a name="index-hyperlink-color-993"></a>Many people regard the default boxed links as not aesthetic and intruding on page layout. The reason why boxed links are the default is that the links are not colored until you load the LaTeX -<a name="index-color_002esty-971"></a>`color' package (see <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a>) or use other means to +<a name="index-color_002esty-994"></a>`color' package (see <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a>) or use other means to define the <code>\color</code> command; therefore, not producing any kind of link border may result in the links not being marked in any way. However, when the links are actually colored, there is no need to @@ -5072,8 +5124,8 @@ option <code>bwidth</code>; see <a href="#Hyperlink-drivers">Hyperlink drivers</ <pre class="example"> \hlopts{bwidth=0} </pre> <div class="node"> -<p><hr> <a name="Setting-group-types"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Setting-group-options">Setting group options</a>, Previous: <a rel="previous" accesskey="p" href="#Setting-default-types-and-options">Setting default types and options</a>, Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a> @@ -5082,7 +5134,7 @@ Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">S <h4 class="subsection">5.5.2 Setting group types</h4> -<p><a name="index-hltype-972"></a><a name="index-hldesttype-973"></a><a name="index-group-type_002c-hyperlink-974"></a><a name="index-hyperlinks_002c-group-type-975"></a><a name="index-link_002c-group-type-976"></a><a name="index-linkgroup-type-977"></a><a name="index-destinations_002c-group-type-978"></a><a name="index-destgroup-type-979"></a>When called with an optional argument, as in +<p><a name="index-hltype-995"></a><a name="index-hldesttype-996"></a><a name="index-group-type_002c-hyperlink-997"></a><a name="index-hyperlinks_002c-group-type-998"></a><a name="index-link_002c-group-type-999"></a><a name="index-linkgroup-type-1000"></a><a name="index-destinations_002c-group-type-1001"></a><a name="index-destgroup-type-1002"></a>When called with an optional argument, as in <pre class="example"> \hltype[<var>groups</var>]{<var>type</var>} \hldesttype[<var>groups</var>]{<var>type</var>} @@ -5091,10 +5143,10 @@ Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">S <code>\hltype</code> and <code>\hldesttype</code> set the type for each group from <var>groups</var> to <var>type</var>. The default type is used for all groups with an empty type (this is the initial setting for all groups, except -that the type for the `url' linkgroup is set to `<samp><span class="samp">url</span></samp>' by the +that the type for the `url' linkgroup is set to ‘<samp><span class="samp">url</span></samp>’ by the drivers which support this link type). - <p><a name="index-group-_0060_0027-_0028empty_0029-980"></a><a name="index-default-hyperlink-type-981"></a><a name="index-default-hyperlink-options-982"></a><a name="index-hyperlinks_002c-default-type-983"></a><a name="index-hyperlinks_002c-default-options-984"></a><a name="index-destinations_002c-default-type-985"></a><a name="index-destinations_002c-default-options-986"></a>There are two special “groups” which can be used inside the + <p><a name="index-group-_0060_0027-_0028empty_0029-1003"></a><a name="index-default-hyperlink-type-1004"></a><a name="index-default-hyperlink-options-1005"></a><a name="index-hyperlinks_002c-default-type-1006"></a><a name="index-hyperlinks_002c-default-options-1007"></a><a name="index-destinations_002c-default-type-1008"></a><a name="index-destinations_002c-default-options-1009"></a>There are two special “groups” which can be used inside the <var>groups</var> list. An empty group sets the default type. This allows to set the default type and group types in one command, for example: @@ -5103,7 +5155,7 @@ to set the default type and group types in one command, for example: <p class="noindent">sets the link type for the `eq' linkgroup and the default link type to <var>type</var>. - <p><a name="index-group-_0060_002a_0027-987"></a><a name="index-groups_002c-specifying-all-988"></a><a name="index-all-groups_002c-specifying-989"></a>Another special group is a star (`<samp><span class="samp">*</span></samp>') group, which signifies all + <p><a name="index-group-_0060_002a_0027-1010"></a><a name="index-groups_002c-specifying-all-1011"></a><a name="index-all-groups_002c-specifying-1012"></a>Another special group is a star (‘<samp><span class="samp">*</span></samp>’) group, which signifies all defined groups. For example, the command <pre class="example"> \hldesttype[*,]{<var>type</var>} @@ -5112,8 +5164,8 @@ defined groups. For example, the command as well as the default destination type. <div class="node"> -<p><hr> <a name="Setting-group-options"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Setting-group-types">Setting group types</a>, Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a> @@ -5121,12 +5173,12 @@ Up: <a rel="up" accesskey="u" href="#Setting-hyperlink-types-and-options">S <h4 class="subsection">5.5.3 Setting group options</h4> -<p><a name="index-group-options_002c-hyperlink-990"></a><a name="index-hyperlinks_002c-group-options-991"></a><a name="index-link_002c-group-options-992"></a><a name="index-linkgroup-options-993"></a><a name="index-destinations_002c-group-options-994"></a><a name="index-destgroup-options-995"></a>Option values for each group are stored as a list of option +<p><a name="index-group-options_002c-hyperlink-1013"></a><a name="index-hyperlinks_002c-group-options-1014"></a><a name="index-link_002c-group-options-1015"></a><a name="index-linkgroup-options-1016"></a><a name="index-destinations_002c-group-options-1017"></a><a name="index-destgroup-options-1018"></a>Option values for each group are stored as a list of option assignments. This list does not have to contain every supported option. Values for options missing from this list are taken from the default option values. - <p><a name="index-hlopts-996"></a><a name="index-hldestopts-997"></a>To manipulate the list of option values for the groups, you use the + <p><a name="index-hlopts-1019"></a><a name="index-hldestopts-1020"></a>To manipulate the list of option values for the groups, you use the <code>\hlopts</code> and <code>\hldestopts</code> commands with an optional argument: @@ -5137,38 +5189,38 @@ argument: </pre> <p class="noindent">where <var>groups</var> is a comma-separated list of groups and <var>options</var> is a comma-separated list of option assignments. The -two special “groups”, the empty group and the star (`<samp><span class="samp">*</span></samp>') +two special “groups”, the empty group and the star (‘<samp><span class="samp">*</span></samp>’) group, have the same meaning as for <code>\hltype</code> and <code>\hldesttype</code>. -<a name="index-group_002c-preserving-option-list-998"></a><a name="index-hyperlink-group_002c-preserving-option-list-999"></a><a name="index-option-list_002c-preserving-for-group-1000"></a>When used without the exclamation mark, <code>\hlopts</code> and +<a name="index-group_002c-preserving-option-list-1021"></a><a name="index-hyperlink-group_002c-preserving-option-list-1022"></a><a name="index-option-list_002c-preserving-for-group-1023"></a>When used without the exclamation mark, <code>\hlopts</code> and <code>\hldestopts</code> preserve the current list of options for the groups, and only update the options listed in <var>options</var>. If you add the exclamation mark, the current list of options for each group in <var>groups</var> is discarded and the new list is set to <var>options</var>. - <p>The “overriding” nature of the `<samp><span class="samp">!</span></samp>' is appropriate when you give + <p>The “overriding” nature of the ‘<samp><span class="samp">!</span></samp>’ is appropriate when you give a complete specification of the options for a group, e.g., at the beginning of your document. On the other hand, when you want to adjust some option(s) and leave others intact, you should use the -macros without the `<samp><span class="samp">!</span></samp>'. +macros without the ‘<samp><span class="samp">!</span></samp>’. - <p><a name="index-raise-_0040r_007b_0028hyperlink-option_0029_007d-1001"></a><a name="index-mathematics-displays_002c-hyperlinks-1002"></a><a name="index-displayed-math-and-hyperlinks-1003"></a><a name="index-large-operators-and-hyperlinks-1004"></a><a name="index-hyperlinks_002c-large-operators-1005"></a><a name="index-destinations_002c-large-operators-1006"></a><a name="index-raising-hyperlink-destinations-1007"></a>For example, with displayed mathematical formulas, you often need to -adjust the `<samp><span class="samp">raise</span></samp>' option for the -<a name="index-group-_0060eq_0027-1008"></a><a name="index-linkgroup-_0060eq_0027-1009"></a>`eq' destgroup, because the formulas often contain large parentheses and + <p><a name="index-raise-_0040r_007b_0028hyperlink-option_0029_007d-1024"></a><a name="index-mathematics-displays_002c-hyperlinks-1025"></a><a name="index-displayed-math-and-hyperlinks-1026"></a><a name="index-large-operators-and-hyperlinks-1027"></a><a name="index-hyperlinks_002c-large-operators-1028"></a><a name="index-destinations_002c-large-operators-1029"></a><a name="index-raising-hyperlink-destinations-1030"></a>For example, with displayed mathematical formulas, you often need to +adjust the ‘<samp><span class="samp">raise</span></samp>’ option for the +<a name="index-group-_0060eq_0027-1031"></a><a name="index-linkgroup-_0060eq_0027-1032"></a>`eq' destgroup, because the formulas often contain large parentheses and brackets. But when doing so, you want to leave the other settings unchanged. To achieve this, call <code>\hldestopts</code> without the -`<samp><span class="samp">!</span></samp>', for example: +‘<samp><span class="samp">!</span></samp>’, for example: <pre class="example"> $$\hldestopts[eq]{raise=2.5\normalbaselineskip} ... $$ </pre> - <p class="noindent">The display commands (`<samp><span class="samp">$$</span></samp>') implicitly put the entire + <p class="noindent">The display commands (‘<samp><span class="samp">$$</span></samp>’) implicitly put the entire formula inside a (TeX) group (<code>\begingroup...\endgroup</code>), so -you do not need to isolate the setting of the `<samp><span class="samp">raise</span></samp>' option—it -will be restored after the closing `<samp><span class="samp">$$</span></samp>'. +you do not need to isolate the setting of the ‘<samp><span class="samp">raise</span></samp>’ option—it +will be restored after the closing ‘<samp><span class="samp">$$</span></samp>’. - <p><a name="index-option-list_002c-group-1010"></a><a name="index-group-option-list-1011"></a><a name="index-hyperlinks_002c-group-option-list-1012"></a>Initially, Eplain sets the option lists for almost all groups to empty, + <p><a name="index-option-list_002c-group-1033"></a><a name="index-group-option-list-1034"></a><a name="index-hyperlinks_002c-group-option-list-1035"></a>Initially, Eplain sets the option lists for almost all groups to empty, so that the groups fall back on the default values for all options. The one exception to this rule is the `eq' destgroup, whose initial option list contains one setting: @@ -5179,9 +5231,9 @@ list contains one setting: appear in displayed math. <div class="node"> -<p><hr> <a name="Turning-hyperlinks-on%2foff"></a> <a name="Turning-hyperlinks-on_002foff"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a>, Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> @@ -5189,7 +5241,7 @@ Up: <a rel="up" accesskey="u" href="#Hyperlinks">Hyperlinks</a> <h3 class="section">5.6 Turning hyperlinks on/off</h3> -<p><a name="index-omitting-hyperlinks-1013"></a><a name="index-disabling-hyperlinks-1014"></a><a name="index-hyperlinks_002c-disabling-1015"></a><a name="index-destinations_002c-disabling-1016"></a>Links and/or destinations can be turned on or off globally by disabling +<p><a name="index-omitting-hyperlinks-1036"></a><a name="index-disabling-hyperlinks-1037"></a><a name="index-hyperlinks_002c-disabling-1038"></a><a name="index-destinations_002c-disabling-1039"></a>Links and/or destinations can be turned on or off globally by disabling the low-level commands, or for each group individually. <p>All these settings are local to the current (TeX) group, so if you @@ -5203,9 +5255,9 @@ previous settings are restored. </ul> <div class="node"> -<p><hr> <a name="Turning-low-level-commands-on%2foff"></a> <a name="Turning-low_002dlevel-commands-on_002foff"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyperlinks on/off for a group</a>, Up: <a rel="up" accesskey="u" href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a> @@ -5213,7 +5265,7 @@ Up: <a rel="up" accesskey="u" href="#Turning-hyperlinks-on_002foff">Turning <h4 class="subsection">5.6.1 Turning low-level commands on/off</h4> -<p><a name="index-hldeston-1017"></a><a name="index-hldestoff-1018"></a><a name="index-hlon-1019"></a><a name="index-hloff-1020"></a>The low-level commands <code>\hlstart</code>, <code>\hlend</code> and +<p><a name="index-hldeston-1040"></a><a name="index-hldestoff-1041"></a><a name="index-hlon-1042"></a><a name="index-hloff-1043"></a>The low-level commands <code>\hlstart</code>, <code>\hlend</code> and <code>\hldest</code> can be turned on/off with the following commands: <pre class="example"> \hldeston @@ -5225,9 +5277,9 @@ Up: <a rel="up" accesskey="u" href="#Turning-hyperlinks-on_002foff">Turning these commands to disable hyperlinks for the entire document. <div class="node"> -<p><hr> <a name="Turning-hyperlinks-on%2foff-for-a-group"></a> <a name="Turning-hyperlinks-on_002foff-for-a-group"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a>, Up: <a rel="up" accesskey="u" href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a> @@ -5235,7 +5287,7 @@ Up: <a rel="up" accesskey="u" href="#Turning-hyperlinks-on_002foff">Turning <h4 class="subsection">5.6.2 Turning hyperlinks on/off for a group</h4> -<p><a name="index-group_002c-disabling-hyperlinks-1021"></a><a name="index-hyperlink-group_002c-disabling-hyperlinks-1022"></a>If you want to disable links/destinations produced by certain groups, +<p><a name="index-group_002c-disabling-hyperlinks-1044"></a><a name="index-hyperlink-group_002c-disabling-hyperlinks-1045"></a>If you want to disable links/destinations produced by certain groups, you can give a list of the groups as an optional argument to these commands: @@ -5247,7 +5299,7 @@ commands: <p class="noindent">where <var>groups</var> is the list of linkgroups/destgroups. This list can contain two special groups. The empty group switches the low-level commands (see <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a>), and the -star (`<samp><span class="samp">*</span></samp>') group operates on all defined groups. +star (‘<samp><span class="samp">*</span></samp>’) group operates on all defined groups. <p>Note that turning off the low-level commands disables all hyperlinks globally, including groups which have them enabled. Turning off certain @@ -5280,8 +5332,8 @@ assume that all links are on; after the following sequence of commands: <!-- Input arrow macros without altering texinfo's \catcodes. --> <!-- Use the arrow macros in an `@iftex @tex ... @end iftex' environment. --> <div class="node"> -<p><hr> <a name="Arrow-theoretic-diagrams"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Programming-definitions">Programming definitions</a>, Previous: <a rel="previous" accesskey="p" href="#Hyperlinks">Hyperlinks</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -5300,8 +5352,8 @@ Up: <a rel="up" accesskey="u" href="#Top">Top</a> </ul> <div class="node"> -<p><hr> <a name="Slanted-lines-and-vectors"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Commutative-diagrams">Commutative diagrams</a>, Up: <a rel="up" accesskey="u" href="#Arrow-theoretic-diagrams">Arrow theoretic diagrams</a> @@ -5310,14 +5362,14 @@ Up: <a rel="up" accesskey="u" href="#Arrow-theoretic-diagrams">Arrow theore <h3 class="section">6.1 Slanted lines and vectors</h3> <p>The macros <code>\drawline</code> -<a name="index-drawline-1023"></a>and <code>\drawvector</code> -<a name="index-drawvector-1024"></a>provide the capability found in LaTeX's -<a name="index-g_t_0040LaTeX_007b_007d-1025"></a><a name="index-picture-mode-1026"></a>picture mode to draw slanted lines and vectors of certain directions. +<a name="index-drawline-1046"></a>and <code>\drawvector</code> +<a name="index-drawvector-1047"></a>provide the capability found in LaTeX's +<a name="index-g_t_0040LaTeX_007b_007d-1048"></a><a name="index-picture-mode-1049"></a>picture mode to draw slanted lines and vectors of certain directions. Both of these macros take three arguments: two integer arguments to specify the direction of the line or vector, and one argument to specify -its length. For example, `<samp><span class="samp">\drawvector(-4,1){60pt}</span></samp>' produces the +its length. For example, ‘<samp><span class="samp">\drawvector(-4,1){60pt}</span></samp>’ produces the vector -<a name="index-lines-1027"></a><a name="index-vectors-1028"></a>which lies in the 2d quadrant, has a slope of minus 1/4, and a width of +<a name="index-lines-1050"></a><a name="index-vectors-1051"></a>which lies in the 2d quadrant, has a slope of minus 1/4, and a width of 60 pt. <p>Note that if an <code>\hbox</code> is placed around <code>\drawline</code> or @@ -5347,8 +5399,8 @@ it. Future enhancements will include macros to draw dotted lines and dotted vectors of various directions. <div class="node"> -<p><hr> <a name="Commutative-diagrams"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Slanted-lines-and-vectors">Slanted lines and vectors</a>, Up: <a rel="up" accesskey="u" href="#Arrow-theoretic-diagrams">Arrow theoretic diagrams</a> @@ -5356,7 +5408,7 @@ Up: <a rel="up" accesskey="u" href="#Arrow-theoretic-diagrams">Arrow theore <h3 class="section">6.2 Commutative diagrams</h3> -<p><a name="index-commutative-diagrams-1029"></a> +<p><a name="index-commutative-diagrams-1052"></a> The primitive commands <code>\drawline</code> and <code>\drawvector</code> can be used to typeset arrow theoretic diagrams. This section describes (1) macros to facilitate typesetting arrows and morphisms, and (2) macros to @@ -5370,8 +5422,8 @@ described in this section must be used in math mode. </ul> <div class="node"> -<p><hr> <a name="Arrows-and-morphisms"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a>, Up: <a rel="up" accesskey="u" href="#Commutative-diagrams">Commutative diagrams</a> @@ -5379,56 +5431,56 @@ Up: <a rel="up" accesskey="u" href="#Commutative-diagrams">Commutative diag <h4 class="subsection">6.2.1 Arrows and morphisms</h4> -<p><a name="index-arrows-1030"></a><a name="index-morphisms-1031"></a> +<p><a name="index-arrows-1053"></a><a name="index-morphisms-1054"></a> The macros <code>\mapright</code> and <code>\mapleft</code> produce right and left -<a name="index-mapright-1032"></a><a name="index-mapleft-1033"></a>pointing arrows, respectively. Use superscript (<code>^</code>) to place a -morphism above the arrow, e.g., `<samp><span class="samp">\mapright^\alpha</span></samp>'; use subscript +<a name="index-mapright-1055"></a><a name="index-mapleft-1056"></a>pointing arrows, respectively. Use superscript (<code>^</code>) to place a +morphism above the arrow, e.g., ‘<samp><span class="samp">\mapright^\alpha</span></samp>’; use subscript (<code>_</code>) to place a morphism below the arrow, e.g., -`<samp><span class="samp">\mapright_{\tilde l}</span></samp>'. Superscripts and subscripts may be used -simulataneously, e.g., `<samp><span class="samp">\mapright^\pi_{\rm epimor.}</span></samp>'. +‘<samp><span class="samp">\mapright_{\tilde l}</span></samp>’. Superscripts and subscripts may be used +simulataneously, e.g., ‘<samp><span class="samp">\mapright^\pi_{\rm epimor.}</span></samp>’. <p>Similarly, the macros <code>\mapup</code> and <code>\mapdown</code> produce up and -<a name="index-mapup-1034"></a><a name="index-mapdown-1035"></a>down pointing arrows, respectively. Use <code>\rt</code> -<a name="index-rt-1036"></a>to place a morphism to the right of the arrow, e.g., `<samp><span class="samp">\mapup\rt{\rm -id}</span></samp>'; use <code>\lft</code> -<a name="index-lft-1037"></a>to place a morphism to the left of the arrow, e.g., `<samp><span class="samp">\mapup\lft\omega</span></samp>'. +<a name="index-mapup-1057"></a><a name="index-mapdown-1058"></a>down pointing arrows, respectively. Use <code>\rt</code> +<a name="index-rt-1059"></a>to place a morphism to the right of the arrow, e.g., ‘<samp><span class="samp">\mapup\rt{\rm +id}</span></samp>’; use <code>\lft</code> +<a name="index-lft-1060"></a>to place a morphism to the left of the arrow, e.g., ‘<samp><span class="samp">\mapup\lft\omega</span></samp>’. <code>\lft</code> and <code>\rt</code> may be used simultaneously, e.g., -`<samp><span class="samp">\mapdown\lft\pi\rt{\rm monomor.}</span></samp>'. +‘<samp><span class="samp">\mapdown\lft\pi\rt{\rm monomor.}</span></samp>’. <p>Slanted arrows are produced by the macro <code>\arrow</code>, which takes -<a name="index-arrow-1038"></a>a direction argument (e.g., `<samp><span class="samp">\arrow(3,-4)</span></samp>'). Use <code>\rt</code> and +<a name="index-arrow-1061"></a>a direction argument (e.g., ‘<samp><span class="samp">\arrow(3,-4)</span></samp>’). Use <code>\rt</code> and <code>\lft</code> to place morphisms to the right and left, respectively, of the arrow. A slanted line (no arrowhead) is produced with the macro <code>\sline</code>, -<a name="index-sline-1039"></a>whose syntax is identical to that of <code>\arrow</code>. +<a name="index-sline-1062"></a>whose syntax is identical to that of <code>\arrow</code>. <p>The length of these macros is predefined by the default TeX dimensions <code>\harrowlength</code>, -<a name="index-harrowlength-1040"></a>for horizontal arrows (or lines), +<a name="index-harrowlength-1063"></a>for horizontal arrows (or lines), <code>\varrowlength</code>, -<a name="index-varrowlength-1041"></a>for vertical arrows (or lines), and +<a name="index-varrowlength-1064"></a>for vertical arrows (or lines), and <code>\sarrowlength</code>, -<a name="index-sarrowlength-1042"></a>for slanted arrows (or lines). To change any of these dimensions, say, -e.g., `<samp><span class="samp">\harrowlength=40pt</span></samp>'. As with all other TeX dimensions, +<a name="index-sarrowlength-1065"></a>for slanted arrows (or lines). To change any of these dimensions, say, +e.g., ‘<samp><span class="samp">\harrowlength=40pt</span></samp>’. As with all other TeX dimensions, the change may be as global or as local as you like. Furthermore, the placement of morphisms on the arrows is controlled by the dimensions <code>\hmorphposn</code>, -<a name="index-hmorphposn-1043"></a><code>\vmorphposn</code>, -<a name="index-vmorphposn-1044"></a>and <code>\morphdist</code>. -<a name="index-morphdist-1045"></a>The first two dimensions control the horizontal and vertical position of +<a name="index-hmorphposn-1066"></a><code>\vmorphposn</code>, +<a name="index-vmorphposn-1067"></a>and <code>\morphdist</code>. +<a name="index-morphdist-1068"></a>The first two dimensions control the horizontal and vertical position of the morphism from its default position; the latter dimension controls the distance of the morphism from the arrow. If you have more than one morphism per arrow (i.e., a <code>^</code>/<code>_</code> or <code>\lft</code>/<code>\rt</code> construction), use the parameters <code>\hmorphposnup</code>, -<a name="index-hmorphposnup-1046"></a><code>\hmorphposndn</code>, -<a name="index-hmorphposndn-1047"></a><code>\vmorphposnup</code>, -<a name="index-vmorphposnup-1048"></a><code>\vmorphposndn</code>, -<a name="index-vmorphposndn-1049"></a><code>\hmorphposnrt</code>, -<a name="index-hmorphposnrt-1050"></a><code>\hmorphposnlft</code>, -<a name="index-hmorphposnlft-1051"></a><code>\vmorphposnrt</code>, -<a name="index-vmorphposnrt-1052"></a>and <code>\vmorphposnlft</code>. -<a name="index-vmorphposnlft-1053"></a>The default values of all these dimensions are provided in the section +<a name="index-hmorphposnup-1069"></a><code>\hmorphposndn</code>, +<a name="index-hmorphposndn-1070"></a><code>\vmorphposnup</code>, +<a name="index-vmorphposnup-1071"></a><code>\vmorphposndn</code>, +<a name="index-vmorphposndn-1072"></a><code>\hmorphposnrt</code>, +<a name="index-hmorphposnrt-1073"></a><code>\hmorphposnlft</code>, +<a name="index-hmorphposnlft-1074"></a><code>\vmorphposnrt</code>, +<a name="index-vmorphposnrt-1075"></a>and <code>\vmorphposnlft</code>. +<a name="index-vmorphposnlft-1076"></a>The default values of all these dimensions are provided in the section on parameters that follows below. <p>There is a family of macros to produce horizontal lines, arrows, and @@ -5436,21 +5488,21 @@ adjoint arrows. The following macros produce horizontal maps and have the same syntax as <code>\mapright</code>: <dl> -<dt><code>\mapright</code><dd><a name="index-mapright-1054"></a><code>$X\mapright Y$</code> +<dt><code>\mapright</code><dd><a name="index-mapright-1077"></a><code>$X\mapright Y$</code> - <br><dt><code>\mapleft</code><dd><a name="index-mapleft-1055"></a><code>$X\mapleft Y$</code> + <br><dt><code>\mapleft</code><dd><a name="index-mapleft-1078"></a><code>$X\mapleft Y$</code> - <br><dt><code>\hline</code><dd><a name="index-hline-1056"></a><code>$X\hline Y$</code> + <br><dt><code>\hline</code><dd><a name="index-hline-1079"></a><code>$X\hline Y$</code> - <br><dt><code>\bimapright</code><dd><a name="index-bimapright-1057"></a><code>$X\bimapright Y$</code> + <br><dt><code>\bimapright</code><dd><a name="index-bimapright-1080"></a><code>$X\bimapright Y$</code> - <br><dt><code>\bimapleft</code><dd><a name="index-bimapleft-1058"></a><code>$X\bimapleft Y$</code> + <br><dt><code>\bimapleft</code><dd><a name="index-bimapleft-1081"></a><code>$X\bimapleft Y$</code> - <br><dt><code>\adjmapright</code><dd><a name="index-adjmapright-1059"></a><code>$X\adjmapright Y$</code> + <br><dt><code>\adjmapright</code><dd><a name="index-adjmapright-1082"></a><code>$X\adjmapright Y$</code> - <br><dt><code>\adjmapleft</code><dd><a name="index-adjmapleft-1060"></a><code>$X\adjmapleft Y$</code> + <br><dt><code>\adjmapleft</code><dd><a name="index-adjmapleft-1083"></a><code>$X\adjmapleft Y$</code> - <br><dt><code>\bihline</code><dd><a name="index-bihline-1061"></a><code>$X\bihline Y$</code> + <br><dt><code>\bihline</code><dd><a name="index-bihline-1084"></a><code>$X\bihline Y$</code> </dl> <p>There is also a family of macros to produce vertical lines, arrows, and @@ -5458,21 +5510,21 @@ adjoint arrows. The following macros produce vertical maps and have the same syntax as <code>\mapdown</code>: <dl> -<dt><code>\mapdown</code><dd><a name="index-mapdown-1062"></a>(a down arrow) +<dt><code>\mapdown</code><dd><a name="index-mapdown-1085"></a>(a down arrow) - <br><dt><code>\mapup</code><dd><a name="index-mapup-1063"></a>(an up arrow) + <br><dt><code>\mapup</code><dd><a name="index-mapup-1086"></a>(an up arrow) - <br><dt><code>\vline</code><dd><a name="index-vline-1064"></a>(vertical line) + <br><dt><code>\vline</code><dd><a name="index-vline-1087"></a>(vertical line) - <br><dt><code>\bimapdown</code><dd><a name="index-bimapdown-1065"></a>(two down arrows) + <br><dt><code>\bimapdown</code><dd><a name="index-bimapdown-1088"></a>(two down arrows) - <br><dt><code>\bimapup</code><dd><a name="index-bimapup-1066"></a>(two up arrows) + <br><dt><code>\bimapup</code><dd><a name="index-bimapup-1089"></a>(two up arrows) - <br><dt><code>\adjmapdown</code><dd><a name="index-adjmapdown-1067"></a>(two adjoint arrows; down then up) + <br><dt><code>\adjmapdown</code><dd><a name="index-adjmapdown-1090"></a>(two adjoint arrows; down then up) - <br><dt><code>\adjmapup</code><dd><a name="index-adjmapup-1068"></a>(two adjoint arrows; up then down) + <br><dt><code>\adjmapup</code><dd><a name="index-adjmapup-1091"></a>(two adjoint arrows; up then down) - <br><dt><code>\bivline</code><dd><a name="index-bivline-1069"></a>(two vertical lines) + <br><dt><code>\bivline</code><dd><a name="index-bivline-1092"></a>(two vertical lines) </dl> <p>Finally, there is a family of macros to produce slanted lines, arrows, @@ -5480,21 +5532,21 @@ and adjoint arrows. The following macros produce slanted maps and have the same syntax as <code>\arrow</code>: <dl> -<dt><code>\arrow</code><dd><a name="index-arrow-1070"></a>(a slanted arrow) +<dt><code>\arrow</code><dd><a name="index-arrow-1093"></a>(a slanted arrow) - <br><dt><code>\sline</code><dd><a name="index-sline-1071"></a>(a slanted line) + <br><dt><code>\sline</code><dd><a name="index-sline-1094"></a>(a slanted line) - <br><dt><code>\biarrow</code><dd><a name="index-biarrow-1072"></a>(two straight arrows) + <br><dt><code>\biarrow</code><dd><a name="index-biarrow-1095"></a>(two straight arrows) - <br><dt><code>\adjarrow</code><dd><a name="index-adjarrow-1073"></a>(two adjoint arrows) + <br><dt><code>\adjarrow</code><dd><a name="index-adjarrow-1096"></a>(two adjoint arrows) - <br><dt><code>\bisline</code><dd><a name="index-bisline-1074"></a>(two straight lines) + <br><dt><code>\bisline</code><dd><a name="index-bisline-1097"></a>(two straight lines) </dl> <p>The width between double arrows is controlled by the parameter <code>\channelwidth</code>. -<a name="index-channelwidth-1075"></a>The parameters <code>\hchannel</code> and <code>\vchannel</code>, if nonzero, +<a name="index-channelwidth-1098"></a>The parameters <code>\hchannel</code> and <code>\vchannel</code>, if nonzero, override <code>\channelwidth</code> by controlling the horizontal and vertical shifting from the first arrow to the second. @@ -5502,15 +5554,15 @@ shifting from the first arrow to the second. epimorphisms from monomorphisms. Many texts, such as Lang's book <cite>Algebra</cite>, use as a tasteful alternative the symbol `inc' (in roman) next to an arrow to denote inclusion. -<a name="index-Lang_002c-Serge-1076"></a> +<a name="index-Lang_002c-Serge-1099"></a> Future enhancements will include a mechanism to draw curved arrows found in, e.g., the Snake Lemma, by employing a version of the <code>\path</code> macros of Appendix D of <cite>The TeXbook</cite>. -<a name="index-Snake-Lemma-1077"></a> +<a name="index-Snake-Lemma-1100"></a> <div class="node"> -<p><hr> <a name="Construction-of-commutative-diagrams"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Commutative-diagram-parameters">Commutative diagram parameters</a>, Previous: <a rel="previous" accesskey="p" href="#Arrows-and-morphisms">Arrows and morphisms</a>, Up: <a rel="up" accesskey="u" href="#Commutative-diagrams">Commutative diagrams</a> @@ -5524,11 +5576,11 @@ described here. The first approach, and the simplest, treats commutative diagrams like fancy matrices, as Knuth does in Exercise 18.46 of <cite>The TeXbook</cite>. This case is covered by the macro <code>\commdiag</code>, -<a name="index-commdiag-1078"></a>which is an altered version of the Plain TeX macro <code>\matrix</code>. -<a name="index-matrix-1079"></a>An example suffices to demonstrate this macro. The following +<a name="index-commdiag-1101"></a>which is an altered version of the Plain TeX macro <code>\matrix</code>. +<a name="index-matrix-1102"></a>An example suffices to demonstrate this macro. The following commutative diagram (illustrating the covering homotopy property; Bott and Tu, <cite>Differential Forms in Algebraic Topology</cite>) -<a name="index-Bott_002c-Raoul-1080"></a><a name="index-Tu_002c-Loring-W_002e-1081"></a><a name="index-covering-homotopy-property-1082"></a>is produced with the code +<a name="index-Bott_002c-Raoul-1103"></a><a name="index-Tu_002c-Loring-W_002e-1104"></a><a name="index-covering-homotopy-property-1105"></a>is produced with the code <pre class="example"> $$\commdiag{Y&\mapright^f&E\cr \mapdown&\arrow(3,2)\lft{f_t}&\mapdown\cr Y\times I&\mapright^{\bar f_t}&X}$$ @@ -5537,7 +5589,7 @@ and Tu, <cite>Differential Forms in Algebraic Topology</cite>) The following commutative diagram (illustrating the universal mapping property; Warner, <cite>Foundations of Differentiable Manifolds and Lie Groups</cite>) -<a name="index-Warner_002c-Frank-W_002e-1083"></a><a name="index-universal-mapping-property-1084"></a>is produced with the code +<a name="index-Warner_002c-Frank-W_002e-1106"></a><a name="index-universal-mapping-property-1107"></a>is produced with the code <pre class="example"> $$\varrowlength=20pt \commdiag{V\otimes W\cr \mapup\lft\phi&\arrow(3,-1)\rt{\tilde l}\cr @@ -5547,7 +5599,7 @@ Groups</cite>) of the triangle in the center column, as shown in the example (illustrating all constant minimal realizations of a linear system; Brockett, <cite>Finite Dimensional Linear Systems</cite>) -<a name="index-Brockett_002c-Roger-W_002e-1085"></a><a name="index-minimal-realizations-1086"></a><a name="index-linear-systems-theory-1087"></a>which is produced with the code +<a name="index-Brockett_002c-Roger-W_002e-1108"></a><a name="index-minimal-realizations-1109"></a><a name="index-linear-systems-theory-1110"></a>which is produced with the code <pre class="smallexample"> $$\sarrowlength=.42\harrowlength \commdiag{&R^m\cr &\arrow(-1,-1)\lft{\bf B}\quad \arrow(1,-1)\rt{\bf G}\cr @@ -5565,13 +5617,13 @@ chosen to blend with each other. In the first example, the default settings for the arrow lengths are used, but a direction for the arrow must be chosen. The ratio of the default horizontal and vertical arrow lengths is approximately the golden mean -<a name="index-golden-mean-1088"></a><a name="index-golden-mean-1089"></a>the arrow direction closest to this mean is <code>(3,2)</code>. In the second +<a name="index-golden-mean-1111"></a><a name="index-golden-mean-1112"></a>the arrow direction closest to this mean is <code>(3,2)</code>. In the second example, a slope of is desired and the default horizontal arrow length is 60 pt; therefore, choose a vertical arrow length of 20 pt. You may affect the interline glue settings of <code>\commdiag</code> by redefining the macro <code>\commdiagbaselines</code>. -<a name="index-commdiagbaselines-1090"></a>(cf. Exercise 18.46 of <cite>The TeXbook</cite> and the section on +<a name="index-commdiagbaselines-1113"></a>(cf. Exercise 18.46 of <cite>The TeXbook</cite> and the section on parameters below.) <p>The width, height, and depth of all morphisms are hidden so that the @@ -5580,7 +5632,7 @@ morphism at the top or bottom of a diagram to impinge upon the text surrounding the diagram. To overcome this problem, use TeX's <code>\noalign</code> primitive to insert a <code>\vskip</code> immediately above or below the offending line, e.g., -`<samp><span class="samp">$$\commdiag{\noalign{\vskip6pt}X&\mapright^\int&Y\cr ...}</span></samp>'. +‘<samp><span class="samp">$$\commdiag{\noalign{\vskip6pt}X&\mapright^\int&Y\cr ...}</span></samp>’. <p>The macro <code>\commdiag</code> is too simple to be used for more complicated diagrams, which may have intersecting or overlapping arrows. A second @@ -5588,12 +5640,12 @@ approach, borrowed from Francis Borceux's <cite>Diagram</cite> macros for LaTeX, treats the commutative diagram like a grid of identically shaped boxes. To compose the commutative diagram, first draw an equally spaced grid, e.g., -<a name="index-grid-1091"></a><a name="index-Borceux_002c-Francis-1092"></a><a name="index-Diagram_002c-macros-for-LaTeX-1093"></a>on a piece of scratch paper. Then draw each element (vertices and +<a name="index-grid-1114"></a><a name="index-Borceux_002c-Francis-1115"></a><a name="index-Diagram_002c-macros-for-LaTeX-1116"></a>on a piece of scratch paper. Then draw each element (vertices and arrows) of the commutative diagram on this grid, centered at each grid point. Finally, use the macro <code>\gridcommdiag</code> -<a name="index-gridcommdiag-1094"></a>to implement your design as a TeX alignment. For example, the cubic +<a name="index-gridcommdiag-1117"></a>to implement your design as a TeX alignment. For example, the cubic diagram -<a name="index-cube-1095"></a>that appears in Francis Borceux's documentation can be implemented on +<a name="index-cube-1118"></a>that appears in Francis Borceux's documentation can be implemented on a 7 by 7 grid, and is achieved with the code <pre class="example"> $$\harrowlength=48pt \varrowlength=48pt \sarrowlength=20pt @@ -5609,7 +5661,7 @@ a 7 by 7 grid, and is achieved with the code E&&\mapright_k&&G\cr}$$ </pre> <p>The dimensions <code>\hgrid</code> and <code>\vgrid</code> -<a name="index-hgrid-1096"></a><a name="index-vgrid-1097"></a>control the horizontal and vertical spacing of the grid used by +<a name="index-hgrid-1119"></a><a name="index-vgrid-1120"></a>control the horizontal and vertical spacing of the grid used by <code>\gridcommdiag</code>. The default setting for both of these dimensions is 15 pt. Note that in the example of the cube the arrow lengths must be adjusted so that the arrows overlap into neighboring boxes by the @@ -5623,7 +5675,7 @@ of the morphisms are adjusted by setting <code>\hmorphposn</code> and <p>One is not restricted to a square grid. For example, the proof of Zassenhaus's Butterfly Lemma can be illustrated by the diagram (appearing in Lang's book <cite>Algebra</cite>) -<a name="index-Zassenhaus_002c-Hans-1098"></a><a name="index-Lang_002c-Serge-1099"></a><a name="index-Butterfly-Lemma-1100"></a>This diagram may be implemented on a 9 by 12 grid with an aspect ratio +<a name="index-Zassenhaus_002c-Hans-1121"></a><a name="index-Lang_002c-Serge-1122"></a><a name="index-Butterfly-Lemma-1123"></a>This diagram may be implemented on a 9 by 12 grid with an aspect ratio of 1/2, and is set with the code <pre class="example"> $$\hgrid=16pt \vgrid=8pt \sarrowlength=32pt @@ -5651,8 +5703,8 @@ Many diagrams may be typeset with the predefined macros that appear here; however, ingenuity is often required to handle special cases. <div class="node"> -<p><hr> <a name="Commutative-diagram-parameters"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a>, Up: <a rel="up" accesskey="u" href="#Commutative-diagrams">Commutative diagrams</a> @@ -5665,46 +5717,46 @@ commutative diagram macros. These dimensions may be changed globally or locally. <dl> -<dt><code>\harrowlength</code><dd><a name="index-harrowlength-1101"></a>(Default: 60 pt) The length of right or left arrows. +<dt><code>\harrowlength</code><dd><a name="index-harrowlength-1124"></a>(Default: 60 pt) The length of right or left arrows. - <br><dt><code>\varrowlength</code><dd><a name="index-varrowlength-1102"></a>(Default: 0.618<code>\harrowlength</code>) The length of up or down + <br><dt><code>\varrowlength</code><dd><a name="index-varrowlength-1125"></a>(Default: 0.618<code>\harrowlength</code>) The length of up or down arrows. - <br><dt><code>\sarrowlength</code><dd><a name="index-sarrowlength-1103"></a>(Default: 60 pt) The horizontal length of slanted arrows. + <br><dt><code>\sarrowlength</code><dd><a name="index-sarrowlength-1126"></a>(Default: 60 pt) The horizontal length of slanted arrows. - <br><dt><code>\hmorphposn</code><dd><a name="index-hmorphposn-1104"></a>(Default: 0 pt) The horizontal position of the morphism with + <br><dt><code>\hmorphposn</code><dd><a name="index-hmorphposn-1127"></a>(Default: 0 pt) The horizontal position of the morphism with respect to its default position. There are also the dimensions <code>\hmorphposnup</code>, -<a name="index-hmorphposnup-1105"></a><code>\hmorphposndn</code>, -<a name="index-hmorphposndn-1106"></a><code>\hmorphposnrt</code>, -<a name="index-hmorphposnrt-1107"></a>and <code>\hmorphposnlft</code> -<a name="index-hmorphposnlft-1108"></a>for <code>^</code>/<code>_</code> or <code>\lft</code>/<code>\rt</code> constructions. +<a name="index-hmorphposnup-1128"></a><code>\hmorphposndn</code>, +<a name="index-hmorphposndn-1129"></a><code>\hmorphposnrt</code>, +<a name="index-hmorphposnrt-1130"></a>and <code>\hmorphposnlft</code> +<a name="index-hmorphposnlft-1131"></a>for <code>^</code>/<code>_</code> or <code>\lft</code>/<code>\rt</code> constructions. - <br><dt><code>\vmorphposn</code><dd><a name="index-vmorphposn-1109"></a>(Default: 0 pt) The vertical position of the morphism with + <br><dt><code>\vmorphposn</code><dd><a name="index-vmorphposn-1132"></a>(Default: 0 pt) The vertical position of the morphism with respect to its default position. There are also the dimensions <code>\vmorphposnup</code>, -<a name="index-vmorphposnup-1110"></a><code>\vmorphposndn</code>, -<a name="index-vmorphposndn-1111"></a><code>\vmorphposnrt</code>, -<a name="index-vmorphposnrt-1112"></a>and <code>\vmorphposnlft</code> -<a name="index-vmorphposnlft-1113"></a>for <code>^</code>/<code>_</code> or <code>\lft</code>/<code>\rt</code> constructions. +<a name="index-vmorphposnup-1133"></a><code>\vmorphposndn</code>, +<a name="index-vmorphposndn-1134"></a><code>\vmorphposnrt</code>, +<a name="index-vmorphposnrt-1135"></a>and <code>\vmorphposnlft</code> +<a name="index-vmorphposnlft-1136"></a>for <code>^</code>/<code>_</code> or <code>\lft</code>/<code>\rt</code> constructions. - <br><dt><code>\morphdist</code><dd><a name="index-morphdist-1114"></a>(Default: 4 pt) The distance of morphisms from slanted lines + <br><dt><code>\morphdist</code><dd><a name="index-morphdist-1137"></a>(Default: 4 pt) The distance of morphisms from slanted lines or arrows. - <br><dt><code>\channelwidth</code><dd><a name="index-channelwidth-1115"></a>(Default: 3 pt) The distance between double lines or arrows. + <br><dt><code>\channelwidth</code><dd><a name="index-channelwidth-1138"></a>(Default: 3 pt) The distance between double lines or arrows. - <br><dt><code>\hchannel, \vchannel</code><dd><a name="index-hchannel-1116"></a><a name="index-vchannel-1117"></a>(Defaults: 0 pt) Overrides <code>\channelwidth</code>. The + <br><dt><code>\hchannel, \vchannel</code><dd><a name="index-hchannel-1139"></a><a name="index-vchannel-1140"></a>(Defaults: 0 pt) Overrides <code>\channelwidth</code>. The horizontal and vertical shifts between double lines or arrows. - <br><dt><code>\commdiagbaselines</code><dd><a name="index-commdiagbaselines-1118"></a>(Default: <code>\baselineskip=15pt + <br><dt><code>\commdiagbaselines</code><dd><a name="index-commdiagbaselines-1141"></a>(Default: <code>\baselineskip=15pt \lineskip=3pt \lineskiplimit=3pt </code>) The parameters used by <code>\commdiag</code> for setting interline glue. - <br><dt><code>\hgrid</code><dd><a name="index-hgrid-1119"></a>(Default: 15 pt) The horizontal spacing of the grid used by + <br><dt><code>\hgrid</code><dd><a name="index-hgrid-1142"></a>(Default: 15 pt) The horizontal spacing of the grid used by <code>\gridcommdiag</code>. - <br><dt><code>\vgrid</code><dd><a name="index-vgrid-1120"></a>(Default: 15 pt) The vertical spacing of the grid used by + <br><dt><code>\vgrid</code><dd><a name="index-vgrid-1143"></a>(Default: 15 pt) The vertical spacing of the grid used by <code>\gridcommdiag</code>. </dl> @@ -5712,8 +5764,8 @@ The parameters used by <code>\commdiag</code> for setting interline glue. <!-- bye --> <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="Programming-definitions"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Demo-files">Demo files</a>, Previous: <a rel="previous" accesskey="p" href="#Arrow-theoretic-diagrams">Arrow theoretic diagrams</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -5741,8 +5793,8 @@ are writing nontrivial macros, not when writing a document. </ul> <div class="node"> -<p><hr> <a name="Category-codes"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Allocation-macros">Allocation macros</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -5750,30 +5802,30 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.1 Category codes</h3> -<p><a name="index-category-codes-1121"></a> +<p><a name="index-category-codes-1144"></a> Plain TeX defines <code>\active</code> (as the number 13) for use in changing category codes. Although the author of <cite>The TeXbook</cite> -<a name="index-Knuth_002c-Donald-Ervin-1122"></a>has “intentionally kept the category codes numeric”, two other +<a name="index-Knuth_002c-Donald-Ervin-1145"></a>has “intentionally kept the category codes numeric”, two other categories are commonly used: letters (category code 11) and others (12). Therefore, Eplain defines <code>\letter</code> and <code>\other</code>. -<a name="index-letter-1123"></a><a name="index-other-1124"></a> +<a name="index-letter-1146"></a><a name="index-other-1147"></a> Sometimes it is cleaner to make a character active without actually -<a name="index-active-characters-1125"></a>writing a <code>\catcode</code> command. The <code>\makeactive</code> command takes -<a name="index-catcode-1126"></a><a name="index-makeactive-1127"></a>a character as an argument to make active (and ignores following +<a name="index-active-characters-1148"></a>writing a <code>\catcode</code> command. The <code>\makeactive</code> command takes +<a name="index-catcode-1149"></a><a name="index-makeactive-1150"></a>a character as an argument to make active (and ignores following spaces). For example, here are two commands which both make <kbd>\</kbd> active: -<a name="index-backslash-character-1128"></a> +<a name="index-backslash-character-1151"></a> <pre class="example"> \makeactive\\ \makeactive92 </pre> - <p><a name="index-user_002dinaccessible-macros-1129"></a><a name="index-inaccessible-macros-1130"></a>Sometimes you might want to temporarily change the category code of + <p><a name="index-user_002dinaccessible-macros-1152"></a><a name="index-inaccessible-macros-1153"></a>Sometimes you might want to temporarily change the category code of the `@' character to <code>\letter</code>, so that you can use or define macros which are normally inaccessible to the user. For such situations, Eplain provides the <code>\makeatletter</code> -<a name="index-makeatletter-1131"></a>command. It sets the category code of `@' to <code>\letter</code> (11) and +<a name="index-makeatletter-1154"></a>command. It sets the category code of `@' to <code>\letter</code> (11) and defines <code>\resetatcatcode</code> -<a name="index-resetatcatcode-1132"></a>to restore the category code to whatever it was before the call to +<a name="index-resetatcatcode-1155"></a>to restore the category code to whatever it was before the call to <code>\makeatletter</code>. For example: <pre class="example"> \makeatletter @@ -5782,41 +5834,41 @@ defines \resetatcatcode </pre> <p class="noindent">There is also <code>\makeatother</code> -<a name="index-makeatother-1133"></a>which works similarly but sets the category code of `@' to +<a name="index-makeatother-1156"></a>which works similarly but sets the category code of `@' to <code>\other</code> (12). <p>Usually, when you give a definition to an active character, you have to do so inside a group where you temporarily make the character active, and then give it a global definition (cf. the definition of <code>\obeyspaces</code> in <cite>The TeXbook</cite>). -<a name="index-definitions_002c-global-1134"></a>This is inconvenient if you are writing a long macro, or if the +<a name="index-definitions_002c-global-1157"></a>This is inconvenient if you are writing a long macro, or if the character already has a global definition you do not wish to transcend. Eplain provides <code>\letreturn</code>, which defines the usual end-of-line -<a name="index-letreturn-1135"></a><a name="index-return-character-1136"></a>character to be the argument. For example: +<a name="index-letreturn-1158"></a><a name="index-return-character-1159"></a>character to be the argument. For example: <pre class="example"> \def\mymacro{... \letreturn\myreturn ... } \mymacro hello there </pre> - <p class="noindent">The end-of-line between `<samp><span class="samp">hello</span></samp>' and `<samp><span class="samp">there</span></samp>' causes + <p class="noindent">The end-of-line between ‘<samp><span class="samp">hello</span></samp>’ and ‘<samp><span class="samp">there</span></samp>’ causes <code>\myreturn</code> to be expanded. <p><cite>The TeXbook</cite> describes <code>\uncatcodespecials</code>, -<a name="index-uncatcodespecials-1137"></a>which makes all characters which are normally “special” into “other” +<a name="index-uncatcodespecials-1160"></a>which makes all characters which are normally “special” into “other” characters, but the definition never made it into plain TeX. -Eplain therefore defines it. +Eplain therefore defines it. For notes on the usage, see <a href="#Verbatim-listing">Verbatim listing</a>. <p>Finally, <code>\percentchar</code> -<a name="index-percentchar-1138"></a>expands into a literal `%' character. This is useful when you +<a name="index-percentchar-1161"></a>expands into a literal `%' character. This is useful when you <code>\write</code> TeX output to a file, and want to avoid spurious spaces. For example, Eplain writes a <code>\percentchar</code> after the definition of cross-references. The macros <code>\lbracechar</code> -<a name="index-lbracechar-1139"></a>and <code>\rbracechar</code> -<a name="index-rbracechar-1140"></a>expand similarly. +<a name="index-lbracechar-1162"></a>and <code>\rbracechar</code> +<a name="index-rbracechar-1163"></a>expand similarly. <div class="node"> -<p><hr> <a name="Allocation-macros"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Iteration">Iteration</a>, Previous: <a rel="previous" accesskey="p" href="#Category-codes">Category codes</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -5825,16 +5877,16 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.2 Allocation macros</h3> -<p><a name="index-allocation-macros-1141"></a><a name="index-register-allocation-1142"></a> +<p><a name="index-allocation-macros-1164"></a><a name="index-register-allocation-1165"></a> Plain TeX provides macros that allocate registers of each primitive type in TeX, to prevent different sets of macros from using the same register for two different things. The macros are all named starting -with `<samp><span class="samp">new</span></samp>', -<a name="index-new_0040dots_007b_007d-1143"></a>e.g., <code>\newcount</code> allocates a new “count” +with ‘<samp><span class="samp">new</span></samp>’, +<a name="index-new_0040dots_007b_007d-1166"></a>e.g., <code>\newcount</code> allocates a new “count” (integer) register. Such allocations are usually needed only at the top level of some macro definition file; therefore, plain TeX makes the allocation registers <code>\outer</code>, -<a name="index-outer-1144"></a>to help find errors. (The error this helps to find is a missing right +<a name="index-outer-1167"></a>to help find errors. (The error this helps to find is a missing right brace in some macro definition.) <p>Sometimes, however, it is useful to allocate a register as part of @@ -5843,24 +5895,24 @@ definition (or in a few other contexts: the parameter text of a definition, an argument to a definition, the preamble of an alignment, or in conditional text that is being skipped). Therefore, Eplain defines “inner” versions of all the allocation macros, named with the -prefix `<samp><span class="samp">inner</span></samp>': +prefix ‘<samp><span class="samp">inner</span></samp>’: <code>\innernewbox</code>, -<a name="index-innernewbox-1145"></a><code>\innernewcount</code>, -<a name="index-innernewcount-1146"></a><code>\innernewdimen</code>, -<a name="index-innernewdimen-1147"></a><code>\innernewfam</code>, -<a name="index-innernewfam-1148"></a><code>\innernewhelp</code>, -<a name="index-innernewhelp-1149"></a><code>\innernewif</code>, -<a name="index-innernewif-1150"></a><code>\innernewinsert</code>, -<a name="index-innernewinsert-1151"></a><code>\innernewlanguage</code>, -<a name="index-innernewlanguage-1152"></a><code>\innernewread</code>,<br> -<a name="index-innernewread-1153"></a><code>\innernewskip</code>, -<a name="index-innernewskip-1154"></a><code>\innernewtoks</code>, -<a name="index-innernewtoks-1155"></a><code>\innernewwrite</code>. -<a name="index-innernewwrite-1156"></a> +<a name="index-innernewbox-1168"></a><code>\innernewcount</code>, +<a name="index-innernewcount-1169"></a><code>\innernewdimen</code>, +<a name="index-innernewdimen-1170"></a><code>\innernewfam</code>, +<a name="index-innernewfam-1171"></a><code>\innernewhelp</code>, +<a name="index-innernewhelp-1172"></a><code>\innernewif</code>, +<a name="index-innernewif-1173"></a><code>\innernewinsert</code>, +<a name="index-innernewinsert-1174"></a><code>\innernewlanguage</code>, +<a name="index-innernewlanguage-1175"></a><code>\innernewread</code>,<br> +<a name="index-innernewread-1176"></a><code>\innernewskip</code>, +<a name="index-innernewskip-1177"></a><code>\innernewtoks</code>, +<a name="index-innernewtoks-1178"></a><code>\innernewwrite</code>. +<a name="index-innernewwrite-1179"></a> You can also define non-outer versions of other macros in the same way that Eplain defines the above. The basic macro is called <code>\innerdef</code>: -<a name="index-innerdef-1157"></a> +<a name="index-innerdef-1180"></a> <pre class="example"> \innerdef <var>\innername</var> {<var>outername</var>} </pre> <p>The first argument (<var>\innername</var>) to <code>\innerdef</code> is the @@ -5873,15 +5925,15 @@ since it's outer!) <p>If the outer control sequence is named <var>\cs</var>, and you want to define <code>inner</code><var>cs</var> as the inner one, you can use <code>\innerinnerdef</code>, -<a name="index-innerinnerdef-1158"></a>which is just an abbreviation for a call to <code>\innerdef</code>. For +<a name="index-innerinnerdef-1181"></a>which is just an abbreviation for a call to <code>\innerdef</code>. For example, these two calls are equivalent: <pre class="example"> \innerdef\innerproclaim{proclaim} \innerinnerdef{proclaim} </pre> <div class="node"> -<p><hr> <a name="Iteration"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Macro-arguments">Macro arguments</a>, Previous: <a rel="previous" accesskey="p" href="#Allocation-macros">Allocation macros</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -5890,20 +5942,20 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.3 Iteration</h3> -<p><a name="index-iteration-1159"></a><a name="index-loops-1160"></a><a name="index-for-loops-1161"></a><a name="index-while-loops-1162"></a><a name="index-do_0040dots_007b_007dwhile-loops-1163"></a> +<p><a name="index-iteration-1182"></a><a name="index-loops-1183"></a><a name="index-for-loops-1184"></a><a name="index-while-loops-1185"></a><a name="index-do_0040dots_007b_007dwhile-loops-1186"></a> You can iterate through a comma-separated list of items with <code>\for</code>. -<a name="index-for-1164"></a>Here is an example: +<a name="index-for-1187"></a>Here is an example: <pre class="example"> \for\name:=karl,kathy\do{% \message{\name}% }% </pre> - <p class="noindent">This writes `<samp><span class="samp">karl</span></samp>' and `<samp><span class="samp">kathy</span></samp>' to the terminal. Spaces + <p class="noindent">This writes ‘<samp><span class="samp">karl</span></samp>’ and ‘<samp><span class="samp">kathy</span></samp>’ to the terminal. Spaces before or after the commas in the list, or after the <code>:=</code>, are <em>not</em> ignored. To strip leading spaces off the items, use <code>\For</code>: -<a name="index-For-1165"></a> +<a name="index-For-1188"></a> <pre class="example"> \For\name:= karl, kathy\do{% @@ -5929,9 +5981,9 @@ token after <code>:=</code> which is space, not <code>\namelist</code>. <p>Eplain provides another kind of loops, which is an extension of plain TeX's -<a name="index-loop-1166"></a><code>\loop</code>. If you say: +<a name="index-loop-1189"></a><code>\loop</code>. If you say: - <p><a name="index-repeat-1167"></a> + <p><a name="index-repeat-1190"></a> <pre class="example"> \loop <var>loop-text</var> \if <var>condition</var> @@ -5953,12 +6005,12 @@ the optional else clause: </pre> <p class="noindent">Here, <var>loop-text</var> will be repeated as long as <var>condition</var> is <em>not</em> satisfied. This extension is from -<a name="index-Eijkhout_002c-Victor-1168"></a>Victor Eijkhout's -<a name="index-g_t_0040i_007b_0040TeX_007b_007d-by-Topic_007d-1169"></a><i>TeX by Topic</i> (page <!-- /@w -->104). +<a name="index-Eijkhout_002c-Victor-1191"></a>Victor Eijkhout's +<a name="index-g_t_0040i_007b_0040TeX_007b_007d-by-Topic_007d-1192"></a><i>TeX by Topic</i> (page 104). <div class="node"> -<p><hr> <a name="Macro-arguments"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Converting-to-characters">Converting to characters</a>, Previous: <a rel="previous" accesskey="p" href="#Iteration">Iteration</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -5967,14 +6019,14 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.4 Macro arguments</h3> -<p><a name="index-arguments_002c-ignoring-1170"></a><a name="index-ignoring-arguments-1171"></a><a name="index-gobbling-arguments-1172"></a>It is occasionally useful to redefine a macro that takes arguments to +<p><a name="index-arguments_002c-ignoring-1193"></a><a name="index-ignoring-arguments-1194"></a><a name="index-gobbling-arguments-1195"></a>It is occasionally useful to redefine a macro that takes arguments to do nothing. Eplain defines <code>\gobble</code>, -<a name="index-gobble-1173"></a><code>\gobbletwo</code>, -<a name="index-gobbletwo-1174"></a>and <code>\gobblethree</code> to swallow one, two, and three arguments, +<a name="index-gobble-1196"></a><code>\gobbletwo</code>, +<a name="index-gobbletwo-1197"></a>and <code>\gobblethree</code> to swallow one, two, and three arguments, respectively. <p>For example, if you want to produce a “short” table of -<a name="index-table-of-contents_002c-short-1175"></a>contents—one that includes only chapters, say—the easiest thing to +<a name="index-table-of-contents_002c-short-1198"></a>contents—one that includes only chapters, say—the easiest thing to do is read the entire <code>.toc</code> file (see <a href="#Contents">Contents</a>), and just ignore the commands that produce section or subsection entries. To be specific: @@ -5988,13 +6040,13 @@ specific: subsections in your document.) <p>In addition, Eplain defines <code>\eattoken</code> -<a name="index-eattoken-1176"></a>to swallow the single following token, using <code>\let</code>. Thus, -<code>\gobble</code> followed by `<samp><span class="samp">{...}</span></samp>' ignores the entire +<a name="index-eattoken-1199"></a>to swallow the single following token, using <code>\let</code>. Thus, +<code>\gobble</code> followed by ‘<samp><span class="samp">{...}</span></samp>’ ignores the entire brace-enclosed text. <code>\eattoken</code> followed by the same ignores only the opening left brace. <p>Eplain defines a macro <code>\identity</code> -<a name="index-identity-1177"></a>which takes one argument and expands to that argument. This may be +<a name="index-identity-1200"></a>which takes one argument and expands to that argument. This may be useful if you want to provide a function for the user to redefine, but don't need to do anything by default. (For example, the default definition of <code>\eqconstruct</code> (see <a href="#Formatting-equation-references">Formatting equation references</a>) is <code>\identity</code>.) @@ -6027,8 +6079,8 @@ one will need to be enclosed in braces, so TeX does not mistake the end of the first for the end of the second. <div class="node"> -<p><hr> <a name="Converting-to-characters"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Expansion">Expansion</a>, Previous: <a rel="previous" accesskey="p" href="#Macro-arguments">Macro arguments</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6037,9 +6089,9 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.5 Converting to characters</h3> -<p><a name="index-characters_002c-converting-to-1178"></a>Eplain defines <code>\xrlabel</code> -<a name="index-xrlabel-1179"></a>to produce control sequence names for cross-reference labels, et al. -This macro expands to its argument with an `<samp><span class="samp">_</span></samp>' appended. (It does +<p><a name="index-characters_002c-converting-to-1201"></a>Eplain defines <code>\xrlabel</code> +<a name="index-xrlabel-1202"></a>to produce control sequence names for cross-reference labels, et al. +This macro expands to its argument with an ‘<samp><span class="samp">_</span></samp>’ appended. (It does this because the usual use of <code>\xrlabel</code> is to generate a control sequence name, and we naturally want to avoid conflicts between control sequence names.) @@ -6051,11 +6103,11 @@ sequence name out of the result you need only do </pre> <p class="noindent">The <code>\csname</code> primitive makes a control sequence name out of any sequence of character tokens, regardless of category code. -Labels can therefore include any characters except for `<samp><span class="samp">\</span></samp>', -`<samp><span class="samp">{</span></samp>', `<samp><span class="samp">}</span></samp>', and `<samp><span class="samp">#</span></samp>', all of which are used in macro +Labels can therefore include any characters except for ‘<samp><span class="samp">\</span></samp>’, +‘<samp><span class="samp">{</span></samp>’, ‘<samp><span class="samp">}</span></samp>’, and ‘<samp><span class="samp">#</span></samp>’, all of which are used in macro definitions themselves. - <p><a name="index-sanitize-1180"></a><code>\sanitize</code> takes a control sequence as an argument and converts + <p><a name="index-sanitize-1203"></a><code>\sanitize</code> takes a control sequence as an argument and converts the expansion of the control sequence into a list of character tokens. This is the behavior you want when writing information like chapter titles to an output file. For example, here is part of the definition @@ -6072,8 +6124,8 @@ has given. }% </pre> <div class="node"> -<p><hr> <a name="Expansion"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Obeying-spaces">Obeying spaces</a>, Previous: <a rel="previous" accesskey="p" href="#Converting-to-characters">Converting to characters</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6097,9 +6149,9 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d </ul> <div class="node"> -<p><hr> <a name="%5ccsn-and-%5cece"></a> <a name="g_t_005ccsn-and-_005cece"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#g_t_005cedefappend">\edefappend</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6107,11 +6159,11 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.1 <code>\csn</code> and <code>\ece</code></h4> -<p><a name="index-csn-1181"></a><code>\csn</code>{<var>name</var>} simply abbreviates <code>\csname</code> <var>name</var> +<p><a name="index-csn-1204"></a><code>\csn</code>{<var>name</var>} simply abbreviates <code>\csname</code> <var>name</var> <code>\endcsname</code>, thus saving some typing. The extra level of expansion does take some time, though, so I don't recommend it for an inner loop. - <p><a name="index-ece-1182"></a><code>\ece</code>{<var>token</var>}{<var>name</var>} abbreviates + <p><a name="index-ece-1205"></a><code>\ece</code>{<var>token</var>}{<var>name</var>} abbreviates <pre class="example"> \expandafter <var>token</var> \csname <var>name</var> \endcsname </pre> @@ -6124,9 +6176,9 @@ does take some time, though, so I don't recommend it for an inner loop. <code>ptmr</code>. <div class="node"> -<p><hr> <a name="%5cedefappend"></a> <a name="g_t_005cedefappend"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Hooks">Hooks</a>, Previous: <a rel="previous" accesskey="p" href="#g_t_005ccsn-and-_005cece">\csn and \ece</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6135,7 +6187,7 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.2 <code>\edefappend</code></h4> -<p><a name="index-edefappend-1183"></a><code>\edefappend</code> is a way of adding on to an existing definition. It +<p><a name="index-edefappend-1206"></a><code>\edefappend</code> is a way of adding on to an existing definition. It takes two arguments: the first is the control sequence name, the second the new tokens to append to the definition. The second argument is fully expanded (in the <code>\edef</code> that redefines the control sequence). @@ -6146,11 +6198,11 @@ fully expanded (in the <code>\edef</code> that redefines the control sequence). \def\bar{xyz} \edefappend\foo{\bar karl} </pre> - <p class="noindent">results in <code>\foo</code> being defined as `<samp><span class="samp">abcxyzkarl</span></samp>'. + <p class="noindent">results in <code>\foo</code> being defined as ‘<samp><span class="samp">abcxyzkarl</span></samp>’. <div class="node"> -<p><hr> <a name="Hooks"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Properties">Properties</a>, Previous: <a rel="previous" accesskey="p" href="#g_t_005cedefappend">\edefappend</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6159,7 +6211,7 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.3 Hooks</h4> -<p><a name="index-hooks-1184"></a>A <dfn>hook</dfn> is simply a name for a group of actions which is executed +<p><a name="index-hooks-1207"></a>A <dfn>hook</dfn> is simply a name for a group of actions which is executed in certain places—presumably when it is most useful to allow customization or modification. TeX already provides many builtin hooks; for example, the <code>\every ...</code> token lists are all @@ -6169,16 +6221,16 @@ examples of hooks. take two arguments: the name of the hook and the new actions. -<a name="index-hookaction-1185"></a> -<dl><dt><code>hookaction </code><var>name</var> <var>actions</var><dd><a name="index-hookappend-1186"></a><dt><code>hookappend </code><var>name</var> <var>actions</var><dd><a name="index-hookprepend-1187"></a><br><dt><code>hookprepend </code><var>name</var> <var>actions</var><dd>Each of these adds <var>actions</var> to the hook <var>name</var>. (Any +<a name="index-hookaction-1208"></a> +<dl><dt><code>hookaction </code><var>name</var> <var>actions</var><dd><a name="index-hookappend-1209"></a><dt><code>hookappend </code><var>name</var> <var>actions</var><dd><a name="index-hookprepend-1210"></a><br><dt><code>hookprepend </code><var>name</var> <var>actions</var><dd>Each of these adds <var>actions</var> to the hook <var>name</var>. (Any previously-defined actions are retained.) <var>name</var> is not a control sequence, but rather the characters of the name. - <p><a name="index-hookactiononce-1188"></a><br><dt><code>hookactiononce </code><var>name</var><code> \</code><var>cs</var><dd><code>\hookactiononce</code> adds <var>cs</var> to <var>name</var>, like the macros + <p><a name="index-hookactiononce-1211"></a><br><dt><code>hookactiononce </code><var>name</var><code> \</code><var>cs</var><dd><code>\hookactiononce</code> adds <var>cs</var> to <var>name</var>, like the macros above, but first it adds <pre class="example"> \global\let <var>\cs</var> \relax - </pre> +</pre> <p class="noindent">to the definition of <var>\cs</var>. (This implies <var>\cs</var> must be a true expandable macro, not a control sequence <code>\let</code> to a primitive or some other such thing.) Thus, <var>\cs</var> is expanded the @@ -6190,7 +6242,7 @@ Neither this nor the other hook macros do global assignments to the hook variable itself, so TeX's usual grouping rules apply. </dl> - <p><a name="index-hookrun-1189"></a>The companion macro to defining hook actions is <code>\hookrun</code>, for + <p><a name="index-hookrun-1212"></a>The companion macro to defining hook actions is <code>\hookrun</code>, for running them. This takes a single argument, the name of the hook. If no actions for the hook are defined, no error ensues. @@ -6207,8 +6259,8 @@ other actions (as long as the other actions use <code>\hookprepend</code> and \hookappend{end}\finish_underline </pre> <div class="node"> -<p><hr> <a name="Properties"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#g_t_005cexpandonce">\expandonce</a>, Previous: <a rel="previous" accesskey="p" href="#Hooks">Hooks</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6217,7 +6269,7 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.4 Properties</h4> -<p><a name="index-properties-1190"></a><a name="index-atom-1191"></a>A <dfn>property</dfn> is a name/value pair associated with another symbol, +<p><a name="index-properties-1213"></a><a name="index-atom-1214"></a>A <dfn>property</dfn> is a name/value pair associated with another symbol, traditionally called an <dfn>atom</dfn>. Both atom and property names are control sequence names. @@ -6225,12 +6277,12 @@ control sequence names. <code>\setproperty</code> and <code>\getproperty</code>. -<a name="index-setproperty-1192"></a> +<a name="index-setproperty-1215"></a> <dl><dt><code>\setproperty </code><var>atom</var> <var>propname</var> <var>value</var><dd><code>\setproperty</code> defines the property <var>property</var> on the atom <var>atom</var> to be <var>value</var>. <var>atom</var> and <var>propname</var> can be anything acceptable to <code>\csname</code>. <var>value</var> can be anything. - <p><a name="index-getproperty-1193"></a><br><dt><code>\getproperty </code><var>atom</var> <var>propname</var><dd><code>\getproperty</code> expands to the value stored for <var>propname</var> on + <p><a name="index-getproperty-1216"></a><br><dt><code>\getproperty </code><var>atom</var> <var>propname</var><dd><code>\getproperty</code> expands to the value stored for <var>propname</var> on <var>atom</var>. If <var>propname</var> is undefined, it expands to nothing (i.e., <code>\empty</code>). @@ -6241,15 +6293,15 @@ implementation truly does associate properties with atoms. In TeX, where we have no builtin support for properties, the association is only conceptual. - <p>The following example typesets `<samp><span class="samp">xyz</span></samp>'. + <p>The following example typesets ‘<samp><span class="samp">xyz</span></samp>’. <pre class="example"> \setproperty{a}{pr}{xyz} \getproperty{a}{pr} </pre> <div class="node"> -<p><hr> <a name="%5cexpandonce"></a> <a name="g_t_005cexpandonce"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#g_t_005cifundefined">\ifundefined</a>, Previous: <a rel="previous" accesskey="p" href="#Properties">Properties</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6258,21 +6310,21 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.5 <code>\expandonce</code></h4> -<p><a name="index-expansion_002c-one_002dlevel-1194"></a><a name="index-expandonce-1195"></a><code>\expandonce</code> is defined as <code>\expandafter\noexpand</code>. Thus, +<p><a name="index-expansion_002c-one_002dlevel-1217"></a><a name="index-expandonce-1218"></a><code>\expandonce</code> is defined as <code>\expandafter\noexpand</code>. Thus, <code>\expandonce </code><var>token</var> expands <var>token</var> once, instead of to TeX primitives. This is most useful in an <code>\edef</code>. <p>For example, the following defines <code>\temp</code> to be <code>\foo</code>, not -`<samp><span class="samp">abc</span></samp>'. +‘<samp><span class="samp">abc</span></samp>’. <pre class="example"> \def\foo{abc} \def\bar{\foo} \edef\temp{\expandonce\bar} </pre> <div class="node"> -<p><hr> <a name="%5cifundefined"></a> <a name="g_t_005cifundefined"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#g_t_005cifempty">\ifempty</a>, Previous: <a rel="previous" accesskey="p" href="#g_t_005cexpandonce">\expandonce</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6281,11 +6333,11 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.6 <code>\ifundefined</code></h4> -<p><a name="index-ifundefined-1196"></a><code>\ifundefined{</code><var>cs</var><code>} </code><var>t</var><code> \else </code><var>f</var><code> \fi</code> expands the +<p><a name="index-ifundefined-1219"></a><code>\ifundefined{</code><var>cs</var><code>} </code><var>t</var><code> \else </code><var>f</var><code> \fi</code> expands the <var>t</var> text if the control sequence <code>\</code><var>cs</var> is undefined or has been <code>\let</code> to <code>\relax</code>, and the <var>f</var> text otherwise. - <p><a name="index-skipping-tokens-1197"></a><a name="index-undefined-control-sequence_002c-checking-for-1198"></a>Since <code>\ifundefined</code> is not a primitive conditional, it cannot be + <p><a name="index-skipping-tokens-1220"></a><a name="index-undefined-control-sequence_002c-checking-for-1221"></a>Since <code>\ifundefined</code> is not a primitive conditional, it cannot be used in places where TeX might skip tokens “at high speed”, e.g., within another conditional—TeX can't match up the <code>\if</code>'s and <code>\fi</code>'s. @@ -6293,9 +6345,9 @@ within another conditional—TeX can't match up the <code>\if</code>'s and <p>This macro was taken directly from <cite>The TeXbook</cite>, page 308. <div class="node"> -<p><hr> <a name="%5cifempty"></a> <a name="g_t_005cifempty"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a>, Previous: <a rel="previous" accesskey="p" href="#g_t_005cifundefined">\ifundefined</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6304,14 +6356,14 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.7 <code>\ifempty</code></h4> -<p><a name="index-ifempty-1199"></a><a name="index-empty-string_002c-checking-for-1200"></a><a name="index-empty-argument_002c-checking-for-1201"></a><code>\ifempty{</code><var>arg</var><code>} </code><var>t</var><code> \else </code><var>f</var><code> \fi</code> expands the +<p><a name="index-ifempty-1222"></a><a name="index-empty-string_002c-checking-for-1223"></a><a name="index-empty-argument_002c-checking-for-1224"></a><code>\ifempty{</code><var>arg</var><code>} </code><var>t</var><code> \else </code><var>f</var><code> \fi</code> expands the <var>t</var> text if <var>arg</var> is the empty string, and the <var>f</var> text otherwise. This macro is useful when you need to test for empty arguments to your macros, for example: <pre class="example"> \def\foo#1{\ifempty{#1} <var>t</var> \else <var>f</var> \fi} </pre> - <p><a name="index-skipping-tokens-1202"></a>Since <code>\ifempty</code> is not a primitive conditional, it cannot be + <p><a name="index-skipping-tokens-1225"></a>Since <code>\ifempty</code> is not a primitive conditional, it cannot be used in places where TeX might skip tokens “at high speed”, e.g., within another conditional—TeX can't match up the <code>\if</code>'s and <code>\fi</code>'s. @@ -6321,12 +6373,12 @@ within another conditional—TeX can't match up the <code>\if</code>'s and <pre class="example"> \def\empty{} \ifempty\empty\message{empty}\else\message{not empty}\fi </pre> - <p class="noindent">will produce the message `<samp><span class="samp">not empty</span></samp>'. + <p class="noindent">will produce the message ‘<samp><span class="samp">not empty</span></samp>’. <div class="node"> -<p><hr> <a name="%5cifinteger-and-%5cisinteger"></a> <a name="g_t_005cifinteger-and-_005cisinteger"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a>, Previous: <a rel="previous" accesskey="p" href="#g_t_005cifempty">\ifempty</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6335,7 +6387,7 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.8 <code>\ifinteger</code> and <code>\isinteger</code></h4> -<p><a name="index-ifinteger-1203"></a><a name="index-integers_002c-detecting-1204"></a><a name="index-numbers_002c-detecting-1205"></a><a name="index-detecting-numbers-1206"></a><a name="index-identifying-numbers-1207"></a><a name="index-recognizing-numbers-1208"></a><code>\ifinteger{</code><var>arg</var><code>} </code><var>t</var><code> \else </code><var>f</var><code> \fi</code> expands the +<p><a name="index-ifinteger-1226"></a><a name="index-integers_002c-detecting-1227"></a><a name="index-numbers_002c-detecting-1228"></a><a name="index-detecting-numbers-1229"></a><a name="index-identifying-numbers-1230"></a><a name="index-recognizing-numbers-1231"></a><code>\ifinteger{</code><var>arg</var><code>} </code><var>t</var><code> \else </code><var>f</var><code> \fi</code> expands the <var>t</var> text if <var>arg</var> is an integer, and the <var>f</var> text otherwise. This macro can detect positive and negative integers. @@ -6343,7 +6395,7 @@ otherwise. This macro can detect positive and negative integers. used in places where TeX might skip tokens “at high speed”, e.g., within another conditional—TeX can't match up the <code>\if</code>'s and <code>\fi</code>'s. For such situations Eplain provides -<a name="index-isinteger-1209"></a><code>\isinteger</code>, which can be used as follows: +<a name="index-isinteger-1232"></a><code>\isinteger</code>, which can be used as follows: <pre class="example"> \if\isinteger{<var>arg</var>} <var>t</var> \else <var>f</var> \fi </pre> @@ -6353,16 +6405,16 @@ following code <pre class="example"> \ifinteger{12_ab}integer\else not integer\fi </pre> - <p class="noindent">will expand to `<samp><span class="samp">ab_integer</span></samp>' (and thus would not + <p class="noindent">will expand to ‘<samp><span class="samp">ab_integer</span></samp>’ (and thus would not even compile outside math mode). - <p><a name="index-g_t_0040TeX_007b_007d-Frequently-Asked-Question-1210"></a>These macros come from TeX Frequently Asked Question + <p><a name="index-g_t_0040TeX_007b_007d-Frequently-Asked-Question-1233"></a>These macros come from TeX Frequently Asked Question (<a href="http://www.tex.ac.uk/cgi-bin/texfaq2html">http://www.tex.ac.uk/cgi-bin/texfaq2html</a>). <div class="node"> -<p><hr> <a name="%5cfuturenonspacelet"></a> <a name="g_t_005cfuturenonspacelet"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a>, Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> @@ -6370,7 +6422,7 @@ Up: <a rel="up" accesskey="u" href="#Expansion">Expansion</a> <h4 class="subsection">7.6.9 <code>\futurenonspacelet</code></h4> -<p><a name="index-lookahead-without-spaces-1211"></a><a name="index-spaces_002c-ignoring-1212"></a><a name="index-futurenonspacelet-1213"></a>The <code>\futurelet</code> primitive allows you to look at the next token +<p><a name="index-lookahead-without-spaces-1234"></a><a name="index-spaces_002c-ignoring-1235"></a><a name="index-futurenonspacelet-1236"></a>The <code>\futurelet</code> primitive allows you to look at the next token from the input. Sometimes, though, you want to look ahead ignoring any spaces. This is what <code>\futurenonspacelet</code> does. It is otherwise the same as <code>\futurelet</code>: you give it two control sequences as @@ -6381,8 +6433,8 @@ expands the second. For example: \def\finishup{\ifx\temp ...} </pre> <div class="node"> -<p><hr> <a name="Obeying-spaces"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Writing-out-numbers">Writing out numbers</a>, Previous: <a rel="previous" accesskey="p" href="#Expansion">Expansion</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6391,7 +6443,7 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.7 Obeying spaces</h3> -<p><a name="index-whitespace-1214"></a><a name="index-spaces_002c-obeying-1215"></a><a name="index-newlines_002c-obeying-1216"></a><a name="index-obeywhitespace-1217"></a> +<p><a name="index-whitespace-1237"></a><a name="index-spaces_002c-obeying-1238"></a><a name="index-newlines_002c-obeying-1239"></a><a name="index-obeywhitespace-1240"></a> <code>\obeywhitespace</code> makes both end-of-lines and space characters in the input be respected in the output. Unlike plain TeX's <code>\obeyspaces</code>, even spaces at the beginnings of lines turn into @@ -6404,18 +6456,18 @@ what <code>\ </code> produces. <p>Ordinarily, a blank line in the input produces as much blank vertical space as a line of text would occupy. You can adjust this by assigning to the parameter <code>\blanklineskipamount</code>: -<a name="index-blanklineskipamount-_0040r_007bin-obeyed-text_007d-1218"></a>if you set this negative, the space produced by a blank line will be +<a name="index-blanklineskipamount-_0040r_007bin-obeyed-text_007d-1241"></a>if you set this negative, the space produced by a blank line will be smaller; if positive, larger. <p>Tabs are not affected by this routine. In particular, if tabs occur at the beginning of a line, they will disappear. (If you are trying to make TeX do the “right thing” with tabs, don't. Use a utility program like <i>expand</i> instead.) -<a name="index-tabs-1219"></a> +<a name="index-tabs-1242"></a> <div class="node"> -<p><hr> <a name="Writing-out-numbers"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Mode_002dspecific-penalties">Mode-specific penalties</a>, Previous: <a rel="previous" accesskey="p" href="#Obeying-spaces">Obeying spaces</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6424,14 +6476,14 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.8 Writing out numbers</h3> -<p><a name="index-numbers_002c-written-form-of-1220"></a> <code>\numbername</code> -<a name="index-numbername-1221"></a>produces the written-out form of its argument, i.e., `zero' through +<p><a name="index-numbers_002c-written-form-of-1243"></a> <code>\numbername</code> +<a name="index-numbername-1244"></a>produces the written-out form of its argument, i.e., `zero' through `ten' for the numbers 0–10, and numerals for all others. <div class="node"> -<p><hr> <a name="Mode-specific-penalties"></a> <a name="Mode_002dspecific-penalties"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Auxiliary-files">Auxiliary files</a>, Previous: <a rel="previous" accesskey="p" href="#Writing-out-numbers">Writing out numbers</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6445,7 +6497,7 @@ current list, no matter what kind of list it is. You might intend a particular penalty to always be a “vertical” penalty, however, i.e., appended to a vertical list. Therefore, Eplain provides <code>\vpenalty</code> -<a name="index-vpenalty-1222"></a>and <code>\hpenalty</code> +<a name="index-vpenalty-1245"></a>and <code>\hpenalty</code> which first leave the other mode and then do <code>\penalty</code>. <p>More precisely, <code>\vpenalty</code> inserts <code>\par</code> if the current @@ -6454,8 +6506,8 @@ the current mode is vertical. (Thus, <code>\vpenalty</code> cannot be used in math mode.) <div class="node"> -<p><hr> <a name="Auxiliary-files"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#User_002ddefined-environments">User-defined environments</a>, Previous: <a rel="previous" accesskey="p" href="#Mode_002dspecific-penalties">Mode-specific penalties</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6464,12 +6516,12 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.10 Auxiliary files</h3> -<p><a name="index-axuiliary-files_002c-existence-of-1223"></a>It is common to write some information out to a file to be used on a +<p><a name="index-axuiliary-files_002c-existence-of-1246"></a>It is common to write some information out to a file to be used on a subsequent run. But when it is time to read the file again, you only want to do so if the file actually exists. <code>\testfileexistence</code> -<a name="index-testfileexistence-1224"></a>is given an argument which is appended to <code>\jobname</code>, -<a name="index-jobname-1225"></a>and sets the conditional <code>\iffileexists</code> -<a name="index-iffileexists-1226"></a><a name="index-fileexists-_0040r_007b_0028conditional_0029_007d-1227"></a>appropriately. For example: +<a name="index-testfileexistence-1247"></a>is given an argument which is appended to <code>\jobname</code>, +<a name="index-jobname-1248"></a>and sets the conditional <code>\iffileexists</code> +<a name="index-iffileexists-1249"></a><a name="index-fileexists-_0040r_007b_0028conditional_0029_007d-1250"></a>appropriately. For example: <pre class="example"> \testfileexistence{toc}% \iffileexists @@ -6487,9 +6539,9 @@ name. For example, if you want to test for the file \fi </pre> <div class="node"> -<p><hr> <a name="User-defined-environments"></a> <a name="User_002ddefined-environments"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Page-list-and-page-range-parsers">Page list and page range parsers</a>, Previous: <a rel="previous" accesskey="p" href="#Auxiliary-files">Auxiliary files</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6498,7 +6550,7 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.11 User-defined environments</h3> -<p><a name="index-environments_002c-user_002ddefined-1228"></a>Plain TeX does not provide “named” block structures, only the anonymous +<p><a name="index-environments_002c-user_002ddefined-1251"></a>Plain TeX does not provide “named” block structures, only the anonymous <code>\begingroup</code> and <code>\endgroup</code> pair. The disadvantage of this is that when there are several such groups and one is mismatched, it can be difficult to find the error. Eplain provides a named block structure @@ -6530,8 +6582,8 @@ shouldn't always be allowed to nest. Put the control sequence environment that should not be nested. <div class="node"> -<p><hr> <a name="Page-list-and-page-range-parsers"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#User_002ddefined-environments">User-defined environments</a>, Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming definitions</a> @@ -6539,7 +6591,7 @@ Up: <a rel="up" accesskey="u" href="#Programming-definitions">Programming d <h3 class="section">7.12 Page list and page range parsers</h3> -<p><a name="index-idxparselist-1229"></a><a name="index-idxparserange-1230"></a><a name="index-idxpagei-1231"></a><a name="index-idxpageii-1232"></a>The macros which Eplain uses to parse the page lists and ranges in the +<p><a name="index-idxparselist-1252"></a><a name="index-idxparserange-1253"></a><a name="index-idxpagei-1254"></a><a name="index-idxpageii-1255"></a>The macros which Eplain uses to parse the page lists and ranges in the index, <code>\idxparselist</code> and <code>\idxparserange</code> (see <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a>), are sometimes useful when defining page number encapsulators. They take one argument, text to parse. When a page list (range) is not present, they set <code>\idxpagei</code> to be @@ -6547,9 +6599,9 @@ page list (range) is not present, they set <code>\idxpagei</code> to be <code>\idxpagei</code> and <code>\idxpageii</code> to the first and the second page numbers, respectively. - <p><a name="index-setidxpagelistdelimiter-1233"></a><a name="index-setidxpagerangedelimiter-1234"></a>Eplain's defaults for the page list and page range delimiters are the -same as those in MakeIndex, a comma followed by a space (`<samp><span class="samp">, </span></samp>') and -two dashes (`<samp><span class="samp">--</span></samp>'), respectively. If you customize MakeIndex to use + <p><a name="index-setidxpagelistdelimiter-1256"></a><a name="index-setidxpagerangedelimiter-1257"></a>Eplain's defaults for the page list and page range delimiters are the +same as those in MakeIndex, a comma followed by a space (‘<samp><span class="samp">, </span></samp>’) and +two dashes (‘<samp><span class="samp">--</span></samp>’), respectively. If you customize MakeIndex to use different delimiters, you must not forget to let Eplain know about them with the commands @@ -6558,14 +6610,14 @@ with the commands </pre> <p class="noindent">These commands save the <var>list-delim</var> and <var>page-delim</var> delimiters in -<a name="index-idxpagelistdelimiter-1235"></a><a name="index-idxpagerangedelimiter-1236"></a><code>\idxpagelistdelimiter</code> and <code>\idxpagerangedelimiter</code>, +<a name="index-idxpagelistdelimiter-1258"></a><a name="index-idxpagerangedelimiter-1259"></a><code>\idxpagelistdelimiter</code> and <code>\idxpagerangedelimiter</code>, respectively. - <p><a name="index-underlining-page-numbers-in-index-1237"></a><a name="index-index_002c-underlining-page-numbers-1238"></a><a name="index-ituline-1239"></a>For example, you may want to define a page number markup command which + <p><a name="index-underlining-page-numbers-in-index-1260"></a><a name="index-index_002c-underlining-page-numbers-1261"></a><a name="index-ituline-1262"></a>For example, you may want to define a page number markup command which italicizes and properly underlines page ranges by underlining only the page numbers and not the delimiter: - <p><a name="index-idxpagerangedelimiter-1240"></a> + <p><a name="index-idxpagerangedelimiter-1263"></a> <pre class="example"> \def\ituline#1{% {\it \idxparserange{#1}% @@ -6587,8 +6639,8 @@ extend <code>\ituline</code> with an additional call to <code>\idxparselist</cod <!-- This is part of the Eplain manual. Public domain. --> <div class="node"> -<p><hr> <a name="Demo-files"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Macro-index">Macro index</a>, Previous: <a rel="previous" accesskey="p" href="#Programming-definitions">Programming definitions</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -6597,7 +6649,7 @@ Up: <a rel="up" accesskey="u" href="#Top">Top</a> <h2 class="chapter">8 Demo files</h2> -<p><a name="index-demo-files-1241"></a>This chapter contains listings of source files, along with the output +<p><a name="index-demo-files-1264"></a>This chapter contains listings of source files, along with the output they produce (where appropriate), which illustrate various aspects of Eplain. The files can be found in the <samp><span class="command">demo</span></samp> subdirectory of Eplain distribution. These demos, both the sources and the compiled PDF @@ -6609,9 +6661,9 @@ and PS files, are also available from <a href="http://tug.org/eplain/demo">http: </ul> <div class="node"> -<p><hr> <a name="Hyperlinks-(xhyper.tex)"></a> <a name="Hyperlinks-_0028xhyper_002etex_0029"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a>, Up: <a rel="up" accesskey="u" href="#Demo-files">Demo files</a> @@ -6621,15 +6673,15 @@ Up: <a rel="up" accesskey="u" href="#Demo-files">Demo files</a> <div class="block-image"><img src="xhyper.jpg" alt="xhyper.jpg"></div> - <p><a name="index-xhyper_002etex-1242"></a> -<a name="index-hyperlinks_002c-demo-1243"></a><a name="index-explicit-hyperlinks_002c-demo-1244"></a><a name="index-hyperlinks_002c-explicit_002c-demo-1245"></a><a name="index-implicit-hyperlinks_002c-demo-1246"></a><a name="index-hyperlinks_002c-implicit_002c-demo-1247"></a> -<a name="index-hlstart-1248"></a><a name="index-hlend-1249"></a> -<a name="index-group-options_002c-hyperlink_002c-demo-1250"></a><a name="index-hyperlinks_002c-group-options_002c-demo-1251"></a><a name="index-link_002c-group-options_002c-demo-1252"></a><a name="index-linkgroup-options_002c-demo-1253"></a><a name="index-destinations_002c-group-options_002c-demo-1254"></a><a name="index-destgroup-options_002c-demo-1255"></a> -<a name="index-group-type_002c-hyperlink_002c-demo-1256"></a><a name="index-destinations_002c-group-type_002c-demo-1257"></a><a name="index-destgroup-type_002c-demo-1258"></a> -<a name="index-hlopts-1259"></a><a name="index-hldesttype-1260"></a><a name="index-hldestopts-1261"></a> -<a name="index-cross_002dreferences_002c-demo-1262"></a><a name="index-definexref-1263"></a><a name="index-ref-1264"></a> -<a name="index-graphics-collection_002c-_0040LaTeX_007b_007d_002c-demo-1265"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection_002c-demo-1266"></a><a name="index-color_002c-demo-1267"></a><a name="index-rotation_002c-demo-1268"></a><a name="index-scaling_002c-demo-1269"></a><a name="index-color_002esty-1270"></a><a name="index-graphicx_002esty-1271"></a><a name="index-url_002esty-1272"></a> -<a name="index-includegraphics-1273"></a><a name="index-rotatebox-1274"></a><a name="index-definecolor-1275"></a><a name="index-url-1276"></a> + <p><a name="index-xhyper_002etex-1265"></a> +<a name="index-hyperlinks_002c-demo-1266"></a><a name="index-explicit-hyperlinks_002c-demo-1267"></a><a name="index-hyperlinks_002c-explicit_002c-demo-1268"></a><a name="index-implicit-hyperlinks_002c-demo-1269"></a><a name="index-hyperlinks_002c-implicit_002c-demo-1270"></a> +<a name="index-hlstart-1271"></a><a name="index-hlend-1272"></a> +<a name="index-group-options_002c-hyperlink_002c-demo-1273"></a><a name="index-hyperlinks_002c-group-options_002c-demo-1274"></a><a name="index-link_002c-group-options_002c-demo-1275"></a><a name="index-linkgroup-options_002c-demo-1276"></a><a name="index-destinations_002c-group-options_002c-demo-1277"></a><a name="index-destgroup-options_002c-demo-1278"></a> +<a name="index-group-type_002c-hyperlink_002c-demo-1279"></a><a name="index-destinations_002c-group-type_002c-demo-1280"></a><a name="index-destgroup-type_002c-demo-1281"></a> +<a name="index-hlopts-1282"></a><a name="index-hldesttype-1283"></a><a name="index-hldestopts-1284"></a> +<a name="index-cross_002dreferences_002c-demo-1285"></a><a name="index-definexref-1286"></a><a name="index-ref-1287"></a> +<a name="index-graphics-collection_002c-_0040LaTeX_007b_007d_002c-demo-1288"></a><a name="index-g_t_0040LaTeX_007b_007d-graphics-collection_002c-demo-1289"></a><a name="index-color_002c-demo-1290"></a><a name="index-rotation_002c-demo-1291"></a><a name="index-scaling_002c-demo-1292"></a><a name="index-color_002esty-1293"></a><a name="index-graphicx_002esty-1294"></a><a name="index-url_002esty-1295"></a> +<a name="index-includegraphics-1296"></a><a name="index-rotatebox-1297"></a><a name="index-definecolor-1298"></a><a name="index-url-1299"></a> <pre class="verbatim">% (This file is public domain.) % @@ -6824,9 +6876,9 @@ Take me to </pre> <div class="node"> -<p><hr> <a name="Highlighting-TeX-comments-in-listings-(lscommnt.tex)"></a> <a name="Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a>, Up: <a rel="up" accesskey="u" href="#Demo-files">Demo files</a> @@ -6836,9 +6888,9 @@ Up: <a rel="up" accesskey="u" href="#Demo-files">Demo files</a> <div class="block-image"><img src="lscommnt.jpg" alt="lscommnt.jpg"></div> - <p><a name="index-lscommnt_002etex-1277"></a> -<a name="index-verbatim-listing_002c-demo-1278"></a><a name="index-listing-files_002c-demo-1279"></a><a name="index-files_002c-verbatim-listing-of_002c-demo-1280"></a><a name="index-comments_002c-highlighting-in-listings-1281"></a><a name="index-highlighting_002c-in-listings-1282"></a> -<a name="index-listing-1283"></a><a name="index-setuplistinghook-1284"></a><a name="index-linenumberedlisting-1285"></a><a name="index-nolastlinelisting-1286"></a><a name="index-hlightcommentslisting-1287"></a> + <p><a name="index-lscommnt_002etex-1300"></a> +<a name="index-verbatim-listing_002c-demo-1301"></a><a name="index-listing-files_002c-demo-1302"></a><a name="index-files_002c-verbatim-listing-of_002c-demo-1303"></a><a name="index-comments_002c-highlighting-in-listings-1304"></a><a name="index-highlighting_002c-in-listings-1305"></a> +<a name="index-listing-1306"></a><a name="index-setuplistinghook-1307"></a><a name="index-linenumberedlisting-1308"></a><a name="index-nolastlinelisting-1309"></a><a name="index-hlightcommentslisting-1310"></a> <pre class="verbatim">% (This file is public domain.) % Demonstrate how Eplain can be used to include a TeX source file @@ -6891,8 +6943,8 @@ Up: <a rel="up" accesskey="u" href="#Demo-files">Demo files</a> <!-- Public domain. --> <div class="node"> -<p><hr> <a name="Macro-index"></a> +<p><hr> Next: <a rel="next" accesskey="n" href="#Concept-index">Concept index</a>, Previous: <a rel="previous" accesskey="p" href="#Demo-files">Demo files</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -6902,553 +6954,565 @@ Up: <a rel="up" accesskey="u" href="#Top">Top</a> <h2 class="unnumbered">Macro index</h2> <ul class="index-fn" compact> -<li><a href="#index-g_t_0040_0040hllabel-870"><code>@hllabel</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040_0040hllabel-792"><code>@hllabel</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040_0040hllabel-744"><code>@hllabel</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-g_t_0040_0040hllabel-719"><code>@hllabel</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-g_t_0040_0040indexproof-_0040r_007binsertion-class_007d-293"><code>@indexproof </code><span class="roman">insertion class</span></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-abovecolumnskip-389"><code>abovecolumnskip</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-abovecolumnspenalty-360"><code>abovecolumnspenalty</code></a>: <a href="#Tables">Tables</a></li> -<li><a href="#index-abovelistpenalty-132"><code>abovelistpenalty</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-abovelistskip-131"><code>abovelistskip</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-abovelistskipamount-126"><code>abovelistskipamount</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-adjarrow-1073"><code>adjarrow</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-adjmapdown-1067"><code>adjmapdown</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-adjmapleft-1060"><code>adjmapleft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-adjmapright-1059"><code>adjmapright</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-adjmapup-1068"><code>adjmapup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-advancebottommargin-367"><code>advancebottommargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-advanceleftmargin-368"><code>advanceleftmargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-advancerightmargin-369"><code>advancerightmargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-advancetopmargin-366"><code>advancetopmargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-afterindexterm-324"><code>afterindexterm</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-afterindexterm-_0040r_007bhook_007d-255"><code>afterindexterm </code><span class="roman">hook</span></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-AMSLaTeX-417"><code>AMSLaTeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-AMSTeX-413"><code>AMSTeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-arrow-1038"><code>arrow</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-g_t_0040_0040hllabel-893"><code>@hllabel</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040_0040hllabel-815"><code>@hllabel</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040_0040hllabel-767"><code>@hllabel</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-g_t_0040_0040hllabel-742"><code>@hllabel</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-g_t_0040_0040indexproof-_0040r_007binsertion-class_007d-308"><code>@indexproof </code><span class="roman">insertion class</span></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-abovecolumnskip-404"><code>abovecolumnskip</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-abovecolumnspenalty-375"><code>abovecolumnspenalty</code></a>: <a href="#Tables">Tables</a></li> +<li><a href="#index-abovelistpenalty-141"><code>abovelistpenalty</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-abovelistskip-140"><code>abovelistskip</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-abovelistskipamount-135"><code>abovelistskipamount</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-adjarrow-1096"><code>adjarrow</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-adjmapdown-1090"><code>adjmapdown</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-adjmapleft-1083"><code>adjmapleft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-adjmapright-1082"><code>adjmapright</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-adjmapup-1091"><code>adjmapup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-advancebottommargin-382"><code>advancebottommargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-advanceleftmargin-383"><code>advanceleftmargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-advancerightmargin-384"><code>advancerightmargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-advancetopmargin-381"><code>advancetopmargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-afterindexterm-339"><code>afterindexterm</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-afterindexterm-_0040r_007bhook_007d-270"><code>afterindexterm </code><span class="roman">hook</span></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-AMSLaTeX-428"><code>AMSLaTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-AMSTeX-430"><code>AMSTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-arrow-1061"><code>arrow</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> <li><a href="#index-bblem-88"><code>bblem</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bblfilebasename-62"><code>bblfilebasename</code></a>: <a href="#Citations">Citations</a></li> <li><a href="#index-bblhook-92"><code>bblhook</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bblnewblock-90"><code>bblnewblock</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bblrm-86"><code>bblrm</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bblsc-89"><code>bblsc</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> -<li><a href="#index-bcolor-_0040r_007b_0028hyperlink-option_0029_007d-882"><code>bcolor </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-bdash-_0040r_007b_0028hyperlink-option_0029_007d-886"><code>bdash </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-begin-_0040r_007bfor-index-entries_007d-259"><code>begin </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-beginindex-_0040r_007bhook_007d-308"><code>beginindex </code><span class="roman">hook</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-beginlist-142"><code>beginlist</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-beginpackages-453"><code>beginpackages</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-begin_0040_007bpicture_0040_007d-465"><code>begin{picture}</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-begin_0040_007btheindex_0040_007d-302"><code>begin{theindex}</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-belowcolumnskip-390"><code>belowcolumnskip</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-belowfootnoterulespace-399"><code>belowfootnoterulespace</code></a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-belowlistskip-133"><code>belowlistskip</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-belowlistskipamount-127"><code>belowlistskipamount</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-biarrow-1072"><code>biarrow</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bcolor-_0040r_007b_0028hyperlink-option_0029_007d-905"><code>bcolor </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-bdash-_0040r_007b_0028hyperlink-option_0029_007d-909"><code>bdash </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-begin-_0040r_007bfor-index-entries_007d-274"><code>begin </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-beginindex-_0040r_007bhook_007d-323"><code>beginindex </code><span class="roman">hook</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-beginlist-151"><code>beginlist</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-beginpackages-476"><code>beginpackages</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-begin_0040_007bpicture_0040_007d-488"><code>begin{picture}</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-begin_0040_007btheindex_0040_007d-317"><code>begin{theindex}</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-belowcolumnskip-405"><code>belowcolumnskip</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-belowfootnoterulespace-414"><code>belowfootnoterulespace</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-belowlistskip-142"><code>belowlistskip</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-belowlistskipamount-136"><code>belowlistskipamount</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-biarrow-1095"><code>biarrow</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> <li><a href="#index-biblabelcontents-85"><code>biblabelcontents</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-biblabelextraspace-91"><code>biblabelextraspace</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-biblabelprint-84"><code>biblabelprint</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-biblabelwidth-83"><code>biblabelwidth</code></a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bibliography-66"><code>bibliography</code></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-bibliography-_0040r_007b_0028hyperlinks_0029_007d-576"><code>bibliography </code><span class="roman">(hyperlinks)</span></a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-bibliography-_0040r_007b_0028hyperlinks_0029_007d-599"><code>bibliography </code><span class="roman">(hyperlinks)</span></a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> <li><a href="#index-bibliographystyle-67"><code>bibliographystyle</code></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-BibTeX-415"><code>BibTeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-bihline-1061"><code>bihline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-bimapdown-1065"><code>bimapdown</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-bimapleft-1058"><code>bimapleft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-bimapright-1057"><code>bimapright</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-bimapup-1066"><code>bimapup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-bisline-1074"><code>bisline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-bivline-1069"><code>bivline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-blackbox-429"><code>blackbox</code></a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-blanklineskipamount-_0040r_007bin-justified-text_007d-356"><code>blanklineskipamount </code><span class="roman">in justified text</span></a>: <a href="#Justification">Justification</a></li> -<li><a href="#index-blanklineskipamount-_0040r_007bin-obeyed-text_007d-1218"><code>blanklineskipamount </code><span class="roman">in obeyed text</span></a>: <a href="#Obeying-spaces">Obeying spaces</a></li> -<li><a href="#index-bottom-_0040r_007b_0028destination-option_0029_007d-819"><code>bottom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-bottom-_0040r_007b_0028destination-option_0029_007d-786"><code>bottom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-bottommargin-363"><code>bottommargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-boxit-433"><code>boxit</code></a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-boxitspace-434"><code>boxitspace</code></a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-bstyle-_0040r_007b_0028hyperlink-option_0029_007d-890"><code>bstyle </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-bwidth-_0040r_007b_0028hyperlink-option_0029_007d-900"><code>bwidth </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-catcode-1126"><code>catcode</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-center-355"><code>center</code></a>: <a href="#Justification">Justification</a></li> -<li><a href="#index-centereddisplays-99"><code>centereddisplays</code></a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-channelwidth-1115"><code>channelwidth</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-channelwidth-1075"><code>channelwidth</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-BibTeX-432"><code>BibTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-bihline-1084"><code>bihline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bimapdown-1088"><code>bimapdown</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bimapleft-1081"><code>bimapleft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bimapright-1080"><code>bimapright</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bimapup-1089"><code>bimapup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bisline-1097"><code>bisline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-bivline-1092"><code>bivline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-blackbox-452"><code>blackbox</code></a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-blanklineskipamount-_0040r_007bin-justified-text_007d-371"><code>blanklineskipamount </code><span class="roman">in justified text</span></a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-blanklineskipamount-_0040r_007bin-obeyed-text_007d-1241"><code>blanklineskipamount </code><span class="roman">in obeyed text</span></a>: <a href="#Obeying-spaces">Obeying spaces</a></li> +<li><a href="#index-bottom-_0040r_007b_0028destination-option_0029_007d-842"><code>bottom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-bottom-_0040r_007b_0028destination-option_0029_007d-809"><code>bottom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-bottommargin-378"><code>bottommargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-boxit-456"><code>boxit</code></a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-boxitspace-457"><code>boxitspace</code></a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-bstyle-_0040r_007b_0028hyperlink-option_0029_007d-913"><code>bstyle </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-bwidth-_0040r_007b_0028hyperlink-option_0029_007d-923"><code>bwidth </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-catcode-1149"><code>catcode</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-center-370"><code>center</code></a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-centereddisplays-101"><code>centereddisplays</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-channelwidth-1138"><code>channelwidth</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-channelwidth-1098"><code>channelwidth</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> <li><a href="#index-cite-63"><code>cite</code></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-cite-_0040r_007b_0028hyperlinks_0029_007d-571"><code>cite </code><span class="roman">(hyperlinks)</span></a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-800"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-791"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-724"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> -<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-718"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-905"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-869"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-750"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> -<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-743"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-color-_0040r_007b_0028hyperlink-option_0029_007d-696"><code>color </code><span class="roman">(hyperlink option)</span></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-colormodel-_0040r_007b_0028hyperlink-option_0029_007d-695"><code>colormodel </code><span class="roman">(hyperlink option)</span></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-columnfill-383"><code>columnfill</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-commdiag-1078"><code>commdiag</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-commdiagbaselines-1118"><code>commdiagbaselines</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-commdiagbaselines-1090"><code>commdiagbaselines</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-csn-1181"><code>csn</code></a>: <a href="#g_t_005ccsn-and-_005cece">\csn and \ece</a></li> -<li><a href="#index-definecolor-1275"><code>definecolor</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-definecontentsfile-183"><code>definecontentsfile</code></a>: <a href="#Alternative-contents-files">Alternative contents files</a></li> -<li><a href="#index-defineindex-233"><code>defineindex</code></a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-definexref-1263"><code>definexref</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-definexref-190"><code>definexref</code></a>: <a href="#Defining-generic-references">Defining generic references</a></li> -<li><a href="#index-definexref-_0040r_007b_0028hyperlinks_0029_007d-582"><code>definexref </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-depth-_0040r_007b_0028destination-option_0029_007d-806"><code>depth </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-depth-_0040r_007b_0028destination-option_0029_007d-784"><code>depth </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-depth-_0040r_007b_0028hyperlink-option_0029_007d-914"><code>depth </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-discretionaries-406"><code>discretionaries</code></a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-displaylines-100"><code>displaylines</code></a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-doublecolumns-377"><code>doublecolumns</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-drawline-1023"><code>drawline</code></a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> -<li><a href="#index-drawvector-1024"><code>drawvector</code></a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> -<li><a href="#index-dvipdfm-_0040r_007b_0028hyperlink-driver_0029_007d-754"><code>dvipdfm </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-eattoken-1176"><code>eattoken</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-ece-1182"><code>ece</code></a>: <a href="#g_t_005ccsn-and-_005cece">\csn and \ece</a></li> -<li><a href="#index-edefappend-1183"><code>edefappend</code></a>: <a href="#g_t_005cedefappend">\edefappend</a></li> +<li><a href="#index-cite-_0040r_007b_0028hyperlinks_0029_007d-594"><code>cite </code><span class="roman">(hyperlinks)</span></a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-823"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-814"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-747"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> +<li><a href="#index-cmd-_0040r_007b_0028destination-option_0029_007d-741"><code>cmd </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-928"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-892"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-773"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> +<li><a href="#index-cmd-_0040r_007b_0028hyperlink-option_0029_007d-766"><code>cmd </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-color-_0040r_007b_0028hyperlink-option_0029_007d-719"><code>color </code><span class="roman">(hyperlink option)</span></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-colormodel-_0040r_007b_0028hyperlink-option_0029_007d-718"><code>colormodel </code><span class="roman">(hyperlink option)</span></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-columnfill-398"><code>columnfill</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-commdiag-1101"><code>commdiag</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-commdiagbaselines-1141"><code>commdiagbaselines</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-commdiagbaselines-1113"><code>commdiagbaselines</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-csn-1204"><code>csn</code></a>: <a href="#g_t_005ccsn-and-_005cece">\csn and \ece</a></li> +<li><a href="#index-definecolor-1298"><code>definecolor</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-definecontentsfile-196"><code>definecontentsfile</code></a>: <a href="#Alternative-contents-files">Alternative contents files</a></li> +<li><a href="#index-defineindex-248"><code>defineindex</code></a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-definexref-1286"><code>definexref</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-definexref-203"><code>definexref</code></a>: <a href="#Defining-generic-references">Defining generic references</a></li> +<li><a href="#index-definexref-_0040r_007b_0028hyperlinks_0029_007d-605"><code>definexref </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-depth-_0040r_007b_0028destination-option_0029_007d-829"><code>depth </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-depth-_0040r_007b_0028destination-option_0029_007d-807"><code>depth </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-depth-_0040r_007b_0028hyperlink-option_0029_007d-937"><code>depth </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-discretionaries-421"><code>discretionaries</code></a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-displaylines-102"><code>displaylines</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-dospecials-174"><code>dospecials</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-doublecolumns-392"><code>doublecolumns</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-drawline-1046"><code>drawline</code></a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> +<li><a href="#index-drawvector-1047"><code>drawvector</code></a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> +<li><a href="#index-dvipdfm-_0040r_007b_0028hyperlink-driver_0029_007d-777"><code>dvipdfm </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-eattoken-1199"><code>eattoken</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-ece-1205"><code>ece</code></a>: <a href="#g_t_005ccsn-and-_005cece">\csn and \ece</a></li> +<li><a href="#index-edefappend-1206"><code>edefappend</code></a>: <a href="#g_t_005cedefappend">\edefappend</a></li> <li><a href="#index-ehrule-51"><code>ehrule</code></a>: <a href="#Rules">Rules</a></li> -<li><a href="#index-enablehyperlinks-941"><code>enablehyperlinks</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-enablehyperlinks-654"><code>enablehyperlinks</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-enablehyperlinks-525"><code>enablehyperlinks</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-end-_0040r_007bfor-index-entries_007d-260"><code>end </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-endlist-144"><code>endlist</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-endnumberedlist-118"><code>endnumberedlist</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-endorderedlist-120"><code>endorderedlist</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-endpackages-454"><code>endpackages</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-endunorderedlist-122"><code>endunorderedlist</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-end_0040_007bpicture_0040_007d-466"><code>end{picture}</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-end_0040_007btheindex_0040_007d-303"><code>end{theindex}</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-enablehyperlinks-964"><code>enablehyperlinks</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-enablehyperlinks-677"><code>enablehyperlinks</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-enablehyperlinks-548"><code>enablehyperlinks</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-end-_0040r_007bfor-index-entries_007d-275"><code>end </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-endlist-153"><code>endlist</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-endnumberedlist-127"><code>endnumberedlist</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-endorderedlist-129"><code>endorderedlist</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-endpackages-477"><code>endpackages</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-endunorderedlist-131"><code>endunorderedlist</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-end_0040_007bpicture_0040_007d-489"><code>end{picture}</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-end_0040_007btheindex_0040_007d-318"><code>end{theindex}</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> <li><a href="#index-eplain-26"><code>eplain</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> -<li><a href="#index-eplaininput-458"><code>eplaininput</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-eqalignno-101"><code>eqalignno</code></a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-eqconstruct-217"><code>eqconstruct</code></a>: <a href="#Formatting-equation-references">Formatting equation references</a></li> -<li><a href="#index-eqdef-205"><code>eqdef</code></a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-eqdef-_0040r_007b_0028hyperlinks_0029_007d-606"><code>eqdef </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-eqdefn-211"><code>eqdefn</code></a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-eqdefn-_0040r_007b_0028hyperlinks_0029_007d-607"><code>eqdefn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-eqnumber-204"><code>eqnumber</code></a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-eqprint-216"><code>eqprint</code></a>: <a href="#Formatting-equation-references">Formatting equation references</a></li> -<li><a href="#index-eqref-616"><code>eqref</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-eqref-212"><code>eqref</code></a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-eqrefn-617"><code>eqrefn</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-eqrefn-213"><code>eqrefn</code></a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-eqsubdef-220"><code>eqsubdef</code></a>: <a href="#Subequation-references">Subequation references</a></li> -<li><a href="#index-eqsubdef-_0040r_007b_0028hyperlinks_0029_007d-608"><code>eqsubdef </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-eqsubdefn-221"><code>eqsubdefn</code></a>: <a href="#Subequation-references">Subequation references</a></li> -<li><a href="#index-eqsubdefn-_0040r_007b_0028hyperlinks_0029_007d-609"><code>eqsubdefn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-eqsubreftext-223"><code>eqsubreftext</code></a>: <a href="#Subequation-references">Subequation references</a></li> -<li><a href="#index-everyfootnote-396"><code>everyfootnote</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-eplaininput-481"><code>eplaininput</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-eqalignno-103"><code>eqalignno</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-eqalignnum-108"><code>eqalignnum</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-eqconstruct-232"><code>eqconstruct</code></a>: <a href="#Formatting-equation-references">Formatting equation references</a></li> +<li><a href="#index-eqdef-218"><code>eqdef</code></a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-eqdef-_0040r_007b_0028hyperlinks_0029_007d-629"><code>eqdef </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-eqdefn-225"><code>eqdefn</code></a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-eqdefn-_0040r_007b_0028hyperlinks_0029_007d-630"><code>eqdefn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-eqno-109"><code>eqno</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-eqnum-219"><code>eqnum</code></a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-eqnum-107"><code>eqnum</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-eqnumber-217"><code>eqnumber</code></a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-eqprint-231"><code>eqprint</code></a>: <a href="#Formatting-equation-references">Formatting equation references</a></li> +<li><a href="#index-eqref-639"><code>eqref</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-eqref-227"><code>eqref</code></a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-eqrefn-640"><code>eqrefn</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-eqrefn-228"><code>eqrefn</code></a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-eqsubdef-235"><code>eqsubdef</code></a>: <a href="#Subequation-references">Subequation references</a></li> +<li><a href="#index-eqsubdef-_0040r_007b_0028hyperlinks_0029_007d-631"><code>eqsubdef </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-eqsubdefn-236"><code>eqsubdefn</code></a>: <a href="#Subequation-references">Subequation references</a></li> +<li><a href="#index-eqsubdefn-_0040r_007b_0028hyperlinks_0029_007d-632"><code>eqsubdefn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-eqsubreftext-238"><code>eqsubreftext</code></a>: <a href="#Subequation-references">Subequation references</a></li> +<li><a href="#index-eTeX-434"><code>eTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-everyfootnote-411"><code>everyfootnote</code></a>: <a href="#Footnotes">Footnotes</a></li> <li><a href="#index-evrule-52"><code>evrule</code></a>: <a href="#Rules">Rules</a></li> -<li><a href="#index-expandonce-1195"><code>expandonce</code></a>: <a href="#g_t_005cexpandonce">\expandonce</a></li> -<li><a href="#index-ext-_0040r_007b_0028hyperlink-option_0029_007d-752"><code>ext </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> -<li><a href="#index-ext-_0040r_007b_0028hyperlink-option_0029_007d-741"><code>ext </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-906"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-858"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-751"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> -<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-740"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-fileexists-_0040r_007b_0028conditional_0029_007d-1227"><code>fileexists </code><span class="roman">(conditional)</span></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> -<li><a href="#index-filename-_0040r_007b_0028hyperlink-type_0029_007d-854"><code>filename </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-filename-_0040r_007b_0028hyperlink-type_0029_007d-736"><code>filename </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-filepage-_0040r_007b_0028hyperlink-type_0029_007d-861"><code>filepage </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-fit-_0040r_007b_0028destination-type_0029_007d-771"><code>fit </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-fitb-_0040r_007b_0028destination-type_0029_007d-776"><code>fitb </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-fitbh-_0040r_007b_0028destination-type_0029_007d-777"><code>fitbh </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-fitbv-_0040r_007b_0028destination-type_0029_007d-779"><code>fitbv </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-fith-_0040r_007b_0028destination-type_0029_007d-772"><code>fith </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-fitr-_0040r_007b_0028destination-type_0029_007d-781"><code>fitr </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-fitv-_0040r_007b_0028destination-type_0029_007d-774"><code>fitv </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-flushleft-354"><code>flushleft</code></a>: <a href="#Justification">Justification</a></li> -<li><a href="#index-flushright-353"><code>flushright</code></a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-expandonce-1218"><code>expandonce</code></a>: <a href="#g_t_005cexpandonce">\expandonce</a></li> +<li><a href="#index-ext-_0040r_007b_0028hyperlink-option_0029_007d-775"><code>ext </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> +<li><a href="#index-ext-_0040r_007b_0028hyperlink-option_0029_007d-764"><code>ext </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-ExTeX-436"><code>ExTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-929"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-881"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-774"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> +<li><a href="#index-file-_0040r_007b_0028hyperlink-option_0029_007d-763"><code>file </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-fileexists-_0040r_007b_0028conditional_0029_007d-1250"><code>fileexists </code><span class="roman">(conditional)</span></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> +<li><a href="#index-filename-_0040r_007b_0028hyperlink-type_0029_007d-877"><code>filename </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-filename-_0040r_007b_0028hyperlink-type_0029_007d-759"><code>filename </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-filepage-_0040r_007b_0028hyperlink-type_0029_007d-884"><code>filepage </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-fit-_0040r_007b_0028destination-type_0029_007d-794"><code>fit </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-fitb-_0040r_007b_0028destination-type_0029_007d-799"><code>fitb </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-fitbh-_0040r_007b_0028destination-type_0029_007d-800"><code>fitbh </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-fitbv-_0040r_007b_0028destination-type_0029_007d-802"><code>fitbv </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-fith-_0040r_007b_0028destination-type_0029_007d-795"><code>fith </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-fitr-_0040r_007b_0028destination-type_0029_007d-804"><code>fitr </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-fitv-_0040r_007b_0028destination-type_0029_007d-797"><code>fitv </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-flushleft-369"><code>flushleft</code></a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-flushright-368"><code>flushright</code></a>: <a href="#Justification">Justification</a></li> <li><a href="#index-fmtversion-10"><code>fmtversion</code></a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-footnote-_0040r_007b_0028hyperlinks_0029_007d-673"><code>footnote </code><span class="roman">(hyperlinks)</span></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-footnotemarkseparation-394"><code>footnotemarkseparation</code></a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-footnoteruleheight-398"><code>footnoteruleheight</code></a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-footnoterulewidth-397"><code>footnoterulewidth</code></a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-For-1165"><code>For</code></a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-for-1164"><code>for</code></a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-frac-401"><code>frac</code></a>: <a href="#Fractions">Fractions</a></li> -<li><a href="#index-fullmonthname-109"><code>fullmonthname</code></a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-futurenonspacelet-1213"><code>futurenonspacelet</code></a>: <a href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a></li> -<li><a href="#index-generaldisplay-104"><code>generaldisplay</code></a>: <a href="#Formatting-displays">Formatting displays</a></li> -<li><a href="#index-getproperty-1193"><code>getproperty</code></a>: <a href="#Properties">Properties</a></li> +<li><a href="#index-footnote-_0040r_007b_0028hyperlinks_0029_007d-696"><code>footnote </code><span class="roman">(hyperlinks)</span></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-footnotemarkseparation-409"><code>footnotemarkseparation</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-footnoteruleheight-413"><code>footnoteruleheight</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-footnoterulewidth-412"><code>footnoterulewidth</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-For-1188"><code>For</code></a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-for-1187"><code>for</code></a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-frac-416"><code>frac</code></a>: <a href="#Fractions">Fractions</a></li> +<li><a href="#index-fullmonthname-118"><code>fullmonthname</code></a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-futurenonspacelet-1236"><code>futurenonspacelet</code></a>: <a href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a></li> +<li><a href="#index-getproperty-1216"><code>getproperty</code></a>: <a href="#Properties">Properties</a></li> <li><a href="#index-gloggingall-42"><code>gloggingall</code></a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-gobble-1173"><code>gobble</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-gobbletwo-1174"><code>gobbletwo</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-gridcommdiag-1094"><code>gridcommdiag</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-gobble-1196"><code>gobble</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-gobbletwo-1197"><code>gobbletwo</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-gridcommdiag-1117"><code>gridcommdiag</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> <li><a href="#index-gtracingall-43"><code>gtracingall</code></a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-gutter-387"><code>gutter</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-gutterbox-388"><code>gutterbox</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-hangindent-_0040r_007bfor-index-entries_007d-317"><code>hangindent </code><span class="roman">for index entries</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-harrowlength-1101"><code>harrowlength</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-harrowlength-1040"><code>harrowlength</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hchannel-1116"><code>hchannel</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-height-_0040r_007b_0028destination-option_0029_007d-810"><code>height </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-height-_0040r_007b_0028destination-option_0029_007d-783"><code>height </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-height-_0040r_007b_0028hyperlink-option_0029_007d-917"><code>height </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hgrid-1119"><code>hgrid</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-hgrid-1096"><code>hgrid</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-hldest-949"><code>hldest</code></a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-hldest-793"><code>hldest</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-hldest-720"><code>hldest</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-hldest-535"><code>hldest</code></a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> -<li><a href="#index-hldestoff-1018"><code>hldestoff</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> -<li><a href="#index-hldestoff-936"><code>hldestoff</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-hldeston-1017"><code>hldeston</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> -<li><a href="#index-hldestopts-1261"><code>hldestopts</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hldestopts-997"><code>hldestopts</code></a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-hldestopts-965"><code>hldestopts</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-hldesttype-1260"><code>hldesttype</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hldesttype-973"><code>hldesttype</code></a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-hldesttype-963"><code>hldesttype</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-hlend-1249"><code>hlend</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hlend-537"><code>hlend</code></a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> -<li><a href="#index-hlfootbacklabel-675"><code>hlfootbacklabel</code></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-hlfootlabel-674"><code>hlfootlabel</code></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-hlfootlabelnumber-676"><code>hlfootlabelnumber</code></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-hlhash-745"><code>hlhash</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-hlidx-634"><code>hlidx</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-hlidxlabel-635"><code>hlidxlabel</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-hlidxlabelnumber-636"><code>hlidxlabelnumber</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-hlidxpage-644"><code>hlidxpage</code></a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> -<li><a href="#index-hlidxpagelabel-643"><code>hlidxpagelabel</code></a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> -<li><a href="#index-hlight-_0040r_007b_0028hyperlink-option_0029_007d-907"><code>hlight </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hlightcommentslisting-1287"><code>hlightcommentslisting</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-hline-1056"><code>hline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hloff-1020"><code>hloff</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> -<li><a href="#index-hloff-935"><code>hloff</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-hlon-1019"><code>hlon</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> -<li><a href="#index-hlopts-1259"><code>hlopts</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hlopts-996"><code>hlopts</code></a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-hlopts-964"><code>hlopts</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-hlstart-1248"><code>hlstart</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hlstart-948"><code>hlstart</code></a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-hlstart-871"><code>hlstart</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-hlstart-746"><code>hlstart</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-hlstart-536"><code>hlstart</code></a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> -<li><a href="#index-hltype-972"><code>hltype</code></a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-hltype-962"><code>hltype</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-hmorphposn-1104"><code>hmorphposn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-hmorphposn-1043"><code>hmorphposn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hmorphposndn-1106"><code>hmorphposndn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-hmorphposndn-1047"><code>hmorphposndn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hmorphposnlft-1108"><code>hmorphposnlft</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-hmorphposnlft-1051"><code>hmorphposnlft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hmorphposnrt-1107"><code>hmorphposnrt</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-hmorphposnrt-1050"><code>hmorphposnrt</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hmorphposnup-1105"><code>hmorphposnup</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-hmorphposnup-1046"><code>hmorphposnup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-hoffset-290"><code>hoffset</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-hookaction-1185"><code>hookaction</code></a>: <a href="#Hooks">Hooks</a></li> -<li><a href="#index-hookactiononce-1188"><code>hookactiononce</code></a>: <a href="#Hooks">Hooks</a></li> -<li><a href="#index-hookappend-1186"><code>hookappend</code></a>: <a href="#Hooks">Hooks</a></li> -<li><a href="#index-hookprepend-1187"><code>hookprepend</code></a>: <a href="#Hooks">Hooks</a></li> -<li><a href="#index-hookrun-1189"><code>hookrun</code></a>: <a href="#Hooks">Hooks</a></li> -<li><a href="#index-href-546"><code>href</code></a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-gutter-402"><code>gutter</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-gutterbox-403"><code>gutterbox</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-hangindent-_0040r_007bfor-index-entries_007d-332"><code>hangindent </code><span class="roman">for index entries</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-harrowlength-1124"><code>harrowlength</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-harrowlength-1063"><code>harrowlength</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hchannel-1139"><code>hchannel</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-height-_0040r_007b_0028destination-option_0029_007d-833"><code>height </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-height-_0040r_007b_0028destination-option_0029_007d-806"><code>height </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-height-_0040r_007b_0028hyperlink-option_0029_007d-940"><code>height </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hgrid-1142"><code>hgrid</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-hgrid-1119"><code>hgrid</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-hldest-972"><code>hldest</code></a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-hldest-816"><code>hldest</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-hldest-743"><code>hldest</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-hldest-558"><code>hldest</code></a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> +<li><a href="#index-hldestoff-1041"><code>hldestoff</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> +<li><a href="#index-hldestoff-959"><code>hldestoff</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-hldeston-1040"><code>hldeston</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> +<li><a href="#index-hldestopts-1284"><code>hldestopts</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hldestopts-1020"><code>hldestopts</code></a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-hldestopts-988"><code>hldestopts</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-hldesttype-1283"><code>hldesttype</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hldesttype-996"><code>hldesttype</code></a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-hldesttype-986"><code>hldesttype</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-hlend-1272"><code>hlend</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hlend-560"><code>hlend</code></a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> +<li><a href="#index-hlfootbacklabel-698"><code>hlfootbacklabel</code></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-hlfootlabel-697"><code>hlfootlabel</code></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-hlfootlabelnumber-699"><code>hlfootlabelnumber</code></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-hlhash-768"><code>hlhash</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-hlidx-657"><code>hlidx</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-hlidxlabel-658"><code>hlidxlabel</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-hlidxlabelnumber-659"><code>hlidxlabelnumber</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-hlidxpage-667"><code>hlidxpage</code></a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> +<li><a href="#index-hlidxpagelabel-666"><code>hlidxpagelabel</code></a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> +<li><a href="#index-hlight-_0040r_007b_0028hyperlink-option_0029_007d-930"><code>hlight </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hlightcommentslisting-1310"><code>hlightcommentslisting</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-hline-1079"><code>hline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hloff-1043"><code>hloff</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> +<li><a href="#index-hloff-958"><code>hloff</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-hlon-1042"><code>hlon</code></a>: <a href="#Turning-low_002dlevel-commands-on_002foff">Turning low-level commands on/off</a></li> +<li><a href="#index-hlopts-1282"><code>hlopts</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hlopts-1019"><code>hlopts</code></a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-hlopts-987"><code>hlopts</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-hlstart-1271"><code>hlstart</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hlstart-971"><code>hlstart</code></a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-hlstart-894"><code>hlstart</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-hlstart-769"><code>hlstart</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-hlstart-559"><code>hlstart</code></a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> +<li><a href="#index-hltype-995"><code>hltype</code></a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-hltype-985"><code>hltype</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-hmorphposn-1127"><code>hmorphposn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-hmorphposn-1066"><code>hmorphposn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hmorphposndn-1129"><code>hmorphposndn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-hmorphposndn-1070"><code>hmorphposndn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hmorphposnlft-1131"><code>hmorphposnlft</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-hmorphposnlft-1074"><code>hmorphposnlft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hmorphposnrt-1130"><code>hmorphposnrt</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-hmorphposnrt-1073"><code>hmorphposnrt</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hmorphposnup-1128"><code>hmorphposnup</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-hmorphposnup-1069"><code>hmorphposnup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-hoffset-305"><code>hoffset</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-hookaction-1208"><code>hookaction</code></a>: <a href="#Hooks">Hooks</a></li> +<li><a href="#index-hookactiononce-1211"><code>hookactiononce</code></a>: <a href="#Hooks">Hooks</a></li> +<li><a href="#index-hookappend-1209"><code>hookappend</code></a>: <a href="#Hooks">Hooks</a></li> +<li><a href="#index-hookprepend-1210"><code>hookprepend</code></a>: <a href="#Hooks">Hooks</a></li> +<li><a href="#index-hookrun-1212"><code>hookrun</code></a>: <a href="#Hooks">Hooks</a></li> +<li><a href="#index-href-569"><code>href</code></a>: <a href="#General-hyperlinks">General hyperlinks</a></li> <li><a href="#index-hruledefaultdepth-49"><code>hruledefaultdepth</code></a>: <a href="#Rules">Rules</a></li> <li><a href="#index-hruledefaultheight-48"><code>hruledefaultheight</code></a>: <a href="#Rules">Rules</a></li> -<li><a href="#index-hsize-370"><code>hsize</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-hypertex-_0040r_007b_0028hyperlink-driver_0029_007d-700"><code>hypertex </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-hyphenpenalty-_0040r_007bfor-index-entries_007d-319"><code>hyphenpenalty </code><span class="roman">for index entries</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-identity-1177"><code>identity</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-idx-245"><code>idx</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-idx-_0040r_007b_0028hyperlinks_0029_007d-621"><code>idx </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-idxargclose-276"><code>idxargclose</code></a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-idxargopen-275"><code>idxargopen</code></a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-idxbeginrangemark-333"><code>idxbeginrangemark</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxencapoperator-332"><code>idxencapoperator</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxendrangemark-334"><code>idxendrangemark</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxexact-655"><code>idxexact</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-idxmarked-250"><code>idxmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-idxmarked-_0040r_007b_0028hyperlinks_0029_007d-623"><code>idxmarked </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-idxname-248"><code>idxname</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-idxname-_0040r_007b_0028hyperlinks_0029_007d-622"><code>idxname </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-idxnameseparator-247"><code>idxnameseparator</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-idxnone-657"><code>idxnone</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-idxpage-656"><code>idxpage</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-idxpagei-1231"><code>idxpagei</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-idxpageii-1232"><code>idxpageii</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-idxpagelistdelimiter-1235"><code>idxpagelistdelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-idxpagenum-335"><code>idxpagenum</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxpagerangedelimiter-1236"><code>idxpagerangedelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-idxparselist-1229"><code>idxparselist</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-idxparserange-1230"><code>idxparserange</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-idxrangebeginword-327"><code>idxrangebeginword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxrangeendword-328"><code>idxrangeendword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxseealsocmdword-330"><code>idxseealsocmdword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxseecmdword-329"><code>idxseecmdword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxsubentryseparator-331"><code>idxsubentryseparator</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-idxsubmarked-251"><code>idxsubmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-idxsubmarked-_0040r_007b_0028hyperlinks_0029_007d-624"><code>idxsubmarked </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-ifempty-1199"><code>ifempty</code></a>: <a href="#g_t_005cifempty">\ifempty</a></li> -<li><a href="#index-iffileexists-1226"><code>iffileexists</code></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> -<li><a href="#index-ifidx-236"><code>ifidx</code></a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-ifindexproofing-282"><code>ifindexproofing</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-ifinteger-1203"><code>ifinteger</code></a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> -<li><a href="#index-ifpdf-526"><code>ifpdf</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-ifpdf-439"><code>ifpdf</code></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-ifrewritetocfile-176"><code>ifrewritetocfile</code></a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> -<li><a href="#index-ifundefined-1196"><code>ifundefined</code></a>: <a href="#g_t_005cifundefined">\ifundefined</a></li> -<li><a href="#index-includegraphics-1273"><code>includegraphics</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-indexfilebasename-300"><code>indexfilebasename</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-indexfonts-306"><code>indexfonts</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-indexitem-_0040r_007bhook_007d-320"><code>indexitem </code><span class="roman">hook</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-indexprooffont-286"><code>indexprooffont</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-indexproofingfalse-284"><code>indexproofingfalse</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-indexproofingtrue-283"><code>indexproofingtrue</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-indexproofterm-285"><code>indexproofterm</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-indexproofunbox-294"><code>indexproofunbox</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-indexsee-662"><code>indexsee</code></a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> -<li><a href="#index-indexsee-340"><code>indexsee</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-indexseealso-663"><code>indexseealso</code></a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> -<li><a href="#index-indexseealso-341"><code>indexseealso</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-indexseealsowords-338"><code>indexseealsowords</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-indexseeword-337"><code>indexseeword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-indexsetmargins-292"><code>indexsetmargins</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-indexspace-321"><code>indexspace</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-innerdef-1157"><code>innerdef</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innerinnerdef-1158"><code>innerinnerdef</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewbox-1145"><code>innernewbox</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewcount-1146"><code>innernewcount</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewdimen-1147"><code>innernewdimen</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewfam-1148"><code>innernewfam</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewhelp-1149"><code>innernewhelp</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewif-1150"><code>innernewif</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewinsert-1151"><code>innernewinsert</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewlanguage-1152"><code>innernewlanguage</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewread-1153"><code>innernewread</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewskip-1154"><code>innernewskip</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewtoks-1155"><code>innernewtoks</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-innernewwrite-1156"><code>innernewwrite</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-input-455"><code>input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-insidemargin-289"><code>insidemargin</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-interfootnoteskip-395"><code>interfootnoteskip</code></a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-interitemskip-134"><code>interitemskip</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-interitemskipamount-128"><code>interitemskipamount</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-isinteger-1209"><code>isinteger</code></a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> -<li><a href="#index-item-_0040r_007bin-indexes_007d-309"><code>item </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-itemletter-141"><code>itemletter</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-itemnumber-140"><code>itemnumber</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-ituline-1239"><code>ituline</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-jobname-1225"><code>jobname</code></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> -<li><a href="#index-jobname-301"><code>jobname</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-hsize-385"><code>hsize</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-hypertex-_0040r_007b_0028hyperlink-driver_0029_007d-723"><code>hypertex </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-hyphenpenalty-_0040r_007bfor-index-entries_007d-334"><code>hyphenpenalty </code><span class="roman">for index entries</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-identity-1200"><code>identity</code></a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-idx-260"><code>idx</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-idx-_0040r_007b_0028hyperlinks_0029_007d-644"><code>idx </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-idxargclose-291"><code>idxargclose</code></a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-idxargopen-290"><code>idxargopen</code></a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-idxbeginrangemark-348"><code>idxbeginrangemark</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxencapoperator-347"><code>idxencapoperator</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxendrangemark-349"><code>idxendrangemark</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxexact-678"><code>idxexact</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-idxmarked-265"><code>idxmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-idxmarked-_0040r_007b_0028hyperlinks_0029_007d-646"><code>idxmarked </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-idxname-263"><code>idxname</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-idxname-_0040r_007b_0028hyperlinks_0029_007d-645"><code>idxname </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-idxnameseparator-262"><code>idxnameseparator</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-idxnone-680"><code>idxnone</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-idxpage-679"><code>idxpage</code></a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-idxpagei-1254"><code>idxpagei</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-idxpageii-1255"><code>idxpageii</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-idxpagelistdelimiter-1258"><code>idxpagelistdelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-idxpagenum-350"><code>idxpagenum</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxpagerangedelimiter-1259"><code>idxpagerangedelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-idxparselist-1252"><code>idxparselist</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-idxparserange-1253"><code>idxparserange</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-idxrangebeginword-342"><code>idxrangebeginword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxrangeendword-343"><code>idxrangeendword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxseealsocmdword-345"><code>idxseealsocmdword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxseecmdword-344"><code>idxseecmdword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxsubentryseparator-346"><code>idxsubentryseparator</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-idxsubmarked-266"><code>idxsubmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-idxsubmarked-_0040r_007b_0028hyperlinks_0029_007d-647"><code>idxsubmarked </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-ifempty-1222"><code>ifempty</code></a>: <a href="#g_t_005cifempty">\ifempty</a></li> +<li><a href="#index-iffileexists-1249"><code>iffileexists</code></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> +<li><a href="#index-ifidx-251"><code>ifidx</code></a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-ifindexproofing-297"><code>ifindexproofing</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-ifinteger-1226"><code>ifinteger</code></a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-ifpdf-549"><code>ifpdf</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-ifpdf-462"><code>ifpdf</code></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-ifrewritetocfile-189"><code>ifrewritetocfile</code></a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> +<li><a href="#index-ifundefined-1219"><code>ifundefined</code></a>: <a href="#g_t_005cifundefined">\ifundefined</a></li> +<li><a href="#index-includegraphics-1296"><code>includegraphics</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-indexfilebasename-315"><code>indexfilebasename</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-indexfonts-321"><code>indexfonts</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-indexitem-_0040r_007bhook_007d-335"><code>indexitem </code><span class="roman">hook</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-indexprooffont-301"><code>indexprooffont</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-indexproofingfalse-299"><code>indexproofingfalse</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-indexproofingtrue-298"><code>indexproofingtrue</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-indexproofterm-300"><code>indexproofterm</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-indexproofunbox-309"><code>indexproofunbox</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-indexsee-685"><code>indexsee</code></a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> +<li><a href="#index-indexsee-355"><code>indexsee</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-indexseealso-686"><code>indexseealso</code></a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> +<li><a href="#index-indexseealso-356"><code>indexseealso</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-indexseealsowords-353"><code>indexseealsowords</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-indexseeword-352"><code>indexseeword</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-indexsetmargins-307"><code>indexsetmargins</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-indexspace-336"><code>indexspace</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-innerdef-1180"><code>innerdef</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innerinnerdef-1181"><code>innerinnerdef</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewbox-1168"><code>innernewbox</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewcount-1169"><code>innernewcount</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewdimen-1170"><code>innernewdimen</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewfam-1171"><code>innernewfam</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewhelp-1172"><code>innernewhelp</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewif-1173"><code>innernewif</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewinsert-1174"><code>innernewinsert</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewlanguage-1175"><code>innernewlanguage</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewread-1176"><code>innernewread</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewskip-1177"><code>innernewskip</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewtoks-1178"><code>innernewtoks</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-innernewwrite-1179"><code>innernewwrite</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-input-478"><code>input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-insidemargin-304"><code>insidemargin</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-interfootnoteskip-410"><code>interfootnoteskip</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-interitemskip-143"><code>interitemskip</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-interitemskipamount-137"><code>interitemskipamount</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-isinteger-1232"><code>isinteger</code></a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-item-_0040r_007bin-indexes_007d-324"><code>item </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-itemletter-150"><code>itemletter</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-itemnumber-149"><code>itemnumber</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-ituline-1262"><code>ituline</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-jobname-1248"><code>jobname</code></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> +<li><a href="#index-jobname-316"><code>jobname</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> <li><a href="#index-jobname-59"><code>jobname</code></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-LAMSTeX-419"><code>LAMSTeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-LaTeX-421"><code>LaTeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-lbracechar-1139"><code>lbracechar</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-left-_0040r_007b_0028destination-option_0029_007d-823"><code>left </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-left-_0040r_007b_0028destination-option_0029_007d-769"><code>left </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-leftdisplayindent-98"><code>leftdisplayindent</code></a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-leftdisplays-97"><code>leftdisplays</code></a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-leftdisplaysetup-103"><code>leftdisplaysetup</code></a>: <a href="#Formatting-displays">Formatting displays</a></li> -<li><a href="#index-leftmargin-364"><code>leftmargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-leqalignno-102"><code>leqalignno</code></a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-letreturn-1135"><code>letreturn</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-letter-1123"><code>letter</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-lft-1037"><code>lft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-li-123"><code>li</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-li-_0040r_007b_0028hyperlinks_0029_007d-579"><code>li </code><span class="roman">(hyperlinks)</span></a>: <a href="#List-hyperlinks">List hyperlinks</a></li> -<li><a href="#index-linenumberedlisting-1285"><code>linenumberedlisting</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-linenumberedlisting-153"><code>linenumberedlisting</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-listcompact-124"><code>listcompact</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-listing-1283"><code>listing</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-listing-150"><code>listing</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-listingfont-151"><code>listingfont</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-listleftindent-129"><code>listleftindent</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-listmarkerspace-135"><code>listmarkerspace</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-listrightindent-130"><code>listrightindent</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-LAMSTeX-438"><code>LAMSTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-LaTeX-440"><code>LaTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-lbracechar-1162"><code>lbracechar</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-left-_0040r_007b_0028destination-option_0029_007d-846"><code>left </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-left-_0040r_007b_0028destination-option_0029_007d-792"><code>left </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-leftdisplayindent-100"><code>leftdisplayindent</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-leftdisplays-99"><code>leftdisplays</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-leftdisplaysetup-113"><code>leftdisplaysetup</code></a>: <a href="#Formatting-displays">Formatting displays</a></li> +<li><a href="#index-lefteqnumbers-105"><code>lefteqnumbers</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-leftmargin-379"><code>leftmargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-leqalignno-104"><code>leqalignno</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-leqno-110"><code>leqno</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-letreturn-1158"><code>letreturn</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-letter-1146"><code>letter</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-lft-1060"><code>lft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-li-132"><code>li</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-li-_0040r_007b_0028hyperlinks_0029_007d-602"><code>li </code><span class="roman">(hyperlinks)</span></a>: <a href="#List-hyperlinks">List hyperlinks</a></li> +<li><a href="#index-linenumberedlisting-1308"><code>linenumberedlisting</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-linenumberedlisting-162"><code>linenumberedlisting</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-listcompact-133"><code>listcompact</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-listing-1306"><code>listing</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-listing-159"><code>listing</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-listingfont-160"><code>listingfont</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-listleftindent-138"><code>listleftindent</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-listmarkerspace-144"><code>listmarkerspace</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-listrightindent-139"><code>listrightindent</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> <li><a href="#index-loggingall-39"><code>loggingall</code></a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-loop-1166"><code>loop</code></a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-makeactive-1127"><code>makeactive</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-makeatletter-1131"><code>makeatletter</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-makeatother-1133"><code>makeatother</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-makeblankbox-432"><code>makeblankbox</code></a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-makecolumns-359"><code>makecolumns</code></a>: <a href="#Tables">Tables</a></li> -<li><a href="#index-makeheadline-295"><code>makeheadline</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-mapdown-1035"><code>mapdown</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-mapleft-1033"><code>mapleft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-mapright-1032"><code>mapright</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-mapup-1034"><code>mapup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-matrix-1079"><code>matrix</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-MF-423"><code>MF</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-monthname-108"><code>monthname</code></a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-morphdist-1114"><code>morphdist</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-morphdist-1045"><code>morphdist</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-name-_0040r_007b_0028hyperlink-type_0029_007d-841"><code>name </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-name-_0040r_007b_0028hyperlink-type_0029_007d-728"><code>name </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-new_0040dots_007b_007d-1143"><code>new...</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-910"><code>newwin </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-860"><code>newwin </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-loop-1189"><code>loop</code></a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-makeactive-1150"><code>makeactive</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-makeatletter-1154"><code>makeatletter</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-makeatother-1156"><code>makeatother</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-makeblankbox-455"><code>makeblankbox</code></a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-makecolumns-374"><code>makecolumns</code></a>: <a href="#Tables">Tables</a></li> +<li><a href="#index-makeheadline-310"><code>makeheadline</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-mapdown-1058"><code>mapdown</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-mapleft-1056"><code>mapleft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-mapright-1055"><code>mapright</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-mapup-1057"><code>mapup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-matrix-1102"><code>matrix</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-MF-442"><code>MF</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-monthname-117"><code>monthname</code></a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-morphdist-1137"><code>morphdist</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-morphdist-1068"><code>morphdist</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-name-_0040r_007b_0028hyperlink-type_0029_007d-864"><code>name </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-name-_0040r_007b_0028hyperlink-type_0029_007d-751"><code>name </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-new_0040dots_007b_007d-1166"><code>new...</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-933"><code>newwin </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-newwin-_0040r_007b_0028hyperlink-option_0029_007d-883"><code>newwin </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> <li><a href="#index-noarrow-28"><code>noarrow</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> <li><a href="#index-noauxfile-29"><code>noauxfile</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> <li><a href="#index-nobibtex-27"><code>nobibtex</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> <li><a href="#index-nocite-65"><code>nocite</code></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-nolastlinelisting-1286"><code>nolastlinelisting</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-nolastlinelisting-155"><code>nolastlinelisting</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-nolinks-_0040r_007b_0028hyperlink-driver_0029_007d-923"><code>nolinks </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-normalbaselineskip-687"><code>normalbaselineskip</code></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-num-_0040r_007b_0028hyperlink-type_0029_007d-872"><code>num </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-numberedfootnote-393"><code>numberedfootnote</code></a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-numberedfootnote-_0040r_007b_0028hyperlinks_0029_007d-672"><code>numberedfootnote </code><span class="roman">(hyperlinks)</span></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-numberedlist-117"><code>numberedlist</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-numberedlistdepth-138"><code>numberedlistdepth</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-numberedmarker-136"><code>numberedmarker</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-numbername-1221"><code>numbername</code></a>: <a href="#Writing-out-numbers">Writing out numbers</a></li> -<li><a href="#index-obeywhitespace-1217"><code>obeywhitespace</code></a>: <a href="#Obeying-spaces">Obeying spaces</a></li> -<li><a href="#index-orderedlist-119"><code>orderedlist</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-other-1124"><code>other</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-outer-1144"><code>outer</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-outsidemargin-291"><code>outsidemargin</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-page-_0040r_007b_0028hyperlink-type_0029_007d-849"><code>page </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-913"><code>pagefit </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-853"><code>pagefit </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-pageno-288"><code>pageno</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-pagetotal-386"><code>pagetotal</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-paperheight-371"><code>paperheight</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-paperwidth-372"><code>paperwidth</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-parindent-_0040r_007bin-indexes_007d-304"><code>parindent </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-path-405"><code>path</code></a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-pdfoutput-440"><code>pdfoutput</code></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-pdftex-_0040r_007b_0028hyperlink-driver_0029_007d-753"><code>pdftex </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-percentchar-1138"><code>percentchar</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-phantomeqlabel-614"><code>phantomeqlabel</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-phantomeqnumber-615"><code>phantomeqnumber</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-previouseverydisplay-105"><code>previouseverydisplay</code></a>: <a href="#Formatting-displays">Formatting displays</a></li> +<li><a href="#index-nolastlinelisting-1309"><code>nolastlinelisting</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-nolastlinelisting-164"><code>nolastlinelisting</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-nolinks-_0040r_007b_0028hyperlink-driver_0029_007d-946"><code>nolinks </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-normalbaselineskip-710"><code>normalbaselineskip</code></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-num-_0040r_007b_0028hyperlink-type_0029_007d-895"><code>num </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-numberedfootnote-408"><code>numberedfootnote</code></a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-numberedfootnote-_0040r_007b_0028hyperlinks_0029_007d-695"><code>numberedfootnote </code><span class="roman">(hyperlinks)</span></a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-numberedlist-126"><code>numberedlist</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-numberedlistdepth-147"><code>numberedlistdepth</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-numberedmarker-145"><code>numberedmarker</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-numbername-1244"><code>numbername</code></a>: <a href="#Writing-out-numbers">Writing out numbers</a></li> +<li><a href="#index-obeywhitespace-1240"><code>obeywhitespace</code></a>: <a href="#Obeying-spaces">Obeying spaces</a></li> +<li><a href="#index-orderedlist-128"><code>orderedlist</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-other-1147"><code>other</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-outer-1167"><code>outer</code></a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-outsidemargin-306"><code>outsidemargin</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-page-_0040r_007b_0028hyperlink-type_0029_007d-872"><code>page </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-936"><code>pagefit </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-pagefit-_0040r_007b_0028hyperlink-option_0029_007d-876"><code>pagefit </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-pageno-303"><code>pageno</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-pagetotal-401"><code>pagetotal</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-paperheight-386"><code>paperheight</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-paperwidth-387"><code>paperwidth</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-parindent-_0040r_007bin-indexes_007d-319"><code>parindent </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-path-420"><code>path</code></a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-pdfoutput-463"><code>pdfoutput</code></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-pdftex-_0040r_007b_0028hyperlink-driver_0029_007d-776"><code>pdftex </code><span class="roman">(hyperlink driver)</span></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-percentchar-1161"><code>percentchar</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-phantomeqlabel-637"><code>phantomeqlabel</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-phantomeqnumber-638"><code>phantomeqnumber</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-previouseverydisplay-114"><code>previouseverydisplay</code></a>: <a href="#Formatting-displays">Formatting displays</a></li> <li><a href="#index-printbetweencitations-80"><code>printbetweencitations</code></a>: <a href="#Formatting-citations">Formatting citations</a></li> <li><a href="#index-printcitefinish-79"><code>printcitefinish</code></a>: <a href="#Formatting-citations">Formatting citations</a></li> <li><a href="#index-printcitenote-81"><code>printcitenote</code></a>: <a href="#Formatting-citations">Formatting citations</a></li> <li><a href="#index-printcitestart-78"><code>printcitestart</code></a>: <a href="#Formatting-citations">Formatting citations</a></li> -<li><a href="#index-printitem-143"><code>printitem</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-printlistinglineno-154"><code>printlistinglineno</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-quadcolumns-379"><code>quadcolumns</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-raggedright-_0040r_007bfor-index-entries_007d-318"><code>raggedright </code><span class="roman">for index entries</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-raise-_0040r_007b_0028hyperlink-option_0029_007d-1001"><code>raise </code><span class="roman">(hyperlink option)</span></a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-raise-_0040r_007b_0028hyperlink-option_0029_007d-683"><code>raise </code><span class="roman">(hyperlink option)</span></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-raw-_0040r_007b_0028destination-type_0029_007d-790"><code>raw </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-raw-_0040r_007b_0028destination-type_0029_007d-717"><code>raw </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-raw-_0040r_007b_0028hyperlink-type_0029_007d-868"><code>raw </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-raw-_0040r_007b_0028hyperlink-type_0029_007d-742"><code>raw </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-rbracechar-1140"><code>rbracechar</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-readindexfile-299"><code>readindexfile</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-readindexfile-_0040r_007b_0028hyperlinks_0029_007d-630"><code>readindexfile </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-readtocfile-174"><code>readtocfile</code></a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> -<li><a href="#index-ref-1264"><code>ref</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-ref-197"><code>ref</code></a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-ref-_0040r_007b_0028hyperlinks_0029_007d-592"><code>ref </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-refn-194"><code>refn</code></a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-refn-_0040r_007b_0028hyperlinks_0029_007d-589"><code>refn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-refs-198"><code>refs</code></a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-refs-_0040r_007b_0028hyperlinks_0029_007d-595"><code>refs </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-refspace-602"><code>refspace</code></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-refspace-594"><code>refspace</code></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-reftie-618"><code>reftie</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-reftie-591"><code>reftie</code></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-repeat-1167"><code>repeat</code></a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-resetatcatcode-1132"><code>resetatcatcode</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-rewritetocfile-_0040r_007b_0028conditional_0029_007d-177"><code>rewritetocfile </code><span class="roman">(conditional)</span></a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> -<li><a href="#index-right-_0040r_007b_0028destination-option_0029_007d-827"><code>right </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-right-_0040r_007b_0028destination-option_0029_007d-787"><code>right </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-rightmargin-365"><code>rightmargin</code></a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-rotatebox-1274"><code>rotatebox</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-rt-1036"><code>rt</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-sanitize-1180"><code>sanitize</code></a>: <a href="#Converting-to-characters">Converting to characters</a></li> -<li><a href="#index-sarrowlength-1103"><code>sarrowlength</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-sarrowlength-1042"><code>sarrowlength</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-see-_0040r_007bfor-index-entries_007d-342"><code>see </code><span class="roman">for index entries</span></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-see-_0040r_007bfor-index-entries_007d-263"><code>see </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-seealso-_0040r_007bfor-index-entries_007d-267"><code>seealso </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-seevariant-339"><code>seevariant</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-setidxpagelistdelimiter-1233"><code>setidxpagelistdelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-setidxpagerangedelimiter-1234"><code>setidxpagerangedelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-setproperty-1192"><code>setproperty</code></a>: <a href="#Properties">Properties</a></li> -<li><a href="#index-setuplistinghook-1284"><code>setuplistinghook</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-setuplistinghook-152"><code>setuplistinghook</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-sidx-244"><code>sidx</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-sidxmarked-249"><code>sidxmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-sidxname-246"><code>sidxname</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-sidxsubmarked-252"><code>sidxsubmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-singlecolumn-380"><code>singlecolumn</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-sline-1039"><code>sline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-SLiTeX-425"><code>SLiTeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-special-520"><code>special</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-specialpathdelimiters-_0040r_007b_0028conditional_0029_007d-407"><code>specialpathdelimiters </code><span class="roman">(conditional)</span></a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-subeqnumber-222"><code>subeqnumber</code></a>: <a href="#Subequation-references">Subequation references</a></li> -<li><a href="#index-subitem-_0040r_007bin-indexes_007d-310"><code>subitem </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-subsubitem-_0040r_007bin-indexes_007d-311"><code>subsubitem </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-testfileexistence-1224"><code>testfileexistence</code></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> -<li><a href="#index-TeX-411"><code>TeX</code></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-timestamp-111"><code>timestamp</code></a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-timestring-110"><code>timestring</code></a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-toc_0040dots_007b_007dentry-166"><code>toc...entry</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> -<li><a href="#index-tocfilebasename-178"><code>tocfilebasename</code></a>: <a href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a></li> -<li><a href="#index-today-112"><code>today</code></a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-top-_0040r_007b_0028destination-option_0029_007d-831"><code>top </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-top-_0040r_007b_0028destination-option_0029_007d-770"><code>top </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-topmargin-362"><code>topmargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-printitem-152"><code>printitem</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-printlistinglineno-163"><code>printlistinglineno</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-quadcolumns-394"><code>quadcolumns</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-raggedright-_0040r_007bfor-index-entries_007d-333"><code>raggedright </code><span class="roman">for index entries</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-raise-_0040r_007b_0028hyperlink-option_0029_007d-1024"><code>raise </code><span class="roman">(hyperlink option)</span></a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-raise-_0040r_007b_0028hyperlink-option_0029_007d-706"><code>raise </code><span class="roman">(hyperlink option)</span></a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-raw-_0040r_007b_0028destination-type_0029_007d-813"><code>raw </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-raw-_0040r_007b_0028destination-type_0029_007d-740"><code>raw </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-raw-_0040r_007b_0028hyperlink-type_0029_007d-891"><code>raw </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-raw-_0040r_007b_0028hyperlink-type_0029_007d-765"><code>raw </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-rbracechar-1163"><code>rbracechar</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-readindexfile-314"><code>readindexfile</code></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-readindexfile-_0040r_007b_0028hyperlinks_0029_007d-653"><code>readindexfile </code><span class="roman">(hyperlinks)</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-readtocfile-187"><code>readtocfile</code></a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> +<li><a href="#index-ref-1287"><code>ref</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-ref-210"><code>ref</code></a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-ref-_0040r_007b_0028hyperlinks_0029_007d-615"><code>ref </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-refn-207"><code>refn</code></a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-refn-_0040r_007b_0028hyperlinks_0029_007d-612"><code>refn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-refs-211"><code>refs</code></a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-refs-_0040r_007b_0028hyperlinks_0029_007d-618"><code>refs </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-refspace-625"><code>refspace</code></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-refspace-617"><code>refspace</code></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-reftie-641"><code>reftie</code></a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-reftie-614"><code>reftie</code></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-repeat-1190"><code>repeat</code></a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-resetatcatcode-1155"><code>resetatcatcode</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-rewritetocfile-_0040r_007b_0028conditional_0029_007d-190"><code>rewritetocfile </code><span class="roman">(conditional)</span></a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> +<li><a href="#index-right-_0040r_007b_0028destination-option_0029_007d-850"><code>right </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-right-_0040r_007b_0028destination-option_0029_007d-810"><code>right </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-righteqnumbers-106"><code>righteqnumbers</code></a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-rightmargin-380"><code>rightmargin</code></a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-rotatebox-1297"><code>rotatebox</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-rt-1059"><code>rt</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-sanitize-1203"><code>sanitize</code></a>: <a href="#Converting-to-characters">Converting to characters</a></li> +<li><a href="#index-sarrowlength-1126"><code>sarrowlength</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-sarrowlength-1065"><code>sarrowlength</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-see-_0040r_007bfor-index-entries_007d-357"><code>see </code><span class="roman">for index entries</span></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-see-_0040r_007bfor-index-entries_007d-278"><code>see </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-seealso-_0040r_007bfor-index-entries_007d-282"><code>seealso </code><span class="roman">for index entries</span></a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-seevariant-354"><code>seevariant</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-setidxpagelistdelimiter-1256"><code>setidxpagelistdelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-setidxpagerangedelimiter-1257"><code>setidxpagerangedelimiter</code></a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-setproperty-1215"><code>setproperty</code></a>: <a href="#Properties">Properties</a></li> +<li><a href="#index-setuplistinghook-1307"><code>setuplistinghook</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-setuplistinghook-161"><code>setuplistinghook</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-sidx-259"><code>sidx</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-sidxmarked-264"><code>sidxmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-sidxname-261"><code>sidxname</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-sidxsubmarked-267"><code>sidxsubmarked</code></a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-singlecolumn-395"><code>singlecolumn</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-sline-1062"><code>sline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-SLiTeX-444"><code>SLiTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-special-543"><code>special</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-specialpathdelimiters-_0040r_007b_0028conditional_0029_007d-422"><code>specialpathdelimiters </code><span class="roman">(conditional)</span></a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-subeqnumber-237"><code>subeqnumber</code></a>: <a href="#Subequation-references">Subequation references</a></li> +<li><a href="#index-subitem-_0040r_007bin-indexes_007d-325"><code>subitem </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-subsubitem-_0040r_007bin-indexes_007d-326"><code>subsubitem </code><span class="roman">in indexes</span></a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-testfileexistence-1247"><code>testfileexistence</code></a>: <a href="#Auxiliary-files">Auxiliary files</a></li> +<li><a href="#index-TeX-426"><code>TeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-timestamp-120"><code>timestamp</code></a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-timestring-119"><code>timestring</code></a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-toc_0040dots_007b_007dentry-179"><code>toc...entry</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-tocfilebasename-191"><code>tocfilebasename</code></a>: <a href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a></li> +<li><a href="#index-today-121"><code>today</code></a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-top-_0040r_007b_0028destination-option_0029_007d-854"><code>top </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-top-_0040r_007b_0028destination-option_0029_007d-793"><code>top </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-topmargin-377"><code>topmargin</code></a>: <a href="#Margins">Margins</a></li> <li><a href="#index-tracingall-38"><code>tracingall</code></a>: <a href="#Diagnostics">Diagnostics</a></li> <li><a href="#index-tracingboxes-40"><code>tracingboxes</code></a>: <a href="#Diagnostics">Diagnostics</a></li> <li><a href="#index-tracingoff-41"><code>tracingoff</code></a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-triplecolumns-378"><code>triplecolumns</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-tt-486"><code>tt</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-ttfamily-485"><code>ttfamily</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-uncatcodespecials-1137"><code>uncatcodespecials</code></a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-unorderedlist-121"><code>unorderedlist</code></a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-unorderedlistdepth-139"><code>unorderedlistdepth</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-unorderedmarker-137"><code>unorderedmarker</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-url-1276"><code>url</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-url-_0040r_007b_0028hyperlink-type_0029_007d-845"><code>url </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-url-_0040r_007b_0028hyperlink-type_0029_007d-732"><code>url </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-url-_0040r_007b_0028hyperlinks_0029_007d-559"><code>url </code><span class="roman">(hyperlinks)</span></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-usepackage-452"><code>usepackage</code></a>: <a href="#The-_005cusepackage-command">The \usepackage command</a></li> -<li><a href="#index-varrowlength-1102"><code>varrowlength</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-varrowlength-1041"><code>varrowlength</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vchannel-1117"><code>vchannel</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-verbatim-159"><code>verbatim</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-verbatimescapechar-160"><code>verbatimescapechar</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-vgrid-1120"><code>vgrid</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-vgrid-1097"><code>vgrid</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-vline-1064"><code>vline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vmorphposn-1109"><code>vmorphposn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-vmorphposn-1044"><code>vmorphposn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vmorphposndn-1111"><code>vmorphposndn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-vmorphposndn-1049"><code>vmorphposndn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vmorphposnlft-1113"><code>vmorphposnlft</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-vmorphposnlft-1053"><code>vmorphposnlft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vmorphposnrt-1112"><code>vmorphposnrt</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-vmorphposnrt-1052"><code>vmorphposnrt</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vmorphposnup-1110"><code>vmorphposnup</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> -<li><a href="#index-vmorphposnup-1048"><code>vmorphposnup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-vpenalty-1222"><code>vpenalty</code></a>: <a href="#Mode_002dspecific-penalties">Mode-specific penalties</a></li> +<li><a href="#index-triplecolumns-393"><code>triplecolumns</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-tt-509"><code>tt</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-ttfamily-508"><code>ttfamily</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-uncatcodespecials-1160"><code>uncatcodespecials</code></a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-uncatcodespecials-173"><code>uncatcodespecials</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-unorderedlist-130"><code>unorderedlist</code></a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-unorderedlistdepth-148"><code>unorderedlistdepth</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-unorderedmarker-146"><code>unorderedmarker</code></a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-url-1299"><code>url</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-url-_0040r_007b_0028hyperlink-type_0029_007d-868"><code>url </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-url-_0040r_007b_0028hyperlink-type_0029_007d-755"><code>url </code><span class="roman">(hyperlink type)</span></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-url-_0040r_007b_0028hyperlinks_0029_007d-582"><code>url </code><span class="roman">(hyperlinks)</span></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-usepackage-475"><code>usepackage</code></a>: <a href="#The-_005cusepackage-command">The \usepackage command</a></li> +<li><a href="#index-varrowlength-1125"><code>varrowlength</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-varrowlength-1064"><code>varrowlength</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vchannel-1140"><code>vchannel</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-verbatim-168"><code>verbatim</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-verbatimescapechar-169"><code>verbatimescapechar</code></a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-vgrid-1143"><code>vgrid</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-vgrid-1120"><code>vgrid</code></a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-vline-1087"><code>vline</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vmorphposn-1132"><code>vmorphposn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-vmorphposn-1067"><code>vmorphposn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vmorphposndn-1134"><code>vmorphposndn</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-vmorphposndn-1072"><code>vmorphposndn</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vmorphposnlft-1136"><code>vmorphposnlft</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-vmorphposnlft-1076"><code>vmorphposnlft</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vmorphposnrt-1135"><code>vmorphposnrt</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-vmorphposnrt-1075"><code>vmorphposnrt</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vmorphposnup-1133"><code>vmorphposnup</code></a>: <a href="#Commutative-diagram-parameters">Commutative diagram parameters</a></li> +<li><a href="#index-vmorphposnup-1071"><code>vmorphposnup</code></a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-vpenalty-1245"><code>vpenalty</code></a>: <a href="#Mode_002dspecific-penalties">Mode-specific penalties</a></li> <li><a href="#index-vruledefaultwidth-50"><code>vruledefaultwidth</code></a>: <a href="#Rules">Rules</a></li> -<li><a href="#index-width-_0040r_007b_0028destination-option_0029_007d-814"><code>width </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-width-_0040r_007b_0028destination-option_0029_007d-782"><code>width </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-width-_0040r_007b_0028hyperlink-option_0029_007d-920"><code>width </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-writenumberedtocentry-167"><code>writenumberedtocentry</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> -<li><a href="#index-writenumberedtocline-168"><code>writenumberedtocline</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> -<li><a href="#index-writetocentry-165"><code>writetocentry</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> -<li><a href="#index-xrdef-199"><code>xrdef</code></a>: <a href="#Page-references">Page references</a></li> -<li><a href="#index-xrdef-_0040r_007b_0028hyperlinks_0029_007d-596"><code>xrdef </code><span class="roman">(hyperlinks)</span></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-xref-200"><code>xref</code></a>: <a href="#Page-references">Page references</a></li> -<li><a href="#index-xref-_0040r_007b_0028hyperlinks_0029_007d-601"><code>xref </code><span class="roman">(hyperlinks)</span></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-xrefn-195"><code>xrefn</code></a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-xrefn-_0040r_007b_0028hyperlinks_0029_007d-590"><code>xrefn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-xrefpageword-603"><code>xrefpageword</code></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-xrefpageword-201"><code>xrefpageword</code></a>: <a href="#Page-references">Page references</a></li> -<li><a href="#index-xrefwarning-_0040r_007bconditional_007d-196"><code>xrefwarning </code><span class="roman">conditional</span></a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-width-_0040r_007b_0028destination-option_0029_007d-837"><code>width </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-width-_0040r_007b_0028destination-option_0029_007d-805"><code>width </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-width-_0040r_007b_0028hyperlink-option_0029_007d-943"><code>width </code><span class="roman">(hyperlink option)</span></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-writenumberedtocentry-180"><code>writenumberedtocentry</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-writenumberedtocline-181"><code>writenumberedtocline</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-writetocentry-178"><code>writetocentry</code></a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-XeLaTeX-446"><code>XeLaTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-XeTeX-448"><code>XeTeX</code></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-xrdef-212"><code>xrdef</code></a>: <a href="#Page-references">Page references</a></li> +<li><a href="#index-xrdef-_0040r_007b_0028hyperlinks_0029_007d-619"><code>xrdef </code><span class="roman">(hyperlinks)</span></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-xref-213"><code>xref</code></a>: <a href="#Page-references">Page references</a></li> +<li><a href="#index-xref-_0040r_007b_0028hyperlinks_0029_007d-624"><code>xref </code><span class="roman">(hyperlinks)</span></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-xrefn-208"><code>xrefn</code></a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-xrefn-_0040r_007b_0028hyperlinks_0029_007d-613"><code>xrefn </code><span class="roman">(hyperlinks)</span></a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-xrefpageword-626"><code>xrefpageword</code></a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-xrefpageword-214"><code>xrefpageword</code></a>: <a href="#Page-references">Page references</a></li> +<li><a href="#index-xrefwarning-_0040r_007bconditional_007d-209"><code>xrefwarning </code><span class="roman">conditional</span></a>: <a href="#Using-generic-references">Using generic references</a></li> <li><a href="#index-xrefwarningfalse-69"><code>xrefwarningfalse</code></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-xrlabel-1179"><code>xrlabel</code></a>: <a href="#Converting-to-characters">Converting to characters</a></li> -<li><a href="#index-xyz-_0040r_007b_0028destination-type_0029_007d-767"><code>xyz </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-xyz-_0040r_007b_0028destination-type_0029_007d-716"><code>xyz </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-zoom-_0040r_007b_0028destination-option_0029_007d-801"><code>zoom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-zoom-_0040r_007b_0028destination-option_0029_007d-768"><code>zoom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-xrlabel-1202"><code>xrlabel</code></a>: <a href="#Converting-to-characters">Converting to characters</a></li> +<li><a href="#index-xyz-_0040r_007b_0028destination-type_0029_007d-790"><code>xyz </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-xyz-_0040r_007b_0028destination-type_0029_007d-739"><code>xyz </code><span class="roman">(destination type)</span></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-zoom-_0040r_007b_0028destination-option_0029_007d-824"><code>zoom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-zoom-_0040r_007b_0028destination-option_0029_007d-791"><code>zoom </code><span class="roman">(destination option)</span></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> </ul><!-- Public domain. --> <!-- makeinfo complains about bad links if we make them implicit. Strange. --> <div class="node"> -<p><hr> <a name="Concept-index"></a> +<p><hr> Previous: <a rel="previous" accesskey="p" href="#Macro-index">Macro index</a>, Up: <a rel="up" accesskey="u" href="#Top">Top</a> @@ -7459,692 +7523,700 @@ Up: <a rel="up" accesskey="u" href="#Top">Top</a> <ul class="index-cp" compact> -<li><a href="#index-g_t_002eaux-_0040r_007bfile_007d-185"><code>.aux </code><span class="roman">file</span></a>: <a href="#Cross_002dreferences">Cross-references</a></li> +<li><a href="#index-g_t_002eaux-_0040r_007bfile_007d-198"><code>.aux </code><span class="roman">file</span></a>: <a href="#Cross_002dreferences">Cross-references</a></li> <li><a href="#index-g_t_002eaux-_0040r_007bfile_007d-58"><code>.aux </code><span class="roman">file</span></a>: <a href="#Citations">Citations</a></li> <li><a href="#index-g_t_002ebbl-_0040r_007bfile_007d-61"><code>.bbl </code><span class="roman">file</span></a>: <a href="#Citations">Citations</a></li> <li><a href="#index-g_t_002ebib-_0040r_007bfile_007d-60"><code>.bib </code><span class="roman">file</span></a>: <a href="#Citations">Citations</a></li> <li><a href="#index-g_t_002ebst-_0040r_007bfiles_007d-68"><code>.bst </code><span class="roman">files</span></a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-g_t_002ecls-_0040r_007bfiles_007d-446"><code>.cls </code><span class="roman">files</span></a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-g_t_002eeps-_0040r_007bfiles_007d-491"><code>.eps </code><span class="roman">files</span></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-g_t_002ecls-_0040r_007bfiles_007d-469"><code>.cls </code><span class="roman">files</span></a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-g_t_002eeps-_0040r_007bfiles_007d-514"><code>.eps </code><span class="roman">files</span></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> <li><a href="#index-g_t_002efmt-_0040r_007bfile_007d-25"><code>.fmt </code><span class="roman">file</span></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> <li><a href="#index-g_t_002efmt-_0040r_007bfile_007d-18"><code>.fmt </code><span class="roman">file</span></a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-g_t_002eidx-_0040r_007bfiles_007d-632"><code>.idx </code><span class="roman">files</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-g_t_002eidx-_0040r_007bfiles_007d-228"><code>.idx </code><span class="roman">files</span></a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-g_t_002eind-_0040r_007bfiles_007d-633"><code>.ind </code><span class="roman">files</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-g_t_002eind-_0040r_007bfiles_007d-229"><code>.ind </code><span class="roman">files</span></a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-g_t_002epdf-_0040r_007bfiles_007d-522"><code>.pdf </code><span class="roman">files</span></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-g_t_002epdf-_0040r_007bfiles_007d-494"><code>.pdf </code><span class="roman">files</span></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-g_t_002epdf-_0040r_007bfiles_007d-438"><code>.pdf </code><span class="roman">files</span></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-g_t_002eps-_0040r_007bfiles_007d-521"><code>.ps </code><span class="roman">files</span></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-g_t_002esty-_0040r_007bfiles_007d-445"><code>.sty </code><span class="roman">files</span></a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-g_t_002etoc-_0040r_007bfile_007d-164"><code>.toc </code><span class="roman">file</span></a>: <a href="#Contents">Contents</a></li> -<li><a href="#index-active-characters-1125">active characters</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-after-index-terms-326">after index terms</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-alignments-358">alignments</a>: <a href="#Tables">Tables</a></li> -<li><a href="#index-all-groups_002c-specifying-989">all groups, specifying</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-allocation-macros-1141">allocation macros</a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-g_t_002eidx-_0040r_007bfiles_007d-655"><code>.idx </code><span class="roman">files</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-g_t_002eidx-_0040r_007bfiles_007d-243"><code>.idx </code><span class="roman">files</span></a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-g_t_002eind-_0040r_007bfiles_007d-656"><code>.ind </code><span class="roman">files</span></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-g_t_002eind-_0040r_007bfiles_007d-244"><code>.ind </code><span class="roman">files</span></a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-g_t_002epdf-_0040r_007bfiles_007d-545"><code>.pdf </code><span class="roman">files</span></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-g_t_002epdf-_0040r_007bfiles_007d-517"><code>.pdf </code><span class="roman">files</span></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-g_t_002epdf-_0040r_007bfiles_007d-461"><code>.pdf </code><span class="roman">files</span></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-g_t_002eps-_0040r_007bfiles_007d-544"><code>.ps </code><span class="roman">files</span></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-g_t_002esty-_0040r_007bfiles_007d-468"><code>.sty </code><span class="roman">files</span></a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-g_t_002etoc-_0040r_007bfile_007d-177"><code>.toc </code><span class="roman">file</span></a>: <a href="#Contents">Contents</a></li> +<li><a href="#index-active-characters-1148">active characters</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-after-index-terms-341">after index terms</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-alignments-373">alignments</a>: <a href="#Tables">Tables</a></li> +<li><a href="#index-all-groups_002c-specifying-1012">all groups, specifying</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-allocation-macros-1164">allocation macros</a>: <a href="#Allocation-macros">Allocation macros</a></li> <li><a href="#index-alphanumeric-references-75">alphanumeric references</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-AMS_0040LaTeX_007b_007d-416">AMSLaTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-AMS_0040LaTeX_007b_007d-427">AMSLaTeX</a>: <a href="#Logos">Logos</a></li> <li><a href="#index-amsppt_002esty-30"><code>amsppt.sty</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> -<li><a href="#index-AMS_0040TeX_007b_007d-412">AMSTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-AMS_0040TeX_007b_007d-429">AMSTeX</a>: <a href="#Logos">Logos</a></li> <li><a href="#index-AMS_0040TeX_007b_007d-conflicts-31">AMSTeX conflicts</a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> -<li><a href="#index-arguments_002c-ignoring-1170">arguments, ignoring</a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-arrows-1030">arrows</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-atom-1191">atom</a>: <a href="#Properties">Properties</a></li> -<li><a href="#index-autopict_002esty-463"><code>autopict.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-avoiding-boxed-links-967">avoiding boxed links</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-avoiding-boxed-links-562">avoiding boxed links</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-axuiliary-files_002c-existence-of-1223">axuiliary files, existence of</a>: <a href="#Auxiliary-files">Auxiliary files</a></li> -<li><a href="#index-backslash-character-1128">backslash character</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-balancing-of-columns-with-_0040code_007b_005csinglecolumn_007d-382">balancing of columns with <code>\singlecolumn</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-arguments_002c-ignoring-1193">arguments, ignoring</a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-arrows-1053">arrows</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-atom-1214">atom</a>: <a href="#Properties">Properties</a></li> +<li><a href="#index-autopict_002esty-486"><code>autopict.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-avoiding-boxed-links-990">avoiding boxed links</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-avoiding-boxed-links-585">avoiding boxed links</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-axuiliary-files_002c-existence-of-1246">axuiliary files, existence of</a>: <a href="#Auxiliary-files">Auxiliary files</a></li> +<li><a href="#index-backslash-character-1151">backslash character</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-balancing-of-columns-with-_0040code_007b_005csinglecolumn_007d-397">balancing of columns with <code>\singlecolumn</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> <li><a href="#index-Berry_002c-Karl-8">Berry, Karl</a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-beveled-hyperlink-border-893">beveled hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-beveled-hyperlink-border-916">beveled hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> <li><a href="#index-bibliographies-54">bibliographies</a>: <a href="#Citations">Citations</a></li> <li><a href="#index-bibliography-fonts-87">bibliography fonts</a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bibliography-items_002c-extra-space-between-93">bibliography items, extra space between</a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> <li><a href="#index-bibliography_002c-formatting-the-82">bibliography, formatting the</a>: <a href="#Formatting-bibliographies">Formatting bibliographies</a></li> -<li><a href="#index-bibliography_002c-hyperlinks-572">bibliography, hyperlinks</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-Bib_0040TeX_007b_007d-414">BibTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-bibliography_002c-hyperlinks-595">bibliography, hyperlinks</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-Bib_0040TeX_007b_007d-431">BibTeX</a>: <a href="#Logos">Logos</a></li> <li><a href="#index-Bib_0040TeX_007b_007d-55">BibTeX</a>: <a href="#Citations">Citations</a></li> <li><a href="#index-bibtex-33"><code>bibtex</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> -<li><a href="#index-black-boxes-427">black boxes</a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-Borceux_002c-Francis-1092">Borceux, Francis</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-border-color_002c-hyperlink-884">border color, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-border-style_002c-hyperlink-889">border style, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-border-width_002c-hyperlink-903">border width, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-Bott_002c-Raoul-1080">Bott, Raoul</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-boxed-links_002c-avoiding-966">boxed links, avoiding</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-boxed-links_002c-avoiding-561">boxed links, avoiding</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-boxes_002c-open-431">boxes, open</a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-braces_002c-inside-index-entries-273">braces, inside index entries</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-brackets_002c-inside-index-entries-277">brackets, inside index entries</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-Brockett_002c-Roger-W_002e-1085">Brockett, Roger W.</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-Butterfly-Lemma-1100">Butterfly Lemma</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-Carlisle_002c-David-450">Carlisle, David</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-category-codes-1121">category codes</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-centering-349">centering</a>: <a href="#Justification">Justification</a></li> -<li><a href="#index-characters_002c-converting-to-1178">characters, converting to</a>: <a href="#Converting-to-characters">Converting to characters</a></li> +<li><a href="#index-black-boxes-450">black boxes</a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-Borceux_002c-Francis-1115">Borceux, Francis</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-border-color_002c-hyperlink-907">border color, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-border-style_002c-hyperlink-912">border style, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-border-width_002c-hyperlink-926">border width, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-Bott_002c-Raoul-1103">Bott, Raoul</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-boxed-links_002c-avoiding-989">boxed links, avoiding</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-boxed-links_002c-avoiding-584">boxed links, avoiding</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-boxes_002c-open-454">boxes, open</a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-braces_002c-inside-index-entries-288">braces, inside index entries</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-brackets_002c-inside-index-entries-292">brackets, inside index entries</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-Brockett_002c-Roger-W_002e-1108">Brockett, Roger W.</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-Butterfly-Lemma-1123">Butterfly Lemma</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-Carlisle_002c-David-473">Carlisle, David</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-category-codes-1144">category codes</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-centering-364">centering</a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-characters_002c-converting-to-1201">characters, converting to</a>: <a href="#Converting-to-characters">Converting to characters</a></li> +<li><a href="#index-characters_002c-special-172">characters, special</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> <li><a href="#index-citations-53">citations</a>: <a href="#Citations">Citations</a></li> <li><a href="#index-citations_002c-formatting-77">citations, formatting</a>: <a href="#Formatting-citations">Formatting citations</a></li> -<li><a href="#index-citations_002c-hyperlinks-567">citations, hyperlinks</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-citations_002c-hyperlinks-590">citations, hyperlinks</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> <li><a href="#index-citations_002c-undefined-64">citations, undefined</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-cmtt8-287"><code>cmtt8</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-color-472">color</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-color_002c-demo-1267">color, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-color_002c-hyperlink-border-885">color, hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-color_002c-hyperlinks-968">color, hyperlinks</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-color_002c-hyperlinks-697">color, hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-color_002c-hyperlinks-563">color, hyperlinks</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-color_002c-problems-with-pdf_0040TeX_007b_007d-475">color, problems with pdfTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-color_002esty-1270"><code>color.sty</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-color_002esty-971"><code>color.sty</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-color_002esty-938"><code>color.sty</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-color_002esty-566"><code>color.sty</code></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-color_002esty-467"><code>color.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-colored-links-969">colored links</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-colored-links-698">colored links</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-colored-links-564">colored links</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-column-balancing-with-_0040code_007b_005csinglecolumn_007d-381">column balancing with <code>\singlecolumn</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-column-eject-384">column eject</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-commas-after-index-terms-325">commas after index terms</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-commas-in-cross_002dreferencing-index-entries-346">commas in cross-referencing index entries</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-comments_002c-highlighting-in-listings-1281">comments, highlighting in listings</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-commutative-diagrams-1029">commutative diagrams</a>: <a href="#Commutative-diagrams">Commutative diagrams</a></li> -<li><a href="#index-contents-163">contents</a>: <a href="#Contents">Contents</a></li> -<li><a href="#index-contents_002c-and-verbatim-text-170">contents, and verbatim text</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> -<li><a href="#index-contents_002c-hyperlinks-678">contents, hyperlinks</a>: <a href="#Contents-hyperlinks">Contents hyperlinks</a></li> -<li><a href="#index-Con_0040TeX_007b_007dt-479">ConTeXt</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-continued-index-entries-315">continued index entries</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-covering-homotopy-property-1082">covering homotopy property</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-cross_002dreferences-184">cross-references</a>: <a href="#Cross_002dreferences">Cross-references</a></li> -<li><a href="#index-cross_002dreferences_002c-defining-general-193">cross-references, defining general</a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-cross_002dreferences_002c-defining-general-189">cross-references, defining general</a>: <a href="#Defining-generic-references">Defining generic references</a></li> -<li><a href="#index-cross_002dreferences_002c-demo-1262">cross-references, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-cross_002dreferences_002c-hyperlinks-583">cross-references, hyperlinks</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-cross_002dreferencing-index-entries-344">cross-referencing index entries</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-cross_002dreferencing-index-entries-265">cross-referencing index entries</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-g_t_0040kbd_007bCTRL_002dL_007d_002c-and-verbatim-listing-158"><kbd>CTRL-L</kbd>, and verbatim listing</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-cube-1095">cube</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-customizing-indexing-323">customizing indexing</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-dashed-hyperlink-border-887">dashed hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-date-107">date</a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-default-hyperlink-options-982">default hyperlink options</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-default-hyperlink-options-943">default hyperlink options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-default-hyperlink-type-981">default hyperlink type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-default-hyperlink-type-942">default hyperlink type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-defining-general-references-191">defining general references</a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-defining-general-references-187">defining general references</a>: <a href="#Defining-generic-references">Defining generic references</a></li> -<li><a href="#index-definitions_002c-global-1134">definitions, global</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-demo-files-1241">demo files</a>: <a href="#Demo-files">Demo files</a></li> -<li><a href="#index-destgroup-544">destgroup</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-destgroup-_0060bib_0027-575">destgroup `bib'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-destgroup-_0060definexref_0027-586">destgroup `definexref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-destgroup-_0060eq_0027-613">destgroup `eq'</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-destgroup-_0060foot_0027-670">destgroup `foot'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-destgroup-_0060footback_0027-671">destgroup `footback'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-destgroup-_0060idx_0027-629">destgroup `idx'</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-destgroup-_0060li_0027-581">destgroup `li'</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> -<li><a href="#index-destgroup-_0060xrdef_0027-600">destgroup `xrdef'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-destgroup-options-995">destgroup options</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-destgroup-options-961">destgroup options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-destgroup-options_002c-demo-1255">destgroup options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-destgroup-type-979">destgroup type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-destgroup-type-960">destgroup type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-destgroup-type_002c-demo-1258">destgroup type, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-destination-group-543">destination group</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-destination-options-531">destination options</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-destination-options_002c-common-681">destination options, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-destination-options_002c-_0040code_007bdvipdfm_007d-795">destination options, <code>dvipdfm</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-destination-options_002c-_0040code_007bhypertex_007d-721">destination options, <code>hypertex</code></a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> -<li><a href="#index-destination-options_002c-_0040code_007bpdftex_007d-794">destination options, <code>pdftex</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-destination-type-528">destination type</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-destination-types_002c-_0040code_007bdvipdfm_007d-762">destination types, <code>dvipdfm</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-destination-types_002c-_0040code_007bhypertex_007d-713">destination types, <code>hypertex</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-destination-types_002c-_0040code_007bpdftex_007d-761">destination types, <code>pdftex</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-default-options-986">destinations, default options</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-destinations_002c-default-options-947">destinations, default options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-destinations_002c-default-type-985">destinations, default type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-destinations_002c-default-type-946">destinations, default type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-destinations_002c-dimensions-807">destinations, dimensions</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-disabling-1016">destinations, disabling</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> -<li><a href="#index-destinations_002c-disabling-930">destinations, disabling</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-destinations_002c-group-options-994">destinations, group options</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-destinations_002c-group-options-959">destinations, group options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-destinations_002c-group-options_002c-demo-1254">destinations, group options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-destinations_002c-group-type-978">destinations, group type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-destinations_002c-group-type-958">destinations, group type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-destinations_002c-group-type_002c-demo-1257">destinations, group type, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-destinations_002c-in-another-file-856">destinations, in another file</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-in-another-file-738">destinations, in another file</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-destinations_002c-large-operators-1006">destinations, large operators</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-destinations_002c-large-operators-692">destinations, large operators</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-destinations_002c-magnification-802">destinations, magnification</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-named-843">destinations, named</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-named-730">destinations, named</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-destinations_002c-numbered-874">destinations, numbered</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-page-851">destinations, page</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-raising-686">destinations, raising</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-destinations_002c-_0040acronym_007bURL_007d-847">destinations, <acronym>URL</acronym></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-destinations_002c-_0040acronym_007bURL_007d-734">destinations, <acronym>URL</acronym></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-detecting-numbers-1206">detecting numbers</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-cmtt8-302"><code>cmtt8</code></a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-color-495">color</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-color_002c-demo-1290">color, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-color_002c-hyperlink-border-908">color, hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-color_002c-hyperlinks-991">color, hyperlinks</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-color_002c-hyperlinks-720">color, hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-color_002c-hyperlinks-586">color, hyperlinks</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-color_002c-problems-with-pdf_0040TeX_007b_007d-498">color, problems with pdfTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-color_002esty-1293"><code>color.sty</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-color_002esty-994"><code>color.sty</code></a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-color_002esty-961"><code>color.sty</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-color_002esty-589"><code>color.sty</code></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-color_002esty-490"><code>color.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-colored-links-992">colored links</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-colored-links-721">colored links</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-colored-links-587">colored links</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-column-balancing-with-_0040code_007b_005csinglecolumn_007d-396">column balancing with <code>\singlecolumn</code></a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-column-eject-399">column eject</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-commas-after-index-terms-340">commas after index terms</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-commas-in-cross_002dreferencing-index-entries-361">commas in cross-referencing index entries</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-comments_002c-highlighting-in-listings-1304">comments, highlighting in listings</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-commutative-diagrams-1052">commutative diagrams</a>: <a href="#Commutative-diagrams">Commutative diagrams</a></li> +<li><a href="#index-contents-176">contents</a>: <a href="#Contents">Contents</a></li> +<li><a href="#index-contents_002c-and-verbatim-text-183">contents, and verbatim text</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-contents_002c-hyperlinks-701">contents, hyperlinks</a>: <a href="#Contents-hyperlinks">Contents hyperlinks</a></li> +<li><a href="#index-Con_0040TeX_007b_007dt-502">ConTeXt</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-continued-index-entries-330">continued index entries</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-covering-homotopy-property-1105">covering homotopy property</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-cross_002dreferences-197">cross-references</a>: <a href="#Cross_002dreferences">Cross-references</a></li> +<li><a href="#index-cross_002dreferences_002c-defining-general-206">cross-references, defining general</a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-cross_002dreferences_002c-defining-general-202">cross-references, defining general</a>: <a href="#Defining-generic-references">Defining generic references</a></li> +<li><a href="#index-cross_002dreferences_002c-demo-1285">cross-references, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-cross_002dreferences_002c-hyperlinks-606">cross-references, hyperlinks</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-cross_002dreferencing-index-entries-359">cross-referencing index entries</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-cross_002dreferencing-index-entries-280">cross-referencing index entries</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-g_t_0040kbd_007bCTRL_002dL_007d_002c-and-verbatim-listing-167"><kbd>CTRL-L</kbd>, and verbatim listing</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-cube-1118">cube</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-customizing-indexing-338">customizing indexing</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-dashed-hyperlink-border-910">dashed hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-date-116">date</a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-default-hyperlink-options-1005">default hyperlink options</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-default-hyperlink-options-966">default hyperlink options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-default-hyperlink-type-1004">default hyperlink type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-default-hyperlink-type-965">default hyperlink type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-defining-general-references-204">defining general references</a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-defining-general-references-200">defining general references</a>: <a href="#Defining-generic-references">Defining generic references</a></li> +<li><a href="#index-definitions_002c-global-1157">definitions, global</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-demo-files-1264">demo files</a>: <a href="#Demo-files">Demo files</a></li> +<li><a href="#index-destgroup-567">destgroup</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-destgroup-_0060bib_0027-598">destgroup `bib'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-destgroup-_0060definexref_0027-609">destgroup `definexref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-destgroup-_0060eq_0027-636">destgroup `eq'</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-destgroup-_0060foot_0027-693">destgroup `foot'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-destgroup-_0060footback_0027-694">destgroup `footback'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-destgroup-_0060idx_0027-652">destgroup `idx'</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-destgroup-_0060li_0027-604">destgroup `li'</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> +<li><a href="#index-destgroup-_0060xrdef_0027-623">destgroup `xrdef'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-destgroup-options-1018">destgroup options</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-destgroup-options-984">destgroup options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-destgroup-options_002c-demo-1278">destgroup options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-destgroup-type-1002">destgroup type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-destgroup-type-983">destgroup type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-destgroup-type_002c-demo-1281">destgroup type, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-destination-group-566">destination group</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-destination-options-554">destination options</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-destination-options_002c-common-704">destination options, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-destination-options_002c-_0040code_007bdvipdfm_007d-818">destination options, <code>dvipdfm</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-destination-options_002c-_0040code_007bhypertex_007d-744">destination options, <code>hypertex</code></a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> +<li><a href="#index-destination-options_002c-_0040code_007bpdftex_007d-817">destination options, <code>pdftex</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-destination-type-551">destination type</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-destination-types_002c-_0040code_007bdvipdfm_007d-785">destination types, <code>dvipdfm</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-destination-types_002c-_0040code_007bhypertex_007d-736">destination types, <code>hypertex</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-destination-types_002c-_0040code_007bpdftex_007d-784">destination types, <code>pdftex</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-default-options-1009">destinations, default options</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-destinations_002c-default-options-970">destinations, default options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-destinations_002c-default-type-1008">destinations, default type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-destinations_002c-default-type-969">destinations, default type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-destinations_002c-dimensions-830">destinations, dimensions</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-disabling-1039">destinations, disabling</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> +<li><a href="#index-destinations_002c-disabling-953">destinations, disabling</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-destinations_002c-group-options-1017">destinations, group options</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-destinations_002c-group-options-982">destinations, group options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-destinations_002c-group-options_002c-demo-1277">destinations, group options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-destinations_002c-group-type-1001">destinations, group type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-destinations_002c-group-type-981">destinations, group type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-destinations_002c-group-type_002c-demo-1280">destinations, group type, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-destinations_002c-in-another-file-879">destinations, in another file</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-in-another-file-761">destinations, in another file</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-destinations_002c-large-operators-1029">destinations, large operators</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-destinations_002c-large-operators-715">destinations, large operators</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-destinations_002c-magnification-825">destinations, magnification</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-named-866">destinations, named</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-named-753">destinations, named</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-destinations_002c-numbered-897">destinations, numbered</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-page-874">destinations, page</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-raising-709">destinations, raising</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-destinations_002c-_0040acronym_007bURL_007d-870">destinations, <acronym>URL</acronym></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-destinations_002c-_0040acronym_007bURL_007d-757">destinations, <acronym>URL</acronym></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-detecting-numbers-1229">detecting numbers</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> <li><a href="#index-diagnostics-36">diagnostics</a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-Diagram_002c-macros-for-LaTeX-1093">Diagram, macros for LaTeX</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-dimensions_002c-hyperlink-916">dimensions, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-dimensions_002c-hyperlink-destination-809">dimensions, hyperlink destination</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-disabling-hyperlinks-1014">disabling hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> -<li><a href="#index-disabling-hyperlinks-928">disabling hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-disabling-indexes-235">disabling indexes</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-displayed-math-and-hyperlinks-1003">displayed math and hyperlinks</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-displayed-math-and-hyperlinks-689">displayed math and hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-Diagram_002c-macros-for-LaTeX-1116">Diagram, macros for LaTeX</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-dimensions_002c-hyperlink-939">dimensions, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-dimensions_002c-hyperlink-destination-832">dimensions, hyperlink destination</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-disabling-hyperlinks-1037">disabling hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> +<li><a href="#index-disabling-hyperlinks-951">disabling hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-disabling-indexes-250">disabling indexes</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-displayed-math-and-hyperlinks-1026">displayed math and hyperlinks</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-displayed-math-and-hyperlinks-712">displayed math and hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> <li><a href="#index-displays_002c-left_002djustifying-94">displays, left-justifying</a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-do_0040dots_007b_007dwhile-loops-1163">do<small class="dots">...</small>while loops</a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-double-column-output-373">double column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-double-columns-in-indexes-307">double columns in indexes</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-g_t_0040code_007bdraft_007d_002c-option-for-_0040file_007bgraphics_002esty_007d-484"><code>draft</code>, option for <samp><span class="file">graphics.sty</span></samp></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-driver-_0040code_007bdvipdfm_007d-758">driver <code>dvipdfm</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-driver-_0040code_007bhypertex_007d-702">driver <code>hypertex</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-driver-_0040code_007bnolinks_007d-925">driver <code>nolinks</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-driver-_0040code_007bpdftex_007d-757">driver <code>pdftex</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-drivers_002c-hyperlink-519">drivers, hyperlink</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-dvipdfm-705"><code>dvipdfm</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-dvipdfm-524"><code>dvipdfm</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-destination-options-799"><code>dvipdfm</code>, destination options</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-destination-types-766"><code>dvipdfm</code>, destination types</a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-hyperlink-driver-756"><code>dvipdfm</code>, hyperlink driver</a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-link-options-881"><code>dvipdfm</code>, link options</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-link-types-840"><code>dvipdfm</code>, link types</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-dvips-706"><code>dvips</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-Eijkhout_002c-Victor-1168">Eijkhout, Victor</a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-eject-in-multicolumns-385">eject in multicolumns</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-electronic-mail-addresses_002c-breaking-510">electronic mail addresses, breaking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-electronic-mail-addresses_002c-breaking-404">electronic mail addresses, breaking</a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-empty-argument_002c-checking-for-1201">empty argument, checking for</a>: <a href="#g_t_005cifempty">\ifempty</a></li> -<li><a href="#index-empty-equation-labels-206">empty equation labels</a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-empty-equation-labels_002c-referring-to-209">empty equation labels, referring to</a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-empty-string_002c-checking-for-1200">empty string, checking for</a>: <a href="#g_t_005cifempty">\ifempty</a></li> -<li><a href="#index-Encapsulated-PostScript-489">Encapsulated PostScript</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-environments_002c-user_002ddefined-1228">environments, user-defined</a>: <a href="#User_002ddefined-environments">User-defined environments</a></li> +<li><a href="#index-do_0040dots_007b_007dwhile-loops-1186">do<small class="dots">...</small>while loops</a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-double-column-output-388">double column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-double-columns-in-indexes-322">double columns in indexes</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-g_t_0040code_007bdraft_007d_002c-option-for-_0040file_007bgraphics_002esty_007d-507"><code>draft</code>, option for <samp><span class="file">graphics.sty</span></samp></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-driver-_0040code_007bdvipdfm_007d-781">driver <code>dvipdfm</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-driver-_0040code_007bhypertex_007d-725">driver <code>hypertex</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-driver-_0040code_007bnolinks_007d-948">driver <code>nolinks</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-driver-_0040code_007bpdftex_007d-780">driver <code>pdftex</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-drivers_002c-hyperlink-542">drivers, hyperlink</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-dvipdfm-728"><code>dvipdfm</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-dvipdfm-547"><code>dvipdfm</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-destination-options-822"><code>dvipdfm</code>, destination options</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-destination-types-789"><code>dvipdfm</code>, destination types</a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-hyperlink-driver-779"><code>dvipdfm</code>, hyperlink driver</a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-link-options-904"><code>dvipdfm</code>, link options</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bdvipdfm_007d_002c-link-types-863"><code>dvipdfm</code>, link types</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-dvips-729"><code>dvips</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-Eijkhout_002c-Victor-1191">Eijkhout, Victor</a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-eject-in-multicolumns-400">eject in multicolumns</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-electronic-mail-addresses_002c-breaking-533">electronic mail addresses, breaking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-electronic-mail-addresses_002c-breaking-419">electronic mail addresses, breaking</a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-empty-argument_002c-checking-for-1224">empty argument, checking for</a>: <a href="#g_t_005cifempty">\ifempty</a></li> +<li><a href="#index-empty-equation-labels-220">empty equation labels</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-empty-equation-labels_002c-referring-to-223">empty equation labels, referring to</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-empty-string_002c-checking-for-1223">empty string, checking for</a>: <a href="#g_t_005cifempty">\ifempty</a></li> +<li><a href="#index-Encapsulated-PostScript-512">Encapsulated PostScript</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-environments_002c-user_002ddefined-1251">environments, user-defined</a>: <a href="#User_002ddefined-environments">User-defined environments</a></li> <li><a href="#index-Eplain_002c-installing-13">Eplain, installing</a>: <a href="#Installation">Installation</a></li> <li><a href="#index-Eplain_002c-invoking-24">Eplain, invoking</a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> <li><a href="#index-Eplain_002c-purpose-of-1">Eplain, purpose of</a>: <a href="#Introduction">Introduction</a></li> <li><a href="#index-Eplain_002c-upgrading-15">Eplain, upgrading</a>: <a href="#Installation">Installation</a></li> <li><a href="#index-eplain_002eaux-21"><code>eplain.aux</code></a>: <a href="#Installation">Installation</a></li> <li><a href="#index-eplain_002efmt-20"><code>eplain.fmt</code></a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-g_t_0040acronym_007bEPS_007d-490"><acronym>EPS</acronym></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-epstopdf-495"><code>epstopdf</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-epstopdf_002esty-488"><code>epstopdf.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-equation-labels_002c-characters-valid-in-214">equation labels, characters valid in</a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-equation-numbers_002c-formatting-of-215">equation numbers, formatting of</a>: <a href="#Formatting-equation-references">Formatting equation references</a></li> -<li><a href="#index-equations_002c-giving-numbers-to-all-208">equations, giving numbers to all</a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-equations_002c-groups-of-218">equations, groups of</a>: <a href="#Subequation-references">Subequation references</a></li> -<li><a href="#index-equations_002c-hyperlinks-610">equations, hyperlinks</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-equations_002c-numbering-203">equations, numbering</a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-equations_002c-references-to-202">equations, references to</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-g_t_0040acronym_007bEPS_007d-513"><acronym>EPS</acronym></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-epstopdf-518"><code>epstopdf</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-epstopdf_002esty-511"><code>epstopdf.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-equation-labels_002c-characters-valid-in-229">equation labels, characters valid in</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-equation-numbers_002c-formatting-of-230">equation numbers, formatting of</a>: <a href="#Formatting-equation-references">Formatting equation references</a></li> +<li><a href="#index-equation-numbers_002c-left_002dalignment-97">equation numbers, left-alignment</a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-equations_002c-giving-numbers-to-all-222">equations, giving numbers to all</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-equations_002c-groups-of-233">equations, groups of</a>: <a href="#Subequation-references">Subequation references</a></li> +<li><a href="#index-equations_002c-hyperlinks-633">equations, hyperlinks</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-equations_002c-numbering-216">equations, numbering</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-equations_002c-references-to-215">equations, references to</a>: <a href="#Equation-references">Equation references</a></li> <li><a href="#index-error-messages-45">error messages</a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-error-on-_0040code_007b_005cinput_007d-460">error on <code>\input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-escape-character_002c-changing-verbatim-161">escape character, changing verbatim</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-exact-index-hyperlinks-637">exact index hyperlinks</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-expansion_002c-one_002dlevel-1194">expansion, one-level</a>: <a href="#g_t_005cexpandonce">\expandonce</a></li> -<li><a href="#index-explicit-hyperlinks-533">explicit hyperlinks</a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> -<li><a href="#index-explicit-hyperlinks_002c-demo-1244">explicit hyperlinks, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-file_002c-hyperlink-to-855">file, hyperlink to</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-file_002c-hyperlink-to-737">file, hyperlink to</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-g_t_0040samp_007bfile_003a_007d-links-553">`<samp><span class="samp">file:</span></samp>' links</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-filenames_002c-breaking-509">filenames, breaking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-filenames_002c-breaking-403">filenames, breaking</a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-files_002c-verbatim-listing-of-149">files, verbatim listing of</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-files_002c-verbatim-listing-of_002c-demo-1280">files, verbatim listing of, demo</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-filtering-index-entries-with-hyperlinks-641">filtering index entries with hyperlinks</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-footnotes_002c-hyperlinks-664">footnotes, hyperlinks</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-footnotes_002c-numbered-392">footnotes, numbered</a>: <a href="#Footnotes">Footnotes</a></li> -<li><a href="#index-for-loops-1161">for loops</a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-form-feed-character_002c-and-verbatim-listing-157">form feed character, and verbatim listing</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-error-on-_0040code_007b_005cinput_007d-483">error on <code>\input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-escape-character_002c-changing-verbatim-170">escape character, changing verbatim</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-e_0040TeX_007b_007d-433">eTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-exact-index-hyperlinks-660">exact index hyperlinks</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-expansion_002c-one_002dlevel-1217">expansion, one-level</a>: <a href="#g_t_005cexpandonce">\expandonce</a></li> +<li><a href="#index-explicit-hyperlinks-556">explicit hyperlinks</a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> +<li><a href="#index-explicit-hyperlinks_002c-demo-1267">explicit hyperlinks, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-Ex_0040TeX_007b_007d-435">ExTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-file_002c-hyperlink-to-878">file, hyperlink to</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-file_002c-hyperlink-to-760">file, hyperlink to</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-g_t_0040samp_007bfile_003a_007d-links-576">‘<samp><span class="samp">file:</span></samp>’ links</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-filenames_002c-breaking-532">filenames, breaking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-filenames_002c-breaking-418">filenames, breaking</a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-files_002c-verbatim-listing-of-158">files, verbatim listing of</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-files_002c-verbatim-listing-of_002c-demo-1303">files, verbatim listing of, demo</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-filtering-index-entries-with-hyperlinks-664">filtering index entries with hyperlinks</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-footnotes_002c-hyperlinks-687">footnotes, hyperlinks</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-footnotes_002c-numbered-407">footnotes, numbered</a>: <a href="#Footnotes">Footnotes</a></li> +<li><a href="#index-for-loops-1184">for loops</a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-form-feed-character_002c-and-verbatim-listing-166">form feed character, and verbatim listing</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> <li><a href="#index-format-file-19">format file</a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-formatting-index-entries-313">formatting index entries</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-fractions-400">fractions</a>: <a href="#Fractions">Fractions</a></li> -<li><a href="#index-g_t_0040r_007bGhostscript_007d-707"><span class="roman">Ghostscript</span></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-gobbling-arguments-1172">gobbling arguments</a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-golden-mean-1088">golden mean</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-formatting-index-entries-328">formatting index entries</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-fractions-415">fractions</a>: <a href="#Fractions">Fractions</a></li> +<li><a href="#index-g_t_0040r_007bGhostscript_007d-730"><span class="roman">Ghostscript</span></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-gobbling-arguments-1195">gobbling arguments</a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-golden-mean-1111">golden mean</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> <li><a href="#index-Graham_002c-Ronald-L_002e-71">Graham, Ronald L.</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d-939">graphics collection, LaTeX</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d-470">graphics collection, LaTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d-447">graphics collection, LaTeX</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d_002c-demo-1265">graphics collection, LaTeX, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-graphics_002c-omitting-typesetting-of-483">graphics, omitting typesetting of</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-graphics_002c-problems-with-pdf_0040TeX_007b_007d-476">graphics, problems with pdfTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-graphics_002esty-468"><code>graphics.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-graphicx_002esty-1271"><code>graphicx.sty</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-graphicx_002esty-469"><code>graphicx.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-grid-1091">grid</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-group-_0060_0027-_0028empty_0029-980">group `' (empty)</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-group-_0060_002a_0027-987">group `*'</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-group-_0060bib_0027-574">group `bib'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-group-_0060cite_0027-569">group `cite'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-group-_0060definexref_0027-585">group `definexref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-group-_0060eq_0027-1008">group `eq'</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-group-_0060eq_0027-612">group `eq'</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-group-_0060foot_0027-666">group `foot'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-group-_0060footback_0027-667">group `footback'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-group-_0060hrefext_0027-551">group `hrefext'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-group-_0060hrefint_0027-547">group `hrefint'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-group-_0060idx_0027-627">group `idx'</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-group-_0060li_0027-580">group `li'</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> -<li><a href="#index-group-_0060ref_0027-587">group `ref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-group-_0060url_0027-557">group `url'</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-group-_0060xrdef_0027-599">group `xrdef'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-group-_0060xref_0027-604">group `xref'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-group-option-list-1011">group option list</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-group-options_002c-hyperlink-990">group options, hyperlink</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-group-options_002c-hyperlink-951">group options, hyperlink</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-group-options_002c-hyperlink_002c-demo-1250">group options, hyperlink, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-group-type_002c-hyperlink-974">group type, hyperlink</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-group-type_002c-hyperlink-950">group type, hyperlink</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-group-type_002c-hyperlink_002c-demo-1256">group type, hyperlink, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-group_002c-destination-545">group, destination</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-group_002c-disabling-hyperlinks-1021">group, disabling hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyperlinks on/off for a group</a></li> -<li><a href="#index-group_002c-link-542">group, link</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-group_002c-preserving-option-list-998">group, preserving option list</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-groups_002c-specifying-all-988">groups, specifying all</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-hanging-on-_0040code_007b_005cinput_007d-459">hanging on <code>\input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d-962">graphics collection, LaTeX</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d-493">graphics collection, LaTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d-470">graphics collection, LaTeX</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-graphics-collection_002c-_0040LaTeX_007b_007d_002c-demo-1288">graphics collection, LaTeX, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-graphics_002c-omitting-typesetting-of-506">graphics, omitting typesetting of</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-graphics_002c-problems-with-pdf_0040TeX_007b_007d-499">graphics, problems with pdfTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-graphics_002esty-491"><code>graphics.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-graphicx_002esty-1294"><code>graphicx.sty</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-graphicx_002esty-492"><code>graphicx.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-grid-1114">grid</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-group-_0060_0027-_0028empty_0029-1003">group `' (empty)</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-group-_0060_002a_0027-1010">group `*'</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-group-_0060bib_0027-597">group `bib'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-group-_0060cite_0027-592">group `cite'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-group-_0060definexref_0027-608">group `definexref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-group-_0060eq_0027-1031">group `eq'</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-group-_0060eq_0027-635">group `eq'</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-group-_0060foot_0027-689">group `foot'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-group-_0060footback_0027-690">group `footback'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-group-_0060hrefext_0027-574">group `hrefext'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-group-_0060hrefint_0027-570">group `hrefint'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-group-_0060idx_0027-650">group `idx'</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-group-_0060li_0027-603">group `li'</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> +<li><a href="#index-group-_0060ref_0027-610">group `ref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-group-_0060url_0027-580">group `url'</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-group-_0060xrdef_0027-622">group `xrdef'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-group-_0060xref_0027-627">group `xref'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-group-option-list-1034">group option list</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-group-options_002c-hyperlink-1013">group options, hyperlink</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-group-options_002c-hyperlink-974">group options, hyperlink</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-group-options_002c-hyperlink_002c-demo-1273">group options, hyperlink, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-group-type_002c-hyperlink-997">group type, hyperlink</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-group-type_002c-hyperlink-973">group type, hyperlink</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-group-type_002c-hyperlink_002c-demo-1279">group type, hyperlink, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-group_002c-destination-568">group, destination</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-group_002c-disabling-hyperlinks-1044">group, disabling hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyperlinks on/off for a group</a></li> +<li><a href="#index-group_002c-link-565">group, link</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-group_002c-preserving-option-list-1021">group, preserving option list</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-groups_002c-specifying-all-1011">groups, specifying all</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-hanging-on-_0040code_007b_005cinput_007d-482">hanging on <code>\input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> <li><a href="#index-help-messages-44">help messages</a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-highlight-modes_002c-hyperlink-909">highlight modes, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-highlighting-506">highlighting</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-highlighting_002c-in-listings-1282">highlighting, in listings</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-H_0040_0022oppner_002c-Klaus-487">Höppner, Klaus</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-hooks-1184">hooks</a>: <a href="#Hooks">Hooks</a></li> -<li><a href="#index-hyperlink-border-color-883">hyperlink border color</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-color-970">hyperlink color</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> -<li><a href="#index-hyperlink-color-699">hyperlink color</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-hyperlink-color-565">hyperlink color</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-hyperlink-destination_002c-dimensions-808">hyperlink destination, dimensions</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-destination_002c-magnification-803">hyperlink destination, magnification</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-destination_002c-named-844">hyperlink destination, named</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-destination_002c-named-731">hyperlink destination, named</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-hyperlink-destination_002c-numbered-875">hyperlink destination, numbered</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-destination_002c-page-852">hyperlink destination, page</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-destination_002c-raising-685">hyperlink destination, raising</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-hyperlink-dimensions-915">hyperlink dimensions</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-driver-_0040code_007bdvipdfm_007d-760">hyperlink driver <code>dvipdfm</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-driver-_0040code_007bhypertex_007d-703">hyperlink driver <code>hypertex</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-hyperlink-driver-_0040code_007bnolinks_007d-926">hyperlink driver <code>nolinks</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-hyperlink-driver-_0040code_007bpdftex_007d-759">hyperlink driver <code>pdftex</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlink-drivers-518">hyperlink drivers</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-hyperlink-group_002c-disabling-hyperlinks-1022">hyperlink group, disabling hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyperlinks on/off for a group</a></li> -<li><a href="#index-hyperlink-group_002c-preserving-option-list-999">hyperlink group, preserving option list</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-hyperlink-options_002c-common-680">hyperlink options, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-hyperlinks_002c-bibliography-573">hyperlinks, bibliography</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-border-style-888">hyperlinks, border style</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlinks_002c-border-width-902">hyperlinks, border width</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlinks_002c-citations-568">hyperlinks, citations</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-cross_002dreferences-584">hyperlinks, cross-references</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-default-options-984">hyperlinks, default options</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-hyperlinks_002c-default-options-945">hyperlinks, default options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-hyperlinks_002c-default-type-983">hyperlinks, default type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-hyperlinks_002c-default-type-944">hyperlinks, default type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-hyperlinks_002c-demo-1243">hyperlinks, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hyperlinks_002c-disabling-1015">hyperlinks, disabling</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> -<li><a href="#index-hyperlinks_002c-disabling-929">hyperlinks, disabling</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-hyperlinks_002c-equations-611">hyperlinks, equations</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-explicit-534">hyperlinks, explicit</a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-explicit_002c-demo-1245">hyperlinks, explicit, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hyperlinks_002c-filtering-index-entries-642">hyperlinks, filtering index entries</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-hyperlinks_002c-footnotes-665">hyperlinks, footnotes</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-group-option-list-1012">hyperlinks, group option list</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-hyperlinks_002c-group-options-991">hyperlinks, group options</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-hyperlinks_002c-group-options-953">hyperlinks, group options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-hyperlinks_002c-group-options_002c-demo-1251">hyperlinks, group options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hyperlinks_002c-group-type-975">hyperlinks, group type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-hyperlinks_002c-group-type-952">hyperlinks, group type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-hyperlinks_002c-highlight-mode-908">hyperlinks, highlight mode</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlinks_002c-implicit-539">hyperlinks, implicit</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-implicit_002c-demo-1247">hyperlinks, implicit, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-hyperlinks_002c-index-626">hyperlinks, index</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-index-destination-placement-653">hyperlinks, index destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-hyperlinks_002c-index_002c-exact-639">hyperlinks, index, exact</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-hyperlinks_002c-large-operators-1005">hyperlinks, large operators</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-hyperlinks_002c-large-operators-691">hyperlinks, large operators</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-hyperlinks_002c-lists-578">hyperlinks, lists</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-opening-in-a-new-window-911">hyperlinks, opening in a new window</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlinks_002c-page-references-598">hyperlinks, page references</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-preserving-page_002dbreaking-934">hyperlinks, preserving page-breaking</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-hyperlinks_002c-preserving-spacing-932">hyperlinks, preserving spacing</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-hyperlinks_002c-see-and-see-also-index-entries-658">hyperlinks, see and see also index entries</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> -<li><a href="#index-hyperlinks_002c-table-of-contents-679">hyperlinks, table of contents</a>: <a href="#Contents-hyperlinks">Contents hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-to-another-file-857">hyperlinks, to another file</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlinks_002c-to-another-file-739">hyperlinks, to another file</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-848">hyperlinks, <acronym>URL</acronym></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-735">hyperlinks, <acronym>URL</acronym></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-556">hyperlinks, <acronym>URL</acronym></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-550">hyperlinks, <acronym>URL</acronym></a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-hyperref_002esty-513"><code>hyperref.sty</code></a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> -<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-destination-options-723"><code>hypertex</code>, destination options</a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> -<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-destination-types-715"><code>hypertex</code>, destination types</a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-hyperlink-driver-701"><code>hypertex</code>, hyperlink driver</a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-link-options-749"><code>hypertex</code>, link options</a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> -<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-link-types-727"><code>hypertex</code>, link types</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-hypertext-links-517">hypertext links</a>: <a href="#Hyperlinks">Hyperlinks</a></li> -<li><a href="#index-identifying-numbers-1207">identifying numbers</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> -<li><a href="#index-idxuniq-640"><code>idxuniq</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-ignoring-arguments-1171">ignoring arguments</a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-implicit-hyperlinks-538">implicit hyperlinks</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-implicit-hyperlinks_002c-demo-1246">implicit hyperlinks, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-inaccessible-macros-1130">inaccessible macros</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-index-entries-and-ranges-261">index entries and ranges</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-index-entries-containing-braces-274">index entries containing braces</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-index-entries-containing-brackets-278">index entries containing brackets</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-index-entries-with-special-characters-269">index entries with special characters</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-index-entries_0027-page-numbers_002c-modifying-258">index entries' page numbers, modifying</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-index-entries_002c-and-cross_002dreferencing-345">index entries, and cross-referencing</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-index-entries_002c-and-cross_002dreferencing-266">index entries, and cross-referencing</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-index-entries_002c-proofing-280">index entries, proofing</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-index-entries_002c-with-verbatim-text-270">index entries, with verbatim text</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-index-entry-continuations-316">index entry continuations</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-index-entry-formatting-312">index entry formatting</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-index-entry-general-sorting-253">index entry general sorting</a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-index-fonts-305">index fonts</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-index-groupings-322">index groupings</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-index-hyperlink-625">index hyperlink</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-index-typesetting-298">index typesetting</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-index_002c-and-verbatim-text-271">index, and verbatim text</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-index_002c-choosing-destination-placement-652">index, choosing destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-index_002c-destination-placement-650">index, destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-index_002c-exact-hyperlinks-638">index, exact hyperlinks</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> -<li><a href="#index-index_002c-hyperlinks-in-see-and-see-also-entries-659">index, hyperlinks in see and see also entries</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> -<li><a href="#index-index_002c-parsing-page-numbers-645">index, parsing page numbers</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> -<li><a href="#index-index_002c-placement-of-destinations-649">index, placement of destinations</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-index_002c-selecting-destination-placement-651">index, selecting destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> -<li><a href="#index-index_002c-underlining-page-numbers-1238">index, underlining page numbers</a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-indexes_002c-disabling-234">indexes, disabling</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-indexes_002c-multiple-232">indexes, multiple</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-indexing-224">indexing</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-indexing-and-trailing-spaces-242">indexing and trailing spaces</a>: <a href="#Indexing-terms">Indexing terms</a></li> -<li><a href="#index-indexing-commands-243">indexing commands</a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-indexing-terms-237">indexing terms</a>: <a href="#Indexing-terms">Indexing terms</a></li> -<li><a href="#index-insertion-classes-391">insertion classes</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-inset-hyperlink-border-894">inset hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-highlight-modes_002c-hyperlink-932">highlight modes, hyperlink</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-highlighting-529">highlighting</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-highlighting_002c-in-listings-1305">highlighting, in listings</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-H_0040_0022oppner_002c-Klaus-510">Höppner, Klaus</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-hooks-1207">hooks</a>: <a href="#Hooks">Hooks</a></li> +<li><a href="#index-hyperlink-border-color-906">hyperlink border color</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-color-993">hyperlink color</a>: <a href="#Setting-default-types-and-options">Setting default types and options</a></li> +<li><a href="#index-hyperlink-color-722">hyperlink color</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-hyperlink-color-588">hyperlink color</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-hyperlink-destination_002c-dimensions-831">hyperlink destination, dimensions</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-destination_002c-magnification-826">hyperlink destination, magnification</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-destination_002c-named-867">hyperlink destination, named</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-destination_002c-named-754">hyperlink destination, named</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-hyperlink-destination_002c-numbered-898">hyperlink destination, numbered</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-destination_002c-page-875">hyperlink destination, page</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-destination_002c-raising-708">hyperlink destination, raising</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-hyperlink-dimensions-938">hyperlink dimensions</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-driver-_0040code_007bdvipdfm_007d-783">hyperlink driver <code>dvipdfm</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-driver-_0040code_007bhypertex_007d-726">hyperlink driver <code>hypertex</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-hyperlink-driver-_0040code_007bnolinks_007d-949">hyperlink driver <code>nolinks</code></a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-hyperlink-driver-_0040code_007bpdftex_007d-782">hyperlink driver <code>pdftex</code></a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlink-drivers-541">hyperlink drivers</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-hyperlink-group_002c-disabling-hyperlinks-1045">hyperlink group, disabling hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff-for-a-group">Turning hyperlinks on/off for a group</a></li> +<li><a href="#index-hyperlink-group_002c-preserving-option-list-1022">hyperlink group, preserving option list</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-hyperlink-options_002c-common-703">hyperlink options, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-hyperlinks_002c-bibliography-596">hyperlinks, bibliography</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-border-style-911">hyperlinks, border style</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlinks_002c-border-width-925">hyperlinks, border width</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlinks_002c-citations-591">hyperlinks, citations</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-cross_002dreferences-607">hyperlinks, cross-references</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-default-options-1007">hyperlinks, default options</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-hyperlinks_002c-default-options-968">hyperlinks, default options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-hyperlinks_002c-default-type-1006">hyperlinks, default type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-hyperlinks_002c-default-type-967">hyperlinks, default type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-hyperlinks_002c-demo-1266">hyperlinks, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hyperlinks_002c-disabling-1038">hyperlinks, disabling</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> +<li><a href="#index-hyperlinks_002c-disabling-952">hyperlinks, disabling</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-hyperlinks_002c-equations-634">hyperlinks, equations</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-explicit-557">hyperlinks, explicit</a>: <a href="#Explicit-hyperlinks">Explicit hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-explicit_002c-demo-1268">hyperlinks, explicit, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hyperlinks_002c-filtering-index-entries-665">hyperlinks, filtering index entries</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-hyperlinks_002c-footnotes-688">hyperlinks, footnotes</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-group-option-list-1035">hyperlinks, group option list</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-hyperlinks_002c-group-options-1014">hyperlinks, group options</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-hyperlinks_002c-group-options-976">hyperlinks, group options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-hyperlinks_002c-group-options_002c-demo-1274">hyperlinks, group options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hyperlinks_002c-group-type-998">hyperlinks, group type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-hyperlinks_002c-group-type-975">hyperlinks, group type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-hyperlinks_002c-highlight-mode-931">hyperlinks, highlight mode</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlinks_002c-implicit-562">hyperlinks, implicit</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-implicit_002c-demo-1270">hyperlinks, implicit, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-hyperlinks_002c-index-649">hyperlinks, index</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-index-destination-placement-676">hyperlinks, index destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-hyperlinks_002c-index_002c-exact-662">hyperlinks, index, exact</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-hyperlinks_002c-large-operators-1028">hyperlinks, large operators</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-hyperlinks_002c-large-operators-714">hyperlinks, large operators</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-hyperlinks_002c-lists-601">hyperlinks, lists</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-opening-in-a-new-window-934">hyperlinks, opening in a new window</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlinks_002c-page-references-621">hyperlinks, page references</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-preserving-page_002dbreaking-957">hyperlinks, preserving page-breaking</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-hyperlinks_002c-preserving-spacing-955">hyperlinks, preserving spacing</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-hyperlinks_002c-see-and-see-also-index-entries-681">hyperlinks, see and see also index entries</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> +<li><a href="#index-hyperlinks_002c-table-of-contents-702">hyperlinks, table of contents</a>: <a href="#Contents-hyperlinks">Contents hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-to-another-file-880">hyperlinks, to another file</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlinks_002c-to-another-file-762">hyperlinks, to another file</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-871">hyperlinks, <acronym>URL</acronym></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-758">hyperlinks, <acronym>URL</acronym></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-579">hyperlinks, <acronym>URL</acronym></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-hyperlinks_002c-_0040acronym_007bURL_007d-573">hyperlinks, <acronym>URL</acronym></a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-hyperref_002esty-536"><code>hyperref.sty</code></a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> +<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-destination-options-746"><code>hypertex</code>, destination options</a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> +<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-destination-types-738"><code>hypertex</code>, destination types</a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-hyperlink-driver-724"><code>hypertex</code>, hyperlink driver</a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-link-options-772"><code>hypertex</code>, link options</a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> +<li><a href="#index-g_t_0040code_007bhypertex_007d_002c-link-types-750"><code>hypertex</code>, link types</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-hypertext-links-540">hypertext links</a>: <a href="#Hyperlinks">Hyperlinks</a></li> +<li><a href="#index-identifying-numbers-1230">identifying numbers</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-idxuniq-663"><code>idxuniq</code></a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-ignoring-arguments-1194">ignoring arguments</a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-implicit-hyperlinks-561">implicit hyperlinks</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-implicit-hyperlinks_002c-demo-1269">implicit hyperlinks, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-inaccessible-macros-1153">inaccessible macros</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-index-entries-and-ranges-276">index entries and ranges</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-index-entries-containing-braces-289">index entries containing braces</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-index-entries-containing-brackets-293">index entries containing brackets</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-index-entries-with-special-characters-284">index entries with special characters</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-index-entries_0027-page-numbers_002c-modifying-273">index entries' page numbers, modifying</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-index-entries_002c-and-cross_002dreferencing-360">index entries, and cross-referencing</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-index-entries_002c-and-cross_002dreferencing-281">index entries, and cross-referencing</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-index-entries_002c-proofing-295">index entries, proofing</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-index-entries_002c-with-verbatim-text-285">index entries, with verbatim text</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-index-entry-continuations-331">index entry continuations</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-index-entry-formatting-327">index entry formatting</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-index-entry-general-sorting-268">index entry general sorting</a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-index-fonts-320">index fonts</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-index-groupings-337">index groupings</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-index-hyperlink-648">index hyperlink</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-index-typesetting-313">index typesetting</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-index_002c-and-verbatim-text-286">index, and verbatim text</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-index_002c-choosing-destination-placement-675">index, choosing destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-index_002c-destination-placement-673">index, destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-index_002c-exact-hyperlinks-661">index, exact hyperlinks</a>: <a href="#Exact-destinations-for-index-terms">Exact destinations for index terms</a></li> +<li><a href="#index-index_002c-hyperlinks-in-see-and-see-also-entries-682">index, hyperlinks in see and see also entries</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> +<li><a href="#index-index_002c-parsing-page-numbers-668">index, parsing page numbers</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> +<li><a href="#index-index_002c-placement-of-destinations-672">index, placement of destinations</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-index_002c-selecting-destination-placement-674">index, selecting destination placement</a>: <a href="#Choosing-destination-placement">Choosing destination placement</a></li> +<li><a href="#index-index_002c-underlining-page-numbers-1261">index, underlining page numbers</a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-indexes_002c-disabling-249">indexes, disabling</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-indexes_002c-multiple-247">indexes, multiple</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-indexing-239">indexing</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-indexing-and-trailing-spaces-257">indexing and trailing spaces</a>: <a href="#Indexing-terms">Indexing terms</a></li> +<li><a href="#index-indexing-commands-258">indexing commands</a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-indexing-terms-252">indexing terms</a>: <a href="#Indexing-terms">Indexing terms</a></li> +<li><a href="#index-insertion-classes-406">insertion classes</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-inset-hyperlink-border-917">inset hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> <li><a href="#index-installation-14">installation</a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-integers_002c-detecting-1204">integers, detecting</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> -<li><a href="#index-item-labels_002c-changing-145">item labels, changing</a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-iteration-1159">iteration</a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-justification-352">justification</a>: <a href="#Justification">Justification</a></li> -<li><a href="#index-Knuth_002c-Donald-Ervin-1122">Knuth, Donald Ervin</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-integers_002c-detecting-1227">integers, detecting</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-item-labels_002c-changing-154">item labels, changing</a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-iteration-1182">iteration</a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-justification-367">justification</a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-Knuth_002c-Donald-Ervin-1145">Knuth, Donald Ervin</a>: <a href="#Category-codes">Category codes</a></li> <li><a href="#index-Knuth_002c-Donald-Ervin-70">Knuth, Donald Ervin</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-labels-on-items_002c-changing-146">labels on items, changing</a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-labels_002c-characters-valid-in-186">labels, characters valid in</a>: <a href="#Cross_002dreferences">Cross-references</a></li> -<li><a href="#index-labels_002c-empty-equation-207">labels, empty equation</a>: <a href="#Equation-references">Equation references</a></li> -<li><a href="#index-labels_002c-empty-equation_002c-referring-to-210">labels, empty equation, referring to</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-labels-on-items_002c-changing-155">labels on items, changing</a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-labels_002c-characters-valid-in-199">labels, characters valid in</a>: <a href="#Cross_002dreferences">Cross-references</a></li> +<li><a href="#index-labels_002c-empty-equation-221">labels, empty equation</a>: <a href="#Equation-references">Equation references</a></li> +<li><a href="#index-labels_002c-empty-equation_002c-referring-to-224">labels, empty equation, referring to</a>: <a href="#Equation-references">Equation references</a></li> <li><a href="#index-Lamport_002c-Leslie-4">Lamport, Leslie</a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-LAMS_0040TeX_007b_007d-418">LAMSTeX</a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-Lang_002c-Serge-1099">Lang, Serge</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-Lang_002c-Serge-1076">Lang, Serge</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-large-operators-and-hyperlinks-1004">large operators and hyperlinks</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-large-operators-and-hyperlinks-690">large operators and hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-1025">LaTeX</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-420">LaTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-LAMS_0040TeX_007b_007d-437">LAMSTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-Lang_002c-Serge-1122">Lang, Serge</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-Lang_002c-Serge-1099">Lang, Serge</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-large-operators-and-hyperlinks-1027">large operators and hyperlinks</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-large-operators-and-hyperlinks-713">large operators and hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-1048">LaTeX</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-439">LaTeX</a>: <a href="#Logos">Logos</a></li> <li><a href="#index-g_t_0040LaTeX_007b_007d-57">LaTeX</a>: <a href="#Citations">Citations</a></li> <li><a href="#index-g_t_0040LaTeX_007b_007d-3">LaTeX</a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection-940">LaTeX graphics collection</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection-471">LaTeX graphics collection</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection-448">LaTeX graphics collection</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection_002c-demo-1266">LaTeX graphics collection, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-packages-511">LaTeX packages</a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-packages-461">LaTeX packages</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-packages-443">LaTeX packages</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-g_t_0040LaTeX_007b_007d-packages_002c-restoring-_0040code_007b_005cinput_007d-456">LaTeX packages, restoring <code>\input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-left_002djustification-350">left-justification</a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection-963">LaTeX graphics collection</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection-494">LaTeX graphics collection</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection-471">LaTeX graphics collection</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-graphics-collection_002c-demo-1289">LaTeX graphics collection, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-packages-534">LaTeX packages</a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-packages-484">LaTeX packages</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-packages-466">LaTeX packages</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-g_t_0040LaTeX_007b_007d-packages_002c-restoring-_0040code_007b_005cinput_007d-479">LaTeX packages, restoring <code>\input</code></a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-left_002dalignment-of-equation-numbers-98">left-alignment of equation numbers</a>: <a href="#Displays">Displays</a></li> +<li><a href="#index-left_002djustification-365">left-justification</a>: <a href="#Justification">Justification</a></li> <li><a href="#index-left_002djustification-of-displays-96">left-justification of displays</a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-letterspacing-501">letterspacing</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-linear-systems-theory-1087">linear systems theory</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-lines-1027">lines</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> -<li><a href="#index-link-group-540">link group</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-link-options-530">link options</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-link-options_002c-common-693">link options, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-link-options_002c-_0040code_007bdvipdfm_007d-877">link options, <code>dvipdfm</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-link-options_002c-_0040code_007bhypertex_007d-747">link options, <code>hypertex</code></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> -<li><a href="#index-link-options_002c-_0040code_007bpdftex_007d-876">link options, <code>pdftex</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-link-type-527">link type</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-link-types_002c-_0040code_007bdvipdfm_007d-836">link types, <code>dvipdfm</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-link-types_002c-_0040code_007bhypertex_007d-725">link types, <code>hypertex</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-link-types_002c-_0040code_007bpdftex_007d-835">link types, <code>pdftex</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-link_002c-group-options-992">link, group options</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-link_002c-group-options-955">link, group options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-link_002c-group-options_002c-demo-1252">link, group options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-link_002c-group-type-976">link, group type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-link_002c-group-type-954">link, group type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-linkgroup-541">linkgroup</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060cite_0027-570">linkgroup `cite'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060eq_0027-1009">linkgroup `eq'</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-linkgroup-_0060eq_0027-620">linkgroup `eq'</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060foot_0027-668">linkgroup `foot'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060footback_0027-669">linkgroup `footback'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060hrefext_0027-552">linkgroup `hrefext'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060hrefint_0027-548">linkgroup `hrefint'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060idx_0027-628">linkgroup `idx'</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060ref_0027-588">linkgroup `ref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060url_0027-558">linkgroup `url'</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-linkgroup-_0060xref_0027-605">linkgroup `xref'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-linkgroup-options-993">linkgroup options</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-linkgroup-options-957">linkgroup options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-linkgroup-options_002c-demo-1253">linkgroup options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-linkgroup-type-977">linkgroup type</a>: <a href="#Setting-group-types">Setting group types</a></li> -<li><a href="#index-linkgroup-type-956">linkgroup type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> -<li><a href="#index-links_002c-hypertext-516">links, hypertext</a>: <a href="#Hyperlinks">Hyperlinks</a></li> -<li><a href="#index-list-of-figures-181">list of figures</a>: <a href="#Alternative-contents-files">Alternative contents files</a></li> -<li><a href="#index-list-of-tables-182">list of tables</a>: <a href="#Alternative-contents-files">Alternative contents files</a></li> -<li><a href="#index-listing-files-148">listing files</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-listing-files_002c-demo-1279">listing files, demo</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-lists-113">lists</a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-lists_002c-formatting-125">lists, formatting</a>: <a href="#Formatting-lists">Formatting lists</a></li> -<li><a href="#index-lists_002c-hyperlinks-577">lists, hyperlinks</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> -<li><a href="#index-logos-409">logos</a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-lookahead-without-spaces-1211">lookahead without spaces</a>: <a href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a></li> -<li><a href="#index-loops-1160">loops</a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-lscommnt_002etex-1277"><code>lscommnt.tex</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-magnification_002c-hyperlink-destination-804">magnification, hyperlink destination</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-makeindex-631"><code>makeindex</code></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> -<li><a href="#index-makeindex-227"><code>makeindex</code></a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-letterspacing-524">letterspacing</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-linear-systems-theory-1110">linear systems theory</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-lines-1050">lines</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> +<li><a href="#index-link-group-563">link group</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-link-options-553">link options</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-link-options_002c-common-716">link options, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-link-options_002c-_0040code_007bdvipdfm_007d-900">link options, <code>dvipdfm</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-link-options_002c-_0040code_007bhypertex_007d-770">link options, <code>hypertex</code></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> +<li><a href="#index-link-options_002c-_0040code_007bpdftex_007d-899">link options, <code>pdftex</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-link-type-550">link type</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-link-types_002c-_0040code_007bdvipdfm_007d-859">link types, <code>dvipdfm</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-link-types_002c-_0040code_007bhypertex_007d-748">link types, <code>hypertex</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-link-types_002c-_0040code_007bpdftex_007d-858">link types, <code>pdftex</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-link_002c-group-options-1015">link, group options</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-link_002c-group-options-978">link, group options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-link_002c-group-options_002c-demo-1275">link, group options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-link_002c-group-type-999">link, group type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-link_002c-group-type-977">link, group type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-linkgroup-564">linkgroup</a>: <a href="#Implicit-hyperlinks">Implicit hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060cite_0027-593">linkgroup `cite'</a>: <a href="#Citation-hyperlinks">Citation hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060eq_0027-1032">linkgroup `eq'</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-linkgroup-_0060eq_0027-643">linkgroup `eq'</a>: <a href="#Equation-reference-hyperlinks">Equation reference hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060foot_0027-691">linkgroup `foot'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060footback_0027-692">linkgroup `footback'</a>: <a href="#Footnote-hyperlinks">Footnote hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060hrefext_0027-575">linkgroup `hrefext'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060hrefint_0027-571">linkgroup `hrefint'</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060idx_0027-651">linkgroup `idx'</a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060ref_0027-611">linkgroup `ref'</a>: <a href="#Cross_002dreference-hyperlinks">Cross-reference hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060url_0027-581">linkgroup `url'</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-linkgroup-_0060xref_0027-628">linkgroup `xref'</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-linkgroup-options-1016">linkgroup options</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-linkgroup-options-980">linkgroup options</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-linkgroup-options_002c-demo-1276">linkgroup options, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-linkgroup-type-1000">linkgroup type</a>: <a href="#Setting-group-types">Setting group types</a></li> +<li><a href="#index-linkgroup-type-979">linkgroup type</a>: <a href="#Setting-hyperlink-types-and-options">Setting hyperlink types and options</a></li> +<li><a href="#index-links_002c-hypertext-539">links, hypertext</a>: <a href="#Hyperlinks">Hyperlinks</a></li> +<li><a href="#index-list-of-figures-194">list of figures</a>: <a href="#Alternative-contents-files">Alternative contents files</a></li> +<li><a href="#index-list-of-tables-195">list of tables</a>: <a href="#Alternative-contents-files">Alternative contents files</a></li> +<li><a href="#index-listing-files-157">listing files</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-listing-files_002c-demo-1302">listing files, demo</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-lists-122">lists</a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-lists_002c-formatting-134">lists, formatting</a>: <a href="#Formatting-lists">Formatting lists</a></li> +<li><a href="#index-lists_002c-hyperlinks-600">lists, hyperlinks</a>: <a href="#List-hyperlinks">List hyperlinks</a></li> +<li><a href="#index-logos-424">logos</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-lookahead-without-spaces-1234">lookahead without spaces</a>: <a href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a></li> +<li><a href="#index-loops-1183">loops</a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-lscommnt_002etex-1300"><code>lscommnt.tex</code></a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-magnification_002c-hyperlink-destination-827">magnification, hyperlink destination</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-makeindex-654"><code>makeindex</code></a>: <a href="#Index-hyperlinks">Index hyperlinks</a></li> +<li><a href="#index-makeindex-242"><code>makeindex</code></a>: <a href="#Indexing">Indexing</a></li> <li><a href="#index-makeindex-34"><code>makeindex</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> -<li><a href="#index-margins_002c-changing-361">margins, changing</a>: <a href="#Margins">Margins</a></li> -<li><a href="#index-margins_002c-index-terms-in-281">margins, index terms in</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-margins_002c-changing-376">margins, changing</a>: <a href="#Margins">Margins</a></li> +<li><a href="#index-margins_002c-index-terms-in-296">margins, index terms in</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> <li><a href="#index-mathematics-displays_002c-formatting-95">mathematics displays, formatting</a>: <a href="#Displays">Displays</a></li> -<li><a href="#index-mathematics-displays_002c-hyperlinks-1002">mathematics displays, hyperlinks</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-mathematics-displays_002c-hyperlinks-688">mathematics displays, hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-Metafont-422">Metafont</a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-miniltx_002etex-449"><code>miniltx.tex</code></a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-minimal-realizations-1086">minimal realizations</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-modifying-index-entries_0027-page-numbers-257">modifying index entries' page numbers</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-morphisms-1031">morphisms</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-multiple-column-output-376">multiple column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-multiple-indexes-231">multiple indexes</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-named-destination-842">named destination</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-named-destination-729">named destination</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-names_002c-of-_0040TeX_007b_007d-variants-410">names, of TeX variants</a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-new-window_002c-opening-hyperlink-in-912">new window, opening hyperlink in</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-mathematics-displays_002c-hyperlinks-1025">mathematics displays, hyperlinks</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-mathematics-displays_002c-hyperlinks-711">mathematics displays, hyperlinks</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-Metafont-441">Metafont</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-miniltx_002etex-472"><code>miniltx.tex</code></a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-minimal-realizations-1109">minimal realizations</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-modifying-index-entries_0027-page-numbers-272">modifying index entries' page numbers</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-morphisms-1054">morphisms</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-multiple-column-output-391">multiple column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-multiple-indexes-246">multiple indexes</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-named-destination-865">named destination</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-named-destination-752">named destination</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-names_002c-of-_0040TeX_007b_007d-variants-425">names, of TeX variants</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-new-window_002c-opening-hyperlink-in-935">new window, opening hyperlink in</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> <li><a href="#index-newlinechar-46">newlinechar</a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-newlines_002c-obeying-1216">newlines, obeying</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> -<li><a href="#index-g_t_0040code_007bnolinks_007d_002c-hyperlink-driver-924"><code>nolinks</code>, hyperlink driver</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-numbered-destination-873">numbered destination</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-numbered-lists-114">numbered lists</a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-newlines_002c-obeying-1239">newlines, obeying</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> +<li><a href="#index-g_t_0040code_007bnolinks_007d_002c-hyperlink-driver-947"><code>nolinks</code>, hyperlink driver</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-numbered-destination-896">numbered destination</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-numbered-lists-123">numbered lists</a>: <a href="#Lists">Lists</a></li> <li><a href="#index-numbered-references-72">numbered references</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-numbers_002c-detecting-1205">numbers, detecting</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> -<li><a href="#index-numbers_002c-written-form-of-1220">numbers, written form of</a>: <a href="#Writing-out-numbers">Writing out numbers</a></li> -<li><a href="#index-Oberdiek_002c-Heiko-442">Oberdiek, Heiko</a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-omitting-hyperlinks-1013">omitting hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> -<li><a href="#index-omitting-hyperlinks-927">omitting hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-omitting-typesetting-of-graphics-482">omitting typesetting of graphics</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-open-boxes-430">open boxes</a>: <a href="#Boxes">Boxes</a></li> -<li><a href="#index-option-list_002c-group-1010">option list, group</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-option-list_002c-preserving-for-group-1000">option list, preserving for group</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-options_002c-destination_002c-common-682">options, destination, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-options_002c-destination_002c-_0040code_007bdvipdfm_007d-797">options, destination, <code>dvipdfm</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-options_002c-destination_002c-_0040code_007bhypertex_007d-722">options, destination, <code>hypertex</code></a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> -<li><a href="#index-options_002c-destination_002c-_0040code_007bpdftex_007d-796">options, destination, <code>pdftex</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-options_002c-link-and-destination-532">options, link and destination</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-options_002c-link_002c-common-694">options, link, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-options_002c-link_002c-_0040code_007bdvipdfm_007d-879">options, link, <code>dvipdfm</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-options_002c-link_002c-_0040code_007bhypertex_007d-748">options, link, <code>hypertex</code></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> -<li><a href="#index-options_002c-link_002c-_0040code_007bpdftex_007d-878">options, link, <code>pdftex</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-ordered-list-115">ordered list</a>: <a href="#Lists">Lists</a></li> -<li><a href="#index-output-routine-and-index-proofing-296">output routine and index proofing</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-overstriking-505">overstriking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-packages_002c-_0040LaTeX_007b_007d-512">packages, LaTeX</a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> -<li><a href="#index-packages_002c-_0040LaTeX_007b_007d-462">packages, LaTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-packages_002c-_0040LaTeX_007b_007d-444">packages, LaTeX</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-page-destination-850">page destination</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-page-list_002c-parsing-647">page list, parsing</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> -<li><a href="#index-page-range_002c-parsing-646">page range, parsing</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> -<li><a href="#index-page-reference-hyperlink-597">page reference hyperlink</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> -<li><a href="#index-page_002dbreaking_002c-preserving-with-hyperlinks-933">page-breaking, preserving with hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-parsing-page-numbers-648">parsing page numbers</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> +<li><a href="#index-numbers_002c-detecting-1228">numbers, detecting</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-numbers_002c-written-form-of-1243">numbers, written form of</a>: <a href="#Writing-out-numbers">Writing out numbers</a></li> +<li><a href="#index-Oberdiek_002c-Heiko-465">Oberdiek, Heiko</a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-omitting-hyperlinks-1036">omitting hyperlinks</a>: <a href="#Turning-hyperlinks-on_002foff">Turning hyperlinks on/off</a></li> +<li><a href="#index-omitting-hyperlinks-950">omitting hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-omitting-typesetting-of-graphics-505">omitting typesetting of graphics</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-open-boxes-453">open boxes</a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-option-list_002c-group-1033">option list, group</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-option-list_002c-preserving-for-group-1023">option list, preserving for group</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-options_002c-destination_002c-common-705">options, destination, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-options_002c-destination_002c-_0040code_007bdvipdfm_007d-820">options, destination, <code>dvipdfm</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-options_002c-destination_002c-_0040code_007bhypertex_007d-745">options, destination, <code>hypertex</code></a>: <a href="#Destination-options-for-hypertex">Destination options for hypertex</a></li> +<li><a href="#index-options_002c-destination_002c-_0040code_007bpdftex_007d-819">options, destination, <code>pdftex</code></a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-options_002c-link-and-destination-555">options, link and destination</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-options_002c-link_002c-common-717">options, link, common</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-options_002c-link_002c-_0040code_007bdvipdfm_007d-902">options, link, <code>dvipdfm</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-options_002c-link_002c-_0040code_007bhypertex_007d-771">options, link, <code>hypertex</code></a>: <a href="#Link-options-for-hypertex">Link options for hypertex</a></li> +<li><a href="#index-options_002c-link_002c-_0040code_007bpdftex_007d-901">options, link, <code>pdftex</code></a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-ordered-list-124">ordered list</a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-output-routine-and-index-proofing-311">output routine and index proofing</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-overstriking-528">overstriking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-packages_002c-_0040LaTeX_007b_007d-535">packages, LaTeX</a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> +<li><a href="#index-packages_002c-_0040LaTeX_007b_007d-485">packages, LaTeX</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-packages_002c-_0040LaTeX_007b_007d-467">packages, LaTeX</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-page-destination-873">page destination</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-page-list_002c-parsing-670">page list, parsing</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> +<li><a href="#index-page-range_002c-parsing-669">page range, parsing</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> +<li><a href="#index-page-reference-hyperlink-620">page reference hyperlink</a>: <a href="#Page-reference-hyperlinks">Page reference hyperlinks</a></li> +<li><a href="#index-page_002dbreaking_002c-preserving-with-hyperlinks-956">page-breaking, preserving with hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-parsing-page-numbers-671">parsing page numbers</a>: <a href="#Page-destinations-for-index-terms">Page destinations for index terms</a></li> <li><a href="#index-Patashnik_002c-Oren-56">Patashnik, Oren</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-pathnames_002c-breaking-508">pathnames, breaking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-pathnames_002c-breaking-402">pathnames, breaking</a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-g_t_0040acronym_007bPDF_007d-493"><acronym>PDF</acronym></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-g_t_0040acronym_007bPDF_007d-output-436"><acronym>PDF</acronym> output</a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-pdftex-523"><code>pdftex</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-pdftex-437"><code>pdftex</code></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-pathnames_002c-breaking-531">pathnames, breaking</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-pathnames_002c-breaking-417">pathnames, breaking</a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-g_t_0040acronym_007bPDF_007d-516"><acronym>PDF</acronym></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-g_t_0040acronym_007bPDF_007d-output-459"><acronym>PDF</acronym> output</a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-pdftex-546"><code>pdftex</code></a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-pdftex-460"><code>pdftex</code></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> <li><a href="#index-pdftex-35"><code>pdftex</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> -<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-destination-options-798"><code>pdftex</code>, destination options</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-destination-types-765"><code>pdftex</code>, destination types</a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-hyperlink-driver-755"><code>pdftex</code>, hyperlink driver</a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-link-options-880"><code>pdftex</code>, link options</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-link-types-839"><code>pdftex</code>, link types</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-pdf_0040TeX_007b_007d_002c-problems-using-color-and-graphics-477">pdfTeX, problems using color and graphics</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-pdf_0040TeX_007b_007d_002c-problems-with-_0040file_007bsupp_002dmis_002etex_007d-478">pdfTeX, problems with <samp><span class="file">supp-mis.tex</span></samp></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-pict2e_002esty-514"><code>pict2e.sty</code></a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> -<li><a href="#index-picture-mode-1026">picture mode</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> -<li><a href="#index-picture-mode-464">picture mode</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-Portable-Document-Format-492">Portable Document Format</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-PostScript-point-904">PostScript point</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-PostScript-point-818">PostScript point</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> -<li><a href="#index-PostScript-point-789">PostScript point</a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-proofing-index-terms-279">proofing index terms</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> -<li><a href="#index-properties-1190">properties</a>: <a href="#Properties">Properties</a></li> -<li><a href="#index-ps2pdf-708"><code>ps2pdf</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> -<li><a href="#index-psfrag_002esty-496"><code>psfrag.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-quadruple-column-output-375">quadruple column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-Rahtz_002c-Sebastian-451">Rahtz, Sebastian</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> -<li><a href="#index-raising-hyperlink-destinations-1007">raising hyperlink destinations</a>: <a href="#Setting-group-options">Setting group options</a></li> -<li><a href="#index-raising-hyperlink-destinations-684">raising hyperlink destinations</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> -<li><a href="#index-ranges-and-index-entry-262">ranges and index entry</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-recognizing-numbers-1208">recognizing numbers</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> -<li><a href="#index-rectangles-428">rectangles</a>: <a href="#Boxes">Boxes</a></li> +<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-destination-options-821"><code>pdftex</code>, destination options</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-destination-types-788"><code>pdftex</code>, destination types</a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-hyperlink-driver-778"><code>pdftex</code>, hyperlink driver</a>: <a href="#Hyperlink-drivers-pdftex-and-dvipdfm">Hyperlink drivers pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-link-options-903"><code>pdftex</code>, link options</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040code_007bpdftex_007d_002c-link-types-862"><code>pdftex</code>, link types</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-pdf_0040TeX_007b_007d_002c-problems-using-color-and-graphics-500">pdfTeX, problems using color and graphics</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-pdf_0040TeX_007b_007d_002c-problems-with-_0040file_007bsupp_002dmis_002etex_007d-501">pdfTeX, problems with <samp><span class="file">supp-mis.tex</span></samp></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-pict2e_002esty-537"><code>pict2e.sty</code></a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> +<li><a href="#index-picture-mode-1049">picture mode</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> +<li><a href="#index-picture-mode-487">picture mode</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-Portable-Document-Format-515">Portable Document Format</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-PostScript-point-927">PostScript point</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-PostScript-point-841">PostScript point</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-PostScript-point-812">PostScript point</a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-proofing-index-terms-294">proofing index terms</a>: <a href="#Proofing-index-terms">Proofing index terms</a></li> +<li><a href="#index-properties-1213">properties</a>: <a href="#Properties">Properties</a></li> +<li><a href="#index-ps2pdf-731"><code>ps2pdf</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-psfrag_002esty-519"><code>psfrag.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-quadruple-column-output-390">quadruple column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-Rahtz_002c-Sebastian-474">Rahtz, Sebastian</a>: <a href="#Loading-LaTeX-packages">Loading LaTeX packages</a></li> +<li><a href="#index-raising-hyperlink-destinations-1030">raising hyperlink destinations</a>: <a href="#Setting-group-options">Setting group options</a></li> +<li><a href="#index-raising-hyperlink-destinations-707">raising hyperlink destinations</a>: <a href="#Options-supported-by-all-drivers">Options supported by all drivers</a></li> +<li><a href="#index-ranges-and-index-entry-277">ranges and index entry</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-recognizing-numbers-1231">recognizing numbers</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-rectangles-451">rectangles</a>: <a href="#Boxes">Boxes</a></li> <li><a href="#index-references_002c-alphanumeric-76">references, alphanumeric</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-references_002c-defining-general-192">references, defining general</a>: <a href="#Using-generic-references">Using generic references</a></li> -<li><a href="#index-references_002c-defining-general-188">references, defining general</a>: <a href="#Defining-generic-references">Defining generic references</a></li> +<li><a href="#index-references_002c-defining-general-205">references, defining general</a>: <a href="#Using-generic-references">Using generic references</a></li> +<li><a href="#index-references_002c-defining-general-201">references, defining general</a>: <a href="#Defining-generic-references">Defining generic references</a></li> <li><a href="#index-references_002c-numbered-73">references, numbered</a>: <a href="#Citations">Citations</a></li> -<li><a href="#index-register-allocation-1142">register allocation</a>: <a href="#Allocation-macros">Allocation macros</a></li> -<li><a href="#index-restoring-_0040code_007b_005cinput_007d_002c-_0040LaTeX_007b_007d-packages-457">restoring <code>\input</code>, LaTeX packages</a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> -<li><a href="#index-return-character-1136">return character</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-right_002djustification-351">right-justification</a>: <a href="#Justification">Justification</a></li> +<li><a href="#index-register-allocation-1165">register allocation</a>: <a href="#Allocation-macros">Allocation macros</a></li> +<li><a href="#index-restoring-_0040code_007b_005cinput_007d_002c-_0040LaTeX_007b_007d-packages-480">restoring <code>\input</code>, LaTeX packages</a>: <a href="#Environment-for-loading-packages">Environment for loading packages</a></li> +<li><a href="#index-return-character-1159">return character</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-right_002djustification-366">right-justification</a>: <a href="#Justification">Justification</a></li> <li><a href="#index-rms-7">rms</a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-rotation-473">rotation</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-rotation_002c-demo-1268">rotation, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-rotation-496">rotation</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-rotation_002c-demo-1291">rotation, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> <li><a href="#index-rule-thickness-47">rule thickness</a>: <a href="#Rules">Rules</a></li> -<li><a href="#index-g_t_0040samp_007brun_003a_007d-links-554">`<samp><span class="samp">run:</span></samp>' links</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-scaling-474">scaling</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-scaling_002c-demo-1269">scaling, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-sed-347"><code>sed</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-see-also-index-entries-and-hyperlinks-660">see also index entries and hyperlinks</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> -<li><a href="#index-see-also-index-entries-and-sorting-336">see also index entries and sorting</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-see_002c-and-index-entries-343">see, and index entries</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-see_002c-and-index-entries-264">see, and index entries</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> -<li><a href="#index-see_002c-and-index-entries_002c-hyperlinks-661">see, and index entries, hyperlinks</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> -<li><a href="#index-silent-indexing-238">silent indexing</a>: <a href="#Indexing-terms">Indexing terms</a></li> -<li><a href="#index-skipping-tokens-1202">skipping tokens</a>: <a href="#g_t_005cifempty">\ifempty</a></li> -<li><a href="#index-skipping-tokens-1197">skipping tokens</a>: <a href="#g_t_005cifundefined">\ifundefined</a></li> -<li><a href="#index-SLi_0040TeX_007b_007d-424">SLiTeX</a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-Snake-Lemma-1077">Snake Lemma</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> -<li><a href="#index-solid-hyperlink-border-891">solid hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-sorting-an-index-225">sorting an index</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-sorting-of-index-entries-254">sorting of index entries</a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-soul_002esty-500"><code>soul.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-space-above-index-entries-314">space above index entries</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-spaces_002c-ignoring-1212">spaces, ignoring</a>: <a href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a></li> -<li><a href="#index-spaces_002c-obeying-1215">spaces, obeying</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> -<li><a href="#index-spaces_002c-trailing-and-indexing-commands-241">spaces, trailing and indexing commands</a>: <a href="#Indexing-terms">Indexing terms</a></li> -<li><a href="#index-spacing-out-502">spacing out</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-spacing_002c-preserving-with-hyperlinks-931">spacing, preserving with hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-special-characters_002c-in-index-entries-268">special characters, in index entries</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-special-characters_002c-in-table-of-contents-172">special characters, in table of contents</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-g_t_0040samp_007brun_003a_007d-links-577">‘<samp><span class="samp">run:</span></samp>’ links</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-scaling-497">scaling</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-scaling_002c-demo-1292">scaling, demo</a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-sed-362"><code>sed</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-see-also-index-entries-and-hyperlinks-683">see also index entries and hyperlinks</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> +<li><a href="#index-see-also-index-entries-and-sorting-351">see also index entries and sorting</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-see_002c-and-index-entries-358">see, and index entries</a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-see_002c-and-index-entries-279">see, and index entries</a>: <a href="#Modifying-index-entries">Modifying index entries</a></li> +<li><a href="#index-see_002c-and-index-entries_002c-hyperlinks-684">see, and index entries, hyperlinks</a>: <a href="#Hyperlinks-in-see-and-see-also-entries">Hyperlinks in see and see also entries</a></li> +<li><a href="#index-silent-indexing-253">silent indexing</a>: <a href="#Indexing-terms">Indexing terms</a></li> +<li><a href="#index-skipping-tokens-1225">skipping tokens</a>: <a href="#g_t_005cifempty">\ifempty</a></li> +<li><a href="#index-skipping-tokens-1220">skipping tokens</a>: <a href="#g_t_005cifundefined">\ifundefined</a></li> +<li><a href="#index-SLi_0040TeX_007b_007d-443">SLiTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-Snake-Lemma-1100">Snake Lemma</a>: <a href="#Arrows-and-morphisms">Arrows and morphisms</a></li> +<li><a href="#index-solid-hyperlink-border-914">solid hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-sorting-an-index-240">sorting an index</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-sorting-of-index-entries-269">sorting of index entries</a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-soul_002esty-523"><code>soul.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-space-above-index-entries-329">space above index entries</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-spaces_002c-ignoring-1235">spaces, ignoring</a>: <a href="#g_t_005cfuturenonspacelet">\futurenonspacelet</a></li> +<li><a href="#index-spaces_002c-obeying-1238">spaces, obeying</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> +<li><a href="#index-spaces_002c-trailing-and-indexing-commands-256">spaces, trailing and indexing commands</a>: <a href="#Indexing-terms">Indexing terms</a></li> +<li><a href="#index-spacing-out-525">spacing out</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-spacing_002c-preserving-with-hyperlinks-954">spacing, preserving with hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-special-characters-171">special characters</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-special-characters_002c-in-index-entries-283">special characters, in index entries</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-special-characters_002c-in-table-of-contents-185">special characters, in table of contents</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> <li><a href="#index-Stallman_002c-Richard-6">Stallman, Richard</a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-striking-out-504">striking out</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-style_002c-hyperlink-border-897">style, hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-subequations_002c-referring-to-219">subequations, referring to</a>: <a href="#Subequation-references">Subequation references</a></li> -<li><a href="#index-subterm-in-indexing-239">subterm in indexing</a>: <a href="#Indexing-terms">Indexing terms</a></li> -<li><a href="#index-supp_002dmis_002etex_0040r_007b_002c-problems-with-pdf_0040TeX_007b_007d_007d-480"><code>supp-mis.tex</code><span class="roman">, problems with pdfTeX</span></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-supp_002dpdf_002etex-481"><code>supp-pdf.tex</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-table-of-contents-162">table of contents</a>: <a href="#Contents">Contents</a></li> -<li><a href="#index-table-of-contents_002c-and-verbatim-text-169">table of contents, and verbatim text</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> -<li><a href="#index-table-of-contents_002c-hyperlinks-677">table of contents, hyperlinks</a>: <a href="#Contents-hyperlinks">Contents hyperlinks</a></li> -<li><a href="#index-table-of-contents_002c-short-1175">table of contents, short</a>: <a href="#Macro-arguments">Macro arguments</a></li> -<li><a href="#index-table-of-contents_002c-short-175">table of contents, short</a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> -<li><a href="#index-tables-357">tables</a>: <a href="#Tables">Tables</a></li> -<li><a href="#index-tabs-1219">tabs</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> -<li><a href="#index-g_t_0040i_007b_0040TeX_007b_007d-by-Topic_007d-1169"><i>TeX by Topic</i></a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-g_t_0040TeX_007b_007d-Frequently-Asked-Question-1210">TeX Frequently Asked Question</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> +<li><a href="#index-striking-out-527">striking out</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-style_002c-hyperlink-border-920">style, hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-subequations_002c-referring-to-234">subequations, referring to</a>: <a href="#Subequation-references">Subequation references</a></li> +<li><a href="#index-subterm-in-indexing-254">subterm in indexing</a>: <a href="#Indexing-terms">Indexing terms</a></li> +<li><a href="#index-supp_002dmis_002etex_0040r_007b_002c-problems-with-pdf_0040TeX_007b_007d_007d-503"><code>supp-mis.tex</code><span class="roman">, problems with pdfTeX</span></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-supp_002dpdf_002etex-504"><code>supp-pdf.tex</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-table-of-contents-175">table of contents</a>: <a href="#Contents">Contents</a></li> +<li><a href="#index-table-of-contents_002c-and-verbatim-text-182">table of contents, and verbatim text</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-table-of-contents_002c-hyperlinks-700">table of contents, hyperlinks</a>: <a href="#Contents-hyperlinks">Contents hyperlinks</a></li> +<li><a href="#index-table-of-contents_002c-short-1198">table of contents, short</a>: <a href="#Macro-arguments">Macro arguments</a></li> +<li><a href="#index-table-of-contents_002c-short-188">table of contents, short</a>: <a href="#Reading-the-_002etoc-file">Reading the .toc file</a></li> +<li><a href="#index-tables-372">tables</a>: <a href="#Tables">Tables</a></li> +<li><a href="#index-tabs-1242">tabs</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> +<li><a href="#index-g_t_0040i_007b_0040TeX_007b_007d-by-Topic_007d-1192"><i>TeX by Topic</i></a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-g_t_0040TeX_007b_007d-Frequently-Asked-Question-1233">TeX Frequently Asked Question</a>: <a href="#g_t_005cifinteger-and-_005cisinteger">\ifinteger and \isinteger</a></li> <li><a href="#index-TEXFORMATS-23"><code>TEXFORMATS</code></a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-texi2dvi-230"><code>texi2dvi</code></a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-texi2dvi-245"><code>texi2dvi</code></a>: <a href="#Indexing">Indexing</a></li> <li><a href="#index-texi2dvi-74"><code>texi2dvi</code></a>: <a href="#Citations">Citations</a></li> <li><a href="#index-texi2dvi-32"><code>texi2dvi</code></a>: <a href="#Invoking-Eplain">Invoking Eplain</a></li> <li><a href="#index-Texinfo-5">Texinfo</a>: <a href="#Introduction">Introduction</a></li> <li><a href="#index-TEXINPUTS-17"><code>TEXINPUTS</code></a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-time-of-day-106">time of day</a>: <a href="#Time-of-day">Time of day</a></li> -<li><a href="#index-g_t_0040code_007btoc_007d-files_002c-writing-several-180"><code>toc</code> files, writing several</a>: <a href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a></li> +<li><a href="#index-time-of-day-115">time of day</a>: <a href="#Time-of-day">Time of day</a></li> +<li><a href="#index-g_t_0040code_007btoc_007d-files_002c-writing-several-193"><code>toc</code> files, writing several</a>: <a href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a></li> <li><a href="#index-tracing-37">tracing</a>: <a href="#Diagnostics">Diagnostics</a></li> -<li><a href="#index-trailing-spaces-and-indexing-commands-240">trailing spaces and indexing commands</a>: <a href="#Indexing-terms">Indexing terms</a></li> -<li><a href="#index-trimsee-348"><code>trimsee</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> -<li><a href="#index-triple-column-output-374">triple column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> -<li><a href="#index-Tu_002c-Loring-W_002e-1081">Tu, Loring W.</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-trailing-spaces-and-indexing-commands-255">trailing spaces and indexing commands</a>: <a href="#Indexing-terms">Indexing terms</a></li> +<li><a href="#index-trimsee-363"><code>trimsee</code></a>: <a href="#Customizing-indexing">Customizing indexing</a></li> +<li><a href="#index-triple-column-output-389">triple column output</a>: <a href="#Multiple-columns">Multiple columns</a></li> +<li><a href="#index-Tu_002c-Loring-W_002e-1104">Tu, Loring W.</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> <li><a href="#index-g_t_0040i_007bTUGboat_007d-12"><i>TUGboat</i></a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-type_002c-link-and-destination-529">type, link and destination</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> -<li><a href="#index-types_002c-destination_002c-_0040code_007bdvipdfm_007d-764">types, destination, <code>dvipdfm</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-types_002c-destination_002c-_0040code_007bhypertex_007d-714">types, destination, <code>hypertex</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> -<li><a href="#index-types_002c-destination_002c-_0040code_007bpdftex_007d-763">types, destination, <code>pdftex</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> -<li><a href="#index-types_002c-link_002c-_0040code_007bdvipdfm_007d-838">types, link, <code>dvipdfm</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-types_002c-link_002c-_0040code_007bhypertex_007d-726">types, link, <code>hypertex</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-types_002c-link_002c-_0040code_007bpdftex_007d-837">types, link, <code>pdftex</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-typesetting-an-index-297">typesetting an index</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> -<li><a href="#index-undefined-control-sequence_002c-checking-for-1198">undefined control sequence, checking for</a>: <a href="#g_t_005cifundefined">\ifundefined</a></li> +<li><a href="#index-type_002c-link-and-destination-552">type, link and destination</a>: <a href="#Introduction-to-hyperlinks">Introduction to hyperlinks</a></li> +<li><a href="#index-types_002c-destination_002c-_0040code_007bdvipdfm_007d-787">types, destination, <code>dvipdfm</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-types_002c-destination_002c-_0040code_007bhypertex_007d-737">types, destination, <code>hypertex</code></a>: <a href="#Destination-types-for-hypertex">Destination types for hypertex</a></li> +<li><a href="#index-types_002c-destination_002c-_0040code_007bpdftex_007d-786">types, destination, <code>pdftex</code></a>: <a href="#Destination-types-for-pdftex-and-dvipdfm">Destination types for pdftex and dvipdfm</a></li> +<li><a href="#index-types_002c-link_002c-_0040code_007bdvipdfm_007d-861">types, link, <code>dvipdfm</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-types_002c-link_002c-_0040code_007bhypertex_007d-749">types, link, <code>hypertex</code></a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-types_002c-link_002c-_0040code_007bpdftex_007d-860">types, link, <code>pdftex</code></a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-typesetting-an-index-312">typesetting an index</a>: <a href="#Typesetting-an-index">Typesetting an index</a></li> +<li><a href="#index-undefined-control-sequence_002c-checking-for-1221">undefined control sequence, checking for</a>: <a href="#g_t_005cifundefined">\ifundefined</a></li> <li><a href="#index-undefined-labels_002c-warnings-about-22">undefined labels, warnings about</a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-underline-hyperlink-border-895">underline hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-underlining-503">underlining</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-underlining-page-numbers-in-index-1237">underlining page numbers in index</a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> -<li><a href="#index-universal-mapping-property-1084">universal mapping property</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-unordered-lists-116">unordered lists</a>: <a href="#Lists">Lists</a></li> +<li><a href="#index-underline-hyperlink-border-918">underline hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-underlining-526">underlining</a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-underlining-page-numbers-in-index-1260">underlining page numbers in index</a>: <a href="#Page-list-and-page-range-parsers">Page list and page range parsers</a></li> +<li><a href="#index-universal-mapping-property-1107">universal mapping property</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-unordered-lists-125">unordered lists</a>: <a href="#Lists">Lists</a></li> <li><a href="#index-upgrading-16">upgrading</a>: <a href="#Installation">Installation</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-for-_0040file_007bifpdf_002esty_007d-441"><acronym>URL</acronym> for <samp><span class="file">ifpdf.sty</span></samp></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-for-MakeIndex-226"><acronym>URL</acronym> for MakeIndex</a>: <a href="#Indexing">Indexing</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-for-_0040file_007bpath_002esty_007d-408"><acronym>URL</acronym> for <samp><span class="file">path.sty</span></samp></a>: <a href="#Paths">Paths</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-for-pdf_0040TeX_007b_007d-435"><acronym>URL</acronym> for pdfTeX</a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-for-_0040file_007btexnames_002esty_007d-426"><acronym>URL</acronym> for <samp><span class="file">texnames.sty</span></samp></a>: <a href="#Logos">Logos</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-846"><acronym>URL</acronym> hyperlink</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-733"><acronym>URL</acronym> hyperlink</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-555"><acronym>URL</acronym> hyperlink</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-549"><acronym>URL</acronym> hyperlink</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> -<li><a href="#index-url_002esty-1272"><code>url.sty</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-url_002esty-560"><code>url.sty</code></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> -<li><a href="#index-url_002esty-507"><code>url.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> -<li><a href="#index-user_002dinaccessible-macros-1129">user-inaccessible macros</a>: <a href="#Category-codes">Category codes</a></li> -<li><a href="#index-vectors-1028">vectors</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> -<li><a href="#index-verbatim-listing-147">verbatim listing</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> -<li><a href="#index-verbatim-listing_002c-demo-1278">verbatim listing, demo</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> -<li><a href="#index-verbatim-text_002c-in-index-272">verbatim text, in index</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> -<li><a href="#index-verbatim-text_002c-in-table-of-contents-171">verbatim text, in table of contents</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-for-_0040file_007bifpdf_002esty_007d-464"><acronym>URL</acronym> for <samp><span class="file">ifpdf.sty</span></samp></a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-for-MakeIndex-241"><acronym>URL</acronym> for MakeIndex</a>: <a href="#Indexing">Indexing</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-for-_0040file_007bpath_002esty_007d-423"><acronym>URL</acronym> for <samp><span class="file">path.sty</span></samp></a>: <a href="#Paths">Paths</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-for-pdf_0040TeX_007b_007d-458"><acronym>URL</acronym> for pdfTeX</a>: <a href="#Checking-for-PDF-output">Checking for PDF output</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-for-_0040file_007btexnames_002esty_007d-449"><acronym>URL</acronym> for <samp><span class="file">texnames.sty</span></samp></a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-869"><acronym>URL</acronym> hyperlink</a>: <a href="#Link-types-for-pdftex-and-dvipdfm">Link types for pdftex and dvipdfm</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-756"><acronym>URL</acronym> hyperlink</a>: <a href="#Link-types-for-hypertex">Link types for hypertex</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-578"><acronym>URL</acronym> hyperlink</a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-g_t_0040acronym_007bURL_007d-hyperlink-572"><acronym>URL</acronym> hyperlink</a>: <a href="#General-hyperlinks">General hyperlinks</a></li> +<li><a href="#index-url_002esty-1295"><code>url.sty</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-url_002esty-583"><code>url.sty</code></a>: <a href="#URL-hyperlinks">URL hyperlinks</a></li> +<li><a href="#index-url_002esty-530"><code>url.sty</code></a>: <a href="#Packages-known-to-work">Packages known to work</a></li> +<li><a href="#index-user_002dinaccessible-macros-1152">user-inaccessible macros</a>: <a href="#Category-codes">Category codes</a></li> +<li><a href="#index-vectors-1051">vectors</a>: <a href="#Slanted-lines-and-vectors">Slanted lines and vectors</a></li> +<li><a href="#index-verbatim-listing-156">verbatim listing</a>: <a href="#Verbatim-listing">Verbatim listing</a></li> +<li><a href="#index-verbatim-listing_002c-demo-1301">verbatim listing, demo</a>: <a href="#Highlighting-TeX-comments-in-listings-_0028lscommnt_002etex_0029">Highlighting TeX comments in listings (lscommnt.tex)</a></li> +<li><a href="#index-verbatim-text_002c-in-index-287">verbatim text, in index</a>: <a href="#Index-entries-with-special-characters">Index entries with special characters</a></li> +<li><a href="#index-verbatim-text_002c-in-table-of-contents-184">verbatim text, in table of contents</a>: <a href="#Writing-the-_002etoc-file">Writing the .toc file</a></li> <li><a href="#index-version-number-9">version number</a>: <a href="#Introduction">Introduction</a></li> <li><a href="#index-Walden_002c-David-11">Walden, David</a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-Warner_002c-Frank-W_002e-1083">Warner, Frank W.</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-whatsits-made-by-hyperlinks-937">whatsits made by hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> -<li><a href="#index-whatsits-made-by-index-entries-256">whatsits made by index entries</a>: <a href="#Indexing-commands">Indexing commands</a></li> -<li><a href="#index-while-loops-1162">while loops</a>: <a href="#Iteration">Iteration</a></li> -<li><a href="#index-whitespace-1214">whitespace</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> -<li><a href="#index-width_002c-hyperlink-border-901">width, hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> -<li><a href="#index-writing-several-_0040code_007btoc_007d-files-179">writing several <code>toc</code> files</a>: <a href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a></li> -<li><a href="#index-xcolor_002esty-515"><code>xcolor.sty</code></a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> -<li><a href="#index-xdvi-704"><code>xdvi</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-Warner_002c-Frank-W_002e-1106">Warner, Frank W.</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-whatsits-made-by-hyperlinks-960">whatsits made by hyperlinks</a>: <a href="#Hyperlink-driver-nolinks">Hyperlink driver nolinks</a></li> +<li><a href="#index-whatsits-made-by-index-entries-271">whatsits made by index entries</a>: <a href="#Indexing-commands">Indexing commands</a></li> +<li><a href="#index-while-loops-1185">while loops</a>: <a href="#Iteration">Iteration</a></li> +<li><a href="#index-whitespace-1237">whitespace</a>: <a href="#Obeying-spaces">Obeying spaces</a></li> +<li><a href="#index-width_002c-hyperlink-border-924">width, hyperlink border</a>: <a href="#Link-options-for-pdftex-and-dvipdfm">Link options for pdftex and dvipdfm</a></li> +<li><a href="#index-writing-several-_0040code_007btoc_007d-files-192">writing several <code>toc</code> files</a>: <a href="#Changing-the-_002etoc-file_0027s-root-name">Changing the .toc file's root name</a></li> +<li><a href="#index-xcolor_002esty-538"><code>xcolor.sty</code></a>: <a href="#Packages-known-not-to-work">Packages known not to work</a></li> +<li><a href="#index-xdvi-727"><code>xdvi</code></a>: <a href="#Hyperlink-driver-hypertex">Hyperlink driver hypertex</a></li> +<li><a href="#index-XeLa_0040TeX_007b_007d-445">XeLaTeX</a>: <a href="#Logos">Logos</a></li> <li><a href="#index-xeplain_002etex-2"><code>xeplain.tex</code></a>: <a href="#Introduction">Introduction</a></li> -<li><a href="#index-xhyper_002etex-1242"><code>xhyper.tex</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> -<li><a href="#index-Zassenhaus_002c-Hans-1098">Zassenhaus, Hans</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> -<li><a href="#index-zooming_002c-hyperlink-destination-805">zooming, hyperlink destination</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> +<li><a href="#index-Xe_0040TeX_007b_007d-447">XeTeX</a>: <a href="#Logos">Logos</a></li> +<li><a href="#index-xhyper_002etex-1265"><code>xhyper.tex</code></a>: <a href="#Hyperlinks-_0028xhyper_002etex_0029">Hyperlinks (xhyper.tex)</a></li> +<li><a href="#index-Zassenhaus_002c-Hans-1121">Zassenhaus, Hans</a>: <a href="#Construction-of-commutative-diagrams">Construction of commutative diagrams</a></li> +<li><a href="#index-zooming_002c-hyperlink-destination-828">zooming, hyperlink destination</a>: <a href="#Destination-options-for-pdftex-and-dvipdfm">Destination options for pdftex and dvipdfm</a></li> </ul></body></html> diff --git a/Master/texmf-dist/doc/eplain/doc/eplain.pdf b/Master/texmf-dist/doc/eplain/doc/eplain.pdf Binary files differindex 4add1a858c7..d99a093638a 100644 --- a/Master/texmf-dist/doc/eplain/doc/eplain.pdf +++ b/Master/texmf-dist/doc/eplain/doc/eplain.pdf diff --git a/Master/texmf-dist/doc/eplain/doc/lscommnt.jpg b/Master/texmf-dist/doc/eplain/doc/lscommnt.jpg Binary files differindex 8b4fb5f64ed..0ad895dc00f 100644 --- a/Master/texmf-dist/doc/eplain/doc/lscommnt.jpg +++ b/Master/texmf-dist/doc/eplain/doc/lscommnt.jpg diff --git a/Master/texmf-dist/doc/eplain/doc/xhyper.jpg b/Master/texmf-dist/doc/eplain/doc/xhyper.jpg Binary files differindex 3204a2e7c72..aa797d53dae 100644 --- a/Master/texmf-dist/doc/eplain/doc/xhyper.jpg +++ b/Master/texmf-dist/doc/eplain/doc/xhyper.jpg diff --git a/Master/texmf-dist/doc/eplain/util/idxuniq b/Master/texmf-dist/doc/eplain/util/idxuniq index 6ee7d225f5c..599d9b593cb 100644 --- a/Master/texmf-dist/doc/eplain/util/idxuniq +++ b/Master/texmf-dist/doc/eplain/util/idxuniq @@ -1,26 +1,28 @@ #!/usr/bin/awk -f - +# # (This file is public domain.) - +# +# This file is part of the Eplain macro package. +# # This script filters input lines (which are expected to be a list of # `\indexentry' lines for MakeIndex) eliminating matching lines. The comparison # is done without regard to hyperlink label names (in the form `IDX*', where `*' # stands for a non-negative integer). - +# # This has to be done to avoid terms which differ only in hyperlink label names # embedded into them, because MakeIndex will treat these otherwise identical # terms as distinct, listing more than once a page number for equivalent terms # on the same page. - +# # `stripped' array is indexed by `\indexentry' lines stripped off the hyperlink # label name. For each term, we use its stripped version as a key into the # `stripped' array to increment its element. This records the fact that we have # seen the term with such key. Also, we add the (full) `\indexentry' line to # the `terms' array, but only if we have not yet seen a term with such key. - +# # The idea was borrowed from Edition 3 of `GAWK: Effective AWK Programming: A # User's Guide for GNU Awk', which contains the following credit: - +# # histsort.awk --- compact a shell history file # Thanks to Byron Rakitzis for the general idea diff --git a/Master/texmf-dist/doc/eplain/util/trimsee b/Master/texmf-dist/doc/eplain/util/trimsee index 8af5ebe6434..00459956f47 100644 --- a/Master/texmf-dist/doc/eplain/util/trimsee +++ b/Master/texmf-dist/doc/eplain/util/trimsee @@ -1,6 +1,6 @@ #!/bin/sh - # (This file is public domain.) +# This file is part of the Eplain macro package. help () { @@ -25,7 +25,7 @@ EOF check_missing_arg () { - if (( $1 < 2 )); then + if test "$1" -lt 2; then echo "Missing argument to option '$2'" 1>&2 exit 1 fi diff --git a/Master/texmf-dist/source/eplain/eplain-source-3.2.zip b/Master/texmf-dist/source/eplain/eplain-source-3.2.zip Binary files differdeleted file mode 100644 index 3e960d29fa0..00000000000 --- a/Master/texmf-dist/source/eplain/eplain-source-3.2.zip +++ /dev/null diff --git a/Master/texmf-dist/source/eplain/eplain-source-3.3.zip b/Master/texmf-dist/source/eplain/eplain-source-3.3.zip Binary files differnew file mode 100644 index 00000000000..c7e7e9e4635 --- /dev/null +++ b/Master/texmf-dist/source/eplain/eplain-source-3.3.zip diff --git a/Master/texmf-dist/source/eplain/xeplain.tex b/Master/texmf-dist/source/eplain/xeplain.tex new file mode 100644 index 00000000000..0a3cdb15651 --- /dev/null +++ b/Master/texmf-dist/source/eplain/xeplain.tex @@ -0,0 +1,5529 @@ +% xeplain.tex: macros for nonformatting. Written 1989--94 by (mostly) +% Karl Berry. Some additions/changes 1997--98 by Adam Lewenberg. +% These macros are in the public domain. +% +% This is the ``extended plain'' TeX format that's described in +% `eplain.texinfo', which you should have received with this file. We +% assume plain has been loaded. +% +% N.B.: A version number is defined at the beginning and end of this file; +% please change those numbers whenever the file is modified! +% And it's best to rename the file if you're going to distribute a +% modified version. +% +% Some macros were written and/or suggested by Paul Abrahams. +% Other sources (e.g., The TeXbook) are cited at the appropriate places. +% +%% @texfile{ +%% author = "Karl Berry, Steven Smith, Oleg Katsitadze, and others", +%% version = "REPLACE-WITH-VERSION", +%% date = "REPLACE-WITH-DATE", +%% filename = "xeplain.tex", +%% email = "bug-eplain@tug.org", +%% checksum = "REPLACE-WITH-CHECKSUM", +%% codetable = "ASCII", +%% supported = "yes", +%% docstring = "This file defines macros that extend and expand on +%% plain TeX. eplain.tex is xeplain.tex and the other +%% source files with comments stripped; see the original +%% files for author credits, etc. The original sources +%% can be found in Eplain source zip archive in your TeX +%% distribution, on CTAN or on Eplain's home page at +%% http://tug.org/eplain. And please base diffs or +%% other contributions on xeplain.tex, not the +%% stripped-down eplain.tex.", +%% } +% +% +% Load eplain.tex only once (to avoid using up \new's). +% \eplain is defined at the end of this file, so we can test \eplain to +% detect whether eplain.tex has been loaded already or not. +% +% We use \expandafter because the merge script strips any lines +% with an \endinput. +% +\ifx\eplain\undefined + \let\next\relax +\else + \expandafter\let\expandafter\next\csname endinput\endcsname +\fi +\next +% The ifpdf.sty file included below was written by Heiko Oberdiek. +% See the complete source file (e.g., in this distribution) for +% comments. +%% [[[include ifpdf.sty]]] +% +% +% Category codes, etc. +% +\def\makeactive#1{\catcode`#1 = \active \ignorespaces}% +\chardef\letter = 11 +\chardef\other = 12 +% The following two macros were adopted from miniltx.tex of graphics. +\def\makeatletter{% + \edef\resetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax}% + \catcode`\@11\relax +}% +\def\makeatother{% + \edef\resetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax}% + \catcode`\@12\relax +}% +% +% +% So we can have user-inaccessible control sequences. +% +\edef\leftdisplays{\the\catcode`@}% +\catcode`@ = \letter +\let\@eplainoldatcode = \leftdisplays +% +% Save miniscule amounts of memory and time by writing \toks@ii instead +% of \toks2. +\toksdef\toks@ii = 2 +% +% +% This macro is defined in The TeXbook, but it never made it +% into plain TeX. \dospecials is defined there, though. +% +\def\uncatcodespecials{% + \def\do##1{\catcode`##1 = \other}% + \dospecials +}% +% +% +% Here is a way to do \let^^M = \cs, where the \let need not be global. +{% + \makeactive\^^M % + \long\gdef\letreturn#1{\let^^M = #1}% +}% +% +% +% Swallow parameters, etc. +% +\let\@eattoken = \relax % Define this, so \eattoken can be used in \edef. +\def\eattoken{\let\@eattoken = }% +\def\gobble#1{}% +\def\gobbletwo#1#2{}% +\def\gobblethree#1#2#3{}% +% +% We can't just use \empty as the identity function, since then outer +% braces which would supposedly delimit the argument would define a group. +\def\identity#1{#1}% +% +% True if #1 is the empty string, i.e., called like `\ifempty{}'. +% Use notes: +% So far, \ifempty works in the following cases: +% 1. \ifempty{}\message{empty}\else\message{not empty}\fi --> empty +% 2. \ifempty\undefined\message{empty}\else\message{not empty}\fi --> not empty +% But does NOT work in the case +% 3. \def\empty{} +% \ifempty\empty\message{empty}\else\message{not empty}\fi --> not empty +% Question: When should \ifempty be true? +\def\@emptymarkA{\@emptymarkB} +% The above line suggested by Stanislav Brabec. +\def\ifempty#1{\@@ifempty #1\@emptymarkA\@emptymarkB}% +\def\@@ifempty#1#2\@emptymarkB{\ifx #1\@emptymarkA}% +% +% True if #1 is an integer. From the UK List of TeX Frequently Asked +% Questions, http://www.tex.ac.uk/cgi-bin/texfaq2html. +\def\@gobbleminus#1{\ifx-#1\else#1\fi}% +\def\ifinteger#1{\ifcat_\ifnum9<1\@gobbleminus#1 _\else A\fi}% +% This is a convenience to be used in places where TeX might be +% skipping tokens, e.g., in conditionals. Usage: +% \if\isinteger{<subject of test>}% +% <deal with integer>% +% \else +% <deal with non-integer>% +% \fi +\def\isinteger{TT\fi\ifinteger}% +% +% Turn a definition into the characters that compose it. See +% ``Sanitizing control sequences under \write'', by Ron Whitney, TUGboat +% 11(4), p.620. +\def\@gobblemeaning#1:->{}% +\def\sanitize{\expandafter\@gobblemeaning\meaning}% +% +% +% From p.308 of the TeXbook. This cannot be used in places where TeX +% might be skipping tokens, e.g., in conditionals. +% +\def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}% +% +% +% \csname constructions come up an awful lot, so we save typing with the +% following. (But the extra macro expansion does take time, so we don't +% use these in frequently-executed code.) +% +\def\csn#1{\csname#1\endcsname}% +\def\ece#1#2{\expandafter#1\csname#2\endcsname}% +% +% +% \expandonce{TOKEN} abbreviates \expandafter\noexpand TOKEN. +% +\def\expandonce{\expandafter\noexpand}% +% +% +% Don't show our register allocations in the log. +% +\let\@plainwlog = \wlog +\let\wlog = \gobble +% +% +% Make it convenient to put newlines in error messages. +% +\newlinechar = `^^J +% +% +% Sometimes it is convenient to have everything in the transcript file +% and nothing on the terminal. We don't just call \tracingall here, +% since that produces some useless output on the terminal. +% +\def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}% +\def\loggingall{\tracingcommands\tw@\tracingstats\tw@ + \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne + \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne + \showboxbreadth\maxdimen\showboxdepth\maxdimen +}% +% Show the complete contents of boxes. +% +\def\tracingboxes{\showboxbreadth = \maxdimen \showboxdepth = \maxdimen}% +% +% Don't trace anything, except restore \showbox... to plain's values. +% +\def\gtracingoff{\begingroup \globaldefs = 1 \tracingoff \endgroup}% +\def\tracingoff{\tracingonline\z@\tracingcommands\z@\tracingstats\z@ + \tracingpages\z@\tracingoutput\z@\tracinglostchars\z@ + \tracingmacros\z@\tracingparagraphs\z@\tracingrestores\z@ + \showboxbreadth5 \showboxdepth3 +}% +% +% +% Definitions to produce actual `{' (et al.) characters in an output +% file via \write. We omit the line break after the first }, since we +% have no comment character at that point. +% +\begingroup + \catcode`\{ = 12 \catcode`\} = 12 + \catcode`\[ = 1 \catcode`\] = 2 + \gdef\lbracechar[{]% + \gdef\rbracechar[}]% + \catcode`\% = \other + \gdef\percentchar[%]\endgroup +% +% +% Leave horizontal mode (if we're in it), then insert a penalty. +% And conversely. +% +\def\vpenalty{\ifhmode\par\fi \penalty}% +\def\hpenalty{\ifvmode\leavevmode\fi \penalty}% +% +% +% Make \else usable in \loop. From Victor Eijkhout's TeX by Topic (page +% 104). See also Alois Kabelschacht, TUGboat 8(2), page 184. +% +\def\iterate{% + \let\loop@next\relax + \body + \let\loop@next\iterate + \fi + \loop@next +}% +% +% +% Add #2 (which is expanded in an \edef) to the end of the definition of +% #1 (which must be a previously-defined control sequence). This is a +% way to construct simple lists. +% +\def\edefappend#1#2{% + \toks@ = \expandafter{#1}% + \edef#1{\the\toks@ #2}% +}% +% +% +% \allowhyphens, from TeXbook, p. 395. Allows following & preceding word +% to be hyphenated. +% +\def\allowhyphens{\nobreak\hskip\z@skip}% +% +% +% +% Hooks. +% +% \hookaction{HOOK}{TOKENS} adds TOKENS to the list of actions for +% HOOK. We avoid defining a \toks register for each hook, although +% maybe that isn't so important. +% +% \hookappend and \hookprepend add TOKENS specificially to the end or +% the beginning. When the argument is used, \toks@ will be the previous +% value of the hook, and \toks@ii the new tokens. +% +\long\def\hookprepend{\@hookassign{\the\toks@ii \the\toks@}}% +\long\def\hookappend{\@hookassign{\the\toks@ \the\toks@ii}}% +\let\hookaction = \hookappend % either one should be ok +% +% +% \@hookassign{LAST-DEF}{HOOK}{TOKENS} makes \toks@ the previous value +% of HOOK, and \toks@ii TOKENS, and then assigns the new value using +% LASTDEF. We store the hook in a control sequence \@HOOKhook. +% +\long\def\@hookassign#1#2#3{% + % Make \toks@ be the expansion (to one level) of \@HOOKhook, or empty. + \expandafter\ifx\csname @#2hook\endcsname \relax + % If \@HOOKhook was undefined, let it be empty. + \toks@ = {}% + \else + % Otherwise, expand it to one level. We can't just assign from + % \expandafter{\csname ...} since then the \toks register would + % contain the control sequence, not its definition. + \expandafter\let\expandafter\temp \csname @#2hook\endcsname + \toks@ = \expandafter{\temp}% + \fi + \toks2 = {#3}% Don't expand the argument all the way. + \ece\edef{@#2hook}{#1}% +}% +% +% +% \hookactiononce{HOOK}\CS adds `\global\let\CS=\relax' to the +% definition of \CS, then adds to HOOK. Thus, \CS is expanded the next +% time HOOK is called, but then it goes away. This only works if \CS is +% expandable, though. +% +\long\def\hookactiononce#1#2{% + \edefappend#2{\global\let\noexpand#2\relax} + \hookaction{#1}#2% +}% +% +% +% \hookrun{HOOKNAME} runs whatever actions have been defined for HOOK. +% +\def\hookrun#1{% + \expandafter\ifx\csname @#1hook\endcsname \relax \else + % Isn't this fun? We want to get rid of the \fi before expanding + % the actions, so that they can read what's coming up next. + \def\temp{\csname @#1hook\endcsname}% + \expandafter\temp + \fi +}% +% +% +% +% Properties a la Lisp. +% +% \setproperty{ATOM}{PROPNAME}{VALUE} defines the property PROPNAME on the +% ``atom'' ATOM to have VALUE. +% +\def\setproperty#1#2#3{\ece\edef{#1@p#2}{#3}}% +\def\setpropertyglobal#1#2#3{\ece\xdef{#1@p#2}{#3}}% +% +% +% \getproperty{ATOM}{PROPNAME} expands to the value of the property +% PROPNAME on ATOM, or to nothing (i.e., \empty), if the property isn't +% present. +% +\def\getproperty#1#2{% + \expandafter\ifx\csname#1@p#2\endcsname\relax + % then \empty + \else \csname#1@p#2\endcsname + \fi +}% +% +% +% +% Macros to support BibTeX are in a separate file, btxmac.tex. +% +% (They are maintained separately, too, by Oren Patashnik, +% opbibtex@cs.stanford.edu.) btxmac.tex also defines other macros we +% want to use and make available. +% +% But not all people want to read the BibTeX macros, because of either +% space or time considerations. Therefore, we look for \nobibtex, +% which, if defined, causes btxmac.tex not to be read. But we still +% have to get \tokstostring et al. defined---so eplain.tex contains +% those definitions, automatically edited in from btxmac.tex. All the +% documentation has been removed, so you must read btxmac.tex if you +% want the comments. +% +% +% We want to give a slightly different message than btxmac if no .aux +% file exists (unless the person using us has already define some +% message, possibly empty.) +% +\ifx\@undefinedmessage\@undefined + \def\@undefinedmessage + {No .aux file; I won't warn you about undefined labels.}% +\fi +% +% +% We use a token register to define all the BibTeX definitions, to avoid +% problems with the \if... constructions when they are conditionally +% read. +% +%% [[[here is the first set of common definitions from btxmac]]] +\toks0 = {% + %% [[[here are the BibTeX-specific definitions from btxmac]]] +}% +\ifx\nobibtex\@undefined \the\toks0 \fi +%% [[[here is the second set of common definitions from btxmac]]] +% +% Here are the control sequences that btxmac.tex defines using an @, +% because btxmac.tex wants to absolutely minimize the chance of +% conflicts. But these control sequence implement documented features +% of eplain, so we want to allow people to use them without the @. +% +\let\auxfile = \@auxfile +\let\for = \@for +\let\futurenonspacelet = \@futurenonspacelet +\def\iffileexists{\if@fileexists}% +\let\innerdef = \@innerdef +\let\innernewcount = \@innernewcount +\let\innernewdimen = \@innernewdimen +\let\innernewif = \@innernewif +\let\innernewwrite = \@innernewwrite +\let\linenumber = \@linenumber +\let\readauxfile = \@readauxfile +\let\spacesub = \@spacesub +\let\testfileexistence = \@testfileexistence +\let\writeaux = \@writeaux +% +% +% btxmac.tex defines \innerdef. Let's use it to make an abbreviation +% for \innerdef\inner<name>{<name>}. +% +\def\innerinnerdef#1{\expandafter\innerdef\csname inner#1\endcsname{#1}}% +% +% Use that in turn to make non-outer versions of the rest of plain TeX's +% allocation macros. (btxmac.tex already did a few of them.) +% +\innerinnerdef{newbox}% +\innerinnerdef{newfam}% +\innerinnerdef{newhelp}% +\innerinnerdef{newinsert}% +\innerinnerdef{newlanguage}% +\innerinnerdef{newmuskip}% +\innerinnerdef{newread}% +\innerinnerdef{newskip}% +\innerinnerdef{newtoks}% +% +% +% Besides doing a \write to the aux file, we also need to do an +% \immediate\write. +% +\def\immediatewriteaux#1{% + \ifx\noauxfile\@undefined + \immediate\write\@auxfile{#1}% + \fi +}% +% +% +% We want \biblabelprint to define hyperlink destination. For that, +% we save the label for the current bibliography entry from within +% \bblitemhook. +\def\bblitemhook#1{\gdef\@hlbblitemlabel{#1}}% +% +\def\biblabelprint#1{% + \noindent + \hbox to \biblabelwidth{% + \hldest@impl{bib}{\@hlbblitemlabel}% + \biblabelprecontents + \biblabelcontents{#1}% + \biblabelpostcontents + }% + \kern\biblabelextraspace +}% +% We want each citation item to be hyperlink to bibliography entry. +% To avoid unnecessary warnings about undefined destinations (e.g., +% from pdfTeX), produce the link only when .bbl file (which does the +% \hldest's) is present. +\def\eplainprintcitepreitem#1{\hlstart@impl{cite}{#1}}% +\def\eplainprintcitepostitem{\hlend@impl{cite}}% +% +% +\def\printcitepreitem#1{% + \testfileexistence[\bblfilebasename]{bbl}% + \iffileexists + \global\let\printcitepreitem\eplainprintcitepreitem + \global\let\printcitepostitem\eplainprintcitepostitem + \else + \global\let\printcitepreitem\gobble + \global\let\printcitepostitem\relax + \fi + \printcitepreitem{#1}% +}% +% +% btxmac.tex defines a \@for loop. We provide an alternative \For +% loop, extended to strip an optional leading space off list items. +\def\@Nnil{\@Nil}% +\def\@Fornoop#1\@@#2#3{}% +% +\def\For#1:=#2\do#3{% + \edef\@Fortmp{#2}% + \ifx\@Fortmp\empty \else + \expandafter\@Forloop#2,\@Nil,\@Nil\@@#1{#3}% + \fi +}% +% +\def\@Forloop#1,#2,#3\@@#4#5{\@Fordef#1\@@#4\ifx #4\@Nnil \else + #5\@Fordef#2\@@#4\ifx #4\@Nnil \else#5\@iForloop #3\@@#4{#5}\fi\fi +}% +% +\def\@iForloop#1,#2\@@#3#4{\@Fordef#1\@@#3\ifx #3\@Nnil + \let\@Nextwhile=\@Fornoop \else + #4\relax\let\@Nextwhile=\@iForloop\fi\@Nextwhile#2\@@#3{#4}% +}% +% \@Fordef<TEXT>\@@<COMMAND> defines COMMAND to the TEXT trimmed off +% optional space tokens at the beginning. Assume spaces are of +% category 10 (won't work when \obeyspaces is in effect). +\def\@Forspc{ }% +% +\def\@Fordef{\futurelet\@Fortmp\@@Fordef}% Peep at the next token. +% +\def\@@Fordef{% + \expandafter\ifx\@Forspc\@Fortmp % Next token is a space. + \expandafter\@Fortrim + \else + \expandafter\@@@Fordef + \fi +}% +% +\expandafter\def\expandafter\@Fortrim\@Forspc#1\@@{\@Fordef#1\@@}% +% +\def\@@@Fordef#1\@@#2{\def#2{#1}}% +% +% From texinfo.tex. Emulate eTeX's \scantokens with a temporary file +% in ordinary TeX. +\def\tmpfileextension{.tmp}% +\let\tmpfilebasename = \jobname +\ifx\eTeXversion\undefined + \innernewwrite\eplain@tmpfile + \def\scantokens#1{% + \toks@={#1}% + \immediate\openout\eplain@tmpfile=\tmpfilebasename\tmpfileextension + \immediate\write\eplain@tmpfile{\the\toks@}% + \immediate\closeout\eplain@tmpfile + \input \tmpfilebasename\tmpfileextension\relax + }% +\fi +% +% +% +% Macros that produce output. +% +% \obeywhitespace makes both end-of-lines and spaces in the input be +% respected in the output. Even spaces at the beginning of lines turn +% into blank space the size of the natural space of the current font. +% The reason why plain TeX's \obeyspaces does not do this last is that +% it produces actual space characters, i.e., glue, and glue is discarded +% at a(n output) line break, and so if line breaks in the input are +% line breaks in the output... +% +% Tabs are not affected; they will still produce glue (a single space). +% +\begingroup + \makeactive\^^M \makeactive\ % No spaces or ^^M's from here on. +\gdef\obeywhitespace{% +\makeactive\^^M\def^^M{\par\futurelet\next\@finishobeyedreturn}% +\makeactive\ \let =\ % +% +% The group we use here is the one \obeywhitespace must be enclosed in. +% If we don't do this, then if the obeyed stuff ends in a newline, the +% indent produced by the definition of ^^M will make that line indented, +% even if it isn't the end of the paragraph. +\aftergroup\@removebox% +\futurelet\next\@finishobeywhitespace% +}% +% +% \@finishobeywhitespace eats any spaces and/or the end-of-line after +% the \obeywhitespace command itself. The group here is the one that it +% itself creates. +% +\gdef\@finishobeywhitespace{{% +\ifx\next % +\aftergroup\@obeywhitespaceloop% +\else\ifx\next^^M% +\aftergroup\gobble% +\fi\fi}}% +% +% \@finishobeyedreturn is invoked at the end of every input line. We +% check if the next thing is also a return, and, if so, insert extra +% space. Then we start the next line. +% +\gdef\@finishobeyedreturn{% +\ifx\next^^M\vskip\blanklineskipamount\fi% +\indent% +}% +\endgroup +% +% The argument here is the space that we are supposed to eat after the +% \obeywhitespace command. +% +\def\@obeywhitespaceloop#1{\futurelet\next\@finishobeywhitespace}% +% +% +% This removes the last box, if it was a empty box of width \parindent. +% We might have been called inside a \vbox, so we have to test if we are +% in horizontal mode before using \lastbox. +% +\def\@removebox{% + \ifhmode + \setbox0 = \lastbox + \ifdim\wd0=\parindent + \setbox2 = \hbox{\unhcopy0}% Preserve \box0 so we can put it back. + \ifdim\wd2=0pt + % Don't put it back: it was an indentation box. + % This \ignorespaces ignores spaces after the group. + \ignorespaces + \else + \box0 % Put it back: it wasn't empty. + \fi + \else + \box0 % Put it back: it wasn't the right width. + \fi + \fi +}% +% +% We allow for extra (possibly negative) space when we hit blank lines. +% +\newskip\blanklineskipamount +\blanklineskipamount = 0pt +% +% +% A good way to print fractions in text when you don't want +% to use \over (which should be most of the time), and yet +% just `1/2' doesn't look right. (From the TeXbook, +% the answer to exercise 11.6, p.311.) +% +\def\frac#1/#2{\leavevmode + \kern.1em \raise .5ex \hbox{\the\scriptfont0 #1}% + \kern-.1em $/$% + \kern-.15em \lower .25ex \hbox{\the\scriptfont0 #2}% +}% +% +% +% The `e' just means `Eplain', as in `Eplain's hrule'. The advantage +% to using these is that you can change the default thickness. +% +\newdimen\hruledefaultheight \hruledefaultheight = 0.4pt +\newdimen\hruledefaultdepth \hruledefaultdepth = 0.0pt +\newdimen\vruledefaultwidth \vruledefaultwidth = 0.4pt +% +\def\ehrule{\hrule height\hruledefaultheight depth\hruledefaultdepth}% +\def\evrule{\vrule width\vruledefaultwidth}% +% +% +% The texnames.sty and path.sty files included below were originally +% written by Nelson Beebe and Philip Taylor, respectively. See the +% complete source files (e.g., in this distribution) for comments. +%% [[[include texnames.sty]]] +%% [[[include path.sty]]] +% +% +% More TeX logos. +% +% Adapted from tugboat.dtx. +\ifx\eTeX\undefined + \def\eTeX{\hbox{\mathsurround=0pt $\varepsilon$-\kern-.125em\TeX}}% +\fi +% +\ifx\ExTeX\undefined + \def\ExTeX{\hbox{\mathsurround=0pt + $\textstyle\varepsilon_{\kern-0.15em\cal{X}}$\kern-.2em\TeX}}% +\fi +% +% XeTeX require the graphics package for reflecting/rotating. From +% tugboat.dtx: "Also, at Barbara's suggestion, if the current font is +% slanted, we rotate by 180 instead of reflecting so there is at least +% a chance to look ok. (The magic values here seem more or less ok +% for \texttt{cmsl} and \texttt{cmti}.)". +\def\eplain@Xe@reflect#1{% + \ifx\reflectbox\undefined + \errmessage{A graphics package must be loaded for \string\XeTeX}% + \else + \ifdim \fontdimen1\font>0pt + \raise 1.75ex \hbox{\kern.1em\rotatebox{180}{#1}}\kern-.1em + \else + \reflectbox{#1}% + \fi + \fi +}% +\def\eplain@Xe#1{\leavevmode + \smash{\hbox{X% + \setbox0=\hbox{\TeX}\setbox2=\hbox{E}% + \lower\dp0\hbox{\raise\dp2\hbox{\kern-.125em\eplain@Xe@reflect{E}}}% + \kern-.1667em #1}}}% +\ifx\XeTeX\undefined + \def\XeTeX{\eplain@Xe\TeX}% +\fi +\ifx\XeLaTeX\undefined + \def\XeLaTeX{\eplain@Xe{\thinspace\LaTeX}}% +\fi +% +% +% A square box, suitable for being a marker in lists. +% +\def\blackbox{\vrule height .8ex width .6ex depth -.2ex \relax}% square bullet +% +% +% From p.311 of the TeXbook. +% +% Make an unfilled rectangle with the dimensions of \box0. #1 is the +% height of the rules, #2 the depth (i.e., the thicknesses). +% +\def\makeblankbox#1#2{% + \ifvoid0 + \errhelp = \@makeblankboxhelp + \errmessage{Box 0 is void}% + \fi + \hbox{\lower\dp0 + \vbox{\hidehrule{#1}{#2}% + \kern -#1% overlap rules + \hbox to \wd0{\hidevrule{#1}{#2}% + \raise\ht0\vbox to #1{}% vrule height + \lower\dp0\vtop to #1{}% vrule depth + \hfil\hidevrule{#2}{#1}% + }% + \kern-#1\hidehrule{#2}{#1}% + }% + }% +}% +% +\newhelp\@makeblankboxhelp{Assigning to the dimensions of a void^^J% + box has no effect. Do `\string\setbox0=\string\null' before you^^J% + define its dimensions.}% +% +% +% Produce an hrule with height #1 and depth #2, and insert kerning so it +% doesn't change the current position. +% +\def\hidehrule#1#2{\kern-#1\hrule height#1 depth#2 \kern-#2}% +% +% Produce a vrule with width #1+#2, kerning so as not to change the +% current position. +% +\def\hidevrule#1#2{% + \kern-#1% + \dimen@=#1\advance\dimen@ by #2% + \vrule width\dimen@ + \kern-#2% +}% +% +% +% The \boxit macro from the TeXbook, trivially generalized to allow +% something other than 3pt around the TeX box being boxed. +% +\newdimen\boxitspace \boxitspace = 3pt +% +\long\def\boxit#1{% + \vbox{% + \ehrule + \hbox{% + \evrule + \kern\boxitspace + \vbox{\kern\boxitspace \parindent = 0pt #1\kern\boxitspace}% + \kern\boxitspace + \evrule + }% + \ehrule + }% +}% +% +% +% Produce the written-out form of a number. +% +\def\numbername#1{\ifcase#1% + zero% + \or one% + \or two% + \or three% + \or four% + \or five% + \or six% + \or seven% + \or eight% + \or nine% + \or ten% + \or #1% + \fi +}% +% +% The following arrow macros were written by Steven Smith. See arrow.tex. +\let\@plainnewif = \newif +\let\@plainnewdimen = \newdimen +\let\newif = \innernewif +\let\newdimen = \innernewdimen +\edef\@eplainoldandcode{\the\catcode`& }% +\catcode`& = 11 +\toks0 = {% + %% [[[include arrow1]]] +}% +\catcode`& = 4 +\toks2 = {% + %% [[[include arrow2]]] +}% +\let\newif = \@plainnewif +\let\newdimen = \@plainnewdimen +\ifx\noarrow\@undefined \the\toks0 \the\toks2 \fi +\catcode`& = \@eplainoldandcode +% +% +% +% Environments. +% +% Define an ``environment'': arbitrary text, enclosed by \begingroup and +% \endgroup. But you get to label the group, so that if you forget an +% \environment or an \endenvironment, you will probably get an error +% message about it. +% +% Since the environment names appear in \errmessage arguments, it's best +% to keep them to `letter' and `other' characters. I suppose we could +% call \tokstostring to allow more general labels. +% +% These macros improve slightly on the answer to exercise 5.7 in +% The TeXbook, by making some checks on \begingroup and \endgroup, as +% well as just making sure \environment and \endenvironment's match. +% +% +\def\environment#1{% + \ifx\@groupname\@undefined\else + % This gets invoked if we have two \environments (and no matching + % \endenvironment to the first) with an \endgroup in between. + \errhelp = \@unnamedendgrouphelp + \errmessage{`\@groupname' was not closed by \string\endenvironment}% + \fi + % Use \edef in case we are passed a macro that contains the name, + % instead of the name. + \edef\@groupname{#1}% + \begingroup + \let\@groupname = \@undefined +}% +% +\def\endenvironment#1{% + \endgroup + \edef\@thearg{#1}% + \ifx\@groupname\@thearg + \else + \ifx\@groupname\@undefined + % Unfortunately, one gets an `extra \endgroup' message before + % seeing this. But we have to restore \@groupname, so I see no + % alternative. + \errhelp = \@isolatedendenvironmenthelp + \errmessage{Isolated \string\endenvironment\space for `#1'}% + \else + \errhelp = \@mismatchedenvironmenthelp + \errmessage{Environment `#1' ended, but `\@groupname' started}% + \endgroup % Probably a typo in the names. + \fi + \fi + \let\@groupname = \@undefined +}% +% +\newhelp\@unnamedendgrouphelp{Most likely, you just forgot an^^J% + \string\endenvironment. Maybe you should try inserting another^^J% + \string\endgroup to recover.}% +% +\newhelp\@isolatedendenvironmenthelp{You ended an environment X, but^^J% + no \string\environment{X} to start it is anywhere in sight.^^J% + You might also be at an \string\endenvironment\space that would match^^J% + a \string\begingroup, i.e., you forgot an \string\endgroup.}% +% +\newhelp\@mismatchedenvironmenthelp{You started an environment named X, but^^J% + you ended one named Y. Maybe you made a typo in one^^J% + or the other of the names?}% +% +% +% The above sort of environment allows nesting. But environments +% shouldn't always be allowed to nest (like the \flushright, +% \flushleft, and \center ones defined below). Here are some macros to +% help deal with that. +% +% \checkenv goes at the beginning of a macro that is +% going to define the environment. +% +\newif\ifenvironment +\def\checkenv{\ifenvironment \errhelp = \@interwovenenvhelp + \errmessage{Interwoven environments}% + \egroup \fi +}% +% +\newhelp\@interwovenenvhelp{Perhaps you forgot to end the previous^^J% + environment? I'm finishing off the current group,^^J% + hoping that will fix it.}% +% +% +% +% Mathematics displays. +% +% By default, TeX centers displayed material. To get left-justified +% displays, say \leftdisplays. To go back to centered displays, say +% \centereddisplays. +% +% This is based on an approach developed by Donald Arseneau, +% asnd@triumfrg.bitnet. +% +\newtoks\previouseverydisplay +% Here we want to make ordinary math displays flush left, +% indented by the dimen \leftdisplayindent, which defaults +% to \parindent. +% +% How do you want the first column aligned? +\let\@leftleftfill\relax % as it was +%\let\@leftleftfill\hfill % makes more sense, but could be too ugly +% +% Surely it makes more sense to not sum \leftdisplayindent+\parindent +\newdimen\leftdisplayindent \leftdisplayindent=\parindent +\newif\if@leftdisplays +% +\def\leftdisplays{% + \if@leftdisplays\else + \previouseverydisplay = \everydisplay + \everydisplay = {\the\previouseverydisplay \leftdisplaysetup}% + \let\@save@maybedisableeqno = \@maybedisableeqno + \let\@saveeqno = \eqno + \let\@saveleqno = \leqno + \let\@saveeqalignno = \eqalignno + \let\@saveleqalignno = \leqalignno + \let\@maybedisableeqno = \relax + \def\eqno{\hfill\textstyle\enspace}% + \def\leqno{% + \hfill + \hbox to0pt\bgroup + \kern-\displaywidth + % was: \kern-\displayindent % really \displayindent? + \kern-\leftdisplayindent % I'll use just \leftdisplayindent + $\aftergroup\@leftleqnoend % inserted after ending $ + }% + \@redefinealignmentdisplays + \@leftdisplaystrue + \fi +}% +\newbox\@lignbox +\newdimen\disprevdepth + +% In order to use $$ for left-aligned equation we have to +% put something like \leftline{$\displaystyle ...$} in the +% display. Then \eqno works basically like \hfill. +% In order to make $$<assignments>\eqalignno{...}$$ work as +% expected, including page breaks, we have to get rid of the +% horizontal box, and un-vbox the alignment. Sadly, \unvbox +% does not perform baselineskip handing, so we need to get +% the \prevdepth ourselves...in order to get the prevdepth, +% the outermost display must be an alignment display. +% Therefore, an ordinary $$ a=b $$ becomes: +% $$\halign{#\cr\noalign{\disprevdepth = \prevdepth +% \leftline{$\displaystyle a=b$} +% }}$$ +% +\def\centereddisplays{% + % If \leftdisplays hasn't been called, don't try to restore all the + % stuff it changes. + % + \if@leftdisplays + \everydisplay = \previouseverydisplay + \let\@maybedisableeqno = \@save@maybedisableeqno + \let\eqno = \@saveeqno + \let\leqno = \@saveleqno + \let\eqalignno = \@saveeqalignno + \let\leqalignno = \@saveleqalignno + \@leftdisplaysfalse + \fi +}% +% +\def\leftdisplaysetup{% +% surely not this *and* \leftdisplayindent? : \dimen@ = \parindent + \dimen@ = \leftdisplayindent + \advance\dimen@ by \leftskip + \advance\displayindent by \dimen@ + \advance\displaywidth by -\dimen@ +% this outermost alignment doesn't align anything. + \halign\bgroup##\cr \noalign\bgroup + \disprevdepth = \prevdepth + \setbox\z@ = \hbox to\displaywidth\bgroup + % Why strut?? \strut + % Why this?? \advance\hsize by -\displayindent + $\displaystyle + \aftergroup\@lefteqend % inserted after ending $ +} +% +\def\@lefteqend{% gets inserted between the ending $$ + \hfil\egroup% end box 0 + \@putdisplay} +% gets inserted between trailing $$. +\def\@leftleqnoend{\hss \egroup $}% end the \hbox to 0pt for \leqno, restore $ +% +\def\@putdisplay{% + \ifvoid\@lignbox % Ordinary display; use it. + \moveright\displayindent\box\z@ + \else % alignment display; unwrap alignment + \prevdepth = \dp\@lignbox % affects the skip *below* + \unvbox\@lignbox + \fi + \egroup\egroup % end \noalign, end outer \halign + $% restore first $ of trailing $$ +} +% +\def\@redefinealignmentdisplays{% + \def\displaylines##1{ + \global\setbox\@lignbox\vbox{% + \prevdepth = \disprevdepth + \displ@y + \tabskip\displayindent + \halign{\hbox to\displaywidth + {$\@lign\displaystyle####\hfil$\hfil}\crcr + ##1\crcr}}}% + \def\eqalignno##1{% + \def\eqno{&}% + \def\leqno{&}% + \global\setbox\@lignbox\vbox{% + \prevdepth = \disprevdepth + \displ@y + \advance\displaywidth by \displayindent + \tabskip\displayindent + \halign to\displaywidth{% + \hfil $\@lign\displaystyle{####}$\@leftleftfill\tabskip\z@skip + &$\@lign\displaystyle{{}####}$\hfil\tabskip\centering + &\llap{$\@lign####$}\tabskip\z@skip\crcr + ##1\crcr}}}% + \def\leqalignno##1{% + \def\eqno{&}% + \def\leqno{&}% + \global\setbox\@lignbox\vbox{% + \prevdepth = \disprevdepth + \displ@y + \advance\displaywidth by \displayindent + \tabskip\displayindent + \halign to\displaywidth{% + \hfil $\@lign\displaystyle{####}$\@leftleftfill\tabskip\z@skip + &$\@lign\displaystyle{{}####}$\hfil\tabskip\centering + &\kern-\displaywidth +% \showthe\displayindent \showthe\leftdisplayindent + \rlap{\kern\displayindent \kern-\leftdisplayindent$\@lign####$}% + \tabskip\displaywidth\crcr + ##1\crcr}}}% +}% +% +% \noalign is typically used to insert a few words (`and', for example) +% between two aligned equations. So I don't think the \noaligned +% material should be indented. Since \noalign takes <vertical mode +% material>, we would end up with double indentation, anyway: one +% because we're indenting the whole display, and one at the start of the +% <v.m.m.>. (If you want to change any of this, you can put something in +% \@everynoalign.) So, we use this definition for \noalign in a +% left-justified \eqalignno: +% +\let\@primitivenoalign = \noalign +\newtoks\@everynoalign +\def\@lefteqalignonoalign#1{% + \@primitivenoalign{% + % Is it right to set \leftskip=0pt first, thus perhaps making this + % work in lists and so forth? We just compensate for the other ways + % the display is indented here. + \advance\leftskip by -\parindent + \advance\leftskip by -\leftdisplayindent + \parskip = 0pt + % + % We use \parindent=0pt instead of \noindent because the latter + % starts unrestricted horizontal mode, which means the alignment + % we're inside will wind up being as wide as the page. When the arg + % is just vertical material, this is wrong. For example, using + % \matrix inside \eqalignno fails if \noindent is used. + \parindent = 0pt + \the\@everynoalign + #1% + }% +}% +% +% +% +% Time macros. +% +% TeX sets \time, \day, \month, and \year when it begins. (And does not +% update them as it runs!) +% +% +% \monthname produces the name of the month, abbreviated to three +% letters. The primitive \month should never be zero. +% +\def\monthname{% + \ifcase\month + \or Jan\or Feb\or Mar\or Apr\or May\or Jun% + \or Jul\or Aug\or Sep\or Oct\or Nov\or Dec% + \fi +}% +% +% \fullmonthname is like \monthname, except it doesn't abbreviate. +% +\def\fullmonthname{% + \ifcase\month + \or January\or February\or March\or April\or May\or June% + \or July\or August\or September\or October\or November\or December% + \fi +}% +% +% \timestring produces the current time, in a format like `1:14 p.m.'. +% +\def\timestring{\begingroup + \count0 = \time + \divide\count0 by 60 + \count2 = \count0 % The hour, from zero to 23. + % + \count4 = \time + \multiply\count0 by 60 + \advance\count4 by -\count0 % The minute, from zero to 59. + % But we need the minutes with a leading zero, if necessary. + \ifnum\count4<10 + \toks1 = {0}% + \else + \toks1 = {}% + \fi + % + % Convert the hour into `a.m.' or `p.m.', and make it mod 12. + \ifnum\count2<12 + \toks0 = {a.m.}% + \else + \toks0 = {p.m.}% + \advance\count2 by -12 + \fi + % + % If it's midnight, call it `12', not `0'. + \ifnum\count2=0 + \count2 = 12 + \fi + % + % Produce the output. + \number\count2:\the\toks1 \number\count4 \thinspace \the\toks0 +\endgroup}% +% +% +% \timestamp produces a text string for the whole thing like +% `23 Apr 1964 1:14 p.m.'. +% +\def\timestamp{\number\day\space\monthname\space\number\year\quad\timestring}% +% +% +% \today produces the current date, as in `23 April 1964'. +% +\def\today{\the\day\ \fullmonthname\ \the\year}% +% +% +% +% (Typographical) lists. +% +% These macros can produce numbered or unnumbered lists. +% +% You can change the spacing by assigning new values to these registers. +% They are used by both kinds of lists. \listleftindent is relative to +% the current paragraph indentation, while \listrightindent is an +% absolute value. I do this for two reasons: (1) it is more useful, if not +% more ``logical'', to make list indentation depend on the paragraph +% indentation; (2) footnotes do not work if \parindent is zero, and +% having a footnote in a list item is perfectly reasonable. +% +% If you change \baselineskip and want \abovelistskip and \belowlistskip +% to retain their meanings here, you will have to reassign to them. The +% \baselineskip here is the value at the time eplain.tex is read, i.e., +% 12pt (most likely). +% +% If the items in your lists are very long, you might want to +% make \interitemskipamount nonzero. +% +\newskip\abovelistskipamount \abovelistskipamount = .5\baselineskip + \newcount\abovelistpenalty \abovelistpenalty = 10000 + \def\abovelistskip{\vpenalty\abovelistpenalty \vskip\abovelistskipamount}% +\newskip\interitemskipamount \interitemskipamount = 0pt + \newcount\belowlistpenalty \belowlistpenalty = -50 + \def\belowlistskip{\vpenalty\belowlistpenalty \vskip\belowlistskipamount}% +\newskip\belowlistskipamount \belowlistskipamount = .5\baselineskip + \newcount\interitempenalty \interitempenalty = 0 + \def\interitemskip{\vpenalty\interitempenalty \vskip\interitemskipamount}% +\newdimen\listleftindent \listleftindent = 0pt +\newdimen\listrightindent \listrightindent = 0pt +\let\listmarkerspace = \enspace +% +% To do arbitrary things at the start of each list: +\newtoks\everylist +% +% If you want no space between items for a particular list +% (perhaps because the items in it are short), you can say, +% e.g., \numberedlist\listcompact. +% +\def\listcompact{\interitemskipamount = 0pt \relax}% +% +% This is called to set up the parameters by both sorts of lists. +% Because we set \rightskip, we finish off the current paragraph. +% +\newdimen\@listindent +% +\def\beginlist{% + % Insert the space above this list, before we change \leftskip + % (because the \vskip in here might be what ends the paragraph). + \abovelistskip + % + \@listindent = \parindent + \advance\@listindent by \listleftindent + % + % \leftskip shifts nested lists to the right on the page. + \advance\leftskip by \@listindent + \advance\rightskip by \listrightindent + % + % We always need \itemnumber, so we can know whether an item is the + % first one or not. + \itemnumber = 1 + % + \the\everylist +}% +% +% A list item, for both kinds of lists. +% +\def\li{\@getoptionalarg\@finli}% +\def\@finli{% + % Save \@optionalarg in case \interitemskip garble it. + \let\@lioptarg\@optionalarg + % Write xref definition but do not define hyperlink destination + % (\printitem will do it). + \ifx\@lioptarg\empty \else + \begingroup + \@@hldestoff + \expandafter\writeitemxref\expandafter{\@lioptarg}% + \endgroup + \fi + \ifnum\itemnumber=1 \else \interitemskip \fi + % Add hyperlink destination in front of \marker before doing \printitem. + \begingroup + \ifx\@lioptarg\empty \else + \toks@ = \expandafter{\@lioptarg}% + \let\li@nohldest@marker\marker + \edef\marker{\noexpand\hldest@impl{li}{\the\toks@}\noexpand\li@nohldest@marker}% + \fi + \printitem + \endgroup + \advance\itemnumber by 1 + \advance\itemletter by 1 + \advance\itemromannumeral by 1 + % + % Just in case somebody creeps in with an argument or something. + \ignorespaces +}% +% +% \writeitemxref{LABEL} writes out a definition for LABEL to be \marker +% for the aux file. +% +\def\writeitemxref#1{\definexref{#1}\marker{item}}% +% +% \printitem is used to print items by both sorts of lists. A \par gets +% produced before every item -- even the first one. We also want to +% make paragraphs after the first appear to be indented -- i.e., they +% will have double indentation. It is usually bad exposition to have +% lists with multiparagraph items, but sometimes it is unavoidable. +% +\def\printitem{% + \par + \nobreak + \vskip-\parskip + \noindent + \printmarker\marker +}% +% +% Output the list marker. +% +\def\printmarker#1{\llap{\marker \enspace}}% +% +% Common ending. +% +\def\endlist{\belowlistskip}% +% +% +% \numberedlist produces items which are numbered sequentially, starting +% from one. You start items with \li (`list item'). End the list with +% \endnumberedlist. +% +% A nested \numberedlist produces items labelled `(a)', `(b)', etc. A +% doubly (and deeper) nested \numberedlist labels items with `*'. +% +% These registers keep track of where we are. +% +\newcount\numberedlistdepth +\newcount\itemnumber +\newcount\itemletter +\newcount\itemromannumeral +% +\def\numberedmarker{% + \ifcase\numberedlistdepth + (impossible)% + \or \printitemnumber + \or \printitemletter + \or \printitemromannumeral + \else *% + \fi +}% +% +% These produce the text of the labels. We use \the\itemletter so that +% the value will expand. +% +\def\printitemnumber{\number\itemnumber}% +\def\printitemletter{\char\the\itemletter}% +\def\printitemromannumeral{\romannumeral\itemromannumeral}% +\def\numberedprintmarker#1{\llap{#1) \listmarkerspace}}% +% +\def\numberedlist{\environment{@numbered-list}% + % This is set back to zero by getting to the end of the group. + \advance\numberedlistdepth by 1 + \itemletter = `a + \itemromannumeral = 1 + \beginlist + \let\marker = \numberedmarker + \let\printmarker = \numberedprintmarker +}% +% +\def\endnumberedlist{% + \par + \endenvironment{@numbered-list}% + \endlist +}% +% +% Allow synonyms for \numberedlist. +\let\orderedlist = \numberedlist +\let\endorderedlist = \endnumberedlist +% +% +% +% \unorderedlist produces items which are labelled with bullets. You +% start an item with \li, just as with numbered lists. You end the list +% with \endunorderedlist. +% +% A nested \unorderedlist produces items labelled with em-dashes. A +% doubly (and deeper) nested \unorderedlist uses `*'. +% +\newcount\unorderedlistdepth +% +\def\unorderedmarker{% + \ifcase\unorderedlistdepth + (impossible)% + \or \blackbox + \or ---% + \else *% + \fi +}% +\def\unorderedprintmarker#1{\llap{#1\listmarkerspace}}% +% +\def\unorderedlist{\environment{@unordered-list}% + \advance\unorderedlistdepth by 1 + \beginlist + \let\marker = \unorderedmarker + \let\printmarker = \unorderedprintmarker +}% +% +\def\endunorderedlist{% + \par + \endenvironment{@unordered-list}% + \endlist +}% +% +% +% +% Verbatim listing. +% +% ... well, almost verbatim. We assume the font \tt has all the +% characters that will appear. Control characters, except for tabs and +% form feeds (and returns) won't produce anything useful. Tabs produce +% a fixed amount of space, and form feeds produce a page break. +% +% This is based on Knuth's ideas in Appendix D of the TeXbook, p. 380. +% The argument should be a filename. +% +% if you need to do something more for your particular fonts and/or +% environment before the file is input, give a definition to +% \setuplistinghook. If you want line numbers on the output, you can +% say \let\setuplistinghook = \linenumberedlisting. To omit last +% (empty) line of input, say \let\setuplistinghook = \nolastlinelisting. +% (This works with line numbers, too, but only if \printlistinglineno +% consists of boxes only.) +\def\listing#1{% + \par \begingroup + \@setuplisting + \setuplistinghook + \input #1 + \endgroup +}% +% +\let\setuplistinghook = \relax +% +\def\linenumberedlisting{% + \ifx\lineno\undefined \innernewcount\lineno \fi + \lineno = 0 + \everypar = {\advance\lineno by 1 \printlistinglineno}% +}% +\def\printlistinglineno{\llap{[\the\lineno]\quad}}% +% Remove the last line by removing all boxes (indentation \hbox and/or +% line number from \everypar). +\def\nolastlinelisting{\aftergroup\@removeboxes}% +% Remove boxes until we remove all of them, or until we +% encounter something other than a box. +\def\@removeboxes{% + \setbox0 = \lastbox + \ifvoid0 + \ignorespaces % Ignore spaces after the \obeywhitespace's group. + \else + \expandafter\@removeboxes + \fi +}% +% +% +% +% \uncatcodespecials must come before \obeywhitespace, lest a space +% character in the input produce character 32 from the \tt font. +% Ensure ^^L is active and non-outer. +% +{% + \makeactive\^^L + \let^^L = \relax + \gdef\@setuplisting{% + \uncatcodespecials + \obeywhitespace + \makeactive\` + \makeactive\^^I + \makeactive\^^L + \def^^L{\vfill\break}% + \parskip = 0pt + \listingfont + }% +}% +\def\listingfont{\tt}% +% +% Give definitions to the characters we want to be special. +% +% Do ` separately, so can use ` in the \catcode commands elsewhere. +% +{% + \makeactive\` + \gdef`{\relax\lq}% Defeat ligatures. +}% +{% + \makeactive\^^I + \gdef^^I{\hskip8\fontdimen2\font \relax}% +}% +% +% +% \verbatim ... |endverbatim typesets the ... in typewriter. To produce a | +% in the ..., use ||. This macro was contributed by beebe@math.utah.edu. +% Generalized to characters other than | by dorai@cs.rice.edu. +% +\def\verbatimescapechar#1{% + \gdef\@makeverbatimescapechar{% + \@makeverbatimdoubleescape #1% + \catcode`#1 = 0 + }% +}% +\def\@makeverbatimdoubleescape#1{% + \catcode`#1 = \other + \begingroup + \lccode`\* = `#1% + \lowercase{\endgroup \ece\def*{*}}% +}% +\verbatimescapechar\| % initially escapechar is | +% +\def\verbatim{\begingroup + \uncatcodespecials + \makeactive\` % make space character a single space, not stretchable + \@makeverbatimescapechar + \tt\obeywhitespace} +\let\endverbatim = \endgroup +% +% +% +% Table of contents, list of figures, etc. +% +% Entries for the table of contents are recorded in \jobname.toc, which +% we open for writing at the first \writetocentry. Actually, we use +% \tocfilebasename for the root of the filename to read; \jobname is +% the default. +% +\def\definecontentsfile#1{% + \ece\innernewwrite{#1file}% + \ece\innernewif{if@#1fileopened}% + \ece\let{#1filebasename} = \jobname + \ece\def{open#1file}{\opencontentsfile{#1}}% + \ece\def{write#1entry}{\writecontentsentry{#1}}% + \ece\def{writenumbered#1entry}{\writenumberedcontentsentry{#1}}% + \ece\def{writenumbered#1line}{\writenumberedcontentsline{#1}}% + \ece\innernewif{ifrewrite#1file} \csname rewrite#1filetrue\endcsname + \ece\def{read#1file}{\readcontentsfile{#1}}% +}% +% +% We provide \opentocfile, \readtocfile, etc., by default. +\definecontentsfile{toc}% +% +% And `toc' is just the argument to this macro. +\def\opencontentsfile#1{% + \csname if@#1fileopened\endcsname \else + \ece{\immediate\openout}{#1file} = \csname #1filebasename\endcsname.#1 + \ece\global{@#1fileopenedtrue}% + \fi +}% +% +% \writetocentry#1#2 produces a line in the .toc file that +% looks like: +% \toc#1entry{#2}{page number} +% e.g., +% \tocchapterentry{Introduction}{2} +% would be written by +% \writetocentry{chapter}{Introduction} +% if the chapter started on page two. +% +% Thus, #1 is intended to be something like `chapter' or `section', #2 +% to be the text of the title. +% +% One special case is for #1 to be an integer (once fully expanded). +% If it is, we produce a line in the .toc file that looks like: +% \tocentry{#1}{#2}{page number} +% This might be useful if you want to write one generic \tocentry +% macro to format all TOC entries on the basis of their depth (#1). +% +% Of course, if you want, you can \write\tocfile yourself with whatever +% you like. In that case, you must also call \opentocfile. +% +% By the way, it would be wrong to put a \percentchar at the end of the +% output line. Then, when the .toc file is read, if each line is turned +% into a \leftline, say, there would be no legal breakpoint between the +% boxes, and one extremely long line would result. +% +% `toc' is the first argument to this; \writetocentry is defined by +% \definecontentsfile. +\def\writecontentsentry#1#2#3{\writenumberedcontentsentry{#1}{#2}{#3}{}}% +% +% Sometimes you want the control sequence to take another number (e.g., +% a chapter number) as a parameter. (Although you can pass anything you +% want as the third parameter, naturally.) The third parameter is +% expanded at the point of the \writenumberedtocentry, not when the +% \write actually happens. This makes the usual case---the third +% parameter being \the\someregister---work. +% +% For example: +% \writenumberedtocentry{chapter}{The second chapter}{2} +% would produce: +% \tocchapterentry{The second chapter}{2}{14} +% +% if the second chapter started on page 14. +% +% `toc' is the first argument, as above. +\def\writenumberedcontentsentry#1#2#3#4{% + \csname ifrewrite#1file\endcsname + % Set \toks0 to the initial part (command name and possible PART argument). + \writenumberedcontents@cmdname{#1}{#2}% + % + \def\temp{#3}% the text + % + % Usually #4 is just `\the\register', which we want to expand. But + % if it's not a number at all -- e.g., if it's an author's name, we + % don't want to expand control sequences for accents and the like. + % So we play some games here. + \toks2 = \expandafter{#4}% + \edef\cs{\the\toks2}% + \edef\@wr{% + \write\csname #1file\endcsname{% + \the\toks0 % the \toc...entry control sequence + {\sanitize\temp}% the text + \ifx\empty\cs\else {\sanitize\cs}\fi % a secondary number, or nothing + {\noexpand\folio}% the page number + }% + }% + \@wr + \fi + \ignorespaces +}% +% This is very similar to \writenumberedcontentsentry, differing only +% in the order of parameters it takes and writes for the +% \toc...entry control sequence. #3 is the chapter (section, etc.) +% number, and #4 is the text. +\def\writenumberedcontentsline#1#2#3#4{% + \csname ifrewrite#1file\endcsname + % Set \toks0 to the initial part (command name and possible PART argument). + \writenumberedcontents@cmdname{#1}{#2}% + % + \def\temp{#4}% the text + % + % Usually #3 is just `\the\register', which we want to expand. But + % if it's not a number at all -- e.g., if it's an author's name, we + % don't want to expand control sequences for accents and the like. + % So we play some games here. + \toks2 = \expandafter{#3}% + \edef\cs{\the\toks2}% + \edef\@wr{% + \write\csname #1file\endcsname{% + \the\toks0 % the \toc...entry control sequence + \ifx\empty\cs\else {\sanitize\cs}\fi % a secondary number, or nothing + {\sanitize\temp}% the text + {\noexpand\folio}% the page number + }% + }% + \@wr + \fi + \ignorespaces +}% +% This is the common part of \writenumberedcontentsentry and +% \writenumberedcontentsline. It takes `toc' and PART arguments, +% opens toc file and sets \toks0 to `\tocentry{PART}' (if PART is an +% integer) or `\tocPARTentry' (otherwise). +\def\writenumberedcontents@cmdname#1#2{% + \csname open#1file\endcsname + \edef\temp{#2}% Expand PART fully and see if this produced an integer. + \expandafter\if\expandafter\isinteger\expandafter{\temp}% + \toks0 = {\expandafter\noexpand \csname #1entry\endcsname}% + \edef\temp{\the\toks0{\temp}}% + \toks0 = \expandafter{\temp}% + \else + \toks0 = {\expandafter\noexpand \csname #1#2entry\endcsname}% + \fi +}% +% +% The entries are read in when the user invokes \readtocfile (which +% should be before the first \writetocentry). We do not open the .toc +% file to allow reading it in twice to make a short contents or some +% such. This should not cause any problems because each of +% \writecontentsentry and \writenumberedcontentsentry open the .toc +% file for writing (i.e., empty it) before trying to write to it. +\def\readcontentsfile#1{% + \edef\temp{% + \noexpand\testfileexistence[\csname #1filebasename\endcsname]{#1}% + }\temp + \if@fileexists + \input \csname #1filebasename\endcsname.#1\relax + \fi +}% +% +% Here are some sample definitions of the \toc...entry macros. Perhaps +% you or your book designer can come up with a better way of handling +% contents than leaders. These definitions are just examples, not +% something you might want to actually use to print a document. +\def\tocchapterentry#1#2{\line{\bf #1 \dotfill\ #2}}% +\def\tocsectionentry#1#2{\line{\quad\sl #1 \dotfill\ \rm #2}}% +\def\tocsubsectionentry#1#2{\line{\qquad\rm #1 \dotfill\ #2}}% +\def\tocentry#1#2#3{\line{\rm\hskip#1em #2 \dotfill\ #3}}% +% +% +% +% Cross-references. +% +% Definitions of references are recorded in \jobname.aux, called +% \auxfile in the macros, which btxmac.tex has opened. +% +% When a label isn't defined, we only want to complain if +% \xrefwarningtrue; btxmac uses \if@citewarning for this, so we have to +% reuse that name. We can't just say \let\ifxrefwarning = +% \if@citewarning, since then changes to the latter won't be reflected +% in the former. On the other hand, we have to have a true \if... +% command, so \if's and \fi's match properly. What a mess. +% +\let\ifxrefwarning = \iftrue +\def\xrefwarningtrue{\@citewarningtrue \let\ifxrefwarning = \iftrue}% +\def\xrefwarningfalse{\@citewarningfalse \let\ifxrefwarning = \iffalse}% +% +% +% \xref{foo} produces ``p.\thinspace <page#>''. \xrefn{foo} produces +% ``<page#>''. \xrdef{foo} produces nothing, but defines the label +% `foo' to be on the current page. +% +% As usual, it takes two passes to get the cross-references right. +% +% We check for multiply defined labels during the reading of the aux +% file, not at the time a cross-reference macro is called by the user. +% (From Tomas Penicka <tom.penicka@centrum.cz>.) +% +% +% \xrlabel{LABEL} expands to a cross-reference internal name. We append +% an _ character to NAME, to help avoid conflicts. And we append an `x' +% so that we don't redefine \_ on an empty label. +% +\begingroup + % Mike Spivak's MathTime macros for Times Roman fonts changes the + % catcode of _ to be active. Undo that. (From adam@symcom.math.uiuc.edu.) + \catcode`\_ = 8 + \gdef\xrlabel#1{#1_x}% +\endgroup +% +% +% \xrdef{LABEL} defines LABEL to be the current page number. But we +% don't define the label here, because the page number might be off: if +% this is not the first time through, the label would already be +% defined, and we would redefine it with the wrong information. +% +\def\xrdef#1{% + \begingroup + % Define hyperlink destination. + \hldest@impl{xrdef}{#1}% + % Define cross-reference but not hyperlink destination. + \begingroup + \@@hldestoff + \definexref{#1}{\noexpand\folio}{page}% + \endgroup + \endgroup + \ignorespaces +}% +% +% \definexref{LABEL}{DEFINITION}{CLASS} defines a cross-reference named +% LABEL of label class CLASS to be DEFINITION. (Or LABEL can be a +% control sequence; it's expanded to get the label text.) To get a +% possible page number right, we have to write the definition out to the +% auxiliary file, instead of only defining it directly. +% +\def\definexref#1#2#3{% + % Define a hyperlink destination LABEL. + \hldest@impl{definexref}{#1}% + % Remember what we're given; it might be `\@optionalarg', which + % \readauxfile trashes. (No loss of generality here, since \csname + % will fully expand the label anyway.) + \edef\temp{#1}% + % + % Be sure we've read the aux file before we zap it: + \readauxfile + % + % When we read in the aux file next time, define the label: + \edef\@wr{\noexpand\writeaux{\string\@definelabel{\temp}{#2}{#3}}}% + \@wr + \ignorespaces +}% +% +% \@definelabel{LABEL}{DEFINITION}{CLASS} actually defines LABEL of +% label class CLASS to be DEFINITION. +% +\def\@definelabel#1{% #2 and #3 will be read later. + % The following group will keep the save stack from overflowing: + % We are reading the .aux file inside a group. For undefined + % commands, \csname...\endcsname makes them equivalent to \relax + % locally in that group; when we globally redefine them, TeX enters + % the definitions on the save stack, once for each label. When done + % in the topmost group, this can overflow stack of any size, given + % sufficient number of label definitions. So, we put these + % \csname...\endcsname's inside another group, to pop the stack for + % every label. + \begingroup % Will be ended in \@definelabel@nocheck. + % Warn if we see that another label with the same name has been + % defined. Remember, we are called when the aux file is being read, + % which means that no labels have been defined yet except the ones + % which come earlier in this aux file. + \expandafter\ifx\csname\xrlabel{#1}\endcsname \relax + \expandafter\@definelabel@nocheck + \else + \expandafter\@definelabel@warn + \fi + % Define the control sequences or warn. + {#1}% +}% +% Define a label without checking for redefinitions. +\def\@definelabel@nocheck#1#2#3{% + % Define the control sequence. + \expandafter\gdef\csname\xrlabel{#1}\endcsname{#2}% + % + % Remember what kind of label this is, so \ref will know what to do. +% \global\setproperty{\xrlabel{#1}}{class}{#3}% + \setpropertyglobal{\xrlabel{#1}}{class}{#3}% + \endgroup % From \@definelabel. +}% +% Warn and then redefine a label. +\def\@definelabel@warn#1#2#3{% + \message{^^J\linenumber Label `#1' multiply defined, + value `#2' of class `#3' overwriting value + `\csname\xrlabel{#1}\endcsname' of class + `\getproperty{\xrlabel{#1}}{class}'.}% + \@definelabel@nocheck{#1}{#2}{#3}% +}% +% +% \reftie is used by several cross-referencing macros to separate +% optional text from label reference. \refspace is used by \ref to +% separate optional text from \CLASSword and by \xref to separate +% optional text from `p. '. +% +\def\reftie{\penalty\@M \ }% Do not rely on `~' being defined as a tie. +\let\refspace\ +% +% Typeset a reference to the label #1. If optional argument is +% present it will be tied with \reftie to the reference and become +% part of the hyperlink. +% +\def\xrefn{\@getoptionalarg\@finxrefn}% +\def\@finxrefn#1{% + % Hyperlink and optional TEXT. + \hlstart@impl{ref}{#1}% + \ifx\@optionalarg\empty \else + % Save \@optionalarg before it is trashed by \readauxfile. + \let\@xrefnoptarg\@optionalarg + % Read .aux file -- \@optionalarg may contain cross-references. + \readauxfile + % Typeset the \@optionalarg + {\@@hloff\@xrefnoptarg}\reftie + \fi + % Typeset the reference. + \plain@xrefn{#1}% + \hlend@impl{ref}% +}% +% This is equivalent to \xrefn but without the hyperlink stuff and the +% optional parameter so that its expansion does not contain the many +% \let's, \def's and such which the expansion of \xrefn contains. It +% is needed by \eqdefn and \eqsubdefn to be able to `cleanly' write +% texts of equation labels to .aux file. It is also used when +% functionality of \xrefn is needed without the hyperlink and the +% optional parameter. +\def\plain@xrefn#1{% + \readauxfile + % + \expandafter \ifx\csname\xrlabel{#1}\endcsname\relax + \if@citewarning + \message{\linenumber Undefined label `#1'.}% + \fi + % + % Give it a dummy definition, though, to stop multiple error messages. + \expandafter\def\csname\xrlabel{#1}\endcsname{% + `{\tt + \escapechar = -1 + \expandafter\string\csname#1\endcsname + }'% + }% + \fi + \csname\xrlabel{#1}\endcsname % Always produce something. +}% +% +% \refn is just a synonym. +% +\let\refn = \xrefn +% +% One common case: print `p. ' before the page number. +% +\def\xrefpageword{p.\thinspace}% +% +\def\xref{\@getoptionalarg\@finxref}% +\def\@finxref#1{% + % Hyperlink and optional TEXT. + \hlstart@impl{xref}{#1}% + \ifx\@optionalarg\empty \else + {\@@hloff\@optionalarg}\refspace + \fi + % Typeset page reference but omit hyperlink. + \xrefpageword\plain@xrefn{#1}% + \hlend@impl{xref}% +}% +% +% \ref[TEXT]{LABEL} typesets TEXT, \CLASSword for LABEL's class (if it's defined) +% and then does \refn on LABEL. But amstex also has a \ref, so tell the +% user if they try to use \ref and have loaded amsppt.sty. +% +% \refs{LABEL} is similar, but puts the letter `s' after the \...word, thus +% producing (for example) `Figures 1.2' (presumably to be followed by +% `and~\refn{fig-1.3}'). +% +% Note that \ref takes an optional TEXT, while \refs does not. This +% text (together with \CLASSword) will become part of the hyperlink +% generated by \ref. \refs does not include \CLASSword in the +% hyperlink. +% +\def\@maybewarnref{% + \ifundefined{amsppt.sty}% + % No amsppt.sty, so just use ours. + \else + \message{Warning: amsppt.sty and Eplain both define \string\ref. See + the Eplain manual.}% + % Remember their definition. + \let\amsref = \ref + \fi + \let\ref = \eplainref + \ref +} +\let\ref = \@maybewarnref +% +\def\eplainref{\@getoptionalarg\@fineplainref}% +\def\@fineplainref{\@generalref{1}{}}% +\def\refs{\let\@optionalarg\empty \@generalref{0}s}% +% +% #1 is an integer flag which tells whether hyperlink should include +% \@optionalarg and class word (non-0) or not (0). #2 is the text to +% follow the \...word. Both #1 and #2 are supplied by the macros +% above. #3 comes from the document, and is the LABEL. +% +% \reftie separates \@optionalarg or \..word from \refn; \refspace +% separates \@optionalarg from \..word. +% +\def\@generalref#1#2#3{% + % Save \@optionalarg before it is trashed by \readauxfile. + \let\@generalrefoptarg\@optionalarg + \readauxfile + % Maybe start hyperlink here. + \ifcase#1 \else \hlstart@impl{ref}{#3}\fi + % Get the class of the label. + \edef\@generalref@class{\getproperty{\xrlabel{#3}}{class}}% + % If the word for this class is not defined, don't complain. + \expandafter\ifx\csname \@generalref@class word\endcsname\relax + % Produce \@optionalarg followed by a \reftie, if \@optionalarg is + % not empty. + \ifx\@generalrefoptarg\empty \else {\@@hloff\@generalrefoptarg\reftie}\fi + \else + \begingroup + \@@hloff + % Produce \@optionalarg, if not empty, followed by a \refspace. + \ifx\@generalrefoptarg\empty \else \@generalrefoptarg \refspace \fi + % Produce the word. + \csname \@generalref@class word\endcsname + % Add the suffix and then put in a \reftie before the \refn. + #2\reftie + \endgroup + \fi + % Maybe start hyperlink here. + \ifcase#1 \hlstart@impl{ref}{#3}\fi + % Typeset the reference omitting hyperlinks. + \plain@xrefn{#3}% + \hlend@impl{ref}% +}% +% +% +% References to equations are similar. +% +% \eqref{foo} produces ``(<text for equation label foo>)''. +% \eqdefn{foo} advances \eqnumber, resets \eqsubnumber, and defines +% `foo' to be the new number. +% \eqsubdefn{foo} advances \eqsubnumber and defines `foo'. \eqref works +% for both equations and subequations, +% \eqdef{foo} does \eqdefn, then inserts an \eqno and \eqref. +% \eqsubdef{foo} does \eqsubdefn, then what \eqdef does. +% +% The non-``sub'' macros also take an optional argument; if it's +% present, we use it as the text for the equation label, instead of the +% various counters. +% +% Because there are no page break issues with equations, we can +% immediately define the control sequence. But we also need to write +% the definition out, in case the user wants to forward reference an +% equation (bad style as that may be). +% +% The current equation number is in \eqnumber; we just advance it by one +% for each \eqdef. You can handle fancier equation numbers (e.g., ones +% that include a chapter number) by redefining \eqprint, below, and +% using your own counters. We do provide for one level of substructure, +% since that's more painful to implement than superstructures. +% +\newcount\eqnumber +\newcount\subeqnumber +% +% +% \eqdefn[TEXT]{LABEL} defines LABEL to be TEXT (if it's present), +% otherwise it advances \eqnumber and defines LABEL to be that. It +% doesn't produce anything. +% +\def\eqdefn{\@getoptionalarg\@fineqdefn}% +\def\@fineqdefn#1{% + \ifx\@optionalarg\empty + \global\advance\eqnumber by 1 + % We call \eqconstruct here instead of in \@eqdefn because we don't + % want to expand it for \eqsubdefn -- \eqsubdefn already includes an + % \eqrefn which includes the text of the label which was \eqconstructed. + \def\temp{\eqconstruct{\number\eqnumber}}% + \else + % In the next \def there is (I believe) a spurious \noexpand. + % I leave in the old definition, albeit commented out, in case the + % \noexpand really _is_ necessary. But I don't thikn so. Adam Lewenberg +% \def\temp{\noexpand\@optionalarg}% + \def\temp{\@optionalarg}% + \fi + % + % Always reset the current subequation number: + \global\subeqnumber = 0 + % + % Remember this label, so that we can define subequations: + \gdef\@currenteqlabel{#1}% + \toks0 = \expandafter{\@currenteqlabel}% + % + % Actually do the definition, replacing \xrefn and \eqrefn with + % \plain@xrefn and taking precautions not to expand \plain@xrefn + % in what we output to the aux file. \plain@xrefn expands to many things, + % including \count@'s and \edef's and the expansion of \xrlabel, and + % it's just a real mess. + \begingroup + \def\eqrefn{\noexpand\plain@xrefn}% + \def\xrefn{\noexpand\plain@xrefn}% + \edef\temp{\noexpand\@eqdefn{\the\toks0}{\temp}}% + \temp + \endgroup +}% +% +% +% \eqsubdefn defines its argument as a ``subequation'' of the last \eqdef. +% +\def\eqsubdefn#1{% + \global\advance\subeqnumber by 1 + \toks0 = {#1}% + % + % Get the text of the label; + \toks2 = \expandafter{\@currenteqlabel}% + % + % We must expand \@currenteqlabel. We have to not expand + % \eqsubreftext here, as well as \plain@xrefn (which we substitute + % for \eqrefn and \xrefn), since the first arg to \eqsubreftext + % could also include lots of complicated things. + \begingroup + \def\eqrefn{\noexpand\plain@xrefn}% + \def\xrefn{\noexpand\plain@xrefn}% + \def\eqsubreftext{\noexpand\eqsubreftext}% + \edef\temp{% + \noexpand\@eqdefn + {\the\toks0}% + {\eqsubreftext{\eqrefn{\the\toks2}}{\the\subeqnumber}}% + }% + \temp + \endgroup +}% +% +% \@eqdefn{LABEL}{REF-TEXT} actually handles the equation number +% definitions and writing to the aux file. +% +% In contrast to \xrdef, we define LABEL right away (as REF-TEXT). We +% can do this since we know right now what the right equation number is. +% This eliminates some unnecessary warning. It also lets the user put +% \eqdef{} on all equations and have it work, since then \eqref +% refers to the just-defined new value. This however needs special +% treatment with respect to hyperlink labels which should not be +% duplicated. For each \eqdef{}, we define a destination with a +% unique hyperlink label. These labels can be customized with: +\newcount\phantomeqnumber +\def\phantomeqlabel{PHEQ\the\phantomeqnumber}% +% +\def\@eqdefn#1#2{% + % Write out xref into the aux file to allow forward references, but + % only if the label is not empty. Otherwise numerous redefinitions + % of the empty label might be reported. + \ifempty{#1}% + % LABEL is empty, so generate a `phantom' label. + \global\advance\phantomeqnumber by 1 + \edef\hl@eqlabel{\phantomeqlabel}% + % Do not write to the aux file but read it anyway, so that + % \@definelabel's get a chance to do the checks for multiple + % definitions before we define any cross-references. + \readauxfile + \else + % LABEL is not empty, so use it for hyperlinks. + \def\hl@eqlabel{#1}% + % Write the definition to the aux file, but do not create + % hyperlink destination (we'll create it ourselves below). + % This also reads the aux file. + {\@@hldestoff \definexref{#1}{#2}{eq}}% + \fi + % Define hyperlink destination. + \hldest@impl{eq}{\hl@eqlabel}% + % Define the LABEL omitting redefinition check. + \begingroup % \@definelabel@nocheck will end this group. + \@definelabel@nocheck{#1}{#2}{eq}% +}% +% +% \eqdef{LABEL} defines LABEL, with \eqdefn, then prints it. We allow +% an optional argument to explicitly specify the text which we define +% the label as. +% +\def\eqdef{\@getoptionalarg\@fineqdef}% +\def\@fineqdef{% + \toks0 = \expandafter{\@optionalarg}% + \edef\temp{\noexpand\@eqdef{\noexpand\eqdefn[\the\toks0]}}% + \temp +}% +% +% \eqsubdef is to \eqdef as \eqsubdefn is to \eqdefn. No optional +% argument allowed here. +% +\def\eqsubdef{\@eqdef\eqsubdefn}% +% +% \@eqdef{DEFN-CMD}{LABEL} defines LABEL, using DEFN-CMD. Then it +% inserts an \eqno (unless it's called when an \eqno would be invalid). +% Then it prints the newly-defined value using \eqprint. +% +\def\@eqdef#1#2{% + \@maybedisableeqno + \eqnum #1{#2}% Define the label and hyperlink destination. + \let\@optionalarg\empty % \@fineqref will examine \@optionalarg. + {\@@hloff\@fineqref{#2}}% Print the text without a hyperlink. + \@mayberestoreeqno + \ignorespaces +}% +% +% +% If we are in an alignment or some other inner place, \eqno won't work. +% +\let\@mayberestoreeqno = \relax +% +\def\@maybedisableeqno{% + \ifinner + \global\let\eqno = \relax + \global\let\leqno = \relax + \global\let\@mayberestoreeqno = \@restoreeqno + \fi +}% +% +% This makes `\eqno' mean \eqno again. +% +\let\@primitiveeqno = \eqno +\let\@primitiveleqno = \leqno +\def\@restoreeqno{% + \global\let\eqno = \@primitiveeqno + \global\let\leqno = \@primitiveleqno + \global\let\@mayberestoreeqno = \empty +}% +% +% +% \righteqnumbers/\lefteqnumbers configure \eqnum, \eqdef +% and \eqalignnum to place the equation number against right/left +% margin respectively. +% +\def\righteqnumbers{% + \def\eqnum{\eqno}% + \def\eqalignnum{\eqalignno}% +}% +% +\def\lefteqnumbers{% + \def\eqnum{\leqno}% + \def\eqalignnum{\leqalignno}% +}% +% +\righteqnumbers +% +% +% \eqrefn[TEXT]{LABEL} produces the text for the equation label LABEL, or +% something suitable if LABEL is undefined. (It possibly issues a +% warning in the latter case as well.) TEXT followed by a \reftie is +% prepended to the equation text as part of the hyperlink. +% +\def\eqrefn{\@getoptionalarg\@fineqrefn}% +\def\@fineqrefn#1{% + \eqref@start{#1}% + % Typeset the equation reference but do not produce hyperlink. + \plain@xrefn{#1}% + \hlend@impl{eq}% +}% +% +% \eqref[TEXT]{LABEL} is the usual way to refer to equation labels; it +% calls \eqprint on the text of LABEL, prepending it with TEXT and a +% \reftie as part of the hyperlink. +% +\def\eqref{\@getoptionalarg\@fineqref}% +\def\@fineqref#1{% + \eqref@start{#1}% + % Typeset the equation reference but do not produce hyperlink. + \eqprint{\plain@xrefn{#1}}% + \hlend@impl{eq}% +}% +% Common code executed at the start of \@fineqrefn and \@fineqref. +\def\eqref@start#1{% + % Save \@optionalarg in case \phantomeqlabel is redefined by the + % user to something that trashes it. + \let\@eqrefoptarg\@optionalarg + % Hyperlink (fetch last `phantom' equation label if LABEL is empty). + \ifempty{#1}% + \hlstart@impl{eq}{\phantomeqlabel}% + \else + \hlstart@impl{eq}{#1}% + \fi + % Optional TEXT followed by a \reftie. + \ifx\@eqrefoptarg\empty \else + {\@@hloff\@eqrefoptarg\reftie}% + \fi +}% +% +% +% \eqconstruct{EQ-TEXT} constructs an equation number, i.e., the text to +% be defined as the value of a label. +% +\let\eqconstruct = \identity +% +% \eqprint{EQ-TEXT} produces the typeset equation number EQ-TEXT. +% +\def\eqprint#1{(#1)}% +% +% \eqsubreftext{EQ-TEXT}{SUBEQ-TEXT} produces the text of a subequation +% reference. (\eqprint is later called on the result of this to produce +% output for subequations; I didn't define any \subeqprint.) +% +\def\eqsubreftext#1#2{#1.#2}% +% +% +% +% Indexing. +% +% \defineindex{PREFIX} defines an index with ``prefix'' PREFIX. The +% prefix is used to construct the output filename and the various +% commands. We just define all the index commands for this index to +% call the general commands with PREFIX. +% +\let\extraidxcmdsuffixes = \empty +% +\outer\def\defineindex#1{% + \def\@idxprefix{#1}% + % + % Define a switch to control opening and writing of the index file + % for this prefix. + \expandafter\innernewif\csname if\@idxprefix dx\endcsname + \csname \@idxprefix dxtrue\endcsname + % + % Define the indexing commands for this prefix. + \for\@idxcmd:=,marked,submarked,name% + \extraidxcmdsuffixes\do + {% + \@defineindexcmd\@idxcmd + }% + % + % Allocate a stream for the output. + \ece\innernewwrite{@#1indexfile}% + % + % And a conditional to test whether we've opened the file. + \ece\innernewif{if@#1indexfileopened}% +}% +% +% +% \@defineindexcmd{SUFFIX} defines both silent and non-silent index +% command for prefix \@idxprefix with suffix SUFFIX. That is, we define +% both `\@idxprefix dxSUFFIX' and `\s\@idxprefix dxSUFFIX' to call the +% corresponding generic command with \@idxprefix. \silentindexentry is +% used to decide whether we should ignore following spaces. +% +\newif\ifsilentindexentry +% +\def\@defineindexcmd#1{% + \@defineoneindexcmd{s}{#1}\silentindexentrytrue + \@defineoneindexcmd{}{#1}\silentindexentryfalse +}% +% +% +% \@defineoneindexcmd{PREFIX}{SUFFIX}{PRECALL} does just one silent or +% non-silent commands. We define the command `\@@PREFIXidxSUFFIX' to do +% PRECALL, then define \@idxprefix, then call \@idxgetrange with an +% argument of `\@@{,s}idxSUFFIX'. (So far every indexing command +% should allow a range. If not, you could redefine `\@@{,s}idxSUFFIX' +% after this macro is called.) +% +\def\@defineoneindexcmd#1#2#3{% + \toks@ = {#3}% + \edef\temp{% + \def + % We have to restrict expansion because the generic (\@@...) + % commands will be defined after the first call to \defineindex. + % Not expanding the user (\idx...) commands is unnecessary unless + % the user has defined some new commands, but may as well be cautious. + \expandonce\csname#1\@idxprefix dx#2\endcsname % e.g., \idx or \sidxname. + {\def\noexpand\@idxprefix{\@idxprefix}% define \@idxprefix + % call, e.g., \@@idx or \@@sidxname: + \expandonce\csname @@#1idx#2\endcsname + }% + \def + \expandonce\csname @@#1idx#2\endcsname{% e.g., \@@idx + % First do PRECALL. + \the\toks@ + % Then call \@idxgetrange with, e.g., \@idx or \@sidxname as its arg. + \noexpand\@idxgetrange\expandonce\csname @#1idx#2\endcsname + }% + }% + \temp +}% +% +% +% \@idxwrite{TERM}{PAGENO} writes a general index entry for TERM on page +% PAGENO to the index file `\@idxprefix indexfile'. We open the stream +% as `\indexfilebasename.\@idxprefix dx' if it isn't already open. We +% only write out the index term if this has not been disabled with +% \csname\@idxprefix dxfalse\endcsname. +% +\let\indexfilebasename = \jobname +% +\def\@idxwrite#1#2{% + \csname if\@idxprefix dx\endcsname + % Be sure the file is opened. + \@openidxfile + % + % Save the index term. + \def\temp{#1}% + % + % Write the index term and page number. + \edef\@wr{% + \expandafter\write\csname @\@idxprefix indexfile\endcsname{% + \string\indexentry + {\sanitize\temp}% + {\noexpand#2}% + }% + }% + \@wr + \else + % Produce a whatsit anyway, to ensure consistent page-breaking. + \write-1{}% + \fi + % + % Marginalize the index term, if desired. We \sanitize the term to + % avoid expansion of any (user-defined) active characters that made + % it through (e.g., because they had not been added to \dospecials + % and hence were not read verbatim by the indexing commands). + \ifindexproofing + \def\temp{#1}% + \edef\temp{% + \insert\@indexproof{\noexpand\indexproofterm{\sanitize\temp}}% + }% + \temp + % Allow `infinitesimal' in \sidx{Infinitesimal}infinitesimal to be + % hyphenated. + \ifhmode\allowhyphens\fi + \fi + % + % We just appended at least one non-discardable item (namely, the + % whatsit from the \write) to the current list. So in case glue comes + % next (not unlikely), be sure we don't inadvertently make that glue a + % valid breakpoint, if it wouldn't have been without us. + \hookrun{afterindexterm}% + % + % This is the end of the index entry processing. If this was a silent + % entry, ignore following spaces. + \ifsilentindexentry \expandafter\ignorespaces\fi +}% +% +\def\@openidxfile{% + \csname if@\@idxprefix indexfileopened\endcsname \else + \expandafter\immediate\openout\csname @\@idxprefix indexfile\endcsname = + \indexfilebasename.\@idxprefix dx + \expandafter\global\csname @\@idxprefix indexfileopenedtrue\endcsname + \fi +}% +% +% +% If this conditional is true, we output the index terms on the page +% where they occur. +\newif\ifindexproofing +% +% We need a new insertion class to collect the proofed terms. +\newinsert\@indexproof +\dimen\@indexproof = \maxdimen % No limit on number of terms. +\count\@indexproof = 0 \skip\@indexproof = 0pt % They take up no space. +% +% This actually typesets the proofed term. We don't go to any lengths +% to provide nice-looking output; since the term might have all kinds of +% weird characters in it, we just dump it in the smallest standard +% Computer Modern typewriter font. +% +% We put the term in an \hbox, even though that might make the output +% run off the page, since we don't really need to see all of it, and +% I think it's better to opt for simplicity -- one term per line. +\font\indexprooffont = cmtt8 +\def\indexproofterm#1{\hbox{\strut \indexprooffont #1}}% +% +% +% If \output doesn't use \makeheadline, or redefines it, it's up to the +% new \output to define index hyperlink destination and to call +% \indexproofunbox. +\let\@plainmakeheadline = \makeheadline +\def\makeheadline{% + % Define index page destination only when this `page anchor' is defined. + \expandafter\ifx\csname\idxpageanchor{\folio}\endcsname\relax \else + % Say \@@hldeston in case a page break happened at an unfortunate + % time when user said \hldestoff. + {\@@hldeston \hldest@impl{idx}{\hlidxpagelabel{\folio}}}% + \fi + \indexproofunbox + \@plainmakeheadline +}% +% +% We want to put the proof index terms in the margin, outside the +% printed area. So if \outsidemargin (for odd pages) and \insidemargin +% (for even pages) are undefined, we define them (both) to be the default +% TeX margin -- one inch + \hoffset. +\def\indexsetmargins{% + \ifx\undefined\outsidemargin + \dimen@ = 1truein + \advance\dimen@ by \hoffset + \edef\outsidemargin{\the\dimen@}% + \let\insidemargin = \outsidemargin + \fi +}% +% +% We always put the terms in the right-hand margin, so long terms run +% off the page, instead of into the text. +\def\indexproofunbox{% + \ifvoid\@indexproof\else + \indexsetmargins + \rlap{% + \kern\hsize + \ifodd\pageno \kern\outsidemargin \else \kern\insidemargin \fi + \vbox to 0pt{\unvbox\@indexproof\vss}% + }\nointerlineskip + \fi +}% +% +% +% \@idxgetrange\CS parses an optional argument which, if present, should +% be either `begin' or `end', marking the beginning or ending of a range +% for the index entry. If we find this, we set the appropriate one of +% \@idxrangestr. Then we call \CS. +% +% If the optional argument is `see' or `seealso' we read another +% argument, namely, the entry to see. +% +\def\idxrangebeginword{begin}% +\def\idxbeginrangemark{(}% the corresponding magic char to go in the idx file +% +\def\idxrangeendword{end}% +\def\idxendrangemark{)}% +% +\def\idxseecmdword{see}% +\def\idxseealsocmdword{seealso}% +\newif\if@idxsee +\newif\if@hlidxencap +\let\@idxseenterm = \relax +% +\def\idxpagemarkupcmdword{pagemarkup}% +\let\@idxpagemarkup = \relax +% +\def\@idxgetrange#1{% + \let\@idxrangestr = \empty + \let\@afteridxgetrange = #1% + % Since \@getoptionalarg scans ahead, it might scan the \idxargopen + % character of the following non-optional argument if the optional + % argument is missing. To make sure that \idxargopen gets the right + % catcode, we need to set it up before calling \@getoptionalarg. + \begingroup + \catcode\idxargopen=1 + \@getoptionalarg\@finidxgetopt +}% +\def\@finidxgetopt{% + \global\let\@idxgetrange@arg\@optionalarg + \endgroup + % + \@hlidxencaptrue + % + \for\@idxarg:=\@idxgetrange@arg\do{% + % These are ordered by my guess at frequency of use. + \expandafter\@idxcheckpagemarkup\@idxarg=,% + % + \ifx\@idxarg\idxrangebeginword + \def\@idxrangestr{\idxencapoperator\idxbeginrangemark}% + \else + \ifx\@idxarg\idxrangeendword + \def\@idxrangestr{\idxencapoperator\idxendrangemark}% + \@hlidxencapfalse + \else + \ifx\@idxarg\idxseecmdword + \def\@idxpagemarkup{indexsee}% + \@idxseetrue + \@hlidxencapfalse + \else + \ifx\@idxarg\idxseealsocmdword + \def\@idxpagemarkup{indexseealso}% + \@idxseetrue + \@hlidxencapfalse + \else + \ifx\@idxpagemarkup\relax + \errmessage{Unrecognized index option `\@idxarg'}% + \fi + \fi + \fi + \fi + \fi + }% + % Stick hyperlink encapsulator into \@idxpagemarkup. + \ifnum\hldest@place@idx < 0 \else + \if@hlidxencap + \ifx\@idxpagemarkup\relax + % Even when user gives no pagemarkup command, we still do + % insert our hyperlink encapsulator. + \let\@idxpagemarkup\empty + \fi + \ifcase\hldest@place@idx \relax + % \hldest@place@idx = 0, dests point to a page with a term. + \edef\@idxpagemarkup{hlidxpage{\@idxpagemarkup}}% + % We want to define index \hldest's only on those + % pages which contain at least one index term, so this + % `page anchor' will tell \makeheadline on which pages to + % generate an \hldest. + \definepageanchor{\noexpand\folio}% + \else + % \hldest@place@idx = 1, dests point to exact location of a term. + \global\advance\hlidxlabelnumber by 1 + \edef\@idxpagemarkup{hlidx{\hlidxlabel}{\@idxpagemarkup}}% + \hldest@impl{idx}{\hlidxlabel}% + \fi + \fi + \fi + % + \@afteridxgetrange +}% +% +% +% Check for a command of the form `pagemarkup=\cmd', and if found, set +% \@idxpagemarkup to `cmd'. +% +\def\@idxcheckpagemarkup#1=#2,{% + \def\temp{#1}% + \ifx\temp\idxpagemarkupcmdword + \if ,#2, % If #2 is empty, complain. + \errmessage{Missing markup command to `pagemarkup'}% + \else + % Remove a trailing =. + \def\temp##1={##1}% + \edef\@idxpagemarkup{\temp\string#2}% + \fi + \fi +}% +% +% +% \hlidxpage and \hlidx are hyperlink encapsulators for the two types +% of hyperlink destinations for index terms. +% +% \hldest@place@idx defines which type is selected. When defined to 0, +% we generate destinations pointing to the page on which the indexed +% term is located. When defined to 1, we generate destinations +% pointing to exact location of the indexed term. When negative, we +% generate no hyperlinks / destinations. +\def\hldest@place@idx{-1}% +% +% \idxpageanchor{PAGE} expands to index page anchor internal name. +% This page anchor is used when index entries point to pages. Like in +% \xrlabel, we append an _ character to NAME, to help avoid conflicts. +% And we append a `p' so that we don't redefine \_ on an empty label. +\begingroup + % Mike Spivak's MathTime macros for Times Roman fonts changes the + % catcode of _ to be active. Undo that. (From adam@symcom.math.uiuc.edu.) + \catcode`\_ = 8 + \gdef\idxpageanchor#1{#1_p}% +\endgroup +% \definepageanchor{PAGE} defines a page anchor for the page PAGE. +% \makeheadline will then define a hyperlink destination on top of +% each page for which an anchor is defined. To get a possible page +% number right, we have to write the definition out to the auxiliary +% file, instead of only defining it directly. +\def\definepageanchor#1{% + % Be sure we've read the aux file before we zap it: + \readauxfile + % + % When we read in the aux file next time, define the label: + \edef\@wr{\noexpand\writeaux{\string\@definepageanchor{#1}}}% + \@wr + \ignorespaces +}% +% \@definepageanchor{PAGE} actually defines page anchor for the PAGE. +\def\@definepageanchor#1{% + \expandafter\gdef\csname\idxpageanchor{#1}\endcsname{}% +}% +% +% Hyperlink labels for both types of destinations. +\newcount\hlidxlabelnumber +\def\hlidxlabel{IDX\the\hlidxlabelnumber}% +\def\hlidxpagelabel#1{IDXPG#1}% +% +% \hlidx{HYPERLINK-LABEL}{PAGEENCAP}{PAGESPEC} +\def\hlidx#1#2#3{% + \ifempty{#2}% + \let\@idxpageencap\relax + \else + \expandafter\let\expandafter\@idxpageencap\csname #2\endcsname + \fi + \hlstart@impl{idx}{#1}% + \@idxpageencap{#3}% + \hlend@impl{idx}% +}% +% +% \hlidxpage{PAGEENCAP}{PAGESPEC} +% +% We expect PAGESPEC to be one of the following: +% 14 (single page number) +% 14, 15 (list of two consecutive page numbers) +% 14--15 (page range) +% +% If you configure MakeIndex to use different page list separator +% (delim_n parameter in .mst file) / different page range separator +% (delim_r parameter), you should call \setidxpagelistdelimiter / +% \setidxpagerangedelimiter to setup the new separators. +% +% In case of a single page number, we call \PAGEENCAP on the page +% number and turn the result into a hyperlink. +% +% In case of a two-page list, we break the list, call \PAGEENCAP on +% each of the page numbers separately, and turn each result into a +% hyperlink, producing page list separator between the page numbers. +% +% In case of a page range, we do not break the range, call \PAGEENCAP +% on the entire range and turn what results into a hyperlink for the +% first of the page numbers. +\def\hlidxpage#1#2{% + % Set \@idxpagei[i][ref] and \@idxpagesep + \@hlidxgetpages{#2}% + % Alias for \PAGEENCAP. + \ifempty{#1}% + \let\@idxpageencap\relax + \else + \expandafter\let\expandafter\@idxpageencap\csname #1\endcsname + \fi + % Now comes the first part, to be done in any of the three cases. + \hlstart@impl{idx}{\hlidxpagelabel{\@idxpageiref}}% + \expandafter\@idxpageencap\expandafter{\@idxpagei}% + \hlend@impl{idx}% + % The second part, to be done only if there is a second page number. + \ifx\@idxpageii\empty \else + \@idxpagesep + \hlstart@impl{idx}{\hlidxpagelabel{\@idxpageiiref}}% + \expandafter\@idxpageencap\expandafter{\@idxpageii}% + \hlend@impl{idx}% + \fi +}% +% +% This macro parses PAGESPEC parameter to \hlidxpage. It sets +% \@idxpagei to the first page number, \@idxpageii to the second (if +% present; if not, \@idxpageii will be set to \empty). For the first +% page number, use \@idxpageiref to construct hyperlink label; for +% the second page number, use \@idxpageiiref. Use \@idxpagesep to +% separate the two page numbers. +% +% NOTE: we use \@idxpagei[i], not \idxpagei[i], because the user may +% use \idxparselist / \idxparserange in his \PAGEENCAP, in which case +% our \idxpagei[i]'s will get garbled. +\def\@hlidxgetpages#1{% + % Try to parse a two-page list. + \idxparselist{#1}% + \ifx\idxpagei\empty + % It is not a two-page list, try page range. + \idxparserange{#1}% + \ifx\idxpagei\empty + % It is neither a two-page list nor a page range, so we assume + % it is a single page number. + \def\@idxpageiref{#1}% Label for \hlstart. + \else + % It is a page range. + \let\@idxpageiref\idxpagei % Label for \hlstart. + \fi + \def\@idxpagei{#1}% + \let\@idxpageii\empty + \else + % It is a two-page list. + \let\@idxpagei\idxpagei + \let\@idxpageii\idxpageii + \let\@idxpageiref\idxpagei % Label for \hlstart. + \let\@idxpageiiref\idxpageii % Label for \hlstart. + \let\@idxpagesep\idxpagelistdelimiter + \fi +}% +% +% Set up a macro \@idxparselist and user-accessible \idxparselist for +% parsing two-page list. Takes list separator (which is saved in +% \idxpagelistdelimiter). If the list is found, \@idxparselist will +% set \idxpagei to the first page number, \idxpageii to the second; +% if not found, it will set \idxpagei to \empty (this implies that +% the list's first page number should never be empty). +\def\setidxpagelistdelimiter#1{% + \gdef\idxpagelistdelimiter{#1}% + \gdef\@removepagelistdelimiter##1#1{##1}% + \gdef\@idxparselist##1#1##2\@@{% + \ifempty{##2}% + \let\idxpagei\empty + \else + \def\idxpagei{##1}% + \edef\idxpageii{\@removepagelistdelimiter##2}% + \fi + }% + \gdef\idxparselist##1{\@idxparselist##1#1\@@}% +}% +% +% Same as previous, but \@idxparserange and \idxparserange will parse +% page range, range separator is saved in \idxpagerangedelimiter. +\def\setidxpagerangedelimiter#1{% + \gdef\idxpagerangedelimiter{#1}% + \gdef\@removepagerangedelimiter##1#1{##1}% + \gdef\@idxparserange##1#1##2\@@{% + \ifempty{##2}% + \let\idxpagei\empty + \else + \def\idxpagei{##1}% + \edef\idxpageii{\@removepagerangedelimiter##2}% + \fi + }% + \gdef\idxparserange##1{\@idxparserange##1#1\@@}% +}% +% +% Set up the default delimiters. +\setidxpagelistdelimiter{, }% +\setidxpagerangedelimiter{--}% +% +% +% \@idxtokscollect uses \@idxmaintoks as the token list for the main +% part of an index entry and \@idxsubtoks for the subpart. Then it +% calls \@idxwrite. +% +\def\idxsubentryseparator{!}% +\def\idxencapoperator{|}% +\def\idxmaxpagenum{99999}% +% +\newtoks\@idxmaintoks +\newtoks\@idxsubtoks +% +\def\@idxtokscollect{% + % Remember the subentry. + \edef\temp{\the\@idxsubtoks}% + % + % We want to expand the conditions, but not the terms. The index + % entry starts simply with \@idxmaintoks and \@idxsubtoks. + \edef\@indexentry{% + \the\@idxmaintoks + \ifx\temp\empty\else \idxsubentryseparator\the\@idxsubtoks \fi + \@idxrangestr + }% + % + % If this is a `see' or `see also' entry, we need to read one more + % arg. We use a giant page number so the entry will be last (for the + % benefit of `see also's). MakeIndex rejects page numbers >=1000. + % + \if@idxsee + \@idxseefalse % Reset so the next term won't be a `see'. + \edef\temp{\noexpand\idx@getverbatimarg + {\noexpand\@finidxtokscollect{\idxmaxpagenum}}}% + \else + \def\temp{\@finfinidxtokscollect\folio}% + \fi + \temp +}% +% +% +% \@finidxtokscollect{PAGENO}{REAL-TERM} reads the final term for +% see/see also entries. We do not check if the person has put both a +% range and a see in the same index term (which will confuse makeindex). +% +\def\@finidxtokscollect#1#2{% + \def\@idxseenterm{#2}% + \@finfinidxtokscollect{#1}% +}% +% +% \@finfinidxtokscollect{PAGENO} writes \@indexentry for page PAGENO. +% Besides \@indexentry, if \@idxpagemarkup is not \relax we output an +% index entry \@indexentry|\@idxpagemarkup{PAGENO} (but omitting | if +% this is a range term, because in that case | will have been added +% together with \@idxrangestr in \@idxtokscollect). And if +% \@idxseenterm is not \relax we output {\@idxseenterm} after the +% \@idxpagemarkup. (This will become an argument to the ``markup'' +% command, which will be \indexsee or \indexseealso.) +% +\def\@finfinidxtokscollect#1{% + % If we've got a page markup command, append it. + \ifx\@idxpagemarkup\relax \else + \toks@ = \expandafter{\@indexentry}% + \edef\@indexentry{% + \the\toks@ + % Add | only if this is not a range term, otherwise | has + % already been added with \@idxrangestr by \@idxtokscollect. + \ifx\@idxrangestr\empty \idxencapoperator \fi + \@idxpagemarkup + }% + \let\@idxpagemarkup = \relax + \fi + % + % If we've got an argument to the ``page markup'' command, append it. + \ifx\@idxseenterm\relax \else + \toks@ = \expandafter{\@indexentry}% + \edef\@indexentry{\the\toks@{\sanitize\@idxseenterm}}% + \let\@idxseenterm = \relax + \fi + % + % Finally, write what we've constructed. + \expandafter\@idxwrite\expandafter{\@indexentry}{#1}% +}% +% +% +% \@idxcollect{MAIN}{SUB} sets up the token registers +% \@idx{main,sub}toks, then calls \@idxtokscollect. This is convenient +% for some of the macros below. +% +\def\@idxcollect#1#2{% + \@idxmaintoks = {#1}% + \@idxsubtoks = {#2}% + \@idxtokscollect +}% +% +% +% Macros for reading verbatim the TERM, SUBTERM, SEE and SEEALSO +% arguments of indexing commands. +% +% These can be customized by the user to different beginning and +% end of group characters, so that `{' and `}' can be used inside +% index terms. +\def\idxargopen{`\{}% +\def\idxargclose{`\}}% +% \idx@getverbatimarg#1{ARG} reads ARG verbatim and then calls #1 with +% that argument. We use it to read all TERM, (non-optional) SUBTERM, +% SEE and SEEALSO arguments. +\def\idx@getverbatimarg#1{% + \def\idx@getverbatimarg@cmd{#1}% Save the command, allowing it to be + % more than just a command sequence. + \begingroup + \uncatcodespecials + \catcode\idxargopen=1 + \catcode\idxargclose=2 + \catcode`\ =10 % Swallow multiple consequent spaces. + \catcode`\^^I=10 % Just in case, to avoid dependence on + \catcode`\^^M=5 % current meanings of tabs and newlines. + \idx@fingetverbatimarg +}% +\def\idx@fingetverbatimarg#1{\endgroup\idx@getverbatimarg@cmd{#1}}% +% \idx@getverboptarg#1[ARG] reads ARG verbatim and then calls #1 with +% that argument. We use it to read all optional SUBTERM arguments. +% This is adopted from btxmac.tex's \@getoptionalarg. +\def\idx@getverboptarg#1{% + \def\idx@optionaltemp{#1}% Save the command, allowing it to be more + % than just a command sequence (unlike \@getoptionalarg). + \let\idx@optionalnext = \relax + % If this is a SEE or SEEALSO entry, we know that another + % non-optional arg follows, delimited by the \idxargopen and + % \idxargclose characters. Since \@futurenonspacelet scans ahead, + % it might scan \idxargopen if the optional argument is missing. To + % make sure that \idxargopen gets the right catcode, we need to set + % it up before calling \@futurenonspacelet. + \begingroup + \if@idxsee \catcode\idxargopen=1 \fi + \@futurenonspacelet\idx@optionalnext\idx@bracketcheck +}% +% The \expandafter's in this macro let us avoid the use of \aftergroup, +% which is somewhat more expensive. +\def\idx@bracketcheck{% + \ifx [\idx@optionalnext + \endgroup % Cancel \catcode\idxargopen=1. + \expandafter\idx@finbracketcheck + \else + \endgroup % Cancel \catcode\idxargopen=1. + \let\@optionalarg = \empty + % We can't do the \temp after the \fi, because then the \temp gets + % in the way of reading the optional argument from the input, if + % we do have one. + \expandafter\idx@optionaltemp + \fi +}% +% +\def\idx@finbracketcheck{% + \begingroup + \uncatcodespecials + % `[' should already be \other since \idx@bracketcheck succeeded; + % we assume that the user also didn't give `]' a funky catcode + % (otherwise it should have been added to \dospecials, anyway). + %\catcode`\[=\other + %\catcode`\]=\other + \catcode`\ =10 % Swallow multiple consequent spaces. + \catcode`\^^I=10 % Just in case, to avoid dependence on + \catcode`\^^M=5 % current meanings of tabs and newlines. + \idx@@getoptionalarg +}% +% +\def\idx@@getoptionalarg[#1]{% + \endgroup + \def\@optionalarg{#1}% + \idx@optionaltemp +}% +% +% Produce term (which has been scanned verbatim) as output, rescanning +% with `real' catcodes. \endinput ensures TeX does not see the ending +% newline. Stepan Kasal verified that it is necessary both for e-TeX +% and for ordinary TeX (see texinfo.tex). We reset catcode of newline +% because \scantokens (both the e-TeX primitive and the Eplain's +% emulation) generate a trailing newline when newline is catcode 13 +% (putting \scantokens in an \hbox also fixes that newline--strange). +% We don't write `\endinput' directly because the merge script strips +% any lines with an \endinput. +{\catcode`\&=0 +\gdef\idx@scanterm#1{% + \edef\idx@scanterm@nl@catcode{\the\catcode`\^^M\relax}% + \catcode`\^^M=5 + \scantokens{#1&endinput}% + \catcode`\^^M=\idx@scanterm@nl@catcode +}}% +% +% +% Following are the TeX macros that correspond to the commands +% that actually appear in the document. +% +% \@idx{TERM} produces TERM in the output and then makes the index entry +% for TERM as usual. We don't allow a [SUBTERM] here since then we +% would lose spaces after the command, which would be very inconvenient. +% +% As with all our index commands, we've already defined \@idxprefix (in +% \idx or whatever), to save passing it around, and we've looked for a +% range argument before TERM. +% +\def\@idx{\idx@getverbatimarg\@finidx}% +\def\@finidx#1{% + \idx@scanterm{#1}% Produce TERM as output. + \@idxcollect{#1}{}% +}% +% +% \@sidx{TERM}[SUBTERM] produces an index entry TERM and no output. If +% SUBTERM is present, this is a subentry. (At the moment, I don't +% provide for subsubentries, since I've never needed that.) +% +\def\@sidx{\idx@getverbatimarg\@finsidx}% +\def\@finsidx#1{\@idxmaintoks = {#1}\idx@getverboptarg\@finfinsidx}% +\def\@finfinsidx{% + \@idxsubtoks = \expandafter{\@optionalarg}% + \@idxtokscollect +}% +% +% +% \@idxconstructmarked{TOKS-REG}\CS{TERM} +% +\def\idxsortkeysep{@}% This `@' is catcode 11, but it doesn't matter. +% +\def\@idxconstructmarked#1#2#3{% + \toks@ = {#2}% The control sequence. + \toks2 = {#3}% The term. + % + % Construct TERM@\CS{TERM} as the string to write. + \edef\temp{\the\toks2 \idxsortkeysep \the\toks@{\the\toks2}}% + % + % Save it in TOKS-REG. + #1 = \expandafter{\temp}% +}% +% +% +% \@idxmarked\CS{TERM} outputs \CS{TERM} and then makes an index entry +% sorted by TERM but producing \CS{TERM}. +% +\def\@idxmarked#1{\idx@getverbatimarg{\@finidxmarked{#1}}}% +\def\@finidxmarked#1#2{% + \idx@scanterm{#1{#2}}% Produce \CS{TERM} as output. + \@idxconstructmarked\@idxmaintoks{#1}{#2}% + \@idxsubtoks = {}% + \@idxtokscollect +}% +% +% \@sidxmarked\CS{TERM}[SUBTERM] outputs an index entry sorted by TERM +% but producing \CS{TERM}. +% +\def\@sidxmarked#1{\idx@getverbatimarg{\@finsidxmarked{#1}}}% +\def\@finsidxmarked#1#2{% + \@idxconstructmarked\toks@{#1}{#2}% + \edef\temp{{\the\toks@}}% + \expandafter\@finsidx\temp +}% +% +% +% \@idxsubmarked{TERM}\CS{SUBTERM} is like \@idxmarked, except that it's +% SUBTERM that's marked instead of TERM. +% +\def\@idxsubmarked{% + \let\sidxsubmarked@print\idxsubmarked@print + \idx@getverbatimarg\@finsidxsubmarked +}% +\def\idxsubmarked@print{\expandafter\idx@scanterm\expandafter}% +% +% \@sidxsubmarked{TERM}\CS{SUBTERM} is to \@sidxmarked as \@idxsubmarked +% is to \@idxmarked. +% +\def\@sidxsubmarked{% + \let\sidxsubmarked@print\gobble + \idx@getverbatimarg\@finsidxsubmarked +}% +\def\@finsidxsubmarked#1{\@idxmaintoks = {#1}\@@finsidxsubmarked}% Reads TERM. +\def\@@finsidxsubmarked#1{\idx@getverbatimarg{\@@@finsidxsubmarked{#1}}}% Reads \CS. +\def\@@@finsidxsubmarked#1#2{% Reads {\CS}{SUBTERM}. + \sidxsubmarked@print % Prints for \@idxsubmarked, gobbles for \@sidxsubmarked. + {\the\@idxmaintoks\space #1{#2}}% Maybe produce `TERM \CS{SUBTERM}' as output. + \@idxconstructmarked\@idxsubtoks{#1}{#2}% + \@idxtokscollect +}% +% +% +% \@idxcollectname{FIRST}{LAST} puts `LAST, FIRST' into \temp. (Well, +% we use \idxnameseparator instead of hardwiring `, '.) If FIRST is +% empty, don't include the separator. +% +\def\idxnameseparator{, }% as in `Tachikawa, Elizabeth' +% +\def\@idxcollectname#1#2{% + \def\temp{#1}% + \ifx\temp\empty + \toks@ = {}% + \else + \toks@ = \expandafter{\idxnameseparator #1}% + \fi + \toks2 = {#2}% + % + \edef\temp{\the\toks2 \the\toks@}% +}% +% +% +% \@idxname{FIRST}{LAST} also produces `FIRST LAST' in the output and an +% index entry for `LAST, FIRST'. +% +\def\@idxname{\idx@getverbatimarg\@finidxname}% +\def\@finidxname#1{\idx@getverbatimarg{\@finfinidxname{#1}}}% +\def\@finfinidxname#1#2{% + \idx@scanterm{#1 #2}% Separate the names by a space in the output. + \@idxcollectname{#1}{#2}% + \expandafter\@idxcollect\expandafter{\temp}{}% +}% +% +% \@sidxname{FIRST}{LAST}[SUBTERM] is to \@sidx as \@idxname is to +% \@idx. +% +\def\@sidxname{\idx@getverbatimarg\@finsidxname}% +\def\@finsidxname#1{\idx@getverbatimarg{\@finfinsidxname{#1}}}% +\def\@finfinsidxname#1#2{% + \@idxcollectname{#1}{#2}% + \expandafter\@finsidx\expandafter{\temp}% +}% +% +% +% Now we come to actually producing the index, i.e., implementing the +% formatting commands that MakeIndex outputs. +% +% \readindexfile is responsible for formatting and printing the index. +% It reads \indexfilebasename.ind. We implement the same commands that +% LaTeX does. I suppose we could allow for different indices having +% different basenames, but I can't imagine when that would be useful. +% +\let\indexfonts = \relax +% +\def\readindexfile#1{% + \edef\@idxprefix{#1}% + % + % Does the output file exist? + \testfileexistence[\indexfilebasename]{\@idxprefix nd}% + \iffileexists \begingroup + % If no \begin or \end, define them. The argument will be `{theindex}'. + \ifx\begin\undefined + \def\begin##1{\@beginindex}% + \let\end = \@gobble + \fi + % + % Read the file: + \input \indexfilebasename.\@idxprefix nd + % + % \doublecolumns isn't affected by groups. + \singlecolumn + \endgroup + \else + \message{No index file \indexfilebasename.\@idxprefix nd.}% + \fi +}% +% +% Here's the default for `\begin{theindex}', if \begin isn't defined. +\def\@beginindex{% + % Define the commands MakeIndex outputs. + \let\item = \@indexitem + \let\subitem = \@indexsubitem + \let\subsubitem = \@indexsubsubitem + % + % Set up the default formatting: + \indexfonts + \doublecolumns + \parindent = 0pt + % + % Let the user override the defaults. + \hookrun{beginindex}% +}% +% +% MakeIndex puts \indexspace between groups in the ind file. +\let\indexspace = \bigbreak +% +% You can make \afterindexterm appear after the term and before the +% first page with the following in the ist file: +% delim_0 "\\afterindexterm " +% delim_1 "\\afterindexterm " +% delim_2 "\\afterindexterm " +\let\afterindexterm = \quad +% +% +% Top-level index entries start with \item. +\newskip\aboveindexitemskipamount \aboveindexitemskipamount = 0pt plus2pt +\def\aboveindexitemskip{\vskip\aboveindexitemskipamount}% +% +\def\@indexitem{\begingroup + \@indexitemsetup + \leftskip = 0pt + \aboveindexitemskip + \penalty-100 % Encourage page breaks before items. + % + % But forbid page breaks after items, in case a subitem follows. + \def\par{\endgraf\endgroup\nobreak}% +}% +% +% Secondary index entries. +\def\@indexsubitem{% + \@indexitemsetup + \leftskip = 1em +}% +% +% And tertiary entries. +\def\@indexsubsubitem{% + \@indexitemsetup + \leftskip = 2em +}% +% +% Common setup for the formatting. +\def\@indexitemsetup{% + \par + \hangindent = 1em + \raggedright + \hyphenpenalty = 10000 + \hookrun{indexitem}% +}% +% +% +% \indexsee{TERM}{PAGENO} ignores PAGENO, and says `see TERM'. +\def\seevariant{\it}% +\def\indexseeword{see}% +\def\indexsee{\idx@getverbatimarg\@finindexsee}% +\def\@finindexsee#1#2{{\seevariant \indexseeword\/ }\idx@scanterm{#1}}% +% +% \indexseealso{TERM}{PAGENO} is similar. +\def\indexseealsowords{see also}% +\def\indexseealso{\idx@getverbatimarg\@finindexseealso}% +\def\@finindexseealso#1#2{{\seevariant \indexseealsowords\/ }\idx@scanterm{#1}}% +% +% +% We provide one index by default; commands are \idx, \sidx, etc. +\defineindex{i}% +% +% +% +% Justification of multiple input lines. +% +% You use these by saying +% {\flushright +% <flush right text> +% } +% +% and similarly for \flushleft and \center. The command must be +% embedded in a group. The lines are set in paragraphs as usual, i.e., +% blank lines start a new paragraph (by virtue of the +% \blanklineskipamount vertical glue being inserted). +% +% \environment ... \endenvironment isn't appropriate in this case, since +% these ``environments'' can't be nested. +% +\begingroup + \catcode `\^^M = \active % + \gdef\flushleft{% + \def\@endjustifycmd{\@endflushleft}% + \def\@eoljustifyaction{\null\hfil\break}% + \let\@firstlinejustifyaction = \relax + \@startjustify % + }% + \gdef\flushright{% + \def\@endjustifycmd{\@endflushright}% + \def\@eoljustifyaction{\break\null\hfil}% + \def\@firstlinejustifyaction{\hfil\null}% + \@startjustify % + }% + \gdef\center{% + \def\@endjustifycmd{\@endcenter}% + \def\@eoljustifyaction{\hfil\break\null\hfil}% + \def\@firstlinejustifyaction{\hfil\null}% + \@startjustify % + }% + % + % We do this before starting any of the justification commands. + \gdef\@startjustify{% + \parskip = 0pt + \catcode`\^^M = \active % + \def^^M{\futurelet\next\@finjustifyreturn}% + % + % \@eateol is called at the beginning of each justified paragraph. + \def\@eateol##1^^M{% + \def\temp{##1}% + \@firstlinejustifyaction % + \ifx\temp\empty\else \temp^^M\fi % + }% + \expandafter\aftergroup\@endjustifycmd % + \checkenv \environmenttrue % + \par\noindent % + \@eateol % + }% + % + % If the next thing is a ^^M, insert \blanklineskipamount glue. Then + % do \@eoljustifyaction (which each justification command defines). + \gdef\@finjustifyreturn{% + \@eoljustifyaction % + \ifx\next^^M% + % Insert extra glue when the \@end... command does the \par. + \def\par{\endgraf\vskip\blanklineskipamount \global\let\par = \endgraf}% + \@endjustifycmd % + % Get back into horizontal mode for the next line. + \noindent % + \@firstlinejustifyaction % + \fi % + }% +\endgroup +% +\def\@endflushleft{\unpenalty{\parfillskip = 0pt plus1fil\par}\ignorespaces}% +\def\@endflushright{% Remove the \hfil\null\break we just put on. + \unskip \setbox0=\lastbox \unpenalty + % We have fil glue at the left of the line; \parfillskip shouldn't + % affect that. + {\parfillskip = 0pt \par}\ignorespaces +}% +\def\@endcenter{% Remove the \hfil\null\break we just put on. + \unskip \setbox0=\lastbox \unpenalty + % We have fil glue at the left of the line; \parfillskip must balance it. + {\parfillskip = 0pt plus1fil \par}\ignorespaces +}% +% +% +% +% Automatically-columnated tables. +% +% \makecolumns N/K: organizes the entries on the following N lines into +% K columns. If N is too small, some text beyond the end of the table +% will be incorporated into the table, probably producing an error +% message. If N is too large, some of the entries will appear after the +% table, probably looking very out of place. +% +% You can adjust the position of the table on the page by changing +% \parindent (space to the left of the block) and \hsize (distance from +% the left margin to the right of the block). (No doubt inside a +% group.) And you can allow a page break above the valign by changing +% \abovecolumnspenalty. +% +\newcount\abovecolumnspenalty \abovecolumnspenalty = 10000 +\newcount\@linestogo % Lines remaining to process. +\newcount\@linestogoincolumn % Lines remaining in column. +\newcount\@columndepth % Number of lines in a column. +\newdimen\@columnwidth % Width of each column. +\newtoks\crtok \crtok = {\cr}% +\newcount\currentcolumn +% +% The space matches an end-of-line that will probably be there. +% +\def\makecolumns#1/#2: {\par \begingroup + % Set \@columndepth to the number of items we will put in a column: + % ceiling(N/K), i.e. (N - 1) / K + 1. + \@columndepth = #1 + \advance\@columndepth by -1 + \divide \@columndepth by #2 + \advance\@columndepth by 1 + \@linestogoincolumn = \@columndepth + \@linestogo = #1 + % + % We start in the first column. + \currentcolumn = 1 + % + \def\@endcolumnactions{% + \ifnum \@linestogo<2 + \the\crtok \egroup \endgroup \par % End \valign and \makecolumns. + \else + % We've done one more line out of the total. + \global\advance\@linestogo by -1 + % + % How many left in the column? + % + \ifnum\@linestogoincolumn<2 + % End this column, that was the last line. + \global\advance\currentcolumn by 1 + \global\@linestogoincolumn = \@columndepth + \the\crtok + \else + % Still got more lines to go. + &\global\advance\@linestogoincolumn by -1 + \fi + \fi + }% + % + % Set up to read the table. + % + \makeactive\^^M + \letreturn \@endcolumnactions + % + % Figure out how wide our columns are going to be; each column has + % exactly the same template, so we can use the feature described on + % p.241 of the TeXbook for repeating preambles. + % + \@columnwidth = \hsize + \advance\@columnwidth by -\parindent + \divide\@columnwidth by #2 + \penalty\abovecolumnspenalty + \noindent % It's not a paragraph (usually). + \valign\bgroup + &\hbox to \@columnwidth{\strut \hsize = \@columnwidth ##\hfil}\cr + % + % The next end-of-line starts everything going. +}% +% +% +% +% \numberedfootnote is like plain TeX's \footnote, but automatically +% numbered. When you want to reset the footnote number, say +% \footnotenumber = 0. +% +% We also provide for more general formatting than \footnote: +% \footnotemarkseparation is the space between the reference mark and +% the footnote text; +% \interfootnoteskip is the space between footnotes; +% \everyfootnote is expanded just before we typeset the footnote. +% +% The dimensions of the footnote rule are controlled by +% \footnoterulewidth and \footnoteruleheight (the depth is always zero); +% the space after the rule is \belowfootnoterulespace. +% +\newcount\footnotenumber +\newcount\hlfootlabelnumber +\newdimen\footnotemarkseparation \footnotemarkseparation = .5em +\newskip\interfootnoteskip \interfootnoteskip = 0pt +\newtoks\everyfootnote +\newdimen\footnoterulewidth \footnoterulewidth = 2in +\newdimen\footnoteruleheight \footnoteruleheight = 0.4pt +\newdimen\belowfootnoterulespace \belowfootnoterulespace = 2.6pt +% +\let\@plainfootnote = \footnote +\let\@plainvfootnote = \vfootnote +% Hyperlink labels for forward and back references. +\def\hlfootlabel{FOOT\the\hlfootlabelnumber}% +\def\hlfootbacklabel{FOOTB\the\hlfootlabelnumber}% +% +\def\@eplainfootnote#1{\let\@sf\empty % parameter #2 (the text) is read later + \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi + \global\advance\hlfootlabelnumber by 1 + \hlstart@impl{foot}{\hlfootlabel}% + \hldest@impl{footback}{\hlfootbacklabel}% + #1% + \hlend@impl{foot}% + \@sf\vfootnote{#1}% +}% +% +\let\footnote\@eplainfootnote +% +\def\vfootnote#1{\insert\footins\bgroup + \interlinepenalty\interfootnotelinepenalty + \splittopskip\ht\strutbox % top baseline for broken footnotes + \advance\splittopskip by \interfootnoteskip + \splitmaxdepth\dp\strutbox + \floatingpenalty\@MM + \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip + \everypar = {}% + \parskip = 0pt % because of the vskip + % Even if typesetting in multicolumns, do footnotes in normal page width. + % (We don't have any provision in the output routine for having + % footnotes per column, anyway.) + \ifnum\@numcolumns > 1 \hsize = \@normalhsize \fi + \the\everyfootnote + \vskip\interfootnoteskip + \indent\llap{% + \hlstart@impl{footback}{\hlfootbacklabel}% + \hldest@impl{foot}{\hlfootlabel}% + #1% + \hlend@impl{footback}% + \kern\footnotemarkseparation + }% + \footstrut\futurelet\next\fo@t +}% +% +\def\footnoterule{\dimen@ = \footnoteruleheight + \advance\dimen@ by \belowfootnoterulespace + \kern-\dimen@ + \hrule width\footnoterulewidth height\footnoteruleheight depth0pt + \kern\belowfootnoterulespace + \vskip-\interfootnoteskip +}% +% +\def\numberedfootnote{% + \global\advance\footnotenumber by 1 + \@eplainfootnote{$^{\number\footnotenumber}$}% +}% +% +% +% +% Margins. +% +% TeX's primitives determine the type area. But some users prefer to +% think in terms of margins. These definitions allow one to say, for +% example, `\topmargin = 2in', instead of `\voffset=1in\advance\vsize by +% -1in'. Constructions like `\advance\topmargin by 1in' give an error +% message, though, since \topmargin is not a parameter. Instead, the +% macro \advancetopmargin has to be used. +% +\newdimen\paperheight +\ifnum\mag=1000 + \paperheight = 11in % No magnification (yet). +\else + \paperheight = 11truein % We already have a magnification. +\fi +% +\def\topmargin{\afterassignment\@finishtopmargin \dimen@}% +\def\@finishtopmargin{% + \dimen2 = \voffset % Remember the old \voffset. + \voffset = \dimen@ \advance\voffset by -1truein + \advance\dimen2 by -\voffset % Compute the change in \voffset. + \advance\vsize by \dimen2 % Change type area accordingly. +}% +\def\advancetopmargin{% + \dimen@ = 0pt \afterassignment\@finishadvancetopmargin \advance\dimen@ +}% +\def\@finishadvancetopmargin{% + \advance\voffset by \dimen@ + \advance\vsize by -\dimen@ +}% +% +% +\def\bottommargin{\afterassignment\@finishbottommargin \dimen@}% +\def\@finishbottommargin{% + \@computebottommargin % Result in \dimen2. + \advance\dimen2 by -\dimen@ % Compute the change in the bottom margin. + \advance\vsize by \dimen2 % Change the type area. +}% +\def\advancebottommargin{% + \dimen@ = 0pt \afterassignment\@finishadvancebottommargin \advance\dimen@ +}% +\def\@finishadvancebottommargin{% + \advance\vsize by -\dimen@ +}% +% +% Find the current bottom margin, putting the result in \dimen2. +% +\def\@computebottommargin{% + \dimen2 = \paperheight % The total paper size. + \advance\dimen2 by -\vsize % Less the text size. + \advance\dimen2 by -\voffset % Less the offset at the top. + \advance\dimen2 by -1truein % Less the default offset. +}% +% +% +\newdimen\paperwidth +\ifnum\mag=1000 + \paperwidth = 8.5in % No magnification (yet). +\else + \paperwidth = 8.5truein % We already have a magnification. +\fi +% +\def\leftmargin{\afterassignment\@finishleftmargin \dimen@}% +\def\@finishleftmargin{% + \dimen2 = \hoffset % Remember the old \hoffset. + \hoffset = \dimen@ \advance\hoffset by -1truein + \advance\dimen2 by -\hoffset % Compute the change in \hoffset. + \advance\hsize by \dimen2 % Change type area accordingly. +}% +\def\advanceleftmargin{% + \dimen@ = 0pt \afterassignment\@finishadvanceleftmargin \advance\dimen@ +}% +\def\@finishadvanceleftmargin{% + \advance\hoffset by \dimen@ + \advance\hsize by -\dimen@ +}% +% +% +\def\rightmargin{\afterassignment\@finishrightmargin \dimen@}% +\def\@finishrightmargin{% + \@computerightmargin % Result in \dimen2. + \advance\dimen2 by -\dimen@ % Compute the change in the right margin. + \advance\hsize by \dimen2 % Change the type area. +}% +\def\advancerightmargin{% + \dimen@ = 0pt \afterassignment\@finishadvancerightmargin \advance\dimen@ +}% +\def\@finishadvancerightmargin{% + \advance\hsize by -\dimen@ +}% +% +% Find the current right margin, putting the result in \dimen2. +% +\def\@computerightmargin{% + \dimen2 = \paperwidth % The total paper size. + \advance\dimen2 by -\hsize % Less the text size. + \advance\dimen2 by -\hoffset % Less the offset at the left. + \advance\dimen2 by -1truein % Less the default offset. +}% +% +% There is a potential problem when using the margin macros at a true +% dimension and then calling \magnification. So we redefine +% \magnification to address this. +% +\let\@plainm@g = \m@g +\def\m@g{\@plainm@g \paperwidth = 8.5 true in \paperheight = 11 true in}% +% +% +% +% Double column output. +% +% \doublecolumns begins double column output. It can be called +% in the midst of a page. \singlecolumn restores single column +% output. (It would be wrong to require \enddoublecolumns, because +% often one wants double column mode to continue to the end of +% the document.) +% +% The basic approach is that of Appendix E of the TeXbook, p.417. +% David Guichard made significant improvements to my original implementation. +% +% The glue here (the default is intended to be one linespace) is inserted +% before double columns start, and after they end. +% +\newskip\abovecolumnskip \abovecolumnskip = \bigskipamount +\newskip\belowcolumnskip \belowcolumnskip = \bigskipamount +% +% Space between the columns. It can be changed as desired. +\newdimen\gutter \gutter = 2pc +% +% These registers are needed for dealing with switching back and forth. +\newbox\@partialpage +\newdimen\@normalhsize +\newdimen\@normalvsize % The original (before multi-columns) \vsize. +\newtoks\previousoutput +% +% Some synonymous ways to refer to multiple column modes. +\def\quadcolumns{\@columns4}% +\def\triplecolumns{\@columns3}% +\def\doublecolumns{\@columns2}% +\def\begincolumns#1{\ifcase#1\relax \or \singlecolumn \or \@columns2 \or + \@columns3 \or \@columns4 \else \relax \fi}% +\def\endcolumns{\singlecolumn}% +\let\@ndcolumns = \relax +% +% Set this by default so \vfootnote can unconditionally inspect it. +\chardef\@numcolumns = 1 +% +\mathchardef\@ejectpartialpenalty = 10141 +% +% +% \@columns: Start typesetting with #1 columns. +% +% Before we actually start, we have to make sure that there are at least +\chardef\@col@minlines = 3 +% free lines. +% (It could be 2, or even 1, but it might give ugly results; at least one +% line is absolutely necessary, or the output routine might get confused.) +% We have to be careful, so that eg. +% \hbox{TITLE} +% \nobreak +% \doublecolumns +% won't break between the title and the start of the columned output. +% +% To achieve this, we add vskip of fixed size equal to +% @col@minlines * baselineskip +% and then eject the page. +% The output routine then catches the pages ejected: +% 1) if it's a normal page, it is processed by previous output routine; +% 2) if it's the last one, it is saved and the added skip is removed. +% +% When the box is processed according to 1), an underfull vbox can appear, +% but it's not our problem, the manuscript (or it's macros) has to be fixed. +% +% Gather this many baselines +\chardef\@col@extralines = 3 +% more material per each column than the combined height of the +% columns, before attempting to break the columns. This sometimes +% considerably improves the last column, when it would become too +% spaced out because TeX had to squeeze some lines into the previous +% columns due to unfortunate column breaks. +% +% The larger \@col@extralines, the better, but we don't want to make +% it too large. If there are less than \@col@extralines * num_columns +% lines left before we start gathering these extra lines, we'll hit +% \@endcolumns while gathering material for this page. If the extra +% lines will not actually fit in the columns, we'll have to move them +% to the next page. But we won't move them if there are any +% insertions on this page (see \@balancecolumns), so in such case +% we'll stuff everything on the current page, producing an overfull +% box, even though these extra lines could successfully be moved to +% the next page. +\newdimen\@col@extraheight +% +% Another note: all assignments are global; it is not possible to call +% \doublecolumns in a group. +% +\def\@columns#1{% + \@ndcolumns + % + \global\let\@ndcolumns = \@endcolumns + \global\chardef\@numcolumns = #1 + \global\previousoutput = \expandafter{\the\output}% + % + % Grab the page so far (i.e., the material BEFORE \@columns was called) + % and save it in \@partialpage. + \global\output = {% + \ifnum\outputpenalty = -\@ejectpartialpenalty + \dimen@ = \vsize + \advance\dimen@ by \@col@minlines\baselineskip + \global\setbox\@partialpage = + \vbox \ifdim \pagetotal > \vsize to \dimen@ \fi {% + \unvbox255 \unskip + }% + \else + \the\previousoutput + \fi + }% + % + \vskip \abovecolumnskip + \vskip \@col@minlines\baselineskip + % now execute the output routine: + \penalty -\@ejectpartialpenalty + % + % Reset \output to prepare for the first real page break. + \global\output = {\@columnoutput}% + % + \global\@normalhsize = \hsize + \global\@normalvsize = \vsize + % + % Figure out how wide the columns should be -- for n columns, + % decrement by n - 1 gutters. + \count@ = \@numcolumns + \advance\count@ by -1 + \global\advance\hsize by -\count@\gutter + \global\divide\hsize by \@numcolumns + % + % Compute \vsize based on what's already on the page + % and the number of columns. Also change the mag factor for insertions. + % + \advance\vsize by -\ht\@partialpage + % + \advance\vsize by -\ht\footins + \ifvoid\footins\else \advance\vsize by -\skip\footins \fi + \multiply\count\footins by \@numcolumns + % + \advance\vsize by -\ht\topins + \ifvoid\topins\else \advance\vsize by -\skip\topins \fi + \multiply\count\topins by \@numcolumns + % + \global\vsize = \@numcolumns\vsize + % Gather some extra material, to improve the last column. + \@col@extraheight=\@col@extralines\baselineskip + \multiply\@col@extraheight by \@numcolumns + \global\advance\vsize by \@col@extraheight +}% +% +% When this is invoked box 255 contains just the right amount of +% material, whether triggered by an output routine or a change in the +% number of columns. Because columns have to contain an integral number +% of lines of type, we take a bit of care with balancing the heights of +% the columns to prevent either losing material or having a very short +% last column. +% +% When a page ends due to \bye or \eject, box 255 will contain lots of +% white space, so the columns will not look balanced. To fix this use +% \singlecolumn before ending the page. +% +% [gutterbox material added by AHL on 5 November 1997.] +% \gutterbox is a hook to enable the placement of arbitrary vertical +% material in the gutter between columns. For example, to put a +% vertical line between the columns you could say +% +% \def\gutterbox{\vbox to \dimen0{\vfil\hbox{\vrule height\dimen0}\vfil}}% +% +% The dimension counter \dimen0 contains the height of the column. +% +% By default, we define \gutterbox to be "empty": +\def\gutterbox{\vbox to \dimen0{\vfil\hbox{\hfil}\vfil}}% +% +\def\@columnsplit{% + \splittopskip = \topskip + \splitmaxdepth = \baselineskip + % + % \dimen@ should be the height that columns on this page should + % have, i.e., the height of the page (\singlecolumvsize) minus + % single-column material, which includes insertions. (If you want + % your insertions to respect the columns, you will have to change + % the output routine.) If you add more insertions, they should be + % taken into account in \@columns and \@endcolumns. + % + % Unfortunately, we lose on flexible glue because we must + % \vsplit to a <dimen>. + % + % Split the long scroll into columns. + \begingroup + % We do not want to see underfull \vbox messages unless the final + % page is underfull. + \vbadness = 10000 + % + % The first (leftmost) column. + \global\setbox1 = \vsplit255 to \dimen@ \global\wd1 = \hsize + % + % The second column. + \global\setbox3 = \vsplit255 to \dimen@ \global\wd3 = \hsize + % + \ifnum\@numcolumns > 2 + % The third column, if requested. + \global\setbox5 = \vsplit255 to \dimen@ \global\wd5 = \hsize + \fi + \ifnum\@numcolumns > 3 + % The fourth column, likewise if requested. + \global\setbox7 = \vsplit255 to \dimen@ \global\wd7 = \hsize + \fi + \endgroup + % + % Set up \box255 with the real output page, as the previous output + % routine expects. + \setbox0 = \box255 + \global\setbox255 = \vbox{% + \unvbox\@partialpage + \ifcase\@numcolumns \relax\or\relax + \or \hbox to \@normalhsize{\box1\hfil\gutterbox\hfil\box3}% + \or \hbox to \@normalhsize{\box1\hfil\gutterbox\hfil\box3% + \hfil\gutterbox\hfil\box5}% + \or \hbox to \@normalhsize{\box1\hfil\gutterbox\hfil\box3% + \hfil\gutterbox\hfil\box5% + \hfil\gutterbox\hfil\box7}% + \fi + }% + % + % Save what's left over in a private register before calling their + % output routine. + \setbox\@partialpage = \box0 +}% +% +% Our output routine splits the columns and then calls the previous one. +% +\def\@columnoutput{% + \dimen@ = \ht255 + \advance\dimen@ by -\@col@extraheight + \divide\dimen@ by \@numcolumns + \@columnsplit + \@recoverclubpenalty + \hsize = \@normalhsize % Local to \output's group. + \vsize = \@normalvsize + \the\previousoutput + % + % Put back what didn't fit. + \unvbox\@partialpage + \penalty\outputpenalty + % + % The correct vsize is the original vsize times the + % number of columns, plus the "extra height". + \global\vsize = \@numcolumns\@normalvsize + \global\advance\vsize by \@col@extraheight +}% +% +% Go back to single-column typesetting. Assume \doublecolumns has +% been called. +% +\def\singlecolumn{% + \@ndcolumns + \chardef\@numcolumns = 1 + \vskip\belowcolumnskip + \nointerlineskip +}% +% +\newbox\@singlecolumnbox +\newdimen\column@pagegoal +\newdimen\column@vsize +% +\def\@endcolumns{% + \global\let\@ndcolumns = \relax + \par % Shouldn't start in horizontal mode. + % Save the combined height of the columns and the page goal. We + % have to be careful -- the last line of the multi-column material + % might have taken \pagetotal just over \pagegoal, in which case we + % have to use \pagegoal for the height, otherwise the box produced + % when splitting the columns will not fit on the page. + \column@pagegoal = \pagegoal + \advance\column@pagegoal by-\@col@extraheight + \ifdim \pagetotal > \column@pagegoal + \column@vsize = \column@pagegoal + \else + \column@vsize = \pagetotal + \fi + % Grab whatever is left of the multi-column material. + \global\output = {\global\setbox1 = \box255}% + \pagegoal = \pagetotal + \break % Exercise the page builder, i.e., \output. + \setbox2 = \box1 % Save material in box2 in case of overflow. + % We won't need \columnoutput anymore. + \global\output = \expandafter{\the\previousoutput}% + % Save single column material (in case the multi-column material + % ends on the same page where it starts; otherwise \@partialpage + % will be void). This also voids \@partialpage. + \setbox\@singlecolumnbox = \box\@partialpage + % Try to fit what's left into the columns. + \@balancecolumns +}% +% +% There are many caveats when balancing columns at the end of +% multi-column material. The core of all problems is the following. +% Eplain collects multi-column material in one long scroll until the +% scroll's length is at least \vsize * \@numcolumns. But when we try +% to split that scroll into columns, there is no guarantee that all +% the collected material will fit (for example, because a column break +% occured inside a large unbreakable block, so we had to carry it over +% to the next column and stretch out the previous column). So every +% time we call \@columnsplit, we should expect it to leave something +% for us in \@partialpage. +% +% Now, what should we do with these left-overs? We increase column +% height a bit and try to split the scroll again, and so on until +% everything fits. +% +% However, while doing this, we might increase column height so much +% that the columns no longer fit on a page. What we do then is output +% the highest fitting columns, break the page and then restart the +% whole process on what's left. +% +% However, there's another catch -- if a page contains insertions, +% there's a slight chance that the footnotes or top insertions were +% inserted by the multi-column material we are going to carry over to +% the next page, so those footnotes or top insertions will appear one +% page ahead of their references. The worst thing is that the user +% will get no warning of this. Therefore, when we have left-overs on +% a page with insertions, we just stuff them into columns to produce +% an overfull box warning. +% +\def\@balancecolumns{% + % Split the scroll to the new column height. + \global\setbox255 = \copy2 % Retrieve what the fake \output set. + \dimen@ = \column@vsize + \divide\dimen@ by \@numcolumns + \@columnsplit + % + \ifvoid\@partialpage + % Everything fits -- we're done. + \global\vsize = \@normalvsize + \global\hsize = \@normalhsize + \dump@balanced@columns + \let\next\relax + \else + % There is some left-over. Increase column height. + \advance \column@vsize by \@numcolumns pt + % Check what we should do with the left-over. + \test@spill@columns + \ifspill@columns + % We are to break the page here. Make up a page from the + % single-column material followed by the columns that we've + % already split off into \box255. + \begingroup + \vsize = \@normalvsize + \hsize = \@normalhsize + \dump@balanced@columns + \break + \@recoverclubpenalty + \endgroup + % Now put back what didn't fit and process it recursively. + \unvbox\@partialpage + \let\next\@endcolumns + \else + % We should continue incrementing column height. + \setbox0=\box\@partialpage % Merely to void \@partialpage. + \let\next\@balancecolumns + \fi + \fi + \next +}% +% +\def\dump@balanced@columns{% + \ifvoid\topins\else\topinsert\unvbox\topins\endinsert\fi + \unvbox\@singlecolumnbox + % Avoid interline glue here -- we didn't (couldn't) account for it + % when assessing \vsize for the columns in \@columns, which means + % the columns may not fit if we also add the interline glue. + \nointerlineskip + \box255 +}% +% +% If we hit page bottom while balancing columns and there are no +% insertions on the page, we can let the left-over spill to the next +% page. If there are insertions on the page, we shouldn't let +% \@partialpage to the next page, to avoid separating a possible +% reference from an insertion. The following flag and test are to +% check these conditions. +\newif\ifspill@columns +\def\test@spill@columns{% + \spill@columnsfalse + \ifdim \column@vsize > \column@pagegoal + \ifvoid\footins + \ifvoid\topins + \spill@columnstrue + \fi + \fi + \fi +}% +% +% [\columnfill] +% We don't have any way to force a column eject, since the \output +% routine is only prepared to split up a full page of material. Instead, +% we provide the following as a guess at enough space to fill up the +% current column. +% +% [April 30, 1998] This definition is from +% Helmut Jarausch <jarausch@IGPM.Rwth-Aachen.DE> with some +% modifications by A. Lewenberg <ahl@uakron.edu>. +% +% Here is the main difficulty: when \vsplitting the long page into the +% component columns, \vsplit prepends to the top of each column glue +% in the amount \topskip - (height of top box). But this happens +% in the output routine _after_ the \columnfill does its +% calculations. The result of this is that if we are not careful +% \columnfill will insert too much space attempting to ``eject'' the +% current column. There is no simple way around this, so what I have +% done is have is make \columnfill insert less space than needed, and +% then not allow any \club lines by setting \clubpenalty to its +% maximum value. Not a pretty solution, but until something better +% comes along, it will have to do. +% +\def\@saveclubpenalty{% save the current value of \clubpenalty + \edef\@recoverclubpenalty{% + \global\clubpenalty=\the\clubpenalty\relax% + \global\let\noexpand\@recoverclubpenalty\relax + }% the \noexpand handles infinite self-reference +}% +\let\@recoverclubpenalty\relax +\newdimen\temp@dimen +\def\columnfill{% + \par + \dimen@=\pagetotal % The height of the text set so far. + \temp@dimen = \vsize % = \@numcolumns * columnheight + \divide\temp@dimen by \@numcolumns % find out column height + \loop + \ifdim \dimen@ > \temp@dimen + \advance \dimen@ by -\temp@dimen + \advance \dimen@ by \topskip % fudge factor + \repeat + \advance \temp@dimen by -\dimen@ + \advance \temp@dimen by -\prevdepth + \@saveclubpenalty + \clubpenalty=10000\relax + \hrule height\temp@dimen width0pt depth0pt\relax + \nointerlineskip + \par + \nointerlineskip + \penalty0\vfil % To allow a page break here. + \relax +}% +% +% +% +% Hypertext links support. +% +% Hyperlink destinations (driver-independent code). +% +% \hldest{TYPE}{OPTIONS}{LABEL} defines a hyperlink destination +% LABEL. OPTIONS is a comma-separated list of option assignments of +% the form `opt=value'; permitted values for TYPE and OPTIONS depend +% on selected hyperlink driver. +% +% \hldest will be \let to \@hldest by \enablehyperlinks. TYPE, +% OPTIONS and LABEL will be read by \hl@getparam. +\def\@hldest{% + \def\hl@prefix{hldest}% + \let\after@hl@getparam\hldest@aftergetparam + % Start the group which will isolate option settings. It will be + % ended in \hldest@aftergetparam + \begingroup + \hl@getparam +}% +% This actually produces hyperlink destination. It will be called at +% the end of \hl@getparam, after the parameters are parsed. +\def\hldest@aftergetparam{% + \ifvmode + % In vertical mode we don't raise the destination, so it can go + % directly into the vertical list. + \hldest@driver + \else + % In horizontal mode, the destination is raised \hldest@opt@raise + % above the baseline and placed inside a zero-width/height/depth + % box; the box is surrounded by \allowhyphens in case it is + % placed next to a word, to allow hyphenation of that word. + \allowhyphens + \smash{\ifx\hldest@opt@raise\empty \else \raise\hldest@opt@raise\fi + \hbox{\hldest@driver}}% + \allowhyphens + \fi + % End the group which was isolating option settings (it was started + % in \@hldest). + \endgroup +}% +% +% Hyperlinks (driver-independent code). +% +% \hlstart{TYPE}{OPTIONS}{LABEL} starts a hyperlink to destination +% LABEL. OPTIONS is a comma-separated list of option assignments of +% the form `opt=value'; permitted values of TYPE and OPTIONS depend on +% selected hyperlink driver. End the link with \hlend. +% +% \hlstart will be \let to \@hlstart by \enablehyperlinks. TYPE, +% OPTIONS and LABEL will be read by \hl@getparam. +\def\@hlstart{% + \leavevmode + \def\hl@prefix{hl}% + \let\after@hl@getparam\hlstart@aftergetparam + % Start the group which will isolate option settings and color + % changes. It will be ended in \@hlend + \begingroup + \hl@getparam +}% +% +\def\hlstart@aftergetparam{% + % Set the color for the link. + \ifx\color\undefined \else + \ifx\hl@opt@color\empty \else + \ifx\hl@opt@colormodel\empty + \edef\temp{\noexpand\color{\hl@opt@color}}% + \else + \edef\temp{\noexpand\color[\hl@opt@colormodel]{\hl@opt@color}}% + \fi + \temp + \fi + \fi + % Call the driver. + \hl@driver +}% +% \hlend will be \let to \@hlend by \enablehyperlinks. \@hlend will +% be defined by a driver. +% +% Macros which are used commonly by \hldest and \hlstart to parse and +% save parameters. \hl@prefix must be set to `hldest' by \hldest and +% to `hl' by \hlstart. +% +% \hl@getparam{TYPE}{OPTIONS}{LABEL} reads, parses and saves the +% parameters for \hldest or \hlstart into \@hltype, \hl[dest]@opt@... +% and \@hllabel. After doing that it calls \after@hl@getparam which +% should be defined by \@hldest and \@hlstart to produce destination / +% link using the saved parameters. +\def\hl@getparam#1#2{% We'll read #3 (LABEL) later. + % Save TYPE in \@hltype (use default if empty). + \edef\@hltype{#1}% + \ifx\@hltype\empty + \expandafter\let\expandafter\@hltype + \csname \hl@prefix @type\endcsname + \fi + % For each supported destination / link type TYPE, a driver should + % define \hl[dest]@typeh@TYPE handler. + \expandafter\ifx\csname \hl@prefix @typeh@\@hltype\endcsname \relax + \errmessage{Invalid hyperlink type `\@hltype'}% + \fi + % \for will expand #2 once so user can pass a shortcut macro. We + % also ignore empty \hl@arg, so that the following + % \hldest{TYPE}{\myopt,height=200pt}{LABEL} + % would be legal even when \myopt happens to be empty. + \For\hl@arg:=#2\do{% + \ifx\hl@arg\empty \else + \expandafter\hl@set@opt\hl@arg=,% + \fi + }% + % Now read the third argument, LABEL. Do so inside a group with + % \uncatcodespecials, to allow `#' and `~' in it (LABEL can be a URL + % for some link types). + \bgroup + \uncatcodespecials + \catcode`\{=1 \catcode`\}=2 + \@hl@getparam +}% +% +\def\@hl@getparam#1{% + \egroup + % Save LABEL in \@hllabel. + \edef\@hllabel{#1}% + % Execute the commands specific to destination / link + \after@hl@getparam + % Ignore spaces after \hlstart and \hldest. + \ignorespaces +}% +% Parse and set a (default, not a group) option. +\def\hl@set@opt#1=#2,{% + % For each supported option OPTION, a driver should define + % \hl[dest]@opt@OPTION. + \expandafter\ifx\csname \hl@prefix @opt@#1\endcsname \relax + \errmessage{Invalid hyperlink option `#1'}% + \fi + % Save the value of the option. + \if ,#2, % if #2 is empty, complain. + \errmessage{Missing value for option `#1'}% + \else + % Remove a trailing =. + \def\temp##1={##1}% + \expandafter\edef\csname \hl@prefix @opt@#1\endcsname{\temp#2}% + \fi +}% +% \hl{dest,start,end}@impl{GROUP}{LABEL} will generate `implicit' destination / +% hyperlink, if the user has not turned off this kind of implicit +% destinations / hyperlinks. This is used by Eplain's cross-reference +% macros. +\def\hldest@impl#1{% + \expandafter\ifcase\csname hldest@on@#1\endcsname + \relax\expandafter\gobble + \else + \toks@=\expandafter{\csname hldest@type@#1\endcsname}% + \toks@ii=\expandafter{\csname hldest@opts@#1\endcsname}% + \edef\temp{\noexpand\hldest{\the\toks@}{\the\toks@ii}}% + \expandafter\temp + \fi +}% +\def\hlstart@impl#1{% + \expandafter\ifcase\csname hl@on@#1\endcsname + % Still produce \leavevmode, to be consistent with \hloff. + \leavevmode\expandafter\gobble + \else + \toks@=\expandafter{\csname hl@type@#1\endcsname}% + \toks@ii=\expandafter{\csname hl@opts@#1\endcsname}% + \edef\temp{\noexpand\hlstart{\the\toks@}{\the\toks@ii}}% + \expandafter\temp + \fi +}% +\def\hlend@impl#1{% + \expandafter\ifcase\csname hl@on@#1\endcsname + \else + \hlend + \fi +}% +% +% Setting options and types. +% +\def\hl@asterisk@word{*}% +\def\hl@opts@word{opts}% +\newif\if@params@override +% We define hyperlink / destination groups. A group is a macro or a +% group of macros which implicitly generate hyperlink / destination. +% The user can set parameters for each group individually, as well as +% the default parameters, with the macros defined below. Group +% settings will override the default hyperlink / destination +% parameters. +\def\hldest@groups{definexref,xrdef,li,eq,bib,foot,footback,idx}% +\def\hl@groups{ref,xref,eq,cite,foot,footback,idx,url,hrefint,hrefext}% +% \hldesttype [GROUPS]{VALUE} +% \hldestopts [GROUPS]{VALUE} +% \hltype [GROUPS]{VALUE} +% \hlopts [GROUPS]{VALUE} +% +% Set hyperlink or destination parameter (type / opts) to VALUE for +% each group in GROUPS. An empty `group' will set default value for +% the parameter. A star (*) `group' stands for all groups (except the +% empty `group'). If the macro is followed by an exclamation mark +% (like \hlopts!...), the parameters will be overridden; otherwise, +% they will be updated (this has effect only on group option list). +\def\hldesttype{% + \def\hl@prefix{hldest}% + \def\hl@param{type}% + \let\hl@all@groups\hldest@groups + \futurelet\hl@excl\hl@param@read@excl +}% +\def\hldestopts{% + \def\hl@prefix{hldest}% + \def\hl@param{opts}% + \let\hl@all@groups\hldest@groups + \futurelet\hl@excl\hl@param@read@excl +}% +\def\hltype{% + \def\hl@prefix{hl}% + \def\hl@param{type}% + \let\hl@all@groups\hl@groups + \futurelet\hl@excl\hl@param@read@excl +}% +\def\hlopts{% + \def\hl@prefix{hl}% + \def\hl@param{opts}% + \let\hl@all@groups\hl@groups + \futurelet\hl@excl\hl@param@read@excl +}% +\def\hl@param@read@excl{% + \ifx!\hl@excl + \let\next\hl@param@read@opt@arg + \@params@overridetrue + \else + \def\next{\hl@param@read@opt@arg{!}}% + \@params@overridefalse + \fi + \next +}% +\def\hl@param@read@opt@arg#1{% #1 is the `!', ignore it. + \@getoptionalarg\hl@setparam +}% +% Set the parameter \hl@param to #1 for each group in \@optionalarg. +% This will become \hl@setparam in \enablehyperlinks. +\def\@hl@setparam#1{% + \ifx\@optionalarg\empty + \hl@setparam@default{#1}% Set default. + \else + % If we find an asterisk in the list, we have no choice but to + % finish the list and then call \hl@setparam again, now with + % \hl@all@groups for the list of groups. + \let\hl@do@all@groups\gobble +% + \For\hl@group:=\@optionalarg\do{% + \ifx\hl@group\hl@asterisk@word + \def\hl@do@all@groups{\let\@optionalarg\hl@all@groups \hl@setparam}% + \else + \hl@setparam@group{#1}% + \fi + }% +% + \hl@do@all@groups{#1}% + \fi +}% +% Set a parameter (\hl@param) for one group (\hl@group) to the value +% (#1). The group may be empty, in which case we call +% \hl@setparam@default +\def\hl@setparam@group#1{% + \ifx\hl@group\empty + \hl@setparam@default{#1}% + \else + \expandafter\ifx\csname\hl@prefix @\hl@param @\hl@group\endcsname\relax + \errmessage{Hyperlink group `\hl@prefix:\hl@param:\hl@group' is not defined}% + \fi + \ifx\hl@param\hl@opts@word + % For the `opts' parameter, we want to expand the first token of + % #1 once, in case the user passed a macro containing the option + % list. Even if we simply need to override the old option list, + % we still call \hl@update@opts@with@list to go through the + % options and trim possible leading space token in option keys. + \if@params@override + \expandafter\let\csname\hl@prefix @\hl@param @\hl@group\endcsname\empty + \fi + \hl@update@opts@with@list{#1}% #1 will be used in the \for + % loop, so it will be expanded once. + \else + % Do not use \edef here to define the parameter, so the user can + % define it to, e.g., \normalbaselineskip, and make the parameter + % adjustable to a situation. + \ece\def{\hl@prefix @\hl@param @\hl@group}{#1}% + \fi + \fi +}% +% Set default parameter values. We have to treat `opts' (list of +% options) specially, because for option defaults we don't store a +% list of options (like we do for the group options) but set each +% option individually. +\def\hl@setparam@default#1{% + \ifx\hl@param\hl@opts@word + % `opts'. + \For\hl@opt:=#1\do{% + \ifx\hl@opt\empty \else + \expandafter\hl@set@opt\hl@opt=,% + \fi + }% + \else + % Everything except `opts'. + \expandafter\ifx\csname\hl@prefix @\hl@param\endcsname\relax + \message{Default hyperlink parameter `\hl@prefix:\hl@param' is not defined}% + \fi + % Should not use \edef, so the user could define this to, e.g., + % \normalbaselineskip, to make the parameter adjustable to a + % situation. + \ece\def{\hl@prefix @\hl@param}{#1}% + \fi +}% +% For each option in the list (#1), call \hl@update@opts@with@opt to update +% the group's option list (\csname\hl@prefix @opts@ \hl@group\endcsname) +% with this new option. +\def\hl@update@opts@with@list#1{% + % Start with the current list of the group. + \global\expandafter\let\expandafter\hl@update@new@list + \csname \hl@prefix @opts@\hl@group\endcsname + % We have to isolate the \for loop inside a (TeX) group, to avoid + % clashes with the loop in \hl@setparam + \begingroup + \For\hl@opt:=#1\do{% + \hl@update@opts@with@opt + }% + \endgroup + % Save the final list back in the option list for the group. + \ece\let{\hl@prefix @opts@\hl@group}\hl@update@new@list +}% +% Go through the option list (\hl@update@new@list) and construct the +% new list (in \hl@update@new@list), replacing the old definition of +% the option with the new one (\hl@opt). +\def\hl@update@opts@with@opt{% + % Save the old list and the new option. + \global\let\hl@update@old@list\hl@update@new@list + \global\let\hl@update@new@list\empty + \global\let\hl@update@new@opt\hl@opt + % Get the key of the new option and save it. + \expandafter\hl@parse@opt@key\hl@opt=,% + \let\hl@update@new@key\hl@update@key + % We will set this to real comma after the first entry. + \global\let\hl@update@comma\empty + % We have to isolate the \for loop inside a (TeX) group, to avoid + % clashes with the loop in \hl@update@opts@with@list + \begingroup + \for\hl@opt:=\hl@update@old@list\do{% + \ifx\hl@opt\empty \else % Skip empty `options'. + % Get the key of this option. + \expandafter\hl@parse@opt@key\hl@opt=,% + % If the key matches, replace the option definition with the + % new definition, otherwise, repeat the old definition. + \toks@=\expandafter{\hl@update@new@list}% + \ifx\hl@update@key\hl@update@new@key + \ifx\hl@update@new@opt\empty \else % Skip multiple options. + \toks@ii=\expandafter{\hl@update@new@opt}% + \xdef\hl@update@new@list{\the\toks@\hl@update@comma\the\toks@ii}% + \global\let\hl@update@new@opt\empty + \global\def\hl@update@comma{,}% + \fi + \else + \toks@ii=\expandafter{\hl@opt}% + \xdef\hl@update@new@list{\the\toks@\hl@update@comma\the\toks@ii}% + \global\def\hl@update@comma{,}% + \fi + \fi + }% + \endgroup + % If nothing was replaced, add the new option to the end of the new list. + \ifx\hl@update@new@opt\empty \else + \toks@=\expandafter{\hl@update@new@list}% + \toks@ii=\expandafter{\hl@update@new@opt}% + \xdef\hl@update@new@list{\the\toks@\hl@update@comma\the\toks@ii}% + \fi +}% +% Parse the key of the option and save it in \hl@update@key +\def\hl@parse@opt@key#1=#2,{\def\hl@update@key{#1}}% +% +% Default and group parameters (options and types). +% +% Option `raise' will determine how much to raise hyperlink +% destinations above the baseline. It will be supported by all +% drivers, since it is handled outside the drivers, in +% \hldest@aftergetparam. +\def\hldest@opt@raise{\normalbaselineskip}% +% Options `colormodel' and `color' will also be handled outside the +% drivers, in \hlstart@aftergetparam. +\def\hl@opt@colormodel{cmyk}% +\def\hl@opt@color{0.28,1,1,0.35}% +% +% Parameters for destinations and links produced implicitly by +% cross-reference macros. Note that each driver will additionally +% define \hldest@type and \hl@type parameters which will be used when +% one of the below is empty, and default values for destination and +% link options (which are driver-specific). +% +% Destination on/off flags (0=off, 1=on). Changing them here has no +% effect, modify \enablehyperlinks to set defaults. +\def\hldest@on@definexref{0}% +\def\hldest@on@xrdef{0}% +\def\hldest@on@li{0}% +\def\hldest@on@eq{0}% \eqdef and friends +\def\hldest@on@bib{0}% \biblabelprint (BibTeX) +\def\hldest@on@foot{0}% \footnote / \numberedfootnote +\def\hldest@on@footback{0}% back-ref for \footnote / \numberedfootnote +\def\hldest@on@idx{0}% both `page' dests and `exact' dests +% Types of destinations. +\let\hldest@type@definexref\empty +\let\hldest@type@xrdef\empty +\let\hldest@type@li\empty +\let\hldest@type@eq\empty % \eqdef and friends +\let\hldest@type@bib\empty % \biblabelprint (BibTeX) +\let\hldest@type@foot\empty % \footnote / \numberedfootnote +\let\hldest@type@footback\empty % back-ref for \footnote / \numberedfootnote +\let\hldest@type@idx\empty % both `page' dests and `exact' dests +% Options for destinations. +\let\hldest@opts@definexref\empty +\let\hldest@opts@xrdef\empty +\let\hldest@opts@li\empty +\def\hldest@opts@eq{raise=1.7\normalbaselineskip}% \eqdef and friends +\let\hldest@opts@bib\empty % \biblabelprint (BibTeX) +\let\hldest@opts@foot\empty % \footnote / \numberedfootnote +\let\hldest@opts@footback\empty % back-ref for \footnote / \numberedfootnote +\let\hldest@opts@idx\empty % both `page' dests and `exact' dests +% +% Hyperlink on/off flags (0=off, 1=on). Changing them here has no +% effect, modify \enablehyperlinks to set defaults. +\def\hl@on@ref{0}% \refn and \xrefn, \ref, \refs +\def\hl@on@xref{0}% +\def\hl@on@eq{0}% \eqref and \eqrefn +\def\hl@on@cite{0}% \cite (BibTeX) +\def\hl@on@foot{0}% \footnote / \numberedfootnote +\def\hl@on@footback{0}% back-reference for \footnote / \numberedfootnote +\def\hl@on@idx{0}% +\def\hl@on@url{0}% \url from url.sty +\def\hl@on@hrefint{0}% \href with internal #labels +\def\hl@on@hrefext{0}% \href with external labels (URLs) +% Types of links. +\let\hl@type@ref\empty % \refn and \xrefn, \ref, \refs +\let\hl@type@xref\empty +\let\hl@type@eq\empty % \eqref and \eqrefn +\let\hl@type@cite\empty % \cite (BibTeX) +\let\hl@type@foot\empty % \footnote / \numberedfootnote +\let\hl@type@footback\empty % back-reference for \footnote / \numberedfootnote +\let\hl@type@idx\empty +\let\hl@type@url\empty % \url from url.sty (this will be set to `url' by + % drivers which support the `url' type) +\let\hl@type@hrefint\empty % \href with internal #labels +\let\hl@type@hrefext\empty % \href with external labels (URLs) (this + % will be set to `url' by drivers which support the `url' type) +% Options for links. +\let\hl@opts@ref\empty % \refn and \xrefn, \ref, \refs +\let\hl@opts@xref\empty +\let\hl@opts@eq\empty % \eqref and \eqrefn +\let\hl@opts@cite\empty % \cite (BibTeX) +\let\hl@opts@foot\empty % \footnote / \numberedfootnote +\let\hl@opts@footback\empty % back-reference for \footnote / \numberedfootnote +\let\hl@opts@idx\empty +\let\hl@opts@url\empty % \url from url.sty +\let\hl@opts@hrefint\empty % \href with internal #labels +\let\hl@opts@hrefext\empty % \href with external labels (URLs) +% +% \@hlon[GROUPS] +% \@hloff[GROUPS] +% \@hldeston[GROUPS] +% \@hldestoff[GROUPS] +% \@@hlon +% \@@hloff +% \@@hldeston +% \@@hldestoff +% +% Macros to switch hyperlinks / destinations on/off. +% +% The optional arg is the list of groups. It can contain a star (*) +% which will make the macros affect all groups (but not the low-level +% macros \hlstart, \hlend and \hldest). +% +% \@hlon, \@hldeston, \@hloff and \@hldestoff will turn low-level +% macros on/off only when they are used either without the optional +% arg or with an empty `group' in the optional arg, otherwise only the +% specified groups are affected. +% +% The single-`@' variants (\@hl...) are for the user. In your macros, +% if you want to (temporarily) turn low-level macros on/off, it's +% better to use the double-`@' variants (\@@hl...), because they are +% much faster and won't clobber \@optionalarg or anything else. +% +\def\@hlon{\@hlonoff@value@stub{hl}\@@hlon1 }% +\def\@hloff{\@hlonoff@value@stub{hl}\@@hloff0 }% +\def\@hldeston{\@hlonoff@value@stub{hldest}\@@hldeston1 }% +\def\@hldestoff{\@hlonoff@value@stub{hldest}\@@hldestoff0 }% +% +\def\@hlonoff@value@stub#1#2#3{% + \def\hl@prefix{#1}% + \let\hl@on@empty#2% + \def\hl@value{#3}% + \expandafter\let\expandafter\hl@all@groups + \csname \hl@prefix @groups\endcsname + \@getoptionalarg\@finhlswitch +}% +% +\def\@finhlswitch{% + \ifx\@optionalarg\empty + \hl@on@empty + \fi + % If we find an asterisk in the list, we have no choice but to + % finish the list and then call \@finhlswitch again, now with + % \hl@all@groups for the list of groups. + \let\hl@do@all@groups\relax +% + \For\hl@group:=\@optionalarg\do{% + \ifx\hl@group\hl@asterisk@word + \let\@optionalarg\hl@all@groups + \let\hl@do@all@groups\@finhlswitch + \else + \ifx\hl@group\empty + \hl@on@empty + \else + \expandafter\ifx\csname\hl@prefix @on@\hl@group\endcsname \relax + \errmessage{Hyperlink group `\hl@prefix:on:\hl@group' + is not defined}% + \fi + \ece\edef{\hl@prefix @on@\hl@group}{\hl@value}% + \fi + \fi + }% +% + \hl@do@all@groups +}% +% Turn low-level macros on/off. +\def\@@hlon{% + \let\hlstart\@hlstart + \let\hlend\@hlend +}% +\def\@@hloff{% + \def\hlstart##1##2##3{\leavevmode\ignorespaces}% + \let\hlend\relax +}% +\def\@@hldeston{% + \let\hldest\@hldest +}% +\def\@@hldestoff{% + \def\hldest##1##2##3{\ignorespaces}% +}% +% +% Hyperlink drivers. +% +% \enablehyperlinks[OPTIONS] will enable hyperlinks. OPTIONS is a +% list of comma-separated options. An option is one of the following: +% +% idxexact Point index links to exact locations of the term +% idxpage Point index links to pages with the term (default) +% idxnone No links for index entries +% <driver-name> Force the hyperlink driver +% +% If <driver-name> is omitted, appropriate driver will be detected, if +% possible; if not, we fall back on `hypertex'. +\def\hl@idxexact@word{idxexact}% +\def\hl@idxpage@word{idxpage}% +\def\hl@idxnone@word{idxnone}% +\def\hl@raw@word{raw}% +% +\def\enablehyperlinks{\@getoptionalarg\@finenablehyperlinks}% +\def\@finenablehyperlinks{% + \let\hl@selecteddriver\empty + % By default we generate `idxpage' index hyperlinks. + \def\hldest@place@idx{0}% + % Go through the option list. + \for\hl@arg:=\@optionalarg\do{% + \ifx\hl@arg\hl@idxexact@word + \def\hldest@place@idx{1}% + \else + \ifx\hl@arg\hl@idxnone@word + \def\hldest@place@idx{-1}% + \else + \ifx\hl@arg\hl@idxpage@word + \def\hldest@place@idx{0}% + \else + \let\hl@selecteddriver\hl@arg + \fi + \fi + \fi + }% + % Check the driver name. + \ifx\hl@selecteddriver\empty + % The user did not specify a driver, detect. + \ifpdf + \def\hl@selecteddriver{pdftex}% + \message{^^JEplain: using `pdftex' hyperlink driver.}% + \else + \def\hl@selecteddriver{hypertex}% + \message{^^JEplain: using `hypertex' hyperlink driver.}% + \fi + \else + % Check that the requested driver's initialization routine is + % available. + \expandafter\ifx\csname hldriver@\hl@selecteddriver\endcsname \relax + \errmessage{No hyperlink driver `\hl@selecteddriver' available}% + \fi + \fi + % Enable \hltype, \hlopts, \hldest and \hldestopts now (the driver's + % initialization routine may change this). + \let\hl@setparam\@hl@setparam + % Call the driver's initialization routine. + \csname hldriver@\hl@selecteddriver\endcsname + % Driver should not be changed later. + \def\@finenablehyperlinks{\errmessage{Hyperlink driver `\hl@selecteddriver' + already selected}}% + % Free memory taken up by the drivers. + \let\hldriver@nolinks\undefined + \let\hldriver@hypertex\undefined + \let\hldriver@pdftex \undefined + \let\hldriver@dvipdfm\undefined + % The user can use these to turn the links / destinations on/off + % (see comments to the driver `nolinks'). + \let\hloff\@hloff + \let\hlon\@hlon + \let\hldestoff\@hldestoff + \let\hldeston\@hldeston + % By default turn everything on except the footnotes. + \hlon[*,]\hloff[foot,footback]% + \hldeston[*,]\hldestoff[foot,footback]% +}% +% +% Driver `nolinks'. +% +% Select this driver to suppress any hyperlinks / destinations in your +% document. +% +% NOTE: selecting this driver is quite different from not selecting +% any driver at all, or from selecting some driver and then turning +% off links and destinations for the entire document with \hloff and +% \hldestoff. +% +% The purpose of \hldestoff and \hloff is to mark (parts) of document +% where links should never appear. (Imagine you want to prevent a +% cross-referencing macro from generating a link at a certain spot in +% your document.) +% +% If instead you have prepared a document with links and just want to +% compile a version without the links, it is better to select the +% driver `nolinks'. This will ensure that spacing and pagebreaking +% will be the same as what you were getting with hyperlinks enabled. +% +% The reason for this is that hyperlinks are produced by \special +% commands. Each \special is placed inside a whatsit which may +% introduce a legitimate breakpoint at places where none would exist +% without the whatsit. The macros \hldestoff and \hloff disable +% hyperlink macros so drastically that no whatsits are produced. +% +% On the other hand, `nolinks' driver does not completely disable +% hyperlink macros. Instead, it defines them to write to the log +% file (what gets written is not really important). This will produce +% the whatsits imitating the whatsits from the \special's. (This +% trick was borrowed from graphics bundle.) +% +% Another reason for using `nolinks' is that in horizontal mode +% \hldest places destinations inside zero-width/height/depth boxes. +% When you say \hldestoff, \hldest will omit both destination specs +% and these boxes. The missing boxes can cause typesetting to be +% inconsistent with what you were getting with destinations enabled. +% Again, `nolinks' driver helps here by defining \hldest to still +% produce the empty boxes. +% +% Additionally, `nolinks' driver defines the \hldesttype, \hldestopts, +% \hltype, \hlopts macros to gobble their parameters, to avoid error +% messages about "unknown" options and types under the `nolinks' +% driver. +\def\hldriver@nolinks{% + \def\@hldest##1##2##3{% + \edef\temp{\write-1{hldest: ##3}}% + \ifvmode + \temp + \else + \allowhyphens + \expandafter\smash\expandafter{\temp}% + \allowhyphens + \fi + \ignorespaces + }% + \def\@hlstart##1##2##3{% + \leavevmode + \begingroup % Start the color group. + \edef\temp{\write-1{hlstart: ##3}}% + \temp + \ignorespaces + }% + \def\@hlend{% + \edef\temp{\write-1{hlend}}% + \temp + \endgroup % End the color group from \@hlstart. + }% + % Make \hltype, \hlopts, \hldesttype and \hldestopts ignore their + % parameters. + \let\hl@setparam\gobble +}% +% +% Driver `hypertex'. +% +{\catcode`\#=\other +\gdef\hlhash{#}}% +% +\def\hldriver@hypertex{% + % + % Hyperlink destinations. + % + % Default type. + \def\hldest@type{xyz}% + % Set defaults for the options (this also tells \hl@set@opt what + % options we support). (We do not define \hldest@opt@raise, + % \hl@opt@colormodel and \hl@opt@color, they are defined and used + % outside the drivers.) + \let\hldest@opt@cmd \empty + % Multiplexer for all supported destination types. + \def\hldest@driver{% + % Special case for `raw' destinations. + \ifx\@hltype\hl@raw@word + \csname \hldest@opt@cmd \endcsname + \else + \special{html:<a name="\@hllabel">}\special{html:</a>}% + \fi + }% + % Define handlers for each supported destination type (this also + % tells \hl@getparam what types we support). + \let\hldest@typeh@raw \empty + \let\hldest@typeh@xyz \empty + % + % Hyperlinks. + % + % Default type. + \def\hl@type{name}% + % We support `url' hyperlinks, so set some group types. + \ifx\hl@type@url\empty + \def\hl@type@url{url}% + \fi + \ifx\hl@type@hrefext\empty + \def\hl@type@hrefext{url}% + \fi + % Set defaults for the options (this also tells \hl@set@opt what + % options we support). + \let\hl@opt@cmd \empty + \let\hl@opt@ext \empty + \let\hl@opt@file \empty + % Multiplexer for all supported link types. + \def\hl@driver{% + % Special case for `raw' links. + \ifx\@hltype\hl@raw@word + \csname \hl@opt@cmd \endcsname + \else + % Construct common preamble of a link. + \def\hlstart@preamble{html:<a href="}% + % Call the handler. + \csname hl@typeh@\@hltype\endcsname + \fi + }% + % Define handlers for each supported link type (this also tells + % \hl@getparam what types we support). + \let\hl@typeh@raw \empty + \def\hl@typeh@name{\special{\hlstart@preamble \hlhash\@hllabel">}}% + \def\hl@typeh@filename{% + \special{% + \hlstart@preamble + file:\hl@opt@file\hl@opt@ext + \ifempty\@hllabel \else \hlhash\@hllabel\fi + ">% + }% + }% + \def\hl@typeh@url{% + \special{% + \hlstart@preamble + \@hllabel + ">% + }% + }% + % + \def\@hlend{\special{html:</a>}\endgroup}% End the group from \@hlstart. +}% +% +% Driver `pdftex'. +% +\def\hldriver@pdftex{% +\ifpdf % PDF output is enabled. + % + % Hyperlink destinations. + % + % Default type. + \def\hldest@type{xyz}% + % Set defaults for the options (this also tells \hl@set@opt what + % options we support). (We do not define \hldest@opt@raise, + % \hl@opt@colormodel and \hl@opt@color, they are defined and used + % outside the drivers.) + \let\hldest@opt@width \empty + \let\hldest@opt@height \empty + \let\hldest@opt@depth \empty + \let\hldest@opt@zoom \empty + \let\hldest@opt@cmd \empty + % Multiplexer for all supported destination types. + \def\hldest@driver{% + % Special case for `raw' destinations. + \ifx\@hltype\hl@raw@word + \csname \hldest@opt@cmd \endcsname + \else + \pdfdest name{\@hllabel}\@hltype + \csname hldest@typeh@\@hltype\endcsname + \fi + }% + % Define handlers for each supported destination type (this also + % tells \hl@getparam what types we support). + \let\hldest@typeh@raw \empty + \let\hldest@typeh@fit \empty + \let\hldest@typeh@fith \empty + \let\hldest@typeh@fitv \empty + \let\hldest@typeh@fitb \empty + \let\hldest@typeh@fitbh \empty + \let\hldest@typeh@fitbv \empty + \def\hldest@typeh@fitr{% + \ifx\hldest@opt@width \empty \else width \hldest@opt@width \fi + \ifx\hldest@opt@height \empty \else height \hldest@opt@height \fi + \ifx\hldest@opt@depth \empty \else depth \hldest@opt@depth \fi + }% + \def\hldest@typeh@xyz{% + \ifx\hldest@opt@zoom\empty \else zoom \hldest@opt@zoom \fi + }% + % + % Hyperlinks. + % + % Default type. + \def\hl@type{name}% + % We support `url' hyperlinks, so set some group types. + \ifx\hl@type@url\empty + \def\hl@type@url{url}% + \fi + \ifx\hl@type@hrefext\empty + \def\hl@type@hrefext{url}% + \fi + % Set defaults for the options (this also tells \hl@set@opt what + % options we support). + \let\hl@opt@width \empty + \let\hl@opt@height \empty + \let\hl@opt@depth \empty + \def\hl@opt@bstyle {S}% + \def\hl@opt@bwidth {1}% + \let\hl@opt@bcolor \empty + \let\hl@opt@hlight \empty + \let\hl@opt@bdash \empty + \let\hl@opt@pagefit \empty + \let\hl@opt@cmd \empty + \let\hl@opt@file \empty + \let\hl@opt@newwin \empty + % Multiplexer for all supported link types. + \def\hl@driver{% + % Special case for `raw' links. + \ifx\@hltype\hl@raw@word + \csname \hl@opt@cmd \endcsname + \else + % See if we will construct a /BS spec. We want to bother only + % if any of \hl@opt@bstyle, \hl@opt@bwidth and \hl@opt@bdash is + % not empty. + \let\hl@BSspec\relax % construct + \ifx\hl@opt@bstyle \empty + \ifx\hl@opt@bwidth \empty + \ifx\hl@opt@bdash \empty + \let\hl@BSspec\empty % don't construct + \fi + \fi + \fi + % Construct common preamble of a link. + \def\hlstart@preamble{% + \pdfstartlink + \ifx\hl@opt@width \empty \else width \hl@opt@width \fi + \ifx\hl@opt@height \empty \else height \hl@opt@height \fi + \ifx\hl@opt@depth \empty \else depth \hl@opt@depth \fi + attr{% + \ifx\hl@opt@bcolor\empty\else /C[\hl@opt@bcolor]\fi + \ifx\hl@opt@hlight\empty\else /H/\hl@opt@hlight\fi + \ifx\hl@BSspec\relax + /BS<<% + /Type/Border% + \ifx\hl@opt@bstyle\empty\else /S/\hl@opt@bstyle\fi + \ifx\hl@opt@bwidth\empty\else /W \hl@opt@bwidth\fi + \ifx\hl@opt@bdash\empty \else /D[\hl@opt@bdash]\fi + >>% + \fi + }% + }% + % Call the handler. + \csname hl@typeh@\@hltype\endcsname + \fi + }% + % Define handlers for each supported link type (this also tells + % \hl@getparam what types we support). + \let\hl@typeh@raw\empty + \def\hl@typeh@name{\hlstart@preamble goto name{\@hllabel}}% + \def\hl@typeh@num{\hlstart@preamble goto num \@hllabel}% + \def\hl@typeh@page{% + % PDF requires pages to start from 0, so adjust page number. + \count@=\@hllabel + \advance\count@ by-1 + % + \hlstart@preamble + user{% + /Subtype/Link% + /Dest% + [\the\count@ + \ifx\hl@opt@pagefit\empty/Fit\else\hl@opt@pagefit\fi]% + }% + }% + \def\hl@typeh@filename{\hl@file{(\@hllabel)}}% + \def\hl@typeh@filepage{% + % PDF requires pages to start from 0, so adjust page number. + \count@=\@hllabel + \advance\count@ by-1 + % + \hl@file{% + [\the\count@ \ifx\hl@opt@pagefit\empty/Fit\else\hl@opt@pagefit\fi]% + }% + }% + \def\hl@file##1{% + \hlstart@preamble + user{% + /Subtype/Link% + /A<<% + /Type/Action% + /S/GoToR% + /D##1% + /F(\hl@opt@file)% + \ifx\hl@opt@newwin\empty \else + /NewWindow \ifcase\hl@opt@newwin false\else true\fi + \fi + >>% + }% + }% + \def\hl@typeh@url{% + \hlstart@preamble + user{% + /Subtype/Link% + /A<<% + /Type/Action% + /S/URI% + /URI(\@hllabel)% + >>% + }% + }% + % + \def\@hlend{\pdfendlink\endgroup}% End the group from the \@hlstart. +% +\else % PDF output is not enabled. + \message{Eplain warning: `pdftex' hyperlink driver: PDF output is^^J + \space not enabled, falling back on `nolinks' driver.}% + \hldriver@nolinks +\fi +}% +% +% Driver `dvipdfm'. +% +\def\hldriver@dvipdfm{% + % + % Hyperlink destinations. + % + % Default type. + \def\hldest@type{xyz}% + % Set defaults for the options (this also tells \hl@set@opt what + % options we support). (We do not define \hldest@opt@raise, + % \hl@opt@colormodel and \hl@opt@color, they are defined and used + % outside the drivers.) + \let\hldest@opt@left \empty + \let\hldest@opt@top \empty + \let\hldest@opt@right \empty + \let\hldest@opt@bottom \empty + \let\hldest@opt@zoom \empty + \let\hldest@opt@cmd \empty + % Multiplexer for all supported destination types. + \def\hldest@driver{% + % Special case for `raw' destinations. + \ifx\@hltype\hl@raw@word + \csname \hldest@opt@cmd \endcsname + \else + % Construct common preamble of a destination. + \def\hldest@preamble{% + pdf: dest (\@hllabel) [@thispage + }% + % Call the handler. + \csname hldest@typeh@\@hltype\endcsname + \fi + }% + % Define handlers for each supported destination type (this also + % tells \hl@getparam what types we support). + \let\hldest@typeh@raw\empty + \def\hldest@typeh@fit{% + \special{\hldest@preamble /Fit]}% + }% + \def\hldest@typeh@fith{% + \special{\hldest@preamble /FitH + \ifx\hldest@opt@top\empty @ypos \else \hldest@opt@top \fi]}% + }% + \def\hldest@typeh@fitv{% + \special{\hldest@preamble /FitV + \ifx\hldest@opt@left\empty @xpos \else \hldest@opt@left \fi]}% + }% + \def\hldest@typeh@fitb{% + \special{\hldest@preamble /FitB]}% + }% + \def\hldest@typeh@fitbh{% + \special{\hldest@preamble /FitBH + \ifx\hldest@opt@top\empty @ypos \else \hldest@opt@top \fi]}% + }% + \def\hldest@typeh@fitbv{% + \special{\hldest@preamble /FitBV + \ifx\hldest@opt@left\empty @xpos \else \hldest@opt@left \fi]}% + }% + \def\hldest@typeh@fitr{% + \special{\hldest@preamble /FitR + \ifx\hldest@opt@left\empty @xpos\else\hldest@opt@left\fi\space + \ifx\hldest@opt@bottom\empty @ypos\else\hldest@opt@bottom\fi\space + \ifx\hldest@opt@right\empty @xpos\else\hldest@opt@right\fi\space + \ifx\hldest@opt@top\empty @ypos\else\hldest@opt@top \fi]}% + }% + \def\hldest@typeh@xyz{% + \begingroup + % Convert zoom factor: 12345 -> 12.345 + \ifx\hldest@opt@zoom\empty + \count1=\z@ \count2=\z@ + \else + \count2=\hldest@opt@zoom + \count1=\count2 \divide\count1 by 1000 + \count3=\count1 \multiply\count3 by 1000 + \advance\count2 by -\count3 + \fi + \special{\hldest@preamble /XYZ + \ifx\hldest@opt@left\empty @xpos\else\hldest@opt@left\fi\space + \ifx\hldest@opt@top\empty @ypos\else\hldest@opt@top\fi\space + \the\count1.\the\count2]}% + \endgroup + }% + % + % Hyperlinks. + % + % Default type. + \def\hl@type{name}% + % We support `url' hyperlinks, so set some group types. + \ifx\hl@type@url\empty + \def\hl@type@url{url}% + \fi + \ifx\hl@type@hrefext\empty + \def\hl@type@hrefext{url}% + \fi + % Set defaults for the options (this also tells \hl@set@opt what + % options we support). + \def\hl@opt@bstyle {S}% + \def\hl@opt@bwidth {1}% + \let\hl@opt@bcolor \empty + \let\hl@opt@hlight \empty + \let\hl@opt@bdash \empty + \let\hl@opt@pagefit \empty + \let\hl@opt@cmd \empty + \let\hl@opt@file \empty + \let\hl@opt@newwin \empty + % Multiplexer for all supported link types. + \def\hl@driver{% + % Special case for `raw' links. + \ifx\@hltype\hl@raw@word + \csname \hl@opt@cmd \endcsname + \else + % See if we will construct a /BS spec. We want to bother only + % if any of \hl@opt@bstyle, \hl@opt@bwidth and \hl@opt@bdash is + % not empty. + \let\hl@BSspec\relax % construct + \ifx\hl@opt@bstyle \empty + \ifx\hl@opt@bwidth \empty + \ifx\hl@opt@bdash \empty + \let\hl@BSspec\empty % don't construct + \fi + \fi + \fi + % Construct common preamble of a link. + \def\hlstart@preamble{% + pdf: beginann + <<% + /Type/Annot% + /Subtype/Link% + \ifx\hl@opt@bcolor\empty\else /C[\hl@opt@bcolor]\fi + \ifx\hl@opt@hlight\empty\else /H/\hl@opt@hlight\fi + \ifx\hl@BSspec\relax + /BS<<% + /Type/Border% + \ifx\hl@opt@bstyle\empty\else /S/\hl@opt@bstyle\fi + \ifx\hl@opt@bwidth\empty\else /W \hl@opt@bwidth\fi + \ifx\hl@opt@bdash\empty \else /D[\hl@opt@bdash]\fi + >>% + \fi + }% + % Call the handler. + \csname hl@typeh@\@hltype\endcsname + \fi + }% + % Define handlers for each supported link type (this also tells + % \hl@getparam what types we support). + \let\hl@typeh@raw\empty + \def\hl@typeh@name{\special{\hlstart@preamble /Dest(\@hllabel)>>}}% + \def\hl@typeh@page{% + % PDF requires pages to start from 0, so adjust page number. + \count@=\@hllabel + \advance\count@ by-1 + % + \special{% + \hlstart@preamble + /Dest[\the\count@ + \ifx\hl@opt@pagefit\empty/Fit\else\hl@opt@pagefit\fi]% + >>% + }% + }% + \def\hl@typeh@filename{\hl@file{(\@hllabel)}}% + \def\hl@typeh@filepage{% + % PDF requires pages to start from 0, so adjust page number. + \count@=\@hllabel + \advance\count@ by-1 + % + \hl@file{% + [\the\count@ \ifx\hl@opt@pagefit\empty/Fit\else\hl@opt@pagefit\fi]% + }% + }% + \def\hl@file##1{% + \special{% + \hlstart@preamble + /A<<% + /Type/Action% + /S/GoToR% + /D##1% + /F(\hl@opt@file)% + \ifx\hl@opt@newwin\empty \else + /NewWindow \ifcase\hl@opt@newwin false\else true\fi + \fi + >>% + >>% + }% + }% + \def\hl@typeh@url{% + \special{% + \hlstart@preamble + /A<<% + /Type/Action% + /S/URI% + /URI(\@hllabel)% + >>% + >>% + }% + }% + % + \def\@hlend{\special{pdf: endann}\endgroup}% End the group from \@hlstart. +}% +% +% Miscellaneous hyperlink macros. +% +% +% \href{URL}{TEXT} typesets TEXT as a link to the URL. If URL starts +% with a #, the rest of the URL is assumed to be this document's local +% anchor. Special chars (like # and ~) in URL don't need to be +% escaped in any way. +\def\href{% + % Read #1 (URL) inside a group with \uncatcodespecials, to get the # + % and ~ right. + \bgroup + \uncatcodespecials + \catcode`\{=1 \catcode`\}=2 + \@href +}% +% +\def\@href#1{% We'll read #2 (TEXT) later. + \egroup + \edef\@hreftmp{\ifempty{#1}{}\fi}% Parameter stuffing for \@@href. + \expandafter\@@href\@hreftmp#1\@@ +}% +% +\def\href@end@int{\hlend@impl{hrefint}}% +\def\href@end@ext{\hlend@impl{hrefext}}% +% Split out the first token and check if it is a #. +\def\@@href#1#2\@@{% + \def\@hreftmp{#1}% + \ifx\@hreftmp\hlhash + \let\href@end\href@end@int + \hlstart@impl{hrefint}{#2}% + \else + \let\href@end\href@end@ext + \hlstart@impl{hrefext}{#1#2}% + \fi + \@@@href +}% +% Now some tricks to avoid reading the TEXT as an argument (from the +% \footnote definition in plain TeX). +\def\@@@href{% + \futurelet\@hreftmp\href@ +}% +% +\def\href@{% + \ifcat\bgroup\noexpand\@hreftmp + \let\@hreftmp\href@@ + \else + \let\@hreftmp\href@@@ + \fi + \@hreftmp +}% +% +\def\href@@{\bgroup\aftergroup\href@end \let\@hreftmp}% +% +\def\href@@@#1{#1\href@end}% +% +% Make all user-visible \hl* macros to give errors until hyperlinks +% are explicitly enabled with \enablehyperlinks. +\def\hldeston{\errmessage{Please enable hyperlinks with + \string\enablehyperlinks\space before using hyperlink commands + (consider selecting the `nolinks' driver to ignore all hyperlink + commands in your document)}}% +\let\hldestoff\hldeston \let\hlon\hldeston \let\hloff\hldeston +\let\hlstart\hldeston \let\hlend\hldeston \let\hldest\hldeston +% This catches \hltype, \hlopts, \hldesttype, \hldestopts. +\let\hl@setparam\hldeston +% Turn off all groups to make sure \hlstart@impl, \hlend@impl and +% \hldest@impl do not call \hlstart, \hlend and \hldest until +% hyperlinks are enabled. +\@hloff[*]\@hldestoff[*]% +% +% +% Support for LaTeX packages under plain TeX. +% +% We use miniltx.tex from the LaTeX graphics collection and build on +% it to provide package options support, package version check, +% recursive package loading with \RequirePackage, proper handling of +% \AtBeginDocument and \AtEndOfPackage. +% +% Much of the following was borrowed from LaTeX. +% +% The internal variables are quite a mess, so here is a hint: +% +% - \usepkg@pkg, \usepkg@options, \usepkg@date are used by +% \usepackage to save its parameters. +% +% - When \RequirePackage is called within a package, the above +% variables are saved in \usepkg@save@VAR@RECURSIONLEVEL, where +% VAR={pkg,options,date}, and RECURSIONLEVEL is incremented for +% each nested package inclusion. This way the variables can be +% restored after the (nested) package will have been loaded. +% +% - Options for package PACKAGE (no .sty extension) are accumulated +% in \usepkg@options@PACKAGE. +% +% - For each declared option OPTION in package PACKAGE, we save the +% code which enables OPTION in \usepkg@option@PACKAGE@OPTION. +% There may be a star (`*') option declaration, the code from which +% will be used to process options not declared by the package +% (without it, an undeclared option will cause an error). +% +% - For each loaded PACKAGE / FILE.EXT we declare \ver@PACKAGE.sty / +% \ver@FILE.EXT. We use \ver@PACKAGE.sty to detect reloading +% of packages. Some packages also use these macros. +% +% - Calls to \AtBeginDocument accumulate the code in +% \usepkg@at@begin@document. We will expand it at the end of the +% \beginpackages...\endpackages `environment'. +% +% - Calls to \AtEndOfPackage accumulate the code in +% \usepkg@at@end@of@package. We will expand it after the package +% is loaded. To allow recursive package loading, \RequirePackage +% saves \usepkg@at@end@of@package analogous to \usepkg@pkg. +% +\newif\ifusepkg@miniltx@loaded +\newcount\usepkg@recursion@level +\def\usepkg@rcrs{\the\usepkg@recursion@level}% +\let\usepkg@at@begin@document\empty +\let\usepkg@at@end@of@package\empty +\def\usepkg@word@autopict{autopict}% +\def\usepkg@word@psfrag{psfrag}% +% \beginpackages...\endpackages +% +% All packages must be loaded within this `environment' (a kind of +% LaTeX's preamble). This is so to give us a chance to expand the +% accumulated \AtBeginDocument commands. Usually, you will want to +% restrict all \usepackage's to a single \beginpackages...\endpackages, +% just like in LaTeX, where you load all packages within a (single) +% preamble. +% +% At the end of the \beginpackages...\endpackages block, we restore +% the \input command to whatever it was defined before the +% package(s), because miniltx.tex and some packages make (sometimes +% incompatible) redefinitions of \input, and under plain TeX +% non-primitive \input is probably not what the user expects. But in +% case the redefined \input is actually needed, we save it as +% \packageinput. +% +% Define \DoNotLoadEpstopdf so that graphics.cfg does not try to load +% epstopdf.sty, which is a complication surely not wanted by default. +\long\def\beginpackages#1\endpackages{% + \let\usepackage\real@usepackage + \let\DoNotLoadEpstopdf=t + \let\eplaininput=\input + #1% + \usepkg@at@begin@document + \global\let\usepkg@at@begin@document\empty + \global\let\usepackage\fake@usepackage + \let\packageinput=\input + \let\input=\eplaininput +}% +% \fake@usepackage +% +% This is what \usepackage is defined to outside of +% \beginpackages...\endpackages `environment'. +\def\fake@usepackage{\errmessage{You should not use \string\usepackage\space outside of^^J + \@spaces\string\beginpackages...\string\endpackages\space environment}% +}% +% \RequirePackage[OPTIONS]{PACKAGES}[YYYY/MM/DD] +% +% Save parameters for the package being loaded and call \usepackage to +% load PACKAGES. We depend on \usepackage to restore the saved +% parameters. We allow for nested calls to \RequirePackage. +\def\eplain@RequirePackage{% + \global\ece\let{usepkg@save@pkg\usepkg@rcrs}\usepkg@pkg + \global\ece\let{usepkg@save@options\usepkg@rcrs}\usepkg@options + \global\ece\let{usepkg@save@date\usepkg@rcrs}\usepkg@date + \global\ece\let{usepkg@at@end@of@package\usepkg@rcrs}\usepkg@at@end@of@package + \global\advance\usepkg@recursion@level by\@ne + \real@usepackage +}% +% \usepackage[OPTIONS]{PACKAGES}[YYYY/MM/DD] +% +% Load each of the PACKAGES with OPTIONS, checking that the package +% date is at least YYYY/MM/DD; if it is not, issue a warning. +\let\usepackage\fake@usepackage +\def\real@usepackage{\@getoptionalarg\@finusepackage}% +\def\@finusepackage#1{% + \let\usepkg@options\@optionalarg + \ifempty{#1}% + \errmessage{No packages specified}% + \fi + % Load miniltx.tex, if it is not loaded. + \ifusepkg@miniltx@loaded \else + \testfileexistence[miniltx]{tex}% + \if@fileexists + \input miniltx.tex + \global\usepkg@miniltx@loadedtrue + % Redefine some macros from miniltx.tex + \global\let\RequirePackage\eplain@RequirePackage + \global\let\DeclareOption\eplain@DeclareOption + \global\let\PassOptionsToPackage\eplain@PassOptionsToPackage + \global\let\ExecuteOptions\eplain@ExecuteOptions + \global\let\ProcessOptions\eplain@ProcessOptions + \global\let\AtBeginDocument\eplain@AtBeginDocument + \global\let\AtEndOfPackage\eplain@AtEndOfPackage + \global\let\ProvidesFile\eplain@ProvidesFile + \global\let\ProvidesPackage\eplain@ProvidesPackage + \else + \errmessage{miniltx.tex not found, cannot load LaTeX packages}% + \fi + \fi + % Read the trailing optional arg (YYYY/MM/DD). + \@ifnextchar[%] + {\@finfinusepackage{#1}}% + {\@finfinusepackage{#1}[]}% +}% +% +\def\@finfinusepackage#1[#2]{% + \edef\usepkg@date{#2}% + % Load each package from the list. Do it outside the \for loop to + % avoid clashes with any \for loops executed by the package. + \let\usepkg@load@list\empty + \for\usepkg@pkg:=#1\do{% + \toks@=\expandafter{\usepkg@load@list}% + \edef\usepkg@load@list{% + \the\toks@ + \noexpand\usepkg@load@pkg{\usepkg@pkg}% + }% + }% + \usepkg@load@list + % Restore parameters in case we were called from \RequirePackage. + \ifnum\usepkg@recursion@level>0 + \global\advance\usepkg@recursion@level by\m@ne + \expandafter\let\expandafter\usepkg@pkg\csname usepkg@save@pkg\usepkg@rcrs\endcsname + \expandafter\let\expandafter\usepkg@options\csname usepkg@save@options\usepkg@rcrs\endcsname + \expandafter\let\expandafter\usepkg@date\csname usepkg@save@date\usepkg@rcrs\endcsname + \expandafter\let\expandafter\usepkg@at@end@of@package\csname usepkg@at@end@of@package\usepkg@rcrs\endcsname + % Free the memory. + \global\ece\let{usepkg@save@pkg\usepkg@rcrs}\undefined + \global\ece\let{usepkg@save@options\usepkg@rcrs}\undefined + \global\ece\let{usepkg@save@date\usepkg@rcrs}\undefined + \global\ece\let{usepkg@at@end@of@package\usepkg@rcrs}\undefined + \fi +}% +% Load one package. We assume packages have `sty' extension. +\def\usepkg@load@pkg#1{% + % Special cases for `autopict' and `psfrag' packages: + % - `psfrag' is loaded by psfrag.tex. + % - `autopict' is loaded by picture.tex, but the package file is + % autopict.sty. + \def\usepkg@pkg{#1}% + \ifx\usepkg@pkg\usepkg@word@autopict + \testfileexistence[picture]{tex}% + \if@fileexists \else + \errmessage{Loader `picture.tex' for package `\usepkg@pkg' not found}% + \fi + \else + \ifx\usepkg@pkg\usepkg@word@psfrag + \testfileexistence[psfrag]{tex}% + \if@fileexists \else + \errmessage{Loader `psfrag.tex' for package `\usepkg@pkg' not found}% + \fi + \fi + \fi + % See if the package was loaded. If it was, we just bail out. + % (Maybe we should skip reloading it/warn? We don't want to go into + % checking that the package was first loaded with a superset of + % options which are requested now.) \ProvidePackage and + % \ProvideFile define the macro \ver@PACKAGE.sty (see + % \eplain@pr@videpackage below). + \ifundefined{ver@\usepkg@pkg.sty}% + \expandafter\@finusepkg@load@pkg + \else + \immediate\write-1{^^J\linenumber Eplain: package `\usepkg@pkg' already + loaded, skipping reloading}% + \fi +}% +\def\@finusepkg@load@pkg{% + \testfileexistence[\usepkg@pkg]{sty}% + \if@fileexists \else + \errmessage{Package `\usepkg@pkg' not found}% + \fi + % Construct option list for the package. Include any options + % passed to us by \PassOptionsToPackage and \RequirePackage. + \expandafter\let\expandafter\temp\csname usepkg@options@\usepkg@pkg\endcsname + \ifx\temp\relax + \let\temp\empty + \fi + \ifx\temp\empty + \let\temp\usepkg@options + \else + \ifx\usepkg@options\empty \else + \edef\temp{\temp,\usepkg@options}% + \fi + \fi + \global\ece\let{usepkg@options@\usepkg@pkg}\temp + % For the duration of the package, we want any calls to \usepackage + % to be mapped to \RequirePackage, to allow nested package loads + % without clobbering up anything. (Maybe packages never use + % \usepackage instead of \RequirePackage, but this won't hurt.) + \let\usepackage\eplain@RequirePackage + % Clear \AtEndOfPackage commands (can be non-empty during recursive + % package loading). + \global\let\usepkg@at@end@of@package\empty + % Load the package. If the package asks to load other package, + % \RequirePackage will save our \usepkg@{pkg,options,date} and + % \AtEndOfPackage commands, and \usepackage will restore them after + % recursively loading that package, so we don't worry about our + % setup being clobbered. + \ifx\usepkg@pkg\usepkg@word@autopict + \input picture.tex + \else + \ifx\usepkg@pkg\usepkg@word@psfrag + \input \usepkg@pkg.tex + \else + \input \usepkg@pkg.sty + \fi + \fi + % Execute the accumulated \AtEndOfPackage commands, and reset them + % to free the memory. + \usepkg@at@end@of@package + \global\let\usepkg@at@end@of@package\empty + % Restore the `real' \usepackage definition. + \let\usepackage\real@usepackage + % Clear the option list for the loaded package (we won't load a + % second copy anyway). + \global\ece\let{usepkg@options@\usepkg@pkg}\undefined + % Set \Url@HyperHook for url.sty + \def\Url@HyperHook##1{\hlstart@impl{url}{\Url@String}##1\hlend@impl{url}}% + % We check package version in \ProvidePackage, before reading the + % rest of the package, so that in case of errors (which can be + % numerous) the warning hopefully comes before the errors. +% \@ifl@ter{sty}\usepkg@pkg\usepkg@date{}% +% {\message{Warning: you have requested package `\usepkg@pkg', version \usepkg@date,^^J +% \@spaces but only version `\csname ver@\usepkg@pkg.sty\endcsname' is available.}}% +}% +% \DeclareOption{OPTION}{CODE} +% +% Save CODE in `usepkg@option@PACKAGE@OPTION'. Starred version is not +% treated any different here, but when defined it will be used by +% \ProcessOptions and \ExecuteOptions to process undeclared options. +\def\eplain@DeclareOption#1#2{% + \toks@{#2}% + \expandafter\xdef\csname usepkg@option@\usepkg@pkg @#1\endcsname{\the\toks@}% +}% +% \PassOptionsToPackage{OPTIONS}{PACKAGES} +% +% Add OPTIONS to the option list for each of the PACKAGES. +\def\eplain@PassOptionsToPackage#1#2{% + \ifempty{#1}\else + \for\usepkg@temp:=#2\do{% + \expandafter\let\expandafter\temp\csname usepkg@options@\usepkg@temp\endcsname + \ifx\temp\relax + \let\temp\empty + \fi + \ifx\temp\empty + \edef\temp{#1}% + \else + \edef\temp{\temp,#1}% + \fi + \global\ece\let{usepkg@options@\usepkg@temp}\temp + }% + \fi +}% +% \ExecuteOptions{OPTIONS} +% \ProcessOptions +% +% \ExecuteOptions executes each option from OPTIONS, \ProcessOptions +% executes each option from the option list for the current package. +% If the star (`*') option is declared, it will be used to process +% undeclared options; otherwise, undeclared option will cause an +% error. +\def\usepkg@exec@options#1{% + % The iterator \CurrentOption below was used purposely. Some + % packages use it in the argument to \DeclareOption. + \for\CurrentOption:=#1\do{% + \expandafter\let\expandafter\usepkg@temp + \csname usepkg@option@\usepkg@pkg @\CurrentOption\endcsname +% + \ifx\usepkg@temp\relax + % Option is not declared. If a `default' option handler is + % declared, use it. + \expandafter\let\expandafter\temp\csname usepkg@option@\usepkg@pkg @*\endcsname + \ifx\temp\relax + \errmessage{Unknown option `\CurrentOption' to package `\usepkg@pkg'}% + \else + \temp + \fi + \else + % Option is declared. + \usepkg@temp + \fi + }% +}% +% +\let\eplain@ExecuteOptions\usepkg@exec@options +\def\eplain@ProcessOptions{% + \expandafter\usepkg@exec@options\csname usepkg@options@\usepkg@pkg\endcsname +}% +% \AtBeginDocument{CODE} +% \AtEndOfPackage{CODE} +% +% miniltx.tex defines \AtBeginDocument to execute its parameter right +% away, but some packages depend on \AtBeginDocument to be executed +% after packages are processed. So we redefine \AtBeginDocument to +% accumulate its argument, to be executed by us at the end of +% \beginpackages...\endpackages. \AtEndOfPackage is not defined by +% miniltx.tex at all; we define it similar to \AtBeginDocument. +\def\usepkg@accumulate@cmds#1#2{% + \toks@=\expandafter{#1}% + \toks@ii={#2}% + \xdef#1{\the\toks@\the\toks@ii}% +}% +\def\eplain@AtBeginDocument{\usepkg@accumulate@cmds\usepkg@at@begin@document}% +\def\eplain@AtEndOfPackage{\usepkg@accumulate@cmds\usepkg@at@end@of@package}% +% \ProvidesFile{FILENAME.EXT}[VERSION] +% \ProvidesPackage{PACKAGENAME}[VERSION] +% +% miniltx.tex defines \ProvidesFile and \ProvidesPackage to only log a +% message. We want to define \ver@PACKAGE.sty / \ver@FILENAME.EXT, as +% we depend on these to know when a package/file has been loaded, and +% some packages depend on them, too. +\def\eplain@ProvidesPackage#1{% + \@ifnextchar[%] + {\eplain@pr@videpackage{#1.sty}}{\eplain@pr@videpackage#1[]}% +}% +\def\eplain@pr@videpackage#1[#2]{% + \wlog{#1: #2}% + % This will flag the package as loaded. + \expandafter\xdef\csname ver@#1\endcsname{#2}% +% \expandafter\edef\expandafter\temp{\csname usepkg@options@\usepkg@pkg\endcsname}% +% \message{^^JPackage:\usepkg@pkg^^JOptions:\usepkg@options^^J+ passed options:\temp^^J}% + % Check package version. + \@ifl@t@r{#2}\usepkg@date{}% + {\message{Warning: you have requested package `\usepkg@pkg', version \usepkg@date,^^J + \@spaces but only version `\csname ver@#1\endcsname' is available.}}% +}% +% +\def\eplain@ProvidesFile#1{% + \@ifnextchar[%] + {\eplain@pr@videfile{#1}}{\eplain@pr@videfile#1[]}% +}% +\def\eplain@pr@videfile#1[#2]{% + \wlog{#1: #2}% + % This will flag the file as loaded. + \expandafter\xdef\csname ver@#1\endcsname{#2}% + % We don't check file version. graphics calls \ProvideFile to + % \includegraphics, and it does not give any date at the beginning + % of #2, so checking the date will cause an error. +}% +% Check package version. From LaTeX. +\def\@ifl@ter#1#2{% + \expandafter\@ifl@t@r + \csname ver@#2.#1\endcsname +}% +\def\@ifl@t@r#1#2{% + \ifnum\expandafter\@parse@version#1//00\@nil<% + \expandafter\@parse@version#2//00\@nil + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi +}% +\def\@parse@version#1/#2/#3#4#5\@nil{#1#2#3#4 }% +% For the `draft' option to graphic{s,x}.sty. +\let\ttfamily\tt +\def\strip@prefix#1>{}% +% Definitions for epstopdf.sty. +\def\@ifpackageloaded#1{% + \expandafter\ifx\csname ver@#1.sty\endcsname\relax + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi +}% +\long\def\g@addto@macro#1#2{% + \begingroup + \toks@\expandafter{#1#2}% + \xdef#1{\the\toks@}% + \endgroup +}% +% These are for the warnings from epstopdf.sty when graphics.sty is +% not loaded. From pdftex.def. +\def\PackageWarning#1#2{% + \begingroup + \newlinechar=10 % + \def\MessageBreak{% + ^^J(#1)\@spaces\@spaces\@spaces\@spaces + }% + \immediate\write16{^^JPackage #1 Warning: #2\on@line.^^J}% + \endgroup +}% +\def\PackageWarningNoLine#1#2{% + \PackageWarning{#1}{#2\@gobble}% +}% +\def\on@line{ on input line \the\inputlineno}% +% Needed by some packages. +\def\@spaces{\space\space\space\space}% +\def\@inmatherr#1{% + \relax + \ifmmode + \errmessage{The command is invalid in math mode}% + \fi +}% +\let\protected@edef\edef +% +% +% +\let\wlog = \@plainwlog +\catcode`@ = \@eplainoldatcode +% +\def\fmtname{eplain}% +\def\eplain{t}% +{\edef\plainversion{\fmtversion}% + \xdef\fmtversion{REPLACE-WITH-VERSION: REPLACE-WITH-DAY-MONTH-YEAR (and plain \plainversion)}% +}% +% +% +% +% +% Local variables: +% page-delimiter: "^% \f" +% End: diff --git a/Master/texmf-dist/tex/eplain/eplain.tex b/Master/texmf-dist/tex/eplain/eplain.tex index 6881f08f038..93bc3df91c0 100644 --- a/Master/texmf-dist/tex/eplain/eplain.tex +++ b/Master/texmf-dist/tex/eplain/eplain.tex @@ -1,17 +1,20 @@ %% @texfile{ %% author = "Karl Berry, Steven Smith, Oleg Katsitadze, and others", -%% version = "3.2", -%% date = "Mon Nov 26 01:34:44 EET 2007", +%% version = "3.3", +%% date = "Tue Jul 21 21:57:33 PDT 2009", %% filename = "eplain.tex", %% email = "bug-eplain@tug.org", -%% checksum = "4056 8707 129859", +%% checksum = "4250 9190 134946", %% codetable = "ASCII", %% supported = "yes", %% docstring = "This file defines macros that extend and expand on %% plain TeX. eplain.tex is xeplain.tex and the other %% source files with comments stripped; see the original -%% files for author credits, etc. And please base diffs -%% or other contributions on xeplain.tex, not the +%% files for author credits, etc. The original sources +%% can be found in Eplain source zip archive in your TeX +%% distribution, on CTAN or on Eplain's home page at +%% http://tug.org/eplain. And please base diffs or +%% other contributions on xeplain.tex, not the %% stripped-down eplain.tex.", %% } \ifx\eplain\undefined @@ -20,7 +23,41 @@ \expandafter\let\expandafter\next\csname endinput\endcsname \fi \next +%% +%% This is file `ifpdf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ifpdf.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2005-2009 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file ifpdf.dtx +%% and the derived files +%% ifpdf.sty, ifpdf.pdf, ifpdf.ins, ifpdf.drv, ifpdf-test1.tex. +%% \begingroup + \catcode44 12 % , + \catcode45 12 % - + \catcode46 12 % . + \catcode58 12 % : + \catcode64 11 % @ \expandafter\let\expandafter\x\csname ver@ifpdf.sty\endcsname \ifcase 0% \ifx\x\relax % plain @@ -31,6 +68,9 @@ \fi \fi \else + \catcode35 6 % # + \catcode123 1 % { + \catcode125 2 % } \expandafter\ifx\csname PackageInfo\endcsname\relax \def\x#1#2{% \immediate\write-1{Package #1 Info: #2.}% @@ -43,13 +83,27 @@ \fi \endgroup \begingroup + \catcode35 6 % # + \catcode40 12 % ( + \catcode41 12 % ) + \catcode44 12 % , + \catcode45 12 % - + \catcode46 12 % . + \catcode47 12 % / + \catcode58 12 % : + \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \xdef#1{#4}% - }% + \def\x#1#2#3[#4]{\endgroup + \xdef#1{#4}% + }% \else \def\x#1#2[#3]{\endgroup - #2[#3]% + #2[{#3}]% + \ifx#1\@undefined + \xdef#1{#3}% + \fi \ifx#1\relax \xdef#1{#3}% \fi @@ -57,8 +111,43 @@ \fi \expandafter\x\csname ver@ifpdf.sty\endcsname \ProvidesPackage{ifpdf}% - [2005/07/22 v1.3 % - Providing \expandafter\string\csname ifpdf\endcsname\space (HO)] + [2009/04/10 v2.0 Provides the ifpdf switch (HO)] +\begingroup + \catcode123 1 % { + \catcode125 2 % } + \def\x{\endgroup + \expandafter\edef\csname ifpdf@AtEnd\endcsname{% + \catcode35 \the\catcode35\relax + \catcode64 \the\catcode64\relax + \catcode123 \the\catcode123\relax + \catcode125 \the\catcode125\relax + }% + }% +\x +\catcode35 6 % # +\catcode64 11 % @ +\catcode123 1 % { +\catcode125 2 % } +\def\TMP@EnsureCode#1#2{% + \edef\ifpdf@AtEnd{% + \ifpdf@AtEnd + \catcode#1 \the\catcode#1\relax + }% + \catcode#1 #2\relax +} +\TMP@EnsureCode{10}{12}% ^^J +\TMP@EnsureCode{39}{12}% ' +\TMP@EnsureCode{40}{12}% ( +\TMP@EnsureCode{41}{12}% ) +\TMP@EnsureCode{44}{12}% , +\TMP@EnsureCode{45}{12}% - +\TMP@EnsureCode{46}{12}% . +\TMP@EnsureCode{47}{12}% / +\TMP@EnsureCode{58}{12}% : +\TMP@EnsureCode{60}{12}% < +\TMP@EnsureCode{61}{12}% = +\TMP@EnsureCode{94}{7}% ^ +\TMP@EnsureCode{96}{12}% ` \begingroup \expandafter\ifx\csname ifpdf\endcsname\relax \else @@ -70,7 +159,7 @@ \errmessage{Package ifpdf Error: #1}% }% \def\y{^^J}% - \newlinechar=10 + \newlinechar=10 % \else \def\x#1#2{% \PackageError{ifpdf}{#1}{#2}% @@ -82,19 +171,66 @@ therefore package loading is aborted.% }% \endgroup + \ifpdf@AtEnd + \fi +\endgroup +\begingroup + \expandafter\ifx\csname pdfoutput\endcsname\relax + \else + \def\skip#1\relax\endgroup{\csname fi\endcsname\endgroup}% + \skip + \fi + \expandafter\ifx\csname directlua\endcsname\relax + \def\skip#1\endgroup{\csname fi\endcsname\endgroup}% + \skip + \fi + \expandafter\ifx\csname RequirePackage\endcsname\relax + \input ifluatex.sty\relax + \else + \RequirePackage{ifluatex}[2009/04/10]% + \fi + \ifluatex + \ifnum\luatexversion<36 % + \else + \directlua{tex.enableprimitives('ifpdf', {'pdfoutput'})}% + \global\let\pdfoutput\ifpdfpdfoutput + \fi \fi + \relax \endgroup \newif\ifpdf -\ifx\pdfoutput\undefined +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname pdfoutput\endcsname\relax \else - \ifx\pdfoutput\relax + \ifnum\pdfoutput<1 % + \else + \pdftrue + \fi +\fi +\begingroup + \expandafter\ifx\csname pdfoutput\endcsname\relax \else - \ifnum\pdfoutput<1 % + \escapechar=-1 % + \edef\m{\meaning\pdfoutput}% + \edef\p{% + \string p\string d\string f% + \string o\string u\string t\string p\string u\string t% + }% + \ifx\m\p \else - \pdftrue + \expandafter\ifx\csname PackageWarningNoLine\endcsname\relax + \def\PackageWarningNoLine#1#2{% + \immediate\write16{% + Package `#1' Warning: #2.% + }% + }% + \fi + \PackageWarningNoLine{ifpdf}{% + Someone has redefined \string\\pdfoutput% + }% \fi \fi -\fi +\endgroup \begingroup \expandafter\ifx\csname PackageInfo\endcsname\relax \def\x#1#2{% @@ -105,6 +241,9 @@ \fi \x{ifpdf}{pdfTeX in pdf mode \ifpdf\else not \fi detected}% \endgroup +\ifpdf@AtEnd +%% +%% End of file `ifpdf.sty'. \def\makeactive#1{\catcode`#1 = \active \ignorespaces}% \chardef\letter = 11 \chardef\other = 12 @@ -1008,6 +1147,35 @@ }% \catcode `\@ = \@oldatcatcode \discretionaries |~!@$%^&*()_+`-=#{}[]:";'<>,.?\/|% +\ifx\eTeX\undefined + \def\eTeX{\hbox{\mathsurround=0pt $\varepsilon$-\kern-.125em\TeX}}% +\fi +\ifx\ExTeX\undefined + \def\ExTeX{\hbox{\mathsurround=0pt + $\textstyle\varepsilon_{\kern-0.15em\cal{X}}$\kern-.2em\TeX}}% +\fi +\def\eplain@Xe@reflect#1{% + \ifx\reflectbox\undefined + \errmessage{A graphics package must be loaded for \string\XeTeX}% + \else + \ifdim \fontdimen1\font>0pt + \raise 1.75ex \hbox{\kern.1em\rotatebox{180}{#1}}\kern-.1em + \else + \reflectbox{#1}% + \fi + \fi +}% +\def\eplain@Xe#1{\leavevmode + \smash{\hbox{X% + \setbox0=\hbox{\TeX}\setbox2=\hbox{E}% + \lower\dp0\hbox{\raise\dp2\hbox{\kern-.125em\eplain@Xe@reflect{E}}}% + \kern-.1667em #1}}}% +\ifx\XeTeX\undefined + \def\XeTeX{\eplain@Xe\TeX}% +\fi +\ifx\XeLaTeX\undefined + \def\XeLaTeX{\eplain@Xe{\thinspace\LaTeX}}% +\fi \def\blackbox{\vrule height .8ex width .6ex depth -.2ex \relax}% square bullet \def\makeblankbox#1#2{% \ifvoid0 @@ -1526,6 +1694,7 @@ ##1\crcr}}}% \def\eqalignno##1{% \def\eqno{&}% + \def\leqno{&}% \global\setbox\@lignbox\vbox{% \prevdepth = \disprevdepth \displ@y @@ -1538,6 +1707,7 @@ ##1\crcr}}}% \def\leqalignno##1{% \def\eqno{&}% + \def\leqno{&}% \global\setbox\@lignbox\vbox{% \prevdepth = \disprevdepth \displ@y @@ -2031,7 +2201,7 @@ \def\eqsubdef{\@eqdef\eqsubdefn}% \def\@eqdef#1#2{% \@maybedisableeqno - \eqno #1{#2}% Define the label and hyperlink destination. + \eqnum #1{#2}% Define the label and hyperlink destination. \let\@optionalarg\empty % \@fineqref will examine \@optionalarg. {\@@hloff\@fineqref{#2}}% Print the text without a hyperlink. \@mayberestoreeqno @@ -2041,14 +2211,26 @@ \def\@maybedisableeqno{% \ifinner \global\let\eqno = \relax + \global\let\leqno = \relax \global\let\@mayberestoreeqno = \@restoreeqno \fi }% \let\@primitiveeqno = \eqno +\let\@primitiveleqno = \leqno \def\@restoreeqno{% \global\let\eqno = \@primitiveeqno + \global\let\leqno = \@primitiveleqno \global\let\@mayberestoreeqno = \empty }% +\def\righteqnumbers{% + \def\eqnum{\eqno}% + \def\eqalignnum{\eqalignno}% +}% +\def\lefteqnumbers{% + \def\eqnum{\leqno}% + \def\eqalignnum{\leqalignno}% +}% +\righteqnumbers \def\eqrefn{\@getoptionalarg\@fineqrefn}% \def\@fineqrefn#1{% \eqref@start{#1}% @@ -2125,7 +2307,14 @@ \else \write-1{}% \fi - \ifindexproofing \insert\@indexproof{\indexproofterm{#1}}\ifhmode\allowhyphens\fi\fi + \ifindexproofing + \def\temp{#1}% + \edef\temp{% + \insert\@indexproof{\noexpand\indexproofterm{\sanitize\temp}}% + }% + \temp + \ifhmode\allowhyphens\fi + \fi \hookrun{afterindexterm}% \ifsilentindexentry \expandafter\ignorespaces\fi }% @@ -2428,8 +2617,12 @@ \idx@optionaltemp }% {\catcode`\&=0 -\gdef\idx@scanterm#1{\scantokens{#1&endinput}}% -}% +\gdef\idx@scanterm#1{% + \edef\idx@scanterm@nl@catcode{\the\catcode`\^^M\relax}% + \catcode`\^^M=5 + \scantokens{#1&endinput}% + \catcode`\^^M=\idx@scanterm@nl@catcode +}}% \def\@idx{\idx@getverbatimarg\@finidx}% \def\@finidx#1{% \idx@scanterm{#1}% Produce TERM as output. @@ -2484,7 +2677,7 @@ \ifx\temp\empty \toks@ = {}% \else - \toks@ = {\idxnameseparator #1}% + \toks@ = \expandafter{\idxnameseparator #1}% \fi \toks2 = {#2}% \edef\temp{\the\toks2 \the\toks@}% @@ -3805,6 +3998,7 @@ \def\usepkg@word@psfrag{psfrag}% \long\def\beginpackages#1\endpackages{% \let\usepackage\real@usepackage + \let\DoNotLoadEpstopdf=t \let\eplaininput=\input #1% \usepkg@at@begin@document @@ -3894,7 +4088,7 @@ \ifundefined{ver@\usepkg@pkg.sty}% \expandafter\@finusepkg@load@pkg \else - \message{^^J\linenumber Eplain: package `\usepkg@pkg' already + \immediate\write-1{^^J\linenumber Eplain: package `\usepkg@pkg' already loaded, skipping reloading}% \fi }% @@ -4052,5 +4246,5 @@ \def\fmtname{eplain}% \def\eplain{t}% {\edef\plainversion{\fmtversion}% - \xdef\fmtversion{3.2: 26 November 2007 (and plain \plainversion)}% + \xdef\fmtversion{3.3: 21 July 2009 (and plain \plainversion)}% }% diff --git a/Master/texmf/doc/info/eplain.info b/Master/texmf/doc/info/eplain.info index 8ea926d5053..b99257c263e 100644 --- a/Master/texmf/doc/info/eplain.info +++ b/Master/texmf/doc/info/eplain.info @@ -1,6 +1,6 @@ -This is eplain.info, produced by makeinfo version 4.8 from eplain.texi. +This is eplain.info, produced by makeinfo version 4.13 from eplain.texi. - This manual documents the Eplain macros, version 3.2, November 2007. +This manual documents the Eplain macros, version 3.3, July 2009. Eplain provides functionality for plain TeX that is intended to be useful regardless of how your document is actually formatted. @@ -23,7 +23,7 @@ File: eplain.info, Node: Top, Next: Introduction, Up: (dir) Eplain ****** -This manual documents the Eplain macros, version 3.2, November 2007. +This manual documents the Eplain macros, version 3.3, July 2009. Eplain provides functionality for plain TeX that is intended to be useful regardless of how your document is actually formatted. @@ -409,7 +409,9 @@ where `\undefined' must never acquire a definition. The file `eplain.tex' is all of these files merged together, with -comments removed. +comments removed. The original sources can be found in Eplain source +zip archive in your TeX distribution, on CTAN or on Eplain's home page +at `http://tug.org/eplain'. All of these files except `xeplain.tex' can be input individually, if all you want are the definitions in that file. @@ -588,6 +590,11 @@ is a collection of papers--you can tell Eplain to use a different root name for the `.bbl' file by defining the control sequence `\bblfilebasename'. The default definition is simply `\jobname'. + On the other hand, if your document's bibliography is very simple, +you may prefer to create the `.bbl' file yourself, by hand, instead of +using BibTeX. An annotated example of this approach is also given +below. + See the document `BibTeXing' (whose text is in the file `btxdoc.tex', which should be in the Eplain distribution you got) for information on how to write your .bib files. Both the BibTeX and the @@ -648,14 +655,21 @@ bibliography data is in `knuth.bib' (as the `\bibliography' command says), the following commands do what's required. (`$ ' represents the shell prompt.) - $ tex citex (produces undefined citation messages) - $ bibtex citex (read knuth.bib and citex.aux, write citex.bbl) - $ tex citex (read citex.bbl, still have undefined citations) - $ tex citex (one more time, to resolve the references) + $ tex citex (produces undefined citation messages) + $ bibtex citex (read knuth.bib and citex.aux, write citex.bbl) + $ tex citex (read citex.bbl, still have undefined citations) + $ tex citex (one more time, to resolve the references) The `texi2dvi' program can help you automate this process (*note Invoking Eplain::). + For simple documents you might choose to write the `.bbl' file +yourself, instead of running BibTeX. For this scenario, the following +commands should suffice: + + $ tex citex (read citex.bbl, produces undefined citation messages) + $ tex citex (one more time, to resolve the references) + The output looks something like (because we used the plain bibliography style): @@ -810,6 +824,13 @@ alignments inside math displays, `\displaylines', `\eqalignno', and this formatting by inserting `\hfill' glue, as explained in `The TeXbook'. + Eplain defines `\eqnum' and `\eqalignnum' which can be set up to +produce either left-aligned or right-aligned equation numbers. +`\lefteqnumbers' (`\righteqnumbers') will define `\eqnum' to expand to +`\eqno' (`\leqno'), and `\eqalignnum' to expand to `\eqalignno' +(`\leqalignno'). Default is `\righteqnumbers' (right-aligned equation +numbers). + * Menu: * Formatting displays:: General formatting of displays. @@ -823,8 +844,7 @@ File: eplain.info, Node: Formatting displays, Up: Displays If you want some other kind of formatting, you can write a definition of your own, analogous to `\leftdisplays'. You need only make sure that `\leftdisplaysetup' is called at the beginning of every display -(presumably by invoking it in TeX's `\everydisplay' parameter), and to -define `\generaldisplay'. +(presumably by invoking it in TeX's `\everydisplay' parameter). `\leftdisplays' expands the old value of `\everydisplay' before calling `\leftdisplaysetup', so that any changes you have made to it @@ -1026,6 +1046,17 @@ depending on the catcode of the character. The argument to `\verbatimescapechar' is used as `\catcode `CHAR', so the exact rules follow that for `\catcode'. + To reset the category code of all special characters to 12 +("other"), `\verbatim' uses `\uncatcodespecials' (*note Category +codes::). If you make additional characters "special", you should +extend `\dospecials' to include those characters, lest they be given +special treatment inside verbatim environments. For example, + + \catcode`\A=\active + % Try commenting out the following line. + \expandafter\def\expandafter\dospecials\expandafter{\dospecials\do\A} + \verbatimA#$%_^|endverbatim + Because `\verbatim' must change the category code of special characters, calling inside a macro definition of your own does not work properly. For example: @@ -1217,7 +1248,7 @@ For example, `(a1 $&^_' is a valid label (assuming the category codes of plain TeX), but `%#\{' has no valid characters. You can also do symbolic cross-references for bibliographic citations -and list items. *Note Citations::, and *Note Lists::. +and list items. *Note Citations::, and *note Lists::. Eplain can create hypertext links for the cross-references (*note Cross-reference hyperlinks::). @@ -1331,11 +1362,11 @@ them: `\eqdef{LABEL}' This defines LABEL to be the current value of `\eqnumber', and, if - the current context is not inner, then produces a `\eqno' command. - (The condition makes it possible to use `\eqdef' in an - `\eqalignno' construction, for example.) The text of the equation - number is produced using `\eqprint'. *Note Formatting equation - references::. + the current context is not inner, then produces a `\eqnum' command + (*note Displays::). (The condition makes it possible to use + `\eqdef' in an `\eqalignno' construction, for example.) The text + of the equation number is produced using `\eqprint'. *Note + Formatting equation references::. If LABEL is empty, you still get an equation number (although naturally you can't reliably refer to it). This is useful if you @@ -1353,9 +1384,9 @@ them: refer to the new empty-labeled equation. `\eqdefn{LABEL}' - This is like `\eqdef', except it always omits the `\eqno' command. - It can therefore be used in places where `\eqdef' can't; for - example, in a non-displayed equation. The text of the equation + This is like `\eqdef', except it always omits the `\eqnum' + command. It can therefore be used in places where `\eqdef' can't; + for example, in a non-displayed equation. The text of the equation number is not produced, so you can also use it in the (admittedly unusual) circumstance when you want to define an equation label but not print that label. @@ -1573,6 +1604,14 @@ example, defines the command `\mdx' to write to the file `foo.mdx'. Eplain simply does `\defineindex{i}' to define the default commands. + Note that MakeIndex does not use the above naming scheme for multiple +indexes. Unless instructed otherwise, MakeIndex always writes its +output to a file with extension `.ind'. For example, if you define an +additional index with the command `\defineindex{j}', you'll need to run +MakeIndex like this: + + $ makeindex book.jdx -o book.jnd + For each index defined with `\defineindex{N}', Eplain provides a switch `\ifNdx' which controls whether indexing commands write index entries to the corresponding index file. However, even when index term @@ -1785,10 +1824,10 @@ File: eplain.info, Node: Index entries with special characters, Next: Proofing Indexing terms with special characters can become quite cumbersome because you have to keep both TeX and MakeIndex happy at the same time. -For example, while `!' has no special meaning for TeX, it is a -subentry separator for MakeIndex, therefore you'd have to escape -occurrences of literal `!' in index terms. Things get even more -interesting with characters which are special in both TeX and MakeIndex. +For example, while `!' has no special meaning for TeX, it is a subentry +separator for MakeIndex, therefore you'd have to escape occurrences of +literal `!' in index terms. Things get even more interesting with +characters which are special in both TeX and MakeIndex. This in turn has some implications for the non-silent forms of the indexing commands (*note Indexing terms::), since TeX and MakeIndex use @@ -1809,7 +1848,7 @@ whenever index term contains anything unusual. To understand this keep in mind that indexing commands read the terms verbatim so that the terms can embed almost any character, and that's what gets written into the `.idx' file. The non-silent forms then -typeset the term by rescanning the verbatim copy, therefore for the +typeset the term by rescanning the verbatim copy, hence for the non-silent commands the term, besides being a valid MakeIndex input, must also represent a valid TeX input. The silent commands don't have this restriction--their terms only need to become valid TeX input @@ -2134,11 +2173,9 @@ File: eplain.info, Node: Tables, Next: Margins, Prev: Justification, Up: Use =========== Eplain provides a single command, `\makecolumns', to make generating -one particular kind of table easier. More ambitious macro packages -might be helpful to you for more difficult applications. The files -`ruled.tex' and `TXSruled.tex', available from -`http://www.ctan.org/tex-archive/macros/texsis', is the only one I know -of. +one particular kind of table easier. More ambitious LaTeX styles and +macro packages tackle more difficult applications. The `autorows' +feature of the Memoir package provides similar functionality to this. Many tables are homogenous, i.e., all the entries are semantically the same. The arrangement into columns is to save space on the page, @@ -2415,12 +2452,12 @@ Eplain redefines the `\TeX' macro of plain TeX to end with `\null', so that the proper spacing is produced when `\TeX' is used at the end of a sentence. The other ...TeX macros listed here do this, also. - Eplain defines `\AMSTeX', `\BibTeX' `\AMSLaTeX', `\LAMSTeX', `\LaTeX' `\MF', and -`\SLiTeX' to produce their respective logos. (Sorry, the logos are not + Eplain defines `\AMSLaTeX', `\AMSTeX', `\BibTeX' `\eTeX', `\ExTeX', `\LAMSTeX', `\LaTeX', `\MF', `\SLiTeX', `\XeLaTeX', and +`\XeTeX' to produce their respective logos. (Sorry, the logos are not shown here.) Some spelling variants of these are also supported. - All these macros come from `texnames.sty', compiled by Nelson Beebe -and available at + Most of these macros come from `texnames.sty', compiled by Nelson +Beebe and available at `http://www.ctan.org/tex-archive/info/biblio/texnames.sty'. @@ -2688,7 +2725,7 @@ graphicx (`1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)') download it from `http://www.tug.org/pracjourn/2005-3/hoeppner' -epstopdf (`2001/02/04 v1.1 Conversion with epstopdf on the fly (HO)') +epstopdf (`2009/07/16 v2.2 Conversion with epstopdf on the fly (HO)') `http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek' This package does on-the-fly conversion of Encapsulated PostScript @@ -2746,7 +2783,7 @@ hyperref This package depends heavily on LaTeX, so that it is mostly unusable outside of LaTeX. Eplain provides its own macros for - creating hyperlinks, see *Note Hyperlinks::. + creating hyperlinks, see *note Hyperlinks::. pict2e (`2005/07/15 v0.2r Improved picture commands (HjG,RN)') `http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e' @@ -2853,7 +2890,7 @@ this link to point to. A hyperlink is a region in the document (which can take many forms, for example, text or a picture); when a user clicks on that region, they will be taken to a place in the document marked by the corresponding destination. The following two sections -(*Note Explicit hyperlinks::, and *Note Implicit hyperlinks::) describe +(*note Explicit hyperlinks::, and *note Implicit hyperlinks::) describe the macros you can use to define destinations and create links pointing to those destinations. @@ -3024,7 +3061,8 @@ linkgroup. The special characters (such as `#' and `~') in the URL don't need to be escaped. For example: \href{http://tug.org/eplain/doc/eplain.html#Hyperlinks}{Hyperlinks - in Eplain} + in Eplain} + \href{mailto:tex-eplain@tug.org}{Eplain mailing list} *Note URL hyperlinks::, for another way to create URL hyperlinks. @@ -3069,6 +3107,9 @@ in plain TeX; *note Packages known to work::): \enablehyperlinks \url{http://foo/bar} + + \url{mailto:foobar@example.org} + \bye If the hyperlink driver you use supports the link option `bwidth' @@ -3085,6 +3126,9 @@ border around them. Try this: \hlopts{bwidth=0} \url{http://foo/bar} + + \url{mailto:foobar@example.org} + \bye The command `\hlopts{bwidth=0}' sets border width to zero as the @@ -3489,10 +3533,10 @@ Link options supported by all drivers Packages known to work::). The `\color' command is called as `\color[COLORMODEL]{COLOR}', where COLORMODEL and COLOR are the definitions of the `colormodel' and `color' options, respectively. - However, if COLORMODEL is empty, the optional argument to - `\color' is omitted; and if COLOR is empty, the `\color' command - is omitted altogether. The default setting is `COLORMODEL=cmyk' - and `COLOR=0.28,1,1,0.35'. + However, if COLORMODEL is empty, the optional argument to `\color' + is omitted; and if COLOR is empty, the `\color' command is omitted + altogether. The default setting is `COLORMODEL=cmyk' and + `COLOR=0.28,1,1,0.35'. When specifying colors with several components delimited by commas (e.g., RGB and CMYK colors in the LaTeX `color' package), it is not @@ -4914,7 +4958,7 @@ expanded. `The TeXbook' describes `\uncatcodespecials', which makes all characters which are normally "special" into "other" characters, but the definition never made it into plain TeX. Eplain therefore defines -it. +it. For notes on the usage, *note Verbatim listing::. Finally, `\percentchar' expands into a literal `%' character. This is useful when you `\write' TeX output to a file, and want to avoid @@ -5560,8 +5604,6 @@ File: eplain.info, Node: Hyperlinks (xhyper.tex), Next: Highlighting TeX comme 8.1 Hyperlinks (`xhyper.tex') ============================= - - % (This file is public domain.) % % This file demonstrates the following features of Eplain: @@ -5759,8 +5801,6 @@ File: eplain.info, Node: Highlighting TeX comments in listings (lscommnt.tex), 8.2 Highlighting TeX comments in listings (`lscommnt.tex') ========================================================== - - % (This file is public domain.) % Demonstrate how Eplain can be used to include a TeX source file % verbatim, typesetting comments in colored italic typewriter type. @@ -5829,7 +5869,7 @@ Macro index * @indexproof insertion class: Proofing index terms. (line 28) * abovecolumnskip: Multiple columns. (line 33) -* abovecolumnspenalty: Tables. (line 32) +* abovecolumnspenalty: Tables. (line 30) * abovelistpenalty: Formatting lists. (line 29) * abovelistskip: Formatting lists. (line 29) * abovelistskipamount: Formatting lists. (line 10) @@ -5894,9 +5934,9 @@ Macro index (line 17) * biblabelwidth: Formatting bibliographies. (line 11) -* bibliography: Citations. (line 56) +* bibliography: Citations. (line 61) * bibliography (hyperlinks): Citation hyperlinks. (line 11) -* bibliographystyle: Citations. (line 63) +* bibliographystyle: Citations. (line 68) * BibTeX: Logos. (line 10) * bihline: Arrows and morphisms. (line 68) @@ -5933,7 +5973,7 @@ Macro index (line 36) * channelwidth: Arrows and morphisms. (line 119) -* cite: Citations. (line 37) +* cite: Citations. (line 42) * cite (hyperlinks): Citation hyperlinks. (line 6) * cmd (destination option) <1>: Destination options for pdftex and dvipdfm. (line 14) @@ -5964,12 +6004,12 @@ Macro index (line 64) * csn: \csn and \ece. (line 6) * definecolor: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * definecontentsfile: Alternative contents files. (line 6) * defineindex: Indexing. (line 37) * definexref <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * definexref: Defining generic references. (line 6) * definexref (hyperlinks): Cross-reference hyperlinks. @@ -5982,6 +6022,7 @@ Macro index (line 124) * discretionaries: Paths. (line 20) * displaylines: Displays. (line 18) +* dospecials: Verbatim listing. (line 57) * doublecolumns: Multiple columns. (line 7) * drawline: Slanted lines and vectors. (line 6) @@ -6015,6 +6056,7 @@ Macro index * eplaininput: Environment for loading packages. (line 28) * eqalignno: Displays. (line 18) +* eqalignnum: Displays. (line 23) * eqconstruct: Formatting equation references. (line 21) * eqdef: Equation references. (line 15) @@ -6023,6 +6065,9 @@ Macro index * eqdefn: Equation references. (line 38) * eqdefn (hyperlinks): Equation reference hyperlinks. (line 6) +* eqno: Displays. (line 23) +* eqnum <1>: Equation references. (line 15) +* eqnum: Displays. (line 23) * eqnumber: Equation references. (line 8) * eqprint: Formatting equation references. (line 12) @@ -6042,6 +6087,7 @@ Macro index (line 6) * eqsubreftext: Subequation references. (line 22) +* eTeX: Logos. (line 10) * everyfootnote: Footnotes. (line 35) * evrule: Rules. (line 18) * expandonce: \expandonce. (line 6) @@ -6049,6 +6095,7 @@ Macro index (line 20) * ext (hyperlink option): Link types for hypertex. (line 23) +* ExTeX: Logos. (line 10) * file (hyperlink option) <1>: Link options for pdftex and dvipdfm. (line 63) * file (hyperlink option) <2>: Link types for pdftex and dvipdfm. @@ -6090,7 +6137,6 @@ Macro index * frac: Fractions. (line 6) * fullmonthname: Time of day. (line 13) * futurenonspacelet: \futurenonspacelet. (line 6) -* generaldisplay: Formatting displays. (line 10) * getproperty: Properties. (line 18) * gloggingall: Diagnostics. (line 23) * gobble: Macro arguments. (line 7) @@ -6132,18 +6178,18 @@ Macro index * hldeston: Turning low-level commands on/off. (line 6) * hldestopts <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hldestopts <2>: Setting group options. (line 11) * hldestopts: Setting default types and options. (line 15) * hldesttype <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hldesttype <2>: Setting group types. (line 6) * hldesttype: Setting default types and options. (line 6) * hlend <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hlend: Explicit hyperlinks. (line 25) * hlfootbacklabel: Footnote hyperlinks. (line 12) * hlfootlabel: Footnote hyperlinks. (line 12) @@ -6163,7 +6209,7 @@ Macro index * hlight (hyperlink option): Link options for pdftex and dvipdfm. (line 69) * hlightcommentslisting: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * hline: Arrows and morphisms. (line 53) * hloff <1>: Turning low-level commands on/off. @@ -6173,13 +6219,13 @@ Macro index * hlon: Turning low-level commands on/off. (line 6) * hlopts <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hlopts <2>: Setting group options. (line 11) * hlopts: Setting default types and options. (line 15) * hlstart <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hlstart <2>: Setting hyperlink types and options. (line 7) * hlstart <3>: Link types for pdftex and dvipdfm. @@ -6277,7 +6323,7 @@ Macro index * idxsubmarked (hyperlinks): Index hyperlinks. (line 6) * ifempty: \ifempty. (line 6) * iffileexists: Auxiliary files. (line 10) -* ifidx: Indexing. (line 48) +* ifidx: Indexing. (line 56) * ifindexproofing: Proofing index terms. (line 12) * ifinteger: \ifinteger and \isinteger. @@ -6290,7 +6336,7 @@ Macro index (line 26) * ifundefined: \ifundefined. (line 6) * includegraphics: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * indexfilebasename: Typesetting an index. (line 11) * indexfonts: Typesetting an index. @@ -6366,8 +6412,10 @@ Macro index * leftdisplayindent: Displays. (line 11) * leftdisplays: Displays. (line 10) * leftdisplaysetup: Formatting displays. (line 8) +* lefteqnumbers: Displays. (line 23) * leftmargin: Margins. (line 18) * leqalignno: Displays. (line 19) +* leqno: Displays. (line 23) * letreturn: Category codes. (line 41) * letter: Category codes. (line 10) * lft: Arrows and morphisms. @@ -6375,11 +6423,11 @@ Macro index * li: Lists. (line 30) * li (hyperlinks): List hyperlinks. (line 6) * linenumberedlisting <1>: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * linenumberedlisting: Verbatim listing. (line 17) * listcompact: Lists. (line 41) * listing <1>: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * listing: Verbatim listing. (line 7) * listingfont: Verbatim listing. (line 10) * listleftindent: Formatting lists. (line 18) @@ -6419,12 +6467,12 @@ Macro index (line 90) * newwin (hyperlink option): Link types for pdftex and dvipdfm. (line 42) -* noarrow: Invoking Eplain. (line 84) -* noauxfile: Invoking Eplain. (line 89) -* nobibtex: Invoking Eplain. (line 73) -* nocite: Citations. (line 53) +* noarrow: Invoking Eplain. (line 86) +* noauxfile: Invoking Eplain. (line 91) +* nobibtex: Invoking Eplain. (line 75) +* nocite: Citations. (line 58) * nolastlinelisting <1>: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * nolastlinelisting: Verbatim listing. (line 25) * nolinks (hyperlink driver): Hyperlink driver nolinks. (line 6) @@ -6467,7 +6515,7 @@ Macro index (line 14) * phantomeqnumber: Equation reference hyperlinks. (line 14) -* previouseverydisplay: Formatting displays. (line 15) +* previouseverydisplay: Formatting displays. (line 14) * printbetweencitations: Formatting citations. (line 21) * printcitefinish: Formatting citations. @@ -6500,7 +6548,7 @@ Macro index * readtocfile: Reading the .toc file. (line 6) * ref <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * ref: Using generic references. (line 17) * ref (hyperlinks): Cross-reference hyperlinks. @@ -6529,9 +6577,10 @@ Macro index (line 64) * right (destination option): Destination types for pdftex and dvipdfm. (line 65) +* righteqnumbers: Displays. (line 23) * rightmargin: Margins. (line 18) * rotatebox: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * rt: Arrows and morphisms. (line 14) * sanitize: Converting to characters. @@ -6554,7 +6603,7 @@ Macro index (line 14) * setproperty: Properties. (line 13) * setuplistinghook <1>: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * setuplistinghook: Verbatim listing. (line 13) * sidx: Indexing commands. (line 8) * sidxmarked: Indexing commands. (line 29) @@ -6563,7 +6612,7 @@ Macro index * singlecolumn: Multiple columns. (line 9) * sline: Arrows and morphisms. (line 23) -* SLiTeX: Logos. (line 11) +* SLiTeX: Logos. (line 10) * special: Introduction to hyperlinks. (line 9) * specialpathdelimiters (conditional): Paths. (line 28) @@ -6595,12 +6644,13 @@ Macro index (line 76) * ttfamily: Packages known to work. (line 73) -* uncatcodespecials: Category codes. (line 51) +* uncatcodespecials <1>: Category codes. (line 51) +* uncatcodespecials: Verbatim listing. (line 57) * unorderedlist: Lists. (line 22) * unorderedlistdepth: Formatting lists. (line 41) * unorderedmarker: Formatting lists. (line 37) * url: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * url (hyperlink type) <1>: Link types for pdftex and dvipdfm. (line 25) * url (hyperlink type): Link types for hypertex. @@ -6657,6 +6707,8 @@ Macro index (line 36) * writetocentry: Writing the .toc file. (line 7) +* XeLaTeX: Logos. (line 10) +* XeTeX: Logos. (line 11) * xrdef: Page references. (line 10) * xrdef (hyperlinks): Page reference hyperlinks. (line 6) @@ -6672,7 +6724,7 @@ Macro index * xrefpageword: Page references. (line 17) * xrefwarning conditional: Using generic references. (line 15) -* xrefwarningfalse: Citations. (line 73) +* xrefwarningfalse: Citations. (line 78) * xrlabel: Converting to characters. (line 6) * xyz (destination type) <1>: Destination types for pdftex and dvipdfm. @@ -6697,7 +6749,7 @@ Concept index * .aux file: Citations. (line 17) * .bbl file: Citations. (line 20) * .bib file: Citations. (line 20) -* .bst files: Citations. (line 65) +* .bst files: Citations. (line 70) * .cls files: Loading LaTeX packages. (line 6) * .eps files: Packages known to work. @@ -6725,11 +6777,11 @@ Concept index * alignments: Tables. (line 6) * all groups, specifying: Setting group types. (line 26) * allocation macros: Allocation macros. (line 6) -* alphanumeric references: Citations. (line 116) +* alphanumeric references: Citations. (line 128) * AMSLaTeX: Logos. (line 10) -* amsppt.sty: Invoking Eplain. (line 92) +* amsppt.sty: Invoking Eplain. (line 94) * AMSTeX: Logos. (line 10) -* AMSTeX conflicts: Invoking Eplain. (line 92) +* AMSTeX conflicts: Invoking Eplain. (line 94) * arguments, ignoring: Macro arguments. (line 6) * arrows: Arrows and morphisms. (line 6) @@ -6755,7 +6807,7 @@ Concept index * bibliography, hyperlinks: Citation hyperlinks. (line 11) * BibTeX <1>: Logos. (line 10) * BibTeX: Citations. (line 9) -* bibtex: Invoking Eplain. (line 103) +* bibtex: Invoking Eplain. (line 105) * black boxes: Boxes. (line 6) * Borceux, Francis: Construction of commutative diagrams. (line 80) @@ -6785,17 +6837,18 @@ Concept index * centering: Justification. (line 6) * characters, converting to: Converting to characters. (line 6) +* characters, special: Verbatim listing. (line 57) * citations: Citations. (line 6) * citations, formatting: Formatting citations. (line 6) * citations, hyperlinks: Citation hyperlinks. (line 6) -* citations, undefined: Citations. (line 43) +* citations, undefined: Citations. (line 48) * cmtt8: Proofing index terms. (line 12) * color: Packages known to work. (line 25) * color, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * color, hyperlink border: Link options for pdftex and dvipdfm. (line 14) * color, hyperlinks <1>: Setting default types and options. @@ -6806,7 +6859,7 @@ Concept index * color, problems with pdfTeX: Packages known to work. (line 29) * color.sty <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * color.sty <2>: Setting default types and options. (line 27) * color.sty <3>: Hyperlink driver nolinks. @@ -6826,7 +6879,7 @@ Concept index * commas in cross-referencing index entries: Customizing indexing. (line 64) * comments, highlighting in listings: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * commutative diagrams: Commutative diagrams. (line 6) * contents: Contents. (line 6) @@ -6845,7 +6898,7 @@ Concept index * cross-references, defining general: Defining generic references. (line 6) * cross-references, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * cross-references, hyperlinks: Cross-reference hyperlinks. (line 6) * cross-referencing index entries <1>: Customizing indexing. @@ -6889,12 +6942,12 @@ Concept index * destgroup options: Setting hyperlink types and options. (line 12) * destgroup options, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * destgroup type <1>: Setting group types. (line 6) * destgroup type: Setting hyperlink types and options. (line 12) * destgroup type, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * destination group: Implicit hyperlinks. (line 10) * destination options: Introduction to hyperlinks. (line 105) @@ -6931,12 +6984,12 @@ Concept index * destinations, group options: Setting hyperlink types and options. (line 12) * destinations, group options, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * destinations, group type <1>: Setting group types. (line 6) * destinations, group type: Setting hyperlink types and options. (line 12) * destinations, group type, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * destinations, in another file <1>: Link types for pdftex and dvipdfm. (line 40) * destinations, in another file: Link types for hypertex. @@ -6974,7 +7027,7 @@ Concept index (line 6) * disabling hyperlinks: Hyperlink driver nolinks. (line 6) -* disabling indexes: Indexing. (line 48) +* disabling indexes: Indexing. (line 56) * displayed math and hyperlinks <1>: Setting group options. (line 34) * displayed math and hyperlinks: Options supported by all drivers. @@ -7040,6 +7093,7 @@ Concept index * equation labels, characters valid in: Equation references. (line 56) * equation numbers, formatting of: Formatting equation references. (line 6) +* equation numbers, left-alignment: Displays. (line 6) * equations, giving numbers to all: Equation references. (line 22) * equations, groups of: Subequation references. (line 6) @@ -7051,23 +7105,25 @@ Concept index * error on \input: Environment for loading packages. (line 35) * escape character, changing verbatim: Verbatim listing. (line 47) +* eTeX: Logos. (line 10) * exact index hyperlinks: Exact destinations for index terms. (line 28) * expansion, one-level: \expandonce. (line 6) * explicit hyperlinks: Explicit hyperlinks. (line 6) * explicit hyperlinks, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) +* ExTeX: Logos. (line 10) * file, hyperlink to <1>: Link types for pdftex and dvipdfm. (line 40) * file, hyperlink to: Link types for hypertex. (line 21) -* file: links: General hyperlinks. (line 36) +* file: links: General hyperlinks. (line 37) * filenames, breaking <1>: Packages known to work. (line 120) * filenames, breaking: Paths. (line 6) * files, verbatim listing of: Verbatim listing. (line 6) * files, verbatim listing of, demo: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * filtering index entries with hyperlinks: Exact destinations for index terms. (line 33) * footnotes, hyperlinks: Footnote hyperlinks. (line 6) @@ -7084,7 +7140,7 @@ Concept index * gobbling arguments: Macro arguments. (line 6) * golden mean: Construction of commutative diagrams. (line 59) -* Graham, Ronald L.: Citations. (line 86) +* Graham, Ronald L.: Citations. (line 91) * graphics collection, LaTeX <1>: Hyperlink driver nolinks. (line 34) * graphics collection, LaTeX <2>: Packages known to work. @@ -7092,7 +7148,7 @@ Concept index * graphics collection, LaTeX: Loading LaTeX packages. (line 14) * graphics collection, LaTeX, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * graphics, omitting typesetting of: Packages known to work. (line 69) * graphics, problems with pdfTeX: Packages known to work. @@ -7100,7 +7156,7 @@ Concept index * graphics.sty: Packages known to work. (line 22) * graphicx.sty <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * graphicx.sty: Packages known to work. (line 23) * grid: Construction of commutative diagrams. @@ -7135,12 +7191,12 @@ Concept index * group options, hyperlink: Setting hyperlink types and options. (line 12) * group options, hyperlink, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * group type, hyperlink <1>: Setting group types. (line 6) * group type, hyperlink: Setting hyperlink types and options. (line 12) * group type, hyperlink, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * group, destination: Implicit hyperlinks. (line 10) * group, disabling hyperlinks: Turning hyperlinks on/off for a group. (line 6) @@ -7156,7 +7212,7 @@ Concept index * highlighting: Packages known to work. (line 110) * highlighting, in listings: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * Ho"ppner, Klaus: Packages known to work. (line 82) * hooks: Hooks. (line 6) @@ -7214,7 +7270,7 @@ Concept index * hyperlinks, default type: Setting hyperlink types and options. (line 6) * hyperlinks, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hyperlinks, disabling <1>: Turning hyperlinks on/off. (line 6) * hyperlinks, disabling: Hyperlink driver nolinks. @@ -7223,7 +7279,7 @@ Concept index (line 6) * hyperlinks, explicit: Explicit hyperlinks. (line 6) * hyperlinks, explicit, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hyperlinks, filtering index entries: Exact destinations for index terms. (line 33) * hyperlinks, footnotes: Footnote hyperlinks. (line 6) @@ -7234,7 +7290,7 @@ Concept index * hyperlinks, group options: Setting hyperlink types and options. (line 12) * hyperlinks, group options, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hyperlinks, group type <1>: Setting group types. (line 6) * hyperlinks, group type: Setting hyperlink types and options. (line 12) @@ -7242,7 +7298,7 @@ Concept index (line 69) * hyperlinks, implicit: Implicit hyperlinks. (line 6) * hyperlinks, implicit, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * hyperlinks, index: Index hyperlinks. (line 6) * hyperlinks, index destination placement: Choosing destination placement. (line 6) @@ -7294,7 +7350,7 @@ Concept index * ignoring arguments: Macro arguments. (line 6) * implicit hyperlinks: Implicit hyperlinks. (line 6) * implicit hyperlinks, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * inaccessible macros: Category codes. (line 19) * index entries and ranges: Modifying index entries. (line 22) @@ -7344,7 +7400,7 @@ Concept index (line 6) * index, underlining page numbers: Page list and page range parsers. (line 26) -* indexes, disabling: Indexing. (line 48) +* indexes, disabling: Indexing. (line 56) * indexes, multiple: Indexing. (line 37) * indexing: Indexing. (line 6) * indexing and trailing spaces: Indexing terms. (line 20) @@ -7360,7 +7416,7 @@ Concept index * iteration: Iteration. (line 6) * justification: Justification. (line 6) * Knuth, Donald Ervin <1>: Category codes. (line 7) -* Knuth, Donald Ervin: Citations. (line 86) +* Knuth, Donald Ervin: Citations. (line 91) * labels on items, changing: Formatting lists. (line 54) * labels, characters valid in: Cross-references. (line 20) * labels, empty equation: Equation references. (line 22) @@ -7387,7 +7443,7 @@ Concept index * LaTeX graphics collection: Loading LaTeX packages. (line 14) * LaTeX graphics collection, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * LaTeX packages <1>: Packages known not to work. (line 6) * LaTeX packages <2>: Packages known to work. @@ -7396,6 +7452,7 @@ Concept index (line 6) * LaTeX packages, restoring \input: Environment for loading packages. (line 24) +* left-alignment of equation numbers: Displays. (line 6) * left-justification: Justification. (line 6) * left-justification of displays: Displays. (line 6) * letterspacing: Packages known to work. @@ -7428,7 +7485,7 @@ Concept index * link, group options: Setting hyperlink types and options. (line 12) * link, group options, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * link, group type <1>: Setting group types. (line 6) * link, group type: Setting hyperlink types and options. (line 12) @@ -7453,7 +7510,7 @@ Concept index * linkgroup options: Setting hyperlink types and options. (line 12) * linkgroup options, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * linkgroup type <1>: Setting group types. (line 6) * linkgroup type: Setting hyperlink types and options. (line 12) @@ -7464,7 +7521,7 @@ Concept index (line 6) * listing files: Verbatim listing. (line 6) * listing files, demo: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * lists: Lists. (line 6) * lists, formatting: Formatting lists. (line 6) * lists, hyperlinks: List hyperlinks. (line 6) @@ -7472,12 +7529,12 @@ Concept index * lookahead without spaces: \futurenonspacelet. (line 6) * loops: Iteration. (line 6) * lscommnt.tex: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * magnification, hyperlink destination: Destination options for pdftex and dvipdfm. (line 21) * makeindex <1>: Index hyperlinks. (line 12) * makeindex <2>: Indexing. (line 14) -* makeindex: Invoking Eplain. (line 103) +* makeindex: Invoking Eplain. (line 105) * margins, changing: Margins. (line 6) * margins, index terms in: Proofing index terms. (line 6) @@ -7511,7 +7568,7 @@ Concept index * numbered destination: Link types for pdftex and dvipdfm. (line 92) * numbered lists: Lists. (line 6) -* numbered references: Citations. (line 86) +* numbered references: Citations. (line 91) * numbers, detecting: \ifinteger and \isinteger. (line 6) * numbers, written form of: Writing out numbers. (line 6) @@ -7581,7 +7638,7 @@ Concept index (line 35) * pdftex <2>: Checking for PDF output. (line 6) -* pdftex: Invoking Eplain. (line 115) +* pdftex: Invoking Eplain. (line 117) * pdftex, destination options: Destination options for pdftex and dvipdfm. (line 6) * pdftex, destination types: Destination types for pdftex and dvipdfm. @@ -7629,12 +7686,12 @@ Concept index * recognizing numbers: \ifinteger and \isinteger. (line 6) * rectangles: Boxes. (line 6) -* references, alphanumeric: Citations. (line 116) +* references, alphanumeric: Citations. (line 128) * references, defining general <1>: Using generic references. (line 6) * references, defining general: Defining generic references. (line 6) -* references, numbered: Citations. (line 86) +* references, numbered: Citations. (line 91) * register allocation: Allocation macros. (line 6) * restoring \input, LaTeX packages: Environment for loading packages. (line 24) @@ -7644,13 +7701,13 @@ Concept index * rotation: Packages known to work. (line 25) * rotation, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * rule thickness: Rules. (line 7) -* run: links: General hyperlinks. (line 37) +* run: links: General hyperlinks. (line 38) * scaling: Packages known to work. (line 25) * scaling, demo: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * sed: Customizing indexing. (line 66) * see also index entries and hyperlinks: Hyperlinks in see and see also entries. @@ -7666,7 +7723,7 @@ Concept index * silent indexing: Indexing terms. (line 6) * skipping tokens <1>: \ifempty. (line 12) * skipping tokens: \ifundefined. (line 10) -* SLiTeX: Logos. (line 11) +* SLiTeX: Logos. (line 10) * Snake Lemma: Arrows and morphisms. (line 130) * solid hyperlink border: Link options for pdftex and dvipdfm. @@ -7684,6 +7741,7 @@ Concept index (line 110) * spacing, preserving with hyperlinks: Hyperlink driver nolinks. (line 6) +* special characters: Verbatim listing. (line 57) * special characters, in index entries: Index entries with special characters. (line 6) * special characters, in table of contents: Writing the .toc file. @@ -7714,8 +7772,8 @@ Concept index (line 26) * TEXFORMATS: Installation. (line 43) * texi2dvi <1>: Indexing. (line 34) -* texi2dvi <2>: Citations. (line 97) -* texi2dvi: Invoking Eplain. (line 103) +* texi2dvi <2>: Citations. (line 102) +* texi2dvi: Invoking Eplain. (line 105) * Texinfo: Introduction. (line 13) * TEXINPUTS: Installation. (line 23) * time of day: Time of day. (line 6) @@ -7771,7 +7829,7 @@ Concept index * URL hyperlink <3>: URL hyperlinks. (line 6) * URL hyperlink: General hyperlinks. (line 20) * url.sty <1>: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * url.sty <2>: URL hyperlinks. (line 6) * url.sty: Packages known to work. (line 118) @@ -7780,7 +7838,7 @@ Concept index (line 15) * verbatim listing: Verbatim listing. (line 6) * verbatim listing, demo: Highlighting TeX comments in listings (lscommnt.tex). - (line 8) + (line 6) * verbatim text, in index: Index entries with special characters. (line 40) * verbatim text, in table of contents: Writing the .toc file. @@ -7802,9 +7860,11 @@ Concept index (line 19) * xdvi: Hyperlink driver hypertex. (line 11) +* XeLaTeX: Logos. (line 10) * xeplain.tex: Introduction. (line 6) +* XeTeX: Logos. (line 11) * xhyper.tex: Hyperlinks (xhyper.tex). - (line 8) + (line 6) * Zassenhaus, Hans: Construction of commutative diagrams. (line 122) * zooming, hyperlink destination: Destination options for pdftex and dvipdfm. @@ -7813,128 +7873,128 @@ Concept index Tag Table: -Node: Top808 -Node: Introduction8090 -Node: Installation11057 -Node: Invoking Eplain13109 -Node: User definitions17561 -Node: Diagnostics19388 -Node: Rules20958 -Node: Citations21791 -Node: Formatting citations27634 -Node: Formatting bibliographies29180 -Node: Displays32009 -Node: Formatting displays33056 -Node: Time of day33728 -Node: Lists34489 -Node: Formatting lists36648 -Node: Verbatim listing38944 -Node: Contents41673 -Node: Writing the .toc file42344 -Node: Reading the .toc file45212 -Node: Changing the .toc file's root name46622 -Node: Alternative contents files47642 -Node: Cross-references48207 -Node: Defining generic references49692 -Node: Using generic references50570 -Node: Page references51861 -Node: Equation references52685 -Node: Formatting equation references55438 -Node: Subequation references59805 -Node: Indexing61728 -Node: Indexing terms64498 -Node: Indexing commands65611 -Node: Modifying index entries68639 -Node: Index entries with special characters71616 -Node: Proofing index terms75875 -Node: Typesetting an index77688 -Node: Customizing indexing80155 -Node: Justification83862 -Node: Tables85541 -Node: Margins88096 -Node: Multiple columns90257 -Node: Footnotes92241 -Node: Fractions94828 -Node: Paths95615 -Node: Logos97222 -Node: Boxes97909 -Node: Checking for PDF output99707 -Node: Loading LaTeX packages100798 -Node: The \usepackage command102146 -Node: Environment for loading packages103236 -Node: Packages known to work105303 -Node: Packages known not to work111708 -Node: Hyperlinks112470 -Node: Introduction to hyperlinks113053 -Node: Explicit hyperlinks118609 -Node: Implicit hyperlinks120899 -Node: General hyperlinks122721 -Node: URL hyperlinks124189 -Node: Citation hyperlinks126218 -Node: List hyperlinks126950 -Node: Cross-reference hyperlinks127344 -Node: Page reference hyperlinks128724 -Node: Equation reference hyperlinks129388 -Node: Index hyperlinks130786 -Node: Exact destinations for index terms132550 -Node: Page destinations for index terms134726 -Node: Choosing destination placement137354 -Node: Index page list and page range parsers138146 -Node: Hyperlinks in see and see also entries138699 -Node: Footnote hyperlinks139498 -Node: Contents hyperlinks140696 -Node: Hyperlink drivers141079 -Node: Options supported by all drivers141714 -Node: Hyperlink driver hypertex144518 -Node: Destination types for hypertex147470 -Node: Destination options for hypertex148509 -Node: Link types for hypertex148991 -Node: Link options for hypertex151012 -Node: Hyperlink drivers pdftex and dvipdfm152036 -Node: Destination types for pdftex and dvipdfm152682 -Node: Destination options for pdftex and dvipdfm156181 -Node: Link types for pdftex and dvipdfm158636 -Node: Link options for pdftex and dvipdfm162175 -Node: Hyperlink driver nolinks165814 -Node: Setting hyperlink types and options168226 -Node: Setting default types and options169228 -Node: Setting group types170657 -Node: Setting group options171850 -Node: Turning hyperlinks on/off174340 -Node: Turning low-level commands on/off174978 -Node: Turning hyperlinks on/off for a group175491 -Node: Arrow theoretic diagrams176648 -Node: Slanted lines and vectors177015 -Node: Commutative diagrams179097 -Node: Arrows and morphisms179696 -Node: Construction of commutative diagrams184174 -Node: Commutative diagram parameters191366 -Node: Programming definitions193185 -Node: Category codes194186 -Node: Allocation macros196796 -Node: Iteration198944 -Node: Macro arguments200603 -Node: Converting to characters203102 -Node: Expansion204494 -Node: \csn and \ece205057 -Node: \edefappend205623 -Node: Hooks206172 -Node: Properties208358 -Node: \expandonce209443 -Node: \ifundefined209892 -Node: \ifempty210456 -Node: \ifinteger and \isinteger211199 -Node: \futurenonspacelet212237 -Node: Obeying spaces212836 -Node: Writing out numbers213867 -Node: Mode-specific penalties214190 -Node: Auxiliary files214922 -Node: User-defined environments215845 -Node: Page list and page range parsers217060 -Node: Demo files219197 -Node: Hyperlinks (xhyper.tex)219765 -Node: Highlighting TeX comments in listings (lscommnt.tex)228114 -Node: Macro index230570 -Node: Concept index293087 +Node: Top802 +Node: Introduction8080 +Node: Installation11047 +Node: Invoking Eplain13099 +Node: User definitions17702 +Node: Diagnostics19529 +Node: Rules21099 +Node: Citations21932 +Node: Formatting citations28287 +Node: Formatting bibliographies29833 +Node: Displays32662 +Node: Formatting displays34057 +Node: Time of day34694 +Node: Lists35455 +Node: Formatting lists37614 +Node: Verbatim listing39910 +Node: Contents43145 +Node: Writing the .toc file43816 +Node: Reading the .toc file46684 +Node: Changing the .toc file's root name48094 +Node: Alternative contents files49114 +Node: Cross-references49679 +Node: Defining generic references51164 +Node: Using generic references52042 +Node: Page references53333 +Node: Equation references54157 +Node: Formatting equation references56933 +Node: Subequation references61300 +Node: Indexing63223 +Node: Indexing terms66337 +Node: Indexing commands67450 +Node: Modifying index entries70478 +Node: Index entries with special characters73455 +Node: Proofing index terms77710 +Node: Typesetting an index79523 +Node: Customizing indexing81990 +Node: Justification85697 +Node: Tables87376 +Node: Margins89879 +Node: Multiple columns92040 +Node: Footnotes94024 +Node: Fractions96611 +Node: Paths97398 +Node: Logos99005 +Node: Boxes99738 +Node: Checking for PDF output101536 +Node: Loading LaTeX packages102627 +Node: The \usepackage command103975 +Node: Environment for loading packages105065 +Node: Packages known to work107132 +Node: Packages known not to work113537 +Node: Hyperlinks114299 +Node: Introduction to hyperlinks114882 +Node: Explicit hyperlinks120438 +Node: Implicit hyperlinks122728 +Node: General hyperlinks124550 +Node: URL hyperlinks126079 +Node: Citation hyperlinks128186 +Node: List hyperlinks128918 +Node: Cross-reference hyperlinks129312 +Node: Page reference hyperlinks130692 +Node: Equation reference hyperlinks131356 +Node: Index hyperlinks132754 +Node: Exact destinations for index terms134518 +Node: Page destinations for index terms136694 +Node: Choosing destination placement139322 +Node: Index page list and page range parsers140114 +Node: Hyperlinks in see and see also entries140667 +Node: Footnote hyperlinks141466 +Node: Contents hyperlinks142664 +Node: Hyperlink drivers143047 +Node: Options supported by all drivers143682 +Node: Hyperlink driver hypertex146486 +Node: Destination types for hypertex149438 +Node: Destination options for hypertex150477 +Node: Link types for hypertex150959 +Node: Link options for hypertex152980 +Node: Hyperlink drivers pdftex and dvipdfm154004 +Node: Destination types for pdftex and dvipdfm154650 +Node: Destination options for pdftex and dvipdfm158149 +Node: Link types for pdftex and dvipdfm160604 +Node: Link options for pdftex and dvipdfm164143 +Node: Hyperlink driver nolinks167782 +Node: Setting hyperlink types and options170194 +Node: Setting default types and options171196 +Node: Setting group types172625 +Node: Setting group options173818 +Node: Turning hyperlinks on/off176308 +Node: Turning low-level commands on/off176946 +Node: Turning hyperlinks on/off for a group177459 +Node: Arrow theoretic diagrams178616 +Node: Slanted lines and vectors178983 +Node: Commutative diagrams181065 +Node: Arrows and morphisms181664 +Node: Construction of commutative diagrams186142 +Node: Commutative diagram parameters193334 +Node: Programming definitions195153 +Node: Category codes196154 +Node: Allocation macros198815 +Node: Iteration200963 +Node: Macro arguments202622 +Node: Converting to characters205121 +Node: Expansion206513 +Node: \csn and \ece207076 +Node: \edefappend207642 +Node: Hooks208191 +Node: Properties210377 +Node: \expandonce211462 +Node: \ifundefined211911 +Node: \ifempty212475 +Node: \ifinteger and \isinteger213218 +Node: \futurenonspacelet214256 +Node: Obeying spaces214855 +Node: Writing out numbers215886 +Node: Mode-specific penalties216209 +Node: Auxiliary files216941 +Node: User-defined environments217864 +Node: Page list and page range parsers219079 +Node: Demo files221216 +Node: Hyperlinks (xhyper.tex)221784 +Node: Highlighting TeX comments in listings (lscommnt.tex)230103 +Node: Macro index232527 +Node: Concept index295920 End Tag Table diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index b58b31fd3d5..a1810f8f079 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -589,6 +589,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'datetime' => '&POSTlatex2html', 'doipubmed' => '&POSTlatex2html', 'elsarticle' => '&POSTelsarticle', + 'eplain' => '&POSTeplain', 'epspdf' => '&POSTepspdf', 'fontools' => '&POSTfontools', 'fpl' => '&POSTfpl', @@ -1690,6 +1691,7 @@ sub MAKEcopy # move README for encxvlna and others -r "$dest/README" + && -d "$dest/doc/$whichdocformat/$package/" && &SYSTEM ("$MV $dest/README $dest/doc/$whichdocformat/$package/"); # move CHANGELOG for stellenbosch. @@ -1707,11 +1709,11 @@ sub MAKEcopy } # for eplain, move info file (with warning). - if (-r "$dest/doc/$package/doc/eplain.info") { - warn "WARNING: moving eplain.info to /tmp\n"; - warn " -- YOU must put it in texmf/doc/info!\n"; - &SYSTEM ("$MV $dest/doc/$package/doc/eplain.info /tmp"); - } +# if (-r "$dest/doc/$package/doc/eplain.info") { +# warn "WARNING: moving eplain.info to /tmp\n"; +# warn " -- YOU must put it in texmf/doc/info!\n"; +#xxepl &SYSTEM ("$MV $dest/doc/$package/doc/eplain.info /tmp"); +# } # for velthuis, remove bin dir (with warning). if ($package eq "velthuis" && -d "$dest/bin") { @@ -2657,24 +2659,6 @@ sub MAKEfootnpag { } -sub MAKEeplain { - print "\t SPECIAL $package\n"; - &setup; - &xchdir ($DEST); - rename ("tex/eplain/eplain", "tex/eplain/base"); - &SYSTEM ("$MV $DOCDIR/eplain.tex tex/eplain/base"); - &SYSTEM ("$MV $DOCDIR/btxmac.tex tex/eplain/base"); - &SYSTEM ("$MV $DOCDIR/arrow.tex tex/eplain/base"); - - &SYSTEM ("$MV $DOCDIR/doc doc/eplain/base"); - &SYSTEM ("$MV $DOCDIR/[A-L]* $DOCDIR/[M-Z]* doc/eplain/base/"); - unlink ("doc/eplain/base/texinfo.tex"); - - rename ("source/eplain/eplain", "source/eplain/base"); - &SYSTEM ("$MV $DOCDIR/* source/eplain/base"); - -} - sub MAKEfeynmf { &setup; @@ -3581,6 +3565,16 @@ sub POSTelsarticle &SYSTEM ("rmdir src"); } +sub POSTeplain +{ + print "POST$package - mv README, eplain.info\n"; + &SYSTEM ("$MV README doc/eplain/README.TOP"); + + my $infodir = "$TOPDEST/texmf/doc/info/"; + &xmkdir ($infodir); + &SYSTEM ("$MV doc/eplain/doc/eplain.info $infodir/"); +} + sub POSTepspdf { print "POST$package - construct images subdir\n"; |