emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] sectioning depth limit on export


From: Nick Dokos
Subject: Re: [O] sectioning depth limit on export
Date: Thu, 12 Apr 2012 15:41:33 -0400

Pedro Silva <address@hidden> 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
> <http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-3>
> 
> 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
> 



reply via email to

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