[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: No mathematics in Texinfo exports
From: |
Rudolf Adamkovič |
Subject: |
Re: [PATCH] Re: No mathematics in Texinfo exports |
Date: |
Wed, 15 Jun 2022 22:26:39 +0200 |
Ihor Radchenko <yantar92@gmail.com> writes:
> Sounds reasonable in general.
Ihor, thank you for guiding me through the process!
> `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.
That makes perfect sense. Please see the new patch attached to this
message. What do you think?
> 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.
I looked at both ox-texinfo.el and texinfo.el, and I found no function
or variable that would give the installed Texinfo version.
Do we pull the version from "makeinfo --version" and then parse it? If
so, does that functionality belong to Org (ox-texinfo.el) or Emacs
(texinfo.el) instead? I also wonder how we could test it so that it
will not break. I would appreciate any ideas and/or pointers from you.
Rudy
0001-ox-texinfo-Include-LaTeX-in-Texinfo-exports.patch
Description: Text Data
--
"Mathematics takes us still further from what is human into the region
of absolute necessity, to which not only the actual world, but every
possible world, must conform."
-- Bertrand Russell, 1902
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia