#218048 noweave -latex should quote _ in chunk names

Package:
nowebm
Source:
noweb
Submitter:
Yann Dirson
Date:
2025-07-28 22:31:02 UTC
Severity:
normal
Tags:
#218048#5
Date:
2003-10-28 21:38:09 UTC
From:
To:
If I want to generate a file whose name contains underscores (or probably
any other chars special to LaTeX), and I use a named root chunk for this, then
the file generated by "noweave -latex" cannot be processed since those chars
are not quoted, and cause syntax errors.

It can be worked around by sed'ing the generated TeX, but that's ugly.

#218048#10
Date:
2003-10-28 23:41:59 UTC
From:
To:
Il mar, 2003-10-28 alle 22:38, Yann Dirson ha scritto:

i'll try a fast jab at it and forward the bug (or te fix) upstream in a
few days.

#218048#15
Date:
2003-11-01 22:23:40 UTC
From:
To:
Cool!

FWIW, at least '$' is to be treated the same way.

Thanks much,

#218048#24
Date:
2003-11-03 08:40:05 UTC
From:
To:
hi, this is what norman ramsey told me. i have already tagged this bug
"wontfix" but if you agree i'd like to add a note to README.Debian and
close it.

"""
This is in the FAQ. It is a feature, not a bug.  The ability to put
mathematical formulae in chunk names is more important than
accomodating people who can't be bothered to filter or otherwise fix
their file names.
"""

let me know,
federico