From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Re: Need help with HTML export custom postamble Date: Mon, 31 Aug 2015 17:29:26 -0700 Message-ID: <55E4F166.4050908@dagertech.net> References: <55DE96C5.9000309@dagertech.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------020702080208030206090907" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWZRV-0006VY-QQ for emacs-orgmode@gnu.org; Mon, 31 Aug 2015 20:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWZRR-00059Z-Lj for emacs-orgmode@gnu.org; Mon, 31 Aug 2015 20:28:53 -0400 Received: from dagertech.net ([64.183.98.170]:55920 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWZRR-00059J-AB for emacs-orgmode@gnu.org; Mon, 31 Aug 2015 20:28:49 -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 5AAA5A02E7 for ; Mon, 31 Aug 2015 17:28:46 -0700 (PDT) In-Reply-To: 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. --------------020702080208030206090907 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit So I finally was able to test out the C-c C-c. It did ask me if I wanted to apply and I said yes. When I exported the file, my postamble (as specified in the variable) was /not/ shown...it was still the default. Strangely, when I did C-c C-c, Emacs came back with this: > The local variables list in syllabus.org > contains values that may not be safe (*). > Do you want to apply it? You can type > y -- to apply the local variables list. > n -- to ignore the local varialbes list. > ! -- to apply..... > > * org-html-postamble : t > * org-export-hml-postamble-format : "Hello World" Notice the *'*'* warning not to be safe. But the source .org file is with '#' as it should be (seen further below). Thoughts? On 08/26/2015 11:19 PM, Thomas S. Dye wrote: >> 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. > After you add this to the .org file, you need to refresh the setup. I > do this by moving cursor to the top of the file (with all of the #+ > lines) and pressing C-c C-c. You should get a message asking if it is > OK to set local variables. Pressing y should set org-html-postamble and > org-export-html-postamble-format for that buffer. > > hth, > Tom > --------------020702080208030206090907 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable So I finally was able to test out the C-c C-c.=A0 It did ask me if I wanted to apply and I said yes.=A0 When I exported the file, my postamble (as specified in the variable) was not shown...it was still the default.

Strangely, when I did C-c C-c, Emacs came back with this:

The local variables list in syllabus.org
contains values that may not be safe (*).

Do you want to apply it?=A0 You can type
y=A0 -- to apply the local variables list.
n=A0 -- to ignore the local varialbes list.
!=A0 --=A0 to apply.....

=A0=A0 * org-html-postamble : t
=A0=A0 * org-export-hml-postamble-format : "Hello World"
<= /blockquote> Notice the '*' warning not to be safe.=A0 But the source .org file is with '#' as it should be (seen further below).

Thoughts?


On 08/26/2015 11:19 PM, Thomas S. Dye wrote:
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.
After you add this to the .org file, you need to refresh the setup.  I
do this by moving cursor to the top of the file (with all of the #+
lines) and pressing C-c C-c.  You should get a message asking if it is
OK to set local variables.  Pressing y should set org-html-postamble and
org-export-html-postamble-format for that buffer.

hth,
Tom


--------------020702080208030206090907--