From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [bug] latex fragment preview with dvipng ignores :foreground specification Date: Tue, 16 Apr 2013 11:48:22 +0200 Message-ID: <878v4iolg9.fsf@bzg.ath.cx> References: <878v7g27f7.fsf@ucl.ac.uk> <12554.1359160368@alphaville> <87sj5ncxt2.fsf@ucl.ac.uk> <87622ijg6s.fsf@gmail.com> <87fw1laa7t.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US2V6-00044Z-On for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 05:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US2V0-0002Oh-Lz for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 05:48:32 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:54094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US2V0-0002OZ-Fh for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 05:48:26 -0400 Received: by mail-wg0-f51.google.com with SMTP id b13so261246wgh.6 for ; Tue, 16 Apr 2013 02:48:25 -0700 (PDT) In-Reply-To: <87fw1laa7t.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 28 Jan 2013 20:41:18 +1030") 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: Eric S Fraga Cc: Myles English , emacs-orgmode@gnu.org, Nick Dokos Hi Eric, Eric S Fraga writes: > This leads me to suggest that both cases (dvipng > and imagemagick) use the same latex code and, in fact, it may be > possible to fold both functions org-create-formula-image-with-dvipng and > org-create-formula-image-with-imagemagick into one... I would welcome such a refactoring, because there is obviously some redundancy here. But I felt too lazy to tackle this so far, and I guess I won't be tackling this before long. So the door is open for anyone to enter! Best, -- Bastien