From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erich Neuwirth Subject: exporting, using names, and inline source code blocks Date: Sat, 15 Sep 2012 10:18:11 +0200 Message-ID: <89D00423-64CB-4537-9C6E-698891BE21DA@univie.ac.at> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCnZx-0000Pi-Bm for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 04:18:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCnZw-00048a-A4 for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 04:18:17 -0400 Received: from grace.univie.ac.at ([131.130.3.115]:33945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCnZw-00047N-0a for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 04:18:16 -0400 Received: from jarvis.univie.ac.at ([131.130.3.112] helo=jarvis.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.80) (envelope-from ) id 1TCnZs-0004LQ-Lg for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 10:18:12 +0200 Received: from 188-22-85-206.adsl.highway.telekom.at ([188.22.85.206] helo=mercator.fritz.box) by jarvis.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TCnZs-0005tk-Hr for emacs-orgmode@gnu.org; Sat, 15 Sep 2012 10:18:12 +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: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" I am using the latest version from ELPA, 20120903, OSX 10.8.1, and Emacs = 24.2.1 The following document describes something which I perceive as strange = behavior and a wish at the end. #+title: Names test Define a name with a value #+name: nameval #+begin_src elisp :session *elisp* :results value :exports both 321 #+end_src The above does not export the value to LaTeX-pdf export if it is not = executed with C-c C-c in the document Define a value in elisp #+begin_src elisp :session *elisp* :results value :exports both (setq lispval 123) #+end_src The above does not export the value to LaTeX-pdf export if it is not = executed with C-c C-c in the document Simple call to =3Dsrc_elisp=3D lispval equals=20 src_elisp[:session *elisp* :results raw]{lispval} The above does not export the value to LaTeX-pdf export if it is not = executed with C-c C-c in the document Enhanced call to =3Dsrc_elisp=3D lispval equals=20 src_elisp[:session *elisp* :results raw :exports results]{lispval} The above does not export the value to LaTeX-pdf export if it is not = executed with C-c C-c in the document I tried exporting both to LaTeX-pdf and to html. I would like a way which would allow me to use the value of the name = =3Dnameval=3D inline