From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: BEGIN_LATEX_HEADER [cont] Date: Thu, 19 Jun 2014 19:37:35 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxluZ-00068J-GP for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 19:38:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxluU-0001oe-25 for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 19:38:31 -0400 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:59314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxluT-0001mB-UE for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 19:38:25 -0400 Received: by mail-qc0-f179.google.com with SMTP id x3so2823245qcv.38 for ; Thu, 19 Jun 2014 16:38:25 -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 Cc: Rasmus Hi, I'm following up on a thread suggesting a method to easily include large amounts of LaTeX header material. See https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00480.html Please consider this a +1 for that feature request. One suggestion was: > You could have a LaTeX block and tangle it to preamble.tex and > input > preamble.tex in a LATEX_HEADER. Which seems like an OK work-around. I have two follow-up questions about this. 1) I can't seem to get #+BEGIN_LATEX :tangle preamble.tex to work. It needs to be #+BEGIN_SRC latex :tangle preamble.tex Is this correct? Secondly, is there a way to automatically tangle one just this section each time I export the file? Or automatically all sections (but just in this file)? Thanks, -k.