From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Edgington Subject: LaTeX_HEADER blocks Date: Thu, 28 May 2015 00:28:19 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxpRH-00025n-LR for emacs-orgmode@gnu.org; Thu, 28 May 2015 00:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxpRF-0001Od-NN for emacs-orgmode@gnu.org; Thu, 28 May 2015 00:29:03 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:36003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxpRF-0001OZ-G7 for emacs-orgmode@gnu.org; Thu, 28 May 2015 00:29:01 -0400 Received: by wizk4 with SMTP id k4so132701959wiz.1 for ; Wed, 27 May 2015 21:28:59 -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 Hi Everyone, It is possible in org-mode to do either #+LaTeX: \somecommand or #+BEGIN_LaTeX \somecommand #+END_LaTeX I typically use the latter (the block form) because I often have multiple lines of LaTeX I would like to include at certain locations of a document. Similar to #+LaTeX, there is also #+LaTeX_HEADER, which ensures that something is included as part of the preamble. Unfortunately, however, there is no equivalent block form for #+LaTeX_HEADER. As a result, when there are several items one wishes to have in the preamble, it's necessary to have many such lines, each with a "#+LaTeX_HEADER: " prefix. For the sake of consistency and convenience, wouldn't it be worthwhile to add a "LaTeX_HEADER" block type to accompany the "LaTeX" block type? It seems like this was proposed a couple years ago by Eric Fraga, but didn't go anywhere because of concerns over how to decide where to place the content of such blocks relative to the content of "#+LaTeX_HEADER" lines. It would seem sensible to make it work identically to how #+LaTeX lines and #+BEGIN_LaTeX blocks work -- they are simply included in the order in which they are encountered in the org file. Regards, Mark