emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* sectioning depth limit on export
@ 2012-04-12 19:20 Pedro Silva
  2012-04-12 19:41 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Silva @ 2012-04-12 19:20 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sectioning depth limit on export
  2012-04-12 19:20 sectioning depth limit on export Pedro Silva
@ 2012-04-12 19:41 ` Nick Dokos
  2012-04-12 19:59   ` Pedro Silva
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2012-04-12 19:41 UTC (permalink / raw)
  To: Pedro Silva; +Cc: emacs-orgmode

Pedro Silva <psilva+org@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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sectioning depth limit on export
  2012-04-12 19:41 ` Nick Dokos
@ 2012-04-12 19:59   ` Pedro Silva
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro Silva @ 2012-04-12 19:59 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-12 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-12 19:20 sectioning depth limit on export Pedro Silva
2012-04-12 19:41 ` Nick Dokos
2012-04-12 19:59   ` Pedro Silva

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).