Do the meta-tag stuff the same way in all three cases.
[metze/wireshark/wip.git] / docbook / custom_layer_pdf.xsl
index 44421e390e0ec1318cbb3fed5be8dbd5087b5494..1a3a7355e78499f2b890d8880fc20cb9c8fd4b7e 100644 (file)
@@ -14,8 +14,8 @@
 
 <!-- use graphics for admons (note, tip, ...) -->
 <xsl:param name="admon.graphics" select="1"/>
-<xsl:param name="admon.graphics.path">wsug_graphics/</xsl:param>
-<xsl:param name="admon.graphics.extension" select="'.png'"/>
+<xsl:param name="admon.graphics.path">common_graphics/</xsl:param>
+<xsl:param name="admon.graphics.extension" select="'.svg'"/>
 
 <!-- use numbering for sections (not only for chapters) -->
 <xsl:param name="section.autolabel" select="1"/>
@@ -40,7 +40,7 @@
   <xsl:attribute name="hyphenate">false</xsl:attribute>
 </xsl:attribute-set>
 
-<!-- put a page break after each section 
+<!-- put a page break after each section
 <xsl:attribute-set name="section.level1.properties">
   <xsl:attribute name="break-after">page</xsl:attribute>
 </xsl:attribute-set>
 </xsl:attribute-set>
 
 <!-- reduce the size of programlisting to make them fit the page -->
+<!-- We might want to set the hyphenation character to "\":
+     http://www.sagehill.net/docbookxsl/FittingText.html
+-->
 <xsl:attribute-set name="monospace.verbatim.properties">
   <xsl:attribute name="font-size">80%</xsl:attribute>
+  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
 </xsl:attribute-set>
 
+<!-- Render AsciiDoc's labeled lists as blocks -->
+<xsl:param name="variablelist.as.blocks" select="1"></xsl:param>
+
+<!-- Increase the ordered list label width, otherwise we overflow
+     in some places.
+-->
+<xsl:param name="orderedlist.label.width">1.8em</xsl:param>
+
+<!-- Right align ordered list labels. -->
+<!-- Doesn't look right, disabled for now.
+<xsl:attribute-set name="orderedlist.label.properties">
+  <xsl:attribute name="text-align">right</xsl:attribute>
+</xsl:attribute-set>
+-->
+
+
+
 </xsl:stylesheet>