[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] \input causes conflict with LaTeX equation preview
From: |
Rasmus |
Subject: |
Re: [O] \input causes conflict with LaTeX equation preview |
Date: |
Tue, 21 Oct 2014 00:26:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Ken Mankoff <address@hidden> writes:
> I have
>
[+]
> #+LATEX_HEADER: \input{preamble}
>
> in an Org file. When I try to preview equations, it does not work
> because "\input{preamble}" is exported to the equation preview preamble,
> but no file "preamble.tex" is exported. The "preamble.tex" file is not
> needed just to preview an equation.
>
> Can anyone suggest a work-around?
\IfFileExists{./preamble.tex}{true}{false}
Etoolbox has a number of nice tests for more sophisticated
conditioning.
—Rasmus
--
Dobbelt-A