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