Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-07-13 Thread Rudolf Adamkovič
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

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-06-19 Thread Ihor Radchenko
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

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-04-16 Thread Rudolf Adamkovič
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

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-04-16 Thread Rudolf Adamkovič
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

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-04-15 Thread Ihor Radchenko
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' >

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-04-15 Thread Rudolf Adamkovič
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_

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-04-12 Thread Ihor Radchenko
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

Re: [PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-04-05 Thread Rudolf Adamkovič
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