[pdftex] Problem with pdftex not finding \listing though eplain.tex read

david bone bone_david at mac.com
Wed May 15 00:15:38 CEST 2024


Hi pdftex support,
I am stumped.
I just ported my project that generates cweave -> tex file -> pdftex from a very old Apple high Sierra laptop onto an Apple MacBook m2 running latest Sonoma op system.

The problem is pdftex does not find “\listing” control sequence. The “eplain.tex” file is on my system. Below is output with error message:
I have vimed the “eplain.tex” file and control sequence is there.
I have also run with pdftex -kpathsea-debug 63 eol.tex
And it found it.
Here is an excerpt of pdftex tracing below.
My only thought is somehow pdftex internal table of command sequences is messed up.

Anyway any help is appreciated. If u like me to rebuild from source I am willing to learn / help by putting debug probs into the code. I have Xcode installed though I prefer doing it the old fashion way using make files as per my project/greying hair :}.
Regards
Dave bone

kdebug:db:match(/usr/local/texlive/2024/texmf-dist/doc/plain/impatient/eplain.tex,/usr/local/texlive/2024/texmf-dist/tex///) = 0
kdebug:db:match(/usr/local/texlive/2024/texmf-dist/doc/plain/impatient-fr/eplain.tex,/usr/local/texlive/2024/texmf-dist/tex///) = 0
kdebug:db:match(/usr/local/texlive/2024/texmf-dist/tex/eplain/eplain.tex,/usr/local/texlive/2024/texmf-dist/tex///) = 1
kdebug:returning from generic search([eplain.tex eplain]) => /usr/local/texlive/2024/texmf-dist/tex/eplain/eplain.tex
kdebug:fopen(/usr/local/texlive/2024/texmf-dist/tex/eplain/eplain.tex, rb) => 0x1fa3d4528

(/usr/local/texlive/2024/texmf-dist/tex/eplain/eplain.tex)kdebug:fclose(0x1fa3d4528) => 0


## pdftex run as normal.
davidbone at davids-MBP-2 grammars % pdftex eol.tex                                           
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./eol.tex (/usr/local/texlive/2024/texmf-dist/tex/plain/cweb/cwebmac.tex
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2024/texmf-dist/tex/plain/cweb/cwebacromac.tex))
(/usr/local/texlive/2024/texmf-dist/tex/eplain/eplain.tex)
(/usr/local/texlive/2024/texmf-dist/tex/context/base/mkii/supp-pdf.tex
(/usr/local/texlive/2024/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)) (/usr/local/yacco2/diagrams/o2mac.tex) *1 [1{/usr/local/texlive/2024/texmf-v
ar/fonts/map/pdftex/updmap/pdftex.map}] *2 *3 *4 [MP to PDF] (./eol.1) [2] *5
*6 [MP to PDF] (./eol.3) *7 [MP to PDF] (./eol.4) *8 [MP to PDF] (./eol.5) *9
[MP to PDF] (./eol.6) [3] *10
! Undefined control sequence.
l.113 \listing
              {"eol.fsc"}\fi
? ^Z 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pdftex/attachments/20240514/4008cc02/attachment-0003.htm>


More information about the pdftex mailing list.