Stefan Otte <stefan.o...@gmail.com> writes:

> 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?
>
>

Fragments are islands unto themselves with their own special
handling. See the doc for the variable org-format-latex-header.

Nick


Reply via email to