emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins < jamshark70@qq.com>
To: emacs-orgmode@gnu.org
Subject: Re: Selected export depending on back-end
Date: Mon, 15 Sep 2014 01:49:44 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140915T033811-131@post.gmane.org> (raw)
In-Reply-To: m2y4tn19nm.fsf@ifi.uio.no

Lars Tveito <larstvei <at> 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

      reply	other threads:[~2014-09-15  9:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-13 21:40 Selected export depending on back-end Lars Tveito
2014-09-15  1:49 ` James Harkins [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=loom.20140915T033811-131@post.gmane.org \
    --to=jamshark70@qq.com \
    --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).