11.3
12.0
12.1
gimp3
kea
ken/TL2024
ken/inkscape-core-mods
ken/tuningfonts
lazarus
lxqt
plabs/newcss
python3.11
qt5new
rahul/power-profiles-daemon
renodr/vulkan-addition
trunk
xry111/for-12.3
xry111/llvm18
xry111/spidermonkey128
xry111/xf86-video-removal
Last change
on this file since 31970bc3 was ccded7e, checked in by Xi Ruoyao <xry111@…>, 3 years ago |
clean up unused SVN prop entries
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Line | |
---|
1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
2 |
|
---|
3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
4 | xmlns="http://www.w3.org/1999/xhtml"
|
---|
5 | version="1.0">
|
---|
6 |
|
---|
7 | <!-- Top-level chunked code for normal processing.
|
---|
8 | Import customized output templates.
|
---|
9 | Include customized chunk templates.
|
---|
10 | Replaces {docbook-xsl}/xhtml/chunk.xsl -->
|
---|
11 |
|
---|
12 | <!-- Our master non-chunking presentation templates -->
|
---|
13 | <xsl:import href="chunk-slave.xsl"/>
|
---|
14 |
|
---|
15 | <!-- Upstream chunk code named templates -->
|
---|
16 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk-common.xsl"/>
|
---|
17 |
|
---|
18 | <!-- Upstream chunk code match templates -->
|
---|
19 | <xsl:include href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk-code.xsl"/>
|
---|
20 |
|
---|
21 | <!-- Including our customized chunks templates -->
|
---|
22 | <xsl:include href="xhtml/lfs-index.xsl"/>
|
---|
23 | <xsl:include href="xhtml/lfs-legalnotice.xsl"/>
|
---|
24 | <xsl:include href="xhtml/lfs-navigational.xsl"/>
|
---|
25 |
|
---|
26 | <!-- sect1:
|
---|
27 | Prevent creation of dummy sect1 files used to emulate sub-chapters. -->
|
---|
28 | <!-- The original template is in {docbook-xsl}/xhtml/chunk-code.xsl
|
---|
29 | It match also others sect* tags. The code for that tags is unchanged. -->
|
---|
30 | <xsl:template match="sect1">
|
---|
31 | <xsl:variable name="ischunk">
|
---|
32 | <xsl:call-template name="chunk"/>
|
---|
33 | </xsl:variable>
|
---|
34 | <xsl:choose>
|
---|
35 | <xsl:when test="@role = 'dummy'"/>
|
---|
36 | <xsl:when test="not(parent::*)">
|
---|
37 | <xsl:call-template name="process-chunk-element"/>
|
---|
38 | </xsl:when>
|
---|
39 | <xsl:when test="$ischunk = 0">
|
---|
40 | <xsl:apply-imports/>
|
---|
41 | </xsl:when>
|
---|
42 | <xsl:otherwise>
|
---|
43 | <xsl:call-template name="process-chunk-element"/>
|
---|
44 | </xsl:otherwise>
|
---|
45 | </xsl:choose>
|
---|
46 | </xsl:template>
|
---|
47 |
|
---|
48 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.