emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Embedding diagrams in Org


From: Eric S Fraga
Subject: Re: [O] Embedding diagrams in Org
Date: Thu, 5 Mar 2015 08:12:34 +0000

On Wednesday,  4 Mar 2015 at 21:22, Andreas Leha wrote:

[...]

> The example I posted earlier in this thread [1] uses the *.tikz version for
> latex export.
> [...]
> [1] http://permalink.gmane.org/gmane.emacs.orgmode/95197

I had forgotten about that thread.  Very useful, in particular finding
an example that uses gnuplot to generate tikz output.  However, in
trying a simple example:

#+begin_src org
* gnuplot

#+latex_header: \usepackage{gnuplot-lua-tikz}

#+name: gnuplot2tikz
#+headers: :term "tikz size 15cm,15cm" :cache yes
#+begin_src gnuplot :file tikzgnuplot.tikz
plot sin(x)
#+end_src

#+results[ca28dda18a661b1eb77b4be5c23f5c1f1133629f]: gnuplot2tikz
[[file:tikzgnuplot.tikz]]

#+end_src

I found that the ~latex_header~ line was necessary as the tikz generated by 
gnuplot requires that package.

I'm putting this here as a /heads up/ for anybody else trying this.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org 
release_8.3beta-843-ga5f1a3.dirty



reply via email to

[Prev in Thread] Current Thread [Next in Thread]