emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Randby <srandby@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: An HTML Export Observation
Date: Tue, 15 Mar 2011 11:25:05 -0400	[thread overview]
Message-ID: <4D7F84D1.6010502@gmail.com> (raw)
In-Reply-To: <87aagw7cfo.fsf@gnu.org>

On 03/15/2011 09:14 AM, Bastien wrote:
> Hi Scott,
>
> Scott Randby <srandby@gmail.com> writes:
>
>> When I look at the "Org Export HTML Group" for customization, I get the
>> following:
>>
>> Org Export Html Validation Link: Show Value
>>    State: UNINITIALIZED, you should not see this.
>>    Link to HTML validation service.
>>
>> Org Export Html With Timestamp: Hide Value Toggle  off (nil)
>>    State: UNINITIALIZED, you should not see this.
>>    If non-nil, write timestamp into the exported HTML text. More
>>
>> The other variables in this group are also uninitialized. The other org
>> export groups (such as "Org Export LaTeX") do not contain uninitialized
>> variables. Why is it that the variables I need the most do not work?
>
> There was a typo in the definition of the custom type of
> `org-export-html-protect-char-alist'.  I just fixed this.  Please
> confirm you don't have this error again.


Almost everything is fixed now. The variables in the "Org Export HTML
Group" work as they should, and the @<tag> issue is fixed. Thanks to
everyone for their help. But there is one remaining issue -- I can't get
timestamps in the postamble.

First, I am using org-mode release_7.5.41.g187b.

In my document, I have the following:
#+OPTIONS: H:3 num:nil skip:nil toc:t author:t timestamp:t email:t creator:t

I looked through the export variables for anything that mentioned
timestamps and the following now appears in my .emacs:
 '(org-export-html-with-timestamp t)
 '(org-export-time-stamp-file t)
 '(org-export-with-timestamps t)

But when I do C-c C-e h on the document, the author, email, and creator
appear in the postamble, but no timestamp.

I can get the timestamp if I put the following in my .emacs (following
the instructions given by Nick Dokos):
(setq org-export-html-postamble "<p class=\"author\">Author: %a
(%e)</p>\n<p class=\"date\">Date: %d</p>\n<p class=\"creator\">Generated
by %c</p>\n")

However, I would rather have the above in my document instead of my
.emacs, but Nick says he can't get that to work. I saw in the manual
that one may set up a project and publish it. Then one could set the
:html-postamble option for the project, but I don't have time right now
to learn how to set up a project.

Scott Randby

  reply	other threads:[~2011-03-15 15:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  5:30 An HTML Export Observation Scott Randby
2011-03-15  5:49 ` Nick Dokos
2011-03-15 12:01 ` [PATCH] Move org-export-html group definition to fix uninitialized customs Manuel Giraud
2011-03-15 13:17   ` Bastien
2011-03-15 14:28     ` Manuel Giraud
2011-03-15 14:44       ` Bastien
2011-03-15 13:14 ` An HTML Export Observation Bastien
2011-03-15 15:25   ` Scott Randby [this message]
2011-03-15 15:53     ` Bastien
2011-03-15 16:31       ` Scott Randby

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=4D7F84D1.6010502@gmail.com \
    --to=srandby@gmail.com \
    --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).