source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/toc.line.properties.xml@ 64a2cd5

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 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 64a2cd5 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: 1.8 KB
Line 
1<refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="toc.line.properties">
7<refmeta>
8<refentrytitle>toc.line.properties</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>toc.line.properties</refname>
13<refpurpose>Properties for lines in ToCs and LoTs</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="toc.line.properties.frag">
18<xsl:attribute-set name="toc.line.properties">
19 <xsl:attribute name="text-align-last">justify</xsl:attribute>
20 <xsl:attribute name="text-align">start</xsl:attribute>
21 <xsl:attribute name="end-indent"><xsl:value-of select="concat($toc.indent.width, 'pt')"/></xsl:attribute>
22 <xsl:attribute name="last-line-end-indent"><xsl:value-of select="concat('-', $toc.indent.width, 'pt')"/></xsl:attribute>
23</xsl:attribute-set>
24</src:fragment>
25</refsynopsisdiv>
26
27<refsection><info><title>Description</title></info>
28
29<para>Properties which are applied to every line in ToC (or LoT). You can
30modify them in order to change appearance of all, or some lines. For
31example, in order to make lines for chapters bold, specify the
32following in your customization layer:</para>
33
34<programlisting>&lt;xsl:attribute-set name="toc.line.properties"&gt;
35 &lt;xsl:attribute name="font-weight"&gt;
36 &lt;xsl:choose>
37 &lt;xsl:when test="self::chapter">bold&lt;/xsl:when&gt;
38 &lt;xsl:otherwise&gt;normal&lt;/xsl:otherwise&gt;
39 &lt;/xsl:choose>
40 &lt;/xsl:attribute&gt;
41&lt;/xsl:attribute-set&gt;</programlisting>
42
43</refsection>
44</refentry>
Note: See TracBrowser for help on using the repository browser.