From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter: remove postamble in html of export subtree Date: Thu, 22 Nov 2012 14:38:33 +0100 Message-ID: <87y5htdag6.fsf@gmail.com> References: <87ehjn9qnz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbX3N-0007sW-CZ for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 08:42:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbX3H-0001Ic-Dy for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 08:42:53 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:49524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbX3H-0001IP-7f for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 08:42:47 -0500 Received: by mail-wg0-f49.google.com with SMTP id gg4so213394wgb.30 for ; Thu, 22 Nov 2012 05:42:46 -0800 (PST) In-Reply-To: <87ehjn9qnz.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 21 Nov 2012 16:19:36 +0530") 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: Jambunathan K Cc: Alan Schmitt , emacs-orgmode Hello, Jambunathan K writes: > Alan Schmitt writes: >> I'm trying to remove the postamble in the html-export of a subtree, and >> I don't know how to do it. This is what I tried: > > C-h v org-e-html-postamble RET > > >> >> >> #+BEGIN_SRC org >> :PROPERTIES: >> :EXPORT_OPTIONS: html-postamble:nil >> :END: >> #+END_SRC >> >> >> (I found the name of the option in the org-e-html.el file.) >> >> How can I specify this option so that it only applies to a subtree? > > Nicolas can advise you in this regard. Why would you want to do it on > per-subtree basis? You can't specify this option at the subtree level, because you can't specify it with neither a keyword nor an options item. The property :html-postamble is defined with the following line: (:html-postamble nil nil org-e-html-postamble) Its default value is `org-e-html-postamble'. The third element (nil) is the place to define an option item. For example, with: (:html-postamble nil "html-postamble" org-e-html-postamble) your syntax should be valid, along with the global: #+OPTIONS: html-postamble:nil This is now the case in master (along with #+OPTIONS: html-preamble:nil). Regards, -- Nicolas Goaziou