[O] sectioning depth limit on export

2012-04-12 Thread Pedro Silva
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).

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



Re: [O] sectioning depth limit on export

2012-04-12 Thread Nick Dokos
Pedro Silva psilva+...@pedrosilva.pt 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
 



Re: [O] sectioning depth limit on export

2012-04-12 Thread Pedro Silva
Nick Dokos nicholas.do...@hp.com writes:

 Try setting org-export-headline-levels to 6 or use the equivalent in-buffer 
 setting

 #+OPTIONS: H:6


Ah, that did it.  Thanks for your help!
-- 
Pedro