From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Embedding diagrams in Org Date: Thu, 5 Mar 2015 08:12:34 +0000 Message-ID: <87vbif6ex9.fsf@ucl.ac.uk> References: <87bnkr8kkg.fsf@wmi.amu.edu.pl> <874mq0d0zg.fsf@amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTQtl-0007oB-P8 for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 03:12:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTQth-0000Ca-M0 for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 03:12:49 -0500 Received: from mail-am1on0143.outbound.protection.outlook.com ([157.56.112.143]:31520 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTQth-0000CT-Dk for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 03:12:45 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Leha Cc: emacs-orgmode@gnu.org 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