diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-08 00:33:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-08 00:33:10 +0000 |
commit | 4ac020d664274755c1fd75b93e4ccd34a051038e (patch) | |
tree | 14c198cdfd66880c00badfb5ff921d7d76a4a533 /Master/texmf | |
parent | 7ff51640e2fd3e968488d312879dee70458f2926 (diff) |
update eplain.info
git-svn-id: svn://tug.org/texlive/trunk@2631 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rw-r--r-- | Master/texmf/doc/info/eplain.info | 2435 |
1 files changed, 1938 insertions, 497 deletions
diff --git a/Master/texmf/doc/info/eplain.info b/Master/texmf/doc/info/eplain.info index 070eb62f509..aa7dd6bbd4e 100644 --- a/Master/texmf/doc/info/eplain.info +++ b/Master/texmf/doc/info/eplain.info @@ -1,14 +1,15 @@ -This is eplain.info, produced by makeinfo version 4.7 from eplain.texi. +This is eplain.info, produced by makeinfo version 4.8 from eplain.texi. - This manual documents the Eplain macros, version 3.0, September -2005. Eplain provides functionality for plain TeX that is intended to -be useful regardless of how your document is actually formatted. + This manual documents the Eplain macros, version 3.1, December 2006. +Eplain provides functionality for plain TeX that is intended to be +useful regardless of how your document is actually formatted. Most of this manual is in the public domain, like most of the Eplain code. It was mostly written by Karl Berry, starting in 1989. Steven Smith wrote the documentation for the commutative diagram macros; this -chapter is under the GNU General Public License. Oleg Katsitadze and -Adam Lewenberg have made additions and corrections. +chapter is under the GNU General Public License. Adam Lewenberg has +made additions and corrections. Oleg Katsitadze has helped with writing +the section on LaTeX packages and the chapter on hyperlinks. INFO-DIR-SECTION Texinfo documentation system START-INFO-DIR-ENTRY @@ -21,15 +22,16 @@ File: eplain.info, Node: Top, Next: Introduction, Up: (dir) Eplain ****** -This manual documents the Eplain macros, version 3.0, September 2005. +This manual documents the Eplain macros, version 3.1, December 2006. Eplain provides functionality for plain TeX that is intended to be useful regardless of how your document is actually formatted. Most of this manual is in the public domain, like most of the Eplain code. It was mostly written by Karl Berry, starting in 1989. Steven Smith wrote the documentation for the commutative diagram macros; this -chapter is under the GNU General Public License. Oleg Katsitadze and -Adam Lewenberg have made additions and corrections. +chapter is under the GNU General Public License. Adam Lewenberg has +made additions and corrections. Oleg Katsitadze has helped with writing +the section on LaTeX packages and the chapter on hyperlinks. * Menu: @@ -40,6 +42,7 @@ Adam Lewenberg have made additions and corrections. * Hyperlinks:: Producing documents with hyperlinks. * Arrow theoretic diagrams:: Macros for commutative diagrams. * Programming definitions:: Macros to be used in writing other macros. +* Demo files:: Sample documents demonstrating Eplain. * Macro index:: Entries for TeX and Eplain control sequences. * Concept index:: General index. @@ -69,6 +72,7 @@ User definitions * Logos:: Various logos. * Boxes:: Producing filled or open rectangles. * Checking for PDF output:: Checking for pdfTeX in PDF mode. +* Loading LaTeX packages:: Support for LaTeX packages under plain TeX. Citations @@ -83,6 +87,13 @@ Lists * Formatting lists:: Changing how the lists look. +Contents + +* Writing the .toc file:: +* Reading the .toc file:: +* Changing the .toc file's root name:: +* Alternative contents files:: + Cross-references * Defining generic references:: @@ -103,8 +114,16 @@ Indexing terms * Indexing commands:: Making index entries. * Modifying index entries:: Ranges, see/see also, page number typesetting. +* Index entries with special characters:: * Proofing index terms:: Noting index entries in the margins. +Loading LaTeX packages + +* The \usepackage command:: Command to load packages. +* Environment for loading packages:: Environment for the \usepackage commands. +* Packages known to work:: Supported packages. +* Packages known not to work:: Packages known not to work with Eplain. + Hyperlinks * Introduction to hyperlinks:: @@ -116,6 +135,7 @@ Hyperlinks Implicit hyperlinks +* General hyperlinks:: hrefint, hrefext * URL hyperlinks:: url * Citation hyperlinks:: cite, bib * List hyperlinks:: li @@ -137,9 +157,17 @@ Index hyperlinks Hyperlink drivers * Options supported by all drivers:: +* Hyperlink driver hypertex:: * Hyperlink drivers pdftex and dvipdfm:: * Hyperlink driver nolinks:: +Hyperlink driver hypertex:: + +* Destination types for hypertex:: +* Destination options for hypertex:: +* Link types for hypertex:: +* Link options for hypertex:: + Hyperlink drivers pdftex and dvipdfm:: * Destination types for pdftex and dvipdfm:: @@ -173,7 +201,7 @@ Programming definitions * Category codes:: Changing category codes. * Allocation macros:: Non-outer versions of \newcount et al. -* Iteration:: Doing `for' loops in TeX. +* Iteration:: Doing `for' and `while' loops in TeX. * Macro arguments:: Reading and ignoring them. * Converting to characters:: Normalizing control sequences and spaces. * Expansion:: Controlling expansion. @@ -192,8 +220,15 @@ Expansion * Properties:: Associating information with a csname. * \expandonce:: * \ifundefined:: +* \ifempty:: +* \ifinteger and \isinteger:: * \futurenonspacelet:: +Demo files + +* Hyperlinks (xhyper.tex):: +* Highlighting TeX comments in listings (lscommnt.tex):: + File: eplain.info, Node: Introduction, Next: Installation, Prev: Top, Up: Top @@ -246,19 +281,43 @@ corresponding, please refer to it. To get on this mailing list yourself, email <tex-eplain-request@tug.org> with a message whose body contains a line + subscribe YOU@YOUR.PREFERRED.ADDRESS +or visit `http://tug.org/mailman/listinfo/tex-eplain'. + + David Walden had reported his experience with Eplain as a new user. +The article is available online at +`http://tug.org/pracjourn/2005-4/walden'. An introductory article +(written for TUGboat) is also available online at +`http://tug.org/eplain/misc/tb84katsi.pdf'. + File: eplain.info, Node: Installation, Next: Invoking Eplain, Prev: Introduction, Up: Top 2 Installation ************** -The simplest way to install Eplain is simply to install the file -`eplain.tex' in a directory where TeX will find it. What that -directory is obviously depends on your operating system and TeX -installation. I personally install `eplain.tex' in a directory -`/usr/local/lib/texmf/tex/plain'. +Your TeX installation should already contain a version of Eplain +(`eplain.tex') in its main `texmf' tree (usually under +`/usr/share/texmf/tex/eplain/' on Unix systems). To install a newer +version of Eplain, put the new `eplain.tex' (included in Eplain +distributions) in the `tex/eplain/' subdirectory of your local `texmf' +tree. The newer version you install in the local tree should override +the older one in the main tree. + + The location of the local `texmf' tree obviously depends on your +operating system and TeX installation. On Unix systems the usual +location is `/usr/local/share/texmf/'. If you don't have write +permissions for `/usr/local/share/texmf/', many installations read the +`texmf' tree in the user's home directory; `eplain.tex' then should go +under `~/texmf/tex/eplain/'. For more information about TeX directory +structure, please see +`http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds'. + + If you prefer to install `eplain.tex' in a non-standard place, set +an environment variable (`TEXINPUTS' for the Web2C port of TeX to Unix) +to tell TeX how to find it. If you want, you can also create a format (`.fmt') file for Eplain, which will eliminate the time spent reading the macro source file with @@ -276,31 +335,11 @@ like this: You must make sure that `eplain.aux' exists _before_ you run `initex'; otherwise, warning messages about undefined labels will never be issued. - You then have to install the resulting `eplain.fmt' in some system -directory or set an environment variable to tell TeX how to find it. I -install the format files in `/usr/local/lib/texmf/ini'; the environment -variable for the Web2C port of TeX to Unix is `TEXFORMATS'. - - Some implementations of TeX (including Web2C) use the name by which -TeX is invoked to determine what format to read. For them, you should -make a link to the `virtex' program named `etex', and then install the -format file with the name `etex.fmt'. This lets users invoke TeX as -`etex' and get the format file read automatically, without having to -say `&eplain'. - - For convenience, the file `etex.tex' in the distribution directory -does `\input eplain' and then `\dump', so that if you replace `eplain' -with `etex' in the example above, the format file will end up with the -right name. - - The `install' target in the `Makefile' does all this properly for -Unix systems and Web2C. You may have to change the pathnames. - - Under emtex, `eaj@acpub.duke.edu' says that - - tex386 -i ^&plain eplain \dump - -produces a format file. + You then have to install the resulting `eplain.fmt' in your local +`texmf' tree or set an environment variable to tell TeX how to find it. +For the Web2C port of TeX to Unix, format files are usually installed +under `/usr/local/share/texmf/web2c/' or `/var/lib/texmf/web2c/'; the +environment variable is `TEXFORMATS'. File: eplain.info, Node: Invoking Eplain, Next: User definitions, Prev: Installation, Up: Top @@ -336,8 +375,10 @@ it. To solve this, Eplain defines the control sequence `\eplain' to be the letter `t' (a convention borrowed from Lisp; it doesn't actually matter what the definition is, only that the definition exists). Therefore, you can do the following: + \ifx\eplain\undefined \input eplain \fi - where `\undefined' must never acquire a definition. + +where `\undefined' must never acquire a definition. Eplain consists of several source files: `xeplain.tex' @@ -381,7 +422,7 @@ this: \let\nobibtex = t \input eplain - By default, `\nobibtex' is undefined, and so the bibliography +By default, `\nobibtex' is undefined, and so the bibliography definitions _are_ made. Likewise, define `\noarrow' if you don't want to include the @@ -407,7 +448,7 @@ warning on your terminal. If you want to use the AMSTeX `\ref', do in order to produce and typeset indexes, resolve undefined cross-references and/or citations. The shell script `texi2dvi' from the Texinfo documentation system (see -`http://www.gnu.org/software/texinfo/') can automate this process: it +`http://www.gnu.org/software/texinfo') 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 `LATEX' environment variable to `tex'. For example, in a Bourne-compatible shell, the @@ -488,6 +529,7 @@ set `\newlinechar'. Therefore, Eplain defines it to be the character For example, one of Eplain's own error messages is defined as follows: + \newhelp\envhelp{Perhaps you forgot to end the previous^^J% environment? I'm finishing off the current group,^^J% hoping that will fix it.}% @@ -551,7 +593,7 @@ Eplain distributions contain several examples, also. The `\cite' command produces a citation in the text of your document. The exact printed form the citation will take is under your -control; *note Formatting citations::. `\cite' takes one required +control (*note Formatting citations::). `\cite' takes one required argument, a comma-separated list of cross-reference labels (*note Cross-references::, for exactly what characters are allowed in such labels). Warning: spaces in this list are taken as part of the @@ -563,7 +605,7 @@ brackets, as in LaTeX. This text is simply typeset after the citations. (See the example below.) Eplain can create hypertext links for citations pointing to the -relevant bibliography entries; *note Citation hyperlinks::. +relevant bibliography entries (*note Citation hyperlinks::). Another command, `\nocite', puts the given reference(s) into the bibliography, but produces nothing in the text. @@ -609,8 +651,8 @@ shell prompt.) $ 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::.) +The `texi2dvi' program can help you automate this process (*note +Invoking Eplain::). The output looks something like (because we used the plain bibliography style): @@ -849,7 +891,7 @@ if the list items are numbered. You can produce the value of the label with `\xrefn'. *Note Cross-references::. Eplain can create hypertext links for the markers produced by -`\xrefn' pointing to the relevant list item; *note List hyperlinks::. +`\xrefn' pointing to the relevant list item (*note List hyperlinks::). You can also say `\listcompact' right after `\numberedlist' or `\unorderedlist'. The items in the list will then not have any extra @@ -857,6 +899,7 @@ space between them (*note Formatting lists::). You might want to do this if the items in this particular list are short. Here is an example: + \numberedlist\listcompact \li The first item. \li The second item. @@ -946,6 +989,17 @@ stored in the count register `\lineno' while the file is being read. You can redefine the macro `\printlistinglineno' to change how they are printed. + Normally, the `\listing' 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 `\let\setuplistinghook = +\nolastlinelisting'. This also works with line numbers (say +`\def\setuplistinghook{\linenumberedlisting \nolastlinelisting}'), but +only if `\printlistinglineno' consists exclusively of boxes at the top +level (i.e., any `\kern's or glue should be wrapped up in a box). + + You can use the form feed control character (ASCII code 12, typed as +`CTRL-L') in the file to force a page break in the output. + You can produce in-line verbatim text in your document with `\verbatim'. End the text with `|endverbatim'. If you need a `|' in the text, double it. If the first character of the verbatim text is a @@ -976,9 +1030,9 @@ properly. For example: \def\mymacro{\verbatim &#%|endverbatim}% Doesn't work! - To accomplish this, you must change the category codes yourself -before making the macro definition. Perhaps `\uncatcodespecials' will -help you (*note Category codes::). +To accomplish this, you must change the category codes yourself before +making the macro definition. Perhaps `\uncatcodespecials' will help +you (*note Category codes::). File: eplain.info, Node: Contents, Next: Cross-references, Prev: Verbatim listing, Up: User definitions @@ -993,11 +1047,25 @@ for a table of contents, however, is much the same across documents. Eplain uses an auxiliary file with extension `.toc' (and the same root name as your document) to save the information. - To write an entry for the table of contents, you say +* Menu: + +* Writing the .toc file:: +* Reading the .toc file:: +* Changing the .toc file's root name:: +* Alternative contents files:: + + +File: eplain.info, Node: Writing the .toc file, Next: Reading the .toc file, Up: Contents + +4.8.1 Writing the .toc file +--------------------------- + +To write an entry for the table of contents, you say `\writetocentry{PART}{TEXT}', where PART is the type of part this entry is, e.g., `chapter', and TEXT is the text of the title. `\writetocentry' puts an entry into the .toc file that looks like -`\tocPARTentry{TEXT}{PAGE NUMBER}'. The TEXT is written unexpanded. +`\tocPARTentry{TEXT}{PAGE NUMBER}' (unless PART is an integer, see +below). The TEXT is written unexpanded. A related command, `\writenumberedtocentry', takes one additional argument, the first token of which is expanded at the point of the @@ -1022,37 +1090,98 @@ following to the .toc file: \tocchapterentry{A $\sin$ wave}{3}{8} \tocsectionentry{A section title}{9} - You read the .toc file with the command `\readtocfile'. Naturally, + A variation on `\writenumberedtocentry' is `\writenumberedtocline', +differing only in the order of the parameters it takes and writes for +the `\tocPARTentry' control sequences. To continue the previous +example: + + \writenumberedtocline{chapter}{\the\chapno}{A $\sin$ wave} + +writes the following to the .toc file: + + \tocchapterentry{3}{A $\sin$ wave}{8} + +Such ordering of the parameters allows the `\tocPARTentry' 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 verbatim text (*note Verbatim listing::). + + Each of `\writetocentry', `\writenumberedtocentry' and +`\writenumberedtocline' processes a numeric PART argument specially. +If you pass PART expanding to an integer, these macros write into the +.toc file an entry that starts with `\tocentry{PART}'. Thus, you can +define a single `\tocentry' macro which formats all entries for a table +of contents. To continue the previous examples: + + \writenumberedtocentry{1}{A $\sin$ wave}{\the\chapno} + \writenumberedtocline{1}{\the\chapno}{A $\sin$ wave} + \writetocentry{2}{A section title} + +writes the following to the .toc file: + + \tocentry{1}{A $\sin$ wave}{3}{8} + \tocentry{1}{3}{A $\sin$ wave}{8} + \tocentry{2}{A section title}{9} + + +File: eplain.info, Node: Reading the .toc file, Next: Changing the .toc file's root name, Prev: Writing the .toc file, Up: Contents + +4.8.2 Reading the .toc file +--------------------------- + +You read the .toc file with the command `\readtocfile'. Naturally, whatever `\toc... entry' commands that were written to the file must be defined when `\readtocfile' is invoked. Eplain has minimal definitions for `\tocchapterentry', `\tocsectionentry', and `\tocsubsectionentry', just to prevent undefined control sequence errors in common cases. They aren't suitable for anything but preliminary proofs. - Each of `\writetocentry' and `\writenumberedtocentry' opens the .toc -file for writing, thereby deleting the information from the previous -run. You should therefore arrange that `\readtocfile' be called -_before_ the first call to a `\writetoc...' macro. `\readtocfile' does -not itself delete the information from the .toc file, so that you can -call it several times, e.g., to create both a short and normal table of -contents. (To produce this in particular, define `\tocsectionentry' to -produce nothing while you are reading .toc file for a short table of -contents (*note Macro arguments::).) + Each of `\writetocentry', `\writenumberedtocentry' and +`\writenumberedtocline' opens the .toc file for writing, thereby +deleting the information from the previous run. You should therefore +arrange that `\readtocfile' be called _before_ the first call to a +`\writetoc...' macro. `\readtocfile' does not itself delete the +information from the .toc file, so that you can call it several times, +e.g., to create both a short and normal table of contents. (To produce +this in particular, define `\tocsectionentry' to produce nothing while +you are reading .toc file for a short table of contents (*note Macro +arguments::).) On the other hand, if you don't want to rewrite the .toc file at all, perhaps because you are only running TeX on part of your manuscript, you can set `\rewritetocfilefalse'. - By default, the `.toc' file has the root `\jobname'. If your -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 + +File: eplain.info, Node: Changing the .toc file's root name, Next: Alternative contents files, Prev: Reading the .toc file, Up: Contents + +4.8.3 Changing the .toc file's root name +---------------------------------------- + +By default, the `.toc' file has the root `\jobname'. If your 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 `\tocfilebasename'. - 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 `\definecontentsfile{ABBREV}'. All of the above -commands are actually a special case that Eplain predefines with + Note that `\writetocentry', `\writenumberedtocentry' and +`\writenumberedtocline' will open the contents file for writing only at +the first call, using the value of `\tocfilebasename' at that time. +Changing the value of `\tocfilebasename' afterwards will not affect +which file gets _written_, although it will affect which file gets +_read_ by `\readcontentsfile'. In case you need to write several +contents files from a single TeX job, use `\definecontentsfile' (*note +Alternative contents files::). + + +File: eplain.info, Node: Alternative contents files, Prev: Changing the .toc file's root name, Up: Contents + +4.8.4 Alternative contents files +-------------------------------- + +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 `\definecontentsfile{ABBREV}'. All of the above commands are +actually a special case that Eplain predefines with \definecontentsfile{toc} @@ -1088,8 +1217,8 @@ 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::. - Eplain can create hypertext links for the cross-references; *note -Cross-reference hyperlinks::. + Eplain can create hypertext links for the cross-references (*note +Cross-reference hyperlinks::). * Menu: @@ -1181,8 +1310,8 @@ one for definition and one for use. definition is `p.\thinspace'. - Eplain can create hypertext links for the page references; *note -Page reference hyperlinks::. + Eplain can create hypertext links for the page references (*note +Page reference hyperlinks::). File: eplain.info, Node: Equation references, Next: Indexing, Prev: Page references, Up: User definitions @@ -1243,8 +1372,8 @@ them: Equation labels can contain the same characters that are valid in general cross-references. - Eplain can create hypertext links for the equation references; *note -Equation reference hyperlinks::. + Eplain can create hypertext links for the equation references (*note +Equation reference hyperlinks::). * Menu: @@ -1269,10 +1398,11 @@ the font change from affecting surrounding text.) \def\eqprint#1{{\it (#1)}} - In addition to changing the formatting of equation numbers, you might -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 `\eqconstruct'. For example: + In addition to changing the formatting of equation numbers, you +might want 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 `\eqconstruct'. For +example: \def\eqconstruct#1{\the\chapternumber.#1} @@ -1331,11 +1461,13 @@ 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 default definition just puts a period between them: + \def\eqsubreftext#1#2{#1.#2}% You can redefine `\eqsubreftext' to print however you like. For example, this definition makes the labels print as `2a', `2b', and so on. + \newcount\subref \def\eqsubreftext#1#2{% \subref = #2 % The space stops a <number>. @@ -1359,14 +1491,14 @@ collection and sorting of terms, because TeX itself has no support for sorting. Eplain can create hypertext links pointing from the index to the -index terms; *note Index hyperlinks::. +index terms (*note Index hyperlinks::). Eplain's indexing commands were designed to work with the program MakeIndex, available from CTAN hosts in `tex-archive/indexing/makeindex'; MakeIndex is also commonly included in prepackaged TeX distributions. It is beyond the scope of this manual to explain how to run MakeIndex, and all of its many options. -See `http://www.ctan.org/tex-archive/indexing/makeindex/' +See `http://www.ctan.org/tex-archive/indexing/makeindex'. The basic strategy for indexing works like this: @@ -1381,8 +1513,8 @@ See `http://www.ctan.org/tex-archive/indexing/makeindex/' See the section `Typesetting an index' below. -The `texi2dvi' program can help you automate this process, *note -Invoking Eplain::. +The `texi2dvi' program can help you automate this process (*note +Invoking Eplain::). If your document needs more than one index, each must have its own file. Therefore, Eplain provides the command `\defineindex', which @@ -1428,6 +1560,7 @@ ones do not. * Indexing commands:: Making index entries. * Modifying index entries:: Ranges, see/see also, page number typesetting. +* Index entries with special characters:: * Proofing index terms:: Noting index entries in the margins. @@ -1489,7 +1622,7 @@ directly by specifying an index entry as `SORT@TYPESET'. For example: will sort as `Ap-weight', but print with the proper math. The `@' here is MakeIndex's default character for this purpose. See -`http://www.ctan.org/tex-archive/indexing/makeindex/'. To make an index +`http://www.ctan.org/tex-archive/indexing/makeindex'. To make an index entry with an `@' in it, you have to escape it with a backslash; Eplain provides no macros for doing this. @@ -1502,7 +1635,7 @@ you're at a section heading, you could do: \hookaction{afterindexterm}{\if@aftersctnhead \nobreak \fi} -File: eplain.info, Node: Modifying index entries, Next: Proofing index terms, Prev: Indexing commands, Up: Indexing terms +File: eplain.info, Node: Modifying index entries, Next: Index entries with special characters, Prev: Indexing commands, Up: Indexing terms 4.12.1.2 Modifying index entries ................................ @@ -1581,9 +1714,102 @@ subterm) is independent of these. -File: eplain.info, Node: Proofing index terms, Prev: Modifying index entries, Up: Indexing terms +File: eplain.info, Node: Index entries with special characters, Next: Proofing index terms, Prev: Modifying index entries, Up: Indexing terms + +4.12.1.3 Index entries with special characters +.............................................. + +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. + + This in turn has some implications for the non-silent forms of the +indexing commands (*note Indexing terms::), since TeX and MakeIndex 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 (`"'): + + \idx{"!} + +This would have to be rewritten using the silent command: + + !\sidx{"!} + +In general, it is a good idea to eschew the non-silent commands +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 +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 +_after_ MakeIndex processes the `.idx' file and writes the `.ind' file. +This is what makes the non-silent commands less powerful and more +troublesome when dealing with special characters. + + Here's an example showing that terms for the silent commands can +contain almost any character: + + \sidx[see]{comments}[with %@with \verbatim %"|endverbatim] + {commenting with \verbatim %"|endverbatim} + +We didn't have to escape `%' in the sort string for MakeIndex, while we +had to put it inside the verbatim environment (*note Verbatim +listing::) in the part which MakeIndex will pass back to TeX. Also, we +had to escape the `|' 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 `.idx' and `.ind' files +resulting from processing the above input. + + As was mentioned, index terms can embed "almost any character", so +now we'll describe the exceptions. + + The following characters are reset to their usual meanings because +they are not useful verbatim: multiple consequent spaces are converted +into a single space; ASCII tab characters are treated as spaces; ASCII +return is treated as end-of-line (this means, among other things, that +long terms can be broken across several lines). + + You have to be careful with the begin- and end-group characters (`{' +and `}' by default). If they are matched, you don't have to do +anything special. For example: + + \sidx {braces {, }@braces + \verbatim {"|endverbatim, \verbatim }"|endverbatim} + +However, if they are not matched you have two problems on 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 `\idxargopen' and/or `\idxargclose' 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: + + \def\idxargopen{`\<} + \def\idxargclose{`\>} + \sidx <left brace "{@left brace \verbatim "{"|endverbatim> + +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 `"'. + + And the final note: if you need a subentry containing brackets (`[' +and `]'), avoid the optional argument of `\sidx' and friends, and use +instead MakeIndex's subentry separator to create the subentry with the +brackets in it: + + \sidx{entry!subentry with a bracket [} + + +File: eplain.info, Node: Proofing index terms, Prev: Index entries with special characters, Up: Indexing terms -4.12.1.3 Proofing index terms +4.12.1.4 Proofing index terms ............................. As you are reading through a manuscript, it is helpful to see what terms @@ -1739,10 +1965,10 @@ take two parameters, the term being referenced and the `\idxmaxpagenum' Unfortunately, it is impossible to reliably control the commas produced by MakeIndex in front of "see ..." entries in the `.ind' file, either at MakeIndex level or at Eplain level. However, the `sed' -script named `trimsee' distributed with Eplain in the `test' 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 ..." -entries: +script contained in `trimsee' distributed with Eplain in the `util' +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 ..." entries: analysis, archetypal (see archetypal criticism) @@ -1818,12 +2044,13 @@ You can adjust this space by assigning to `\blanklineskipamount'; this (vertical) glue is inserted after each blank line. Here is an example: + {\center First line. Second line, with a blank line before. } - This produces: +This produces: First line. @@ -1845,8 +2072,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 `lifshitz.ph.utexas.edu' -in `texis/tables', is the only one I know of. +`ruled.tex' and `TXSruled.tex', available from +`http://www.ctan.org/tex-archive/macros/texsis', is the only one I know +of. Many tables are homogenous, i.e., all the entries are semantically the same. The arrangement into columns is to save space on the page, @@ -1882,6 +2110,7 @@ the entries will be typeset as straight text, probably also looking somewhat out of place. Here is an example: + % Arrange 6 entries into 2 columns: \makecolumns 6/2: % This line doesn't have an entry. one @@ -1892,7 +2121,7 @@ somewhat out of place. six Text after the table. - This produces `one', `two', and `three' in the first column, and +This produces `one', `two', and `three' in the first column, and `four', `five', and `six' in the second. @@ -1978,8 +2207,10 @@ output), as desired. `\gutter'. Default value is two picas. If you want to add vertical material between the columns, use `\gutterbox'. For example, to put a vertical line between columns, define `\gutterbox' as + \def\gutterbox{\vbox to \dimen0{\vfil\hbox{\vrule height\dimen0}\vfil}}% - The dimension counter `\dimen0' contains the height of the column. + +The dimension counter `\dimen0' contains the height of the column. All the `\...columns' macros insert the value of the glue parameter `\abovecolumnskip' before the multicolumn text, and the value of the @@ -2009,7 +2240,7 @@ this. It takes one argument, the footnote text. \let\footnote = \numberedfootnote - After doing this, you can type your footnotes as `\footnote{FOOTNOTE +After doing this, you can type your footnotes as `\footnote{FOOTNOTE TEXT}', instead of as `\numberedfootnote{FOOTNOTE TEXT}'. Eplain keeps the current footnote number in the count register @@ -2033,6 +2264,7 @@ Eplain expands the token register `\everyfootnote' 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: + \everyfootnote = {\sevenrm \leftskip = 1in} By default, an `\hrule' is typeset above each group of footnotes on @@ -2049,8 +2281,8 @@ high, 2 true inches wide, with 2.6 points below it. by the glue register `\skip\footins'. The default is a plain TeX `\bigskip'. - Eplain can create hypertext links for the footnote marks; *note -Footnote hyperlinks::. + Eplain can create hypertext links for the footnote marks (*note +Footnote hyperlinks::). File: eplain.info, Node: Fractions, Next: Paths, Prev: Footnotes, Up: User definitions @@ -2089,6 +2321,7 @@ rather than at the hyphenation points in `letters' and `alpha'. these good breakpoints. The argument to `\path' is delimited by any character other other than `\' which does not appear in the name itself. `|' is often a good choice, as in: + \path|letters@alpha.gnu.ai.mit.edu| You can control the exact set of characters at which breakpoints @@ -2096,6 +2329,7 @@ will be allowed by calling `\discretionaries'. This takes the same sort of delimited argument; any character in the argument will henceforth be a valid breakpoint within `\path'. The default set is essentially all the punctuation characters: + \discretionaries |~!@$%^&*()_+`-=#{}[]:";'<>,.?\/| If for some reason you absolutely must use `\' as the delimiter @@ -2178,9 +2412,9 @@ File: eplain.info, Node: Checking for PDF output, Next: Loading LaTeX packages pdfTeX is a TeX variant that can output both `.dvi' and `.pdf' (Adobe's Portable Document Format) files (see -`http://www.ctan.org/tex-archive/systems/pdftex/'). You might -sometimes want to know whether the target format is `.pdf' or `.dvi'. -The `\ifpdf' switch can be used to detect pdfTeX in PDF mode: +`http://www.ctan.org/tex-archive/systems/pdftex'). You might sometimes +want to know whether the target format is `.pdf' or `.dvi'. The +`\ifpdf' switch can be used to detect pdfTeX in PDF mode: \ifpdf This text is produced when pdfTeX is in PDF mode. @@ -2217,7 +2451,7 @@ Eplain mailing list (*note Introduction::). (`http://www.ctan.org/tex-archive/macros/plain/graphics/miniltx.tex') from the LaTeX graphics collection, written by David Carlisle and Sebastian Rahtz (the collection is available at -`http://www.ctan.org/tex-archive/macros/latex/required/graphics/'). +`http://www.ctan.org/tex-archive/macros/latex/required/graphics'). Eplain extends `miniltx.tex' to provide some additional features, e.g., support for package options. @@ -2280,6 +2514,29 @@ the end of the `\beginpackages...\endpackages' block. For the same reason, it is advisable to specify only one such block per document, just like there is only one preamble in LaTeX. + Some packages (and the pseudo-LaTeX environment, `miniltx.tex') +redefine TeX's primitive `\input' to be a macro. Non-primitive +`\input' is probably not what the user expects under plain TeX. +Therefore, at the beginning of the `\beginpackages...\endpackages' +block Eplain saves the meaning of `\input' as `\eplaininput' and +restores the original `\input' at the end of the block. This usually +means that the primitive `\input' is restored, unless you (or some +other macro package you've loaded directly) have redefined it before +calling `\beginpackages'. In case you need to access the +package-provided `\input', Eplain saves it as `\packageinput'. + + Sometimes you may encounter packages which make conflicting +redefinitions of `\input'. Common symptoms are TeX spewing +incomprehensible error messages or hanging in a loop at a call to +`\input'. This sometimes can be cured by restoring `\input' to +`\eplaininput' before loading each package. For example: + + \beginpackages + \usepackage{pack1} + \let\input\eplaininput + \usepackage{pack2} + \endpackages + File: eplain.info, Node: Packages known to work, Next: Packages known not to work, Prev: Environment for loading packages, Up: Loading LaTeX packages @@ -2292,7 +2549,7 @@ packages. Some of the short descriptions of the packages were taken from the documentation for those packages. autopict (`2001/06/04 v1.1j Picture mode autoload file') - `http://tug.org/eplain/ltpictur.pdf' + `http://tug.org/eplain/misc/ltpictur.pdf' This is the LaTeX "picture mode", started by `\begin{picture}' and ended by `\end{picture}' (in LaTeX, this package is not explicitly @@ -2309,6 +2566,73 @@ graphicx (`1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)') provide commands for changing text/page colors, text rotation and scaling, and much more. + *Warning 1:* If you encounter problems loading one of these + packages under pdfTeX (more specifically, when pdfTeX reads + `supp-mis.tex'), the cause may be an outdated `supp-mis.tex' (part + of ConTeXt, a typesetting system for TeX) installed on your + system. The problem was fixed in `supp-mis.tex' + version 2004.10.26. You can obtain up-to-date versions of + `supp-mis.tex' and the accompanying `supp-pdf.tex' from + `http://www.ctan.org/tex-archive/macros/pdftex/graphics'. To + convince TeX to use the new files, you have the following options + in the decreasing order of preference: + + 1. put the new files in the same directory with your document; + + 2. overwrite the outdated files installed by your TeX + distribution; + + 3. install the new `supp-mis.tex' and `supp-pdf.tex' files in + the relevant subdirectory of your local `texmf' tree (for + info on TeX directory structure see + `http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds'); + + 4. upgrade your ConTeXt installation. + + 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 `texmf' + tree. + *End of warning 1.* + + *Warning 2:* If you encounter problems using the `\pagecolor' + command from the `color.sty' package under pdfTeX, the cause may + be an outdated pdfTeX color and graphics driver `pdftex.def'. The + problem was fixed in `pdftex.def' version 0.03p. You can obtain + an up-to-date version from + `http://www.ctan.org/tex-archive/graphics/pdftex/pdftex.def'. + *End of warning 2.* + + The `graphics'/`graphicx' packages have the option `draft' which + instructs `\includegraphics' 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 `\ttfamily' + to switch to the typewrite type. This command is not defined by + `miniltx.tex', therefore Eplain defines it and makes it equivalent + to plain TeX's `\tt'. + + *Note Hyperlinks (xhyper.tex)::, for the demonstration of text + rotation and graphics inclusion using the `graphicx' package, and + using the `color' package to colorize hypertext links. + + Klaus Ho"ppner has written a nice introduction to the LaTeX + graphics packages and different graphics formats. You can + download it from + `http://www.tug.org/pracjourn/2005-3/hoeppner' + +epstopdf (`2001/02/04 v1.1 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 + (EPS) graphics into Portable Document Format (PDF) graphics for + inclusion with the `\includegraphics' command from the + `graphics'/`graphicx' packages, so that you do not have to + explicitly call the `epstopdf' script. + psfrag (`1998/04/11 v3.04 PSfrag (MCG)') `http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/pfgguide.pdf' @@ -2320,6 +2644,16 @@ psfrag (`1998/04/11 v3.04 PSfrag (MCG)') the figure, and replace it with a properly sized, aligned, and rotated (La)TeX equation. +soul (`2003/11/17 v2.4 letterspacing/underlining (mf)') + `http://www.ctan.org/tex-archive/macros/latex/contrib/soul' + + 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 `\usepackage' command, just say `\input soul.sty'. If + you intend to use the highlighting macros of `soul', don't forget + to load the `color' package. + url (`2005/06/27 ver 3.2 Verb mode for urls, etc.') `http://www.ctan.org/tex-archive/macros/latex/contrib/misc/url.sty' @@ -2329,8 +2663,11 @@ url (`2005/06/27 ver 3.2 Verb mode for urls, etc.') another command. It is intended for email addresses, hypertext links, directories/paths, etc., which normally have no spaces. - Eplain can create hypertext links with the `\url' command; *note - URL hyperlinks::. + Eplain can create hypertext links with the `\url' command (*note + URL hyperlinks::). + + Be sure to get a version dated at least 2005/06/27, as older + versions have problems in plain TeX. File: eplain.info, Node: Packages known not to work, Prev: Packages known to work, Up: Loading LaTeX packages @@ -2340,11 +2677,18 @@ File: eplain.info, Node: Packages known not to work, Prev: Packages known to w The following packages are known not to work with Eplain: +hyperref + `http://www.ctan.org/tex-archive/macros/latex/contrib/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::. + pict2e (`2005/07/15 v0.2r Improved picture commands (HjG,RN)') - `http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e/' + `http://www.ctan.org/tex-archive/macros/latex/contrib/pict2e' xcolor (`2005/06/06 v2.03 LaTeX color extensions (UK)') - `http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor/' + `http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor' File: eplain.info, Node: Hyperlinks, Next: Arrow theoretic diagrams, Prev: User definitions, Up: Top @@ -2372,14 +2716,14 @@ File: eplain.info, Node: Introduction to hyperlinks, Next: Explicit hyperlinks 5.1 Introduction to hyperlinks ============================== -The original TeX engine has no built-in support for hyperlinks. Many -of the present-day file formats with hyperlinking capabilities did not -even exist at the time TeX was written. However, TeX's `\special' -primitive can be used to instruct TeX to write special directives into -its `.dvi' output file. These directives are not interpreted by TeX in -any way; they are intended for programs which process the `.dvi' files -produced by TeX, be it printing or converting to other formats, such as `.ps' -or `.pdf'. +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 `\special' primitive can be used to instruct +TeX to write special directives into its `.dvi' output file. These +directives are not interpreted by TeX in any way; they are intended for +programs which process the `.dvi' files produced by TeX, be it printing +or converting to other formats, such as `.ps' or `.pdf'. Another approach is to extend the original TeX engine with the ability to generate one of the hyperlinking formats; TeX's set of @@ -2399,11 +2743,13 @@ of commands it understands. The knowledge about the commands that the various processors understand is programmed into Eplain's hyperlink drivers. Eplain -provides two drivers, `pdftex' and `dvipdfm', named after the programs -which process the hyperlink commands, pdfTeX and dvipdfm. Therefore, -Eplain can only produce hyperlink commands for one of these two -programs--except that the extended `dvipdfmx' program can be used as -well as the original `dvipdfm', since they are compatible. +provides three drivers: `hypertex' (implementation of the HyperTeX +standard, see `http://arxiv.org/hypertex'), and `pdftex' and `dvipdfm' +(named after the programs which process the hyperlink commands, pdfTeX +and dvipdfm). Therefore, Eplain can only produce HyperTeX commands and +hyperlink commands for one of these two programs--except that the +extended `dvipdfmx' program can be used as well as the original +`dvipdfm', since they are compatible. To tell Eplain which `.dvi' processor or extended TeX engine you are using, use the command `\enablehyperlinks'. @@ -2415,7 +2761,7 @@ using, use the command `\enablehyperlinks'. instructs Eplain to attempt to automatically detect which driver to use, as follows: if it detects pdfTeX in PDF mode, it loads the `pdftex' driver. If it does not detect pdfTeX in PDF mode, the -`dvipdfm' driver is loaded. The detection is based on the `\ifpdf' +`hypertex' driver is loaded. The detection is based on the `\ifpdf' switch (*note Checking for PDF output::). If necessary, you can explicitly specify the driver name: @@ -2429,7 +2775,8 @@ pdfTeX. them with `\enablehyperlinks'. For one thing, this keeps Eplain backward-compatible with previous releases without hyperlink support. For another, you may be using a program other than pdfTeX or `dvipdfm', -which does not understand their hyperlink commands. +which does not understand their hyperlink commands or the HyperTeX +commands. Concepts and Terminology ------------------------ @@ -2519,6 +2866,11 @@ defined in the previous example. (The other options, like highlight mode and border color, are determined by the defaults, *note Setting default types and options::). + The LABEL argument of both `\hldest' and `\hlstart' can contain +special characters (such as `#', `%', `&', `~', etc.) without any +escaping. This is especially important for URL links supported by some +drivers (*note Hyperlink drivers::). + Both `\hldest' and `\hlstart' ignore following spaces. Both `\hldest' and `\hlstart' expand the first token of OPTIONS @@ -2530,6 +2882,9 @@ OPTIONS. For example: is functionally equivalent to the previous example. + *Note Hyperlinks (xhyper.tex)::, for a demonstration of the usage of +explicit hyperlinks. + File: eplain.info, Node: Implicit hyperlinks, Next: Hyperlink drivers, Prev: Explicit hyperlinks, Up: Hyperlinks @@ -2554,17 +2909,21 @@ to set parameters for a group. Here is the list of the linkgroups: - cite, ref, xref, eq, idx, foot, footback, url. + hrefint, hrefext, url, cite, ref, xref, eq, idx, foot, footback. And here are the destgroups: bib, li, definexref, xrdef, eq, idx, foot, footback. + *Note Hyperlinks (xhyper.tex)::, for a demonstration of the usage of +implicit hyperlinks. + The following subsections describe each of the linkgroups and destgroups and the hyperlink support provided. * Menu: +* General hyperlinks:: hrefint, hrefext * URL hyperlinks:: url * Citation hyperlinks:: cite, bib * List hyperlinks:: li @@ -2576,9 +2935,48 @@ destgroups and the hyperlink support provided. * Contents hyperlinks:: -File: eplain.info, Node: URL hyperlinks, Next: Citation hyperlinks, Up: Implicit hyperlinks +File: eplain.info, Node: General hyperlinks, Next: URL hyperlinks, Up: Implicit hyperlinks + +5.3.1 General hyperlinks: hrefint, hrefext +------------------------------------------- + +`\href{URL}{TEXT}' typesets TEXT as a link to URL. It basically does +what the explicit hyperlink macros do (*note Explicit hyperlinks::), +but is more convenient (at the expense of flexibility). + + If URL starts with `#', the rest of URL is assumed to be a local +hyperlink destination name (destination within the same document). +Parameters for these links can be set by customizing the `hrefint' +linkgroup. For example: + + See \href{#intro}{Introduction} + +will make `Introduction' into an internal link, which might have been +created, e.g., with `\xrdef{intro}'. + + If URL does not start with `#', it is assumed to be a URL link. +Parameters for these links can be set by customizing the `hrefext' +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} + +*Note URL hyperlinks::, for another way to create URL hyperlinks. + + The TEXT argument of `\href' can contain verbatim text (*note +Verbatim listing::) or other macros which manipulate character +catcodes. For example: + + \href{#WeirdChars}{The weird chars \verbatim #&%$~|endverbatim} + + `\href' does not currently handle other link types, such as `file:' +and `run:' links. + + +File: eplain.info, Node: URL hyperlinks, Next: Citation hyperlinks, Prev: General hyperlinks, Up: Implicit hyperlinks -5.3.1 URL hyperlinks: url +5.3.2 URL hyperlinks: url -------------------------- The `url' linkgroup covers the `\url' command from the LaTeX package `url' @@ -2592,10 +2990,50 @@ a URL, 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 `\hloff[url]' (*note Turning hyperlinks on/off for a group::). + By default, URL (and other types of) links are boxed, so that they +are visually marked even if you do not load the LaTeX `color' package +(*note Loading LaTeX packages::) and therefore link text is not +colored. You can see the effect by compiling the following code +snippet (be sure to get a modern `url.sty', older versions do not work +in plain TeX; *note Packages known to work::): + + \input eplain + \beginpackages + \usepackage{url} + \endpackages + + \enablehyperlinks + + \url{http://foo/bar} + \bye + + If the hyperlink driver you use supports the link option `bwidth' +(*note Hyperlink drivers::), you can produce colored links with no +border around them. Try this: + + \input eplain + \beginpackages + \usepackage{url} + \usepackage{color} + \endpackages + + \enablehyperlinks + \hlopts{bwidth=0} + + \url{http://foo/bar} + \bye + +The command `\hlopts{bwidth=0}' sets border width to zero as the +default for all links, and loading the `color' package automatically +colors links using the default color (*note Options supported by all +drivers::). If you want the border width setting to apply to URL links +only, say `\hlopts[url]{bwidth=0}' (*note Setting hyperlink types and +options::). + File: eplain.info, Node: Citation hyperlinks, Next: List hyperlinks, Prev: URL hyperlinks, Up: Implicit hyperlinks -5.3.2 Citation hyperlinks: cite, bib +5.3.3 Citation hyperlinks: cite, bib ------------------------------------- The `cite' linkgroup includes only the `\cite' command (*note @@ -2613,7 +3051,7 @@ of the entries, a destination is defined. File: eplain.info, Node: List hyperlinks, Next: Cross-reference hyperlinks, Prev: Citation hyperlinks, Up: Implicit hyperlinks -5.3.3 List hyperlinks: li +5.3.4 List hyperlinks: li -------------------------- The `li' destgroup consists of the `\li' command (*note Lists::), which @@ -2624,7 +3062,7 @@ label. File: eplain.info, Node: Cross-reference hyperlinks, Next: Page reference hyperlinks, Prev: List hyperlinks, Up: Implicit hyperlinks -5.3.4 Cross-reference hyperlinks: definexref, ref +5.3.5 Cross-reference hyperlinks: definexref, ref -------------------------------------------------- The `definexref' destgroup is for the `\definexref' command (*note @@ -2654,7 +3092,7 @@ intended use. File: eplain.info, Node: Page reference hyperlinks, Next: Equation reference hyperlinks, Prev: Cross-reference hyperlinks, Up: Implicit hyperlinks -5.3.5 Page reference hyperlinks: xrdef, xref +5.3.6 Page reference hyperlinks: xrdef, xref --------------------------------------------- The `xrdef' destgroup is for `\xrdef' (*note Page references::). @@ -2669,7 +3107,7 @@ into a link, using the cross-reference label as the hyperlink label. File: eplain.info, Node: Equation reference hyperlinks, Next: Index hyperlinks, Prev: Page reference hyperlinks, Up: Implicit hyperlinks -5.3.6 Equation reference hyperlinks: eq +5.3.7 Equation reference hyperlinks: eq ---------------------------------------- All commands that define equation labels are part of the `eq' destgroup. @@ -2696,7 +3134,7 @@ generated for the last empty-labeled equation. File: eplain.info, Node: Index hyperlinks, Next: Footnote hyperlinks, Prev: Equation reference hyperlinks, Up: Implicit hyperlinks -5.3.7 Index hyperlinks: idx +5.3.8 Index hyperlinks: idx ---------------------------- All indexing commands (`\idx', `\idxname', `\idxmarked', @@ -2737,7 +3175,7 @@ to locations of index terms in the text. File: eplain.info, Node: Exact destinations for index terms, Next: Page destinations for index terms, Up: Index hyperlinks -5.3.7.1 Exact destinations for index terms +5.3.8.1 Exact destinations for index terms .......................................... In this approach, each command that marks an index term defines a unique @@ -2784,7 +3222,7 @@ will not filter out the second entry). File: eplain.info, Node: Page destinations for index terms, Next: Choosing destination placement, Prev: Exact destinations for index terms, Up: Index hyperlinks -5.3.7.2 Page destinations for index terms +5.3.8.2 Page destinations for index terms ......................................... In the second approach, Eplain does not write out any destination labels @@ -2840,7 +3278,7 @@ with the commands File: eplain.info, Node: Choosing destination placement, Next: Index page list and page range parsers, Prev: Page destinations for index terms, Up: Index hyperlinks -5.3.7.3 Choosing destination placement +5.3.8.3 Choosing destination placement ...................................... The approach that Eplain should use for the index terms can be selected @@ -2860,7 +3298,7 @@ selects the first approach ("exact index links"). File: eplain.info, Node: Index page list and page range parsers, Next: Hyperlinks in see and see also entries, Prev: Choosing destination placement, Up: Index hyperlinks -5.3.7.4 Index page list and page range parsers +5.3.8.4 Index page list and page range parsers .............................................. The macros that Eplain uses to parse page lists and page ranges, @@ -2872,7 +3310,7 @@ usage. File: eplain.info, Node: Hyperlinks in see and see also entries, Prev: Index page list and page range parsers, Up: Index hyperlinks -5.3.7.5 Hyperlinks in see and see also entries +5.3.8.5 Hyperlinks in see and see also entries .............................................. There is no automatic support for hyperlinks with "see" and "see also" @@ -2890,7 +3328,7 @@ entries. But if desired, this can be implemented with `\hldest' and File: eplain.info, Node: Footnote hyperlinks, Next: Contents hyperlinks, Prev: Index hyperlinks, Up: Implicit hyperlinks -5.3.8 Footnote hyperlinks: foot, footback +5.3.9 Footnote hyperlinks: foot, footback ------------------------------------------ The `foot' link and destination groups include the `\numberedfootnote' @@ -2904,11 +3342,20 @@ The default formats for the labels are `FOOTNUMBER' and `FOOTBNUMBER', respectively, where NUMBER is the value of the count register `\hlfootlabelnumber'. This register is incremented at every footnote. + Generally, footnote hyperlinks are not of much use, because the +footnotes are usually placed on the same page as the footnote mark. +Therefore, footnote hyperlinks are disabled by default. Here is how you +can turn them on selectively, without affecting the other kinds of +hyperlinks (*note Turning hyperlinks on/off for a group::): + + \hldeston[foot,footback] + \hlon[foot,footback] + File: eplain.info, Node: Contents hyperlinks, Prev: Footnote hyperlinks, Up: Implicit hyperlinks -5.3.9 Contents hyperlinks -------------------------- +5.3.10 Contents hyperlinks +-------------------------- There is currently no special support for hyperlinks in the table of contents (*note Contents::), but implementing them with the `\hldest' @@ -2931,11 +3378,12 @@ Reference Manual Version 1.3', March 11, 1999. * Menu: * Options supported by all drivers:: +* Hyperlink driver hypertex:: * Hyperlink drivers pdftex and dvipdfm:: * Hyperlink driver nolinks:: -File: eplain.info, Node: Options supported by all drivers, Next: Hyperlink drivers pdftex and dvipdfm, Up: Hyperlink drivers +File: eplain.info, Node: Options supported by all drivers, Next: Hyperlink driver hypertex, Up: Hyperlink drivers 5.4.1 Options supported by all drivers -------------------------------------- @@ -2991,15 +3439,212 @@ Link options supported by all drivers with an empty COLORMODEL (see examples below). Examples: + \hlopts{colormodel=,color=blue}% predefined color \definecolor{mycolor}{rgb}{.3,.8,.95} \hlopts{colormodel=,color=mycolor}% custom color \hlopts{colormodel=gray,color=.4} -File: eplain.info, Node: Hyperlink drivers pdftex and dvipdfm, Next: Hyperlink driver nolinks, Prev: Options supported by all drivers, Up: Hyperlink drivers +File: eplain.info, Node: Hyperlink driver hypertex, Next: Hyperlink drivers pdftex and dvipdfm, Prev: Options supported by all drivers, Up: Hyperlink drivers + +5.4.2 Hyperlink driver `hypertex' +--------------------------------- + +HyperTeX is a standard for inclusion of hyperlink information in TeX +(and LaTeX) documents (see `http://arxiv.org/hypertex'). This standard +defines a set of hyperlink tags implemented as `\special' commands +written into the DVI file. The major advantage of such standard is +that a single `.dvi' file containing HyperTeX commands can be viewed by +any HyperTeX-enabled viewer (e.g., any more or less modern version of `xdvi') +or converted to other file formats (e.g., PDF) by any HyperTeX-enabled +DVI converter (e.g., `dvipdfmx' or `dvips' with Ghostscript's `ps2pdf' +script). + + The downside to the standard is that it is by design "the common +factor" of other formats supporting hyperlinks, so many features of a +particular file format cannot be supported by HyperTeX. Therefore, if +you need to use special features of a particular format, HyperTeX is +not a good choice. For the PDF file format, Eplain provides the +`pdftex' and `dvipdfm' drivers which provide fine control over the PDF +options (*note Hyperlink drivers pdftex and dvipdfm::). + + For more information on programs which support the HyperTeX standard, +please see + + `http://arxiv.org/hypertex' + `http://www.tug.org/tex-archive/support/hypertex/hypertex' + +For convenience, we list a few HyperTeX-enabled converters: + +`dvips' + Note that you need to pass the `-z' option to `dvips' to tell it + to preserve the information about the hyperlinks. To generate a + `.pdf' file with hyperlinks, you can use the `ps2pdf' script of Ghostscript. + For example, if `foo.tex' is a TeX file using HyperTeX commands, + then + + prompt$ tex foo.tex + prompt$ dvips -z foo.dvi -o + prompt$ ps2pdf foo.ps + + will produce `foo.pdf' with hyperlinks. + +`dvipdfm' +`dvipdfmx' + No special command line arguments are required, these programs + automatically detect the HyperTeX commands. + + + 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 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 0.13.2c and +dvipdfmx as of version 20040411 do not correctly parse links to +external local files, and produce a URL link instead of a file link. + +* Menu: + +* Destination types for hypertex:: +* Destination options for hypertex:: +* Link types for hypertex:: +* Link options for hypertex:: + + +File: eplain.info, Node: Destination types for hypertex, Next: Destination options for hypertex, Up: Hyperlink driver hypertex + +5.4.2.1 Destination types for `hypertex' +........................................ + +`xyz' + "Current position". This is the default type. + + Example: `\hldest{xyz}{}{dest123}' + +`raw' + The destination specification (in the form of a HyperTeX + `\special') is taken from the command sequence `\CS', where CS is + the value of the `cmd' option. In the definition of `\CS', use `\@hllabel' + to refer to the hyperlink label. This option is intended to be + used with destgroups (*note Setting hyperlink types and + options::), as it does not make sense in a direct call to `\hldest'--you + can just call the raw command. + + Example: + + \makeatletter + \def\mydest{\special{html:<a name="\@hllabel">}% + \special{html:</a>}} + \resetatcatcode + \indent\hldest{raw}{cmd=mydest}{SpecialDest} + Special destination. + + + +File: eplain.info, Node: Destination options for hypertex, Next: Link types for hypertex, Prev: Destination types for hypertex, Up: Hyperlink driver hypertex + +5.4.2.2 Destination options for `hypertex' +.......................................... + +`cmd' + Name of the macro (without the leading `\') containing a HyperTeX + `\special' for the `raw' destination. + + *Note Destination types for hypertex::, the description of the + `raw' destination, for an example. + + +File: eplain.info, Node: Link types for hypertex, Next: Link options for hypertex, Prev: Destination options for hypertex, Up: Hyperlink driver hypertex + +5.4.2.3 Link types for `hypertex' +................................. + +`name' + Go to a "named destination". The label is the destination name. + All destinations in HyperTeX are named destinations. This is the + default type. + + Example: `\hlstart{name}{}{dest123}Link to dest123\hlend' + +`url' + Go to a URL. The label is the URL. + + Example: + + `\hlstart{url}{}{http://tug.org/eplain/}Eplain home\hlend' + +`filename' + Go to a named destination in another file. The label is the + destination name. The file name is specified by the `file' + option. The file name extension can be specified separately by the `ext' + option. The idea is to set the `ext' 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 DVI, PDF, + possibly other formats. + + Example: + + \hlopts{ext=.pdf} + \hlstart{filename}{file=book}{dest123} + Link to dest123 in file `book.pdf'\hlend + +`raw' + The link specification (in the form of a HyperTeX `\special') is + taken from the command sequence `\CS', where CS is the value of the `cmd' + option. In the definition of `\CS', use `\@hllabel' to refer to + the hyperlink label. Use the predefined command `\hlhash' to + insert the `#' characters. This option is intended to be used + with linkgroups (*note Setting hyperlink types and options::), as + it does not make sense in a direct call to `\hlstart'--you can + just call the raw command. + + Example: + + \makeatletter + \def\mylink{\special{html:<a href="\hlhash\@hllabel">}} + \resetatcatcode + \hlstart{raw}{cmd=mylink}{SpecialDest} + Link to the special destination.\hlend + + + +File: eplain.info, Node: Link options for hypertex, Prev: Link types for hypertex, Up: Hyperlink driver hypertex + +5.4.2.4 Link options for `hypertex' +................................... + +`cmd' + Name of the macro (without the leading `\') containing a HyperTeX + `\special' for the `raw' link. + + *Note Link types for hypertex::, the description of the `raw' link, + for an example. + +`file' + File name for the `filename' link type. See also the `ext' option. + + *Note Link types for hypertex::, the description of the `filename' + link, for an example. + +`ext' + File name extension for the `filename' link type. The idea is to + set the `ext' 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 DVI, PDF, possibly other formats. + + *Note Link types for hypertex::, the description of the `filename' + link, for an example. + + +File: eplain.info, Node: Hyperlink drivers pdftex and dvipdfm, Next: Hyperlink driver nolinks, Prev: Hyperlink driver hypertex, Up: Hyperlink drivers -5.4.2 Hyperlink drivers `pdftex' and `dvipdfm' +5.4.3 Hyperlink drivers `pdftex' and `dvipdfm' ---------------------------------------------- This subsection describes link and destination types and options @@ -3017,7 +3662,7 @@ together. File: eplain.info, Node: Destination types for pdftex and dvipdfm, Next: Destination options for pdftex and dvipdfm, Up: Hyperlink drivers pdftex and dvipdfm -5.4.2.1 Destination types for `pdftex' and `dvipdfm' +5.4.3.1 Destination types for `pdftex' and `dvipdfm' .................................................... `xyz' @@ -3086,11 +3731,13 @@ File: eplain.info, Node: Destination types for pdftex and dvipdfm, Next: Desti Example for `pdftex': - \hldest{fitr}{width=\hsize,height=.5\vsize,depth=0pt}{dest123} + \hldest{fitr}{width=\hsize, + height=.5\vsize,depth=0pt}{dest123} Example for `dvipdfm': - \hldest{fitr}{left=72,bottom=72,right=720,top=360}{dest123} + \hldest{fitr}{left=72,bottom=72, + right=720,top=360}{dest123} `raw' The destination specification (in the form of a pdfTeX command or a @@ -3098,31 +3745,30 @@ File: eplain.info, Node: Destination types for pdftex and dvipdfm, Next: Desti where CS is the value of the `cmd' option. In the definition of `\CS', use `\@hllabel' to refer to the hyperlink label. This option is intended to be used with destgroups (*note Setting - hyperlink types and options::), as it does not make sense to use - it in a direct call to `\hldest'--you can just call the raw - command. + hyperlink types and options::), as it does not make sense in a + direct call to `\hldest'--you can just call the raw command. Example for `pdftex': \makeatletter \def\mydest{\pdfdest name{\@hllabel} xyz} + \resetatcatcode \hldesttype{raw} \hldestopts{cmd=mydest} - \resetatcatcode Example for `dvipdfm': \makeatletter \def\mydest{\special{pdf: dest (\@hllabel) [@thispage /XYZ @xpos @ypos 0]}} + \resetatcatcode \hldesttype{raw} \hldestopts{cmd=mydest} - \resetatcatcode File: eplain.info, Node: Destination options for pdftex and dvipdfm, Next: Link types for pdftex and dvipdfm, Prev: Destination types for pdftex and dvipdfm, Up: Hyperlink drivers pdftex and dvipdfm -5.4.2.2 Destination options for `pdftex' and `dvipdfm' +5.4.3.2 Destination options for `pdftex' and `dvipdfm' ...................................................... With respect to the destination options, the `pdftex' and `dvipdfm' @@ -3136,8 +3782,8 @@ Common destination options Name of the macro (without the leading `\') containing a pdfTeX command or a dvipdfm `\special' for the `raw' destination. - For an example of usage, *note Destination types for pdftex and - dvipdfm::, description of the `raw' destination. + *Note Destination types for pdftex and dvipdfm::, the description + of the `raw' destination, for an example. `zoom' Magnification ratio times 1000 (like TeX's scale factor). Zero or @@ -3163,7 +3809,8 @@ parent box is used (this is the default for all dimension options). Example: - \hldest{fitr}{width=\hsize,height=.5\vsize,depth=0pt}{dest123} + \hldest{fitr}{width=\hsize, + height=.5\vsize,depth=0pt}{dest123} `dvipdfm'-specific destination options ...................................... @@ -3191,12 +3838,13 @@ for all dimension options). Example: - \hldest{fitr}{left=72,bottom=72,right=720,top=360}{dest123} + \hldest{fitr}{left=72,bottom=72, + right=720,top=360}{dest123} File: eplain.info, Node: Link types for pdftex and dvipdfm, Next: Link options for pdftex and dvipdfm, Prev: Destination options for pdftex and dvipdfm, Up: Hyperlink drivers pdftex and dvipdfm -5.4.2.3 Link types for `pdftex' and `dvipdfm' +5.4.3.3 Link types for `pdftex' and `dvipdfm' ............................................. Link types are the same for the `pdftex' and `dvipdfm' drivers, except @@ -3212,18 +3860,25 @@ Common link types `name' Go to a "named destination". The label is the destination name. - All destinations created with `\hldest' are named destinations. - This is the default type. + All destinations created with `\hldest' are named destinations + (*note Explicit hyperlinks::). This is the default type. Example: `\hlstart{name}{}{dest123}Link to dest123\hlend' +`url' + Go to a URL. The label is the URL. + + Example: `\hlstart{url}{}{http://tug.org/eplain/}Eplain + home\hlend' + `page' Go to a page. The label is the page number (counting from 1). Page fitting is specified by the `pagefit' option. Example: - \hlstart{page}{pagefit=/FitH 600}{123}Link to page~123\hlend + \hlstart{page}{pagefit=/FitH 600}{123} + Link to page~123\hlend `filename' Go to a named destination in another file. The label is the @@ -3233,6 +3888,7 @@ Common link types same window or in a new window. Example: + \hlstart{filename}{file=book.pdf,newwin=1}{dest123} Link to dest123 in file `book.pdf'\hlend @@ -3244,23 +3900,19 @@ Common link types same window or in a new window. Example: - \hlstart{filepage}{file=book.pdf,newwin=,% + + \hlstart{filepage}{file=book.pdf,newwin=, pagefit=/FitR 50 100 300 500}{1} Link to page~1 in file `book.pdf'\hlend -`url' - Go to a URL. The label is the URL. - - Example: `\hlstart{url}{}{http://tug.org/eplain/}Eplain - home\hlend' - `raw' The link specification (in the form of a pdfTeX command or a dvipdfm `\special' primitive) is taken from the command sequence - `\CS', where CS is the value of the `cmd' option. This option is - intended to be used with linkgroups (*note Setting hyperlink types - and options::), as it does not make sense to use it in a direct - call to `\hlstart'--you can just call the raw command. + `\CS', where CS is the value of the `cmd' option. In the + definition of `\CS', use `\@hllabel' to refer to the hyperlink + label. This option is intended to be used with linkgroups (*note + Setting hyperlink types and options::), as it does not make sense + in a direct call to `\hlstart'--you can just call the raw command. Example for `pdftex': @@ -3289,7 +3941,7 @@ Common link types File: eplain.info, Node: Link options for pdftex and dvipdfm, Prev: Link types for pdftex and dvipdfm, Up: Hyperlink drivers pdftex and dvipdfm -5.4.2.4 Link options for `pdftex' and `dvipdfm' +5.4.3.4 Link options for `pdftex' and `dvipdfm' ............................................... Link options are mostly the same for the `pdftex' and `dvipdfm' @@ -3345,14 +3997,14 @@ Common link options Name of the macro (without the leading `\') containing a pdfTeX command or a dvipdfm `\special' for the `raw' link. - For an example of usage, *note Link types for pdftex and dvipdfm::, - description of the `raw' link. + *Note Link types for pdftex and dvipdfm::, the description of the + `raw' link, for an example. `file' File name for the `filename' and `filepage' link types. - For an example of usage, *note Link types for pdftex and dvipdfm::, - description of the `filename' and `filepage' links. + *Note Link types for pdftex and dvipdfm::, the descriptions of the + `filename' and `filepage' links, for an example. `hlight' Link border highlight modes: @@ -3391,16 +4043,16 @@ Common link options The default is empty. - For an example of usage, *note Link types for pdftex and dvipdfm::, - description of the `filename' and `filepage' links. + *Note Link types for pdftex and dvipdfm::, the descriptions of the + `filename' and `filepage' links, for an example. `pagefit' For the `page' and `filepage links', specifies how the page must be fitted to the window. `pagefit' specification is written to the PDF file as is, so it must conform to the PDF standard. - For an example of usage, *note Link types for pdftex and dvipdfm::, - description of the `page' and `filepage' links. + *Note Link types for pdftex and dvipdfm::, the descriptions of the + `page' and `filepage' links, for an example. `pdftex'-specific link options .............................. @@ -3426,7 +4078,7 @@ parent box is used (this is the default for all dimension options). File: eplain.info, Node: Hyperlink driver nolinks, Prev: Hyperlink drivers pdftex and dvipdfm, Up: Hyperlink drivers -5.4.3 Hyperlink driver `nolinks' +5.4.4 Hyperlink driver `nolinks' -------------------------------- Select this driver to suppress all hyperlinks in your document. @@ -3467,6 +4119,16 @@ typesetting to be inconsistent with that with destinations enabled. Here again, the `nolinks' driver helps by defining `\hldest' to produce the empty boxes. + So, if you are planning to produce versions of your PDF document +both with and without hyperlinks, here is the recommended way to enable +the hyperlinks under pdfTeX: + + \ifpdf + \enablehyperlinks + \else + \enablehyperlinks[nolinks]% + \fi + File: eplain.info, Node: Setting hyperlink types and options, Next: Turning hyperlinks on/off, Prev: Hyperlink drivers, Up: Hyperlinks @@ -3519,6 +4181,19 @@ where OPTIONS is a comma-separated list of option assignments in the format `OPTION=VALUE'. Again, what options are allowed depends on the selected hyperlink driver. + 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 `color' package +(*note Loading LaTeX packages::) or use other means to define the +`\color' 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 produce the link boxes +anymore; to avoid the boxes, you can set the default border width to +zero (if the driver you use supports the link option `bwidth'; *note +Hyperlink drivers::): + + \hlopts{bwidth=0} + File: eplain.info, Node: Setting group types, Next: Setting group options, Prev: Setting default types and options, Up: Setting hyperlink types and options @@ -4098,7 +4773,7 @@ locally. -File: eplain.info, Node: Programming definitions, Next: Macro index, Prev: Arrow theoretic diagrams, Up: Top +File: eplain.info, Node: Programming definitions, Next: Demo files, Prev: Arrow theoretic diagrams, Up: Top 7 Programming definitions ************************* @@ -4110,7 +4785,7 @@ are writing nontrivial macros, not when writing a document. * Category codes:: Changing category codes. * Allocation macros:: Non-outer versions of \newcount et al. -* Iteration:: Doing `for' loops in TeX. +* Iteration:: Doing `for' and `while' loops in TeX. * Macro arguments:: Reading and ignoring them. * Converting to characters:: Normalizing control sequences and spaces. * Expansion:: Controlling expansion. @@ -4138,7 +4813,7 @@ a `\catcode' command. The `\makeactive' command takes a character as an argument to make active (and ignores following spaces). For example, here are two commands which both make `\' active: - \makeactive`\\ \makeactive92 + \makeactive\\ \makeactive92 Sometimes you might want to temporarily change the category code of the `@' character to `\letter', so that you can use or define macros @@ -4240,15 +4915,57 @@ is an example: \message{\name}% }% - This writes `karl' and `kathy' to the terminal. Spaces before or -after the commas in the list, or after the `:=', are _not_ ignored. +This writes `karl' and `kathy' to the terminal. Spaces before or after +the commas in the list, or after the `:=', are _not_ ignored. To strip +leading spaces off the items, use `\For': + + \For\name:= + karl, + kathy\do{% + \message{\name}% + }% + +Note that trailing spaces are still _not_ ignored. - `\for' expands the iterated values fully (with `\edef'), so this is -equivalent to the above: + Both `\for' and `\For' expand the first token of the item list +fully, so this is equivalent to the above: \def\namelist{karl,kathy}% \for\name:=\namelist\do ... +However, this won't work, either with `\for' or with `\For': + + \def\namelist{karl,kathy}% + \For\name:= \namelist\do ... + +because `\for' and `\For' expand the first token after `:=' which is +space, not `\namelist'. + + Eplain provides another kind of loops, which is an extension of plain +TeX's `\loop'. If you say: + + \loop + LOOP-TEXT + \if CONDITION + IF-TEXT + \repeat + +then LOOP-TEXT will be repeated as long as CONDITION is satisfied +(`\if' can be any of the TeX's conditional commands, without the +matching `\fi'). Eplain extends this with the optional else clause: + + \loop + LOOP-TEXT + \if CONDITION + IF-TEXT + \else + ELSE-TEXT + \repeat + +Here, LOOP-TEXT will be repeated as long as CONDITION is _not_ +satisfied. This extension is from Victor Eijkhout's TeX by Topic +(page 104). + File: eplain.info, Node: Macro arguments, Next: Converting to characters, Prev: Iteration, Up: Programming definitions @@ -4268,7 +4985,8 @@ that produce section or subsection entries. To be specific: \let\tocsectionentry = \gobbletwo \let\tocsubsectionentry = \gobbletwo \readtocfile - (Of course, this assumes you only have chapters, sections, and + +(Of course, this assumes you only have chapters, sections, and subsections in your document.) In addition, Eplain defines `\eattoken' to swallow the single @@ -4322,6 +5040,7 @@ conflicts between control sequence names.) Because `\xrlabel' is fully expandable, to make a control sequence name out of the result you need only do + `\csname \xrlabel{LABEL}\endcsname' The `\csname' primitive makes a control sequence name out of any @@ -4360,6 +5079,8 @@ This section describes some miscellanous macros for expansion, etc. * Properties:: Associating information with a csname. * \expandonce:: * \ifundefined:: +* \ifempty:: +* \ifinteger and \isinteger:: * \futurenonspacelet:: @@ -4507,7 +5228,7 @@ This is most useful in an `\edef'. \edef\temp{\expandonce\bar} -File: eplain.info, Node: \ifundefined, Next: \futurenonspacelet, Prev: \expandonce, Up: Expansion +File: eplain.info, Node: \ifundefined, Next: \ifempty, Prev: \expandonce, Up: Expansion 7.6.6 `\ifundefined' -------------------- @@ -4523,9 +5244,61 @@ within another conditional--TeX can't match up the `\if''s and `\fi''s. This macro was taken directly from `The TeXbook', page 308. -File: eplain.info, Node: \futurenonspacelet, Prev: \ifundefined, Up: Expansion +File: eplain.info, Node: \ifempty, Next: \ifinteger and \isinteger, Prev: \ifundefined, Up: Expansion + +7.6.7 `\ifempty' +---------------- + +`\ifempty{ARG} T \else F \fi' expands the T text if ARG is the empty +string, and the F text otherwise. This macro is useful when you need +to test for empty arguments to your macros, for example: -7.6.7 `\futurenonspacelet' + \def\foo#1{\ifempty{#1} T \else F \fi} + + Since `\ifempty' 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 `\if''s and `\fi''s. + + Note that the following code + + \def\empty{} + \ifempty\empty\message{empty}\else\message{not empty}\fi + +will produce the message `not empty'. + + +File: eplain.info, Node: \ifinteger and \isinteger, Next: \futurenonspacelet, Prev: \ifempty, Up: Expansion + +7.6.8 `\ifinteger' and `\isinteger' +----------------------------------- + +`\ifinteger{ARG} T \else F \fi' expands the T text if ARG is an +integer, and the F text otherwise. This macro can detect positive and +negative integers. + + Since `\ifinteger' 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 `\if''s and `\fi''s. For +such situations Eplain provides `\isinteger', which can be used as +follows: + + \if\isinteger{ARG} T \else F \fi + + Although `\ifinteger' and `\isinteger' work well with regular input, +they are not bullet-proof. For example, the following code + + \ifinteger{12_ab}integer\else not integer\fi + +will expand to `ab_integer' (and thus would not even compile outside +math mode). + + These macros come from TeX Frequently Asked Question +(`http://www.tex.ac.uk/cgi-bin/texfaq2html'). + + +File: eplain.info, Node: \futurenonspacelet, Prev: \ifinteger and \isinteger, Up: Expansion + +7.6.9 `\futurenonspacelet' -------------------------- The `\futurelet' primitive allows you to look at the next token from @@ -4637,7 +5410,9 @@ that if you forget an `\environment' or an `\endenvironment', you will \par \endenvironment{@italicpar}% } - which could then be used to set italicized paragraphs: + +which could then be used to set italicized paragraphs: + \itpar If I reprehend anything in this world, it is the use of my oracular tongue, and a nice derangement of epitaphs! @@ -4699,7 +5474,275 @@ macro which also takes care of the lists, you can extend `\ituline' with an additional call to `\idxparselist'. -File: eplain.info, Node: Macro index, Next: Concept index, Prev: Programming definitions, Up: Top +File: eplain.info, Node: Demo files, Next: Macro index, Prev: Programming definitions, Up: Top + +8 Demo files +************ + +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 `demo' subdirectory of Eplain +distribution. These demos, both the sources and the compiled PDF and +PS files, are also available from `http://tug.org/eplain/demo'. + +* Menu: + +* Hyperlinks (xhyper.tex):: +* Highlighting TeX comments in listings (lscommnt.tex):: + + +File: eplain.info, Node: Hyperlinks (xhyper.tex), Next: Highlighting TeX comments in listings (lscommnt.tex), Up: Demo files + +8.1 Hyperlinks (`xhyper.tex') +============================= + +% (This file is public domain.) +% +% This file demonstrates the following features of Eplain: +% +% - explicit and implicit hyperlinks; +% - symbolic cross-references; +% - inserting external graphics using |\includegraphics| from +% the \LaTeX\ package |graphicx.sty|. +% - rotating text using |\rotatebox| from |graphicx.sty|. +% +% The compiled demo can be downloaded from +% +% http://tug.org/eplain/demo +% +% In order to compile this file yourself, you will need the CTAN lion +% drawing by Duane Bibby from +% +% ftp://tug.ctan.org/ftpmaint/CTAN_lion/ctan_lion_350x350.png +% +% (thanks, |www.ctan.org|). Place the image file in the same +% directory with this file, and change to that directory. Now, to +% produce a PDF, run twice the command +% +% pdftex xhyper.tex +% +% During the first run, Eplain will write the information about the +% cross-references into |xhyper.aux|, and during the second run this +% information will be read by Eplain to typeset the references. +% +% Demo case: +% +% Suppose you are using pdf\TeX, have a figure you want to insert +% scaled to $200\,pt$ horizontally, and you want this figure to +% completely fill the PDF viewer's window whenever the reader +% selects a link pointing to this figure. Additionally, you want to +% typeset some text as live hyperlinks, clicking on which will start +% a Web browser and open a URL. + +\input eplain + +% Load \LaTeX\ packages. +\beginpackages + % |url.sty| provides the |\url| command which we will use to typeset + % a URL. We request that |url.sty| be the version from June~27, + % 2005, or later, because earlier versions had problems interacting + % with plain \TeX. + \usepackage{url}[2005/06/27] + % |color.sty| provides support for colored text; all hyperlinks are + % automatically colored by Eplain when this package is loaded. We give + % the |dvipsnames| option because we want to use named colors from the + % |dvips| graphics driver. + \usepackage[dvipsnames]{color} + % Finally, we load |graphicx.sty|, for the macros |\includegraphics| + % and |\rotatebox|. + \usepackage{graphicx} +\endpackages + +% Remember that hyperlinks are off by default. Therefore, we need to +% enable them. +\enablehyperlinks + +% Customize some hyperlink options. First, we set border width to~$0$ +% for all links to get rid of the default boxes around links (we +% prefer colored links over the boxed links). Next, we say that all +% links created by the |url| hyperlink group (which means the |\url| +% command from |url.sty|) must be colored using the named color +% |BlueViolet|. +\hlopts{bwidth=0} +\hlopts[url]{colormodel=named,color=BlueViolet} + +% Inhibit page numbering (we have only one page). +\nopagenumbers + +% Define a class word for the cross-reference class |figure|. This +% word, when defined, will be automatically prepended by Eplain to the +% reference created by |\ref| (read on to see its use). +\def\figureword{fig.} + +% Allocate a count register for the figure's number, and a box +% register which we'll use to measure dimensions of the image. +\newcount\fignumber +\newbox\imgbox + +% Now comes the fun part--constructing the figure for the image of the +% \CTAN\ lion. We define a macro +% +% \fig{LABEL}{FILENAME}{CAPTION}{WIDTH} +% +% which creates a figure using LABEL for the cross-reference and +% hyperlink label, reading the image from file FILENAME, using CAPTION +% to name the figure, and WIDTH to scale the image horizontally. +\def\fig#1#2#3#4{% + % Leave some space above the figure. This will also ensure that we + % are in the vertical mode before we produce a |\vbox|. + \medskip + % Advance the figure number. |\global| ensures that the change to + % the count register is global, even when |\fig| is buried inside a + % group. + \global\advance\fignumber by 1 + % We use |\includegraphics| (from |graphicx.sty|) to load the image, + % scaled to the specified width, into our ``measuring'' box + % |\imgbox|. + \setbox\imgbox = \hbox{\includegraphics[width=#4]{#2}}% + % To make the demo even more exciting, let's put the figure's + % caption to the left of the image into the |\indent| space of the + % new paragraph, and rotate the caption~$90^\circ$. + \textindent{% + \rotatebox{90}{F{\sc IGURE}~\the\fignumber. #3}% + }% + % Continue the paragraph by constructing a |\vbox| with the image of + % the lion. We use |\definexref| to define the cross-reference + % label. + \vbox{% + % In addition to the cross-reference label, |\definexref| will + % create a hyperlink destination with the same label. Therefore, + % we customize this destination to do what we need. We say that + % destination type for the hyperlink group |definexref| (to which + % |\definexref| belongs) should be |fitr|. This destination type + % will magnify the rectangle specified by the options |width|, + % |height| and |depth| to the PDF viewer's window. Therefore, we + % set those options accordingly with |\hldestopts| (notice the use + % of |depth| instead of |height|---we will want the rectangle to + % extend {\it downward}, to cover the image which will come + % next). Notice that these settings will be isolated within the + % current group (i.e., the |\vbox| we're constructing). + \hldesttype[definexref]{fitr}% + \hldestopts[definexref]{width=\wd\imgbox,height=0pt,depth=\ht\imgbox}% + % We define a symbolic label so that we can later refer + % to the figure with |\ref|. The command |\definexref| does + % exactly that. The last argument to |\definexref| specifies + % class of the label, which determines the word used by |\ref| in + % front of the reference text (remember that we've defined + % |\figureword| above). + \definexref{#1}{\the\fignumber}{figure}% + % Finally, produce the image which we've been stashing in the box + % register |\imgbox|. + \box\imgbox + }% + \medskip +} + +% Create the figure. +\fig{CTANlion}{ctan_lion_350x350}{Lion in the archives}{200pt} + +% Finished with the fun part, we can relax and typeset some +% hyperlinks. The easiest way to do that is to use the |\ref| +% cross-reference command. We can even pass an optional argument +% (|the lion in|), which will be placed before the class word (|fig.|) +% and become part of the link (to make sure the reader does not have +% to aim too hard). +Show me \ref[the lion in]{CTANlion}. + +% If you are the restless kind, here's another way to create a +% hyperlink to the image: we create a link explicitly by using +% |\hlstart ... \hlend|. We don't specify the link type, therefore +% the default type |name| will be used (these are ``named links'', +% i.e., links pointing to destinations identified by labels). In the +% options argument, we specify that the border of the link should be +% inverted when the user clicks the link (|hlight=O|), and also set +% special color for this link, overriding the default dark-red. The +% label for the destination is the same as the cross-reference label, +% |CTANlion|. +Show me +\hlstart{}{hlight=O,colormodel=named,color=OliveGreen}{CTANlion} + the CTAN lion\hlend. + +% Let's now point somewhere outside our document. Eplain homepage is +% a good target. In the similar spirit, let's consider two +% approaches. The easy one is to use the |\url| command from +% |url.sty|. Remember that we have customized the color of |url| +% hyperlinks, so this one will show up with a different color than the +% default dark-red. +Take me to \url{http://tug.org/eplain}. + +% The second approach is to create an explicit URL link. We specify +% yet another border highlighting mode, |P|, which means that the +% region underneath the bounding box of the link will be drawn inset +% into the page. Also, let's set the color of the hyperlink to an RGB +% color |0.4,0.1,0.4|. Since we cannot use commas to separate the +% color elements inside the options parameter to |\hlstart| (commas +% there separate options), we have to first create a user-defined +% color with |\definecolor| from |color.sty|, and use that in +% |\hlstart|. +\definecolor{mycolor}{rgb}{0.4,0.1,0.4} + +Take me to +\hlstart{url}{hlight=P,colormodel=,color=mycolor}{http://tug.org/eplain} + Eplain homepage\hlend. + +\bye + + +File: eplain.info, Node: Highlighting TeX comments in listings (lscommnt.tex), Prev: Hyperlinks (xhyper.tex), Up: Demo files + +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. + +% Load Eplain and LaTeX's color.sty package. +\input eplain +\beginpackages \usepackage{color} \endpackages +\nopagenumbers % Disable page numbers. +\font\commentfont = cmitt10 % Font for the comments (italic \tt). +% We'll define some `protected' macros with `@' in their names. +\makeatletter +% Define an equivalent of Eplain's \letreturn, to be able to assign +% various actions to the (active) percent character. +\begingroup \makeactive\% + \gdef\letpercent{\let%} +\endgroup +% The listing hook to be called in \setuplistinghook, see below. It +% makes `%' active and assigns it a `start comment' action. +\def\hlightcommentslisting{\makeactive\% \letpercent\start@comment}% +% This is what `%' is aliased to before a comment is started. +\def\start@comment{% + \leavevmode % Needed in the very first line of the input to process + % the new par (possibly inserting line number) before we + % kick in with the color and stuff. + \begingroup % Isolate color and font changes and the redefinitions. + \commentfont + \color[cmyk]{0.28,1,1,0.35}% + \percentchar % Produce the actual `%' and + \letpercent\percentchar % make all following `%'s do the same. + \letreturn\end@comment % Call \end@comment at end-of-line. +} +% \end@comment (alias for ^^M inside a comment) will end the comment +% started by \start@comment. We make ^^M active temporarily so that +% the active version of ^^M gets "frozen" into \end@comment. +\begingroup \makeactive\^^M % Avoid ^^M's from here on. + \gdef\end@comment{\endgroup ^^M}% +\endgroup +\resetatcatcode % Make `@' again inaccessible for use in macro names. + +% Define \setuplistinghook to setup comments highlighting, line +% numbering and omitting the last (empty) line of input. +\def\setuplistinghook{\hlightcommentslisting \linenumberedlisting + \nolastlinelisting} +% Isn't this fun? This file typesets itself, with the extra bonus of +% the pretty-printed comments and numbered source lines! +\listing{lscommnt} +\bye + + +File: eplain.info, Node: Macro index, Next: Concept index, Prev: Demo files, Up: Top Macro index *********** @@ -4707,36 +5750,18 @@ Macro index * Menu: -* .aux file <1>: Cross-references. (line 11) -* .aux file: Citations. (line 17) -* .bbl file: Citations. (line 20) -* .bib file: Citations. (line 20) -* .bst files: Citations. (line 65) -* .cls files: Loading LaTeX packages. - (line 6) -* .eps files: Packages known to work. - (line 32) -* .fmt file <1>: Invoking Eplain. (line 14) -* .fmt file: Installation. (line 12) -* .idx files <1>: Index hyperlinks. (line 14) -* .idx files: Indexing. (line 23) -* .ind files <1>: Index hyperlinks. (line 25) -* .ind files: Indexing. (line 27) -* .pdf files <1>: Introduction to hyperlinks. - (line 12) -* .pdf files: Checking for PDF output. - (line 6) -* .ps files: Introduction to hyperlinks. - (line 12) -* .sty files: Loading LaTeX packages. - (line 6) -* .toc file: Contents. (line 10) -* @hllabel: Destination types for pdftex and dvipdfm. - (line 82) +* @hllabel <1>: Link types for pdftex and dvipdfm. + (line 68) +* @hllabel <2>: Destination types for pdftex and dvipdfm. + (line 84) +* @hllabel <3>: Link types for hypertex. + (line 39) +* @hllabel: Destination types for hypertex. + (line 14) * @indexproof insertion class: Proofing index terms. (line 28) -* abovecolumnskip: Multiple columns. (line 31) -* abovecolumnspenalty: Tables. (line 31) +* abovecolumnskip: Multiple columns. (line 33) +* abovecolumnspenalty: Tables. (line 32) * abovelistpenalty: Formatting lists. (line 29) * abovelistskip: Formatting lists. (line 29) * abovelistskipamount: Formatting lists. (line 10) @@ -4758,12 +5783,9 @@ Macro index (line 6) * afterindexterm hook: Indexing commands. (line 63) * AMSLaTeX: Logos. (line 10) -* amsppt.sty: Invoking Eplain. (line 90) * AMSTeX: Logos. (line 10) * arrow: Arrows and morphisms. (line 20) -* autopict.sty: Packages known to work. - (line 12) * bblem: Formatting bibliographies. (line 33) * bblfilebasename: Citations. (line 30) @@ -4790,8 +5812,8 @@ Macro index (line 14) * begin{theindex}: Typesetting an index. (line 17) -* belowcolumnskip: Multiple columns. (line 32) -* belowfootnoterulespace: Footnotes. (line 45) +* belowcolumnskip: Multiple columns. (line 34) +* belowfootnoterulespace: Footnotes. (line 46) * belowlistskip: Formatting lists. (line 30) * belowlistskipamount: Formatting lists. (line 10) * biarrow: Arrows and morphisms. @@ -4808,7 +5830,6 @@ Macro index * bibliography (hyperlinks): Citation hyperlinks. (line 11) * bibliographystyle: Citations. (line 63) * BibTeX: Logos. (line 10) -* bibtex: Invoking Eplain. (line 101) * bihline: Arrows and morphisms. (line 68) * bimapdown: Arrows and morphisms. @@ -4827,7 +5848,7 @@ Macro index * blanklineskipamount in justified text: Justification. (line 24) * blanklineskipamount in obeyed text: Obeying spaces. (line 16) * bottom (destination option) <1>: Destination options for pdftex and dvipdfm. - (line 55) + (line 56) * bottom (destination option): Destination types for pdftex and dvipdfm. (line 65) * bottommargin: Margins. (line 18) @@ -4848,20 +5869,22 @@ Macro index * cite (hyperlinks): Citation hyperlinks. (line 6) * cmd (destination option) <1>: Destination options for pdftex and dvipdfm. (line 14) -* cmd (destination option): Destination types for pdftex and dvipdfm. - (line 81) +* cmd (destination option) <2>: Destination types for pdftex and dvipdfm. + (line 83) +* cmd (destination option) <3>: Destination options for hypertex. + (line 7) +* cmd (destination option): Destination types for hypertex. + (line 14) * cmd (hyperlink option) <1>: Link options for pdftex and dvipdfm. (line 56) -* cmd (hyperlink option): Link types for pdftex and dvipdfm. - (line 64) -* cmtt8: Proofing index terms. - (line 12) +* cmd (hyperlink option) <2>: Link types for pdftex and dvipdfm. + (line 67) +* cmd (hyperlink option) <3>: Link options for hypertex. + (line 7) +* cmd (hyperlink option): Link types for hypertex. + (line 38) * color (hyperlink option): Options supported by all drivers. (line 37) -* color.sty <1>: Hyperlink driver nolinks. - (line 34) -* color.sty: Packages known to work. - (line 21) * colormodel (hyperlink option): Options supported by all drivers. (line 37) * columnfill: Multiple columns. (line 14) @@ -4872,8 +5895,13 @@ Macro index * commdiagbaselines: Construction of commutative diagrams. (line 64) * csn: \csn and \ece. (line 6) -* definecontentsfile: Contents. (line 69) +* definecolor: Hyperlinks (xhyper.tex). + (line 6) +* definecontentsfile: Alternative contents files. + (line 6) * defineindex: Indexing. (line 37) +* definexref <1>: Hyperlinks (xhyper.tex). + (line 6) * definexref: Defining generic references. (line 6) * definexref (hyperlinks): Cross-reference hyperlinks. @@ -4884,23 +5912,25 @@ Macro index (line 61) * depth (hyperlink option): Link options for pdftex and dvipdfm. (line 124) -* discretionaries: Paths. (line 19) +* discretionaries: Paths. (line 20) * displaylines: Displays. (line 18) * doublecolumns: Multiple columns. (line 7) * drawline: Slanted lines and vectors. (line 6) * drawvector: Slanted lines and vectors. (line 6) -* dvipdfm: Introduction to hyperlinks. - (line 34) -* eattoken: Macro arguments. (line 22) +* dvipdfm (hyperlink driver): Hyperlink drivers pdftex and dvipdfm. + (line 6) +* eattoken: Macro arguments. (line 23) * ece: \csn and \ece. (line 10) * edefappend: \edefappend. (line 6) * ehrule: Rules. (line 17) -* enablehyperlinks <1>: Choosing destination placement. +* enablehyperlinks <1>: Hyperlink driver nolinks. + (line 48) +* enablehyperlinks <2>: Choosing destination placement. (line 7) * enablehyperlinks: Introduction to hyperlinks. - (line 40) + (line 42) * end for index entries: Modifying index entries. (line 22) * endlist: Formatting lists. (line 53) @@ -4914,7 +5944,8 @@ Macro index * end{theindex}: Typesetting an index. (line 17) * eplain: Invoking Eplain. (line 30) -* eplain.aux: Installation. (line 25) +* eplaininput: Environment for loading packages. + (line 28) * eqalignno: Displays. (line 18) * eqconstruct: Formatting equation references. (line 21) @@ -4946,15 +5977,25 @@ Macro index * everyfootnote: Footnotes. (line 35) * evrule: Rules. (line 18) * expandonce: \expandonce. (line 6) +* ext (hyperlink option) <1>: Link options for hypertex. + (line 20) +* ext (hyperlink option): Link types for hypertex. + (line 23) * file (hyperlink option) <1>: Link options for pdftex and dvipdfm. (line 63) -* file (hyperlink option): Link types for pdftex and dvipdfm. - (line 34) +* file (hyperlink option) <2>: Link types for pdftex and dvipdfm. + (line 41) +* file (hyperlink option) <3>: Link options for hypertex. + (line 14) +* file (hyperlink option): Link types for hypertex. + (line 22) * fileexists (conditional): Auxiliary files. (line 10) -* filename (hyperlink type): Link types for pdftex and dvipdfm. - (line 33) +* filename (hyperlink type) <1>: Link types for pdftex and dvipdfm. + (line 40) +* filename (hyperlink type): Link types for hypertex. + (line 21) * filepage (hyperlink type): Link types for pdftex and dvipdfm. - (line 44) + (line 52) * fit (destination type): Destination types for pdftex and dvipdfm. (line 18) * fitb (destination type): Destination types for pdftex and dvipdfm. @@ -4974,8 +6015,9 @@ Macro index * fmtversion: Introduction. (line 47) * footnote (hyperlinks): Footnote hyperlinks. (line 7) * footnotemarkseparation: Footnotes. (line 25) -* footnoteruleheight: Footnotes. (line 43) -* footnoterulewidth: Footnotes. (line 43) +* footnoteruleheight: Footnotes. (line 44) +* footnoterulewidth: Footnotes. (line 44) +* For: Iteration. (line 15) * for: Iteration. (line 6) * frac: Fractions. (line 6) * fullmonthname: Time of day. (line 13) @@ -4985,10 +6027,6 @@ Macro index * gloggingall: Diagnostics. (line 23) * gobble: Macro arguments. (line 7) * gobbletwo: Macro arguments. (line 7) -* graphics.sty: Packages known to work. - (line 22) -* graphicx.sty: Packages known to work. - (line 23) * gridcommdiag: Construction of commutative diagrams. (line 89) * gtracingall: Diagnostics. (line 23) @@ -5015,7 +6053,9 @@ Macro index * hldest <1>: Setting hyperlink types and options. (line 7) * hldest <2>: Destination types for pdftex and dvipdfm. - (line 85) + (line 87) +* hldest <3>: Destination types for hypertex. + (line 17) * hldest: Explicit hyperlinks. (line 6) * hldestoff <1>: Turning low-level commands on/off. (line 6) @@ -5023,17 +6063,25 @@ Macro index (line 10) * hldeston: Turning low-level commands on/off. (line 6) -* hldestopts <1>: Setting group options. +* hldestopts <1>: Hyperlinks (xhyper.tex). + (line 6) +* hldestopts <2>: Setting group options. (line 11) * hldestopts: Setting default types and options. (line 15) -* hldesttype <1>: Setting group types. (line 6) +* hldesttype <1>: Hyperlinks (xhyper.tex). + (line 6) +* hldesttype <2>: Setting group types. (line 6) * hldesttype: Setting default types and options. (line 6) +* hlend <1>: Hyperlinks (xhyper.tex). + (line 6) * hlend: Explicit hyperlinks. (line 25) * hlfootbacklabel: Footnote hyperlinks. (line 12) * hlfootlabel: Footnote hyperlinks. (line 12) * hlfootlabelnumber: Footnote hyperlinks. (line 14) +* hlhash: Link types for hypertex. + (line 40) * hlidx: Exact destinations for index terms. (line 13) * hlidxlabel: Exact destinations for index terms. @@ -5046,6 +6094,8 @@ Macro index (line 11) * hlight (hyperlink option): Link options for pdftex and dvipdfm. (line 69) +* hlightcommentslisting: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) * hline: Arrows and morphisms. (line 53) * hloff <1>: Turning low-level commands on/off. @@ -5054,14 +6104,20 @@ Macro index (line 10) * hlon: Turning low-level commands on/off. (line 6) -* hlopts <1>: Setting group options. +* hlopts <1>: Hyperlinks (xhyper.tex). + (line 6) +* hlopts <2>: Setting group options. (line 11) * hlopts: Setting default types and options. (line 15) -* hlstart <1>: Setting hyperlink types and options. +* hlstart <1>: Hyperlinks (xhyper.tex). + (line 6) +* hlstart <2>: Setting hyperlink types and options. (line 7) -* hlstart <2>: Link types for pdftex and dvipdfm. - (line 67) +* hlstart <3>: Link types for pdftex and dvipdfm. + (line 71) +* hlstart <4>: Link types for hypertex. + (line 43) * hlstart: Explicit hyperlinks. (line 25) * hltype <1>: Setting group types. (line 6) * hltype: Setting default types and options. @@ -5093,14 +6149,21 @@ Macro index * hookappend: Hooks. (line 16) * hookprepend: Hooks. (line 17) * hookrun: Hooks. (line 39) +* href: General hyperlinks. (line 6) * hruledefaultdepth: Rules. (line 9) * hruledefaultheight: Rules. (line 9) * hsize: Margins. (line 34) +* hypertex (hyperlink driver): Hyperlink driver hypertex. + (line 6) * hyphenpenalty for index entries: Typesetting an index. (line 45) -* identity: Macro arguments. (line 27) +* identity: Macro arguments. (line 28) * idx: Indexing commands. (line 8) * idx (hyperlinks): Index hyperlinks. (line 6) +* idxargclose: Index entries with special characters. + (line 73) +* idxargopen: Index entries with special characters. + (line 73) * idxbeginrangemark: Customizing indexing. (line 42) * idxencapoperator: Customizing indexing. @@ -5144,15 +6207,19 @@ Macro index (line 36) * idxsubmarked: Indexing commands. (line 40) * idxsubmarked (hyperlinks): Index hyperlinks. (line 6) -* idxuniq: Exact destinations for index terms. - (line 33) +* ifempty: \ifempty. (line 6) * iffileexists: Auxiliary files. (line 10) +* ifinteger: \ifinteger and \isinteger. + (line 6) * ifpdf <1>: Introduction to hyperlinks. - (line 49) + (line 51) * ifpdf: Checking for PDF output. (line 10) -* ifrewritetocfile: Contents. (line 61) +* ifrewritetocfile: Reading the .toc file. + (line 26) * ifundefined: \ifundefined. (line 6) +* includegraphics: Hyperlinks (xhyper.tex). + (line 6) * indexfilebasename: Typesetting an index. (line 11) * indexfonts: Typesetting an index. @@ -5195,11 +6262,15 @@ Macro index * innernewskip: Allocation macros. (line 22) * innernewtoks: Allocation macros. (line 22) * innernewwrite: Allocation macros. (line 22) +* input: Environment for loading packages. + (line 24) * insidemargin: Proofing index terms. (line 21) * interfootnoteskip: Footnotes. (line 29) * interitemskip: Formatting lists. (line 30) * interitemskipamount: Formatting lists. (line 14) +* isinteger: \ifinteger and \isinteger. + (line 13) * item in indexes: Typesetting an index. (line 35) * itemletter: Formatting lists. (line 44) @@ -5214,7 +6285,7 @@ Macro index * LaTeX: Logos. (line 10) * lbracechar: Category codes. (line 59) * left (destination option) <1>: Destination options for pdftex and dvipdfm. - (line 59) + (line 60) * left (destination option): Destination types for pdftex and dvipdfm. (line 11) * leftdisplayindent: Displays. (line 11) @@ -5228,14 +6299,19 @@ Macro index (line 15) * li: Lists. (line 30) * li (hyperlinks): List hyperlinks. (line 6) +* linenumberedlisting <1>: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) * linenumberedlisting: Verbatim listing. (line 17) * listcompact: Lists. (line 41) +* listing <1>: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) * listing: Verbatim listing. (line 7) * listingfont: Verbatim listing. (line 10) * listleftindent: Formatting lists. (line 18) * listmarkerspace: Formatting lists. (line 33) * listrightindent: Formatting lists. (line 18) * loggingall: Diagnostics. (line 12) +* loop: Iteration. (line 40) * makeactive: Category codes. (line 13) * makeatletter: Category codes. (line 22) * makeatother: Category codes. (line 32) @@ -5243,9 +6319,6 @@ Macro index * makecolumns: Tables. (line 6) * makeheadline: Proofing index terms. (line 28) -* makeindex <1>: Index hyperlinks. (line 12) -* makeindex <2>: Indexing. (line 14) -* makeindex: Invoking Eplain. (line 101) * mapdown: Arrows and morphisms. (line 13) * mapleft: Arrows and morphisms. @@ -5257,28 +6330,33 @@ Macro index * matrix: Construction of commutative diagrams. (line 10) * MF: Logos. (line 10) -* miniltx.tex: Loading LaTeX packages. - (line 14) * monthname: Time of day. (line 10) * morphdist <1>: Commutative diagram parameters. (line 32) * morphdist: Arrows and morphisms. (line 33) -* name (hyperlink type): Link types for pdftex and dvipdfm. +* name (hyperlink type) <1>: Link types for pdftex and dvipdfm. (line 18) +* name (hyperlink type): Link types for hypertex. + (line 7) * new...: Allocation macros. (line 9) * newwin (hyperlink option) <1>: Link options for pdftex and dvipdfm. (line 90) * newwin (hyperlink option): Link types for pdftex and dvipdfm. - (line 35) -* noarrow: Invoking Eplain. (line 82) -* noauxfile: Invoking Eplain. (line 87) -* nobibtex: Invoking Eplain. (line 71) + (line 42) +* noarrow: Invoking Eplain. (line 84) +* noauxfile: Invoking Eplain. (line 89) +* nobibtex: Invoking Eplain. (line 73) * nocite: Citations. (line 53) +* nolastlinelisting <1>: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) +* nolastlinelisting: Verbatim listing. (line 25) +* nolinks (hyperlink driver): Hyperlink driver nolinks. + (line 6) * normalbaselineskip: Options supported by all drivers. (line 19) * num (hyperlink type): Link types for pdftex and dvipdfm. - (line 88) + (line 92) * numberedfootnote: Footnotes. (line 7) * numberedfootnote (hyperlinks): Footnote hyperlinks. (line 6) * numberedlist: Lists. (line 14) @@ -5292,11 +6370,11 @@ Macro index * outsidemargin: Proofing index terms. (line 21) * page (hyperlink type): Link types for pdftex and dvipdfm. - (line 25) + (line 31) * pagefit (hyperlink option) <1>: Link options for pdftex and dvipdfm. (line 109) * pagefit (hyperlink option): Link types for pdftex and dvipdfm. - (line 26) + (line 32) * pageno: Proofing index terms. (line 21) * pagetotal: Multiple columns. (line 14) @@ -5307,18 +6385,13 @@ Macro index * path: Paths. (line 13) * pdfoutput: Checking for PDF output. (line 20) -* pdftex <1>: Introduction to hyperlinks. - (line 34) -* pdftex <2>: Checking for PDF output. +* pdftex (hyperlink driver): Hyperlink drivers pdftex and dvipdfm. (line 6) -* pdftex: Invoking Eplain. (line 113) * percentchar: Category codes. (line 56) * phantomeqlabel: Equation reference hyperlinks. (line 14) * phantomeqnumber: Equation reference hyperlinks. (line 14) -* pict2e.sty: Packages known not to work. - (line 9) * previouseverydisplay: Formatting displays. (line 15) * printbetweencitations: Formatting citations. (line 21) @@ -5329,8 +6402,7 @@ Macro index * printcitestart: Formatting citations. (line 16) * printitem: Formatting lists. (line 52) -* psfrag.sty: Packages known to work. - (line 30) +* printlistinglineno: Verbatim listing. (line 19) * quadcolumns: Multiple columns. (line 7) * raggedright for index entries: Typesetting an index. (line 45) @@ -5338,15 +6410,22 @@ Macro index (line 34) * raise (hyperlink option): Options supported by all drivers. (line 13) -* raw (destination type): Destination types for pdftex and dvipdfm. - (line 79) -* raw (hyperlink type): Link types for pdftex and dvipdfm. - (line 62) +* raw (destination type) <1>: Destination types for pdftex and dvipdfm. + (line 81) +* raw (destination type): Destination types for hypertex. + (line 12) +* raw (hyperlink type) <1>: Link types for pdftex and dvipdfm. + (line 65) +* raw (hyperlink type): Link types for hypertex. + (line 37) * rbracechar: Category codes. (line 60) * readindexfile: Typesetting an index. (line 6) * readindexfile (hyperlinks): Index hyperlinks. (line 9) -* readtocfile: Contents. (line 42) +* readtocfile: Reading the .toc file. + (line 6) +* ref <1>: Hyperlinks (xhyper.tex). + (line 6) * ref: Using generic references. (line 17) * ref (hyperlinks): Cross-reference hyperlinks. @@ -5367,23 +6446,25 @@ Macro index (line 20) * reftie: Cross-reference hyperlinks. (line 16) +* repeat: Iteration. (line 42) * resetatcatcode: Category codes. (line 23) -* rewritetocfile (conditional): Contents. (line 61) +* rewritetocfile (conditional): Reading the .toc file. + (line 26) * right (destination option) <1>: Destination options for pdftex and dvipdfm. - (line 63) + (line 64) * right (destination option): Destination types for pdftex and dvipdfm. (line 65) * rightmargin: Margins. (line 18) +* rotatebox: Hyperlinks (xhyper.tex). + (line 6) * rt: Arrows and morphisms. (line 14) * sanitize: Converting to characters. - (line 21) + (line 22) * sarrowlength <1>: Commutative diagram parameters. (line 17) * sarrowlength: Arrows and morphisms. (line 28) -* sed: Customizing indexing. - (line 66) * see for index entries <1>: Customizing indexing. (line 64) * see for index entries: Modifying index entries. @@ -5397,6 +6478,8 @@ Macro index * setidxpagerangedelimiter: Page list and page range parsers. (line 14) * setproperty: Properties. (line 13) +* setuplistinghook <1>: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) * setuplistinghook: Verbatim listing. (line 13) * sidx: Indexing commands. (line 8) * sidxmarked: Indexing commands. (line 29) @@ -5407,8 +6490,8 @@ Macro index (line 23) * SLiTeX: Logos. (line 11) * special: Introduction to hyperlinks. - (line 8) -* specialpathdelimiters (conditional): Paths. (line 26) + (line 9) +* specialpathdelimiters (conditional): Paths. (line 28) * subeqnumber: Subequation references. (line 15) * subitem in indexes: Typesetting an index. @@ -5417,35 +6500,37 @@ Macro index (line 35) * testfileexistence: Auxiliary files. (line 8) * TeX: Logos. (line 6) -* texi2dvi <1>: Indexing. (line 34) -* texi2dvi <2>: Citations. (line 97) -* texi2dvi: Invoking Eplain. (line 101) * timestamp: Time of day. (line 18) * timestring: Time of day. (line 16) -* toc...entry: Contents. (line 16) -* tocfilebasename: Contents. (line 67) +* toc...entry: Writing the .toc file. + (line 9) +* tocfilebasename: Changing the .toc file's root name. + (line 10) * today: Time of day. (line 21) * top (destination option) <1>: Destination options for pdftex and dvipdfm. - (line 67) + (line 68) * top (destination option): Destination types for pdftex and dvipdfm. (line 11) * topmargin: Margins. (line 18) * tracingall: Diagnostics. (line 9) * tracingboxes: Diagnostics. (line 17) * tracingoff: Diagnostics. (line 19) -* trimsee: Customizing indexing. - (line 67) * triplecolumns: Multiple columns. (line 7) +* tt: Packages known to work. + (line 76) +* ttfamily: Packages known to work. + (line 73) * uncatcodespecials: Category codes. (line 51) * unorderedlist: Lists. (line 22) * unorderedlistdepth: Formatting lists. (line 41) * unorderedmarker: Formatting lists. (line 37) -* url (hyperlink type): Link types for pdftex and dvipdfm. - (line 56) +* url: Hyperlinks (xhyper.tex). + (line 6) +* url (hyperlink type) <1>: Link types for pdftex and dvipdfm. + (line 25) +* url (hyperlink type): Link types for hypertex. + (line 14) * url (hyperlinks): URL hyperlinks. (line 6) -* url.sty <1>: URL hyperlinks. (line 6) -* url.sty: Packages known to work. - (line 41) * usepackage: The \usepackage command. (line 6) * varrowlength <1>: Commutative diagram parameters. @@ -5454,8 +6539,8 @@ Macro index (line 28) * vchannel: Commutative diagram parameters. (line 39) -* verbatim: Verbatim listing. (line 23) -* verbatimescapechar: Verbatim listing. (line 36) +* verbatim: Verbatim listing. (line 34) +* verbatimescapechar: Verbatim listing. (line 47) * vgrid <1>: Commutative diagram parameters. (line 51) * vgrid: Construction of commutative diagrams. @@ -5491,11 +6576,12 @@ Macro index (line 60) * width (hyperlink option): Link options for pdftex and dvipdfm. (line 130) -* writenumberedtocentry: Contents. (line 19) -* writetocentry: Contents. (line 14) -* xcolor.sty: Packages known not to work. - (line 12) -* xeplain.tex: Introduction. (line 6) +* writenumberedtocentry: Writing the .toc file. + (line 13) +* writenumberedtocline: Writing the .toc file. + (line 36) +* writetocentry: Writing the .toc file. + (line 7) * xrdef: Page references. (line 10) * xrdef (hyperlinks): Page reference hyperlinks. (line 6) @@ -5514,7 +6600,9 @@ Macro index * xrefwarningfalse: Citations. (line 73) * xrlabel: Converting to characters. (line 6) -* xyz (destination type): Destination types for pdftex and dvipdfm. +* xyz (destination type) <1>: Destination types for pdftex and dvipdfm. + (line 7) +* xyz (destination type): Destination types for hypertex. (line 7) * zoom (destination option) <1>: Destination options for pdftex and dvipdfm. (line 21) @@ -5530,6 +6618,32 @@ Concept index * Menu: +* .aux file <1>: Cross-references. (line 11) +* .aux file: Citations. (line 17) +* .bbl file: Citations. (line 20) +* .bib file: Citations. (line 20) +* .bst files: Citations. (line 65) +* .cls files: Loading LaTeX packages. + (line 6) +* .eps files: Packages known to work. + (line 90) +* .fmt file <1>: Invoking Eplain. (line 14) +* .fmt file: Installation. (line 27) +* .idx files <1>: Index hyperlinks. (line 14) +* .idx files: Indexing. (line 23) +* .ind files <1>: Index hyperlinks. (line 25) +* .ind files: Indexing. (line 27) +* .pdf files <1>: Introduction to hyperlinks. + (line 13) +* .pdf files <2>: Packages known to work. + (line 90) +* .pdf files: Checking for PDF output. + (line 6) +* .ps files: Introduction to hyperlinks. + (line 13) +* .sty files: Loading LaTeX packages. + (line 6) +* .toc file: Contents. (line 10) * active characters: Category codes. (line 12) * after index terms: Customizing indexing. (line 6) @@ -5538,12 +6652,18 @@ Concept index * allocation macros: Allocation macros. (line 6) * alphanumeric references: Citations. (line 116) * AMSLaTeX: Logos. (line 10) +* amsppt.sty: Invoking Eplain. (line 92) * AMSTeX: Logos. (line 10) -* AMSTeX conflicts: Invoking Eplain. (line 90) +* AMSTeX conflicts: Invoking Eplain. (line 92) * arguments, ignoring: Macro arguments. (line 6) * arrows: Arrows and morphisms. (line 6) * atom: Properties. (line 6) +* autopict.sty: Packages known to work. + (line 12) +* avoiding boxed links <1>: Setting default types and options. + (line 25) +* avoiding boxed links: URL hyperlinks. (line 17) * axuiliary files, existence of: Auxiliary files. (line 6) * backslash character: Category codes. (line 15) * balancing of columns with \singlecolumn: Multiple columns. (line 11) @@ -5560,6 +6680,7 @@ Concept index * bibliography, hyperlinks: Citation hyperlinks. (line 11) * BibTeX <1>: Logos. (line 10) * BibTeX: Citations. (line 9) +* bibtex: Invoking Eplain. (line 103) * black boxes: Boxes. (line 6) * Borceux, Francis: Construction of commutative diagrams. (line 80) @@ -5571,7 +6692,14 @@ Concept index (line 50) * Bott, Raoul: Construction of commutative diagrams. (line 13) +* boxed links, avoiding <1>: Setting default types and options. + (line 25) +* boxed links, avoiding: URL hyperlinks. (line 17) * boxes, open: Boxes. (line 12) +* braces, inside index entries: Index entries with special characters. + (line 63) +* brackets, inside index entries: Index entries with special characters. + (line 86) * Brockett, Roger W.: Construction of commutative diagrams. (line 38) * Butterfly Lemma: Construction of commutative diagrams. @@ -5587,22 +6715,51 @@ Concept index (line 6) * citations, hyperlinks: Citation hyperlinks. (line 6) * citations, undefined: Citations. (line 43) +* cmtt8: Proofing index terms. + (line 12) * color: Packages known to work. (line 25) +* color, demo: Hyperlinks (xhyper.tex). + (line 6) * color, hyperlink border: Link options for pdftex and dvipdfm. (line 14) -* color, hyperlinks: Options supported by all drivers. +* color, hyperlinks <1>: Setting default types and options. + (line 25) +* color, hyperlinks <2>: Options supported by all drivers. (line 37) +* color, hyperlinks: URL hyperlinks. (line 17) +* color, problems with pdfTeX: Packages known to work. + (line 29) +* color.sty <1>: Hyperlinks (xhyper.tex). + (line 6) +* color.sty <2>: Setting default types and options. + (line 27) +* color.sty <3>: Hyperlink driver nolinks. + (line 34) +* color.sty <4>: URL hyperlinks. (line 18) +* color.sty: Packages known to work. + (line 21) +* colored links <1>: Setting default types and options. + (line 25) +* colored links <2>: Options supported by all drivers. + (line 37) +* colored links: URL hyperlinks. (line 17) * column balancing with \singlecolumn: Multiple columns. (line 11) * column eject: Multiple columns. (line 14) * commas after index terms: Customizing indexing. (line 6) * commas in cross-referencing index entries: Customizing indexing. (line 64) +* comments, highlighting in listings: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) * commutative diagrams: Commutative diagrams. (line 6) * contents: Contents. (line 6) +* contents, and verbatim text: Writing the .toc file. + (line 50) * contents, hyperlinks: Contents hyperlinks. (line 6) +* ConTeXt: Packages known to work. + (line 29) * continued index entries: Typesetting an index. (line 35) * covering homotopy property: Construction of commutative diagrams. @@ -5612,12 +6769,15 @@ Concept index (line 6) * cross-references, defining general: Defining generic references. (line 6) +* cross-references, demo: Hyperlinks (xhyper.tex). + (line 6) * cross-references, hyperlinks: Cross-reference hyperlinks. (line 6) * cross-referencing index entries <1>: Customizing indexing. (line 64) * cross-referencing index entries: Modifying index entries. (line 36) +* CTRL-L, and verbatim listing: Verbatim listing. (line 30) * cube: Construction of commutative diagrams. (line 90) * customizing indexing: Customizing indexing. @@ -5636,6 +6796,7 @@ Concept index * defining general references: Defining generic references. (line 6) * definitions, global: Category codes. (line 38) +* demo files: Demo files. (line 6) * destgroup: Implicit hyperlinks. (line 10) * destgroup `bib': Citation hyperlinks. (line 11) * destgroup `definexref': Cross-reference hyperlinks. @@ -5648,26 +6809,34 @@ Concept index * destgroup `li': List hyperlinks. (line 6) * destgroup `xrdef': Page reference hyperlinks. (line 6) -* destgroup, options <1>: Setting group options. +* destgroup options <1>: Setting group options. (line 6) -* destgroup, options: Setting hyperlink types and options. +* destgroup options: Setting hyperlink types and options. (line 12) -* destgroup, type <1>: Setting group types. (line 6) -* destgroup, type: Setting hyperlink types and options. +* destgroup options, demo: Hyperlinks (xhyper.tex). + (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 6) * destination group: Implicit hyperlinks. (line 10) * destination options: Introduction to hyperlinks. - (line 102) + (line 105) * destination options, common: Options supported by all drivers. (line 12) * destination options, dvipdfm: Destination options for pdftex and dvipdfm. (line 6) +* destination options, hypertex: Destination options for hypertex. + (line 6) * destination options, pdftex: Destination options for pdftex and dvipdfm. (line 6) * destination type: Introduction to hyperlinks. - (line 85) + (line 88) * destination types, dvipdfm: Destination types for pdftex and dvipdfm. (line 6) +* destination types, hypertex: Destination types for hypertex. + (line 6) * destination types, pdftex: Destination types for pdftex and dvipdfm. (line 6) * destinations, default options <1>: Setting group types. (line 17) @@ -5686,27 +6855,39 @@ Concept index (line 6) * destinations, group options: Setting hyperlink types and options. (line 12) +* destinations, group options, demo: Hyperlinks (xhyper.tex). + (line 6) * destinations, group type <1>: Setting group types. (line 6) * destinations, group type: Setting hyperlink types and options. (line 12) -* destinations, in another file: Link types for pdftex and dvipdfm. - (line 33) +* destinations, group type, demo: Hyperlinks (xhyper.tex). + (line 6) +* destinations, in another file <1>: Link types for pdftex and dvipdfm. + (line 40) +* destinations, in another file: Link types for hypertex. + (line 21) * destinations, large operators <1>: Setting group options. (line 34) * destinations, large operators: Options supported by all drivers. (line 27) * destinations, magnification: Destination options for pdftex and dvipdfm. (line 21) -* destinations, named: Link types for pdftex and dvipdfm. +* destinations, named <1>: Link types for pdftex and dvipdfm. (line 18) +* destinations, named: Link types for hypertex. + (line 7) * destinations, numbered: Link types for pdftex and dvipdfm. - (line 88) + (line 92) * destinations, page: Link types for pdftex and dvipdfm. - (line 25) + (line 31) * destinations, raising: Options supported by all drivers. (line 13) -* destinations, URL: Link types for pdftex and dvipdfm. - (line 56) +* destinations, URL <1>: Link types for pdftex and dvipdfm. + (line 25) +* destinations, URL: Link types for hypertex. + (line 14) +* detecting numbers: \ifinteger and \isinteger. + (line 6) * diagnostics: Diagnostics. (line 6) * Diagram, macros for LaTeX: Construction of commutative diagrams. (line 80) @@ -5723,17 +6904,26 @@ Concept index * displayed math and hyperlinks: Options supported by all drivers. (line 27) * displays, left-justifying: Displays. (line 6) +* do...while loops: Iteration. (line 6) * double column output: Multiple columns. (line 6) * double columns in indexes: Typesetting an index. (line 24) +* draft, option for graphics.sty: Packages known to work. + (line 69) * driver dvipdfm: Hyperlink drivers pdftex and dvipdfm. (line 6) +* driver hypertex: Hyperlink driver hypertex. + (line 6) * driver nolinks: Hyperlink driver nolinks. (line 6) * driver pdftex: Hyperlink drivers pdftex and dvipdfm. (line 6) * drivers, hyperlink: Introduction to hyperlinks. (line 6) +* dvipdfm <1>: Hyperlink driver hypertex. + (line 13) +* dvipdfm: Introduction to hyperlinks. + (line 36) * dvipdfm, destination options: Destination options for pdftex and dvipdfm. (line 6) * dvipdfm, destination types: Destination types for pdftex and dvipdfm. @@ -5744,22 +6934,33 @@ Concept index (line 6) * dvipdfm, link types: Link types for pdftex and dvipdfm. (line 6) +* dvips: Hyperlink driver hypertex. + (line 13) +* Eijkhout, Victor: Iteration. (line 61) * eject in multicolumns: Multiple columns. (line 14) * electronic mail addresses, breaking <1>: Packages known to work. - (line 43) + (line 120) * electronic mail addresses, breaking: Paths. (line 6) +* empty argument, checking for: \ifempty. (line 6) * empty equation labels: Equation references. (line 22) * empty equation labels, referring to: Equation references. (line 27) -* emtex, installation under: Installation. (line 48) +* empty string, checking for: \ifempty. (line 6) * Encapsulated PostScript: Packages known to work. - (line 32) + (line 90) * environments, user-defined: User-defined environments. (line 6) * Eplain, installing: Installation. (line 6) * Eplain, invoking: Invoking Eplain. (line 6) * Eplain, purpose of: Introduction. (line 6) +* Eplain, upgrading: Installation. (line 6) +* eplain.aux: Installation. (line 40) +* eplain.fmt: Installation. (line 27) * EPS: Packages known to work. - (line 32) + (line 90) +* epstopdf: Packages known to work. + (line 90) +* epstopdf.sty: Packages known to work. + (line 88) * equation labels, characters valid in: Equation references. (line 56) * equation numbers, formatting of: Formatting equation references. (line 6) @@ -5771,26 +6972,39 @@ Concept index * equations, numbering: Equation references. (line 6) * equations, references to: Equation references. (line 6) * error messages: Diagnostics. (line 25) -* escape character, changing verbatim: Verbatim listing. (line 36) +* error on \input: Environment for loading packages. + (line 35) +* escape character, changing verbatim: Verbatim listing. (line 47) * exact index hyperlinks: Exact destinations for index terms. (line 28) * expansion, one-level: \expandonce. (line 6) * explicit hyperlinks: Explicit hyperlinks. (line 6) -* file, hyperlink to: Link types for pdftex and dvipdfm. - (line 33) +* explicit hyperlinks, demo: Hyperlinks (xhyper.tex). + (line 6) +* 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) * filenames, breaking <1>: Packages known to work. - (line 43) + (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 6) * filtering index entries with hyperlinks: Exact destinations for index terms. (line 33) * footnotes, hyperlinks: Footnote hyperlinks. (line 6) * footnotes, numbered: Footnotes. (line 6) * for loops: Iteration. (line 6) -* format file: Installation. (line 12) +* form feed character, and verbatim listing: Verbatim listing. + (line 30) +* format file: Installation. (line 27) * formatting index entries: Typesetting an index. (line 35) * fractions: Fractions. (line 6) +* Ghostscript: Hyperlink driver hypertex. + (line 13) * gobbling arguments: Macro arguments. (line 6) * golden mean: Construction of commutative diagrams. (line 59) @@ -5801,6 +7015,18 @@ Concept index (line 25) * graphics collection, LaTeX: Loading LaTeX packages. (line 14) +* graphics collection, LaTeX, demo: Hyperlinks (xhyper.tex). + (line 6) +* graphics, omitting typesetting of: Packages known to work. + (line 69) +* graphics, problems with pdfTeX: Packages known to work. + (line 29) +* graphics.sty: Packages known to work. + (line 22) +* graphicx.sty <1>: Hyperlinks (xhyper.tex). + (line 6) +* graphicx.sty: Packages known to work. + (line 23) * grid: Construction of commutative diagrams. (line 80) * group `' (empty): Setting group types. (line 17) @@ -5815,6 +7041,8 @@ Concept index (line 6) * group `foot': Footnote hyperlinks. (line 6) * group `footback': Footnote hyperlinks. (line 6) +* group `hrefext': General hyperlinks. (line 21) +* group `hrefint': General hyperlinks. (line 12) * group `idx': Index hyperlinks. (line 6) * group `li': List hyperlinks. (line 6) * group `ref': Cross-reference hyperlinks. @@ -5826,42 +7054,63 @@ Concept index (line 10) * group option list: Setting group options. (line 49) +* group options, hyperlink <1>: Setting group options. + (line 6) +* group options, hyperlink: Setting hyperlink types and options. + (line 12) +* group options, hyperlink, demo: Hyperlinks (xhyper.tex). + (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 6) * group, destination: Implicit hyperlinks. (line 10) * group, disabling hyperlinks: Turning hyperlinks on/off for a group. (line 6) * group, link: Implicit hyperlinks. (line 10) -* group, options hyperlink <1>: Setting group options. - (line 6) -* group, options hyperlink: Setting hyperlink types and options. - (line 12) * group, preserving option list: Setting group options. (line 22) -* group, type hyperlink <1>: Setting group types. (line 6) -* group, type hyperlink: Setting hyperlink types and options. - (line 12) * groups, specifying all: Setting group types. (line 26) +* hanging on \input: Environment for loading packages. + (line 35) * help messages: Diagnostics. (line 25) * highlight modes, hyperlink: Link options for pdftex and dvipdfm. (line 69) +* highlighting: Packages known to work. + (line 110) +* highlighting, in listings: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) +* Ho"ppner, Klaus: Packages known to work. + (line 82) * hooks: Hooks. (line 6) * hyperlink border color: Link options for pdftex and dvipdfm. (line 14) +* hyperlink color <1>: Setting default types and options. + (line 25) +* hyperlink color <2>: Options supported by all drivers. + (line 37) +* hyperlink color: URL hyperlinks. (line 17) * hyperlink destination, dimensions: Destination options for pdftex and dvipdfm. (line 34) * hyperlink destination, magnification: Destination options for pdftex and dvipdfm. (line 21) -* hyperlink destination, named: Link types for pdftex and dvipdfm. +* hyperlink destination, named <1>: Link types for pdftex and dvipdfm. (line 18) +* hyperlink destination, named: Link types for hypertex. + (line 7) * hyperlink destination, numbered: Link types for pdftex and dvipdfm. - (line 88) + (line 92) * hyperlink destination, page: Link types for pdftex and dvipdfm. - (line 25) + (line 31) * hyperlink destination, raising: Options supported by all drivers. (line 13) * hyperlink dimensions: Link options for pdftex and dvipdfm. (line 124) * hyperlink driver dvipdfm: Hyperlink drivers pdftex and dvipdfm. (line 6) +* hyperlink driver hypertex: Hyperlink driver hypertex. + (line 6) * hyperlink driver nolinks: Hyperlink driver nolinks. (line 6) * hyperlink driver pdftex: Hyperlink drivers pdftex and dvipdfm. @@ -5888,6 +7137,8 @@ Concept index * hyperlinks, default type <1>: Setting group types. (line 17) * hyperlinks, default type: Setting hyperlink types and options. (line 6) +* hyperlinks, demo: Hyperlinks (xhyper.tex). + (line 6) * hyperlinks, disabling <1>: Turning hyperlinks on/off. (line 6) * hyperlinks, disabling: Hyperlink driver nolinks. @@ -5895,6 +7146,8 @@ Concept index * hyperlinks, equations: Equation reference hyperlinks. (line 6) * hyperlinks, explicit: Explicit hyperlinks. (line 6) +* hyperlinks, explicit, demo: Hyperlinks (xhyper.tex). + (line 6) * hyperlinks, filtering index entries: Exact destinations for index terms. (line 33) * hyperlinks, footnotes: Footnote hyperlinks. (line 6) @@ -5904,12 +7157,16 @@ Concept index (line 6) * hyperlinks, group options: Setting hyperlink types and options. (line 12) +* hyperlinks, group options, demo: Hyperlinks (xhyper.tex). + (line 6) * hyperlinks, group type <1>: Setting group types. (line 6) * hyperlinks, group type: Setting hyperlink types and options. (line 12) * hyperlinks, highlight mode: Link options for pdftex and dvipdfm. (line 69) * hyperlinks, implicit: Implicit hyperlinks. (line 6) +* hyperlinks, implicit, demo: Hyperlinks (xhyper.tex). + (line 6) * hyperlinks, index: Index hyperlinks. (line 6) * hyperlinks, index destination placement: Choosing destination placement. (line 6) @@ -5931,23 +7188,56 @@ Concept index * hyperlinks, see and see also index entries: Hyperlinks in see and see also entries. (line 6) * hyperlinks, table of contents: Contents hyperlinks. (line 6) -* hyperlinks, to another file: Link types for pdftex and dvipdfm. - (line 33) +* hyperlinks, to another file <1>: Link types for pdftex and dvipdfm. + (line 40) +* hyperlinks, to another file: Link types for hypertex. + (line 21) * hyperlinks, URL <1>: Link types for pdftex and dvipdfm. - (line 56) -* hyperlinks, URL: URL hyperlinks. (line 6) + (line 25) +* hyperlinks, URL <2>: Link types for hypertex. + (line 14) +* hyperlinks, URL <3>: URL hyperlinks. (line 6) +* hyperlinks, URL: General hyperlinks. (line 20) +* hyperref.sty: Packages known not to work. + (line 9) +* hypertex, destination options: Destination options for hypertex. + (line 6) +* hypertex, destination types: Destination types for hypertex. + (line 6) +* hypertex, hyperlink driver: Hyperlink driver hypertex. + (line 6) +* hypertex, link options: Link options for hypertex. + (line 6) +* hypertex, link types: Link types for hypertex. + (line 6) * hypertext links: Hyperlinks. (line 6) +* identifying numbers: \ifinteger and \isinteger. + (line 6) +* idxuniq: Exact destinations for index terms. + (line 33) * ignoring arguments: Macro arguments. (line 6) * implicit hyperlinks: Implicit hyperlinks. (line 6) +* implicit hyperlinks, demo: Hyperlinks (xhyper.tex). + (line 6) * inaccessible macros: Category codes. (line 19) * index entries and ranges: Modifying index entries. (line 22) +* index entries containing braces: Index entries with special characters. + (line 63) +* index entries containing brackets: Index entries with special characters. + (line 86) +* index entries with special characters: Index entries with special characters. + (line 6) * index entries' page numbers, modifying: Modifying index entries. (line 6) * index entries, and cross-referencing <1>: Customizing indexing. (line 64) * index entries, and cross-referencing: Modifying index entries. (line 36) +* index entries, proofing: Proofing index terms. + (line 6) +* index entries, with verbatim text: Index entries with special characters. + (line 40) * index entry continuations: Typesetting an index. (line 35) * index entry formatting: Typesetting an index. @@ -5958,10 +7248,10 @@ Concept index * index groupings: Typesetting an index. (line 54) * index hyperlink: Index hyperlinks. (line 6) -* index terms, proofing: Proofing index terms. - (line 6) * index typesetting: Typesetting an index. (line 6) +* index, and verbatim text: Index entries with special characters. + (line 40) * index, choosing destination placement: Choosing destination placement. (line 6) * index, destination placement: Choosing destination placement. @@ -5983,10 +7273,12 @@ Concept index * indexing and trailing spaces: Indexing terms. (line 20) * indexing commands: Indexing commands. (line 6) * indexing terms: Indexing terms. (line 6) -* insertion classes: Multiple columns. (line 36) +* insertion classes: Multiple columns. (line 38) * inset hyperlink border: Link options for pdftex and dvipdfm. (line 26) * installation: Installation. (line 6) +* integers, detecting: \ifinteger and \isinteger. + (line 6) * item labels, changing: Formatting lists. (line 54) * iteration: Iteration. (line 6) * justification: Justification. (line 6) @@ -6017,37 +7309,49 @@ Concept index (line 25) * LaTeX graphics collection: Loading LaTeX packages. (line 14) +* LaTeX graphics collection, demo: Hyperlinks (xhyper.tex). + (line 6) * LaTeX packages <1>: Packages known not to work. (line 6) * LaTeX packages <2>: Packages known to work. (line 6) * LaTeX packages: Loading LaTeX packages. (line 6) +* LaTeX packages, restoring \input: Environment for loading packages. + (line 24) * left-justification: Justification. (line 6) * left-justification of displays: Displays. (line 6) +* letterspacing: Packages known to work. + (line 110) * linear systems theory: Construction of commutative diagrams. (line 38) * lines: Slanted lines and vectors. (line 15) * link group: Implicit hyperlinks. (line 10) * link options: Introduction to hyperlinks. - (line 102) + (line 105) * link options, common: Options supported by all drivers. (line 35) * link options, dvipdfm: Link options for pdftex and dvipdfm. (line 6) +* link options, hypertex: Link options for hypertex. + (line 6) * link options, pdftex: Link options for pdftex and dvipdfm. (line 6) * link type: Introduction to hyperlinks. - (line 85) + (line 88) * link types, dvipdfm: Link types for pdftex and dvipdfm. (line 6) +* link types, hypertex: Link types for hypertex. + (line 6) * link types, pdftex: Link types for pdftex and dvipdfm. (line 6) * link, group options <1>: Setting group options. (line 6) * link, group options: Setting hyperlink types and options. (line 12) +* link, group options, demo: Hyperlinks (xhyper.tex). + (line 6) * link, group type <1>: Setting group types. (line 6) * link, group type: Setting hyperlink types and options. (line 12) @@ -6059,30 +7363,44 @@ Concept index (line 20) * linkgroup `foot': Footnote hyperlinks. (line 6) * linkgroup `footback': Footnote hyperlinks. (line 6) +* linkgroup `hrefext': General hyperlinks. (line 21) +* linkgroup `hrefint': General hyperlinks. (line 12) * linkgroup `idx': Index hyperlinks. (line 6) * linkgroup `ref': Cross-reference hyperlinks. (line 11) * linkgroup `url': URL hyperlinks. (line 6) * linkgroup `xref': Page reference hyperlinks. (line 10) -* linkgroup, options <1>: Setting group options. +* linkgroup options <1>: Setting group options. (line 6) -* linkgroup, options: Setting hyperlink types and options. +* linkgroup options: Setting hyperlink types and options. (line 12) -* linkgroup, type <1>: Setting group types. (line 6) -* linkgroup, type: Setting hyperlink types and options. +* linkgroup options, demo: Hyperlinks (xhyper.tex). + (line 6) +* linkgroup type <1>: Setting group types. (line 6) +* linkgroup type: Setting hyperlink types and options. (line 12) * links, hypertext: Hyperlinks. (line 6) -* list of figures: Contents. (line 69) -* list of tables: Contents. (line 69) +* list of figures: Alternative contents files. + (line 6) +* list of tables: Alternative contents files. + (line 6) * listing files: Verbatim listing. (line 6) +* listing files, demo: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) * lists: Lists. (line 6) * lists, formatting: Formatting lists. (line 6) * lists, hyperlinks: List hyperlinks. (line 6) * logos: Logos. (line 6) * lookahead without spaces: \futurenonspacelet. (line 6) +* loops: Iteration. (line 6) +* lscommnt.tex: Highlighting TeX comments in listings (lscommnt.tex). + (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) * margins, changing: Margins. (line 6) * margins, index terms in: Proofing index terms. (line 6) @@ -6092,6 +7410,8 @@ Concept index * mathematics displays, hyperlinks: Options supported by all drivers. (line 27) * Metafont: Logos. (line 10) +* miniltx.tex: Loading LaTeX packages. + (line 14) * minimal realizations: Construction of commutative diagrams. (line 38) * modifying index entries' page numbers: Modifying index entries. @@ -6100,8 +7420,10 @@ Concept index (line 6) * multiple column output: Multiple columns. (line 6) * multiple indexes: Indexing. (line 37) -* named destination: Link types for pdftex and dvipdfm. +* named destination <1>: Link types for pdftex and dvipdfm. (line 18) +* named destination: Link types for hypertex. + (line 7) * names, of TeX variants: Logos. (line 6) * new window, opening hyperlink in: Link options for pdftex and dvipdfm. (line 90) @@ -6110,9 +7432,11 @@ Concept index * nolinks, hyperlink driver: Hyperlink driver nolinks. (line 6) * numbered destination: Link types for pdftex and dvipdfm. - (line 88) + (line 92) * numbered lists: Lists. (line 6) * numbered references: Citations. (line 86) +* numbers, detecting: \ifinteger and \isinteger. + (line 6) * numbers, written form of: Writing out numbers. (line 6) * Oberdiek, Heiko: Checking for PDF output. (line 24) @@ -6120,6 +7444,8 @@ Concept index (line 6) * omitting hyperlinks: Hyperlink driver nolinks. (line 6) +* omitting typesetting of graphics: Packages known to work. + (line 69) * open boxes: Boxes. (line 12) * option list, group: Setting group options. (line 49) @@ -6129,19 +7455,25 @@ Concept index (line 12) * options, destination, dvipdfm: Destination options for pdftex and dvipdfm. (line 6) +* options, destination, hypertex: Destination options for hypertex. + (line 6) * options, destination, pdftex: Destination options for pdftex and dvipdfm. (line 6) * options, link and destination: Introduction to hyperlinks. - (line 102) + (line 105) * options, link, common: Options supported by all drivers. (line 35) * options, link, dvipdfm: Link options for pdftex and dvipdfm. (line 6) +* options, link, hypertex: Link options for hypertex. + (line 6) * options, link, pdftex: Link options for pdftex and dvipdfm. (line 6) * ordered list: Lists. (line 6) * output routine and index proofing: Proofing index terms. (line 28) +* overstriking: Packages known to work. + (line 110) * packages, LaTeX <1>: Packages known not to work. (line 6) * packages, LaTeX <2>: Packages known to work. @@ -6149,7 +7481,7 @@ Concept index * packages, LaTeX: Loading LaTeX packages. (line 6) * page destination: Link types for pdftex and dvipdfm. - (line 25) + (line 31) * page list, parsing: Page destinations for index terms. (line 32) * page range, parsing: Page destinations for index terms. @@ -6162,10 +7494,17 @@ Concept index (line 32) * Patashnik, Oren: Citations. (line 9) * pathnames, breaking <1>: Packages known to work. - (line 43) + (line 120) * pathnames, breaking: Paths. (line 6) +* PDF: Packages known to work. + (line 90) * PDF output: Checking for PDF output. (line 6) +* pdftex <1>: Introduction to hyperlinks. + (line 35) +* pdftex <2>: Checking for PDF output. + (line 6) +* pdftex: Invoking Eplain. (line 115) * pdftex, destination options: Destination options for pdftex and dvipdfm. (line 6) * pdftex, destination types: Destination types for pdftex and dvipdfm. @@ -6176,19 +7515,31 @@ Concept index (line 6) * pdftex, link types: Link types for pdftex and dvipdfm. (line 6) +* pdfTeX, problems using color and graphics: Packages known to work. + (line 29) +* pdfTeX, problems with supp-mis.tex: Packages known to work. + (line 29) +* pict2e.sty: Packages known not to work. + (line 16) * picture mode <1>: Slanted lines and vectors. (line 7) * picture mode: Packages known to work. (line 14) +* Portable Document Format: Packages known to work. + (line 90) * PostScript point <1>: Link options for pdftex and dvipdfm. (line 50) * PostScript point <2>: Destination options for pdftex and dvipdfm. - (line 49) + (line 50) * PostScript point: Destination types for pdftex and dvipdfm. (line 66) * proofing index terms: Proofing index terms. (line 6) * properties: Properties. (line 6) +* ps2pdf: Hyperlink driver hypertex. + (line 13) +* psfrag.sty: Packages known to work. + (line 97) * quadruple column output: Multiple columns. (line 6) * Rahtz, Sebastian: Loading LaTeX packages. (line 14) @@ -6198,6 +7549,8 @@ Concept index (line 13) * ranges and index entry: Modifying index entries. (line 22) +* recognizing numbers: \ifinteger and \isinteger. + (line 6) * rectangles: Boxes. (line 6) * references, alphanumeric: Citations. (line 116) * references, defining general <1>: Using generic references. @@ -6206,14 +7559,23 @@ Concept index (line 6) * references, numbered: Citations. (line 86) * register allocation: Allocation macros. (line 6) +* restoring \input, LaTeX packages: Environment for loading packages. + (line 24) * return character: Category codes. (line 41) * right-justification: Justification. (line 6) * rms: Introduction. (line 14) * rotation: Packages known to work. (line 25) +* rotation, demo: Hyperlinks (xhyper.tex). + (line 6) * rule thickness: Rules. (line 7) +* run: links: General hyperlinks. (line 37) * scaling: Packages known to work. (line 25) +* scaling, demo: Hyperlinks (xhyper.tex). + (line 6) +* sed: Customizing indexing. + (line 66) * see also index entries and hyperlinks: Hyperlinks in see and see also entries. (line 6) * see also index entries and sorting: Customizing indexing. @@ -6225,6 +7587,7 @@ Concept index * see, and index entries, hyperlinks: Hyperlinks in see and see also entries. (line 6) * silent indexing: Indexing terms. (line 6) +* skipping tokens <1>: \ifempty. (line 12) * skipping tokens: \ifundefined. (line 10) * SLiTeX: Logos. (line 11) * Snake Lemma: Arrows and morphisms. @@ -6233,76 +7596,138 @@ Concept index (line 26) * sorting an index: Indexing. (line 6) * sorting of index entries: Indexing commands. (line 51) +* soul.sty: Packages known to work. + (line 108) * space above index entries: Typesetting an index. (line 35) * spaces, ignoring: \futurenonspacelet. (line 6) * spaces, obeying: Obeying spaces. (line 6) * spaces, trailing and indexing commands: Indexing terms. (line 20) +* spacing out: Packages known to work. + (line 110) * spacing, preserving with hyperlinks: Hyperlink driver nolinks. (line 6) +* special characters, in index entries: Index entries with special characters. + (line 6) +* special characters, in table of contents: Writing the .toc file. + (line 50) * Stallman, Richard: Introduction. (line 14) +* striking out: Packages known to work. + (line 110) * style, hyperlink border: Link options for pdftex and dvipdfm. (line 26) * subequations, referring to: Subequation references. (line 6) * subterm in indexing: Indexing terms. (line 13) +* supp-mis.tex, problems with pdfTeX: Packages known to work. + (line 29) +* supp-pdf.tex: Packages known to work. + (line 29) * table of contents: Contents. (line 6) +* table of contents, and verbatim text: Writing the .toc file. + (line 50) * table of contents, hyperlinks: Contents hyperlinks. (line 6) * table of contents, short <1>: Macro arguments. (line 10) -* table of contents, short: Contents. (line 54) +* table of contents, short: Reading the .toc file. + (line 19) * tables: Tables. (line 6) * tabs: Obeying spaces. (line 22) +* TeX by Topic: Iteration. (line 61) +* TeX Frequently Asked Question: \ifinteger and \isinteger. + (line 26) +* TEXFORMATS: Installation. (line 43) +* texi2dvi <1>: Indexing. (line 34) +* texi2dvi <2>: Citations. (line 97) +* texi2dvi: Invoking Eplain. (line 103) * Texinfo: Introduction. (line 13) +* TEXINPUTS: Installation. (line 23) * time of day: Time of day. (line 6) +* toc files, writing several: Changing the .toc file's root name. + (line 12) * tracing: Diagnostics. (line 6) * trailing spaces and indexing commands: Indexing terms. (line 20) +* trimsee: Customizing indexing. + (line 67) * triple column output: Multiple columns. (line 6) * Tu, Loring W.: Construction of commutative diagrams. (line 13) +* TUGboat: Introduction. (line 60) * type, link and destination: Introduction to hyperlinks. - (line 85) + (line 88) * types, destination, dvipdfm: Destination types for pdftex and dvipdfm. (line 6) +* types, destination, hypertex: Destination types for hypertex. + (line 6) * types, destination, pdftex: Destination types for pdftex and dvipdfm. (line 6) * types, link, dvipdfm: Link types for pdftex and dvipdfm. (line 6) +* types, link, hypertex: Link types for hypertex. + (line 6) * types, link, pdftex: Link types for pdftex and dvipdfm. (line 6) * typesetting an index: Typesetting an index. (line 6) * undefined control sequence, checking for: \ifundefined. (line 10) -* undefined labels, warnings about: Installation. (line 25) +* undefined labels, warnings about: Installation. (line 40) * underline hyperlink border: Link options for pdftex and dvipdfm. (line 26) +* underlining: Packages known to work. + (line 110) * underlining page numbers in index: Page list and page range parsers. (line 26) * universal mapping property: Construction of commutative diagrams. (line 25) * unordered lists: Lists. (line 6) +* upgrading: Installation. (line 6) * URL for ifpdf.sty: Checking for PDF output. (line 24) * URL for MakeIndex: Indexing. (line 14) -* URL for path.sty: Paths. (line 31) +* URL for path.sty: Paths. (line 33) * URL for pdfTeX: Checking for PDF output. (line 6) * URL for texnames.sty: Logos. (line 14) * URL hyperlink <1>: Link types for pdftex and dvipdfm. - (line 56) -* URL hyperlink: URL hyperlinks. (line 6) + (line 25) +* URL hyperlink <2>: Link types for hypertex. + (line 14) +* URL hyperlink <3>: URL hyperlinks. (line 6) +* URL hyperlink: General hyperlinks. (line 20) +* url.sty <1>: Hyperlinks (xhyper.tex). + (line 6) +* url.sty <2>: URL hyperlinks. (line 6) +* url.sty: Packages known to work. + (line 118) * user-inaccessible macros: Category codes. (line 19) * vectors: Slanted lines and vectors. (line 15) * verbatim listing: Verbatim listing. (line 6) +* verbatim listing, demo: Highlighting TeX comments in listings (lscommnt.tex). + (line 6) +* verbatim text, in index: Index entries with special characters. + (line 40) +* verbatim text, in table of contents: Writing the .toc file. + (line 50) * version number: Introduction. (line 47) +* Walden, David: Introduction. (line 57) * Warner, Frank W.: Construction of commutative diagrams. (line 25) -* whatsits made by index entries: Indexing commands. (line 63) -* whatsits, made by hyperlinks: Hyperlink driver nolinks. +* whatsits made by hyperlinks: Hyperlink driver nolinks. (line 25) +* whatsits made by index entries: Indexing commands. (line 63) +* while loops: Iteration. (line 6) * whitespace: Obeying spaces. (line 6) * width, hyperlink border: Link options for pdftex and dvipdfm. (line 50) +* writing several toc files: Changing the .toc file's root name. + (line 12) +* xcolor.sty: Packages known not to work. + (line 19) +* xdvi: Hyperlink driver hypertex. + (line 11) +* xeplain.tex: Introduction. (line 6) +* xhyper.tex: Hyperlinks (xhyper.tex). + (line 6) * Zassenhaus, Hans: Construction of commutative diagrams. (line 122) * zooming, hyperlink destination: Destination options for pdftex and dvipdfm. @@ -6311,112 +7736,128 @@ Concept index Tag Table: -Node: Top745 -Node: Introduction6915 -Node: Installation9557 -Node: Invoking Eplain11603 -Node: User definitions16060 -Node: Diagnostics17887 -Node: Rules19456 -Node: Citations20289 -Node: Formatting citations26131 -Node: Formatting bibliographies27677 -Node: Displays30506 -Node: Formatting displays31553 -Node: Time of day32225 -Node: Lists32986 -Node: Formatting lists35143 -Node: Verbatim listing37439 -Node: Contents39568 -Node: Cross-references43314 -Node: Defining generic references44798 -Node: Using generic references45676 -Node: Page references46967 -Node: Equation references47790 -Node: Formatting equation references50542 -Node: Subequation references52837 -Node: Indexing54758 -Node: Indexing terms56759 -Node: Indexing commands57830 -Node: Modifying index entries60859 -Node: Proofing index terms63559 -Node: Typesetting an index65358 -Node: Customizing indexing67825 -Node: Justification71524 -Node: Tables73205 -Node: Margins75757 -Node: Multiple columns77918 -Node: Footnotes79903 -Node: Fractions82491 -Node: Paths83278 -Node: Logos84883 -Node: Boxes85570 -Node: Checking for PDF output87368 -Node: Loading LaTeX packages88459 -Node: The \usepackage command89808 -Node: Environment for loading packages90898 -Node: Packages known to work91877 -Node: Packages known not to work94336 -Node: Hyperlinks94837 -Node: Introduction to hyperlinks95420 -Node: Explicit hyperlinks100808 -Node: Implicit hyperlinks102761 -Node: URL hyperlinks104418 -Node: Citation hyperlinks105171 -Node: List hyperlinks105903 -Node: Cross-reference hyperlinks106297 -Node: Page reference hyperlinks107677 -Node: Equation reference hyperlinks108341 -Node: Index hyperlinks109739 -Node: Exact destinations for index terms111503 -Node: Page destinations for index terms113679 -Node: Choosing destination placement116307 -Node: Index page list and page range parsers117099 -Node: Hyperlinks in see and see also entries117652 -Node: Footnote hyperlinks118451 -Node: Contents hyperlinks119256 -Node: Hyperlink drivers119637 -Node: Options supported by all drivers120242 -Node: Hyperlink drivers pdftex and dvipdfm123056 -Node: Destination types for pdftex and dvipdfm123709 -Node: Destination options for pdftex and dvipdfm127173 -Node: Link types for pdftex and dvipdfm129583 -Node: Link options for pdftex and dvipdfm133004 -Node: Hyperlink driver nolinks136660 -Node: Setting hyperlink types and options138809 -Node: Setting default types and options139811 -Node: Setting group types140567 -Node: Setting group options141760 -Node: Turning hyperlinks on/off144250 -Node: Turning low-level commands on/off144888 -Node: Turning hyperlinks on/off for a group145401 -Node: Arrow theoretic diagrams146558 -Node: Slanted lines and vectors146925 -Node: Commutative diagrams149007 -Node: Arrows and morphisms149606 -Node: Construction of commutative diagrams154084 -Node: Commutative diagram parameters161276 -Node: Programming definitions163095 -Node: Category codes164085 -Node: Allocation macros166696 -Node: Iteration168844 -Node: Macro arguments169450 -Node: Converting to characters171951 -Node: Expansion173342 -Node: \csn and \ece173862 -Node: \edefappend174428 -Node: Hooks174977 -Node: Properties177163 -Node: \expandonce178248 -Node: \ifundefined178697 -Node: \futurenonspacelet179271 -Node: Obeying spaces179857 -Node: Writing out numbers180888 -Node: Mode-specific penalties181211 -Node: Auxiliary files181943 -Node: User-defined environments182866 -Node: Page list and page range parsers184082 -Node: Macro index186219 -Node: Concept index244956 +Node: Top824 +Node: Introduction8097 +Node: Installation11064 +Node: Invoking Eplain13116 +Node: User definitions17568 +Node: Diagnostics19395 +Node: Rules20965 +Node: Citations21798 +Node: Formatting citations27641 +Node: Formatting bibliographies29187 +Node: Displays32016 +Node: Formatting displays33063 +Node: Time of day33735 +Node: Lists34496 +Node: Formatting lists36655 +Node: Verbatim listing38951 +Node: Contents41680 +Node: Writing the .toc file42351 +Node: Reading the .toc file45219 +Node: Changing the .toc file's root name46629 +Node: Alternative contents files47649 +Node: Cross-references48214 +Node: Defining generic references49699 +Node: Using generic references50577 +Node: Page references51868 +Node: Equation references52692 +Node: Formatting equation references55445 +Node: Subequation references57745 +Node: Indexing59668 +Node: Indexing terms61671 +Node: Indexing commands62784 +Node: Modifying index entries65812 +Node: Index entries with special characters68529 +Node: Proofing index terms72788 +Node: Typesetting an index74601 +Node: Customizing indexing77068 +Node: Justification80775 +Node: Tables82454 +Node: Margins85009 +Node: Multiple columns87170 +Node: Footnotes89154 +Node: Fractions91741 +Node: Paths92528 +Node: Logos94135 +Node: Boxes94822 +Node: Checking for PDF output96620 +Node: Loading LaTeX packages97711 +Node: The \usepackage command99059 +Node: Environment for loading packages100149 +Node: Packages known to work102216 +Node: Packages known not to work108621 +Node: Hyperlinks109383 +Node: Introduction to hyperlinks109966 +Node: Explicit hyperlinks115522 +Node: Implicit hyperlinks117812 +Node: General hyperlinks119634 +Node: URL hyperlinks121102 +Node: Citation hyperlinks123131 +Node: List hyperlinks123863 +Node: Cross-reference hyperlinks124257 +Node: Page reference hyperlinks125637 +Node: Equation reference hyperlinks126301 +Node: Index hyperlinks127699 +Node: Exact destinations for index terms129463 +Node: Page destinations for index terms131639 +Node: Choosing destination placement134267 +Node: Index page list and page range parsers135059 +Node: Hyperlinks in see and see also entries135612 +Node: Footnote hyperlinks136411 +Node: Contents hyperlinks137609 +Node: Hyperlink drivers137992 +Node: Options supported by all drivers138627 +Node: Hyperlink driver hypertex141431 +Node: Destination types for hypertex144383 +Node: Destination options for hypertex145422 +Node: Link types for hypertex145904 +Node: Link options for hypertex147925 +Node: Hyperlink drivers pdftex and dvipdfm148949 +Node: Destination types for pdftex and dvipdfm149595 +Node: Destination options for pdftex and dvipdfm153094 +Node: Link types for pdftex and dvipdfm155549 +Node: Link options for pdftex and dvipdfm159088 +Node: Hyperlink driver nolinks162727 +Node: Setting hyperlink types and options165139 +Node: Setting default types and options166141 +Node: Setting group types167570 +Node: Setting group options168763 +Node: Turning hyperlinks on/off171253 +Node: Turning low-level commands on/off171891 +Node: Turning hyperlinks on/off for a group172404 +Node: Arrow theoretic diagrams173561 +Node: Slanted lines and vectors173928 +Node: Commutative diagrams176010 +Node: Arrows and morphisms176609 +Node: Construction of commutative diagrams181087 +Node: Commutative diagram parameters188279 +Node: Programming definitions190098 +Node: Category codes191099 +Node: Allocation macros193709 +Node: Iteration195857 +Node: Macro arguments197516 +Node: Converting to characters200015 +Node: Expansion201407 +Node: \csn and \ece201970 +Node: \edefappend202536 +Node: Hooks203085 +Node: Properties205271 +Node: \expandonce206356 +Node: \ifundefined206805 +Node: \ifempty207369 +Node: \ifinteger and \isinteger208112 +Node: \futurenonspacelet209150 +Node: Obeying spaces209749 +Node: Writing out numbers210780 +Node: Mode-specific penalties211103 +Node: Auxiliary files211835 +Node: User-defined environments212758 +Node: Page list and page range parsers213973 +Node: Demo files216110 +Node: Hyperlinks (xhyper.tex)216678 +Node: Highlighting TeX comments in listings (lscommnt.tex)224997 +Node: Macro index227421 +Node: Concept index289457 End Tag Table |