[texhax] Gobbling three-argument commands redux
Lucas (a.k.a T-Bird or bsdfan3)
tbird-contact at cox.net
Wed Apr 4 14:09:58 CEST 2007
How do I save/restore the original definition of \addcontentsline in
that scheme? I'm using CWEB+LaTeX, which means that the woven LaTeX
might need \addcontentsline for its own purposes after the file
(correction, only one of the two files uses \addcontentsline) is read...
Karl Berry wrote:
> Alas, I am desperately trying to avoid modifying the files I am
> including, as they are LaTeX versions of the GNU GPL and FDL, which both
> have "do not modify this license" clauses in them.
>
>If it's just for formatting purposes, there's no problem with changing
>the license sources. Obviously the text itself should not be changed.
>
>
>
>> \addcontentsline{toc}{bla}{mumble} that I am trying to \Disable in order
>>
>>
>
>Maybe before reading the files, do
>\def\addcontentsline#1#2#3{}
>
>?
>
>
>
>
More information about the texhax
mailing list