Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
Hi Eric, Eric S Fraga writes: > Interesting. I have this behaviour as well in terms of background. I > use a dark theme on all of my windows, be they emacs or xterms. The png > generated by imagemagick sets the background to transparent which means > I cannot see the images produced as the a

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. Hi Andreas Andreas Leha writes: > The problem is in your external data file, I guess. > > What happens, is that org creates a temporary tex file in a temporary > directory (it is in /tmp

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Eric S Fraga
Julien Cubizolles writes: [...] > However, the following produces a png with only the axis displayed (but > the boundaries are wrong), the data points don't appear. Strangely, the > png produced is transparent: the background is the one of the Emacs buffer. Interesting. I have this behaviour a

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Andreas Leha
Hi Julien, Julien Cubizolles writes: > Hi Andreas, I forgot to send the following remarks in my previous > post. > > I encounter a problem with pgfplots. The following works, and produces a > png with a white background > #+NAME: python-tikz > #+header: :results raw :file py2tikz_sin.png > #+hea

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
Hi Andreas, I forgot to send the following remarks in my previous post. I encounter a problem with pgfplots. The following works, and produces a png with a white background #+NAME: python-tikz #+header: :results raw :file py2tikz_sin.png #+header: :imagemagick yes :fit yes :headers '("\\usepackage

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles writes: > Hi Andreas > > Andreas Leha writes: > >> try that instead >> >> #+NAME: python-tikz >> #+header: :results raw :file py2tikz_sin.png >> #+header: :imagemagick yes :fit yes :headers '("\\usepackage{tikz,pgfplots}") >> #+BEGIN_SRC latex :exports results >>

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Julien Cubizolles
Hi Andreas Andreas Leha writes: > try that instead > > #+NAME: python-tikz > #+header: :results raw :file py2tikz_sin.png > #+header: :imagemagick yes :fit yes :headers '("\\usepackage{tikz,pgfplots}") > #+BEGIN_SRC latex :exports results > \begin{tikzpicture} > \node[red!50!black] (a) {A}

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles writes: > I'm struggling with LaTeX source blocks and am not sure anymore if one > can use the :results file header. > > I have a csv file to be processed by tikz to get a png picture displayed > in my org buffer. > > Here is what I tried > > #+NAME: python-tikz >

[O] Problems with LaTeX source block

2013-07-15 Thread Julien Cubizolles
I'm struggling with LaTeX source blocks and am not sure anymore if one can use the :results file header. I have a csv file to be processed by tikz to get a png picture displayed in my org buffer. Here is what I tried #+NAME: python-tikz #+header: :results file :file py2tikz_sin.png #+header: :