emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jarmo Hurri <jarmo.hurri@syk.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting book handouts
Date: Mon, 04 Nov 2013 15:19:40 +0200	[thread overview]
Message-ID: <87txfs5moj.fsf@syk.fi> (raw)
In-Reply-To: 87d2mh47pv.fsf@gmail.com


Greetings Nicolas.

Nicolas Goaziou <n.goaziou@gmail.com> 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
   :HANDOUT:
** only in handouts
   :END:
   :HANDOUT:
   also just in handouts
   :END:
# --------------------------------------------------------------------

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

Jarmo

      reply	other threads:[~2013-11-04 13:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03 16:54 Exporting book handouts Jarmo Hurri
2013-11-03 19:08 ` Thomas S. Dye
2013-11-04 13:01   ` Jarmo Hurri
2013-11-04 16:34     ` Thomas S. Dye
2013-11-03 19:15 ` Nicolas Goaziou
2013-11-04 13:19   ` Jarmo Hurri [this message]

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=87txfs5moj.fsf@syk.fi \
    --to=jarmo.hurri@syk.fi \
    --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).