[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 7f4d91040a 3/3: ox-html: Use accurate MathJax versi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 7f4d91040a 3/3: ox-html: Use accurate MathJax versions |
Date: |
Wed, 23 Nov 2022 08:01:43 -0500 (EST) |
branch: externals/org
commit 7f4d91040a4fbf31fc78b250d4e47efb92e5fbd2
Author: Rudolf Adamkovič <salutis@me.com>
Commit: Ihor Radchenko <yantar92@posteo.net>
ox-html: Use accurate MathJax versions
* etc/ORG-NEWS (HTML export uses MathJax 3+ instead of MathJax 2):
* lisp/ox-html.el (org-html-mathjax-options): Mention Mathjax 4+
version support where applicable.
Reported-by: Rudolf Adamkovič <salutis@me.com>
Link: https://orgmode.org/list/m28rk2k8so.fsf@me.com
---
etc/ORG-NEWS | 2 +-
lisp/ox-html.el | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 1f79f8ae59..f9f859bab9 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -148,7 +148,7 @@ which now /must/ point to a file containing MathJax version
3 or
later. The new Org does /not/ work with the legacy MathJax 2.
Further, if you need to use a non-default ~font~ or ~linebreaks~ (now
-~overflow~), then the ~path~ must point to MathJax 3 or later.
+~overflow~), then the ~path~ must point to MathJax 4 or later.
See the updated ~org-html-mathjax-options~ for more details.
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 926bc225cd..86b10cbf78 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1185,8 +1185,8 @@ path The path to MathJax version 3 or later.
scale Scaling with HTML-CSS, MathML and SVG output engines.
align How to align display math: left, center, or right.
font The font to use with HTML-CSS and SVG output. Needs
- MathJax version 3+. MathJax 3 provides 11 fonts:
- \"mathjax-modern\" Latin-Modern font, default in MathJax 3+
+ MathJax version 4+. MathJax 4 provides 11 fonts:
+ \"mathjax-modern\" Latin-Modern font, default in MathJax 4+
\"mathjax-asana\" Asana-Math font
\"mathjax-bonum\" Gyre Bonum font
\"mathjax-dejavu\" Gyre DejaVu font
@@ -1198,7 +1198,7 @@ font The font to use with HTML-CSS and SVG
output. Needs
\"mathjax-euler\" Neo Euler font that extends Latin-Modern
\"mathjax-tex\" The original MathJax TeX font
overflow How to break displayed equations when too large. Needs
- MathJax 3 or newer. Supported options include
+ MathJax 4 or newer. Supported options include
\"overflow\", \"scale\", \"scroll\", \"truncate\",
\"linebreak\", and \"elide\".
linebreaks Let MathJax perform automatic linebreaks. Valid values
@@ -1238,7 +1238,7 @@ The legacy \"linebreaks\" option, with the value \"true\"
or
The legacy values of the \"font\" option, namely \"TeX\",
\"STIX-Web\", \"Asana-Math\", \"Neo-Euler\", \"Gyre-Pagella\",
\"Gyre-Termes\", \"Latin-Modern\", become converted to the
-corresponding MathJax 3+ font names.
+corresponding MathJax 4+ font names.
Legacy options and values always take precedence.
"