Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texlive's cweave does not work for a certain file #62

Closed
sjnam opened this issue Nov 21, 2022 · 3 comments
Closed

texlive's cweave does not work for a certain file #62

sjnam opened this issue Nov 21, 2022 · 3 comments
Labels

Comments

@sjnam
Copy link

sjnam commented Nov 21, 2022

Hello,

cweave which version is CWEAVE 4.7 (TeX Live 2022) doesn't work for
https://www-cs-faculty.stanford.edu/~knuth/programs/ssxc0.w file.

After cweave, doing tex has the following error message

This is TeX, Version 3.141592653 (TeX Live 2022) (preloaded format=tex)
(./ssxc0.tex (/usr/local/texlive/2022/texmf-dist/tex/plain/cweb/cwebmac.tex
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/iftex.sty)) *1
! Missing $ inserted.
<inserted text>
                $
<to be read again>
                   \nonscript
\Xmod ->\nonscript
                   \mskip -\medmuskip \mkern 5mu \mathbin {\rm mod}\penalty ...
l.39 \B\4\D\Xmod
                \5
?

but Knuth's original cweb(ftp://ftp.cs.stanford.edu/pub/cweb/cweb.tar.gz) works fine.

Thank you.

@ascherer ascherer added the bug label Nov 21, 2022
@ascherer
Copy link
Owner

This affects at least back-graceful-kmp3.w, dlx1.w, dlx2.w, dlx3.w, dlx5.w, dlx6.w, sat13.w, ssxc0.w, ssxc1.w, ssxcc0.w, ssxcc1.w, ssxcc2.w, ssxccdom.w.

@ascherer
Copy link
Owner

This commit is at fault: ascherer/cweb@56d37fb

ascherer added a commit to ascherer/cweb that referenced this issue Nov 21, 2022
This fixes issue ascherer/cwebbin#62 by
reentering math mode around all macros.
@ascherer
Copy link
Owner

Fixed in TL source tree (and in upstream CWEB 4.9).

norbusan pushed a commit to TeX-Live/texlive-source that referenced this issue Nov 21, 2022
See ascherer/cwebbin#62 for details.

git-svn-id: svn://tug.org/texlive/trunk/Build/source@65064 c570f23f-e606-0410-a88d-b1316a301751
tbodt pushed a commit to tex-mirror/tex-live that referenced this issue Nov 21, 2022
See ascherer/cwebbin#62 for details.

git-svn-id: svn://tug.org/texlive/trunk/Build/source@65064 c570f23f-e606-0410-a88d-b1316a301751
t-tk pushed a commit to texjporg/tex-jp-build that referenced this issue Nov 27, 2022
See ascherer/cwebbin#62 for details.

git-svn-id: svn://tug.org/texlive/trunk/Build@65064 c570f23f-e606-0410-a88d-b1316a301751
ascherer added a commit that referenced this issue Jan 8, 2023
ascherer added a commit that referenced this issue May 15, 2023
Fix issues #61, #62, and #64; clarify issue #63.

Use iftex.sty to test for TeX engine.
Revert a few occurrences of '\ifacro', synonymous for '\ifpdf'.

'$' is permitted in C identifiers (CTANGLE).
Add option '+u' for CTANGLE (poor man's UTF-8 transliteration).

Improve PDF validation, following advice from 3-Height PDF Validator.
NOS has 'count \I' subentries.
ascherer added a commit that referenced this issue May 16, 2023
Fix issues #61, #62, and #64; clarify issue #63.

Use iftex.sty to test for TeX engine.
Revert a few occurrences of '\ifacro', synonymous for '\ifpdf'.

'$' is permitted in C identifiers (CTANGLE).
Add option '+u' for CTANGLE (poor man's UTF-8 transliteration).

Improve PDF validation, following advice from 3-Height PDF Validator.
NOS has 'count \I' subentries.
ascherer added a commit that referenced this issue May 18, 2023
Fix issues #61, #62, and #64; clarify issue #63.

Use iftex.sty to test for TeX engine.
Revert a few occurrences of '\ifacro', synonymous for '\ifpdf'.

'$' is permitted in C identifiers (CTANGLE).
Add option '+u' for CTANGLE (poor man's UTF-8 transliteration).

Improve PDF validation, following advice from 3-Height PDF Validator.
NOS has 'count \I' subentries.
ascherer added a commit that referenced this issue May 18, 2023
Fix issues #61, #62, and #64; clarify issue #63.

Use iftex.sty to test for TeX engine.
Revert a few occurrences of '\ifacro', synonymous for '\ifpdf'.

'$' is permitted in C identifiers (CTANGLE).
Add option '+u' for CTANGLE (poor man's UTF-8 transliteration).

Improve PDF validation, following advice from 3-Height PDF Validator.
NOS has 'count \I' subentries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants