[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Exporting to a Beamer presentation
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: Exporting to a Beamer presentation |
Date: |
Mon, 06 Jul 2009 17:40:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
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 piece
>>>> 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 follows:
>>>
>>> ,----
>>> | (add-to-list 'org-export-latex-classes
>>> | '("beamer"
>>> |
>>> "\\documentclass[11pt]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{verbatim}\n\\setbeameroption{show
>>> notes}\n\\usetheme{Goettingen}\n\\useoutertheme{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 interactive
compiled Lisp function in `message.el'.
It is bound to C-c M-m, <menu-bar> <Message> <Insert Region Marked>.
(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 (with
>> `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
--
Sébastien Vauban
- [Orgmode] Re: LaTeX export bugs?, Sébastien Vauban, 2009/07/01
- Re: [Orgmode] Re: LaTeX export bugs?, Nick Dokos, 2009/07/01
- [Orgmode] Re: LaTeX export bugs?, Sébastien Vauban, 2009/07/03
- Re: [Orgmode] Re: LaTeX export bugs?, Nick Dokos, 2009/07/03
- [Orgmode] Re: Exporting to a Beamer presentation,
Sébastien Vauban <=
- [OT] message-mark-inserted-region (was Re: [Orgmode] Re: Exporting to a Beamer presentation), Eric S Fraga, 2009/07/06
- Re: [OT] message-mark-inserted-region (was Re: [Orgmode] Re: Exporting to a Beamer presentation), Nick Dokos, 2009/07/06
- Re: [OT] message-mark-inserted-region (was Re: [Orgmode] Re: Exporting to a Beamer presentation), Eric S Fraga, 2009/07/06
- [Orgmode] Re: [OT] message-mark-inserted-region (was Re: Re: Exporting to a Beamer presentation), Sébastien Vauban, 2009/07/06
- Re: [Orgmode] Re: [OT] message-mark-inserted-region (was Re: Re: Exporting to a Beamer presentation), Nick Dokos, 2009/07/06
- Re: [Orgmode] Re: [OT] message-mark-inserted-region (was Re: Re: Exporting to a Beamer presentation), Eric S Fraga, 2009/07/06
- [Orgmode] Re: [OT] message-mark-inserted-region (was Re: Re: Exporting to a Beamer presentation), Sébastien Vauban, 2009/07/07
Re: [Orgmode] Re: LaTeX export bugs?, Carsten Dominik, 2009/07/02