[Top][All Lists]

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

Re: [O] org-preview-latex-fragment ignores \includes in the LATEX_HEADER

From: Nick Dokos
Subject: Re: [O] org-preview-latex-fragment ignores \includes in the LATEX_HEADER
Date: Thu, 28 May 2015 12:09:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Otte <address@hidden> 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.


reply via email to

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