emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pedro Silva <psilva+org@pedrosilva.pt>
To: emacs-orgmode@gnu.org
Subject: sectioning depth limit on export
Date: Thu, 12 Apr 2012 20:20:56 +0100	[thread overview]
Message-ID: <87hawosqnb.fsf@pedrosilva.pt> (raw)

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

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 19:20 Pedro Silva [this message]
2012-04-12 19:41 ` sectioning depth limit on export Nick Dokos
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=87hawosqnb.fsf@pedrosilva.pt \
    --to=psilva+org@pedrosilva.pt \
    --cc=emacs-orgmode@gnu.org \
    /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).