From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: [BUG] Latex export problem with babel latex blocks when including files Date: Wed, 16 Mar 2011 11:32:53 -0700 Message-ID: <20110316113253.1bdf3dc0@bhishma.homelinux.net> References: <20110316053017.36ca1beb@bhishma.homelinux.net> <87aagvyzbz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55757 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzvWo-00083q-SP for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 14:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzvWn-0006Kf-D3 for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 14:33:02 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:56572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzvWn-0006KT-4J for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 14:33:01 -0400 Received: by vxk12 with SMTP id 12so2359977vxk.0 for ; Wed, 16 Mar 2011 11:33:00 -0700 (PDT) In-Reply-To: <87aagvyzbz.fsf@gmail.com> 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: Eric Schulte Cc: Org mode mailing list Hi Eric, On Wed, 16 Mar 2011 07:22:19 -0600 "Eric Schulte" wrote: > 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. > Yes I realise that. Its just nicer with all the fontification in an org buffer. I can also use org-edit-special and take advantage of the auctex macros when writing the equations. > 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. > I am not following here. I don't want to suppress export of any of the headlines. I have several appendices under their own headlines in the included file. The only issue is org tries to insert the appendix headlines at the end of the master latex file while exporting. Removing the source block from the appendix definitely solves everything, so its barely an issue. But it would nice to be able to use babel blocks for the fontification and the org-edit-special capability. :) > Best -- Eric Thanks a lot. -- Suvayu Open source is the future. It sets us free.