From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+CAPTION: Not being protected when they are used with #+begin_src Date: Sat, 07 Jul 2012 21:01:25 +0200 Message-ID: <873953tmyi.fsf@gmail.com> References: <22257.1340710426@alphaville> <87fw9i15sq.fsf@gmail.com> <87k3yp1esj.fsf@gmail.com> <87bok1108y.fsf@gmail.com> <87y5n1fa08.fsf@gmail.com> <87obntqs30.fsf@gmail.com> <87a9zb7ary.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnaJA-0006IJ-6o for emacs-orgmode@gnu.org; Sat, 07 Jul 2012 15:04:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SnaJ8-0007OI-JK for emacs-orgmode@gnu.org; Sat, 07 Jul 2012 15:04:43 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnaJ8-0007O8-Ai for emacs-orgmode@gnu.org; Sat, 07 Jul 2012 15:04:42 -0400 Received: by wibhm11 with SMTP id hm11so1282520wib.12 for ; Sat, 07 Jul 2012 12:04:40 -0700 (PDT) In-Reply-To: (Luis Anaya's message of "Sat, 7 Jul 2012 15:00:10 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Luis Anaya Cc: emacs-orgmode@gnu.org, Eric Schulte Hello, Luis Anaya writes: > Eric Schulte writes: > >> >> Instead of putting the #+Caption: line on the source block, place it on >> the result. This requires the use of named code blocks and results. >> The following alternate version of your example should give the behavior >> you're after. >> > [chomp...] > > Hi Eric: > > Thanks for your help but not quite what I expected. I did get the > caption now, but I am still getting the #+NAME: > > See results: > > .H 1 "PlantUML" > .P > #+NAME: plantuml-drawing > .P > .PSPIC "x.eps" .FG "\fRplantuml drawing\fP" .H 1 "Gnuplot" .P > #+name: gnuplot-drawing > .P > .PS > copy "salida.pic" > .PE > .FG "\fRgnuplot drawing\fP" > > > I'm getting suspicious on the ".P" on my results during paragraph > generation. What I'll do is to temporary remove generating that ".P" and see > if that removes the #+NAME: tag. If that's the case, I have to add > another exception clause on the backend... This is the known bug I told you about in another thread. It will be fixed soon after org-element hits core. Regards, -- Nicolas Goaziou