Revert "s3-libnet: allow to use default krb5 ccache in libnet_Join/libnet_Unjoin."
[Samba.git] / docs-xml / xslt / latex.xsl
blob5bc6deb8c1e4d9c72720c91ae1bc43c09b9f8e70
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">
15 /appendix toc,title
16 article/appendix nop
17 /article toc,title
18 book toc,title,figure,table,example,equation
19 /chapter toc,title,lop
20 part toc,title
21 /preface toc,title
22 qandadiv toc
23 qandaset toc
24 procedure lop
25 reference toc,title
26 /sect1 toc
27 /sect2 toc
28 /sect3 toc
29 /sect4 toc
30 /sect5 toc
31 /section toc
32 set toc,title
33 </xsl:param>
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>
44 </xsl:template>
45 <!--
46 <xsl:variable name="latex.class.book">sambadoc</xsl:variable>
47 -->
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>
55 <xsl:choose>
56 <xsl:when test="@scale != ''"><xsl:value-of select="@scale div 100"/></xsl:when>
58 <xsl:otherwise><xsl:text>.50</xsl:text></xsl:otherwise>
59 </xsl:choose>
60 <xsl:text>]{</xsl:text>
61 <xsl:value-of select="text()"/>
62 <xsl:text>}&#10;</xsl:text>
63 </xsl:template>
64 </xsl:stylesheet>