emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: custom postamble in HTML export
Date: Thu, 07 Oct 2010 11:26:04 +0200	[thread overview]
Message-ID: <871v82cq1f.fsf@dasa3.iem.pw.edu.pl> (raw)
In-Reply-To: F2772CFA-A534-4036-9E33-5095C71107D0@gmail.com

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Oct 5, 2010, at 6:43 PM, Łukasz Stelmach wrote:
>
>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>
>>> :postamble is meant to completely replace the automatic
>>> postamble Org creates,
>>
>> But what if I like the information it puts there?
>
> Then you have a case which Org currently does not handle.

Yes, it does. org-export-html-postamble may also be a function. So it'll
be a lot better for all of us, and especially for the code, if I just
c'n'p the automatic postamble code as a custom function and add there
what I need. The only minor problem here is how to load the function
only when it's needed, no sooner than I open any of the files that
require it. But it's "for something completely different" ;-)

> You would have to introduce a new variable, org-export-html-postamble-
> extra and arrange for it to be handled correctly with publishing
> properties etc etc.

According to Larry Wall[1], laziness is one of the greatest virtues
of programmers[2]. Right next to impatiens and hubris ;-)

[1] http://en.wikipedia.org/wiki/Larry_Wall
[2] http://en.wikipedia.org/wiki/Larry_Wall#Virtues_of_a_programmer

-- 
Miłego dnia,
Łukasz Stelmach

      parent reply	other threads:[~2010-10-07  9:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-04 17:59 custom postamble in HTML export Łukasz Stelmach
2010-10-05  1:28 ` Carsten Dominik
2010-10-05 16:43   ` Łukasz Stelmach
2010-10-05 18:02     ` Achim Gratz
2010-10-05 18:05     ` Carsten Dominik
2010-10-06  8:15       ` Łukasz Stelmach
2010-10-07  9:26       ` Łukasz Stelmach [this message]

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=871v82cq1f.fsf@dasa3.iem.pw.edu.pl \
    --to=lukasz.stelmach@iem.pw.edu.pl \
    --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).