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

2013-12-11 Thread Nicolas Goaziou
Mark Edgington writes: > Nicolas Goaziou 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 pre

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

2013-12-11 Thread Mark Edgington
Nicolas Goaziou 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 export a PD

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

2013-12-11 Thread Nicolas Goaziou
Hello, Mark Edgington 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 that workaround

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 Mark Edgington
On Wed, Dec 11, 2013 at 3:46 AM, Eric S Fraga wrote: > Mark Edgington 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

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

2013-12-11 Thread Eric S Fraga
Mark Edgington 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? I have the f

[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} -$}