diff options
Diffstat (limited to 'Master/texmf-dist/doc/plain/impatient/usermacs.tex')
-rw-r--r-- | Master/texmf-dist/doc/plain/impatient/usermacs.tex | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/plain/impatient/usermacs.tex b/Master/texmf-dist/doc/plain/impatient/usermacs.tex index 71d8d64bc26..dbf78ddb831 100644 --- a/Master/texmf-dist/doc/plain/impatient/usermacs.tex +++ b/Master/texmf-dist/doc/plain/impatient/usermacs.tex @@ -1,5 +1,5 @@ % This is part of the book TeX for the Impatient. -% Copyright (C) 2003 Paul W. Abrahams, Kathryn A. Hargreaves, Karl Berry. +% Copyright (C) 2003, 2014 Paul W. Abrahams, Kathryn A. Hargreaves, Karl Berry. % See file fdl.tex for copying conditions. \input macros @@ -629,18 +629,19 @@ You can also |\write| to |\tocfile| yourself. \tocfileopenedtrue \immediate\openout\tocfile = \jobname.toc \fi}% -\def\writenumberedtocentry#1#2#3{\ifrewritetocfile +\def\writetocentry#1#2{\ifrewritetocfile \opentocfile \write\tocfile{% \expandafter\noexpand \csname toc#1entry\endcsname - {#2}{#3}{\folio}}% -\ignorespaces\fi}% + {#2}{\folio}}% +\fi\ignorespaces}% +% \def\writenumberedtocentry#1#2#3{\ifrewritetocfile \opentocfile \write\tocfile{% \expandafter\noexpand \csname toc#1entry\endcsname {#2}{#3}{\folio}}% -\ignorespaces\fi}% +\fi\ignorespaces}% | To produce a table of contents, read the |.toc| file with |