emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Best diagram, image software?


From: John Kitchin
Subject: Re: [O] Best diagram, image software?
Date: Thu, 06 Oct 2016 18:05:38 -0400
User-agent: mu4e 0.9.16; emacs 25.1.50.1

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



reply via email to

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