From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: latex export for 4th-level heading Date: Thu, 10 Jul 2014 11:20:49 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Lm6-0002Y8-1a for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 17:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Llz-0007TH-12 for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 17:21:05 -0400 Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:52065) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1X5Lly-0007Sl-NU for emacs-orgmode@gnu.org; Thu, 10 Jul 2014 17:20:58 -0400 In-Reply-To: (Ken Mankoff's message of "Thu, 10 Jul 2014 17:13:38 -0400") 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: Ken Mankoff Cc: emacs-orgmode Ken Mankoff writes: > * On 2014-07-10 at 17:08, Thomas S. Dye wrote: >> Aloha Ken, >> >> Ken Mankoff writes: >> >>> When exporting to LaTeX, fourth-level headings become \enumerate. In >>> LaTeX, the item below \subsubsection is \paragraph, not \enumerate. >>> >>> Here is what happens: >>> >>> * Top becomes \section >>> ** Second becomes \subsection >>> *** Third becomes \subsubsection >>> **** Fourth becomes \enumerate >>> >>> Is there a way to set Fourth to either \paragraph or just nothing? >> >> Only the first three outline levels will be used as headings. Deeper >> levels will become itemized lists. You can change the location of this >> switch globally by setting the variable org-export-headline-levels, or >> on a per-file basis with a line >> >> #+OPTIONS: H:4 >> > > Thanks. That makes sense. I thought that was just for controlling the > TOC depth, but it makes sense it controls content headings too. The table of contents is normally inserted directly before the first headline of the file. #+OPTIONS: toc:2 (only to two levels in TOC) #+OPTIONS: toc:nil (no TOC at all) hth, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com