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

> Ihor Radchenko <yanta...@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