emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Need help with HTML export custom postamble [SOLVED]


From: Nick Dokos
Subject: Re: [O] Need help with HTML export custom postamble [SOLVED]
Date: Tue, 01 Sep 2015 11:19:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

"David A. Gershman" <address@hidden> writes:

> *argh*  I remember that variation of postamble in my readings...didn't
> think to try it.  Thank you!!!
>
> I attempted the export as well and it worked as expected.  I appreciate
> your patience!
>
> FWIW, yes, I'm on the latest Org (8.3.1) and Emacs 24.4.1 (Debian Jessie).
>
> On 08/31/2015 06:36 PM, Thomas S. Dye wrote:
>> David A. Gershman <address@hidden> writes:
>>
>>>> # Local Variables:
>>>> # org-html-postamble: t
>>>> # org-export-html-postamble-format: "Hello World"
>>>> # End:
>>> Either typing C-c C-c, or just opening the file will ask me about the
>>> variables.  I answer 'y', but still get the default postamble.
>> Are you using an old Org mode, pre 8.0?  I believe that's when the old
>> org-export-* variables lost the "export" part.
>>
>> At any rate, the problem appears to be that org-html-postamble-format
>> (in Org mode > 8.0) is an association list, not a string.
>>
>> This works for me using a recent Org mode:
>>
>> # Local Variables:
>> # org-html-postamble: t
>> # eval: (add-to-list 'org-html-postamble-format (quote ("en" "Hello
>> World")))

This is probably more complicated than it needs to be: if you are just
setting the postamble, not appending to it, it would be preferable (and
simpler) to avoid the eval:

# org-html-postamble-format: (quote ("en" "Hello World"))

>> # End:

Nick






reply via email to

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