From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Need help with HTML export custom postamble Date: Wed, 26 Aug 2015 21:49:09 -0700 Message-ID: <55DE96C5.9000309@dagertech.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------060000090302060609000104" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUp7H-0003ao-Ve for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 00:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUp7E-0005sy-PL for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 00:48:47 -0400 Received: from dagertech.net ([64.183.98.170]:55162 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUp7E-0005rx-GF for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 00:48:44 -0400 Received: from [192.168.233.104] (unknown [192.168.176.200]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dagertech.net (Postfix) with ESMTPSA id 9C849A00EE for ; Wed, 26 Aug 2015 21:48:41 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------060000090302060609000104 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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" "

From .emacs

")) > ) ...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 --------------060000090302060609000104 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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).=C2=A0 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'.=C2=A0 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.=C2=A0

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

(setq org-export-html-postamble-format
=C2=A0 '(("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.=C2=A0 All 3 times the postamble from my .emacs w= as not used.

Finally, I tried "Local variables"?=C2=A0 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?=C2=A0 FW= IW, no, I do not have any org-publish-project-alist specified as this seems to be a "site-based" solution.=C2=A0 I'm looking for a page-based solution.

TIA!

--David
--------------060000090302060609000104--