emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "David A. Gershman" <gershman@dagertech.net>
To: emacs-orgmode@gnu.org
Subject: Re: Need help with HTML export custom postamble
Date: Mon, 31 Aug 2015 17:29:26 -0700	[thread overview]
Message-ID: <55E4F166.4050908@dagertech.net> (raw)
In-Reply-To: <m27fohb6ec.fsf@tsdye.com>

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

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
>


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

  reply	other threads:[~2015-09-01  0:28 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 [this message]
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=55E4F166.4050908@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).