emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Question on latex source block


From: Nick Dokos
Subject: Re: [O] Question on latex source block
Date: Thu, 13 Sep 2012 03:58:11 -0400

Nick Dokos <address@hidden> 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

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