[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Macros in headings
From: |
Torsten Bronger |
Subject: |
Macros in headings |
Date: |
Wed, 27 Nov 2002 18:11:05 +0100 |
Halloechen!
I have trouble with some macros in the .toc file
(i.e. they were in section headings):
I have defined
@macro tbook {}
@ifinfo
address@hidden
@end ifinfo
@ifnotinfo
@address@hidden
@end ifnotinfo
@end macro
which works nicely in all three outputs (dvi, html,
info).
I write somewhere in my tbook.texi
@chapter @tbook{}'s ``almost address@hidden'' formula syntax
and want to create a pdf. With "pdftex tbook" I get
=========================================================================
...
[2] (./tbook.toc (./tbook.tmp) [-1]) [-2] (./tbook.toc) (./tbook.toc
! TeX capacity exceeded, sorry [input stack size=30000].
<to be read again>
@expandafter
<to be read again>
@tbook
@cslet ...after @expandafter @csname address@hidden
@csname address@hidden
@tbook ->@norecurse {tbook}
@scanmacro address@hidden@address@hidden
address@hidden
<to be read again>
@macsave.tbook
@tbook ->@norecurse {tbook}
@scanmacro address@hidden@address@hidden
address@hidden
...
l.24 ...``almost La\TeX{}'' formula syntax}{5}{17}
! ==> Fatal error occurred, the output PDF file not finished!
Transcript written on tbook.log.
=========================================================================
Progressive killing of lines in tbook.toc confirmed that the @tbook{}
macro caused the error. Normal tex showed no problem.
Additionally, when I write in the texinfo source
@section Other XSLT processors: address@hidden, Xalan, @dots{}
the @tie{} works in the heading, but in the TOC of the dvi it's
collapsed to nothing. The line in the .toc file says:
\secentry{Other XSLT processors: Saxon\unhbox address@hidden \penalty
\tiepenalty
{}7, Xalan, \dots {}}{3}{7}{11}
I use a very recent texinfo.texi (\texinfoversion{2002-11-25.11}).
Tschoe,
Torsten.
- Macros in headings,
Torsten Bronger <=