From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [BUG] Latex export problem with babel latex blocks when including files Date: Wed, 16 Mar 2011 07:22:19 -0600 Message-ID: <87aagvyzbz.fsf@gmail.com> References: <20110316053017.36ca1beb@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=33901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pzqga-0008Lz-Ga for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 09:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzqgZ-0000Mf-8k for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 09:22:48 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:65275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzqgZ-0000ML-3F for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 09:22:47 -0400 Received: by pzk32 with SMTP id 32so383553pzk.0 for ; Wed, 16 Mar 2011 06:22:45 -0700 (PDT) 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 Hi, First, you may well already be aware of this, but a block like the following #+begin_src latex \begin{equation} \label{eq:eta} \eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg] \end{equation} #+end_src could just as easily be written as \begin{equation} \label{eq:eta} \eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg] \end{equation} Org-mode will recognize the inline latex, and will export it to both html and tex as desired. Second, I've run into similar headline issues when trying to place a bibliography under it's own headline at the end of an Org-mode file. I believe that the answer here is to simply remove the headline from your appendix file. I don't believe that there exists any syntax by which to tell Org-mode to not export a headline. Best -- Eric 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,