emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* html export question
@ 2011-04-13  2:47 Rustom Mody
  2011-04-13  3:13 ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Rustom Mody @ 2011-04-13  2:47 UTC (permalink / raw)
  To: emacs-orgmode

If the
$+EMAIL: rusi@somewhere.com
option is set it used to appear at the bottom of the html-export.

Does not seem to appear now.

Is this a regression or am I missing some option?

IOW with

#+AUTHOR: Rusi
#+EMAIL: myname@somewhere.com

Rusi appears in the html output but not myname@somewhere.com

org-version 7.5
emacs 23.1 and 24.0

Thanks
Rusi

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

* Re: html export question
  2011-04-13  2:47 html export question Rustom Mody
@ 2011-04-13  3:13 ` Bernt Hansen
  2011-04-13  5:42   ` Rustom Mody
  0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2011-04-13  3:13 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-orgmode

Rustom Mody <rustompmody@gmail.com> writes:

> If the
> $+EMAIL: rusi@somewhere.com
> option is set it used to appear at the bottom of the html-export.
>
> Does not seem to appear now.
>
> Is this a regression or am I missing some option?
>
> IOW with
>
> #+AUTHOR: Rusi
> #+EMAIL: myname@somewhere.com
>
> Rusi appears in the html output but not myname@somewhere.com
>
> org-version 7.5
> emacs 23.1 and 24.0
>
> Thanks
> Rusi

Hi Rusi,

This has been fixed after the 7.5 release.  The development version of
git exports the email address.

Regards,
Bernt

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

* Re: html export question
  2011-04-13  3:13 ` Bernt Hansen
@ 2011-04-13  5:42   ` Rustom Mody
  2011-04-13  6:58     ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Rustom Mody @ 2011-04-13  5:42 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

On Wed, Apr 13, 2011 at 8:43 AM, Bernt Hansen <bernt@norang.ca> wrote:
> Rustom Mody <rustompmody@gmail.com> writes:
>
>> If the
>> $+EMAIL: rusi@somewhere.com
>> option is set it used to appear at the bottom of the html-export.
>>
>> Does not seem to appear now.
>>
>> Is this a regression or am I missing some option?
>>
>> IOW with
>>
>> #+AUTHOR: Rusi
>> #+EMAIL: myname@somewhere.com
>>
>> Rusi appears in the html output but not myname@somewhere.com
>>
>> org-version 7.5
>> emacs 23.1 and 24.0
>>
>> Thanks
>> Rusi
>
> Hi Rusi,
>
> This has been fixed after the 7.5 release.  The development version of
> git exports the email address.
>
> Regards,
> Bernt
>

Did a git pull just now and still its the same.
How do I check that we are on the same git commit?

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

* Re: html export question
  2011-04-13  5:42   ` Rustom Mody
@ 2011-04-13  6:58     ` Nick Dokos
  2011-04-14  3:01       ` Rustom Mody
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2011-04-13  6:58 UTC (permalink / raw)
  To: Rustom Mody; +Cc: Bernt Hansen, nicholas.dokos, emacs-orgmode

Rustom Mody <rustompmody@gmail.com> wrote:

> On Wed, Apr 13, 2011 at 8:43 AM, Bernt Hansen <bernt@norang.ca> wrote:
> > Rustom Mody <rustompmody@gmail.com> writes:
> >
> >> If the
> >> $+EMAIL: rusi@somewhere.com
> >> option is set it used to appear at the bottom of the html-export.
> >>
> >> Does not seem to appear now.
> >>
> >> Is this a regression or am I missing some option?
> >>
> >> IOW with
> >>
> >> #+AUTHOR: Rusi
> >> #+EMAIL: myname@somewhere.com
> >>
> >> Rusi appears in the html output but not myname@somewhere.com
> >>
> >> org-version 7.5
> >> emacs 23.1 and 24.0
> >>
> >> Thanks
> >> Rusi
> >
> > Hi Rusi,
> >
> > This has been fixed after the 7.5 release.  The development version of
> > git exports the email address.
> >
> > Regards,
> > Bernt
> >
> 
> Did a git pull just now and still its the same.
> How do I check that we are on the same git commit?
> 

You have to add an option to include the email address in the postamble:

,----
| #+AUTHOR: foo
| #+EMAIL: bar@baz
| #+OPTIONS: email:t
`----

That will produce

,----
| <div id="postamble">
| <p class="date">Date: 2011-04-13 02:46:10 EDT</p>
| <p class="author">Author: foo</p>
| <p class="email"><a href="mailto:bar@baz">bar@baz</a></p>
| <p class="creator">Org version 7.5 with Emacs version 24</p>
| <a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
| </div>
`----

Alternatively, set org-export-html-postamble to t (by default, it's auto).
The format will be different but the address will be included. The actual
postamble produced is:

,----
| <div id="postamble">
| <p class="author">Author: foo (<a href="mailto:bar@baz">bar@baz</a>)</p>
| <p class="date">Date: 2011-04-13 02:50:46 EDT</p>
| <p class="creator">Generated by Org version 7.5 with Emacs version 24</p>
| <p class="xhtml-validation"><a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a></p>
| </div>
`----

Re: git - you can check the commit with ``git describe'':

--8<---------------cut here---------------start------------->8---
$ git describe
release_7.5-176-g2c8e964
--8<---------------cut here---------------end--------------->8---

The last component (leaving out the initial `g') is the (abbreviated) commit
at the head of the branch:

--8<---------------cut here---------------start------------->8---
$ git log 2c8e964
commit 2c8e964b70bf22ae70ef824b422fb12e1783f8a2
Author: Eric Schulte <schulte.eric@gmail.com>
Date:   Sun Apr 10 16:29:14 2011 -0600

    ob-emacs-lisp: now supports :results output
    
    * lisp/ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
      ":results output".
--8<---------------cut here---------------end--------------->8---

Nick

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

* Re: html export question
  2011-04-13  6:58     ` Nick Dokos
@ 2011-04-14  3:01       ` Rustom Mody
  0 siblings, 0 replies; 5+ messages in thread
From: Rustom Mody @ 2011-04-14  3:01 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

On Wed, Apr 13, 2011 at 12:28 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Rustom Mody <rustompmody@gmail.com> wrote:
>
>> On Wed, Apr 13, 2011 at 8:43 AM, Bernt Hansen <bernt@norang.ca> wrote:
>> > Rustom Mody <rustompmody@gmail.com> writes:
>> >
>> >> If the
>> >> $+EMAIL: rusi@somewhere.com
>> >> option is set it used to appear at the bottom of the html-export.
>> >>
>> >> Does not seem to appear now.
>> >>
>> >> Is this a regression or am I missing some option?
>> >>
>> >> IOW with
>> >>
>> >> #+AUTHOR: Rusi
>> >> #+EMAIL: myname@somewhere.com
>> >>
>> >> Rusi appears in the html output but not myname@somewhere.com
>> >>
>> >> org-version 7.5
>> >> emacs 23.1 and 24.0
>> >>
>> >> Thanks
>> >> Rusi
>> >
>> > Hi Rusi,
>> >
>> > This has been fixed after the 7.5 release.  The development version of
>> > git exports the email address.
>> >
>> > Regards,
>> > Bernt
>> >
>>
>> Did a git pull just now and still its the same.
>> How do I check that we are on the same git commit?
>>
>
> You have to add an option to include the email address in the postamble:
>
> ,----
> | #+AUTHOR: foo
> | #+EMAIL: bar@baz
> | #+OPTIONS: email:t
> `----
>
> That will produce
>
> ,----
> | <div id="postamble">
> | <p class="date">Date: 2011-04-13 02:46:10 EDT</p>
> | <p class="author">Author: foo</p>
> | <p class="email"><a href="mailto:bar@baz">bar@baz</a></p>
> | <p class="creator">Org version 7.5 with Emacs version 24</p>
> | <a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
> | </div>
> `----
>
> Alternatively, set org-export-html-postamble to t (by default, it's auto).

Thanks Nick. Sorry I did not look a few lines below on the same page
-- I guessed there was some (set of) options but did not know where to
look :-)

Still maybe the line in the doc

#+EMAIL: his/her email address (default from user-mail-address)

is a bit misleading -- given that the default is no email?

Rusi

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

end of thread, other threads:[~2011-04-14  3:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13  2:47 html export question Rustom Mody
2011-04-13  3:13 ` Bernt Hansen
2011-04-13  5:42   ` Rustom Mody
2011-04-13  6:58     ` Nick Dokos
2011-04-14  3:01       ` Rustom Mody

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