From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: \input causes conflict with LaTeX equation preview Date: Sat, 18 Oct 2014 10:26:52 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a0bc6d714bc0505b345ee Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfUy6-0008Lt-Bq for emacs-orgmode@gnu.org; Sat, 18 Oct 2014 10:26:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfUy5-0001nE-He for emacs-orgmode@gnu.org; Sat, 18 Oct 2014 10:26:54 -0400 Received: from mail-yk0-x234.google.com ([2607:f8b0:4002:c07::234]:36167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfUy5-0001n8-CZ for emacs-orgmode@gnu.org; Sat, 18 Oct 2014 10:26:53 -0400 Received: by mail-yk0-f180.google.com with SMTP id 142so1050818ykq.39 for ; Sat, 18 Oct 2014 07:26:52 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode --089e013a0bc6d714bc0505b345ee Content-Type: text/plain; charset=UTF-8 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. --089e013a0bc6d714bc0505b345ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have

#+LATEX_HEADER: \input{preamble}<= /span>

in an Org file. When I try to preview equations, it does not = work
because "\input{preamble}" is exported to the eq= uation preview preamble,
but no file "preamble.tex" i= s exported. The "preamble.tex" file is not
needed jus= t to preview an equation.

Can anyone suggest a work-around?

Thanks,

=C2=A0 -k.
--089e013a0bc6d714bc0505b345ee--