From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New exporter, beamer confusion Date: Mon, 04 Feb 2013 20:51:40 +0100 Message-ID: <87wqun5037.fsf@gmail.com> References: <20130204063905.GA23614@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2SZA-0007E8-A7 for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 15:23:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2SZ8-0003Fo-Mh for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 15:23:00 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:39350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2SZ8-0003Ff-69 for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 15:22:58 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so4959690wgd.4 for ; Mon, 04 Feb 2013 12:22:56 -0800 (PST) In-Reply-To: (James Harkins's message of "Mon, 4 Feb 2013 08:55:48 +0000 (UTC)") 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: James Harkins Cc: emacs-orgmode@gnu.org Hello, James Harkins writes: > Suvayu Ali gmail.com> writes: > >> On Mon, Feb 04, 2013 at 12:00:08PM +0800, James Harkins wrote: >> > #+OPTIONS: H:10 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t >> >> The H:10 is your problem. Since you want 2nd level headlines to be >> frames, it should be H:2. > > Ah. OK, that's an improvement. > > Still a problem, though. The old exporter preserves the outline structure under > the frame level, as nested bullet lists. The new exporter flattens them. > > ***** In: > > * Section A > ** Slide 1 > *** Third-level > **** Fourth-level > > ***** Old exporter: > > Slide 1 > ------- > - Third-level > -- Fourth-level > > ***** New exporter: > > Slide 1 > ------- > Third-level > Fourth-level > > Should the new exporter change the appearance of my presentations so much? I'm > hoping there's an option for this (as redoing the markup for 20 or more sets of > class slides is... painful to contemplate). Here's an excerpt from ox-beamer.el documentation: ;; - Headlines become frames when their level is equal to ;; `org-beamer-frame-level' (or "H" value in the OPTIONS line). ;; Though, if an headline in the current tree has a "BEAMER_env" ;; (see below) property set to either "frame" or "fullframe", its ;; level overrides the variable. A "fullframe" is a frame with an ;; empty (ignored) title. ;; ;; - All frames' children become block environments. Special block ;; types can be enforced by setting headline's "BEAMER_env" property ;; to an appropriate value (see `org-beamer-environments-default' ;; for supported value and `org-beamer-environments-extra' for ;; adding more). In particular, "All frames children become block environments". So in your example Third-level is a block environment and Fourth-level is a block within it. There's no flattening going on (look at the tex file to convince yourself). Regards, -- Nicolas Goaziou