emacs-orgmode
[Top][All Lists]
Advanced

[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: Robert Klein
Subject: Re: [O] org-preview-latex-fragment ignores \includes in the LATEX_HEADER
Date: Wed, 27 May 2015 15:37:22 +0200

Hi,

On Wed, 27 May 2015 15:02:02 +0200
Stefan Otte <address@hidden> 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



reply via email to

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