[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] html export question
From: |
Nick Dokos |
Subject: |
Re: [O] html export question |
Date: |
Wed, 13 Apr 2011 02:58:08 -0400 |
Rustom Mody <address@hidden> wrote:
> On Wed, Apr 13, 2011 at 8:43 AM, Bernt Hansen <address@hidden> wrote:
> > Rustom Mody <address@hidden> writes:
> >
> >> If the
> >> $+EMAIL: address@hidden
> >> 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: address@hidden
> >>
> >> Rusi appears in the html output but not address@hidden
> >>
> >> 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: address@hidden
| #+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:address@hidden">address@hidden</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:address@hidden">address@hidden</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 <address@hidden>
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