emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erich Neuwirth <erich.neuwirth@univie.ac.at>
To: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: exporting, using names, and inline source code blocks
Date: Sat, 15 Sep 2012 10:18:11 +0200	[thread overview]
Message-ID: <89D00423-64CB-4537-9C6E-698891BE21DA@univie.ac.at> (raw)

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 =src_elisp= lispval equals 
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 =src_elisp= lispval equals 
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 =nameval=
inline

             reply	other threads:[~2012-09-15  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15  8:18 Erich Neuwirth [this message]
2012-09-15 16:37 ` exporting, using names, and inline source code blocks Eric Schulte
2012-09-15 22:11   ` Nicolas Goaziou
2012-09-15 23:30     ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89D00423-64CB-4537-9C6E-698891BE21DA@univie.ac.at \
    --to=erich.neuwirth@univie.ac.at \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).