emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: inline code block results
Date: Fri, 04 Feb 2011 17:24:22 +0100	[thread overview]
Message-ID: <4D4C2836.5010306@med.uni-goettingen.de> (raw)
In-Reply-To: <4D4C2595.1080907@med.uni-goettingen.de>


[-- Attachment #1.1: Type: text/plain, Size: 1406 bytes --]

Hi all,

just found out: the inline block works when I explicitly state :results
replace.

So both questions from the previous email collapse to: why is that
necessary?

Regards,
Andreas



Am 04.02.2011 17:13, schrieb Andreas Leha:
> Hi all,
>
> I have two questions:
>
> (1)  How do I get resuts from code block evaluation (e.g. a single
> number) inline into text during (LaTeX-)export?  Something like:  We use
> a level of #+call: getLevel()
>
> (2)  Why do these two subheadings produce different output during
> (LaTeX-)export?
> * Test
> ** Normal source code block
>    The number is
>    #+srcname: success_parameter_one
>    #+begin_src R :session :results value :exports results
>      tmp <- rnorm(1)
>    #+end_src
>
> ** Inline source code block
>    The number is src_R[:session :results value :exports results]{tmp <-
> rnorm(1)}
>
>
> Thanks in advance!
> Andreas
>
>   

-- 
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html



[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6432 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-02-04 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 16:13 inline code block results Andreas Leha
2011-02-04 16:24 ` Andreas Leha [this message]
2011-02-04 17:11   ` Dan Davison
2011-02-04 17:26     ` Andreas Leha
2011-02-04 20:29     ` 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=4D4C2836.5010306@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).