* Exporting a presentation to both slides and handouts?
@ 2012-03-15 8:14 Alan Schmitt
2012-03-15 8:49 ` Jacek Generowicz
2012-04-25 9:08 ` Eric Fraga
0 siblings, 2 replies; 9+ messages in thread
From: Alan Schmitt @ 2012-03-15 8:14 UTC (permalink / raw)
To: emacs-orgmode Mode
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
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-04-25 9:08 ` Eric Fraga
1 sibling, 1 reply; 9+ messages in thread
From: Jacek Generowicz @ 2012-03-15 8:49 UTC (permalink / raw)
To: Alan Schmitt; +Cc: emacs-orgmode Mode
At Thu, 15 Mar 2012 09:14:00 +0100,
Alan Schmitt wrote:
>
> 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.
On a related note, I'm looking to produce both slides (sparse) and
notes (dense) from a single org file. (Something akin to S5's handout
class, though I would be happy for the slides and notes to be
completely separate products, as long as their contents are extracted
from the same org source).
Any hints on org mode goodies which can help with this sort of thing?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
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
0 siblings, 2 replies; 9+ messages in thread
From: John Hendy @ 2012-03-15 13:26 UTC (permalink / raw)
To: Jacek Generowicz; +Cc: Alan Schmitt, emacs-orgmode Mode
On Thu, Mar 15, 2012 at 3:49 AM, Jacek Generowicz
<jacek.generowicz@cern.ch> wrote:
> At Thu, 15 Mar 2012 09:14:00 +0100,
> Alan Schmitt wrote:
>>
>> 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.
>
> On a related note, I'm looking to produce both slides (sparse) and
> notes (dense) from a single org file. (Something akin to S5's handout
> class, though I would be happy for the slides and notes to be
> completely separate products, as long as their contents are extracted
> from the same org source).
>
> Any hints on org mode goodies which can help with this sort of thing?
>
So are you just looking for something to automate this? It seems that
the generation of the beamer slides themselves are the hard part and,
as you say, it would be pretty easy to tweak the resultant .tex file
to give you handouts. Would that work?
You can add LaTeX class options to org-mode, and so you could export
once for the beamer presentation and then export again with the
handout class option added?
#+latex_class_options: [handout]
which produces:
\documentclass[handout]{beamer}
in the resultant file.
I haven't made handouts before, but this email got me interested. It
seems that all this option does is "flatten" the transitions and
overlays and whatnot? From there it seems one still needs to do
something to the file to layout the handouts n-up on a page.
So... if you don't have overlays, perhaps you don't need to do
anything to the presentation at all.
Just use a new document to layout the handouts how you want? I also
stumbled upon pdfjam, which looks like it aims to accomplish this step
more easily: http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam
They have this example:
---
A useful application of pdfjam is for producing a handout from a file
of presentation slides. For slides made with the standard 4:3 aspect
ratio a nice 6-up handout on A4 paper can be made by
pdfjam --nup 2x3 --frame true --noautoscale false --delta "0.2cm 0.3cm" \
--scale 0.95 myslides.pdf --outfile myhandout.pdf
---
Good luck!
John
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
2012-03-15 13:26 ` John Hendy
@ 2012-03-15 14:04 ` Alan Schmitt
2012-03-15 14:11 ` Jacek Generowicz
1 sibling, 0 replies; 9+ messages in thread
From: Alan Schmitt @ 2012-03-15 14:04 UTC (permalink / raw)
To: John Hendy; +Cc: emacs-orgmode Mode, Jacek Generowicz
On 15 mars 2012, at 14:26, John Hendy wrote:
> So are you just looking for something to automate this? It seems that
> the generation of the beamer slides themselves are the hard part and,
> as you say, it would be pretty easy to tweak the resultant .tex file
> to give you handouts. Would that work?
Yes, this is what I'm currently doing. More precisely, I
- copy the tex file to another name
- edit the prelude
> You can add LaTeX class options to org-mode, and so you could export
> once for the beamer presentation and then export again with the
> handout class option added?
>
> #+latex_class_options: [handout]
>
> which produces:
>
> \documentclass[handout]{beamer}
>
> in the resultant file.
Yes. When I don't want it anymore, I can remove it. But I'd rather keep it for next time. Is there a way to comment out a local setup line? (Add an extra '#' at the beginning?)
> I haven't made handouts before, but this email got me interested. It
> seems that all this option does is "flatten" the transitions and
> overlays and whatnot? From there it seems one still needs to do
> something to the file to layout the handouts n-up on a page.
Yes, what I'm doing is this (using a package described here http://www.guidodiepen.nl/2009/07/creating-latex-beamer-handouts-with-notes/):
#+LaTeX_HEADER: \usepackage{handoutWithNotes}
#+LaTeX_HEADER: \pgfpagesuselayout{3 on 1 with notes}[a4paper,border shrink=5mm]
#+LaTeX_HEADER: \renewcommand\pgfsetupphysicalpagesizes{%
#+LaTeX_HEADER: \pdfpagewidth\pgfphysicalwidth\pdfpageheight\pgfphysicalheight%
#+LaTeX_HEADER: }
(The last 3 lines are for xelatex compatibility.)
> Just use a new document to layout the handouts how you want? I also
> stumbled upon pdfjam, which looks like it aims to accomplish this step
> more easily: http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam
>
> They have this example:
> ---
> A useful application of pdfjam is for producing a handout from a file
> of presentation slides. For slides made with the standard 4:3 aspect
> ratio a nice 6-up handout on A4 paper can be made by
>
> pdfjam --nup 2x3 --frame true --noautoscale false --delta "0.2cm 0.3cm" \
> --scale 0.95 myslides.pdf --outfile myhandout.pdf
> ---
Thanks for the suggestion. I could use that as well indeed.
Alan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
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
1 sibling, 2 replies; 9+ messages in thread
From: Jacek Generowicz @ 2012-03-15 14:11 UTC (permalink / raw)
To: John Hendy; +Cc: Alan Schmitt, emacs-orgmode Mode, Jacek Generowicz
At Thu, 15 Mar 2012 08:26:13 -0500,
John Hendy wrote:
>
> On Thu, Mar 15, 2012 at 3:49 AM, Jacek Generowicz
> <jacek.generowicz@cern.ch> wrote:
> > At Thu, 15 Mar 2012 09:14:00 +0100,
> > Alan Schmitt wrote:
> >>
> >> 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.
> >
> > On a related note, I'm looking to produce both slides (sparse) and
> > notes (dense) from a single org file. (Something akin to S5's handout
> > class, though I would be happy for the slides and notes to be
> > completely separate products, as long as their contents are extracted
> > from the same org source).
> >
> > Any hints on org mode goodies which can help with this sort of thing?
> >
>
> So are you just looking for something to automate this? It seems that
> the generation of the beamer slides themselves are the hard part and,
> as you say, it would be pretty easy to tweak the resultant .tex file
> to give you handouts. Would that work?
>
> You can add LaTeX class options to org-mode, and so you could export
> once for the beamer presentation and then export again with the
> handout class option added?
>
> #+latex_class_options: [handout]
>
> which produces:
>
> \documentclass[handout]{beamer}
>
> in the resultant file.
>
> I haven't made handouts before, but this email got me interested. It
> seems that all this option does is "flatten" the transitions and
> overlays and whatnot? From there it seems one still needs to do
> something to the file to layout the handouts n-up on a page.
>
> So... if you don't have overlays, perhaps you don't need to do
> anything to the presentation at all.
>
> Just use a new document to layout the handouts how you want? I also
> stumbled upon pdfjam, which looks like it aims to accomplish this step
> more easily: http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam
>
> They have this example:
> ---
> A useful application of pdfjam is for producing a handout from a file
> of presentation slides. For slides made with the standard 4:3 aspect
> ratio a nice 6-up handout on A4 paper can be made by
>
> pdfjam --nup 2x3 --frame true --noautoscale false --delta "0.2cm 0.3cm" \
> --scale 0.95 myslides.pdf --outfile myhandout.pdf
> ---
Although I (who wrote the followup to the OP) can't speak for Alan
(the OP), it seems that his requirement is different from mine. It
looks like you are addressing Alan's requirement.
Perhaps a few more words to explain what I'm after wouldn't go amiss.
When giving, talks, presentations, lectures, tutorials, etc. I would
like to have sparse slides, whose main purpose is to establish an
order for the talk (remind me what to say next), and to highlight the
key messages. They need to be easily legible from the back of the room
and should not drown the listeners in detail. By this very nature,
they are almost useless as a handout, because their information
content is visible. I want the handout to go into detail: it should
contain pretty much anything that I might say in the talk while any
given slide is being displayed, as well as anticipating any questions
that might be raised in relation to that slide. But the important
thing is that the slides an the handout belong together: they are the
same material, presented in (essentially) the same order, the only
difference being that the slides are a view from 10000 ft, while the
handout is the real thing. You might think of the slides as the
highlights of the handout.
I've done this with S5 in the past, where it looks like this:
<div class="slide">
<h1>Broad Topic</h1>
<ul class="incremental">
<li> My first point <div class="handout"> A few additional words</div></li>
<li> My second point
<div class="handout">
My second point is a really involved one, so here I might
write many paragraphs, explaining it in great detail.
</div>
</li>
<li> My third point, which doesn't need any further explanation</li>
</ul>
<div class="handout">
Some more stuff, which isn't directly pertinent to any of the
first three specific points, but pertains to the Broad Topic
discussed on this slide. Again, there might be many paragraphs or
even pages here, source code, graphs, bibliography, etc.
</div>
</div>
Anything belonging to the "handout" class, will *not* be displayed on
the slides, everything else will appear on the slides.
In summary, what appears on the slides is entirely different from what
appears on the handout, (though the former might be a subset of the
latter), but the contents of both documents should be extracted from
the same flow of information in a single org file.
(Also, I'm not necessarily committed to LaTeX-based export options: I
am approximately equally interested in HTML-based ones too.)
If anybody has any experience with, or ideas about this sort of thing,
I'd love to hear them.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
2012-03-15 14:11 ` Jacek Generowicz
@ 2012-03-15 14:55 ` Alan Schmitt
2012-03-15 15:10 ` Sebastien Vauban
1 sibling, 0 replies; 9+ messages in thread
From: Alan Schmitt @ 2012-03-15 14:55 UTC (permalink / raw)
To: Jacek Generowicz; +Cc: emacs-orgmode Mode
On 15 mars 2012, at 15:11, Jacek Generowicz wrote:
> Anything belonging to the "handout" class, will *not* be displayed on
> the slides, everything else will appear on the slides.
Could you play with export tags?
http://orgmode.org/manual/Selective-export.html#Selective-export
Then setting the ~org-export-select-tags~ or ~org-export-exclude-tags~ could get you selective export (for instance, excluding the ~handout~ tag when exporting slides).
(I would want the same thing for local setup lines, the one that start with ~#+~ …)
Alan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
2012-03-15 14:11 ` Jacek Generowicz
2012-03-15 14:55 ` Alan Schmitt
@ 2012-03-15 15:10 ` Sebastien Vauban
1 sibling, 0 replies; 9+ messages in thread
From: Sebastien Vauban @ 2012-03-15 15:10 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi Jacek,
Jacek Generowicz wrote:
> When giving, talks, presentations, lectures, tutorials, etc. I would
> like to have sparse slides, whose main purpose is to establish an
> order for the talk (remind me what to say next), and to highlight the
> key messages. They need to be easily legible from the back of the room
> and should not drown the listeners in detail. By this very nature,
> they are almost useless as a handout, because their information
> content is visible. I want the handout to go into detail: it should
> contain pretty much anything that I might say in the talk while any
> given slide is being displayed, as well as anticipating any questions
> that might be raised in relation to that slide. But the important
> thing is that the slides an the handout belong together: they are the
> same material, presented in (essentially) the same order, the only
> difference being that the slides are a view from 10000 ft, while the
> handout is the real thing. You might think of the slides as the
> highlights of the handout.
Did you look at the "Notes"?
See "12.6.6 Beamer class export" of
http://www.bookshelf.jp/texi/org/org_12.html#SEC197, and the possility to use
C-c C-b n/N (with heading ignored or not).
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
2012-03-15 8:14 Exporting a presentation to both slides and handouts? Alan Schmitt
2012-03-15 8:49 ` Jacek Generowicz
@ 2012-04-25 9:08 ` Eric Fraga
2012-04-25 14:50 ` Torsten Wagner
1 sibling, 1 reply; 9+ messages in thread
From: Eric Fraga @ 2012-04-25 9:08 UTC (permalink / raw)
To: Alan Schmitt; +Cc: emacs-orgmode Mode
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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Exporting a presentation to both slides and handouts?
2012-04-25 9:08 ` Eric Fraga
@ 2012-04-25 14:50 ` Torsten Wagner
0 siblings, 0 replies; 9+ messages in thread
From: Torsten Wagner @ 2012-04-25 14:50 UTC (permalink / raw)
To: Alan Schmitt, emacs-orgmode Mode
Hi,
I think most flexible would be to use tags
create tags like "handout" and "presentation"
Tag all blocks accordingly (handout, presentation or both)
Set the export tag to handout or resp. to presentation.
Since blocks in slides are represented by third level org headlines
one could easily remove blocks for either handouts or presentation.
Other blocks could be tagged "lecture-notes" giving guidance to the presenter
I did not try this but it should work
Torsten
On 25 April 2012 18:08, Eric Fraga <e.fraga@ucl.ac.uk> wrote:
> 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)
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-04-25 14:50 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-04-25 14:50 ` Torsten Wagner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.