From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Exporting a presentation to both slides and handouts? Date: Thu, 15 Mar 2012 15:04:54 +0100 Message-ID: <5B436EAF-E6AC-46B3-8674-4AD5C56D8BB9@polytechnique.org> References: <580EE13B-CE44-41EF-92FA-52E4EC93D235@polytechnique.org> Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8BIb-00009f-Gt for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 10:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8BIU-0003Hy-LA for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 10:05:01 -0400 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:39152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8BIU-0003Hj-Ej for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 10:04:54 -0400 In-Reply-To: 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: 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? >=20 > #+latex_class_options: [handout] >=20 > which produces: >=20 > \documentclass[handout]{beamer} >=20 > 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? =46rom 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-note= s/): #+LaTeX_HEADER: \usepackage{handoutWithNotes} #+LaTeX_HEADER: \pgfpagesuselayout{3 on 1 with notes}[a4paper,border = shrink=3D5mm] #+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 >=20 > 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 >=20 > 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=