This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]