From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [BUG] Latex export problem with babel latex blocks when including files Date: Wed, 16 Mar 2011 14:18:47 +0000 Message-ID: <878vwf173s.fsf@ucl.ac.uk> References: <20110316053017.36ca1beb@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=45105 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzrYq-0007JA-3e for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 10:18:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzrYo-0003Ig-Vs for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 10:18:51 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:50929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzrYo-0003ID-Rm for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 10:18:50 -0400 In-Reply-To: <20110316053017.36ca1beb@bhishma.homelinux.net> (Suvayu Ali's message of "Wed, 16 Mar 2011 05:30:17 -0700") 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: Suvayu Ali Cc: Org mode mailing list Suvayu Ali writes: > Hi Orgers, > > I have been writing a large document in Org mode for pdf export with > latex. I use babel latex blocks for things like equations, and I have a > separate file as my appendix which I include in my primary org file. > > Today when I introduced a babel latex block in the appendix, I noticed > that while exporting to latex/pdf, org wants to add the headline with > the latex babel block from the appendix at the end of the master org > file. I would expect no such behaviour while export. > > I can replicate this bug with the two attached minimal org files. Can > someone confirm this? > > Thanks, I cannot confirm this. I get: --8<---------------cut here---------------start------------->8--- ... \chapter{Title of chapter 3} \label{sec-3_1} The Standard Model gauge group is shown in \autoref{eq:symgrp} \begin{equation} \label{eq:symgrp} SU(3) \times SU(2) \times U(1) \end{equation} \appendix \appendixpage \addappheadtotoc \section{This is appendix A} \label{sec-3_1_1} Definition of psedorapidity. \begin{equation} \label{eq:eta} \eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg] \end{equation} ... --8<---------------cut here---------------end--------------->8--- which is what I would expect. What do you get that is different? Or did I misunderstand your question/problem? -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.55.g87c42.dirty)