emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Collapse LaTeX source before start of main document?


From: Chris Malone
Subject: [O] Collapse LaTeX source before start of main document?
Date: Wed, 4 May 2011 11:36:58 -0400

Hi All,

I'm working on using org mode for my PhD thesis.  I'd like to do this in one large file where each headline is a single chapter.  Naturally in a thesis there needs to be a lot of front matter: title page, abstract, signature page, etc.  Right now, I'm doing this with something like:

----------------------------------------------------------------------------------------------------------
#+begin_latex                                                                                                                                                                      
  \doublespacing                                                                                                                                                                   
  \pagenumbering{roman}                                                                                                                                                            
                                                                                                                                                                                   
  \maketitle                                                                                                                                                                       
  \makeapproval                                                                                                                                                                    
                                                                                                                                                                                   
  \begin{abstract}                                                                                                                                                                 
     blah blah blah....
  \end{abstract}                                                                                                                                                                   
                                                                                                                                                                                   
  \tableofcontents                                                                                                                                                                 
                                                                                                                                                                                   
  \pagestyle{thesis}                                                                                                                                                               
  \newpage                                                                                                                                                                         
  \pagenumbering{arabic}                                                                                                                                                           
#+end_latex

* Test Chapter 1
This is a test.
----------------------------------------------------------------------------------------------------------

When I include the actual contents of my abstract, this preliminary material section (the #+begin ... #+end block) is rather large.  I'd like to be able to put this material into a headline so that I could collapse it - but I don't want this headline exported as content of the main document.

In other words, is there a property or tag that I can add to a headline that causes LaTeX export to ignore the fact that it is a headline (i.e. \chapter, \section, \subsection, etc.), but still export its contents?  Something like:

----------------------------------------------------------------------------------------------------------
* This is just preliminary material             :prelim:
#+begin_latex                                                                                                                                                                      
  \doublespacing                                                                                                                                                                   
  \pagenumbering{roman}                                                                                                                                                            
                                                                                                                                                                                   
  \maketitle                                                                                                                                                                       
  \makeapproval                                                                                                                                                                    
                                                                                                                                                                                   
  \begin{abstract}                                                                                                                                                                 
     blah blah blah....
  \end{abstract}                                                                                                                                                                   
                                                                                                                                                                                   
  \tableofcontents                                                                                                                                                                 
                                                                                                                                                                                   
  \pagestyle{thesis}                                                                                                                                                               
  \newpage                                                                                                                                                                         
  \pagenumbering{arabic}                                                                                                                                                           
#+end_latex

* Test Chapter 1
This is a test.
----------------------------------------------------------------------------------------------------------

Chris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]