Hi, On Wed, 27 May 2015 15:02:02 +0200 Stefan Otte <stefan.o...@gmail.com> wrote:
> Hey, > > I'm using orgmode with lots of LaTeX for equations. A typical document > start with > > #+TITLE: Some Title > #+LaTeX_HEADER: \include{commands} > > commands.tex contains commands like: > \newcommand{\RRR}{{\mathbb{R}}} > > The pdf export works flawlessly, however `org-preview-latex-fragment` > seems to ignore "\include{commands}", i.e., equations that use > commands that are defined in commands.tex are rendered as blank/empty > image. > > Is it the intended behavior that `org-preview-latex-fragment` ignores > "\include", is it a bug, or is there a better way to do it? > afaik \include doesn't work in LaTeX headers; you'll have to use \input there. Could you try to use \input? Best regards Robert