ATEXIT
takes one parameter list as argument. The text of the
parameter list is appended to the output file. Note that this text is subject
to character table translations etc..
A good example of the usage of this macro is the following. A document in the
LaTeX typesetting language requires \end{document}
to occur at the end of
the document. To automatically append this string to the output file, the
following specification can be used:
ATEXIT(NOEXPAND(\end{document}))
Several ATEXIT
lists can be defined. They are appended to the output file
in the reverse order of specification; i.e., the first ATEXIT
list is
appended to the output file last. That means that in general the ATEXIT
text should be specified when a `matching' starting command is sent to the
output file; as in:
COMMENT(Start the LaTeX document.) NOEXPAND(\begin{document}) COMMENT(Make sure that the ending is on time.) ATEXIT(NOEXPAND(\end{document}))
Please send Yodl questions and comments to yodl@icce.rug.nl.
Please send comments on these web pages to
(address unknown),
send other FSF & GNU inquiries and questions to
Copyright (c) 1998 Karel Kubat and Jan Nieuwenhuizen
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.