[PATCH v1 1/1] Short Sample: show how to avoid warning: node `[...]' unreferenced.

2025-07-18 Thread Denis 'GNUtoo' Carikli
While the current Short Sample work fine, if we remove the second section and run run the following command: makeinfo -D "VERSION 0.1" -D "UPDATED now" shortsample.texi' we end up with the following warning: shortsample.texi:50: warning: node `First Section' unreferenced According to the 'U

[PATCH v1 0/1] Short Sample: show how to avoid warning: node `[...]' unreferenced.

2025-07-18 Thread Denis 'GNUtoo' Carikli
Hi, During work on the GNU Boot manual, I stumbled upon some "warning: node `[...]' unreferenced" warnings. Having these warnings didn't look very logical to me since the Short Sample provided in the texinfo manual didn't have them and also didn't do anything special to avoid them. But if we re

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

2025-07-18 Thread Gavin Smith
On Fri, Jul 18, 2025 at 06:46:35PM +0200, Andreas Schwab wrote: > > -- Macro: AC_ARG_WITH (PACKAGE, HELP-STRING, [ACTION-IF-GIVEN], > > [ACTION-IF-NOT-GIVEN]) > > > > The option now looks like it was given, so the third argument to > > AC_ARG_WITH, [ with_swig='yes' ], runs, leading to

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

2025-07-18 Thread Gavin Smith
On Fri, Jul 18, 2025 at 10:27:34AM -0700, Raymond Toy wrote: > Well, dang. I don't get this error anymore either. I didn't change anything. > > Oh, wait. If I remove src-hl_html/, I get the error. But if I run it again, > I don't. And the files are all there as you show. You figured it out. I'm

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

2025-07-18 Thread Raymond Toy
On 7/18/25 9:47 AM, Gavin Smith wrote: On Fri, Jul 18, 2025 at 08:43:21AM -0700, Raymond Toy wrote: |@include src-hl.c | I changed it to |#include src-hl.c | Now I get the message: |texi2any: warning: highlight_syntax.pm: could not open src-hl_html/src-hl_highlight_C_input.C: No such file o

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

2025-07-18 Thread Gavin Smith
On Fri, Jul 18, 2025 at 08:43:21AM -0700, Raymond Toy wrote: > |@include src-hl.c | > > I changed it to > > |#include src-hl.c | > > Now I get the message: > > |texi2any: warning: highlight_syntax.pm: could not open > src-hl_html/src-hl_highlight_C_input.C: No such file or directory | > > It a

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

2025-07-18 Thread Andreas Schwab
On Jul 18 2025, Gavin Smith wrote: > On Thu, Jul 17, 2025 at 02:28:20AM +0100, Gavin Smith wrote: >> The responsible code is in tta/configure.ac: >> >> >> - >> # SWIG interfaces >> >> # FIXME if enable_xs=yes and embedded_p

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

2025-07-18 Thread Raymond Toy
On 7/18/25 8:56 AM, Gavin Smith wrote: On Fri, Jul 18, 2025 at 08:43:21AM -0700, Raymond Toy wrote: Huh, this is weird. Perhaps I messed up building texinfo 7.2 from sources a while back? Anyway, with your test, I ran it. I get a message that it can't include src-hl.c. That seems to come from

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

2025-07-18 Thread Gavin Smith
On Fri, Jul 18, 2025 at 08:43:21AM -0700, Raymond Toy wrote: > Huh, this is weird. Perhaps I messed up building texinfo 7.2 from sources a > while back? > > Anyway, with your test, I ran it. I get a message that it can't include > src-hl.c. That seems to come from the line > > |@include src-hl.c

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

2025-07-18 Thread Raymond Toy
On 7/18/25 7:04 AM, Gavin Smith wrote: On Wed, Jul 16, 2025 at 02:27:25PM -0700, Raymond Toy wrote: 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 er

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

2025-07-18 Thread Gavin Smith
On Thu, Jul 17, 2025 at 02:28:20AM +0100, Gavin Smith wrote: > The responsible code is in tta/configure.ac: > > > - > # SWIG interfaces > > # FIXME if enable_xs=yes and embedded_perl=no, the interface will need > # to build

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

2025-07-18 Thread Gavin Smith
On Wed, Jul 16, 2025 at 02:27:25PM -0700, Raymond Toy wrote: > 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: warn