mode="bibliography.mode">
<xsl:variable name="relation" select="../@relation"/>
<xsl:choose>
- <xsl:when test="$relation='article'">
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">ldquo</xsl:with-param>
- </xsl:call-template>
- <xsl:apply-templates/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">rdquo</xsl:with-param>
- </xsl:call-template>
+ <xsl:when test="$relation='article' or @pubwork='article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:apply-templates mode="bibliography.mode"/>
+ <xsl:call-template name="gentext.endquote"/>
</xsl:when>
<xsl:otherwise>
<fo:inline font-style="italic">
<xsl:template match="citetitle" mode="bibliography.mode">
<fo:inline>
- <fo:inline font-style="italic">
- <xsl:apply-templates mode="bibliography.mode"/>
- </fo:inline>
+ <xsl:choose>
+ <xsl:when test="@pubwork = 'article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:apply-templates mode="bibliography.mode"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <fo:inline font-style="italic">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </fo:inline>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:value-of select="$biblioentry.item.separator"/>
</fo:inline>
</xsl:template>
mode="bibliomixed.mode">
<xsl:variable name="relation" select="../@relation"/>
<xsl:choose>
- <xsl:when test="$relation='article'">
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">ldquo</xsl:with-param>
- </xsl:call-template>
- <xsl:apply-templates/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">rdquo</xsl:with-param>
- </xsl:call-template>
+ <xsl:when test="$relation='article' or @pubwork='article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:apply-templates mode="bibliomixed.mode"/>
+ <xsl:call-template name="gentext.endquote"/>
</xsl:when>
<xsl:otherwise>
<fo:inline font-style="italic">
</xsl:template>
<xsl:template match="citetitle" mode="bibliomixed.mode">
- <fo:inline>
- <xsl:apply-templates mode="bibliomixed.mode"/>
- </fo:inline>
+ <xsl:choose>
+ <xsl:when test="@pubwork = 'article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:apply-templates mode="bibliomixed.mode"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <fo:inline font-style="italic">
+ <xsl:apply-templates mode="bibliography.mode"/>
+ </fo:inline>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="collab" mode="bibliomixed.mode">
</xsl:template>
<xsl:template match="citetitle">
- <xsl:call-template name="inline.italicseq"/>
+ <xsl:choose>
+ <xsl:when test="@pubwork = 'article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
+
<xsl:template match="emphasis">
<xsl:call-template name="inline.italicseq"/>
</xsl:template>
mode="bibliography.mode">
<xsl:variable name="relation" select="../@relation"/>
<xsl:choose>
- <xsl:when test="$relation='article'">
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">ldquo</xsl:with-param>
- </xsl:call-template>
+ <xsl:when test="$relation='article' or @pubwork='article'">
+ <xsl:call-template name="gentext.startquote"/>
<xsl:apply-templates/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">rdquo</xsl:with-param>
- </xsl:call-template>
+ <xsl:call-template name="gentext.endquote"/>
</xsl:when>
<xsl:otherwise>
<I><xsl:apply-templates/></I>
<xsl:template match="citetitle" mode="bibliography.mode">
<span class="{name(.)}">
- <i><xsl:apply-templates mode="bibliography.mode"/></i>
- <xsl:value-of select="$biblioentry.item.separator"/>
+ <xsl:choose>
+ <xsl:when test="@pubwork = 'article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
</span>
</xsl:template>
mode="bibliomixed.mode">
<xsl:variable name="relation" select="../@relation"/>
<xsl:choose>
- <xsl:when test="$relation='article'">
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">ldquo</xsl:with-param>
- </xsl:call-template>
+ <xsl:when test="$relation='article' or @pubwork='article'">
+ <xsl:call-template name="gentext.startquote"/>
<xsl:apply-templates/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">rdquo</xsl:with-param>
- </xsl:call-template>
+ <xsl:call-template name="gentext.endquote"/>
</xsl:when>
<xsl:otherwise>
<I><xsl:apply-templates/></I>
<xsl:template match="citetitle" mode="bibliomixed.mode">
<span class="{name(.)}">
- <i><xsl:apply-templates mode="bibliomixed.mode"/></i>
+ <xsl:choose>
+ <xsl:when test="@pubwork = 'article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
</span>
</xsl:template>
+
<xsl:template match="collab" mode="bibliomixed.mode">
<span class="{name(.)}">
<xsl:apply-templates mode="bibliomixed.mode"/>
</xsl:template>
<xsl:template match="citetitle">
- <xsl:call-template name="inline.italicseq"/>
+ <xsl:choose>
+ <xsl:when test="@pubwork = 'article'">
+ <xsl:call-template name="gentext.startquote"/>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:call-template name="gentext.endquote"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="emphasis">