From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [Bug] regression in the latex exporter Date: Mon, 26 Mar 2012 23:57:40 +0200 Message-ID: <87k427yqi3.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCHvg-0003Wr-Rq for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 17:58:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCHvd-000516-Vo for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 17:58:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:47791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCHvd-00050f-Op for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 17:58:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SCHvc-0002qY-Av for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 23:58:16 +0200 Received: from vpn-2216.gwdg.de ([134.76.2.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2012 23:58:16 +0200 Received: from andreas.leha by vpn-2216.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2012 23:58:16 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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