Re: [BUG] Unable to use dvisvgm to preview LaTeX fragments when using dark theme

2025-04-18 Thread Billy Lei
在 2025/4/16 11:24, Karthik Chikmagalur 写道: After debugging, I found that it is because dvisvgm omitts the default #000 color value when generating SVG file, and emacs has a unique way of displaying the SVG, which caused foreground color to be applied to it. Just a note: this has been addressed

Re: [BUG] Unable to use dvisvgm to preview LaTeX fragments when using dark theme

2025-04-15 Thread Billy Lei
在 2025/4/15 2:02, Ihor Radchenko 写道: Billy Lei writes: When using themes with background color set to #00, and org-preview-default-process is set to dvisvgm, the LaTeX fragments are displayed incorrectly. To reduplicate: 1. Switch to a theme with background color set to #00 (like

[BUG] Unable to use dvisvgm to preview LaTeX fragments when using dark theme

2025-04-14 Thread Billy Lei
When using themes with background color set to #00, and org-preview-default-process is set to dvisvgm, the LaTeX fragments are displayed incorrectly. To reduplicate: 1. Switch to a theme with background color set to #00 (like Modus Vivendi) 2. Create an org-mode document. Write some L

Re: [PATCH] Add xdv support for latex preview

2025-03-28 Thread Billy Lei
在 2025/3/26 2:37, Ihor Radchenko 写道: Billy Lei 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

[PATCH] Add xdv support for latex preview

2025-03-22 Thread Billy Lei
Add a new proces "xelatex", which support using xelatex to generate xdv and dvisvgm to convert it to svg. This will add support for previewing LaTeX fragments with CJK characters.From 776e6d95d20afaef1a189383ce76e57384c3c2f4 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Sat, 22 Mar 2025 10:20:5