Ihor Radchenko writes:
> It has been 2 months, so we need to decide what to do about the patch.
> We can either discard it or complete it ourselves.
> It is your call as ox-texinfo maintainer to decide whether the patch is
> important enough so that you spend your time completing it.
Sure, I can
Rudolf Adamkovič writes:
>> Then, it is probably Richard's turn to update the patch.
>
> Go, Richard, go! :)
It has been 2 months, so we need to decide what to do about the patch.
We can either discard it or complete it ourselves.
It is your call as ox-texinfo maintainer to decide whether the pa
Ihor Radchenko writes:
> Maybe an alist? Either way is fine.
Yup, exactly what Org LaTeX does; it solves virtually the same problem.
> Then, it is probably Richard's turn to update the patch.
Go, Richard, go! :)
Rudy
--
"Mathematics takes us still further from what is human into the region
o
Rudolf Adamkovič writes:
> Yes, this is all we need:
>
> 1. Look up BACKEND in `org-latex-src-block-backend'
> 2. Look up LANG in `org-latex-BACKEND-langs'
Correction: `org-texinfo-*' instead of `org-latex-*', of course.
TL;DR We mirror what Org LaTeX does.
Rudy
--
"We shall not cease fro
Rudolf Adamkovič writes:
>> On the other hand, simply allowing to specify @example appears to be
>> safe (I may be wrong), even if we happen to use language name that is
>> not supported by the highlighter.
>
> Yes, this is all we need:
>
> 1. Look up BACKEND in `org-latex-src-block-backend'
>
Ihor Radchenko writes:
> ...
Apologies for a late reply. I have been sick. :(
> Also, keep in mind that syntax highlighting is experimental and that the
> texinfo manual explicitly says
>
> Warning: Source highlighting is experimental; feedback is
> welcomed. The syntax of HIGHLIGHT_
Rudolf Adamkovič writes:
> Here are some things we could do...
>
> OPTION 1: Keep it simple, if a bit messy:
>
> Rename `org-texinfo-listings-langs' to `org-texinfo-langs', and make
> sure all languages Org supports OOTB map correctly to Highlight,
> Pygments, and GNU Source Highlight. Per
Richard Sent writes:
> I added org-texinfo-listings-langs. I'm not super familiar with the Org
> codebase so I might've missed something, but as far as I can tell it's
> functionally correct.
In the case of `org-latex-listings-langs', the word "listings" refers to
the LaTeX package with the same