From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Special blocks with options in LaTeX export Date: Sun, 28 Jun 2015 13:30:33 +0200 Message-ID: <87pp4gnk86.fsf@gmx.us> References: <20150628112350.GC24926@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9AnN-0000nF-MG for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 07:30:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9AnK-0002k4-4R for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 07:30:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:48920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9AnJ-0002ju-U6 for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 07:30:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z9AnH-0004IY-0k for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 13:30:39 +0200 Received: from 90.163.164.75 ([90.163.164.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jun 2015 13:30:39 +0200 Received: from rasmus by 90.163.164.75 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jun 2015 13:30:39 +0200 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: emacs-orgmode@gnu.org Suvayu Ali writes: > Hi, > > I am trying to export special blocks with options. But it seems the > options part is being ignored completely. I expect the following: > > #+begin_aside :options {Combinatorial background} > It is all random! > #+end_aside > > to be exported as: > > \begin{aside}{Combinatorial background} > It is all random! > \end{aside} > > However what I get is without the extra argument to the environment. > > Am I missing something, or is this a bug? #+attr_latex: :options test #+begin_aside random #+end_aside Options are read via (org-export-read-attribute :attr_latex special-block :options). As to whether special blocks should support options via a keyword like in your example, I do not know. FWIW ox-html also reads attributes for special blocks via an ATTR_BACKEND line. Rasmus -- There are known knowns; there are things we know that we know