aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-print.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-07-13 16:15:34 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-07-13 16:15:34 +0000
commit132af6eb61cb2ec4ee6fd98c9ee8dc0bb667d777 (patch)
treea312033fea9595843aa4d8dbd0631d43bf9428a9 /stylesheets/lfs-print.xsl
parent44758be312e368144ad778bfbb0c2f2237ae8840 (diff)
Adapted the print stylesheets to the publisher requeriments.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3928 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-print.xsl')
-rw-r--r--stylesheets/lfs-print.xsl17
1 files changed, 8 insertions, 9 deletions
diff --git a/stylesheets/lfs-print.xsl b/stylesheets/lfs-print.xsl
index 929c15ce5..1e2e9ece3 100644
--- a/stylesheets/lfs-print.xsl
+++ b/stylesheets/lfs-print.xsl
@@ -4,7 +4,7 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<!-- 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="draft.mode" select="'no'"/>
@@ -12,20 +12,19 @@
<xsl:include href="print/lfs-index.xsl"/>
<xsl:include href="print/lfs-pagesetup.xsl"/>
- <!-- Probably want to make the paper size configurable -->
- <xsl:param name="paper.type" select="'A4'"/>
+ <!-- Paper size required by the publisher -->
+ <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 -->
<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>
-
- <!-- Hyphenate links -->
- <xsl:param name="ulink.hyphenate" select="' '"></xsl:param>
<!-- Font size -->
- <xsl:param name="body.font.master">8</xsl:param>
- <xsl:param name="body.font.size">10pt</xsl:param>
+ <xsl:param name="body.font.master">6</xsl:param>
+ <xsl:param name="body.font.size">8pt</xsl:param>
<!-- TOC stuff -->
<xsl:param name="generate.toc">