emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Need help with HTML export custom postamble [SOLVED]
Date: Tue, 01 Sep 2015 11:19:06 -0400	[thread overview]
Message-ID: <87y4gqp3px.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 55E5040E.7060508@dagertech.net

"David A. Gershman" <gershman@dagertech.net> 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 <gershman@dagertech.net> 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	other threads:[~2015-09-01 15:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27  4:49 Need help with HTML export custom postamble David A. Gershman
2015-08-27  6:19 ` Thomas S. Dye
2015-09-01  0:29   ` David A. Gershman
2015-09-01  0:38     ` Thomas S. Dye
2015-09-01  0:46       ` David A. Gershman
2015-09-01  1:36         ` Thomas S. Dye
2015-09-01  1:49           ` Need help with HTML export custom postamble [SOLVED] David A. Gershman
2015-09-01 15:19             ` Nick Dokos [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=87y4gqp3px.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --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).