From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [BUG][Babel] Exporting text before heading Date: Fri, 16 Jul 2010 15:32:39 -0700 Message-ID: <87vd8f6os8.fsf@gmail.com> References: <87iq4ffrbq.wl%n.goaziou@gmail.com> <87pqyngpq8.fsf@gmail.com> <87fwzjf974.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=41592 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZtSW-0002Pk-Cw for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 18:32:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZtSU-0003cg-SC for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 18:32:44 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:47581) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZtSU-0003cW-JF for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 18:32:42 -0400 Received: by pxi7 with SMTP id 7so2481685pxi.0 for ; Fri, 16 Jul 2010 15:32:41 -0700 (PDT) In-Reply-To: <87fwzjf974.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Fri, 16 Jul 2010 22:44:31 +0200") 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: Nicolas Goaziou Cc: Org Mode List Hi Nicolas, I'll apply this patch now. Thanks for catching this -- Eric Nicolas Goaziou writes: > 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