Thanks, Norman. I think we figured it out. There is really no
mangling - just an "innocent" change with unexpected behaviour.
Your FAQ is very useful:

http://www.eecs.harvard.edu/nr/noweb/FAQ.html

Q. How do I get an output file (root chunk) with an underscore
  in its name? LaTeX complains about the underscore.

    A. All chunk names are set in ordinary TeX mode. This means
that underscore is a subscript character. Rather than use special
hacks, I just avoid underscores in file names, since I prefer to
use hyphens anyway. However, you can write a simple sed script to
filter the underscores for use by noweave:

      noweave -filter "sed '/[EMAIL PROTECTED] /s/_/\\_/g;/[EMAIL PROTECTED] 
/s/_/\\_/g'"

and the filter will change _ to \_ before TeX sees it. 

-----------

I've got to remember to check the FAQ more often.

Regards,
Bill Page.

> -----Original Message-----
> From: Norman Ramsey [mailto:[EMAIL PROTECTED] 
> Sent: October 22, 2006 6:38 PM
> To: Bill Page
> Cc: axiom-developer@nongnu.org; '[EMAIL PROTECTED]; 
> [EMAIL PROTECTED]; 'Reis''; 'Waldek Hebisch'
> Subject: Re: [Axiom-developer] build-improvements and latex 
> 
> 
>  > I think we should ask Norman Ramsey about this "name mangling".
>  > 
>  > Does it have a nice solution that would allow us to use
>  > the version(s) of noweb distributed by Debian?
> 
> Sounds like you guys have a local hack.
> 
> The underscore issue is a FAQ.
> 
> 
> Norman
> 




_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to