decrypt
[metze/wireshark/wip.git] / docbook / custom_layer_chm.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 version="1.0">
4
5 <!-- copied from custom_layer_pdf.xsl -->
6
7 <!-- import the main stylesheet -->
8 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/>
9
10 <!-- use graphics for admons (note, tip, ...)
11 <xsl:param name="admon.graphics" select="1"/>
12 <xsl:param name="admon.graphics.path">common_graphics/</xsl:param>
13 <xsl:param name="admon.graphics.extension" select="'.svg'"/>
14 -->
15
16 <!--
17   Tell the WebBrowser control to use the IE9 rendering engine if present so
18   that our admonition graphics (which are SVG) show up. We might be able to
19   get away with "IE=8" if needed.
20   http://stackoverflow.com/questions/4612255/regarding-ie9-webbrowser-control/4613025#4613025
21 -->
22 <xsl:template name="system.head.content">
23   <meta http-equiv="X-UA-Compatible" content="IE=9" />
24 </xsl:template>
25
26 <xsl:template name="user.head.content">
27   <style type="text/css">
28   html body, h1, h2, h3, h4, h5, h6,
29   div.toc p b,
30   div.list-of-figures p b,
31   div.list-of-tables p b,
32   div.abstract p.title
33   {
34     font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
35     font-size: 14px;
36   }
37   </style>
38 </xsl:template>
39
40 <!-- reduce the size of programlisting to make them fit the page -->
41 <xsl:attribute-set name="monospace.verbatim.properties">
42   <xsl:attribute name="font-size">80%</xsl:attribute>
43 </xsl:attribute-set>
44
45 </xsl:stylesheet>