From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Inline and executing the document Date: Thu, 20 Sep 2012 08:33:07 -0600 Message-ID: <87vcf84vdo.fsf@gmx.com> References: <16F6A604-26D2-47CA-9E12-A7E5F17FF737@univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEia2-0004DF-Gd for emacs-orgmode@gnu.org; Thu, 20 Sep 2012 11:22:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEiZw-000523-Hd for emacs-orgmode@gnu.org; Thu, 20 Sep 2012 11:22:18 -0400 Received: from mailout-eu.gmx.com ([213.165.64.43]:42865) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TEiZw-00051r-6v for emacs-orgmode@gnu.org; Thu, 20 Sep 2012 11:22:12 -0400 In-Reply-To: <16F6A604-26D2-47CA-9E12-A7E5F17FF737@univie.ac.at> (Neuwirth Erich's message of "Thu, 20 Sep 2012 16:23:38 +0200") 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: Neuwirth Erich Cc: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" Neuwirth Erich writes: > Sorry for not reading the docs carefully enough. > I had overlooked :results wrap > But even with this options things behave strangely. > > src_emacs-lisp[:results wrap]{(+ 2 3)} :RESULTS: > 5:END: > :RESULTS: > 5:END: > :RESULTS: > 5:END: > :RESULTS: > 5:END: > :RESULTS: > 5:END: > Inline code blocks are only meant for execution during export. They were added so that results of code blocks could be inserted inline in blocks of prose. An example like the above should use a regular code block. I would not be surprised if the manual is insufficiently clear on this point. If you could suggest a placement where wording such as the above would have been helpful please let me know and I'll update the manual. Thanks, > > > Running the code multiple times in the document produces multiple outputs. > I though the whole idea of wrapping was intended to mark results in a way the are replaces > when the command is reexecuted. > > Furthermore, on exporting the keywords :RESULTS: and :END: > are written into the exported document (I tried LaTeX+pdf and HTML) > > Am I still misunderstanding something? > > > -- Eric Schulte http://cs.unm.edu/~eschulte