Re: [O] \input causes conflict with LaTeX equation preview
Hello, Ken Mankoff mank...@gmail.com writes: * On 2014-10-20 at 18:26, Rasmus wrote: Ken Mankoff mank...@gmail.com 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. Works great. Thank you. See also #+LATEX_HEADER_EXTRA: \input{preamble} Regards, -- Nicolas Goaziou
Re: [O] \input causes conflict with LaTeX equation preview
Ken Mankoff mank...@gmail.com 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
Re: [O] \input causes conflict with LaTeX equation preview
* On 2014-10-20 at 18:26, Rasmus wrote: Ken Mankoff mank...@gmail.com 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. Works great. Thank you. -k.
[O] \input causes conflict with LaTeX equation preview
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? Thanks, -k.