Changeset ed5f52d for stylesheets
- Timestamp:
- 08/12/2004 09:55:42 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 78db8f55
- Parents:
- 96e8f71
- Location:
- stylesheets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-pdf.xsl
r96e8f71 red5f52d 26 26 27 27 <!-- Font size --> 28 <xsl:param name="body.font.master"> 6</xsl:param>29 <xsl:param name="body.font.size"> 8pt</xsl:param>28 <xsl:param name="body.font.master">10</xsl:param> 29 <xsl:param name="body.font.size">12pt</xsl:param> 30 30 31 31 <!-- TOC stuff --> -
stylesheets/pdf/lfs-mixed.xsl
r96e8f71 red5f52d 4 4 xmlns:fo="http://www.w3.org/1999/XSL/Format" 5 5 version="1.0"> 6 7 <!-- Split URLs --> 8 <xsl:template name="hyphenate-url"> 9 <xsl:param name="url" select="''"/> 10 <xsl:choose> 11 <xsl:when test="ancestor::varlistentry"> 12 <xsl:choose> 13 <xsl:when test="string-length($url) > 88"> 14 <xsl:value-of select="substring($url, 1, 50)"/> 15 <xsl:param name="rest" select="substring($url, 51)"/> 16 <xsl:value-of select="substring-before($rest, '/')"/> 17 <xsl:text> /</xsl:text> 18 <xsl:value-of select="substring-after($rest, '/')"/> 19 </xsl:when> 20 <xsl:otherwise> 21 <xsl:value-of select="$url"/> 22 </xsl:otherwise> 23 </xsl:choose> 24 </xsl:when> 25 <xsl:otherwise> 26 <xsl:value-of select="substring-before($url, '//')"/> 27 <xsl:text>// </xsl:text> 28 <xsl:call-template name="split-url"> 29 <xsl:with-param name="url2" select="substring-after($url, '//')"/> 30 </xsl:call-template> 31 </xsl:otherwise> 32 </xsl:choose> 33 </xsl:template> 34 35 <xsl:template name="split-url"> 36 <xsl:choose> 37 <xsl:when test="contains($url2, '/')"> 38 <xsl:param name="url2" select="''"/> 39 <xsl:value-of select="substring-before($url2, '/')"/> 40 <xsl:text> /</xsl:text> 41 <xsl:call-template name="split-url"> 42 <xsl:with-param name="url2" select="substring-after($url2, '/')"/> 43 </xsl:call-template> 44 </xsl:when> 45 <xsl:otherwise> 46 <xsl:value-of select="$url2"/> 47 </xsl:otherwise> 48 </xsl:choose> 49 </xsl:template> 6 50 7 51 <!-- Shade screen --> … … 46 90 <!-- Admonitions text properties --> 47 91 <xsl:attribute-set name="admonition.properties"> 48 <xsl:attribute name="margin-right"> 12pt</xsl:attribute>92 <xsl:attribute name="margin-right">6pt</xsl:attribute> 49 93 </xsl:attribute-set> 50 94 -
stylesheets/pdf/lfs-pagesetup.xsl
r96e8f71 red5f52d 66 66 <xsl:param name="page.margin.inner">0.5in</xsl:param> 67 67 <xsl:param name="page.margin.outer">0.375in</xsl:param> 68 <xsl:param name="title.margin.left">- 1pc</xsl:param>68 <xsl:param name="title.margin.left">-0.7pc</xsl:param> 69 69 <xsl:attribute-set name="normal.para.spacing"> 70 <xsl:attribute name="space-before.optimum">0. 8em</xsl:attribute>71 <xsl:attribute name="space-before.minimum">0. 6em</xsl:attribute>72 <xsl:attribute name="space-before.maximum"> 1em</xsl:attribute>70 <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute> 71 <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute> 72 <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute> 73 73 </xsl:attribute-set> 74 74 <xsl:attribute-set name="list.block.spacing"> 75 <xsl:attribute name="space-before.optimum">0. 8em</xsl:attribute>76 <xsl:attribute name="space-before.minimum">0. 6em</xsl:attribute>77 <xsl:attribute name="space-before.maximum"> 1em</xsl:attribute>78 <xsl:attribute name="space-after.optimum">0. 8em</xsl:attribute>79 <xsl:attribute name="space-after.minimum">0. 6em</xsl:attribute>80 <xsl:attribute name="space-after.maximum"> 1em</xsl:attribute>75 <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute> 76 <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute> 77 <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute> 78 <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute> 79 <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> 80 <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute> 81 81 </xsl:attribute-set> 82 82 <xsl:attribute-set name="list.item.spacing"> … … 86 86 </xsl:attribute-set> 87 87 <xsl:attribute-set name="verbatim.properties"> 88 <xsl:attribute name="space-before. minimum">0.6em</xsl:attribute>89 <xsl:attribute name="space-before. optimum">0.8em</xsl:attribute>90 <xsl:attribute name="space-before.maximum"> 1em</xsl:attribute>91 <xsl:attribute name="space-after. minimum">0.6em</xsl:attribute>92 <xsl:attribute name="space-after. optimum">0.8em</xsl:attribute>93 <xsl:attribute name="space-after.maximum"> 1em</xsl:attribute>88 <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute> 89 <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute> 90 <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute> 91 <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute> 92 <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> 93 <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute> 94 94 </xsl:attribute-set> 95 95
Note:
See TracChangeset
for help on using the changeset viewer.