Next in thread → Next in month →

Re: [docbook-apps] Author Middle Initials

From
Keith Fahlgren <>
Date
2008-03-05T16:16:30+00:00
ID
Thread
Re: [docbook-apps] Author Middle Initials
On Tue, Mar 4, 2008 at 10:36 PM, Bob Stayton <> 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
Next in thread → Next in month →