From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: Alan Schmitt <alan.schmitt@polytechnique.org>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: new exporter: remove postamble in html of export subtree
Date: Thu, 22 Nov 2012 14:38:33 +0100 [thread overview]
Message-ID: <87y5htdag6.fsf@gmail.com> (raw)
In-Reply-To: <87ehjn9qnz.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 21 Nov 2012 16:19:36 +0530")
Hello,
Jambunathan K <kjambunathan@gmail.com> writes:
> Alan Schmitt <alan.schmitt@polytechnique.org> 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
next prev parent reply other threads:[~2012-11-22 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 9:19 new exporter: remove postamble in html of export subtree Alan Schmitt
2012-11-21 10:49 ` Jambunathan K
2012-11-21 10:57 ` Alan Schmitt
2012-11-22 13:38 ` Nicolas Goaziou [this message]
2012-11-22 13:53 ` Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y5htdag6.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).