From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG][Babel] Exporting text before heading Date: Fri, 16 Jul 2010 22:44:31 +0200 Message-ID: <87fwzjf974.wl%n.goaziou@gmail.com> References: <87iq4ffrbq.wl%n.goaziou@gmail.com> <87pqyngpq8.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=38256 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZrm0-00067R-MY for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 16:44:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZrlz-0006bq-Aq for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 16:44:44 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46173) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZrlz-0006bc-5j for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 16:44:43 -0400 Received: by wyj26 with SMTP id 26so2541610wyj.0 for ; Fri, 16 Jul 2010 13:44:42 -0700 (PDT) In-Reply-To: <87pqyngpq8.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 List Hello, >>>>> Eric Schulte writes: > Hi Nicolas, > I was able to export your example to html without any problems, however > I did receive the same error you mentioned when exporting to LaTeX. HTML problem was indeed from my side. > The attached patch fixes the LaTeX export on my system, please give it a > try and let me know if it works for you. I'm going to look into this a > little bit more, as it seems that for LaTeX export the "#+begin_src org" > block is being processed /twice/ by org-exp (probably due to the LaTeX > exports mechanism for first exporting the header of a file and then > exporting the body), which is not desirable and could be the root issue > which this patch may just paper over. It works again with your patch. Thanks. -- Nicolas