<xsl:template name="publisher.attribution">
<xsl:text> </xsl:text>
<xsl:text>.sp -1 </xsl:text>
- <xsl:text>.IP ""</xsl:text>
+ <xsl:text>.RS</xsl:text>
<xsl:if test="not($blurb-indent = '')">
<xsl:text> </xsl:text>
<xsl:value-of select="$blurb-indent"/>
<xsl:with-param name="key" select="'Publisher'"/>
</xsl:call-template>
<xsl:text>. </xsl:text>
+ <xsl:text>.RE </xsl:text>
</xsl:template>
<xsl:template match="email|address/otheraddr/ulink" mode="authorsect">
<!-- * Editor, then render the corresponding localized gentext -->
<xsl:when test="self::author">
<xsl:text> </xsl:text>
- <xsl:text>.sp -1 </xsl:text>
- <xsl:text>.IP ""</xsl:text>
+ <xsl:text>.RS</xsl:text>
<xsl:if test="not($blurb-indent = '')">
<xsl:text> </xsl:text>
<xsl:value-of select="$blurb-indent"/>
<xsl:with-param name="key" select="'Author'"/>
</xsl:call-template>
<xsl:text>. </xsl:text>
+ <xsl:text>.RE </xsl:text>
</xsl:when>
<xsl:when test="self::editor">
<xsl:text> </xsl:text>
- <xsl:text>.sp -1 </xsl:text>
- <xsl:text>.IP ""</xsl:text>
+ <xsl:text>.RS</xsl:text>
<xsl:if test="not($blurb-indent = '')">
<xsl:text> </xsl:text>
<xsl:value-of select="$blurb-indent"/>
<xsl:with-param name="key" select="'Editor'"/>
</xsl:call-template>
<xsl:text>. </xsl:text>
+ <xsl:text>.RE </xsl:text>
</xsl:when>
<!-- * If we have no *blurb or contrib, but this is an Othercredit, -->
<!-- * check value of Class attribute and use corresponding gentext. -->
<xsl:choose>
<xsl:when test="@class and @class != 'other'">
<xsl:text> </xsl:text>
- <xsl:text>.sp -1 </xsl:text>
- <xsl:text>.IP ""</xsl:text>
+ <xsl:text>.RS</xsl:text>
<xsl:if test="not($blurb-indent = '')">
<xsl:text> </xsl:text>
<xsl:value-of select="$blurb-indent"/>
<xsl:with-param name="key" select="@class"/>
</xsl:call-template>
<xsl:text>. </xsl:text>
+ <xsl:text>.RE </xsl:text>
</xsl:when>
<xsl:otherwise>
<!-- * We have an Othercredit, but not usable value for the Class -->
<!-- * yeah, it's possible for a *blurb to have a "title" -->
<xsl:apply-templates select="title"/>
<xsl:apply-templates select="*[not(self::title)]"/>
+ <!-- * If this *blurb has a sibling "name" element of some kind, then -->
+ <!-- * the mark.up.blurb.or.contrib template will generated an "RS" -->
+ <!-- * call that will cause it to be indented; so we need to call -->
+ <!-- * "RE" to restore the previous indent level -->
+ <xsl:if test="../personname|../surname|../firstname
+ |../othername|../lineage|../honorific
+ |../affiliation|../email|../address">
+ <xsl:text>.RE </xsl:text>
+ </xsl:if>
</xsl:template>
<xsl:template match="personblurb/title|authorblurb/title">
|../othername|../lineage|../honorific
|../affiliation|../email|../address">
<xsl:text> </xsl:text>
- <xsl:text>.sp -1 </xsl:text>
- <xsl:text>.IP ""</xsl:text>
+ <xsl:text>.RS</xsl:text>
<xsl:if test="not($blurb-indent = '')">
<xsl:text> </xsl:text>
<xsl:value-of select="$blurb-indent"/>