emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: custom postamble in HTML export


From: Łukasz Stelmach
Subject: [Orgmode] Re: custom postamble in HTML export
Date: Thu, 07 Oct 2010 11:26:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> On Oct 5, 2010, at 6:43 PM, Łukasz Stelmach wrote:
>
>> Carsten Dominik <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]