summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-02-24 11:21:40 +0100
committerBastien <bzg@gnu.org>2020-02-24 11:21:40 +0100
commit3a543a981b86fcd2d220b48ad9449771f2e6782c (patch)
tree3817ac8205c8b339091b8c0b3a7a9780d7cab61b
parent860cfe7f139779466eb9f5b02229172340660d58 (diff)
downloadorg-mode-3a543a981b86fcd2d220b48ad9449771f2e6782c.tar.gz
Enhancements to `org-latex-to-html-convert-command'
* lisp/org.el (org-latex-to-html-convert-command): Fix option. * etc/ORG-NEWS: Document `org-latex-to-html-convert-command' as a new option.
-rw-r--r--etc/ORG-NEWS5
-rw-r--r--lisp/org.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 7542d97..3fa35d6 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -247,6 +247,11 @@ and headings will be visually numeroted.
You can turn this on/off on a per-file basis with =#+startup: num= or
=#+startup: nonum=.
+*** New option ~org-latex-to-html-convert-command~
+
+This new option allows you to convert a LaTeX fragment directly into
+HTML.
+
*** New hook ~org-agenda-filter-hook~
Functions in this hook are run after ~org-agenda-filter~ is called.
diff --git a/lisp/org.el b/lisp/org.el
index dafdc99..07788e4 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -3209,10 +3209,10 @@ Replace format-specifiers in the command as noted below and use
For example, this could be used with LaTeXML as
\"latexmlc 'literal:%i' --profile=math --preload=siunitx.sty 2>/dev/null\"."
:group 'org-latex
- :package-version '(Org . "9.5")
+ :package-version '(Org . "9.4")
:type '(choice
(const :tag "None" nil)
- (string :tag "\nShell command")))
+ (string :tag "Shell command")))
(defcustom org-preview-latex-default-process 'dvipng
"The default process to convert LaTeX fragments to image files.