all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* exporting, using names, and inline source code blocks
@ 2012-09-15  8:18 Erich Neuwirth
  2012-09-15 16:37 ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Erich Neuwirth @ 2012-09-15  8:18 UTC (permalink / raw)
  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 =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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-15 23:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-15  8:18 exporting, using names, and inline source code blocks Erich Neuwirth
2012-09-15 16:37 ` Eric Schulte
2012-09-15 22:11   ` Nicolas Goaziou
2012-09-15 23:30     ` Eric Schulte

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.