mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 01:02:51 +00:00
org.el: Compute bounds exactly when converting LaTeX output to SVG
* lisp/org.el (org-preview-latex-process-alist): Call `dvisvgm' with `-e' (`--exact-bbox') instead of `-b min' (`--bbox=min') to measure the exact bounds around visual glyphs, as opposed to using font metrics, to avoid clipping at the edges. Link: https://orgmode.org/list/m2v8n4w00w.fsf@me.com
This commit is contained in:
parent
670f68bea2
commit
52ebf6b45e
|
@ -3243,7 +3243,7 @@ All available processes and theirs documents can be found in
|
|||
:image-output-type "svg"
|
||||
:image-size-adjust (1.7 . 1.5)
|
||||
:latex-compiler ("latex -interaction nonstopmode -output-directory %o %f")
|
||||
:image-converter ("dvisvgm %f -n -b min -c %S -o %O"))
|
||||
:image-converter ("dvisvgm %f -n -e -c %S -o %O"))
|
||||
(imagemagick
|
||||
:programs ("latex" "convert")
|
||||
:description "pdf > png"
|
||||
|
|
Loading…
Reference in a new issue