emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] ox-texinfo: Fix invalid syntax in Texinfo version detection


From: Max Nikulin
Subject: Re: [PATCH] ox-texinfo: Fix invalid syntax in Texinfo version detection code
Date: Tue, 7 Feb 2023 09:24:53 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 07/02/2023 04:42, Rudolf Adamkovič wrote:
--- a/lisp/ox-texinfo.el
+++ b/lisp/ox-texinfo.el
@@ -2030,7 +2030,7 @@ Once computed, the results remain cached."
                     (input-content
                      (concat (format "@setfilename %s" input-file) "\n"
                              "@node Top" "\n"
-                            (format "@displaymath{%s}" math-example) "\n")))
+                            (format "@math{%s}" math-example) "\n")))

Should not the format argument be corrected to have valid @displaymath snippet instead?

https://list.orgmode.org/87bkwud6ni.fsf@nicolasgoaziou.fr/
Re: [PATCH] Re: No mathematics in Texinfo exports. Thu, 21 Apr 2022 13:20:49 +0200

I do see @displaymath in my TeXinfo 6.8. Also,
https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Inserting-Math.html

So it is a fairly recent addition, since Texinfo 6.8 was released last
July. For example, it is not available in Debian stable. I don't know if
displaymath was stealthily supported before.





reply via email to

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