From: Nick Dokos <nicholas.dokos@hp.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>,
nicholas.dokos@hp.com, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: html export question
Date: Wed, 13 Apr 2011 02:58:08 -0400 [thread overview]
Message-ID: <8375.1302677888@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Rustom Mody <rustompmody@gmail.com> of "Wed\, 13 Apr 2011 11\:12\:46 +0530." <BANLkTim1YJU5XLMYW3bJ-e0NjYiJYjWE8Q@mail.gmail.com>
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
next prev parent reply other threads:[~2011-04-13 6:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2011-04-14 3:01 ` Rustom Mody
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8375.1302677888@alphaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=rustompmody@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.