Hello,

This is a follow-up on the discussion here, for a feature change that
was too late for the previous release:
https://lists.gnu.org/archive/html/bug-texinfo/2024-11/msg00127.html

The plan as described in the discussion above is to have HIGHLIGHT_SYNTAX
specify a command, which has input fragment and output fragment taken
from stdin/stdout and highlighted language prepended to the
commmand-line.

At the same time, I would like to keep the possibility to use the
current code, which adds checks on languages, possibly, mappings of
language, as well as default command line options.  Also for
source-highlight, the processus is quite different, with separators and
counts and only one file.

Therefore, it would be nice to have a way to specify the the built-in
code should be used.  The syntax could be, for the HIGHLIGHT_SYNTAX
customization option:

 default:highlight
 txi:highlight
 preset::source-highlight

or also with another separator than :.

Any idea, preference, comment?

-- 
Pat

Reply via email to