Re: [O] Include lengthy LaTeX in export preamble

2014-07-27 Thread Jacob Gerlach
On Sun, Jul 27, 2014 at 10:08 PM, Ken Mankoff wrote: > Hi Jacob, > > #+LATEX_HEADER: does work on export (when else would it work?) > > Agreed. If I said otherwise it was a mistake. 2) From Aaron Ecay, put your header in a #+BEGIN_SRC latex section, and > then run a bit of lisp to export that se

Re: [O] Include lengthy LaTeX in export preamble

2014-07-27 Thread Ken Mankoff
Hi Jacob, #+LATEX_HEADER: does work on export (when else would it work?) I think I recall a space between the ":" and the LaTeX command is needed. Do you have one? For more ideas on how to have lengthy custom headers, see thread here: https://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg0

[O] Include lengthy LaTeX in export preamble

2014-07-27 Thread Jacob Gerlach
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 he