- Timestamp:
- May 10, 2006, 4:36:57 PM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 61d6a26
- Parents:
- bd709ec
- Location:
- BOOK/stylesheets
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/stylesheets/lfs.css
rbd709ec r8a84f0d 173 173 } 174 174 175 div.important tt.literal, div.warning tt.literal, div.caution tt.literal { 176 font-weight: normal; 177 } 178 175 179 /* variablelist & segmentedlist */ 176 180 dl { … … 214 218 div.variablelist dd p { 215 219 margin-top: 0px; 220 margin-bottom: 0px; 221 padding-top: 0px; 222 padding-bottom: 0px; 216 223 } 217 224 … … 226 233 } 227 234 228 div.package span.segtitle {235 div.package span.segtitle, div.appendix span.segtitle { 229 236 float: left; 230 237 } 231 238 232 div.package span.seg {239 div.package span.seg, div.appendix span.seg { 233 240 display: block; 234 241 padding-left: 14em; 242 } 243 244 div.appendix div.segmentedlist { 245 padding-left: 1em; 246 } 247 248 div.appendix h2 { 249 font-size: 133%; 250 margin-top: 1em; 251 margin-bottom: 0.2em; 235 252 } 236 253 … … 254 271 div.itemizedlist { 255 272 margin-left: 1em; 273 } 274 275 ul[compact="compact"] { 276 list-style: none; 277 } 278 279 ul[compact="compact"] li { 280 margin: 0em; 281 padding: 0em; 282 } 283 284 ul[compact="compact"] li p { 285 padding: 0.3em; 286 margin: 0em; 256 287 } 257 288 -
BOOK/stylesheets/patcheslist.xsl
rbd709ec r8a84f0d 16 16 17 17 <xsl:template match="/"> 18 <xsl:text>#! /bin/bash

</xsl:text> 19 <xsl:text> umask 002

</xsl:text> 18 <xsl:text>#! /bin/bash 19 20 function copy 21 { 22 cp $1 $2 >>copyerrs 2>&1 23 } 24 25 umask 002 

</xsl:text> 26 20 27 <!-- Create dest.dir if it don't exist --> 21 <xsl:text> 28 <xsl:text>install -d -m 775 -g lfswww </xsl:text> 22 29 <xsl:value-of select="$dest.dir"/> 23 30 <xsl:text> &&
</xsl:text> 24 <xsl:text> 31 <xsl:text>cd </xsl:text> 25 32 <xsl:value-of select="$dest.dir"/> 26 33 <xsl:text> &&

</xsl:text> 27 <!-- Touch a dummy patch to prevent fails if dest dir is empty, then remove old patches -->28 <xsl:text> touch dummy.patch &&
 rm -f *.patch &&

</xsl:text>34 <!-- Remove old patches --> 35 <xsl:text>rm -f *.patch copyerrs && 

</xsl:text> 29 36 <xsl:apply-templates/> 30 37 <!-- Ensure correct owneship --> 31 <xsl:text>
 chgrp lfswww *.patch &&
</xsl:text> 32 <xsl:text>
 exit
</xsl:text> 38 <xsl:text>
chgrp lfswww *.patch &&
</xsl:text> 39 <xsl:text> 40 if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then 41 mail -s "Missing LFS patches" lfs-book@linuxfromscratch.org < copyerrs 42 fi

</xsl:text> 43 44 <xsl:text>exit
</xsl:text> 33 45 </xsl:template> 34 46 … … 47 59 <xsl:value-of select="$cut"/> 48 60 </xsl:variable> 49 <xsl:text> cp/home/httpd/www.linuxfromscratch.org/patches/downloads/</xsl:text>61 <xsl:text>copy /home/httpd/www.linuxfromscratch.org/patches/downloads/</xsl:text> 50 62 <xsl:value-of select="substring-before($patch.name2, '-0')"/> 51 63 <xsl:text>/</xsl:text> -
BOOK/stylesheets/pdf/lfs-mixed.xsl
rbd709ec r8a84f0d 13 13 </xsl:template> 14 14 15 <!-- Allow forced line breaks inside paragraphs emulating literallayout. --> 15 <!-- Allow forced line breaks inside paragraphs emulating literallayout 16 and to remove vertical space in pachages and patches pages. --> 16 17 <xsl:template match="para"> 17 18 <xsl:choose> … … 22 23 text-align="start" 23 24 linefeed-treatment="preserve"> 25 <xsl:call-template name="anchor"/> 26 <xsl:apply-templates/> 27 </fo:block> 28 </xsl:when> 29 <xsl:when test="ancestor::variablelist/@role = 'materials'"> 30 <fo:block> 31 <xsl:attribute name="space-before.optimum">0.1em</xsl:attribute> 32 <xsl:attribute name="space-before.minimum">0em</xsl:attribute> 33 <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute> 24 34 <xsl:call-template name="anchor"/> 25 35 <xsl:apply-templates/> -
BOOK/stylesheets/xhtml/lfs-sections.xsl
rbd709ec r8a84f0d 54 54 <xsl:param name="section.label.includes.component.label" select="1"/> 55 55 56 <!-- Skip numeraration for sections with empty title --> 56 <!-- Use lowercase roman numbers for sect1 in preface --> 57 <xsl:template match="sect1" mode="label.markup"> 58 <!-- if the parent is a component, maybe label that too --> 59 <xsl:variable name="parent.is.component"> 60 <xsl:call-template name="is.component"> 61 <xsl:with-param name="node" select=".."/> 62 </xsl:call-template> 63 </xsl:variable> 64 <xsl:variable name="component.label"> 65 <xsl:if test="$section.label.includes.component.label != 0 66 and $parent.is.component != 0"> 67 <xsl:variable name="parent.label"> 68 <xsl:apply-templates select=".." mode="label.markup"/> 69 </xsl:variable> 70 <xsl:if test="$parent.label != ''"> 71 <xsl:apply-templates select=".." mode="label.markup"/> 72 <xsl:apply-templates select=".." mode="intralabel.punctuation"/> 73 </xsl:if> 74 </xsl:if> 75 </xsl:variable> 76 <xsl:choose> 77 <xsl:when test="@label"> 78 <xsl:value-of select="@label"/> 79 </xsl:when> 80 <xsl:when test="$section.autolabel != 0"> 81 <xsl:copy-of select="$component.label"/> 82 <xsl:choose> 83 <xsl:when test="ancestor::preface"> 84 <xsl:number format="i" count="sect1"/> 85 </xsl:when> 86 <xsl:otherwise> 87 <xsl:number format="1" count="sect1"/> 88 </xsl:otherwise> 89 </xsl:choose> 90 </xsl:when> 91 </xsl:choose> 92 </xsl:template> 93 94 <!-- Skip numeration for sect2 with empty title --> 57 95 <xsl:template match="sect2|sect3|sect4|sect5" mode="label.markup"> 58 96 <xsl:if test="string-length(title) > 0"> -
BOOK/stylesheets/xhtml/lfs-titles.xsl
rbd709ec r8a84f0d 79 79 </xsl:if> 80 80 <h2 class="{name(.)}"> 81 <xsl:apply-templates select="." mode="label.markup"/> 82 <xsl:text>. </xsl:text> 81 <xsl:if test="not(ancestor::preface)"> 82 <xsl:apply-templates select="." mode="label.markup"/> 83 <xsl:text>. </xsl:text> 84 </xsl:if> 83 85 <xsl:value-of select="title"/> 84 86 </h2>
Note:
See TracChangeset
for help on using the changeset viewer.