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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Author Middle Initials


On Tue, Mar 4, 2008 at 10:36 PM, Bob Stayton <bobs@sagehill.net> wrote:
> I'm pretty sure the stylesheets don't process a role="mi" for othername.
>  That would have to be a customization.

common/common.xsl:  <xsl:if test="$node//othername and
$author.othername.in.middle != 0">
common/common.xsl-    <xsl:if test="$node//honorific or $node//firstname">
common/common.xsl-      <xsl:text> </xsl:text>
common/common.xsl-    </xsl:if>
common/common.xsl-    <xsl:apply-templates select="$node//othername[1]"/>
common/common.xsl-  </xsl:if>

I've decided that adding the periods makes more sense due to "Bob P.
G. Stayton":

<author>
 <firstname>Bob</firstname>
 <surname>Stayton</surname>
 <othername role="mi">P. G.</othername>
</author>


Keith


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