emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Scott Randby <srandby@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: An HTML Export Observation
Date: Tue, 15 Mar 2011 01:49:14 -0400	[thread overview]
Message-ID: <4547.1300168154@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Scott Randby <srandby@gmail.com> of "Tue, 15 Mar 2011 01:30:21 EDT." <4D7EF96D.3000004@gmail.com>

Scott Randby <srandby@gmail.com> wrote:

> 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?
> 

I can't answer that question, but if you care to try, the following should
work as a temporary solution, until all this is cleared up: add

(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")

to your .emacs and either restart emacs or evaluate the form (place the
cursor after the closing paren and press `C-x C-e'); then export
normally. In principle, I think this should work with a file option, but
a few minutes of experimentation have not brought any happiness.

See the documentation for the variable org-export-html-postamble-format
for the %X escapes:

,----
| %a stands for the author.
| %e stands for the email(s).
| %d stands for the date.
| %c will be replaced by information about Org/Emacs.
| %v will be replaced by `org-export-html-validation-link'.
| 
| If you need to use a "%" character, you need to escape it
| like that: "%%".
`----

As for your previous email re. @<b>, the very latest git seems to have
fixed that problem.

But there is obviously some churn in the HTML export area. Your
idea about going back to 7.4 might be the way to go for a little
while until all this is cleared up.

Nick

  reply	other threads:[~2011-03-15  5:49 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 [this message]
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
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=4547.1300168154@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=srandby@gmail.com \
    /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).