emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Selected export depending on back-end
@ 2014-09-13 21:40 Lars Tveito
  2014-09-15  1:49 ` James Harkins
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Tveito @ 2014-09-13 21:40 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

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.

Any ideas?

- Lars

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Selected export depending on back-end
  2014-09-13 21:40 Selected export depending on back-end Lars Tveito
@ 2014-09-15  1:49 ` James Harkins
  0 siblings, 0 replies; 2+ messages in thread
From: James Harkins @ 2014-09-15  1:49 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-15  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-13 21:40 Selected export depending on back-end Lars Tveito
2014-09-15  1:49 ` James Harkins

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).