source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/highlight.xsl@ 15c7d39

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 15c7d39 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 xmlns:xslthl="http://xslthl.sf.net"
5 exclude-result-prefixes="xslthl"
6 version='1.0'>
7
8<!-- ********************************************************************
9 $Id: highlight.xsl 8419 2009-04-29 20:37:52Z kosek $
10 ********************************************************************
11
12 This file is part of the XSL DocBook Stylesheet distribution.
13 See ../README or http://docbook.sf.net/release/xsl/current/ for
14 and other information.
15
16 ******************************************************************** -->
17
18<xsl:import href="../highlighting/common.xsl"/>
19
20<xsl:template match='xslthl:keyword' mode="xslthl">
21 <fo:inline font-weight="bold"><xsl:apply-templates mode="xslthl"/></fo:inline>
22</xsl:template>
23
24<xsl:template match='xslthl:string' mode="xslthl">
25 <fo:inline font-weight="bold" font-style="italic"><xsl:apply-templates mode="xslthl"/></fo:inline>
26</xsl:template>
27
28<xsl:template match='xslthl:comment' mode="xslthl">
29 <fo:inline font-style="italic"><xsl:apply-templates mode="xslthl"/></fo:inline>
30</xsl:template>
31
32<xsl:template match='xslthl:tag' mode="xslthl">
33 <fo:inline font-weight="bold"><xsl:apply-templates mode="xslthl"/></fo:inline>
34</xsl:template>
35
36<xsl:template match='xslthl:attribute' mode="xslthl">
37 <fo:inline font-weight="bold"><xsl:apply-templates mode="xslthl"/></fo:inline>
38</xsl:template>
39
40<xsl:template match='xslthl:value' mode="xslthl">
41 <fo:inline font-weight="bold"><xsl:apply-templates mode="xslthl"/></fo:inline>
42</xsl:template>
43
44<!--
45<xsl:template match='xslthl:html'>
46 <span style='background:#AFF'><font color='blue'><xsl:apply-templates/></font></span>
47</xsl:template>
48
49<xsl:template match='xslthl:xslt'>
50 <span style='background:#AAA'><font color='blue'><xsl:apply-templates/></font></span>
51</xsl:template>
52
53<xsl:template match='xslthl:section'>
54 <span style='background:yellow'><xsl:apply-templates/></span>
55</xsl:template>
56-->
57
58<xsl:template match='xslthl:number' mode="xslthl">
59 <xsl:apply-templates mode="xslthl"/>
60</xsl:template>
61
62<xsl:template match='xslthl:annotation' mode="xslthl">
63 <fo:inline color="gray"><xsl:apply-templates mode="xslthl"/></fo:inline>
64</xsl:template>
65
66<xsl:template match='xslthl:directive' mode="xslthl">
67 <xsl:apply-templates mode="xslthl"/>
68</xsl:template>
69
70<!-- Not sure which element will be in final XSLTHL 2.0 -->
71<xsl:template match='xslthl:doccomment|xslthl:doctype' mode="xslthl">
72 <fo:inline font-weight="bold"><xsl:apply-templates mode="xslthl"/></fo:inline>
73</xsl:template>
74
75
76</xsl:stylesheet>
77
Note: See TracBrowser for help on using the repository browser.