From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Question on latex source block Date: Thu, 13 Sep 2012 03:58:11 -0400 Message-ID: <7098.1347523091@alphaville> References: <40C7B1BFC291ED4E9D10436D07736A3347089E653C@EXMAIL7.haas.uc.berkeley.edu> <8243.1347174432@alphaville> <87bohfywdt.fsf@gmx.com> <13524.1347212661@alphaville> <87ligj6l57.fsf@gmx.com> <87pq5q4g3x.fsf@gmail.com> <6910.1347521290@alphaville> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC4JY-0007TH-EC for emacs-orgmode@gnu.org; Thu, 13 Sep 2012 03:58:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TC4JS-0002HX-Mt for emacs-orgmode@gnu.org; Thu, 13 Sep 2012 03:58:20 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:28011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC4JS-0002HI-GV for emacs-orgmode@gnu.org; Thu, 13 Sep 2012 03:58:14 -0400 In-Reply-To: Message from Nick Dokos of "Thu, 13 Sep 2012 03:28:10 EDT." <6910.1347521290@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K , Richard Stanton , "emacs-orgmode@gnu.org" , Eric Schulte Nick Dokos 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