(eplain.info)Changing the .toc file's root name


Next: Alternative contents files Prev: Reading the .toc file Up: Contents
Enter node , (file) or (file)node

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'.

   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).


automatically generated by info2www version 1.2.2.9