Changeset a804944
- Timestamp:
- 01/19/2024 09:39:35 PM (3 months ago)
- Branches:
- 12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
- Children:
- ab4fdfc
- Parents:
- c8be252
- git-author:
- Pierre Labastie <pierre.labastie@…> (01/19/2024 09:34:28 PM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (01/19/2024 09:39:35 PM)
- Location:
- stylesheets
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/dump-commands.xsl
rc8be252 ra804944 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 3 xmlns:exsl="http://exslt.org/common" … … 49 49 <xsl:when test="@role = 'nodump'"/> 50 50 <xsl:when test="@role = 'root'"> 51 <xsl:text> 
</xsl:text>52 <xsl:text># Run this as root</xsl:text>51 <xsl:text> 52 # Run this as root</xsl:text> 53 53 <xsl:apply-templates select="userinput"/> 54 <xsl:text># End root commands </xsl:text>55 <xsl:text>
</xsl:text>54 <xsl:text># End root commands 55 </xsl:text> 56 56 </xsl:when> 57 57 <xsl:otherwise> … … 63 63 64 64 <xsl:template match="userinput"> 65 <xsl:text>
</xsl:text> 65 <xsl:text> 66 </xsl:text> 66 67 <xsl:if test=".//replaceable"> 67 68 <xsl:text># This block must be edited to suit your needs.</xsl:text> 68 69 </xsl:if> 69 <xsl:text>
</xsl:text> 70 <xsl:text> 71 </xsl:text> 70 72 <xsl:apply-templates/> 71 <xsl:text>
</xsl:text> 73 <xsl:text> 74 </xsl:text> 72 75 <xsl:if test=".//replaceable"> 73 76 <xsl:text># End of editable block.</xsl:text> 74 77 </xsl:if> 75 <xsl:text>
</xsl:text> 78 <xsl:text> 79 </xsl:text> 76 80 </xsl:template> 77 81 -
stylesheets/lfs-xsl/pdf.xsl
rc8be252 ra804944 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 52 52 <!-- Allow URLs to be automatically hyphenated. 53 53 We have expanded the support to several inline tags. 54 See pdf/lfs-mixed.xsl --> 55 <xsl:param name="ulink.hyphenate" select="'​'"/> 54 See pdf/lfs-mixed.xsl. The character in the 55 select attribute is a zero width space, encoded in utf-8--> 56 <xsl:param name="ulink.hyphenate" select="''"/> 56 57 57 58 <!-- List of characters to allow ulink URLs, and supported inline tags, -
stylesheets/lfs-xsl/pdf/lfs-lists.xsl
rc8be252 ra804944 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 50 50 keep-together.within-column="always" font-weight="bold" 51 51 keep-with-next.within-column="always" text-align="left"> 52 <xsl:text> •</xsl:text>52 <xsl:text>• </xsl:text> 53 53 <xsl:apply-templates select="term"/> 54 54 </fo:block> -
stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
rc8be252 ra804944 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 295 295 </xsl:when> 296 296 <xsl:when test="$numcols > 3"> 297 <td> </td> 297 <!-- the character in the <td> element is a non breaking space 298 (unicode A0), encoded in utf-8 --> 299 <td> </td> 298 300 </xsl:when> 299 301 <xsl:otherwise/> -
stylesheets/patcheslist.xsl
rc8be252 ra804944 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 <!DOCTYPE xsl:stylesheet [ 3 3 <!ENTITY % general-entities SYSTEM "../general.ent"> … … 23 23 24 24 <xsl:template match="/"> 25 <xsl:text>#! /bin/bash

</xsl:text> 26 <xsl:text>function copy 25 <xsl:text>#! /bin/bash 26 27 function copy 27 28 { 28 29 cp $1 $2 >>copyerrs 2>&1 29 }

</xsl:text> 30 <!-- Create dest.dir if it don't exist --> 31 <xsl:text>mkdir -p </xsl:text> 30 } 31 32 # Create dest.dir if it doesn't exist 33 # Change to it 34 # Remove old patches and possible list of missing patches 35 # Ensure correct ownership 36 37 mkdir -p </xsl:text> 32 38 <xsl:value-of select="$dest.dir"/> 33 <xsl:text> && 
</xsl:text>34 <xsl:text>cd </xsl:text>39 <xsl:text> && 40 cd </xsl:text> 35 41 <xsl:value-of select="$dest.dir"/> 36 <xsl:text> &&

</xsl:text> 37 <!-- Remove old patches and possible list of missing patches--> 38 <xsl:text>rm -f *.patch copyerrs &&

</xsl:text> 42 <xsl:text> && 43 44 rm -f *.patch copyerrs && 45 46 </xsl:text> 39 47 <xsl:apply-templates/> 40 <!-- Ensure correct ownership -->41 <xsl:text>
chgrp lfswww *.patch &&
</xsl:text> 42 <xsl:text>if [ `wc -l copyerrs|sed 's/ *//' |cut -f1 -d' '` -gt 0 ]; then48 <xsl:text> 49 chgrp lfswww *.patch && 50 if [ `wc -l copyerrs|sed 's/ *//' |cut -f1 -d' '` -gt 0 ]; then 43 51 mail -s "Missing BLFS patches" blfs-book@lists.linuxfromscratch.org < copyerrs 44 fi </xsl:text>45 <xsl:text>
exit
</xsl:text>52 fi 53 exit</xsl:text> 46 54 </xsl:template> 47 55 … … 100 108 </xsl:choose> 101 109 <xsl:value-of select="$patch.name"/> 102 <xsl:text> . 
</xsl:text> 110 <xsl:text> . 111 </xsl:text> 103 112 </xsl:if> 104 113 </xsl:template> -
stylesheets/wget-list.xsl
rc8be252 ra804944 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <!-- Create a list of upstream URLs for packages and patches to be used … … 66 66 </xsl:otherwise> 67 67 </xsl:choose> 68 <xsl:text>
</xsl:text> 68 <xsl:text> 69 </xsl:text> 69 70 </xsl:if> 70 71 </xsl:template> … … 88 89 --> 89 90 <xsl:value-of select="@url"/> 90 <xsl:text>
</xsl:text> 91 <xsl:text> 92 </xsl:text> 91 93 </xsl:if> 92 94 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.