From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: Re: latex export and beamer columns Date: Mon, 23 Nov 2009 22:02:12 -0200 Message-ID: <6ac505ad0911231602v1ffe5236g7f926649f14c8d15@mail.gmail.com> References: <876394m49f.wl%ucecesf@ucl.ac.uk> <3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com> <878wdylpw5.wl%ucecesf@ucl.ac.uk> <876392lhfh.wl%ucecesf@ucl.ac.uk> <87hbsklwfa.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCirK-0005A8-IQ for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 19:02:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCirG-00058O-UO for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 19:02:18 -0500 Received: from [199.232.76.173] (port=53751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCirG-00058I-Li for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 19:02:14 -0500 Received: from mail-qy0-f200.google.com ([209.85.221.200]:42220) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCirG-0000QX-3C for emacs-orgmode@gnu.org; Mon, 23 Nov 2009 19:02:14 -0500 Received: by qyk38 with SMTP id 38so2981692qyk.25 for ; Mon, 23 Nov 2009 16:02:12 -0800 (PST) In-Reply-To: <87hbsklwfa.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: e.fraga@ucl.ac.uk Cc: org-mode mailing list , Carsten Dominik Eric listed all (or almost all) "requirements" for exporting Beamer. Some of the mI encountered a few days ago. I decided to export the lists into latex and then converting by hand the rest of the presentation. I am also very happy that "Beamer" is becoming an official directive of org-mode. Carsten converted us to org-mode and we converted him to Beamer! Daniel 2009/11/23 Eric S Fraga : > At Mon, 23 Nov 2009 14:55:53 +0100, Carsten Dominik wrote: >> >> Hi Eric, >> >> I am now getting interested in beamer support. =A0I think this is >> interesting enough to implement special support for making beamer >> slides. > > Excellent! > >> Can I ask you to think about it in general terms, what would be useful >> to have? > > I've been using org-mode for my presentations for a few months now and > intensively the past week or so for a set of lectures (70+ slides) I > have to give starting tomorrow (yikes! =A0had better get them > finished...!). =A0It's working remarkably well. > > Beamer has many many features and I think it would violate the ethos > of org-mode if we attempted to support the majority of them. =A0Although > I can suggest a number of features I think would be nice to support, > I'm sure others will have a different subset they think is > critical... however, I will give it a go: > > 1. being able to easily specify columns. =A0I've proposed a solution > =A0 works well for me but it is a bit clumsy and does impose a meaning > =A0 on the 3rd and 4th level headings. =A0This might conflict with other > =A0 potential uses for these headings obviously (cf. next point). Also, > =A0 please see my response to your comment on the impact of this on > =A0 normal latex export below. =A0The nice thing about using headings to > =A0 indicate columns is the ease with which the columns can be > =A0 re-ordered. > > 2. it would be nice to support the block environment in beamer. =A0The > =A0 obvious way would be to use 3rd level headings to indicate blocks. > =A0 In my case, I use these less frequently than columns which is why I > =A0 chose to use 3rd level headings to indicate columns. =A0However, a > =A0 solution that catered for both would be great. > > =A0 one solution I am playing with, given that I often have blocks > =A0 within columns, is to use the 5th level headings for block > =A0 headings: > > --8<---------------cut here---------------start------------->8--- > =A0 ("\\section{%s}" . "\\section*{%s}") > =A0 ("\\begin{frame}\\frametitle{%s}" "\\end{frame}" > =A0 =A0"\\begin{frame}\\frametitle{%s}" "\\end{frame}") > =A0 ("\\begin{columns} \% %s" "\\end{columns}" > =A0 =A0"\\begin{columns} \% %s" "\\end{columns}") > =A0 ("\\begin{column}{%s\\textwidth}" "\\end{column}" > =A0 =A0"\\begin{column}{%s\\textwidth}" "\\end{column}") > =A0 ("\\begin{block}{%s}" "\\end{block}" > =A0 =A0"\\begin{block}{%s}" "\\end{block}") > --8<---------------cut here---------------end--------------->8--- > > =A0 For example, the following would generate a block within a full > =A0 width column on the slide: > > --8<---------------cut here---------------start------------->8--- > *** Another slide > ***** columns > ******* 1.0 > ********* My proposition > =A0 =A0 =A0 =A0 =A0- work better > =A0 =A0 =A0 =A0 =A0- work faster > =A0 =A0 =A0 =A0 =A0- have a life > --8<---------------cut here---------------end--------------->8--- > > =A0 Although clumsy, it works! =A0(set H:5 of course) > > 3. support for animation, typically through the special tags on > =A0 items and blocks (and more generally on most latex environments), > =A0 would be nice. =A0This can be used to selectively display different > =A0 parts of a slide. =A0One way to implement this, at least for itemized > =A0 lists, would be through a new bullet point syntax, as in: > > =A0 <1-> item to display from first virtual "slide" onwards > =A0 <2-3> display on second and third views of the slide > =A0 <-4> display up to 4th view > > =A0 which would translate to > > =A0 \begin{itemize} > =A0 \item<1-> item to display from first virtual "slide" onwards > =A0 \item<2-3> display on second and third views of the slide > =A0 \item<-4> display up to 4th view > =A0 \end{itemize} > > =A0 I have no idea how hard it would be to incorporate this into the > =A0 current list handling however... although I can imagine it could be > =A0 quite difficult. > > 4. as already mentioned in another email, passing arguments to the > =A0 frame environment would also be quite useful. =A0This could be done > =A0 with an attribute type of framework as done for figures and > =A0 tables. =A0I don't use many options to frame but I do find the need > =A0 to use [shrink=3D20] or similar often (because my default font > =A0 setting for beamer is "bigger" and so slides with more than a few > =A0 bullet points or equations quickly overflow the slide). > > 5. finally, I use tikz a great deal in my presentations. =A0However, > =A0 this is probably best handled by the normal embedded latex features > =A0 already present. > > Again, this list is based on the features I find I use in beamer and > others will have other requirements unfortunately. > >> One of the problems with your most recent solution for the columns >> problem is that the document no longer exports really well to a normal >> LaTeX document - or is this no issue because beamer has its own way to >> produce handouts, so that the LaTeX export of a document intended for >> beamer is not so interesting? > > Yes, beamer provides a very nice handout mode (option "handout" to the > beamer document class). > >> But also in a broader sense: =A0What would be useful? =A0I think making >> slides in this way, through org, could be extremely fast and useful. > > It is indeed fast and very useful. =A0It's made preparing my slides much > less painful and almost a pleasure, especially the ease with which I > can now change the order of my presentation etc! =A0But I should say > that, for pedagogical reasons, I purposely keep my slides quite > simple as much as possible. > > I look forward to seeing what you come up with! =A0I'm happy to send you > examples of both beamer and org-mode->beamer that I have prepared for > seminars and teaching. =A0Let me know. > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >