Blame Models/Documentation/Xsl/docbook2fo.xsl

Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
$Id$ 
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
		version='1.0'
Alain Reguera Delgado 77f9b4
		xmlns="http://www.w3.org/TR/xhtml1/transitional"
Alain Reguera Delgado 77f9b4
		xmlns:fo="http://www.w3.org/1999/XSL/Format"
Alain Reguera Delgado 77f9b4
		exclude-result-prefixes="#default">
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
    <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
    
Alain Reguera Delgado 77f9b4
    Add your customization below this comment. For more information
Alain Reguera Delgado 77f9b4
    about how to customize this section, read installed documentation
Alain Reguera Delgado 77f9b4
    at: /usr/share/doc/docbook-style-xsl-1.69.1/doc/fo/index.html
Alain Reguera Delgado 77f9b4
    -->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
    <xsl:param name="doc.url" select="'http://www.centos.org/docs/'"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
    
Alain Reguera Delgado 77f9b4
    The following customization is based on `main-pdf.xsl' from
Alain Reguera Delgado 77f9b4
    `publican-0.33-0.el5' package. Feel free to make improvements.
Alain Reguera Delgado 77f9b4
    -->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="alignment">left</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="use.extensions" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="tablecolumns.extensions" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="passivetex.extensions" select="1"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="fop1.extensions" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="img.src.path" select="''" />
Alain Reguera Delgado 77f9b4
<xsl:param name="confidential" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="qandadiv.autolabel" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="keep.relative.image.uris" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="hyphenation-character">-</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="hyphenate.verbatim" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="hyphenate">false</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="ulink.footnotes" select="1"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="line-height" select="1.5"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="xref.properties">
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="font-style">italic</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="color">
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="ancestor::note or ancestor::caution or ancestor::important or ancestor::warning or ancestor::tip">
Alain Reguera Delgado 77f9b4
			<xsl:text>#aee6ff</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
			<xsl:text>#0066cc</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
  </xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="monospace.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">9pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-family">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$monospace.font.family"/>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="text-align">start</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="wrap-option">wrap</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="hyphenation-character">►</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="shade.verbatim" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="shade.verbatim.style">
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="background-color">
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="ancestor::note or ancestor::caution or ancestor::important or ancestor::warning or ancestor::tip">
Alain Reguera Delgado 77f9b4
			<xsl:text>#333333</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
			<xsl:text>#e9e3cc</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
  </xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="color">
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="ancestor::note or ancestor::caution or ancestor::important or ancestor::warning or ancestor::tip">
Alain Reguera Delgado 77f9b4
			<xsl:text>white</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
			<xsl:text>black</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
  </xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-left">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-right">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-top">6pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-bottom">6pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="margin-left">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$title.margin.left"/>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="verbatim.properties">
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="hyphenate">false</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="white-space-collapse">false</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="white-space-treatment">preserve</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="text-align">start</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="admon.graphics" select="0"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="admon.graphics.path" select="''" />
Alain Reguera Delgado 77f9b4
<xsl:param name="admon.graphics.extension" select="'.png'"/>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="admonition.title.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">13pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color">white</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="hyphenate">false</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="graphical.admonition.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color">white</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="background-color">#404040</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-after.maximum">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-bottom">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-top">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-right">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-left">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="margin-left">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$title.margin.left"/>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="generate.toc">
Alain Reguera Delgado 77f9b4
set toc
Alain Reguera Delgado 77f9b4
book toc
Alain Reguera Delgado 77f9b4
article toc
Alain Reguera Delgado 77f9b4
</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="toc.section.depth">3</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="section.autolabel" select="1"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="callout.graphics.path" select="''" />
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="variablelist.as.blocks">1</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.optimum">2em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.minimum">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.maximum">3em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="table.cell.padding">
Alain Reguera Delgado 77f9b4
<xsl:attribute name="padding-left">4pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
<xsl:attribute name="padding-right">4pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
<xsl:attribute name="padding-top">2pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
<xsl:attribute name="padding-bottom">2pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="table.frame.border.thickness">0.3pt</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.cell.border.thickness">0.15pt</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.cell.border.color">#5c5c4f</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.frame.border.color">#5c5c4f</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.cell.border.right.color">white</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.cell.border.left.color">white</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.frame.border.right.color">white</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="table.frame.border.left.color">white</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="paper.type" select="'A4'"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="double.sided">1</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="headers.on.blank.pages">1</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="footers.on.blank.pages">1</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="header.column.widths" select="'1 0 1'"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="footer.column.widths" select="'1 1 1'"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="header.rule" select="1"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="page.margin.top">15mm</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="region.before.extent">10mm</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="body.margin.top">15mm</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="body.margin.bottom">15mm</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="region.after.extent">10mm</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="page.margin.bottom">15mm</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="page.margin.outer">30mm</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="page.margin.inner">30mm</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="title.margin.left">0pt</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="title.color">#204c8d</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master * 1.2"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="hyphenate">false</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.level1.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master * 1.6"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.level2.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master * 1.4"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.level3.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master * 1.3"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.level4.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master * 1.2"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.level5.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master * 1.1"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.level6.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$body.font.master"/>
Alain Reguera Delgado 77f9b4
		<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="section.title.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-family">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$title.font.family"/>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
	
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="text-align">left</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="book.titlepage.recto.style">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-family">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$title.fontset"/>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="text-align">center</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="component.title.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="hyphenate">false</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			<xsl:when test="not(parent::chapter | parent::article | parent::appendix)"><xsl:value-of select="$title.color"/></xsl:when>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="text-align">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			<xsl:when test="((parent::article | parent::articleinfo) and not(ancestor::book) and not(self::bibliography))				 or (parent::slides | parent::slidesinfo)">center</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:otherwise>left</xsl:otherwise>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="chapter.titlepage.recto.style">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="background-color">white</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ja-JP'">
Alain Reguera Delgado 77f9b4
				<xsl:value-of select="$body.font.master * 1.7"/>
Alain Reguera Delgado 77f9b4
				<xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:otherwise>
Alain Reguera Delgado 77f9b4
				<xsl:text>24pt</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:otherwise>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="text-align">left</xsl:attribute>
Alain Reguera Delgado 77f9b4
	
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-left">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-right">1em</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="preface.titlepage.recto.style">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-family">
Alain Reguera Delgado 77f9b4
		<xsl:value-of select="$title.fontset"/>
Alain Reguera Delgado 77f9b4
	</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color">#204c8d</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">12pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="part.titlepage.recto.style">
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="color"><xsl:value-of select="$title.color"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="text-align">center</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/table.xsl
Alain Reguera Delgado 77f9b4
Reason: Table Header format
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template name="table.cell.block.properties">
Alain Reguera Delgado 77f9b4
  
Alain Reguera Delgado 77f9b4
  <xsl:if test="ancestor::thead or ancestor::tfoot">
Alain Reguera Delgado 77f9b4
    <xsl:attribute name="font-weight">bold</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="background-color">#204c8d</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color">white</xsl:attribute>
Alain Reguera Delgado 77f9b4
  </xsl:if>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/table.xsl
Alain Reguera Delgado 77f9b4
Reason: Table Header format
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="table.row.properties">
Alain Reguera Delgado 77f9b4
  <xsl:variable name="bgcolor">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="dbfo-attribute">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="pis" select="processing-instruction('dbfo')"/>
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="attribute" select="'bgcolor'"/>
Alain Reguera Delgado 77f9b4
    </xsl:call-template>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
  <xsl:if test="$bgcolor != ''">
Alain Reguera Delgado 77f9b4
    <xsl:attribute name="background-color">
Alain Reguera Delgado 77f9b4
      <xsl:value-of select="$bgcolor"/>
Alain Reguera Delgado 77f9b4
    </xsl:attribute>
Alain Reguera Delgado 77f9b4
  </xsl:if>
Alain Reguera Delgado 77f9b4
  <xsl:if test="ancestor::thead or ancestor::tfoot">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="background-color">#204c8d</xsl:attribute>
Alain Reguera Delgado 77f9b4
  </xsl:if>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/titlepage.templates.xsl
Alain Reguera Delgado 77f9b4
Reason: Switch to using chapter.titlepage.recto.style
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
Alain Reguera Delgado 77f9b4
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
Alain Reguera Delgado 77f9b4
<xsl:call-template name="component.title.nomarkup">
Alain Reguera Delgado 77f9b4
<xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/>
Alain Reguera Delgado 77f9b4
</xsl:call-template>
Alain Reguera Delgado 77f9b4
</fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/titlepage.templates.xsl
Alain Reguera Delgado 77f9b4
Reason: Remove font size and weight overrides
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
Alain Reguera Delgado 77f9b4
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
Alain Reguera Delgado 77f9b4
<xsl:value-of select="."/>
Alain Reguera Delgado 77f9b4
</fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/titlepage.templates.xsl
Alain Reguera Delgado 77f9b4
Reason: Remove font family, size and weight overrides
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template name="preface.titlepage.recto">
Alain Reguera Delgado 77f9b4
	<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}">
Alain Reguera Delgado 77f9b4
<xsl:call-template name="component.title.nomarkup">
Alain Reguera Delgado 77f9b4
<xsl:with-param name="node" select="ancestor-or-self::preface[1]"/>
Alain Reguera Delgado 77f9b4
</xsl:call-template></fo:block>
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="prefaceinfo/subtitle">
Alain Reguera Delgado 77f9b4
			<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:when test="docinfo/subtitle">
Alain Reguera Delgado 77f9b4
			<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:when test="info/subtitle">
Alain Reguera Delgado 77f9b4
			<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:when test="subtitle">
Alain Reguera Delgado 77f9b4
			<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
Alain Reguera Delgado 77f9b4
	<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="pickfont-sans">
Alain Reguera Delgado 77f9b4
	<xsl:variable name="font">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ja-JP'">
Alain Reguera Delgado 77f9b4
				<xsl:text>KochiMincho,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ko-KR'">
Alain Reguera Delgado 77f9b4
				<xsl:text>BaekmukBatang,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'zh-CN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>ARPLKaitiMGB,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'bn-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitBengali,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ta-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitTamil,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'pa-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitPunjabi,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'hi-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitHindi,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'gu-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitGujarati,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'zh-TW'">
Alain Reguera Delgado 77f9b4
				<xsl:text>ARPLMingti2LBig5,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ru-RU'">
Alain Reguera Delgado 77f9b4
				<xsl:text>DejaVuLGCSans,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:variable>
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="$fop.extensions != 0">
Alain Reguera Delgado 77f9b4
		  <xsl:copy-of select="$font"/><xsl:text>sans-serif</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
		  <xsl:copy-of select="$font"/><xsl:text>sans-serif</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="pickfont-serif">
Alain Reguera Delgado 77f9b4
	<xsl:variable name="font">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ja-JP'">
Alain Reguera Delgado 77f9b4
				<xsl:text>KochiMincho,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ko-KR'">
Alain Reguera Delgado 77f9b4
				<xsl:text>BaekmukBatang,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'zh-CN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>ARPLKaitiMGB,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'bn-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitBengali,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ta-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitTamil,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'pa-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitPunjabi,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'hi-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitHindi,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'gu-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitGujarati,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'zh-TW'">
Alain Reguera Delgado 77f9b4
				<xsl:text>ARPLMingti2LBig5,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ru-RU'">
Alain Reguera Delgado 77f9b4
				<xsl:text>DejaVuLGCSans,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:variable>
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="$fop.extensions != 0">
Alain Reguera Delgado 77f9b4
		  <xsl:copy-of select="$font"/><xsl:text>serif</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
		  <xsl:copy-of select="$font"/><xsl:text>serif</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="pickfont-mono">
Alain Reguera Delgado 77f9b4
	<xsl:variable name="font">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ja-JP'">
Alain Reguera Delgado 77f9b4
				<xsl:text>KochiMincho,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ko-KR'">
Alain Reguera Delgado 77f9b4
				<xsl:text>BaekmukBatang,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'zh-CN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>ARPLKaitiMGB,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'bn-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitBengali,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ta-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitTamil,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'pa-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitPunjabi,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'hi-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitHindi,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'gu-IN'">
Alain Reguera Delgado 77f9b4
				<xsl:text>LohitGujarati,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'zh-TW'">
Alain Reguera Delgado 77f9b4
				<xsl:text>ARPLMingti2LBig5,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:when test="$l10n.gentext.language = 'ru-RU'">
Alain Reguera Delgado 77f9b4
				<xsl:text>DejaVuLGCSansMono,</xsl:text>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:variable>
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="$fop.extensions != 0">
Alain Reguera Delgado 77f9b4
		  <xsl:copy-of select="$font"/><xsl:text>monospace</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
		  <xsl:copy-of select="$font"/><xsl:text>monospace</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:choose>
Alain Reguera Delgado 77f9b4
		<xsl:when test="$l10n.gentext.language = 'ja-JP'">
Alain Reguera Delgado 77f9b4
			<xsl:text>Symbol,ZapfDingbats</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:when>
Alain Reguera Delgado 77f9b4
		<xsl:otherwise>
Alain Reguera Delgado 77f9b4
			<xsl:text>Symbol,ZapfDingbats</xsl:text>
Alain Reguera Delgado 77f9b4
		</xsl:otherwise>
Alain Reguera Delgado 77f9b4
	</xsl:choose>
Alain Reguera Delgado 77f9b4
</xsl:param-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="title.font.family">
Alain Reguera Delgado 77f9b4
	<xsl:call-template name="pickfont-sans"/>
Alain Reguera Delgado 77f9b4
</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="body.font.family">
Alain Reguera Delgado 77f9b4
	<xsl:call-template name="pickfont-sans"/>
Alain Reguera Delgado 77f9b4
</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="monospace.font.family">
Alain Reguera Delgado 77f9b4
	<xsl:call-template name="pickfont-mono"/>
Alain Reguera Delgado 77f9b4
</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="sans.font.family">
Alain Reguera Delgado 77f9b4
	<xsl:call-template name="pickfont-sans"/>
Alain Reguera Delgado 77f9b4
</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:call-template name="pickfont-sans"/>
Alain Reguera Delgado 77f9b4
</xsl:param-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/verbatim.xsl
Alain Reguera Delgado 77f9b4
Reason: Left align address
Alain Reguera Delgado 77f9b4
Version: 1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="address">
Alain Reguera Delgado 77f9b4
	<xsl:param name="suppress-numbers" select="'0'"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:variable name="content">
Alain Reguera Delgado 77f9b4
		<xsl:choose>
Alain Reguera Delgado 77f9b4
			
Alain Reguera Delgado 77f9b4
											and @linenumbering = 'numbered'
Alain Reguera Delgado 77f9b4
											and $use.extensions != '0'
Alain Reguera Delgado 77f9b4
											and $linenumbering.extension != '0'">
Alain Reguera Delgado 77f9b4
				<xsl:call-template name="number.rtf.lines">
Alain Reguera Delgado 77f9b4
					<xsl:with-param name="rtf">
Alain Reguera Delgado 77f9b4
						<xsl:apply-templates/>
Alain Reguera Delgado 77f9b4
					</xsl:with-param>
Alain Reguera Delgado 77f9b4
				</xsl:call-template>
Alain Reguera Delgado 77f9b4
			</xsl:when>
Alain Reguera Delgado 77f9b4
			<xsl:otherwise>
Alain Reguera Delgado 77f9b4
				<xsl:apply-templates/>
Alain Reguera Delgado 77f9b4
			</xsl:otherwise>
Alain Reguera Delgado 77f9b4
		</xsl:choose>
Alain Reguera Delgado 77f9b4
	</xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	
Alain Reguera Delgado 77f9b4
						white-space-collapse='false'
Alain Reguera Delgado 77f9b4
			white-space-treatment='preserve'
Alain Reguera Delgado 77f9b4
						linefeed-treatment="preserve"
Alain Reguera Delgado 77f9b4
						text-align="start"
Alain Reguera Delgado 77f9b4
						xsl:use-attribute-sets="verbatim.properties">
Alain Reguera Delgado 77f9b4
		<xsl:copy-of select="$content"/>
Alain Reguera Delgado 77f9b4
	</fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="component.title.nomarkup">
Alain Reguera Delgado 77f9b4
  <xsl:param name="node" select="."/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:variable name="id">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="object.id">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="object" select="$node"/>
Alain Reguera Delgado 77f9b4
    </xsl:call-template>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:variable name="title">
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates select="$node" mode="object.title.markup">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="allow-anchors" select="1"/>
Alain Reguera Delgado 77f9b4
    </xsl:apply-templates>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
  <xsl:copy-of select="$title"/>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="header.content.properties">
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="font-family">
Alain Reguera Delgado 77f9b4
    <xsl:value-of select="$body.fontset"/>
Alain Reguera Delgado 77f9b4
  </xsl:attribute>
Alain Reguera Delgado 77f9b4
  <xsl:attribute name="margin-left">
Alain Reguera Delgado 77f9b4
    <xsl:value-of select="$title.margin.left"/>
Alain Reguera Delgado 77f9b4
  </xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/pagesetup.xsl
Alain Reguera Delgado 77f9b4
Reason: Custom Header
Alain Reguera Delgado 77f9b4
Version: 1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template name="header.content">
Alain Reguera Delgado 77f9b4
  <xsl:param name="pageclass" select="''"/>
Alain Reguera Delgado 77f9b4
  <xsl:param name="sequence" select="''"/>
Alain Reguera Delgado 77f9b4
  <xsl:param name="position" select="''"/>
Alain Reguera Delgado 77f9b4
  <xsl:param name="gentext-key" select="''"/>
Alain Reguera Delgado 77f9b4
	<xsl:param name="title-limit" select="'30'"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <fo:block>
Alain Reguera Delgado 77f9b4
    <xsl:value-of select="$pageclass"/>
Alain Reguera Delgado 77f9b4
    <xsl:text>, </xsl:text>
Alain Reguera Delgado 77f9b4
    <xsl:value-of select="$sequence"/>
Alain Reguera Delgado 77f9b4
    <xsl:text>, </xsl:text>
Alain Reguera Delgado 77f9b4
    <xsl:value-of select="$position"/>
Alain Reguera Delgado 77f9b4
    <xsl:text>, </xsl:text>
Alain Reguera Delgado 77f9b4
    <xsl:value-of select="$gentext-key"/>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
body, blank, left, chapter
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
    
Alain Reguera Delgado 77f9b4
    
Alain Reguera Delgado 77f9b4
    <xsl:choose>
Alain Reguera Delgado 77f9b4
      
Alain Reguera Delgado 77f9b4
			<xsl:variable name="text">
Alain Reguera Delgado 77f9b4
				<xsl:call-template name="component.title.nomarkup"/>
Alain Reguera Delgado 77f9b4
			</xsl:variable>
Alain Reguera Delgado 77f9b4
	      <fo:inline keep-together.within-line="always" font-weight="bold">
Alain Reguera Delgado 77f9b4
  			  <xsl:choose>
Alain Reguera Delgado 77f9b4
		  		<xsl:when test="string-length($text) > '33'">
Alain Reguera Delgado 77f9b4
					<xsl:value-of select="concat(substring($text, 0, $title-limit), '...')"/>
Alain Reguera Delgado 77f9b4
				</xsl:when>
Alain Reguera Delgado 77f9b4
				<xsl:otherwise>
Alain Reguera Delgado 77f9b4
					<xsl:value-of select="$text"/>
Alain Reguera Delgado 77f9b4
				</xsl:otherwise>
Alain Reguera Delgado 77f9b4
			  </xsl:choose>
Alain Reguera Delgado 77f9b4
		  </fo:inline>
Alain Reguera Delgado 77f9b4
      </xsl:when-->
Alain Reguera Delgado 77f9b4
	  <xsl:when test="$confidential = 1 and (($sequence='odd' and $position='left') or ($sequence='even' and $position='right'))">
Alain Reguera Delgado 77f9b4
	      <fo:inline keep-together.within-line="always" font-weight="bold">
Alain Reguera Delgado 77f9b4
			<xsl:text>RED HAT CONFIDENTIAL</xsl:text>
Alain Reguera Delgado 77f9b4
		  </fo:inline>
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
	  <xsl:when test="$sequence = 'blank'">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
 	  
Alain Reguera Delgado 77f9b4
  		<xsl:when test="($sequence='first' and $position='left' and $gentext-key='chapter')">
Alain Reguera Delgado 77f9b4
		<xsl:variable name="text">
Alain Reguera Delgado 77f9b4
			<xsl:call-template name="component.title.nomarkup"/>
Alain Reguera Delgado 77f9b4
		</xsl:variable>
Alain Reguera Delgado 77f9b4
		<xsl:variable name="chapt">
Alain Reguera Delgado 77f9b4
			<xsl:value-of select="substring-before($text, ' ')"/>
Alain Reguera Delgado 77f9b4
		</xsl:variable>
Alain Reguera Delgado 77f9b4
		<xsl:variable name="remainder">
Alain Reguera Delgado 77f9b4
			<xsl:value-of select="substring-after($text, ' ')"/>
Alain Reguera Delgado 77f9b4
		</xsl:variable>
Alain Reguera Delgado 77f9b4
		<xsl:variable name="chapt-num">
Alain Reguera Delgado 77f9b4
			<xsl:value-of select="substring-before($remainder, ' ')"/>
Alain Reguera Delgado 77f9b4
		</xsl:variable>
Alain Reguera Delgado 77f9b4
		<xsl:variable name="text1">
Alain Reguera Delgado 77f9b4
			<xsl:value-of select="concat($chapt, ' ', $chapt-num)"/>
Alain Reguera Delgado 77f9b4
		</xsl:variable>
Alain Reguera Delgado 77f9b4
        <fo:inline keep-together.within-line="always" font-weight="bold">
Alain Reguera Delgado 77f9b4
 		  <xsl:value-of select="$text1"/>
Alain Reguera Delgado 77f9b4
		</fo:inline>
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
     
Alain Reguera Delgado 77f9b4
      <xsl:when test="($sequence='even' and $position='left')">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
	      <fo:inline keep-together.within-line="always" font-weight="bold">
Alain Reguera Delgado 77f9b4
				<xsl:call-template name="component.title.nomarkup"/>
Alain Reguera Delgado 77f9b4
		  </fo:inline>
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:when test="($sequence='odd' and $position='right')">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
	      <fo:inline keep-together.within-line="always"><fo:retrieve-marker retrieve-class-name="section.head.marker" retrieve-position="first-including-carryover" retrieve-boundary="page-sequence"/></fo:inline>
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
	  <xsl:when test="$position='left'">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
        <xsl:call-template name="draft.text"/>
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:when test="$position='center'">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:when test="$position='right'">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
        <xsl:call-template name="draft.text"/>
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:when test="$sequence = 'first'">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:when test="$sequence = 'blank'">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
    </xsl:choose>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/pagesetup.xsl
Alain Reguera Delgado 77f9b4
Reason: Override colour
Alain Reguera Delgado 77f9b4
Version: 1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template name="head.sep.rule">
Alain Reguera Delgado 77f9b4
	<xsl:param name="pageclass"/>
Alain Reguera Delgado 77f9b4
	<xsl:param name="sequence"/>
Alain Reguera Delgado 77f9b4
	<xsl:param name="gentext-key"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:if test="$header.rule != 0">
Alain Reguera Delgado 77f9b4
		<xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
		<xsl:attribute name="border-bottom-style">solid</xsl:attribute>
Alain Reguera Delgado 77f9b4
		<xsl:attribute name="border-bottom-color">#204c8d</xsl:attribute>
Alain Reguera Delgado 77f9b4
	</xsl:if>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/pagesetup.xsl
Alain Reguera Delgado 77f9b4
Reason: Override colour
Alain Reguera Delgado 77f9b4
Version: 1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template name="foot.sep.rule">
Alain Reguera Delgado 77f9b4
	<xsl:param name="pageclass"/>
Alain Reguera Delgado 77f9b4
	<xsl:param name="sequence"/>
Alain Reguera Delgado 77f9b4
	<xsl:param name="gentext-key"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
	<xsl:if test="$footer.rule != 0">
Alain Reguera Delgado 77f9b4
		<xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
		<xsl:attribute name="border-top-style">solid</xsl:attribute>
Alain Reguera Delgado 77f9b4
		<xsl:attribute name="border-top-color">#204c8d</xsl:attribute>
Alain Reguera Delgado 77f9b4
	</xsl:if>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="footnote.font.size">
Alain Reguera Delgado 77f9b4
	<xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text>
Alain Reguera Delgado 77f9b4
</xsl:param>
Alain Reguera Delgado 77f9b4
<xsl:param name="footnote.number.format" select="'1'"/>
Alain Reguera Delgado 77f9b4
<xsl:param name="footnote.number.symbols" select="''"/>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="footnote.mark.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size">75%</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">normal</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-style">normal</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="footnote.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="padding-top">48pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-weight">normal</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="font-style">normal</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="text-align"><xsl:value-of select="$alignment"/></xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="start-indent">0pt</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
<xsl:attribute-set name="footnote.sep.leader.properties">
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="color">black</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="leader-pattern">rule</xsl:attribute>
Alain Reguera Delgado 77f9b4
	<xsl:attribute name="leader-length">1in</xsl:attribute>
Alain Reguera Delgado 77f9b4
</xsl:attribute-set>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="author" mode="tablerow.titlepage.mode">
Alain Reguera Delgado 77f9b4
  <fo:table-row>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
        <xsl:call-template name="gentext">
Alain Reguera Delgado 77f9b4
          <xsl:with-param name="key" select="'Author'"/>
Alain Reguera Delgado 77f9b4
        </xsl:call-template>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
	    <xsl:call-template name="person.name">
Alain Reguera Delgado 77f9b4
          <xsl:with-param name="node" select="."/>
Alain Reguera Delgado 77f9b4
        </xsl:call-template>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
	    <xsl:apply-templates select="email"/>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
  </fo:table-row>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="author" mode="titlepage.mode">
Alain Reguera Delgado 77f9b4
  <fo:block>
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="person.name">
Alain Reguera Delgado 77f9b4
         <xsl:with-param name="node" select="."/>
Alain Reguera Delgado 77f9b4
    </xsl:call-template>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:param name="editedby.enabled">0</xsl:param>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="editor" mode="tablerow.titlepage.mode">
Alain Reguera Delgado 77f9b4
  <fo:table-row>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
	    <xsl:call-template name="gentext">
Alain Reguera Delgado 77f9b4
	      <xsl:with-param name="key" select="'Editor'"/>
Alain Reguera Delgado 77f9b4
	    </xsl:call-template>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
        <xsl:call-template name="person.name">
Alain Reguera Delgado 77f9b4
          <xsl:with-param name="node" select="."/>
Alain Reguera Delgado 77f9b4
        </xsl:call-template>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
	    <xsl:apply-templates select="email"/>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
  </fo:table-row>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="othercredit" mode="tablerow.titlepage.mode">
Alain Reguera Delgado 77f9b4
  <fo:table-row>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
	    <xsl:call-template name="gentext">
Alain Reguera Delgado 77f9b4
	      <xsl:with-param name="key" select="'translator'"/>
Alain Reguera Delgado 77f9b4
	    </xsl:call-template>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
        <xsl:call-template name="person.name">
Alain Reguera Delgado 77f9b4
          <xsl:with-param name="node" select="."/>
Alain Reguera Delgado 77f9b4
        </xsl:call-template>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
    <fo:table-cell>
Alain Reguera Delgado 77f9b4
	  <fo:block>
Alain Reguera Delgado 77f9b4
	    <xsl:apply-templates select="email"/>
Alain Reguera Delgado 77f9b4
	  </fo:block>
Alain Reguera Delgado 77f9b4
    </fo:table-cell>
Alain Reguera Delgado 77f9b4
  </fo:table-row>
Alain Reguera Delgado 77f9b4
 </xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/titlepage.xsl
Alain Reguera Delgado 77f9b4
Reason: 
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template name="verso.authorgroup">
Alain Reguera Delgado 77f9b4
  <fo:table table-layout="fixed" width="100%">
Alain Reguera Delgado 77f9b4
    <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
Alain Reguera Delgado 77f9b4
    <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
Alain Reguera Delgado 77f9b4
    <fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
Alain Reguera Delgado 77f9b4
    <fo:table-body>
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates select="author" mode="tablerow.titlepage.mode"/>
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates select="editor" mode="tablerow.titlepage.mode"/>
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates select="othercredit" mode="tablerow.titlepage.mode"/>
Alain Reguera Delgado 77f9b4
    </fo:table-body>
Alain Reguera Delgado 77f9b4
  </fo:table>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="title" mode="book.titlepage.recto.auto.mode">
Alain Reguera Delgado 77f9b4
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
Alain Reguera Delgado 77f9b4
<xsl:call-template name="division.title">
Alain Reguera Delgado 77f9b4
<xsl:with-param name="node" select="ancestor-or-self::book[1]"/>
Alain Reguera Delgado 77f9b4
</xsl:call-template>
Alain Reguera Delgado 77f9b4
</fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
Alain Reguera Delgado 77f9b4
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="34pt" space-before="30pt" font-family="{$title.fontset}">
Alain Reguera Delgado 77f9b4
<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
Alain Reguera Delgado 77f9b4
</fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="issuenum" mode="book.titlepage.recto.auto.mode">
Alain Reguera Delgado 77f9b4
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="34pt" space-before="30pt" font-family="{$title.fontset}">
Alain Reguera Delgado 77f9b4
<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
Alain Reguera Delgado 77f9b4
</fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="author" mode="book.titlepage.recto.auto.mode">
Alain Reguera Delgado 77f9b4
  <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" font-size="14pt" space-before="15.552pt">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="person.name">
Alain Reguera Delgado 77f9b4
         <xsl:with-param name="node" select="."/>
Alain Reguera Delgado 77f9b4
    </xsl:call-template>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage.recto">
Alain Reguera Delgado 77f9b4
  <xsl:choose>
Alain Reguera Delgado 77f9b4
    <xsl:when test="bookinfo/title">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="info/title">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="title">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
  </xsl:choose>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:choose>
Alain Reguera Delgado 77f9b4
    <xsl:when test="bookinfo/subtitle">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="info/subtitle">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="subtitle">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
  </xsl:choose>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/issuenum"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/issuenum"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="issuenum"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup/author"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup/author"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" color="black">
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/invpartnumber"/>
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/invpartnumber"/>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
  <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" color="black">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="gentext">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="key" select="'isbn'"/>
Alain Reguera Delgado 77f9b4
	</xsl:call-template>
Alain Reguera Delgado 77f9b4
	<xsl:text>: </xsl:text>
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/isbn"/>
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/isbn"/>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
  <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" color="black"> 
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="gentext">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="key" select="'pubdate'"/>
Alain Reguera Delgado 77f9b4
	</xsl:call-template>
Alain Reguera Delgado 77f9b4
	<xsl:text>: </xsl:text>
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
Alain Reguera Delgado 77f9b4
    <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage.verso">
Alain Reguera Delgado 77f9b4
  <xsl:choose>
Alain Reguera Delgado 77f9b4
    <xsl:when test="bookinfo/abstract">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="info/abstract">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
  </xsl:choose>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage3.recto">
Alain Reguera Delgado 77f9b4
  <xsl:choose>
Alain Reguera Delgado 77f9b4
    <xsl:when test="bookinfo/title">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="info/title">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/title"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
    <xsl:when test="title">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/>
Alain Reguera Delgado 77f9b4
    </xsl:when>
Alain Reguera Delgado 77f9b4
  </xsl:choose>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/authorgroup"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/author"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/othercredit"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/copyright"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/legalnotice"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/publisher"/>
Alain Reguera Delgado 77f9b4
  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/publisher"/>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage.before.recto">
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template name="book.titlepage">
Alain Reguera Delgado 77f9b4
  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="book.titlepage.before.recto"/>
Alain Reguera Delgado 77f9b4
    <fo:block><xsl:call-template name="book.titlepage.recto"/></fo:block>
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="book.titlepage.separator"/>
Alain Reguera Delgado 77f9b4
    <fo:block><xsl:call-template name="book.titlepage.verso"/></fo:block>
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="book.titlepage.separator"/>
Alain Reguera Delgado 77f9b4
    <fo:block><xsl:call-template name="book.titlepage3.recto"/></fo:block>
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="book.titlepage.separator"/>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/qandaset.xsl
Alain Reguera Delgado 77f9b4
Reason: Id in list-item-label causes fop crash
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
<xsl:template match="question">
Alain Reguera Delgado 77f9b4
  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:variable name="entry.id">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="object.id">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="object" select="parent::*"/>
Alain Reguera Delgado 77f9b4
    </xsl:call-template>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:variable name="deflabel">
Alain Reguera Delgado 77f9b4
    <xsl:choose>
Alain Reguera Delgado 77f9b4
      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
                              /@defaultlabel"/>
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:otherwise>
Alain Reguera Delgado 77f9b4
        <xsl:value-of select="$qanda.defaultlabel"/>
Alain Reguera Delgado 77f9b4
      </xsl:otherwise>
Alain Reguera Delgado 77f9b4
    </xsl:choose>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <fo:list-item id="{$entry.id}" xsl:use-attribute-sets="list.item.spacing">
Alain Reguera Delgado 77f9b4
    <fo:list-item-label end-indent="label-end()">
Alain Reguera Delgado 77f9b4
      <xsl:choose>
Alain Reguera Delgado 77f9b4
        <xsl:when test="$deflabel = 'none'">
Alain Reguera Delgado 77f9b4
          <fo:block/>
Alain Reguera Delgado 77f9b4
        </xsl:when>
Alain Reguera Delgado 77f9b4
        <xsl:otherwise>
Alain Reguera Delgado 77f9b4
          <fo:block>
Alain Reguera Delgado 77f9b4
            <xsl:apply-templates select="." mode="label.markup"/>
Alain Reguera Delgado 77f9b4
            <xsl:if test="$deflabel = 'number' and not(label)">
Alain Reguera Delgado 77f9b4
              <xsl:apply-templates select="." mode="intralabel.punctuation"/>
Alain Reguera Delgado 77f9b4
            </xsl:if>
Alain Reguera Delgado 77f9b4
          </fo:block>
Alain Reguera Delgado 77f9b4
        </xsl:otherwise>
Alain Reguera Delgado 77f9b4
      </xsl:choose>
Alain Reguera Delgado 77f9b4
    </fo:list-item-label>
Alain Reguera Delgado 77f9b4
    <fo:list-item-body start-indent="body-start()">
Alain Reguera Delgado 77f9b4
      <xsl:choose>
Alain Reguera Delgado 77f9b4
        <xsl:when test="$deflabel = 'none'">
Alain Reguera Delgado 77f9b4
          <fo:block font-weight="bold">
Alain Reguera Delgado 77f9b4
            <xsl:apply-templates select="*[local-name(.)!='label']"/>
Alain Reguera Delgado 77f9b4
          </fo:block>
Alain Reguera Delgado 77f9b4
        </xsl:when>
Alain Reguera Delgado 77f9b4
        <xsl:otherwise>
Alain Reguera Delgado 77f9b4
          <xsl:apply-templates select="*[local-name(.)!='label']"/>
Alain Reguera Delgado 77f9b4
        </xsl:otherwise>
Alain Reguera Delgado 77f9b4
      </xsl:choose>
Alain Reguera Delgado 77f9b4
      
Alain Reguera Delgado 77f9b4
      
Alain Reguera Delgado 77f9b4
    </fo:list-item-body>
Alain Reguera Delgado 77f9b4
  </fo:list-item>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/qandaset.xsl
Alain Reguera Delgado 77f9b4
Reason: Id in list-item-label causes fop crash
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template match="answer">
Alain Reguera Delgado 77f9b4
  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
Alain Reguera Delgado 77f9b4
  <xsl:variable name="entry.id">
Alain Reguera Delgado 77f9b4
    <xsl:call-template name="object.id">
Alain Reguera Delgado 77f9b4
      <xsl:with-param name="object" select="parent::*"/>
Alain Reguera Delgado 77f9b4
    </xsl:call-template>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <xsl:variable name="deflabel">
Alain Reguera Delgado 77f9b4
    <xsl:choose>
Alain Reguera Delgado 77f9b4
      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
Alain Reguera Delgado 77f9b4
        
Alain Reguera Delgado 77f9b4
                              /@defaultlabel"/>
Alain Reguera Delgado 77f9b4
      </xsl:when>
Alain Reguera Delgado 77f9b4
      <xsl:otherwise>
Alain Reguera Delgado 77f9b4
        <xsl:value-of select="$qanda.defaultlabel"/>
Alain Reguera Delgado 77f9b4
      </xsl:otherwise>
Alain Reguera Delgado 77f9b4
    </xsl:choose>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <fo:list-item xsl:use-attribute-sets="list.item.spacing">
Alain Reguera Delgado 77f9b4
    <fo:list-item-label end-indent="label-end()">
Alain Reguera Delgado 77f9b4
      <xsl:choose>
Alain Reguera Delgado 77f9b4
        <xsl:when test="$deflabel = 'none'">
Alain Reguera Delgado 77f9b4
          <fo:block/>
Alain Reguera Delgado 77f9b4
        </xsl:when>
Alain Reguera Delgado 77f9b4
        <xsl:otherwise>
Alain Reguera Delgado 77f9b4
          <fo:block>
Alain Reguera Delgado 77f9b4
            <xsl:variable name="answer.label">
Alain Reguera Delgado 77f9b4
              <xsl:apply-templates select="." mode="label.markup"/>
Alain Reguera Delgado 77f9b4
            </xsl:variable>
Alain Reguera Delgado 77f9b4
            <xsl:copy-of select="$answer.label"/>
Alain Reguera Delgado 77f9b4
          </fo:block>
Alain Reguera Delgado 77f9b4
        </xsl:otherwise>
Alain Reguera Delgado 77f9b4
      </xsl:choose>
Alain Reguera Delgado 77f9b4
    </fo:list-item-label>
Alain Reguera Delgado 77f9b4
    <fo:list-item-body start-indent="body-start()">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates select="*[local-name(.)!='label']"/>
Alain Reguera Delgado 77f9b4
    </fo:list-item-body>
Alain Reguera Delgado 77f9b4
  </fo:list-item>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
From: fo/block.xsl
Alain Reguera Delgado 77f9b4
Reason: formal para needs to be block to appear as a title
Alain Reguera Delgado 77f9b4
Version:1.72
Alain Reguera Delgado 77f9b4
-->
Alain Reguera Delgado 77f9b4
<xsl:template match="formalpara/title|formalpara/info/title">
Alain Reguera Delgado 77f9b4
  <xsl:variable name="titleStr">
Alain Reguera Delgado 77f9b4
      <xsl:apply-templates/>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
  <xsl:variable name="lastChar">
Alain Reguera Delgado 77f9b4
    <xsl:if test="$titleStr != ''">
Alain Reguera Delgado 77f9b4
      <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/>
Alain Reguera Delgado 77f9b4
    </xsl:if>
Alain Reguera Delgado 77f9b4
  </xsl:variable>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.title.properties section.title.level5.properties">
Alain Reguera Delgado 77f9b4
    <xsl:copy-of select="$titleStr"/>
Alain Reguera Delgado 77f9b4
    
Alain Reguera Delgado 77f9b4
                  and not(contains($runinhead.title.end.punct, $lastChar))">
Alain Reguera Delgado 77f9b4
      <xsl:value-of select="$runinhead.default.title.end.punct"/>
Alain Reguera Delgado 77f9b4
    </xsl:if>
Alain Reguera Delgado 77f9b4
  </fo:block>
Alain Reguera Delgado 77f9b4
</xsl:template>
Alain Reguera Delgado 77f9b4
Alain Reguera Delgado 77f9b4
</xsl:stylesheet>