From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: [non-bug] org-latex-preview color breaks when "tikz" is in `org-export-latex-packages-alist' Date: Tue, 26 Jan 2010 00:11:18 -0700 Message-ID: <878wbltk5a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZfb0-00055J-Db for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 02:12:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZfau-00053q-39 for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 02:12:16 -0500 Received: from [199.232.76.173] (port=40860 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZfat-00053j-RZ for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 02:12:11 -0500 Received: from mail-iw0-f186.google.com ([209.85.223.186]:63211) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZfat-0001AE-KF for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 02:12:11 -0500 Received: by iwn16 with SMTP id 16so586270iwn.5 for ; Mon, 25 Jan 2010 23:12:11 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi, This isn't really an Org-mode problem, but I just spent some time running it down so I figured I'd share. If "tikz" in included in `org-export-latex-packages-alist' with something like (add-to-list 'org-export-latex-packages-alist '("" "tikz")) then, the command line -fg switch to dvipng doesn't work, meaning the foreground color of latex snippet previews will be dark even if Emacs has a dark background. luckily it's easy to remove tikz from my package-alist. Cheers -- Eric