WSDG: Fixup PDF layout.
authorGerald Combs <gerald@wireshark.org>
Fri, 23 Sep 2016 22:17:28 +0000 (15:17 -0700)
committerGerald Combs <gerald@wireshark.org>
Fri, 23 Sep 2016 22:18:15 +0000 (22:18 +0000)
Change-Id: I62653e6a5934e5bd77bf6663610124cb82e95c44
Reviewed-on: https://code.wireshark.org/review/17896
Reviewed-by: Gerald Combs <gerald@wireshark.org>
docbook/custom_layer_pdf.xsl
docbook/wsdg_src/WSDG_chapter_works.asciidoc

index 03cd2b7ef4e4cee52507615992a9b32f8d769d53..1a3a7355e78499f2b890d8880fc20cb9c8fd4b7e 100644 (file)
 <!-- 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>
index f851682d519918e746e076e751f9287fb7416c83..712063c0230c7b161e7a5b90022f3bb184018956 100644 (file)
@@ -21,7 +21,7 @@ The following will give you a simplified overview of Wireshark's function blocks
 [[ChWorksFigOverview]]
 
 .Wireshark function blocks
-image::wsdg_graphics/ws-function-blocks.png[]
+image::wsdg_graphics/ws-function-blocks.png[{pdf-scaledwidth}]
 
 The function blocks in more detail: