From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: Sectioning in LaTeX export Date: Tue, 07 Apr 2009 19:16:27 -0700 Message-ID: <49DC08FB.5000808@comcast.net> References: <49DC0349.4040906@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrNLK-0001yQ-WE for emacs-orgmode@gnu.org; Tue, 07 Apr 2009 22:16:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrNLK-0001y1-2q for emacs-orgmode@gnu.org; Tue, 07 Apr 2009 22:16:46 -0400 Received: from [199.232.76.173] (port=43432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrNLJ-0001xw-U2 for emacs-orgmode@gnu.org; Tue, 07 Apr 2009 22:16:46 -0400 Received: from qmta15.emeryville.ca.mail.comcast.net ([76.96.27.228]:59901) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrNLJ-0002Ar-FG for emacs-orgmode@gnu.org; Tue, 07 Apr 2009 22:16:45 -0400 In-Reply-To: <49DC0349.4040906@comcast.net> 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: Org Mode List Mark Elston wrote: > I have an org file I use specifically for exporting a collection of > other org files to pdf (using LaTeX). However, the resulting output > is not very much like I would like it to be. > > I am using the book class for now but will likely add my own LaTeX_CLASS > entry later once I get this all figured out. > > Ideally, each included file should form its own chapter. Within that > chapter each level 1 heading would be a section, level 2 headings would > be subsections, etc. > > I cannot get this to happen. Every level 1 heading is always an itemize > item and level 2 and below just show up as "** " lines. > > Currently, at the top of my top-level org file I have the following: > > #+TITLE: My Tasks > #+OPTIONS: H:4 num:t d:t > #+LaTeX_CLASS: book > > The title and class seem to work but the options line seems to be > ignored. > > How can I enforce some structure to my resulting latex code? > > Mark I forgot to mention that, right now, I am including the 'chapter' org files with the following approach: #+LaTeX: \chapter{Ch 1 Name} #+INCLUDE: "~/org/ch1.org" #+LaTeX: \chapter{Ch 2 Name} #+INCLUDE: "~/org/ch2.org" etc. This was the only way I could think of to get chapter divisions. Mark