> I would say that changing the default :background to transparent is > justified, but such a change would only go on main branch, just to be > immediately canceled by the new preview system. So, I'd rather wait > until we merge the preview branch. > > Also, Karthink, may you please point me to the code on your branch that > is dealing with :background default?
https://code.tecosaur.net/tec/org-mode/src/branch/dev/lisp/org-latex-preview.el#L59 https://code.tecosaur.net/tec/org-mode/src/branch/dev/lisp/org-latex-preview.el#L3211 org-latex-preview-appearance-options is the replacement for org-format-latex-options. > It looks like on main dvisvgm is putting rectangle with no color > specification when we request black background - it is something Emacs > does display differently from other svg viewers. Will things on your > branch be different? I tested setting the :background to Black and other colors in the preview branch -- dvisvgm works as expected in all cases. I'm not sure why it works differently on main. Karthik