From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Latex export to documentclass beamer Date: Mon, 17 Aug 2009 09:43:47 -0500 Message-ID: <4A896CA3.6050003@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md3RG-0001PA-2s for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 10:43:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md3RB-0001Mt-AH for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 10:43:57 -0400 Received: from [199.232.76.173] (port=39575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md3RB-0001Mf-5T for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 10:43:53 -0400 Received: from outbound-mail-148.bluehost.com ([67.222.38.38]:43220) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Md3RA-0003MQ-MZ for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 10:43:52 -0400 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: Org Mode This seems like a very common thing to want to do, but am I right in thinking that it's also very hard to get right because the frame environment is not really a sectioning environment? As I understand things, the way we export to latex is to insert sectioning commands, and drop translated content in between. However, this doesn't seem like the right model for Beamer. Consider a crude talk outline like this: * Here's a simple point Some material here * Here's a complex point ** First component point Explanation ** Second component point More explanation.... The "right" way to translate this is something like \section{Here's a simple point} \begin{frame} \frametitle{Here's a simple point} ... \end{frame} \section{Here's a complex point} \begin{frame} \frametitle{First component point} .... \end{frame} \begin{frame} \frametitle{Second component point} .... \end{frame} ------------------------------------------ I.e., there's some rule like "If a header has text under it, then treat it as a frame, otherwise, just treat it as a section header." You see this above, where the two top-level headers are treated differently. I can't think of any obvious way to translate org to beamer that doesn't require choosing a /specific/ level of the outline as "the level that corresponds to a frame," and doing that seems to seriously compromise the outlining flexibility of org-mode. Am I missing something here? Is there some better way to figure out how to introduce frames, instead of treating them as sectioning headers? thanks, R