emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: [Bug] regression in the latex exporter
Date: Mon, 26 Mar 2012 23:57:40 +0200	[thread overview]
Message-ID: <87k427yqi3.fsf@med.uni-goettingen.de> (raw)

Hi all,

there seems to be a regression with the legacy latex exporter.


When I export this subtree

,----[ test.org subtree ]
| ** Some title
| 
| *** Something
| 
| **** Some deeper thing
|      Foo
`----

this is the resultign .tex file:

,----[ test.tex ]
| % preamble....
|
| \begin{document}
| 
| \maketitle
| 
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
| 
| \subsection{Some deeper thing}
| \label{sec-1-1}
| 
|      Foo
| \section{Something}
| \label{sec-1}
| 
| \end{document}
`----


So, the subsection is placed before the section, resulting in wrong
numbering.

I tested with emacs -Q on emacs 2.0.94.1 and org mode 7.8.06 with last commit
(2aa20d6f44ce5534f60aa82f0d281123963b246a).

Regards,
Andreas

             reply	other threads:[~2012-03-26 21:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26 21:57 Andreas Leha [this message]
2012-03-27  8:18 ` [Bug] regression in the latex exporter Bastien
2012-03-27  9:12   ` Andreas Leha

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=87k427yqi3.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).