emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Pedro Silva <psilva+org@pedrosilva.pt>
Cc: emacs-orgmode@gnu.org
Subject: Re: sectioning depth limit on export
Date: Thu, 12 Apr 2012 15:41:33 -0400	[thread overview]
Message-ID: <4975.1334259693@alphaville> (raw)
In-Reply-To: Message from Pedro Silva <psilva+org@pedrosilva.pt> of "Thu, 12 Apr 2012 20:20:56 BST." <87hawosqnb.fsf@pedrosilva.pt>

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
> 

  reply	other threads:[~2012-04-12 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 19:20 sectioning depth limit on export Pedro Silva
2012-04-12 19:41 ` Nick Dokos [this message]
2012-04-12 19:59   ` Pedro Silva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4975.1334259693@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=psilva+org@pedrosilva.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).