From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Remove postamble in exported html from org-mode
Date: Wed, 30 Dec 2015 11:42:14 +0100 [thread overview]
Message-ID: <874mf0nrp5.fsf@gmx.us> (raw)
In-Reply-To: loom.20151230T094128-128@post.gmane.org
Xin <zariskij@gmail.com> writes:
> Nick Dokos <ndokos <at> gmail.com> writes:
>
>>
>> Xin <zariskij <at> gmail.com> writes:
>>
>> > Is there any way to globally remove the postamble (author, created date,
> etc..)
>> > of exported html from org-mode?
>> >
>> > I tried (setq org-html-postamble nil) in my init.el, but it doesn't work.
>> >
>>
>> Try doing that *after* ox-html is loaded:
>>
>> (eval-after-load "ox-html" (setq org-html-postamble nil))
>>
>
>
> Thanks for the reply. But it doesn't seem to work either.
>
> By the way, manually adding #+OPTIONS: html-postamble:nil to each org file does
> work. Just everything I tried in init.el has no effect at all (the value of org-
> html-postamble is indeed nil when I evaluate it).
Does the following snippet work from a clean Emacs? And a dirty?
(let ((org-html-postamble nil))
(require 'ox)
(with-temp-buffer
(insert "x")
(org-html-export-as-html)))
Rasmus
--
Nothing's wrong with an email that ends in a minor key
next prev parent reply other threads:[~2015-12-30 10:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 19:57 Remove postamble in exported html from org-mode Xin
2015-12-30 5:46 ` Nick Dokos
2015-12-30 8:43 ` Xin
2015-12-30 10:42 ` Rasmus [this message]
2015-12-30 22:19 ` Xin
2015-12-31 3:44 ` B.V. Raghav
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=874mf0nrp5.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
/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).