print.xsl
branchstyles
changeset 5 20b41b986ac6
parent 4 301b54644bfa
child 13 a1ec4d6963d7
child 15 27a2a404231e
--- a/print.xsl	Mon Jul 17 13:43:22 2006 -0400
+++ b/print.xsl	Thu Aug 10 16:53:42 2006 -0400
@@ -29,12 +29,14 @@
 </xsl:attribute-set>
 
 <xsl:template name="list-label">
-  <xsl:param name="labeltext"/>
+  <xsl:param name="labeltext">
+    <xsl:text>-</xsl:text>
+  </xsl:param>
   <!-- <xsl:param name="labeltext">
     <xsl:text>&#8226;</xsl:text>
   </xsl:param> -->
   <list-item-label end-indent="label-end()">
-    <block start-indent="5mm"><xsl:value-of select="$labeltext"/></block>
+    <block><xsl:value-of select="$labeltext"/></block>
   </list-item-label>
 </xsl:template>
 
@@ -80,7 +82,7 @@
   <inline font-weight="bold"><xsl:apply-templates/></inline>
 </xsl:template>
 <xsl:template match="formalpara">
-  <block><xsl:apply-templates/></block>
+  <block space-before="4pt"><xsl:apply-templates/></block>
 </xsl:template>
 
 <!-- list processing -->
@@ -89,9 +91,17 @@
     <xsl:apply-templates/>
   </list-block>
 </xsl:template>
+<xsl:template match="formalpara/list">
+  <list-block provisional-distance-between-starts="5mm">
+    <xsl:apply-templates/>
+  </list-block>
+</xsl:template>
 <xsl:template match="shortlist">
   <block margin-left="24pt"><xsl:apply-templates mode="short"/></block>
 </xsl:template>
+<xsl:template match="formalpara/shortlist">
+  <block margin-left="24pt">- <xsl:apply-templates mode="short"/></block>
+</xsl:template>
 
 <xsl:template match="listitem">
   <list-item>