From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: sectioning depth limit on export Date: Thu, 12 Apr 2012 15:41:33 -0400 Message-ID: <4975.1334259693@alphaville> References: <87hawosqnb.fsf@pedrosilva.pt> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIPtj-0000XL-EF for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 15:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIPth-0000ra-GA for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 15:41:39 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:45731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIPth-0000rQ-Aw for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 15:41:37 -0400 In-Reply-To: Message from Pedro Silva of "Thu, 12 Apr 2012 20:20:56 BST." <87hawosqnb.fsf@pedrosilva.pt> 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: Pedro Silva Cc: emacs-orgmode@gnu.org Pedro Silva wrote: > I'm having problems over a document with headings down to a depth of 5 > export the levels 4 and 5 as \paragraph and \subparagraph, respectively. > > My org-export-latex-classes includes the following: > ("article" "\\documentclass[11pt]{article}" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) > > My source document includes the following: > #+LaTeX_CLASS: article, my org-export-latex-class is "article", and my > org-export-latex-sectioning-depth is locally set to 6 (default is 3). > Try setting org-export-headline-levels to 6 or use the equivalent in-buffer setting #+OPTIONS: H:6 Nick > According to the "More Highly-Structured Documents" subsection of "Latex > Export" worg tutorial > > > This setup should produce the following document structure, when > exported to LaTeX: > > * section > ** subsection > *** subsubsection > **** paragraph > ***** subparagraph > > However, this is what is produced: > > * section > ** subsection > *** subsubsection > **** itemize > ***** sub-itemize, etc > > This happens with all export types I've tried, namely LaTeX, HTML, and > plain text. Any ideas about how to force export of 4 and 5-level deep > headings as paragraph and subparagraph headings in LaTeX? > -- > Pedro >