Adapted the print stylesheets to the publisher requeriments.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3928 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2004-07-13 16:15:34 +00:00
parent 44758be312
commit 132af6eb61
3 changed files with 11 additions and 12 deletions

View File

@ -4,7 +4,7 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0"> version="1.0">
<!-- We use FO and FOP as the processor --> <!-- We use FO and FOP as the processor -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/profile-docbook.xsl"/>
<xsl:param name="fop.extensions" select="1"/> <xsl:param name="fop.extensions" select="1"/>
<xsl:param name="draft.mode" select="'no'"/> <xsl:param name="draft.mode" select="'no'"/>
@ -12,20 +12,19 @@
<xsl:include href="print/lfs-index.xsl"/> <xsl:include href="print/lfs-index.xsl"/>
<xsl:include href="print/lfs-pagesetup.xsl"/> <xsl:include href="print/lfs-pagesetup.xsl"/>
<!-- Probably want to make the paper size configurable --> <!-- Paper size required by the publisher -->
<xsl:param name="paper.type" select="'A4'"/> <xsl:param name="paper.type" select="'Cunstommized'"/>
<xsl:param name="page.width">7.25in</xsl:param>
<xsl:param name="page.height">9.25in</xsl:param>
<!-- Printing Style --> <!-- Printing Style -->
<xsl:param name="double.sided" select="1"/> <xsl:param name="double.sided" select="1"/>
<xsl:param name="hyphenate">true</xsl:param> <xsl:param name="hyphenate">false</xsl:param>
<xsl:param name="alignment">justify</xsl:param> <xsl:param name="alignment">justify</xsl:param>
<!-- Hyphenate links -->
<xsl:param name="ulink.hyphenate" select="' '"></xsl:param>
<!-- Font size --> <!-- Font size -->
<xsl:param name="body.font.master">8</xsl:param> <xsl:param name="body.font.master">6</xsl:param>
<xsl:param name="body.font.size">10pt</xsl:param> <xsl:param name="body.font.size">8pt</xsl:param>
<!-- TOC stuff --> <!-- TOC stuff -->
<xsl:param name="generate.toc"> <xsl:param name="generate.toc">

View File

@ -13,7 +13,7 @@
<!--Title--> <!--Title-->
<xsl:template match="index" mode="title.markup"> <xsl:template match="index" mode="title.markup">
<xsl:param name="allow-anchors" select="0"/> <xsl:param name="allow-anchors" select="0"/>
<xsl:text>Index of packages and important installed files</xsl:text> <xsl:text>Index</xsl:text>
</xsl:template> </xsl:template>
<!-- Divisions--> <!-- Divisions-->

View File

@ -77,8 +77,8 @@
</xsl:template> </xsl:template>
<!-- Margins --> <!-- Margins -->
<xsl:param name="page.margin.inner">1in</xsl:param> <xsl:param name="page.margin.inner">0.5in</xsl:param>
<xsl:param name="page.margin.outer">0.5in</xsl:param> <xsl:param name="page.margin.outer">0.375in</xsl:param>
<xsl:param name="title.margin.left">-1pc</xsl:param> <xsl:param name="title.margin.left">-1pc</xsl:param>
<xsl:attribute-set name="normal.para.spacing"> <xsl:attribute-set name="normal.para.spacing">
<xsl:attribute name="space-before.optimum">0.8em</xsl:attribute> <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>