From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou <n.goaziou@gmail.com> Subject: Re: another blog exporter Date: Mon, 10 Feb 2014 12:30:30 +0100 Message-ID: <87ha87mch5.fsf@gmail.com> References: <52F5137D.2000003@roklein.de> <52F6966C.2040409@roklein.de> <87ppmwra82.fsf@bzg.ath.cx> <52F78FDC.8090402@roklein.de> <874n47bbf3.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([2001:4830:134:3::10]:34104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <n.goaziou@gmail.com>) id 1WCp43-0008FZ-8t for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 06:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <n.goaziou@gmail.com>) id 1WCp3x-0001kr-EX for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 06:30:15 -0500 In-Reply-To: <874n47bbf3.fsf@bzg.ath.cx> (Bastien's message of "Mon, 10 Feb 2014 09:48:48 +0100") List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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: Bastien <bzg@gnu.org> Cc: emacs-orgmode@gnu.org, Robert Klein <roklein@roklein.de> Hello, Bastien <bzg@gnu.org> writes: > Somehow this calls for a way to let a backend use several affiliated > keywords. For example you would have: > > #+ATTR_HTML: :width 400px > #+ATTR_BLOG: :lineno t Org already provided a syntax to number lines in source blocks. Couldn't it be used instead? #+begin_src emacs-lisp -n ... #+end_src > and the exporter would take both into account, letting you to simply > export to HTML without the need to add redundant information. > > Nicolas, did this cross your mind? Or maybe this is already feasible? This is already feasible. See `org-beamer-plain-list' for an example. Both #+attr_latex and #+attr_beamer are read but the latter has precedence over the former. Regards, -- Nicolas Goaziou