> In the GNU ms macros, the name "HD" seems to be reserved
> for a user-supplied page header and/or footer macro, which
> (if it exists) gets called at some place during the page
> initialization.  Since you have defined HD, this gets called,
> and in turn calls XS and XE but with no useful text (since
> \\$2 is empty if HD is called without arguments), thus
> creating the empty TOC entry.
> 
> So, to answer your question: it is okay to define macros
> in the document, but you have to be careful to choose names
> which are not already used (unless you want to overwrite a
> particular macro on purpose).

Thank you very much, Tadziu.

Anton



Reply via email to