Changeset 132af6e for stylesheets


Ignore:
Timestamp:
07/13/2004 04:15:34 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
83698f8
Parents:
44758be
Message:

Adapted the print stylesheets to the publisher requeriments.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3928 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
stylesheets
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-print.xsl

    r44758be r132af6e  
    55                version="1.0">
    66    <!-- We use FO and FOP as the processor -->
    7   <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/>
     7  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/profile-docbook.xsl"/>
    88  <xsl:param name="fop.extensions" select="1"/>
    99  <xsl:param name="draft.mode" select="'no'"/>
     
    1313  <xsl:include href="print/lfs-pagesetup.xsl"/>
    1414
    15     <!-- Probably want to make the paper size configurable -->
    16   <xsl:param name="paper.type" select="'A4'"/>
     15    <!-- Paper size required by the publisher -->
     16  <xsl:param name="paper.type" select="'Cunstommized'"/>
     17  <xsl:param name="page.width">7.25in</xsl:param>
     18  <xsl:param name="page.height">9.25in</xsl:param>
    1719
    1820    <!-- Printing Style -->
    1921  <xsl:param name="double.sided" select="1"/>
    20   <xsl:param name="hyphenate">true</xsl:param>
     22  <xsl:param name="hyphenate">false</xsl:param>
    2123  <xsl:param name="alignment">justify</xsl:param>
    22  
    23     <!-- Hyphenate links -->
    24   <xsl:param name="ulink.hyphenate" select="' '"></xsl:param>
    2524
    2625    <!-- Font size -->
    27   <xsl:param name="body.font.master">8</xsl:param>
    28   <xsl:param name="body.font.size">10pt</xsl:param>
     26  <xsl:param name="body.font.master">6</xsl:param>
     27  <xsl:param name="body.font.size">8pt</xsl:param>
    2928
    3029    <!-- TOC stuff -->
  • stylesheets/print/lfs-index.xsl

    r44758be r132af6e  
    1414  <xsl:template match="index" mode="title.markup">
    1515    <xsl:param name="allow-anchors" select="0"/>
    16     <xsl:text>Index of packages and important installed files</xsl:text>
     16    <xsl:text>Index</xsl:text>
    1717  </xsl:template>
    1818
  • stylesheets/print/lfs-pagesetup.xsl

    r44758be r132af6e  
    7878
    7979    <!-- Margins -->
    80   <xsl:param name="page.margin.inner">1in</xsl:param>
    81   <xsl:param name="page.margin.outer">0.5in</xsl:param>
     80  <xsl:param name="page.margin.inner">0.5in</xsl:param>
     81  <xsl:param name="page.margin.outer">0.375in</xsl:param>
    8282  <xsl:param name="title.margin.left">-1pc</xsl:param>
    8383  <xsl:attribute-set name="normal.para.spacing">
Note: See TracChangeset for help on using the changeset viewer.