emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* silent evaluation during export
@ 2011-02-04 15:39 Andreas Leha
  2011-02-04 16:25 ` Dan Davison
  2011-02-04 16:48 ` Erik Iverson
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Leha @ 2011-02-04 15:39 UTC (permalink / raw)
  To: emacs-orgmode


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

Hi all,

I have several code blocks that must be evaluated during export, but
silently, i.e. I do not want code/output/anything to appear in the export.

How do I achieve this?  The obvious :export none also disables evaluation.

Regards,
Andreas


[-- 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

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

* Re: silent evaluation during export
  2011-02-04 15:39 silent evaluation during export Andreas Leha
@ 2011-02-04 16:25 ` Dan Davison
  2011-02-04 17:00   ` Andreas Leha
  2011-02-04 16:48 ` Erik Iverson
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Davison @ 2011-02-04 16:25 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi all,
>
> I have several code blocks that must be evaluated during export, but
> silently, i.e. I do not want code/output/anything to appear in the export.
>
> How do I achieve this?  The obvious :export none also disables evaluation.

Hi Andreas,

:exports results :results silent

Dan



>
> Regards,
> Andreas
>
> _______________________________________________
> 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

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

* Re: silent evaluation during export
  2011-02-04 15:39 silent evaluation during export Andreas Leha
  2011-02-04 16:25 ` Dan Davison
@ 2011-02-04 16:48 ` Erik Iverson
  2011-02-04 17:31   ` Andreas Leha
  1 sibling, 1 reply; 5+ messages in thread
From: Erik Iverson @ 2011-02-04 16:48 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Andreas,

This may help, but I'm not sure what language you're using.
I was using in this discussion.

http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29333.html

The upshot from that thread was that by including a :session
argument, you guarantee that the code runs on export.

--Erik

Andreas Leha wrote:
> Hi all,
> 
> I have several code blocks that must be evaluated during export, but
> silently, i.e. I do not want code/output/anything to appear in the export.
> 
> How do I achieve this?  The obvious :export none also disables evaluation.
> 
> Regards,
> Andreas
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

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

* Re: silent evaluation during export
  2011-02-04 16:25 ` Dan Davison
@ 2011-02-04 17:00   ` Andreas Leha
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Leha @ 2011-02-04 17:00 UTC (permalink / raw)
  To: Dan Davison; +Cc: emacs-orgmode


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

Hi Dan,

thanks.  That's what I was looking for.  Works perfectly.

Cheers,
Andreas


Am 04.02.2011 17:25, schrieb Dan Davison:
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>   
>> Hi all,
>>
>> I have several code blocks that must be evaluated during export, but
>> silently, i.e. I do not want code/output/anything to appear in the export.
>>
>> How do I achieve this?  The obvious :export none also disables evaluation.
>>     
> Hi Andreas,
>
> :exports results :results silent
>
> Dan
>
>
>
>   
>> Regards,
>> Andreas
>>
>> _______________________________________________
>> 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
>>     



[-- 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

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

* Re: silent evaluation during export
  2011-02-04 16:48 ` Erik Iverson
@ 2011-02-04 17:31   ` Andreas Leha
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Leha @ 2011-02-04 17:31 UTC (permalink / raw)
  To: Erik Iverson; +Cc: emacs-orgmode


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

Hi Erik,

thanks for the pointer to that discussion which also answeres my
question.  I should have seen this.

- Andreas

Am 04.02.2011 17:48, schrieb Erik Iverson:
> Andreas,
>
> This may help, but I'm not sure what language you're using.
> I was using in this discussion.
>
> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29333.html
>
> The upshot from that thread was that by including a :session
> argument, you guarantee that the code runs on export.
>
> --Erik
>
> Andreas Leha wrote:
>> Hi all,
>>
>> I have several code blocks that must be evaluated during export, but
>> silently, i.e. I do not want code/output/anything to appear in the
>> export.
>>
>> How do I achieve this?  The obvious :export none also disables
>> evaluation.
>>
>> Regards,
>> Andreas
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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

-- 
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

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

end of thread, other threads:[~2011-02-04 17:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 15:39 silent evaluation during export Andreas Leha
2011-02-04 16:25 ` Dan Davison
2011-02-04 17:00   ` Andreas Leha
2011-02-04 16:48 ` Erik Iverson
2011-02-04 17:31   ` Andreas Leha

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).