From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Exporting to a Beamer presentation Date: Mon, 06 Jul 2009 17:40:48 +0200 Message-ID: <871votlszj.fsf@mundaneum.com> References: <87vdmjglto.fsf@mundaneum.com> <874otwduhr.fsf@mundaneum.com> <9854.1246500519@gamaville.dokosmarshall.org> <87vdma17oz.fsf@mundaneum.com> <13216.1246639946@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Nick, >>>> BTW, any solution for exporting to a Beamer presentation? I'd be very >>>> very very interested by anything in that direction. That's the last pi= ece >>>> of the whole puzzle, IMHO. >>> >>> I did a beamer presentation in org-mode last month (1 hour, about 20 >>> slides). Here is a simplified version (I'll talk about some problems at >>> the end). >>> >>> o org-export-latex-classes is augmented with a beamer element as follow= s: >>> >>> ,---- >>> | (add-to-list 'org-export-latex-classes >>> | '("beamer" >>> | "\\documentclass[11pt]{beamer}\n\\usepackage[utf8]{i= nputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{v= erbatim}\n\\setbeameroption{show notes}\n\\usetheme{Goettingen}\n\\useouter= theme{infolines}" >>> | ("\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\= \end{itemize}\\end{frame}" >>> | "\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\= \end{itemize}\\end{frame}") >>> | ("\\item{%s}" . "\\item*{%s}") >>> | ("\\end{itemize}\\note{" "}"))) >>> `---- BTW, you'd better use `C-c M-m' for quoting your code. It will allow an easy copy past of it... Like this: --8<---------------cut here---------------start------------->8--- C-c M-m runs the command message-mark-inserted-region, which is an interact= ive compiled Lisp function in `message.el'. It is bound to C-c M-m, . (message-mark-inserted-region beg end &optional verbatim) Mark some region in the current article with enclosing tags. See `message-mark-insert-begin' and `message-mark-insert-end'. If verbatim, use slrn style verbatim marks ("#v+" and "#v-"). --8<---------------cut here---------------end--------------->8--- >> Excellent idea... [But] having done the above `add-to-list' in Emacs (wi= th >> `C-x C-e'), I got a different exported file than yours. But really >> different [...] >> >> There is no text, in fact... >> Don't understand why... > > I don't understand why either, but it may be some setting in my setup > or your setup that leads to the different behavior. Spotted it down... I am skipping even levels and only use odd levels for the outline: --8<---------------cut here---------------start------------->8--- (setq org-odd-levels-only t) --8<---------------cut here---------------end--------------->8--- But your example had even levels... So, changing: --8<---------------cut here---------------start------------->8--- ** Reason 1 --8<---------------cut here---------------end--------------->8--- to: --8<---------------cut here---------------start------------->8--- *** Reason 1 --8<---------------cut here---------------end--------------->8--- solves the main issue, and let me test better this fantastic export... Thanks Nick, Seb --=20 S=C3=A9bastien=C2=A0Vauban _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode