File: user_param.xsl

package info (click to toggle)
debian-reference 2.76
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 27,868 kB
  • sloc: xml: 35,664; python: 3,871; makefile: 378; sh: 328; sed: 80
file content (28 lines) | stat: -rw-r--r-- 1,145 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>

<!--############################################################################
    XSLT Stylesheet DocBook -> LaTeX 
    ############################################################################ -->

  <xsl:param name="draft.mode">maybe</xsl:param>
  <xsl:param name="glossterm.auto.link">1</xsl:param>
  <xsl:param name="latex.encoding">utf8</xsl:param>

  <!--
  <xsl:param name="latex.unicode.use">1</xsl:param>
  -->

  <xsl:param name="monoseq.hyphenation">nohyphen</xsl:param>
  <!--
  <xsl:param name="latex.hyperparam">hyperfootnotes,pagebackref=false,colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,pdfstartview=FitH</xsl:param>
  -->
  <xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,pdfstartview=FitBH</xsl:param>

  <xsl:template match="book|article" mode="docinfo">
    <!-- Apply default settings -->
    <xsl:apply-imports/>
    <xsl:text>\input{</xsl:text>po/<xsl:value-of select="$lingua"/><xsl:text>.tex}</xsl:text>
  </xsl:template>
</xsl:stylesheet>