2004-04-07 14:40:50 +04:00
<?xml version="1.0" encoding="ISO-8859-1"?>
2005-06-30 06:17:59 +04:00
<xsl:stylesheet xmlns:xsl= "http://www.w3.org/1999/XSL/Transform" version= '1.0'
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2009-05-01 22:51:43 +04:00
2009-05-01 22:36:56 +04:00
<!-- Remove bits from the manual pages that are not relevant for the HOWTO Collection,
such as author info, etc -->
2009-05-01 22:51:43 +04:00
<xsl:import href= "strip-references.xsl" />
<!-- Handle Samba - specific elements -->
<xsl:import href= "latex/samba.xsl" />
2004-04-07 14:40:50 +04:00
2009-05-01 22:51:43 +04:00
<xsl:param name= "latex.mapping.xml" select= "document('latex.overrides.xml')" />
2005-06-11 00:29:09 +04:00
<xsl:param name= "generate.toc" >
/appendix toc,title
article/appendix nop
/article toc,title
book toc,title,figure,table,example,equation
/chapter toc,title,lop
part toc,title
/preface toc,title
qandadiv toc
qandaset toc
procedure lop
reference toc,title
/sect1 toc
/sect2 toc
/sect3 toc
/sect4 toc
/sect5 toc
/section toc
set toc,title
</xsl:param>
2007-11-27 18:50:28 +03:00
<xsl:output method= "text" encoding= "UTF-8" indent= "yes" />
2005-06-13 18:56:25 +04:00
<xsl:variable name= "l10n.gentext.default.language" select= "'en'" />
<xsl:variable name= "latex.example.caption.style" > </xsl:variable>
2004-04-07 14:40:50 +04:00
<xsl:variable name= "latex.hyperref.param.pdftex" > hyperfigures,hyperindex,citecolor=black,urlcolor=black,filecolor=black,linkcolor=black,menucolor=red,pagecolor=black</xsl:variable>
<xsl:variable name= "latex.use.tabularx" > 1</xsl:variable>
<xsl:variable name= "latex.use.parskip" > 1</xsl:variable>
<xsl:variable name= "latex.hyphenation.tttricks" > 1</xsl:variable>
<xsl:template name= "latex.thead.row.entry" >
<xsl:text > {\bfseries </xsl:text> <xsl:apply-templates /> <xsl:text > }</xsl:text>
</xsl:template>
2009-05-01 19:38:25 +04:00
<!--
2009-05-01 17:34:13 +04:00
<xsl:variable name= "latex.class.book" > sambadoc</xsl:variable>
2009-05-01 19:38:25 +04:00
-->
2005-06-13 18:56:25 +04:00
<xsl:variable name= "latex.babel.language" > english</xsl:variable>
2005-06-13 14:23:53 +04:00
<xsl:variable name= "ulink.footnotes" select= "1" />
<xsl:variable name= "ulink.show" select= "0" />
2004-04-07 14:40:50 +04:00
2009-05-01 22:51:43 +04:00
<!-- The 'imagefile' element, so we can use images without three layers of XML elements -->
2005-06-13 04:48:46 +04:00
<xsl:template match= "imagefile" >
2005-06-14 02:26:00 +04:00
<xsl:text > \includegraphics[scale=</xsl:text>
2005-06-13 04:48:46 +04:00
<xsl:choose >
2005-06-14 02:26:00 +04:00
<xsl:when test= "@scale != ''" > <xsl:value-of select= "@scale div 100" /> </xsl:when>
2005-06-13 04:48:46 +04:00
2005-06-14 02:26:00 +04:00
<xsl:otherwise > <xsl:text > .50</xsl:text> </xsl:otherwise>
2005-06-13 04:48:46 +04:00
</xsl:choose>
<xsl:text > ]{</xsl:text>
<xsl:value-of select= "text()" />
<xsl:text > } </xsl:text>
</xsl:template>
2004-04-07 14:40:50 +04:00
</xsl:stylesheet>