On Mon, Sep 15, 2025 at 09:52:33PM +0200, Patrice Dumas wrote:
> On Sun, Sep 14, 2025 at 07:04:48PM +0100, Gavin Smith wrote:
> > On Sun, Sep 14, 2025 at 04:47:40PM +0200, Patrice Dumas wrote:
> > > Right now, with the development sources, you could call texi2any like:
> > > 
> > > ./texi2any.pl --html -c HIGHLIGHT_SYNTAX='pygmentize -f html -l ' 
> > > maxima.texi
> > > 
> > > to get the output you want (if I understood well).
> > > 
> > > Subject to change until an agreement is reached on the interface.
> > 
> > Is the language name automatically appended to the value of 
> > HIGHLIGHT_SYNTAX?
> > 
> > I think we should use a placeholder like %s so it would look like
> > 
> > We could use %l instead of %s although I slightly prefer %s.
> 
> After some thinking, %l seems more natural to me, and it would be more
> natural to extend if we want to add more placeholders in the future.

That's absolutely fine by me.

Reply via email to