From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins < jamshark70@qq.com> Subject: Re: Selected export depending on back-end Date: Mon, 15 Sep 2014 01:49:44 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTSIZ-0006Vi-Ug for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 05:10:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTSIS-0001Q5-66 for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 05:10:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:39975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTSIS-0001Pg-0d for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 05:10:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XTSIO-000570-Af for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 11:10:04 +0200 Received: from 113.109.199.166 ([113.109.199.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Sep 2014 11:10:04 +0200 Received: from jamshark70 by 113.109.199.166 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Sep 2014 11:10:04 +0200 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 Lars Tveito ifi.uio.no> writes: > I am writing a compendium in org, and want to be able to generate slides > from the same org file. > > I'd like to be able to mark some sections for exporting if I'm > generating slides, and for other formats (like LaTeX and HTML) export > everything as normal. It would also be nice if I could change the > #+OPTIONS according to what I'm exporting to. This worg page doesn't cover exactly the same requirements, but it's closely related. Perhaps some of it might give you some hints. http://orgmode.org/worg/exporters/beamer/beamer-dual-format.html It doesn't go as far as selecting subtrees independently depending on backend. It does show how to include text in the article layout that is omitted from the slideshow layout. A caveat (in general, not only for my approach): the Beamer exporter uses org markup somewhat differently from the "normal" LaTeX exporter. I'd be surprised (or impressed!) if you found a way to use the same markup for both the LaTeX and Beamer exporters. Very simple markup may be OK; anything complicated may be rough. hjh