Re: [Orgmode] bug(?) in org-preview-latex-fragment

2011-02-12 Thread Bastien
Hi Sebastian,

Sebastian Hofer sebho...@gmail.com writes:

 it seems that org-preview-latex-fragment does not process \include{}
 commands in the LATEX_HEADER (while it does process \newcommand). It this
 supposed to be like that? If not, can it be changed or worked around
 somehow?

dvipng creates images in the temporary folder (/tmp/).

Put command.tex in /tmp/ and it will work.

HTH,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] bug(?) in org-preview-latex-fragment

2010-11-28 Thread Sebastian Hofer
Hi all,

it seems that org-preview-latex-fragment does not process \include{} commands 
in the LATEX_HEADER (while it does process \newcommand). It this supposed to be 
like that? If not, can it be changed or worked around somehow?

TIA
Sebastian

Minimal example:

test.org:
===
#+LATEX_CLASS: article
#+LATEX_HEADER: \include{commands}
#+LATEX_HEADER: \newcommand{\x}{X}
* This works
$\x$
* This doesn't
$\y$
===

commands.tex:
===
\newcommand{\y}{Y}
===




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode