From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [new exporter] Captions for tables made by source blocks Date: Thu, 07 Mar 2013 22:41:54 +0100 Message-ID: <871ubqdh0d.fsf@Rainer.invalid> References: <20130306095512.GA1489@panahar> <87k3pk268w.fsf@gmail.com> <20130306105410.GA8157@panahar> <87zjygzp9g.fsf@gmail.com> <87sj47d3jf.fsf@gmail.com> <87txoncg76.fsf@Rainer.invalid> <87y5dzaqcu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDiZk-0005yp-Sb for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 16:42:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDiZj-0000z2-Gc for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 16:42:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:40161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDiZj-0000yw-AH for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 16:42:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UDia3-0004kV-8G for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 22:42:27 +0100 Received: from pd9eb4974.dip.t-dialin.net ([217.235.73.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Mar 2013 22:42:27 +0100 Received: from Stromeko by pd9eb4974.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Mar 2013 22:42:27 +0100 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > It's very easy to have a caption on the generated output: name the code. > Hence, the following code block: > > #+NAME: calculation > #+BEGIN_SRC emacs-lisp > (+ 1 1) > #+END_SRC > > will produce: > > #+RESULTS: calculation > 2 > > If you add a caption to the results, like: > > #+CAPTION: Basic arithmetic > #+RESULTS: calculation > 2 > > you can update the source block without ever needing to remove the > caption. Great. I could swear the last time I was trying this it would add a new result block on top of the old one, but I may have changed the name inbetween. It would still be nice (I think) if an unnamed source block would simply replace the next unnamed result block if there is one. > At some point, it would be nice if Babel could find captioned anonymous > results (so you wouldn't even have to name the block). I'll have a look > at it. But meanwhile, this solution is sufficient. Oh absolutely. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables