From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Feature request: simplify usage of special blocks (for beamer) Date: Sun, 02 Dec 2018 11:55:20 +0000 Message-ID: <871s70xhw7.fsf@gmail.com> References: <87a7lpxfsc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTQLR-0004od-Lo for emacs-orgmode@gnu.org; Sun, 02 Dec 2018 06:55:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTQLM-0003oP-01 for emacs-orgmode@gnu.org; Sun, 02 Dec 2018 06:55:29 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:39705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTQLL-0003nJ-Nf for emacs-orgmode@gnu.org; Sun, 02 Dec 2018 06:55:23 -0500 Received: by mail-wm1-x336.google.com with SMTP id f81so578224wmd.4 for ; Sun, 02 Dec 2018 03:55:23 -0800 (PST) In-Reply-To: (Carlos Pita's message of "Sat, 1 Dec 2018 15:41:50 -0300") 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" To: Carlos Pita Cc: emacs-orgmode@gnu.org On Saturday, 1 Dec 2018 at 15:41, Carlos Pita wrote: >> > 1. Allow for special blocks to take an :options argument. >> >> Although I agree that this would be nice, I imagine the difficulty >> would be that it would be difficult to cater for multiple backends. > > It's not really difficult, more on the trivial side. For example, as > an end user I already can install a filter like: My point is that LaTeX is not the only export target for org, not that implementing it would be difficult for a specific target. That is why you are expected to use target specific attributes. >> Given that beamer inherits everything that the LaTeX exporter >> supports, is the special blocks section in the LaTeX exporter >> documentation not already enough? > > Not much users seem to be aware of the ablity of using special blocks > for beamer. No example, answer, tutorial out there even mentioned the > possibility. Given its convenience, I would say the beamer export > section should explicitly suggest the alternative. I've been using special blocks in beamer from the start but there's no harm in having an explicit mention in the beamer section of the manula, of course. So maybe please suggest the change in the manual (i.e. post a patch)? The manual written in org these days so easy to update. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.14-1035-gfeb442