From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Fold "preamble/options" under first header Date: Wed, 29 Sep 2010 17:19:14 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1407058361==" Return-path: Received: from [140.186.70.92] (port=53037 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P14zc-0008DZ-Vv for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 18:19:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P14zb-0003AO-OX for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 18:19:16 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:61042) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P14zb-0003AG-Fm for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 18:19:15 -0400 Received: by bwz10 with SMTP id 10so1306445bwz.0 for ; Wed, 29 Sep 2010 15:19:14 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============1407058361== Content-Type: multipart/alternative; boundary=0016e6d9a167ff012004916d5957 --0016e6d9a167ff012004916d5957 Content-Type: text/plain; charset=ISO-8859-1 Hi, Is it possible to "fold" the preamble (#+latex_header, #+options, etc.) under a first header? Mine get rather long, especially for Beamer documents. I just attempted it and it appears to work, but I wanted to know if anyone else has tried this and succeeded or if there are any things to watch out for. Currently I have: ------- * Preamble :noexport: #+latex_class: beamer #+author: John Hendy #+date: \today #+startup: beamer #+options: toc:nil latex:t tex:t #+latex_class_options: [presentation] #+beamer_frame_level: 2 #+beamer_header_extra: \usetheme{default} #+latex_header: \usepackage[usenames,dvipsnames]{xcolor} #+latex_header: \usepackage{tikz,ifthen} #+latex_header: \usetikzlibrary{decorations,arrows,automata,positioning} #+latex_header: \usepackage{setspace} #+latex_header: \setstretch{1.3} #+latex_header: \usepackage{MinionPro} #+latex_header: \renewcommand{\sfdefault{Myriad-LF}} \AtBeginSection[]{ \begin{frame} \frametitle{Outline} \tableofcontents[currentsection] \end{frame}} #+title: Title * First actual heading... ---------- The output looks fine... are there any foreseeable issues with this? John --0016e6d9a167ff012004916d5957 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


Is it possible to "fold" th= e preamble (#+latex_header, #+options, etc.) under a first header? Mine get= rather long, especially for Beamer documents.

I just attempted it and it appears to work, but I wanted to know if anyone = else has tried this and succeeded or if there are any things to watch out f= or.

Currently I have:

-------
* Preamble =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0:noexport:
#+latex_class: beamer
#+author: John= Hendy
#+date: \today
#+startup: beamer
#+opt= ions: toc:nil latex:t tex:t
#+latex_class_options: [presentation]
#+beamer_frame_level: = 2
#+beamer_header_extra: \usetheme{default}

<= div>#+latex_header: \usepackage[usenames,dvipsnames]{xcolor}
#+latex_header: \usepackage{tikz,ifthen}
#+latex_header: \usetikz= library{decorations,arrows,automata,positioning}

#= +latex_header: \usepackage{setspace}
#+latex_header: \setstretch{= 1.3}

#+latex_header: \usepackage{MinionPro}
#+late= x_header: \renewcommand{\sfdefault{Myriad-LF}}

\At= BeginSection[]{
\begin{frame}<beamer>
\frametitle= {Outline}
\tableofcontents[currentsection]
\end{frame}}

=
#+title: Title

* First actual hea= ding...
----------

The output looks fine= ... are there any foreseeable issues with this?


John
--0016e6d9a167ff012004916d5957-- --===============1407058361== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1407058361==--