emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: Can't set background color of latex fragment


From: Sébastien Miquel
Subject: Bug: Can't set background color of latex fragment
Date: Wed, 7 Apr 2021 21:38:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0


To reproduce with `emacs -Q` :
 - Open an org buffer
 - Call ~(setq org-format-latex-options '(:foreground default
   :background "Black" :matchers ("$")))~
 - Call =C-c C-x C-l= (org-latex-preview) on a latex fragment such as
   $abc$

This bug was introduced by the commit 2f9e1569f which adds the option
`-bg Transparent` to the arguments of `dvipng`. According to its
manual, this option should be ignored if a background is already set,
but it doesn't seem to be. Perhaps org should set it differently.

--
Sébastien Miquel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]