[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Babel should not work in the subtree marked as not exported
From: |
Rainer M Krug |
Subject: |
Re: [O] Babel should not work in the subtree marked as not exported |
Date: |
Tue, 11 Mar 2014 15:03:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Ken Mankoff <address@hidden> writes:
> On 2014-03-11 at 08:47, zwz wrote:
>> In my setup, there is
>> (setq org-export-exclude-tags '("private" "exclude")
>>
>> and In my test.org:
>>
>> * test
>>
>> ** Not exported :exclude:
>> #+BEGIN_SRC ditaa :file test.png :cmdline -E
>> +--------+---+---+---+---+---+---+---+
>> +---+---+---+---+---+---+---+---+
>> x | 0 cRED | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 0 | 0 | 0 | 0 | 1 | 0 |
>> 1 | 1 |
>> +--------+---+---+---+---+---+---+---+
>> +---+---+---+---+---+---+---+---+
>> #+END_SRC
>>
>> ** blah blah
>> blah blah blah
>>
>>
>> When I try to export it to pdf, the test.png is still generated,
>> although it is not used for the pdf at all.
>> So I think the export procedure may be optimized for more efficiency.
>
> No, because I often have code and sections I don't want exported, but
> I want their side-effects active. For example, code with sessions
> where part is not exported, but I need that code run so code
> elsewhere, using the same session, is able to run and be exported.
AFAIK, this depends if you use a session. When you are using a session,
*all* code blocks are evaluated, if you do not set the header argument
session, only the ones which are exported are evaluated - precisely the
reason you give.
Rainer
>
> -k.
>
>
--
Rainer M. Krug
email: RMKrug<at>gmail<dot>com
pgpWoH94b82A1.pgp
Description: PGP signature
- Re: [O] Babel should not work in the subtree marked as not exported, (continued)
- Re: [O] Babel should not work in the subtree marked as not exported, Nicolas Goaziou, 2014/03/15
- Re: [O] Babel should not work in the subtree marked as not exported, Eric Schulte, 2014/03/15
- Re: [O] Babel should not work in the subtree marked as not exported, Andreas Leha, 2014/03/17
- Re: [O] Babel should not work in the subtree marked as not exported, Nicolas Goaziou, 2014/03/24
- Re: [O] Babel should not work in the subtree marked as not exported, Eric Schulte, 2014/03/24
- Re: [O] Babel should not work in the subtree marked as not exported, Bastien, 2014/03/24
- Re: [O] Babel should not work in the subtree marked as not exported, Eric Schulte, 2014/03/24
- Re: [O] Babel should not work in the subtree marked as not exported, Samuel Wales, 2014/03/24
- Re: [O] Babel should not work in the subtree marked as not exported, Samuel Wales, 2014/03/24
- Re: [O] Babel should not work in the subtree marked as not exported, Sebastien Vauban, 2014/03/14
Re: [O] Babel should not work in the subtree marked as not exported,
Rainer M Krug <=
Re: [O] Babel should not work in the subtree marked as not exported, zwz, 2014/03/12
Re: [O] Babel should not work in the subtree marked as not exported, John Hendy, 2014/03/12