1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version='
1.0'
3 xmlns:
samba=
"http://www.samba.org/samba/DTD/samba-doc">
5 <!-- Remove bits from the manual pages that are not relevant for the HOWTO Collection,
6 such as author info, etc -->
7 <xsl:import href=
"strip-references.xsl"/>
9 <!-- Handle Samba-specific elements -->
10 <xsl:import href=
"latex/samba.xsl"/>
12 <xsl:param name=
"latex.mapping.xml" select=
"document('latex.overrides.xml')"/>
14 <xsl:param name=
"generate.toc">
18 book toc,title,figure,table,example,equation
19 /chapter toc,title,lop
35 <xsl:output method=
"text" encoding=
"UTF-8" indent=
"yes"/>
36 <xsl:variable name=
"l10n.gentext.default.language" select=
"'en'"/>
37 <xsl:variable name=
"latex.example.caption.style"></xsl:variable>
38 <xsl:variable name=
"latex.hyperref.param.pdftex">hyperfigures,hyperindex,citecolor=black,urlcolor=black,filecolor=black,linkcolor=black,menucolor=red,pagecolor=black
</xsl:variable>
39 <xsl:variable name=
"latex.use.tabularx">1</xsl:variable>
40 <xsl:variable name=
"latex.use.parskip">1</xsl:variable>
41 <xsl:variable name=
"latex.hyphenation.tttricks">1</xsl:variable>
42 <xsl:template name=
"latex.thead.row.entry">
43 <xsl:text>{\bfseries
</xsl:text><xsl:apply-templates/><xsl:text>}
</xsl:text>
46 <xsl:variable name="latex.class.book">sambadoc</xsl:variable>
48 <xsl:variable name=
"latex.babel.language">english
</xsl:variable>
49 <xsl:variable name=
"ulink.footnotes" select=
"1"/>
50 <xsl:variable name=
"ulink.show" select=
"0"/>
52 <!-- The 'imagefile' element, so we can use images without three layers of XML elements -->
53 <xsl:template match=
"imagefile">
54 <xsl:text>\includegraphics[scale=
</xsl:text>
56 <xsl:when test=
"@scale != ''"><xsl:value-of select=
"@scale div 100"/></xsl:when>
58 <xsl:otherwise><xsl:text>.50</xsl:text></xsl:otherwise>
60 <xsl:text>]{
</xsl:text>
61 <xsl:value-of select=
"text()"/>
62 <xsl:text>}
</xsl:text>