Changeset 09a4b2f for stylesheets
- Timestamp:
- 10/13/2004 08:06:04 PM (20 years ago)
- Children:
- ec5839b
- Parents:
- 4e86d59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-nochunks.xsl
r4e86d59 r09a4b2f 15 15 <xsl:include href="xhtml/lfs-index.xsl"/> 16 16 <xsl:include href="xhtml/lfs-mixed.xsl"/> 17 <xsl:include href="xhtml/lfs- navigational.xsl"/>17 <xsl:include href="xhtml/lfs-sections.xsl"/> 18 18 <xsl:include href="xhtml/lfs-toc.xsl"/> 19 <xsl:include href="xhtml/lfs-xref.xsl"/> 19 20 20 21 <!-- Dropping some unwanted style attributes --> 21 22 <xsl:param name="ulink.target" select="''"></xsl:param> 22 23 <xsl:param name="css.decoration" select="0"></xsl:param> 24 25 <!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)--> 26 <xsl:template name="sect2.titlepage"> 27 <xsl:choose> 28 <xsl:when test="string-length(title) = 0"/> 29 <xsl:otherwise> 30 <div class="titlepage"> 31 <xsl:if test="@id"> 32 <a id="{@id}" name="{@id}"/> 33 </xsl:if> 34 <h3 class="{name(.)}"> 35 <xsl:apply-templates select="." mode="label.markup"/> 36 <xsl:text>. </xsl:text> 37 <xsl:value-of select="title"/> 38 </h3> 39 </div> 40 </xsl:otherwise> 41 </xsl:choose> 42 </xsl:template> 43 44 <!-- Added the role param for proper punctuation in xref calls 45 (from lfs-titles.xsl). --> 46 <xsl:template match="*" mode="insert.title.markup"> 47 <xsl:param name="purpose"/> 48 <xsl:param name="xrefstyle"/> 49 <xsl:param name="title"/> 50 <xsl:param name="role"/> 51 <xsl:choose> 52 <xsl:when test="$purpose = 'xref' and titleabbrev"> 53 <xsl:apply-templates select="." mode="titleabbrev.markup"/> 54 </xsl:when> 55 <xsl:otherwise> 56 <xsl:copy-of select="$title"/> 57 <xsl:value-of select="$role"/> 58 </xsl:otherwise> 59 </xsl:choose> 60 </xsl:template> 23 61 24 62 <!-- The CSS Stylesheet --> … … 174 212 } 175 213 214 /* itemizedlist */ 215 216 div.itemizedlist { 217 margin-left: 1em; 218 } 219 176 220 /* Indented blocks */ 177 221 p, ul, dl, code, blockquote {
Note:
See TracChangeset
for help on using the changeset viewer.