Changeset 56d1170
- Timestamp:
- 10/13/2004 08:12:06 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 9ff34df3
- Parents:
- ef19c81
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
ref19c81 r56d1170 63 63 64 64 nochunks: 65 xsltproc --xinclude --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \ 66 stylesheets/lfs-nochunks.xsl index.xml 65 xsltproc --xinclude --nonet -stringparam profile.condition html \ 66 --output $(BASEDIR)/lfs-nochunk.xml stylesheets/lfs-profile.xsl index.xml 67 68 xsltproc --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \ 69 stylesheets/lfs-nochunks.xsl $(BASEDIR)/lfs-nochunk.xml 70 71 rm $(BASEDIR)/lfs-nochunk.xml 72 67 73 $(TIDY) -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true 74 75 sed -i -e "s@text/html@application/xhtml+xml@g" \ 76 $(BASEDIR)/$(NOCHUNKS_OUTPUT) 68 77 69 78 validate: -
stylesheets/lfs-nochunks.xsl
ref19c81 r56d1170 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.