summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Huszagh <huszaghmatt@gmail.com>2020-12-14 09:18:53 +0100
committerBastien <bzg@gnu.org>2020-12-14 09:18:53 +0100
commit2af68d6a45600cb120514037be27f31550f5264a (patch)
tree068c844e14c87c65de28f8176585b817dfb61cf9
parent1af809c5730948fdab3555e32c203e1d57aaf354 (diff)
downloadorg-mode-2af68d6a45600cb120514037be27f31550f5264a.tar.gz
etc/ORG-NEWS: Add an entry
-rw-r--r--etc/ORG-NEWS22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index f1967f0..d685f30 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -59,6 +59,28 @@ relative links within a project as follows:
(abbreviate-file-name path))))))
#+end_src
+*** New options and new behavior for babel LaTeX SVG image files
+
+Org babel now uses a two-stage process for converting latex source
+blocks to SVG image files (when the extension of the output file is
+~.svg~). The first stage in the process converts the latex block into
+a PDF file, which is then converted into an SVG file in the second
+stage. The TeX->PDF part uses the existing infrastructure for
+~org-babel-latex-tex-to-pdf~. The PDF->SVG part uses a command
+specified in a new customization,
+~org-babel-latex-pdf-svg-process~. By default, this uses inkscape for
+conversion, but since it is fully customizable, any other command can
+be used in its place. For instance, dvisvgm might be used here. This
+two-part processing replaces the previous use of htlatex to process
+LaTeX directly to SVG (htlatex is still used for HTML conversion).
+
+Conversion to SVG exposes a number of additional customizations that
+give the user full control over the contents of the latex source
+block. ~org-babel-latex-preamble~, ~org-babel-latex-begin-env~ and
+~org-babel-latex-end-env~ are new customization options added to allow
+the user to specify the preamble and code that preceedes and proceeds
+the contents of the source block.
+
** New features
*** =ob-python= improvements to =:return= header argument