From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter and derived-backend Date: Wed, 06 Feb 2013 23:13:19 +0100 Message-ID: <87a9rhm6ps.fsf@gmail.com> References: <20130205232038.GA51164@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3DLF-0007KU-Hg for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 17:19:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3DL8-0003qI-UZ for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 17:19:45 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:58244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3DL8-0003pW-O1 for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 17:19:38 -0500 Received: by mail-wi0-f177.google.com with SMTP id hm14so2165686wib.4 for ; Wed, 06 Feb 2013 14:19:37 -0800 (PST) In-Reply-To: <20130205232038.GA51164@BigDog.local> (Rick Frankel's message of "Tue, 5 Feb 2013 18:20:38 -0500") 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 Hello, Rick Frankel writes: > Hi- > I am trying to define a backend derived from `e-html' for export to > s5. However, it seems that the derived settings in `:options-alist' > are not being respected. > > For instance: > > #+begin_src elisp > (org-export-define-derived-backend foo e-html > :options-alist > ((:style-include-scripts nil nil nil t) > (:style-include-default nil nil nil t) > (:style nil nil "" t))) > (org-export-to-buffer 'foo "*foo*") > (with-current-buffer "*foo*" > (buffer-substring (point-min) (point-max))) > #+end_src > > Still includes both the default style and the scripts and does not > include the `:style' specified above. Abbreviated results from the > above: > > #+results: > #+begin_example > > > > > > > #+end_example > > > am i missing something or is there a problem in org-e-html? That's a bug in ox.el. It will be fixed when the it is merged. Thank you for reporting it. Please note that :style will become :html-style and so on. Regards, -- Nicolas Goaziou