emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "David A. Gershman" <gershman@dagertech.net>
To: emacs-orgmode@gnu.org
Subject: Need help with HTML export custom postamble
Date: Wed, 26 Aug 2015 21:49:09 -0700	[thread overview]
Message-ID: <55DE96C5.9000309@dagertech.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]

Hello Everyone,

I've searched and read and found several examples of making custom
postambles for an HTML export, but I can't seem to find a way to do it
all in a local file.

First, I'm new to HTML exporting (as some of you remember from my last
email).  So, I went ahead and inserted a template into my .org file (C-c
C-e # html) and noticed "html-postable" was set to 't'.  Based on what I
read, this means it should take the contents of the variable
"org-export-html-postamble-format" and use /that/ for the postamble. 

However, I set /org-export-html-postamble-format/ in my .emacs file:

> (setq org-export-html-postamble-format
>   '(("en" "<p>From .emacs</p>"))
> )
...and in my .org file had:

#+OPTIONS: html-postamble:t

then I tried

#+OPTIONS: html-postamble:auto

and also removed it.  All 3 times the postamble from my .emacs was not used.

Finally, I tried "Local variables"?  Never did this before but attempted
it and put:

> # Local Variables:
> # org-html-postamble: t
> # org-export-html-postamble-format: "Hello World"
> # End:
in my .org file and still no luck.

Can a custom pre/postamble be specified on a per file basis?  FWIW, no,
I do not have any /org-publish-project-alist/ specified as this seems to
be a "site-based" solution.  I'm looking for a page-based solution.

TIA!

--David

[-- Attachment #2: Type: text/html, Size: 1953 bytes --]

             reply	other threads:[~2015-08-27  4:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27  4:49 David A. Gershman [this message]
2015-08-27  6:19 ` Need help with HTML export custom postamble 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

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=55DE96C5.9000309@dagertech.net \
    --to=gershman@dagertech.net \
    --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).