From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: Latex exporter bug or feature? Date: Sun, 3 Oct 2010 23:34:56 +0100 Message-ID: References: <4CA86118.7000101@indraneel.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=36458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2X9M-0003VZ-DL for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 18:35:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2X9K-0003EU-W8 for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 18:35:20 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:39898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2X9K-0003EL-RH for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 18:35:18 -0400 Received: by bwz10 with SMTP id 10so4530561bwz.0 for ; Sun, 03 Oct 2010 15:35:17 -0700 (PDT) In-Reply-To: <4CA86118.7000101@indraneel.info> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Indraneel Majumdar Cc: orgmode This is, if I remember right, a feature. Or at least a known limitation, a deliberate attempt to respect document structure. Can you perhaps get what you want by customizing org-export-latex-classes to start the numbering already on heading level 4? For example one of it's 'stanzas' looks like this: ("article" "\\documentclass[11pt, a4paper]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) So make a custom one that looks like this: ("myarticle" "\\documentclass[11pt, a4paper]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ... and make sure it gets added into the existing list of classes properly. i.e correctly enclosed in parentheses. This is untested. Org-mode seems to hold pretty tightly to proper tree structure. I think you'll have to achieve what you want by some means other than skipping a heading level Scot On Sun, Oct 3, 2010 at 11:55 AM, Indraneel Majumdar wrote: > =A0Or am I doing something wrong? > > With > #+OPTIONS H:5 > > paragraphs are not exported if subsubsection is missing. > > eg. my orgfile: > > * Section > ** Sub section > **** > =A0 =A0 =A0 =A0My paragraph starts here... > > > The paragraph is not exported. The reason I want H:5 is that this is the > simplest way to obtain numbered paragraphs (I do not have to put > \paragraph{} in front of every paragraph). > > Please help, > > Indraneel > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >