[texhax] Gobbling three-argument commands redux

Lucas (a.k.a T-Bird or bsdfan3) tbird-contact at cox.net
Thu Apr 12 13:55:55 CEST 2007


This simply isn't working...(check the attached logfile)

Can anyone tell me what is wrong?

Karl Berry wrote:

>    How do I save/restore the original definition of \addcontentsline in 
>    that scheme?
>
>Don't know if it works, but:
>
>\let\saveacl=\addcontentsline
>\def\addcontentsline#1#2#3{}
>
>\include{gpl.tex}
>
>\let\addcontentsline=\saveacl
>
>
>By the way, it seems fdl.tex was apparently created as a standalone
>document (with \documentclass, etc.), rather than as a chapter.
>(gpl.tex is a \chapter.)
>
>Maybe the simplest way would be to make a pdf or whatever and then
>include that.
>
>Good luck,
>Karl
>
>
>  
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ThunderRegulator.tex
Url: http://tug.org/pipermail/texhax/attachments/20070412/b23aa99e/attachment-0004.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fdl.tex
Url: http://tug.org/pipermail/texhax/attachments/20070412/b23aa99e/attachment-0005.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gpl-2.0.tex
Url: http://tug.org/pipermail/texhax/attachments/20070412/b23aa99e/attachment-0006.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ThunderRegulator.log
Url: http://tug.org/pipermail/texhax/attachments/20070412/b23aa99e/attachment-0007.pl 


More information about the texhax mailing list