This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] display email of author in articleinfo
- From: Bob Stayton <bobs at sco dot com>
- To: Patrick Eisenacher <eisenacher at fillmore-labs dot com>
- Cc: "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Date: Thu, 24 Jul 2003 15:14:07 -0700
- Subject: Re: [docbook] display email of author in articleinfo
- References: <3F1FFE2A.4040509@fillmore-labs.com> <20030724092655.B16129@sco.com>
On Thu, Jul 24, 2003 at 09:26:55AM -0700, Bob Stayton wrote:
> As you can see, it is processing the name, contrib,
> and affiliation elements. If your email element
> was inside the affiliation, it would automatically
> appear. Otherwise, you need to add a line to
> this template in your customization layer:
>
> <xsl:template match="author" mode="titlepage.mode">
> <div class="{name(.)}">
> <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3>
> <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
> <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
> <xsl:apply-templates mode="titlepage.mode" select="./email"/>
> </div>
> </xsl:template>
Actually, it seems that this should be added to
the stock stylesheet and not require a customization.
It is inconsistent that email shows up if the element is inside
affiliation, but does not show up if it is outside it.
I think the stylesheet didn't get updated when email
was added outside affiliation in the DTD. If there are
no objections I'll go ahead and add it.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org