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

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Andreas Leha
Hi Julien, Julien Cubizolles j.cubizol...@free.fr 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

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Eric S Fraga
Julien Cubizolles j.cubizol...@free.fr 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

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 andreas.l...@med.uni-goettingen.de writes: The problem is in your external data file, I guess. What happens, is that org creates a temporary tex file in a

Re: [O] Problems with LaTeX source block

2013-07-16 Thread Julien Cubizolles
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk 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

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles j.cubizol...@free.fr 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:

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Julien Cubizolles
Hi Andreas Andreas Leha andreas.l...@med.uni-goettingen.de 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}

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles j.cubizol...@free.fr writes: Hi Andreas Andreas Leha andreas.l...@med.uni-goettingen.de writes: try that instead #+NAME: python-tikz #+header: :results raw :file py2tikz_sin.png #+header: :imagemagick yes :fit yes :headers '(\\usepackage{tikz,pgfplots})