head	1.1;
access;
symbols
	REL9_0_0:1.1
	REL9_1_ALPHA1:1.1
	REL9_0_RC1:1.1
	REL9_0_BETA4:1.1
	REL9_0_STABLE:1.1.0.16
	REL9_0_BETA3:1.1
	REL9_0_BETA2:1.1
	REL8_3_11:1.1
	REL8_4_4:1.1
	REL9_0_BETA1:1.1
	REL9_0_ALPHA5_BRANCH:1.1.0.14
	REL9_0_ALPHA5:1.1
	REL8_3_10:1.1
	REL8_4_3:1.1
	REL9_0_ALPHA4:1.1
	REL9_0_ALPHA4_BRANCH:1.1.0.12
	REL8_5_ALPHA3:1.1
	REL8_5_ALPHA3_BRANCH:1.1.0.10
	REL8_3_9:1.1
	REL8_4_2:1.1
	REL8_5_ALPHA2:1.1
	REL8_5_ALPHA2_BRANCH:1.1.0.8
	REL8_3_8:1.1
	REL8_4_1:1.1
	REL8_5_ALPHA1:1.1
	REL8_5_ALPHA1_BRANCH:1.1.0.6
	REL8_4_STABLE:1.1.0.4
	REL8_4_0:1.1
	REL8_4_RC2:1.1
	REL8_4_RC1:1.1
	REL8_4_BETA2:1.1
	REL8_4_BETA1:1.1
	REL8_3_7:1.1
	REL8_3_6:1.1
	REL8_3_5:1.1
	REL8_3_4:1.1
	REL8_3_3:1.1
	REL8_3_2:1.1
	REL8_3_1:1.1
	REL8_3_STABLE:1.1.0.2
	REL8_3_0:1.1
	REL8_3_RC2:1.1
	REL8_3_RC1:1.1
	REL8_3_BETA4:1.1
	REL8_3_BETA3:1.1
	REL8_3_BETA2:1.1
	REL8_3_BETA1:1.1;
locks; strict;
comment	@# @;


1.1
date	2006.12.10.16.01.06;	author petere;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Reorganize XSLT stylesheet support.  Put common things into a separate
file (instead of repeating), add XSL-FO stylesheet and appropriate make
rules.
@
text
@<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

<!--
  This file contains XSLT stylesheet customizations that are common to
  all output formats (HTML, HTML Help, XSL-FO, etc.).
  -->


<!-- Parameters -->

<xsl:param name="pg.fast" select="'0'"/>

<!--
<xsl:param name="draft.mode">
  <xsl:choose>
    <xsl:when test="contains($pg.version, 'devel')">yes</xsl:when>
    <xsl:otherwise>no</xsl:otherwise>
  </xsl:choose>
</xsl:param>
-->

<xsl:param name="show.comments">
  <xsl:choose>
    <xsl:when test="contains($pg.version, 'devel')">1</xsl:when>
    <xsl:otherwise>0</xsl:otherwise>
  </xsl:choose>
</xsl:param>

<xsl:param name="callout.graphics" select="'0'"></xsl:param>
<xsl:param name="toc.section.depth">2</xsl:param>
<xsl:param name="linenumbering.extension" select="'0'"></xsl:param>
<xsl:param name="generate.index" select="1 - $pg.fast"></xsl:param>
<xsl:param name="preface.autolabel" select="1 - $pg.fast"></xsl:param>
<xsl:param name="section.autolabel" select="1 - $pg.fast"></xsl:param>
<xsl:param name="section.label.includes.component.label" select="1 - $pg.fast"></xsl:param>
<xsl:param name="refentry.xref.manvolnum" select="0"/>
<xsl:param name="formal.procedures" select="0"></xsl:param>
<xsl:param name="punct.honorific" select="''"></xsl:param>


<!-- Change display of some elements -->

<xsl:template match="command">
  <xsl:call-template name="inline.monoseq"/>
</xsl:template>

<xsl:template match="productname">
  <xsl:call-template name="inline.charseq"/>
</xsl:template>

<xsl:template match="structfield">
  <xsl:call-template name="inline.monoseq"/>
</xsl:template>

<xsl:template match="structname">
  <xsl:call-template name="inline.monoseq"/>
</xsl:template>

<xsl:template match="symbol">
  <xsl:call-template name="inline.monoseq"/>
</xsl:template>

<xsl:template match="systemitem">
  <xsl:call-template name="inline.charseq"/>
</xsl:template>

<xsl:template match="token">
  <xsl:call-template name="inline.monoseq"/>
</xsl:template>

<xsl:template match="type">
  <xsl:call-template name="inline.monoseq"/>
</xsl:template>

<xsl:template match="programlisting/emphasis">
  <xsl:call-template name="inline.boldseq"/>
</xsl:template>


<!-- Special support for Tcl synopses -->

<xsl:template match="optional[@@role='tcl']">
  ?<xsl:call-template name="inline.charseq"/>?
</xsl:template>

</xsl:stylesheet>
@
