From: Eric Fraga <e.fraga@ucl.ac.uk>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: Exporting a presentation to both slides and handouts?
Date: Wed, 25 Apr 2012 18:38:09 +0930 [thread overview]
Message-ID: <87zka0kwli.fsf@ucl.ac.uk> (raw)
In-Reply-To: <580EE13B-CE44-41EF-92FA-52E4EC93D235@polytechnique.org> (Alan Schmitt's message of "Thu, 15 Mar 2012 09:14:00 +0100")
Alan Schmitt <alan.schmitt@polytechnique.org> writes:
> Hello,
>
> I'm finishing a presentation with org-mode which is exported as beamer
> slides. I would like to also export it as a handouts, which basically
> means changing a couple lines in the preamble. Is there a way to do it
> from the org-mode file, or do I need to edit the generated LaTeX
> manually?
>
> (If the solution is to have some lines that specify the options and the name of the exported LaTeX file commented out, it would work fine with me.)
>
> Thanks,
>
> Alan
My solution is akin to yours except that I alter the org file
instead. I have the following lines in my org file:
--8<---------------cut here---------------start------------->8---
##+LaTeX_CLASS_OPTIONS: [bigger]
#+LaTeX_CLASS_OPTIONS: [handout]
#+latex_header: \mode<beamer>{\usetheme{progressbar}}
#+latex_header: \mode<handout>{\usecolortheme[rgb={0.5,0.5,0.5}]{structure}\usetheme[secheader]{Boadilla}\usepackage{pgfpages}\pgfpagesuselayout{4 on 1}[a4paper,landscape,border shrink=5mm]}
--8<---------------cut here---------------end--------------->8---
and all I do is delete the extra # on the first line and add one to the
second line to switch from generating handouts to generating my
slides. Remembering to hit C-c C-c, of course, before doing the
export.
I use very different themes for handouts (e.g. grey colour theme) and
for slides but those lines need not change.
Of course, by default, the export generates the same file name in both
cases. For my use case, this isn't an issue. I generate the handouts,
copy the resulting PDF file to the web server and then generate the
slides which I will actually present.
HTH,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org-mode version 7.8.06 (release_7.8.06.181.g67694.dirty)
next prev parent reply other threads:[~2012-04-25 9:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 8:14 Exporting a presentation to both slides and handouts? Alan Schmitt
2012-03-15 8:49 ` Jacek Generowicz
2012-03-15 13:26 ` John Hendy
2012-03-15 14:04 ` Alan Schmitt
2012-03-15 14:11 ` Jacek Generowicz
2012-03-15 14:55 ` Alan Schmitt
2012-03-15 15:10 ` Sebastien Vauban
2012-04-25 9:08 ` Eric Fraga [this message]
2012-04-25 14:50 ` Torsten Wagner
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=87zka0kwli.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=alan.schmitt@polytechnique.org \
--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).