Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 09:14:40 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject:   svn commit: r42339 - projects/db5/share/xsl
Message-ID:  <201307210914.r6L9EeYP054016@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gabor
Date: Sun Jul 21 09:14:40 2013
New Revision: 42339
URL: http://svnweb.freebsd.org/changeset/doc/42339

Log:
  - Variablelists look better as blocks
  - Add some negative tracking to inline monospace text so that it fits
    better the body text
  - Improve padding of verbatim blocks
  - Adjust list spacing

Modified:
  projects/db5/share/xsl/freebsd-fo.xsl

Modified: projects/db5/share/xsl/freebsd-fo.xsl
==============================================================================
--- projects/db5/share/xsl/freebsd-fo.xsl	Sun Jul 21 04:32:55 2013	(r42338)
+++ projects/db5/share/xsl/freebsd-fo.xsl	Sun Jul 21 09:14:40 2013	(r42339)
@@ -68,6 +68,9 @@
   <xsl:param name="default.table.frame">hsides</xsl:param>
   <xsl:param name="default.table.rules">rows</xsl:param>
 
+  <!-- Lists -->
+  <xsl:param name="variablelist.as.blocks" select="1"/>
+
   <!-- Q & A -->
   <xsl:param name="qanda.defaultlabel">qanda</xsl:param>
 
@@ -135,6 +138,7 @@
   <xsl:value-of select="$monospace.font.family"></xsl:value-of>
   </xsl:attribute>
   <xsl:attribute name="font-size">8pt</xsl:attribute>
+  <xsl:attribute name="letter-spacing">-0.3pt</xsl:attribute>
   </xsl:attribute-set>
 
   <xsl:attribute-set name="monospace.verbatim.properties">
@@ -151,9 +155,12 @@
   <xsl:attribute name="wrap-option">wrap</xsl:attribute>
   <xsl:attribute name="hyphenation-character">&#x21BA;</xsl:attribute>
   <xsl:attribute name="padding-right">3pt</xsl:attribute>
-  <xsl:attribute name="padding-top">3pt</xsl:attribute>
+  <xsl:attribute name="padding-top">1pt</xsl:attribute>
   <xsl:attribute name="padding-left">3pt</xsl:attribute>
-  <xsl:attribute name="padding-bottom">3pt</xsl:attribute>
+  <xsl:attribute name="padding-bottom">1pt</xsl:attribute>
+  <xsl:attribute name="margin-right">0pt</xsl:attribute>
+  <xsl:attribute name="margin-left">0pt</xsl:attribute>
+  <xsl:attribute name="letter-spacing">0pt</xsl:attribute>
   </xsl:attribute-set>
 
   <xsl:attribute-set name="table.caption.properties">
@@ -195,6 +202,20 @@
   <xsl:attribute name="padding-bottom">0.5cm</xsl:attribute>
   </xsl:attribute-set>
 
+  <xsl:attribute-set name="list.item.spacing">
+  <xsl:attribute name="space-before">6pt</xsl:attribute>
+  </xsl:attribute-set>
+  
+  <xsl:attribute-set name="list.block.spacing">
+  <xsl:attribute name="space-before">6pt</xsl:attribute>
+  <xsl:attribute name="space-after">6pt</xsl:attribute>
+  </xsl:attribute-set>
+  
+  <xsl:attribute-set name="list.block.properties">
+  <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
+  <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute>
+  <xsl:attribute name="line-height">12pt</xsl:attribute>
+  </xsl:attribute-set>
 
   <!--
 	FO-SPECIFIC TEMPLATE CUSTOMIZATIONS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307210914.r6L9EeYP054016>