Billy Lei <leiyixi...@outlook.com> writes: > Subject: [PATCH] org-preview-latex-process-alist: Add xdv support for latex > preview > > * lisp/org.el (org-preview-latex-process-alist): Add new process "xelatex" to > allow using xelatex to generate latex preview.
Thanks for the patch! > :image-size-adjust (1.7 . 1.5) > :latex-compiler ("latex -interaction nonstopmode -output-directory %o > %f") > :image-converter ("dvisvgm %f --no-fonts --exact-bbox --scale=%S > --output=%O")) > + (xelatex > + :programs ("xelatex" "dvisvgm") > + :description "xdv > svg" > + :message "you need to install the programs: xelatex and dvisvgm." > + :image-input-type "xdv" > + :image-output-type "svg" > + :image-size-adjust (1.0 . 1.0) Any reason you are using different value for :image-size-adjust here? Also, please update :package-version tag in the defcustom and announce the new value in the ORG-NEWS. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>