Changeset a988510 for stylesheets/xhtml
- Timestamp:
- 08/30/2004 07:47:54 PM (20 years ago)
- Branches:
- 6.0
- Children:
- debdf46
- Parents:
- c675d8c
- Location:
- stylesheets/xhtml
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/xhtml/lfs-mixed.xsl
rc675d8c ra988510 73 73 </xsl:template> 74 74 75 <!-- Sect1 attributes -->76 <xsl:template match="sect1">77 <div>78 <xsl:choose>79 <xsl:when test="@role">80 <xsl:attribute name="class">81 <xsl:value-of select="@role"/>82 </xsl:attribute>83 </xsl:when>84 <xsl:otherwise>85 <xsl:attribute name="class">86 <xsl:value-of select="name(.)"/>87 </xsl:attribute>88 </xsl:otherwise>89 </xsl:choose>90 <xsl:call-template name="language.attribute"/>91 <xsl:call-template name="sect1.titlepage"/>92 <xsl:apply-templates/>93 <xsl:call-template name="process.chunk.footnotes"/>94 </div>95 </xsl:template>96 97 <!-- Sect2 attributes -->98 <xsl:template match="sect2">99 <div>100 <xsl:choose>101 <xsl:when test="@role">102 <xsl:attribute name="class">103 <xsl:value-of select="@role"/>104 </xsl:attribute>105 </xsl:when>106 <xsl:otherwise>107 <xsl:attribute name="class">108 <xsl:value-of select="name(.)"/>109 </xsl:attribute>110 </xsl:otherwise>111 </xsl:choose>112 <xsl:call-template name="language.attribute"/>113 <xsl:call-template name="sect2.titlepage"/>114 <xsl:apply-templates/>115 <xsl:call-template name="process.chunk.footnotes"/>116 </div>117 </xsl:template>118 119 75 </xsl:stylesheet> -
stylesheets/xhtml/lfs-titles.xsl
rc675d8c ra988510 8 8 <div class="titlepage"> 9 9 <h1 class="{name(.)}"> 10 <xsl:apply-templates select="." mode="label.markup"/> 11 <xsl:text>. </xsl:text> 10 12 <xsl:value-of select="title"/> 11 13 </h1> … … 16 18 <div class="titlepage"> 17 19 <h1 class="{name(.)}"> 20 <xsl:apply-templates select="." mode="label.markup"/> 21 <xsl:text>. </xsl:text> 18 22 <xsl:value-of select="title"/> 19 23 </h1> … … 38 42 </xsl:if> 39 43 <h2 class="{name(.)}"> 44 <xsl:apply-templates select="." mode="label.markup"/> 45 <xsl:text>. </xsl:text> 40 46 <xsl:value-of select="title"/> 41 47 </h2> … … 45 51 <div class="titlepage"> 46 52 <h1 class="{name(.)}"> 53 <xsl:apply-templates select="." mode="label.markup"/> 54 <xsl:text>. </xsl:text> 47 55 <xsl:value-of select="title"/> 48 56 </h1> … … 61 69 </xsl:if> 62 70 <h2 class="{name(.)}"> 71 <xsl:apply-templates select="." mode="label.markup"/> 72 <xsl:text>. </xsl:text> 63 73 <xsl:value-of select="title"/> 64 74 </h2> -
stylesheets/xhtml/lfs-toc.xsl
rc675d8c ra988510 7 7 <!-- General settings --> 8 8 <xsl:param name="generate.toc"> 9 appendix toc9 appendix nop 10 10 book toc,title,figure,table,example,equation 11 11 chapter nop
Note:
See TracChangeset
for help on using the changeset viewer.