OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] display email of author in articleinfo


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]