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 all works fine when I add |--no-split|.

Yes, I don't get this error with texi2any 7.2, or the development version
with git (which is building now).

After running: 

texi2any --html src-hl.texi -c HIGHLIGHT_SYNTAX='source-highlight'

- the output directory has the following files:

$ ls src-hl_html/
index.html  src-hl_highlight_C_input.C  src-hl_highlight_C_output.html


> Don't know why I get different results. Maybe I didn't install texinfo
> correctly or don't have my envvars set correctly to get the right stuff from
> texinfo? I do have the system texinfo (7.1) installed, but my 7.2 build is
> in a separate directory.
> 
> ​

There is a chance the installations are interfering with each other, but
it seems unlikely.  texi2any 7.2 should access its files in a directory like
/usr/local/share/texi2any (/usr/local/share/texi2any/ext/highlight_syntax.pm
for the syntax highlighting module).  In 7.1 and earlier
/usr/local/share/texinfo was used instead.

Reply via email to