emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Very large svg file output from latex block using =#+header: :imagemagick=
Date: Sat, 2 Nov 2013 16:31:02 -0500	[thread overview]
Message-ID: <CA+M2ft-6cGns4EfOy=QXhhM0AFWJUV8NDu2N6WvaGFyroetEMQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2013-11-02 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-02 21:31 John Hendy [this message]
2013-11-03  1:31 ` Very large svg file output from latex block using =#+header: :imagemagick= Vladimir Lomov
2013-11-04  9:39 ` Andreas Leha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+M2ft-6cGns4EfOy=QXhhM0AFWJUV8NDu2N6WvaGFyroetEMQ@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).