emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: No mathematics in Texinfo exports


From: Ihor Radchenko
Subject: Re: [PATCH] Re: No mathematics in Texinfo exports
Date: Sun, 05 Jun 2022 20:22:31 +0800

Rudolf Adamkovič <salutis@me.com> writes:

> Ihor Radchenko <yantar92@gmail.com> writes:
>
>> We are back to the previous comments on the patch itself. You need to
>> address the problem with older versions of texinfo. What will happen
>> if one tries to open a document generated with your patch using old
>> texinfo version? Will it render correctly?
>
> I compiled Texinfo 6.7, tried it, and it indeed trips over math.  So, do
> we declare a new Texinfo-specific "include math" variable that defaults
> to nil?  I ask because we already have 'org-export-with-latex' which,
> when set to nil, results in math-less exports.  The new variable would
> have the same effect, but just for Texinfo exports.  Does that raise any
> red flags?  Do you have any other thoughts?  Thank you!

Sounds reasonable in general.

`org-export-with-latex' is a global setting. I do not think that texinfo
equivalent should be global. It should only be declared inside
ox-texinfo.

As for the default value, it would be better if the option were set
depending on the installed Texinfo version. If the installed Texinfo
supports math, set it to t. Otherwise, nil. Of course, users will be
able to override the default as they wish.

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]