From mboxrd@z Thu Jan  1 00:00:00 1970
From: John Hendy <jw.hendy@gmail.com>
Subject: Very large svg file output from latex block using =#+header:
 :imagemagick=
Date: Sat, 2 Nov 2013 16:31:02 -0500
Message-ID: <CA+M2ft-6cGns4EfOy=QXhhM0AFWJUV8NDu2N6WvaGFyroetEMQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39911)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jw.hendy@gmail.com>) id 1Vcimf-0000y4-9V
	for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 17:31:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jw.hendy@gmail.com>) id 1Vcimd-0004nU-I5
	for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 17:31:05 -0400
Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:64995)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jw.hendy@gmail.com>) id 1Vcimd-0004nO-CL
	for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 17:31:03 -0400
Received: by mail-ob0-f180.google.com with SMTP id wo20so5811765obc.39
	for <emacs-orgmode@gnu.org>; Sat, 02 Nov 2013 14:31:02 -0700 (PDT)
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: emacs-orgmode <emacs-orgmode@gnu.org>

I'm trying to following along with the example here:
- http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#sec-4-3

I don't need dual export, so I tried this instead for straight html
compatible output:

#+header: :file tree.svg
#+header: :imagemagick
#+begin_src latex
  \usetikzlibrary{trees}
  \begin{tikzpicture}
    \node [circle, draw, fill=red!20] at (0,0) {1}
    child { node [circle, draw, fill=blue!30] {2}
      child { node [circle, draw, fill=green!30] {3} }
      child { node [circle, draw, fill=yellow!30] {4} }};
  \end{tikzpicture}
#+end_src

Should this work? I get this error:

org-babel-execute:latex: Can not create svg files, please specify a
.png or .pdf file or try the :imagemagick header argument

In perusing another thread, it looks like the argument might be
=:imagemagic yes=?
- http://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg01302.html

When I do that and run the above, I get a 30.9mb file as the .svg
output. Surely I'm doing something incorrectly?

Just pulled this morning before executing:

Org-mode version 8.2.1 (release_8.2.1-163-ge7397d @
/home/jwhendy/.elisp/org.git/lisp/)


Thanks for any suggestions!
John