Nick Dokos <nicholas.do...@hp.com> wrote:

> 
> Seems to be caused by 149cc04782651e74764eb3188f6a6f178fe25f64, which is
> unfortunate since that fixes (at least I *think* it fixes) some problems
> when no default fore/background is defined (e.g. when emacs is run in
> batch mode). It would be nice if this could be fixed without reverting
> that commit completely.
> 

I should have added that the problem is in org-create-formula-image-with-dvipng,
in the code that tries to set the background around line 17616:

,----
|     ...
|     (if (eq bg 'default) (setq bg (org-dvipng-color :background))
|       (setq bg (org-dvipng-color-format bg)))
|     ...
`----

bg is "Transparent" and org-dvipng-color-format barfs on that,
since it cannot find it in the color "database".

Nick

Reply via email to