emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Another HTML Export Question
@ 2011-03-15  4:58 Scott Randby
  2011-03-15 15:21 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Scott Randby @ 2011-03-15  4:58 UTC (permalink / raw)
  To: [Orgmode]

The org files I export to HTML contain the following:

* COMMENT Setup
#+OPTIONS: H:3 num:nil skip:nil toc:t author:t

With org-mode 7.4, this setup would give me the following postamble:

<div id="postamble">
<p class="date"> Date: 2011-03-12 16:09:53 EST</p>
<p class="creator">HTML generated by org-mode 7.4 in emacs 23</p>
</div>

With org-mode 7.5, I get this postamble:

<div id="postamble">
<p class="creator">Org version 7.5 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
</div>

1. There is no timestamp with org-mode 7.5. I want a timestamp and I
can't get a timestamp by putting timestamp:t in the options line.

2. I want to get rid of the link for the validator. I can't find mention
of this in the manual.

3. How do I change the text of the creator line?

Honestly, I've never had so many problems with an upgrade of org-mode.
I'm going back to 7.4 until HTML export is fixed and explained clearly
in the manual.

Scott Randby

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another HTML Export Question
  2011-03-15  4:58 Another HTML Export Question Scott Randby
@ 2011-03-15 15:21 ` Bastien
  2011-03-15 16:27   ` Scott Randby
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2011-03-15 15:21 UTC (permalink / raw)
  To: Scott Randby; +Cc: [Orgmode]

Hi Scott,

Scott Randby <srandby@gmail.com> writes:

> The org files I export to HTML contain the following:
>
> * COMMENT Setup
> #+OPTIONS: H:3 num:nil skip:nil toc:t author:t
>
> With org-mode 7.4, this setup would give me the following postamble:
>
> <div id="postamble">
> <p class="date"> Date: 2011-03-12 16:09:53 EST</p>
> <p class="creator">HTML generated by org-mode 7.4 in emacs 23</p>
> </div>
>
> With org-mode 7.5, I get this postamble:
>
> <div id="postamble">
> <p class="creator">Org version 7.5 with Emacs version 23</p>
> <a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
> </div>
>
> 1. There is no timestamp with org-mode 7.5. I want a timestamp and I
> can't get a timestamp by putting timestamp:t in the options line.

Fixed now.

> 2. I want to get rid of the link for the validator. I can't find mention
> of this in the manual.

I added a subsection about exporting the HTML preamble and postamble,
and I mention `org-export-html-validation-link' there.

> 3. How do I change the text of the creator line?

You cannot.

> Honestly, I've never had so many problems with an upgrade of org-mode.
> I'm going back to 7.4 until HTML export is fixed and explained clearly
> in the manual.

Let me know if it is.

Also, if you can help make the manual clearer, that would be
appreciated.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another HTML Export Question
  2011-03-15 15:21 ` Bastien
@ 2011-03-15 16:27   ` Scott Randby
  2011-03-15 17:39     ` Bastien
  2011-03-15 17:53     ` Jason Dunsmore
  0 siblings, 2 replies; 6+ messages in thread
From: Scott Randby @ 2011-03-15 16:27 UTC (permalink / raw)
  To: emacs-orgmode

Hi Bastien,

>>
>> 1. There is no timestamp with org-mode 7.5. I want a timestamp and I
>> can't get a timestamp by putting timestamp:t in the options line.
>
> Fixed now.

Yes, it works now. Thanks.

>
>> 2. I want to get rid of the link for the validator. I can't find mention
>> of this in the manual.
>
> I added a subsection about exporting the HTML preamble and postamble,
> and I mention `org-export-html-validation-link' there.

This clears things up.

>
>> 3. How do I change the text of the creator line?
>
> You cannot.

Bummer.

>
>> Honestly, I've never had so many problems with an upgrade of org-mode.
>> I'm going back to 7.4 until HTML export is fixed and explained clearly
>> in the manual.
>
> Let me know if it is.
>
> Also, if you can help make the manual clearer, that would be
> appreciated.

I have been planning to go through the entire manual. I hope to get to
that this summer.

The timestamps are fixed, but there are two new issues. First, I get
weird HTML in the postamble for the email address.

With org-mode release_7.5.43.gdf38 I get the following when I export:

  <p class="email"><a href="mailto:<a
href="mailto:srandby@gmail.com">srandby@gmail.com</a>">&lt;<a
href="mailto:srandby@gmail.com">srandby@gmail.com</a>&gt;</p>

I used to get (with 7.4):

  <p class="author"> Author: Scott P. Randby
  <a href="mailto:srandby@gmail.com">&lt;srandby@gmail.com&gt;</a>
  </p>

I think the code for the email line should be:

  <p class="email"><a
href="mailto:srandby@gmail.com">&lt;srandby@gmail.com&gt;</a></p>

The second issue is that the following now appears at the end of my HTML
documents:

  <br/><br/><hr/><p><!-- hhmts start --> <!-- hhmts end --></p>

This appears to have something to do with the
org-export-html-html-helper-timestamp variable. If I change that
variable to an empty string, then I don't get the code (of course).
However, it seems to me this code shouldn't appear unless the user wants
it to appear. It didn't appear when I was using version 7.4.

Scott Randby

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another HTML Export Question
  2011-03-15 16:27   ` Scott Randby
@ 2011-03-15 17:39     ` Bastien
  2011-03-15 18:56       ` Scott Randby
  2011-03-15 17:53     ` Jason Dunsmore
  1 sibling, 1 reply; 6+ messages in thread
From: Bastien @ 2011-03-15 17:39 UTC (permalink / raw)
  To: Scott Randby; +Cc: emacs-orgmode

Hi Scott,

Scott Randby <srandby@gmail.com> writes:

>>> 3. How do I change the text of the creator line?
>>
>> You cannot.
>
> Bummer.

But you can customize org-export-html-preamble-format to something 
that will customize it.

> The timestamps are fixed, but there are two new issues. First, I get
> weird HTML in the postamble for the email address.

Fixed now.

> The second issue is that the following now appears at the end of my HTML
> documents:
>
>   <br/><br/><hr/><p><!-- hhmts start --> <!-- hhmts end --></p>

(setq org-export-html-with-timestamp nil)

should do.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another HTML Export Question
  2011-03-15 16:27   ` Scott Randby
  2011-03-15 17:39     ` Bastien
@ 2011-03-15 17:53     ` Jason Dunsmore
  1 sibling, 0 replies; 6+ messages in thread
From: Jason Dunsmore @ 2011-03-15 17:53 UTC (permalink / raw)
  To: Scott Randby; +Cc: emacs-orgmode

Scott Randby <srandby@gmail.com> writes:

>>> 3. How do I change the text of the creator line?
>>
>> You cannot.
>
> Bummer.

You can set a custom creator-info in :html-postamble.  Here's
my :html-postamble string:

--8<---------------cut here---------------start------------->8---
"<p class=\"author\">Author: %a (<img src=\"comments.png\" alt=\"comments email\" />)</p>
<p class=\"date\">Date: %d</p>
<p class=\"creator\">Generated by %c</p>"
--8<---------------cut here---------------end--------------->8---

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Another HTML Export Question
  2011-03-15 17:39     ` Bastien
@ 2011-03-15 18:56       ` Scott Randby
  0 siblings, 0 replies; 6+ messages in thread
From: Scott Randby @ 2011-03-15 18:56 UTC (permalink / raw)
  To: emacs-orgmode

I know that others have said this before, but this list is amazing. The
issues I was having with HTML export were all addressed and fixed in a
little more than 1/2 of a day. The org-mode community is the best!

Scott Randby

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-15 18:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15  4:58 Another HTML Export Question Scott Randby
2011-03-15 15:21 ` Bastien
2011-03-15 16:27   ` Scott Randby
2011-03-15 17:39     ` Bastien
2011-03-15 18:56       ` Scott Randby
2011-03-15 17:53     ` Jason Dunsmore

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).