]> granicus.if.org Git - docbook-dsssl/commitdiff
Add property sets for glossdiv, bibliodiv, and indexdiv. Improve formatting of authors.
authorNorman Walsh <ndw@nwalsh.com>
Mon, 20 Jan 2003 17:21:59 +0000 (17:21 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 20 Jan 2003 17:21:59 +0000 (17:21 +0000)
xsl/fo/titlepage.xsl

index 98a004f742508c06858127a00e3abf81bbe37ff9..3d9a68894246aa21faf032291b68c75f3d29e25c 100644 (file)
 <xsl:attribute-set name="bibliography.titlepage.recto.style"/>
 <xsl:attribute-set name="bibliography.titlepage.verso.style"/>
 
+<xsl:attribute-set name="bibliodiv.titlepage.recto.style"/>
+<xsl:attribute-set name="bibliodiv.titlepage.verso.style"/>
+
 <xsl:attribute-set name="glossary.titlepage.recto.style"/>
 <xsl:attribute-set name="glossary.titlepage.verso.style"/>
 
+<xsl:attribute-set name="glossdiv.titlepage.recto.style"/>
+<xsl:attribute-set name="glossdiv.titlepage.verso.style"/>
+
 <xsl:attribute-set name="index.titlepage.recto.style"/>
 <xsl:attribute-set name="index.titlepage.verso.style"/>
 
 <xsl:attribute-set name="setindex.titlepage.recto.style"/>
 <xsl:attribute-set name="setindex.titlepage.verso.style"/>
 
+<xsl:attribute-set name="indexdiv.titlepage.recto.style"/>
+<xsl:attribute-set name="indexdiv.titlepage.verso.style"/>
+
 <xsl:attribute-set name="colophon.titlepage.recto.style"/>
 <xsl:attribute-set name="colophon.titlepage.verso.style"/>
 
   <fo:block>
     <xsl:call-template name="anchor"/>
     <xsl:call-template name="person.name"/>
-    <xsl:apply-templates select="affiliation" mode="titlepage.mode"/>
+    <xsl:if test="affiliation/orgname">
+      <xsl:text>, </xsl:text>
+      <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/>
+    </xsl:if>
+    <xsl:if test="email|affiliation/address/email">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="(email|affiliation/address/email)[1]"/>
+    </xsl:if>
   </fo:block>
 </xsl:template>
 
 </xsl:template>
 
 <xsl:template match="orgname" mode="titlepage.mode">
-  <fo:block>
-    <xsl:apply-templates mode="titlepage.mode"/>
-  </fo:block>
+  <xsl:apply-templates mode="titlepage.mode"/>
 </xsl:template>
 
 <xsl:template match="othercredit" mode="titlepage.mode">