Richard Sent <rich...@freakingpenguin.com> writes:

> * lisp/ox-texinfo.el (org-texinfo-src-block): Preserve the language
> field during export.
> * etc/ORG-NEWS (Version 9.8): Add news entry.
> ---
> Hello all,
>
> When exporting source blocks to Texinfo, the language is removed
> (unless it is lisp). This hurts the ability to use the Texinfo files
> to generate additional documentation, such as (info "(texinfo) Syntax
> Highlighting").

CCing the maintainer.

Note, however, that
https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Syntax-Highlighting
may or may not understand the src block language names as they are used
in Org. We may want some kind of dictionary to translate Org's language
to language supported by highlight/pygments/source-highlight. Something
akin `org-latex-listings-langs'.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to