Changeset b1a51ac1 for stylesheets/lfs-xsl/nochunks.xsl
- Timestamp:
- 12/10/2013 11:37:38 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 112db9d
- Parents:
- f2a5108
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/nochunks.xsl
rf2a5108 rb1a51ac1 10 10 version="1.0"> 11 11 12 13 14 15 16 <xsl:import href="docbook-xsl- snapshot/xhtml/docbook.xsl"/>17 18 12 <!-- Stylesheet for non-chunked XHTML output 13 Replaces {docbook-xsl}/xhtml/profile-docbook.xsl --> 14 15 <!-- Upstream XHTML templates --> 16 <xsl:import href="docbook-xsl-1.78.1/xhtml/docbook.xsl"/> 17 18 <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> 19 19 <xsl:output method="html" encoding="ISO-8859-1" indent="no" /> 20 20 21 <!-- Including our otherscustomized templates -->21 <!-- Include our customized templates --> 22 22 <xsl:include href="common.xsl"/> 23 23 <xsl:include href="xhtml/lfs-index.xsl"/> … … 27 27 <xsl:include href="xhtml/lfs-xref.xsl"/> 28 28 29 29 <!-- Control generation of ToCs and LoTs --> 30 30 <xsl:param name="generate.toc"> 31 31 book toc,title … … 42 42 </xsl:param> 43 43 44 44 <!-- How deep should recursive sections appear in the TOC? --> 45 45 <xsl:param name="toc.section.depth">1</xsl:param> 46 46 47 <!-- How maximaly deep should be each TOC? -->47 <!-- How deep, at most, should each TOC be? --> 48 48 <xsl:param name="toc.max.depth">3</xsl:param> 49 49 50 <!-- Droppingsome unwanted style attributes -->50 <!-- Remove some unwanted style attributes --> 51 51 <xsl:param name="ulink.target" select="''"></xsl:param> 52 52 <xsl:param name="css.decoration" select="0"></xsl:param> 53 53 54 54 <!-- Don't use graphics in admonitions --> 55 55 <xsl:param name="admon.graphics" select="0"/> 56 56 57 <!-- Changingthe admonitions output tagging:58 Removed$admon.style support59 Hardcoded $admon.textlabel feature -->60 <!--The original template is in {docbook-xsl}/xhtml/admon.xsl -->57 <!-- Change the admonitions output tagging: 58 Remove $admon.style support 59 Hardcode $admon.textlabel feature 60 The original template is in {docbook-xsl}/xhtml/admon.xsl --> 61 61 <xsl:template name="nongraphical.admonition"> 62 62 <div class="admon {name(.)}"> … … 68 68 </xsl:template> 69 69 70 71 Removeda lot of unneeded code.72 73 No label in preface (actually, skip the hardcoded dot). -->74 <!--The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl -->70 <!-- sect2.titlepage: 71 Remove a lot of unneeded code. 72 Skip empty titles. 73 No label in preface (actually, skip the hardcoded dot). 74 The original template is in {docbook-xsl}/xhtml/titlepage.templates.xsl --> 75 75 <xsl:template name="sect2.titlepage"> 76 76 <xsl:choose> … … 91 91 </xsl:template> 92 92 93 94 Note: there is some diferences with lfs.css code releated95 to h* values, admonitions and no navigational code. -->96 <!-- The original template is in{docbook-xsl}/xhtml/docbook.xsl -->93 <!-- The CSS Stylesheet: 94 Note: there are some differences with lfs.css code related to h* values, 95 admonitions and no navigational code. The original template is in 96 {docbook-xsl}/xhtml/docbook.xsl --> 97 97 <xsl:template name='user.head.content'> 98 98 <style type="text/css">
Note:
See TracChangeset
for help on using the changeset viewer.