Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-11 Thread Eric S Fraga
Mark Edgington edgi...@gmail.com writes: [...] Is there any way that I can make it so that without a lot of hacks I can make the previews appear as white-on-black, and the PDFs print black on white? Would something need to change with how org-mode handles previewing to make this possible?

Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-11 Thread Mark Edgington
On Wed, Dec 11, 2013 at 3:46 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Mark Edgington edgi...@gmail.com writes: [...] Is there any way that I can make it so that without a lot of hacks I can make the previews appear as white-on-black, and the PDFs print black on white? Would something need

Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-11 Thread Mark Edgington
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 /

Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-11 Thread Nicolas Goaziou
Hello, Mark Edgington edgi...@gmail.com writes: 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

Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-11 Thread Mark Edgington
Nicolas Goaziou n.goaziou at gmail.com writes: You can remove offending packages with `org-export-before-parsing-hook' if you don't want them to be used during the export process. Yes, but I need the package which is buggy. If I were to remove it, I couldn't preview latex fragements or

Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-11 Thread Nicolas Goaziou
Mark Edgington edgi...@gmail.com writes: Nicolas Goaziou n.goaziou at gmail.com writes: You can remove offending packages with `org-export-before-parsing-hook' if you don't want them to be used during the export process. Yes, but I need the package which is buggy. If I were to remove

[O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together

2013-12-10 Thread Mark Edgington
Hello everyone, Assume I have an org-mode file that contains the following: -- #+OPTIONS: tex:imagemagick #+LaTeX_HEADER: \usepackage[siunitx]{circuitikz} * Test circuit #+begin_lateX \begin{circuitikz}[scale = 1.0] \draw (0,0) node[anchor=east]{$V_{in} -$}