From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] e-latex back-end: changes to attributes syntax Date: Wed, 28 Nov 2012 13:58:09 +0100 Message-ID: <87fw3w2jc6.fsf@gmail.com> References: <87haoiewwr.fsf@gmail.com> <20121126003917.GB9942@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdhHa-0006nX-Nb for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 08:02:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdhHU-00025N-GG for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 08:02:30 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdhHU-00025B-7N for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 08:02:24 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn17so3977080wib.12 for ; Wed, 28 Nov 2012 05:02:22 -0800 (PST) In-Reply-To: <20121126003917.GB9942@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Mon, 26 Nov 2012 01:39:17 +0100") 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Hello, Suvayu Ali writes: > On Wed, Nov 21, 2012 at 05:35:48PM +0100, Nicolas Goaziou wrote: >> >> Plain lists accept two optional attributes: `:environment' and >> `:options'. The first one allows to use a non-standard environment >> (i.e. "inparaenum"). The second one allows to specify optional >> arguments for that environment (square brackets are not mandatory). >> > > Are these available for org-e-beamer too? I tried without success. It > would be a great addition (along with the options for images > below). :) > >> Images accept `:float', `:placement' and `:options' as attributes. >> `:float' accepts a symbol among `wrap', `multicolumn', and >> `figure', which defines the float environment for the table (if >> unspecified, an image with a caption will be set in a "figure" >> environment). `:placement' is a string that will be used as >> argument for the environment chosen. `:options' is a string that >> will be used as the optional argument for "includegraphics" macro. >> Since Beamer back-end doesn't redefine how images are handled, you can use the same properties as above, within an attr_latex keyword. About special environments for plain lists, I'm unsure if this is a good idea. AFAIK many don't support overlay specifications so it would lead to errors when one provides both a special environment and an overlay, i.e.: --8<---------------cut here---------------start------------->8--- #+attr_beamer: :environment inparaenum :overlay "+-" - item 1 - item 2 --8<---------------cut here---------------end--------------->8--- Also, Beamer has its own way to render standard lists (through themes) and it could cause problems with foreign packages. On the other hand, I can still make it easy for an user to shoot himself in the foot: code-wise, it is cheap. What do you think? Regards, -- Nicolas Goaziou