From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Exporting book handouts Date: Mon, 04 Nov 2013 15:19:40 +0200 Message-ID: <87txfs5moj.fsf@syk.fi> References: <87k3gp4ea7.fsf@syk.fi> <87d2mh47pv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdK5U-0001kK-1i for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 08:21:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdK5L-0000OA-TQ for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 08:20:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:37514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdK5K-0000Nr-6T for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 08:20:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdK52-0003ha-Ub for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 14:20:32 +0100 Received: from cs78160219.pp.htv.fi ([62.78.160.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 14:20:32 +0100 Received: from jarmo.hurri by cs78160219.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 14:20:32 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Greetings Nicolas. Nicolas Goaziou 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