On Wed, Jul 16, 2025 at 02:13:43PM -0700, Raymond Toy wrote:
> If I have a texinfo file that has
> 
> |@example lisp (defun foo (x) (+ x x)) @end example |

(The line breaks are not present in the plaintext version of your
email).


> 
> and do |texinfo --pdf|, (with texinfo 7.2), the pdf output looks like
> 
> |lisp (defun foo (x) (+ x x)) |

"texi2any --pdf" just runs texi2pdf, which uses whichever version of
texinfo.tex is found.  I suspect that an older version is being used for
some reason.  The version of texi2any or texi2pdf being used doesn't
make much difference here.

I used the version of texinfo.tex distributed with Texinfo 7.2 and did
not replicate the error.  There should be a line like the following in
the output:

Loading texinfo [version 2024-12-30.21]: pdf, fonts, glyphs, page headings,

If you have a much older version being printed, that would explain the
error.  Check if you have an old "texinfo.tex" file in the same directory
as your source file.  You could also check where your installed version
is with "kpsewhich texinfo".  Even if you install Texinfo 7.2, the texinfo.tex
file is not upgraded automatically in the TeX installation.


> That is, "lisp" is produced. Works fine when converting to html; there's no
> extraneous "lisp" in the output.
> 
> ​

Reply via email to