- 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 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/profile-docbook.xsl
rf2a5108 rb1a51ac1 4 4 <!--This file was created automatically by xsl2profile--> 5 5 <!--from the DocBook XSL stylesheets.--> 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt " version="1.0">7 8 <xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt exslt" version="1.0"> 7 8 <xsl:output method="xml" encoding="UTF-8" indent="no"/> 9 9 10 10 <!-- ******************************************************************** 11 $Id $11 $Id: profile-docbook.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $ 12 12 ******************************************************************** 13 13 … … 20 20 <!-- ==================================================================== --> 21 21 22 <xsl:include href="../VERSION "/>23 <xsl:include href=" param.xsl"/>22 <xsl:include href="../VERSION.xsl"/> 23 <xsl:include href="../xhtml/param.xsl"/> 24 24 <xsl:include href="../lib/lib.xsl"/> 25 25 <xsl:include href="../common/l10n.xsl"/> … … 33 33 <xsl:include href="../common/olink.xsl"/> 34 34 <xsl:include href="../common/pi.xsl"/> 35 <xsl:include href=" autotoc.xsl"/>36 <xsl:include href=" autoidx.xsl"/>37 <xsl:include href=" lists.xsl"/>38 <xsl:include href=" callout.xsl"/>39 <xsl:include href=" verbatim.xsl"/>40 <xsl:include href=" graphics.xsl"/>41 <xsl:include href=" xref.xsl"/>42 <xsl:include href=" formal.xsl"/>43 <xsl:include href=" table.xsl"/>44 <xsl:include href=" htmltbl.xsl"/>45 <xsl:include href=" sections.xsl"/>46 <xsl:include href=" inline.xsl"/>47 <xsl:include href=" footnote.xsl"/>48 <xsl:include href=" html.xsl"/>49 <xsl:include href=" info.xsl"/>50 <xsl:include href=" keywords.xsl"/>51 <xsl:include href=" division.xsl"/>52 <xsl:include href=" toc.xsl"/>53 <xsl:include href=" index.xsl"/>54 <xsl:include href=" refentry.xsl"/>55 <xsl:include href=" math.xsl"/>56 <xsl:include href=" admon.xsl"/>57 <xsl:include href=" component.xsl"/>58 <xsl:include href=" biblio.xsl"/>59 <xsl:include href=" biblio-iso690.xsl"/>60 <xsl:include href=" glossary.xsl"/>61 <xsl:include href=" block.xsl"/>62 <xsl:include href=" task.xsl"/>63 <xsl:include href=" qandaset.xsl"/>64 <xsl:include href=" synop.xsl"/>65 <xsl:include href=" titlepage.xsl"/>66 <xsl:include href=" titlepage.templates.xsl"/>67 <xsl:include href=" pi.xsl"/>68 <xsl:include href=" ebnf.xsl"/>69 <xsl:include href=" chunker.xsl"/>70 <xsl:include href=" html-rtf.xsl"/>71 <xsl:include href=" annotations.xsl"/>35 <xsl:include href="../xhtml/autotoc.xsl"/> 36 <xsl:include href="../xhtml/autoidx.xsl"/> 37 <xsl:include href="../xhtml/lists.xsl"/> 38 <xsl:include href="../xhtml/callout.xsl"/> 39 <xsl:include href="../xhtml/verbatim.xsl"/> 40 <xsl:include href="../xhtml/graphics.xsl"/> 41 <xsl:include href="../xhtml/xref.xsl"/> 42 <xsl:include href="../xhtml/formal.xsl"/> 43 <xsl:include href="../xhtml/table.xsl"/> 44 <xsl:include href="../xhtml/htmltbl.xsl"/> 45 <xsl:include href="../xhtml/sections.xsl"/> 46 <xsl:include href="../xhtml/inline.xsl"/> 47 <xsl:include href="../xhtml/footnote.xsl"/> 48 <xsl:include href="../xhtml/html.xsl"/> 49 <xsl:include href="../xhtml/info.xsl"/> 50 <xsl:include href="../xhtml/keywords.xsl"/> 51 <xsl:include href="../xhtml/division.xsl"/> 52 <xsl:include href="../xhtml/toc.xsl"/> 53 <xsl:include href="../xhtml/index.xsl"/> 54 <xsl:include href="../xhtml/refentry.xsl"/> 55 <xsl:include href="../xhtml/math.xsl"/> 56 <xsl:include href="../xhtml/admon.xsl"/> 57 <xsl:include href="../xhtml/component.xsl"/> 58 <xsl:include href="../xhtml/biblio.xsl"/> 59 <xsl:include href="../xhtml/biblio-iso690.xsl"/> 60 <xsl:include href="../xhtml/glossary.xsl"/> 61 <xsl:include href="../xhtml/block.xsl"/> 62 <xsl:include href="../xhtml/task.xsl"/> 63 <xsl:include href="../xhtml/qandaset.xsl"/> 64 <xsl:include href="../xhtml/synop.xsl"/> 65 <xsl:include href="../xhtml/titlepage.xsl"/> 66 <xsl:include href="../xhtml/titlepage.templates.xsl"/> 67 <xsl:include href="../xhtml/pi.xsl"/> 68 <xsl:include href="../xhtml/ebnf.xsl"/> 69 <xsl:include href="../xhtml/chunker.xsl"/> 70 <xsl:include href="../xhtml/html-rtf.xsl"/> 71 <xsl:include href="../xhtml/annotations.xsl"/> 72 72 <xsl:include href="../common/stripns.xsl"/> 73 73 … … 111 111 </xsl:template> 112 112 113 <xsl:template name="body.attributes"> 114 <!-- no apply-templates; make it empty -->113 <xsl:template name="body.attributes"><xslo:if xmlns:xslo="http://www.w3.org/1999/XSL/Transform" test="starts-with($writing.mode, 'rl')"><xslo:attribute name="dir">rtl</xslo:attribute></xslo:if> 114 <!-- no apply-templates; make it empty except for dir for rtl--> 115 115 </xsl:template> 116 116 … … 124 124 <xsl:copy-of select="$title"/> 125 125 </title> 126 127 <xsl:if test="$html.base != ''"> 128 <base href="{$html.base}"/> 129 </xsl:if> 130 131 <!-- Insert links to CSS files or insert literal style elements --> 132 <xsl:call-template name="generate.css"/> 126 133 127 134 <xsl:if test="$html.stylesheet != ''"> … … 133 140 <xsl:if test="$link.mailto.url != ''"> 134 141 <link rev="made" href="{$link.mailto.url}"/> 135 </xsl:if>136 137 <xsl:if test="$html.base != ''">138 <base href="{$html.base}"/>139 142 </xsl:if> 140 143 … … 178 181 <xsl:choose> 179 182 <xsl:when test="contains($stylesheets, ' ')"> 180 <link rel="stylesheet" href="{substring-before($stylesheets, ' ')}"> 181 <xsl:if test="$html.stylesheet.type != ''"> 182 <xsl:attribute name="type"> 183 <xsl:value-of select="$html.stylesheet.type"/> 184 </xsl:attribute> 185 </xsl:if> 186 </link> 183 <xsl:variable name="css.filename" select="substring-before($stylesheets, ' ')"/> 184 185 <xsl:call-template name="make.css.link"> 186 <xsl:with-param name="css.filename" select="$css.filename"/> 187 </xsl:call-template> 188 187 189 <xsl:call-template name="output.html.stylesheets"> 188 190 <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/> … … 190 192 </xsl:when> 191 193 <xsl:when test="$stylesheets != ''"> 192 <link rel="stylesheet" href="{$stylesheets}"> 193 <xsl:if test="$html.stylesheet.type != ''"> 194 <xsl:attribute name="type"> 195 <xsl:value-of select="$html.stylesheet.type"/> 196 </xsl:attribute> 197 </xsl:if> 198 </link> 194 <xsl:call-template name="make.css.link"> 195 <xsl:with-param name="css.filename" select="$stylesheets"/> 196 </xsl:call-template> 199 197 </xsl:when> 200 198 </xsl:choose> … … 389 387 </html> 390 388 <xsl:value-of select="$html.append"/> 389 390 <!-- Generate any css files only once, not once per chunk --> 391 <xsl:call-template name="generate.css.files"/> 391 392 </xsl:template> 392 393 … … 405 406 </xsl:template> 406 407 407 <!-- ==================================================================== -->408 409 408 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.