emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Need help with HTML export custom postamble
@ 2015-08-27  4:49 David A. Gershman
  2015-08-27  6:19 ` Thomas S. Dye
  0 siblings, 1 reply; 8+ messages in thread
From: David A. Gershman @ 2015-08-27  4:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-01 15:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).