From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [bug] latex fragment preview with dvipng ignores :foreground specification Date: Sun, 27 Jan 2013 00:50:07 +1030 Message-ID: <87ham4do14.fsf@ucl.ac.uk> References: <878v7g27f7.fsf@ucl.ac.uk> <12554.1359160368@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz6cK-0007Fj-E5 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 09:20:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tz6cI-0000tJ-PM for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 09:20:24 -0500 Received: from co9ehsobe004.messaging.microsoft.com ([207.46.163.27]:41872 helo=co9outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz6cI-0000sm-HQ for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 09:20:22 -0500 In-Reply-To: <12554.1359160368@alphaville> (Nick Dokos's message of "Fri, 25 Jan 2013 19:32:48 -0500") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Eric S Fraga wrote: >> fragments is the most appealing mechanism. When I try to use >> org-preview-latex-fragment, the latex image is >> generated. Unfortunately, as I use a black background on my display, I >> cannot see the fragment as it is being generated with black text on a >> transparent background by default. Note, I am using dvipng for the >> image conversion. >> > > I tried the imagemagick setting, set the options variable to black background > and red foreground - lo and behold, that's what I get in the preview. Thanks for the suggestion. Should have tried that! However, it's not working for me; very strange. I have tried switching from dvipng to imagemagick but I get the same result (having cleaned out the ltxpng directory, restarted emacs, tried both #+OPTIONS: and direct variable setting, ...). Mind you, it's very late at night so I'm probably doing something stupid... I'm going to bed; I'll check again in the morning and will follow this up. Thanks again, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-874-gf11acc