Date:
Fri, 1 Apr 2005 22:01:24 +0200
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
< [log in to unmask]> (Uwe
Lück's message of "Fri, 1 Apr 2005 19:32:58
+0200")
Content-Type:
text/plain; charset=iso-8859-1
|
Uwe Lück <[log in to unmask]> writes:
> A package file with a proposal for dealing with the \@reinserts
> problem that has occupied the LaTeX-L list this week is attached.
Standard mistake. When redefining hook token registers, you need
_two_ extra control sequences, not one. Something like
\let\my@@output\output
\newtoks\output
\let\my@output\output
\output\expandafter{\the\my@@output}
\my@@output{whatever stuff I want and need
\the\my@output for recursing to the original}
If you use \the\output for recursing instead of \the\my@output, then
multiple packages doing the same trick will conflict, and not properly
daisy-chain.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
|
|
|