From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: Include lengthy LaTeX in export preamble Date: Sun, 27 Jul 2014 21:00:31 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11347f461cfc6e04ff367387 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBZIo-0004Oj-Mb for emacs-orgmode@gnu.org; Sun, 27 Jul 2014 21:00:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBZIn-0000Tj-Rd for emacs-orgmode@gnu.org; Sun, 27 Jul 2014 21:00:34 -0400 Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:47343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBZIn-0000Tf-H8 for emacs-orgmode@gnu.org; Sun, 27 Jul 2014 21:00:33 -0400 Received: by mail-lb0-f174.google.com with SMTP id c11so5283909lbj.33 for ; Sun, 27 Jul 2014 18:00:31 -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: emacs-orgmode@gnu.org --001a11347f461cfc6e04ff367387 Content-Type: text/plain; charset=UTF-8 I have a lengthy command customization that I want to include in LaTeX export. Since it must appear in the preamble, #+BEGIN_LATEX ... #+END_LATEX didn't work. I had to prepend #+LATEX_HEADER: to each line in order to achieve my result. I found C-h v org-format-latex-header RET: "The document header used for processing LaTeX fragments..." But it seems that when the docstring says "fragments," it is not referring to exporting. Are there any customizations to do the same during export? Thanks, Jake --001a11347f461cfc6e04ff367387 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have a lengthy command customization that I want to incl= ude in LaTeX export. Since it must appear in the preamble,=C2=A0
#+BEGI= N_LATEX
...
#+END_LATEX

didn&#= 39;t work. I had to prepend=C2=A0
#+LATEX_HEADER:=C2=A0
to each line in order to achieve my result.=

I found C-h v org-format-latex-header RET:<= /div>

"The document header used for processing= LaTeX fragments..."

But it seems that when the docstring says "f= ragments," it is not referring to exporting.

= Are there any customizations to do the same during export?

Thanks,
Jake
--001a11347f461cfc6e04ff367387--