[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] build-improvements and latex
From: |
Waldek Hebisch |
Subject: |
Re: [Axiom-developer] build-improvements and latex |
Date: |
Mon, 23 Oct 2006 03:19:56 +0200 (CEST) |
Bill Page wrote:
> 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 '/address@hidden /s/_/\\_/g;/address@hidden
> /s/_/\\_/g'"
>
> and the filter will change _ to \_ before TeX sees it.
>
The filter from the FAQ does not work. I had to use:
noweave -filter 'sed "/address@hidden /s/_/\\\\_/g;/address@hidden
/s/_/\\\\_/g"'
(apstrophes inside filter interacted with quoting inside noweave).
--
Waldek Hebisch
address@hidden
- Re: [Axiom-developer] build-improvements and latex, (continued)
- Re: [Axiom-developer] build-improvements and latex, Waldek Hebisch, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Waldek Hebisch, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Waldek Hebisch, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Norman Ramsey, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex,
Waldek Hebisch <=
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Norman Ramsey, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Waldek Hebisch, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/23