From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Best diagram, image software? Date: Thu, 06 Oct 2016 18:05:38 -0400 Message-ID: References: <86a8eio8nh.fsf@gmail.com> <1475772532.3845152.748012049.6BB86C20@webmail.messagingengine.com> <1475778189.3867253.748106865.16EF87C3@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsGnW-0001NT-0b for emacs-orgmode@gnu.org; Thu, 06 Oct 2016 18:05:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsGnS-0001cP-Ox for emacs-orgmode@gnu.org; Thu, 06 Oct 2016 18:05:49 -0400 Received: from mail-ua0-x22d.google.com ([2607:f8b0:400c:c08::22d]:34198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsGnS-0001bC-5r for emacs-orgmode@gnu.org; Thu, 06 Oct 2016 18:05:46 -0400 Received: by mail-ua0-x22d.google.com with SMTP id p25so30407627uaa.1 for ; Thu, 06 Oct 2016 15:05:46 -0700 (PDT) In-reply-to: <1475778189.3867253.748106865.16EF87C3@webmail.messagingengine.com> 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" To: Peter Davis Cc: emacs-orgmode@gnu.org That implies you have not configured org-mode to include the tikz package. If you execute this block in a buffer does it work? #+BEGIN_SRC emacs-lisp (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (python . t) (ditaa . t) (dot . t) (plantuml . t) (gnuplot . t) (sh . t) (org . t) (latex . t))) (setq org-latex-packages-alist (quote (("" "color" t) ("" "minted" t) ("" "parskip" t) ("" "tikz" t)))) (setq org-latex-create-formula-image-program 'imagemagick) #+END_SRC Peter Davis writes: > On Thu, Oct 6, 2016, at 01:59 PM, John Kitchin wrote: >> I tried this, and it worked for me. Check *Messages* for things like: >> Failed to create dvi file from >> /var/folders/5q/lllv2yf95hg_n6h6kjttbmdw0000gn/T/orgtex93386BIQ.tex >> >> if you see that try manually building the tex file to see if there are >> LaTeX issues. >> > > Thanks, John. Just running pdflatex from the command line gives me: > > ! Undefined control sequence. > l.36 \tikz > [remember picture]\node[coordinate,yshift=0.5em] (n1) {}; > > So perhaps TikZ itself is not available to some part of this. > > Thanks, > -pd -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu