From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Edgington Subject: Re: TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together Date: Wed, 11 Dec 2013 10:06:14 -0500 Message-ID: References: <878uvrzsei.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqlNJ-00059J-1h for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:06:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqlNH-0002W9-Sw for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:06:56 -0500 Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:46411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqlNH-0002W3-MA for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:06:55 -0500 Received: by mail-ob0-f180.google.com with SMTP id wo20so7082718obc.11 for ; Wed, 11 Dec 2013 07:06:55 -0800 (PST) In-Reply-To: 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: emacs-orgmode Ok, I dug into the problem a little deeper, and it seems that it really can be considered a bug in the circuitikz code -- in order to remedy it for the present time, the circuitikz.code.tex file from this package should be modified, and the line: \ctikzset{color/.initial=black} must be removed / commented-out. Nonetheless, I do think that to make it easier for people to share org-mode files that use packages that are in some way buggy, having a way to specify #+LaTeX_HEADER options which only apply when generating preview images would be useful, so that workarounds for bugginess could be added on the org-mode side, instead of requiring all collaborators to patch their buggy libraries / packages. Regards, Mark