Re: Texinfo 7.2 pdf output for @example lisp

2025-07-16 Thread Raymond Toy
On 7/16/25 2:38 PM, Gavin Smith wrote: 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). Oops. Sorry! I used the versi

Unable to build Texinfo from git ("SWIG not found")

2025-07-16 Thread Gavin Smith
I'm now unable to build Texinfo from the git repository. After rerunning autogen.sh (as I couldn't run 'configure' due to an error message about tta/build-aux/py-compile being missing), configure doesn't complete: checking whether iconv converts EUC-CN to UTF-8... yes checking for newlocale... yes

Re: Texinfo 7.2 pdf output for @example lisp

2025-07-16 Thread Gavin Smith
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 lo

Highlight syntax with source-highlight produces error with split html output

2025-07-16 Thread Raymond Toy
I'm experimenting with HIGHLIGHT_SYNTAX=source-highligit. It works fine with --no-split and produces pretty nice highlighting. However, when I don't use --no-split, I get an error. An example error message: |makeinfo: warning: highlight_syntax.pm: could not open cmu-user_html/cmu-user_highli

Texinfo 7.2 pdf output for @example lisp

2025-07-16 Thread Raymond Toy
If I have a texinfo file that has |@example lisp (defun foo (x) (+ x x)) @end example | and do |texinfo --pdf|, (with texinfo 7.2), the pdf output looks like |lisp (defun foo (x) (+ x x)) | That is, "lisp" is produced. Works fine when converting to html; there's no extraneous "lisp" in the ou

Re: Info hook script for file not found?

2025-07-16 Thread Gavin Smith
On Wed, Jul 16, 2025 at 04:19:53PM +0200, Patrice Dumas wrote: > On Wed, Jul 16, 2025 at 12:57:03AM +0100, Gavin Smith wrote: > > This feature still needs work: > > > > * At what point do we run the hook - before checking for man pages, > > or after? E.g. if "tar.info" is not installed but the ta

Re: Info hook script for file not found?

2025-07-16 Thread Patrice Dumas
On Wed, Jul 16, 2025 at 12:57:03AM +0100, Gavin Smith wrote: > This feature still needs work: > > * At what point do we run the hook - before checking for man pages, > or after? E.g. if "tar.info" is not installed but the tar man page > is installed, should "info tar" run the hook, or display the