[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Exporting book handouts

From: Jarmo Hurri
Subject: Re: [O] Exporting book handouts
Date: Mon, 04 Nov 2013 15:19:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Greetings Nicolas.

Nicolas Goaziou <address@hidden> writes:

>> 1. A way to denote that a certain element (figure, equation, part of
>>    a longer equation, a piece of text etc.) goes into the Beamer
>>    export. By default, material should _not_ be included in the
>>    Beamer export. I don't know how to achieve this.
>>    I did find SELECT_TAGS in the manual, so if I were to export entire
>>    subtrees into Beamer, maybe I could change the value of this when I
>>    am doing a Beamer export. But could I use this for individual
>>    elements, such as an equation or a figure?
> You can use drawers:
>   * Some section
>     :HANDOUT:
>     ...
>     :END:
>     :BOOK:
>     ...
>     :END:
> Then, you can play with `org-export-with-drawers' and its OPTIONS
> counterpart:
>   #+OPTIONS: d:("BOOK")
> for a book-only export.
>   #+OPTIONS: d:(not "HANDOUT")
> for an everything-but-handout export...

This looks like a nice approach if I did not have to specify any BOOK
drawers. That is, if there would be a way to export _only_ the contents
of HANDOUT drawers so that the macros, elements etc. outside the drawers
would still be applicable.

It also seems that the scope of a drawer can not include a new
headline. That is, the following does not seem to work:

# --------------------------------------------------------------------
#+TITLE: drawer-test
#+OPTIONS: d:(not "HANDOUT")

* testing drawers
** part of the main text
** only in handouts
   also just in handouts
# --------------------------------------------------------------------

Thanks! I will keep this in mind when I try out different things.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]