emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Failure exporting with emacs --batch


From: Eric Schulte
Subject: Re: [O] Failure exporting with emacs --batch
Date: Tue, 15 Nov 2011 13:21:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

Tom Prince <address@hidden> writes:

> With b43c1c621f52f4a51d8d79cb76c226dfed003998 running
>
>  emacs --no-init-file --load min.el --eval '(setq debug-on-error t)' --eval 
> '(find-file "test.org")' -eval '(org-export-as-html 3)' --batch
>
> with
>
> ------ min.el
> (setq org-babel-load-languages '((emacs-lisp . t) (latex . t)))
> (setq org-confirm-babel-evaluate nil)
> (setq org-export-latex-packages-alist
>       `(("" "diagrams" t)))
>
> (require 'org-install)
> (require 'org)
> ------
> and
> ------ test.org
> #+TITLE: Notes for Higher Category Theory
> #+MATHJAX: mathml:t
> #+BABEL :exports results
>

One item to note is that the #+BABEL: syntax is now deprecated, try
replacing the above line with the following.

#+PROPERTY: exports results

Best -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

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