Jelajahi Sumber

Looks like FOP-0.93 supports @keep-together.* attributes :-)

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/new-xsl@8011 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 18 tahun lalu
induk
melakukan
8733894298
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 1 0
      pdf/lfs-admon.xsl
  2. 1 1
      pdf/lfs-index.xsl

+ 1 - 0
pdf/lfs-admon.xsl

@@ -14,6 +14,7 @@
 
     <!-- Global admonitions properties -->
   <xsl:attribute-set name="graphical.admonition.properties">
+    <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
     <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
     <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
     <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>

+ 1 - 1
pdf/lfs-index.xsl

@@ -29,7 +29,7 @@
   <xsl:attribute-set name="index.div.title.properties">
     <xsl:attribute name="margin-left">0pt</xsl:attribute>
     <xsl:attribute name="font-size">14.4pt</xsl:attribute>
-    <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute>
+    <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
     <xsl:attribute name="font-weight">bold</xsl:attribute>
     <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
     <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"/></xsl:attribute>