source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/insert.olink.page.number.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: 2.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="insert.olink.page.number">
7<refmeta>
8<refentrytitle>insert.olink.page.number</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10<refmiscinfo class="other" otherclass="value">no</refmiscinfo>
11<refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
12<refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
13</refmeta>
14<refnamediv>
15<refname>insert.olink.page.number</refname>
16<refpurpose>Turns page numbers in olinks on and off</refpurpose>
17</refnamediv>
18
19<refsynopsisdiv>
20<src:fragment xml:id="insert.olink.page.number.frag">
21<xsl:param name="insert.olink.page.number">no</xsl:param>
22</src:fragment>
23</refsynopsisdiv>
24
25<refsection><info><title>Description</title></info>
26
27<para>The value of this parameter determines if
28cross references made between documents with
29<tag>olink</tag> will
30include page number citations.
31In most cases this is only applicable to references in printed output.
32</para>
33<para>The parameter has three possible values.
34</para>
35<variablelist>
36<varlistentry>
37<term>no</term>
38<listitem><para>No page number references will be generated for olinks.
39</para></listitem>
40</varlistentry>
41<varlistentry>
42<term>yes</term>
43<listitem><para>Page number references will be generated
44for all <tag>olink</tag> references.
45The style of page reference may be changed
46if an <tag class="attribute">xrefstyle</tag>
47attribute is used.
48</para></listitem>
49</varlistentry>
50<varlistentry>
51<term>maybe</term>
52<listitem><para>Page number references will not be generated
53for an <tag>olink</tag> element unless
54it has an
55<tag class="attribute">xrefstyle</tag>
56attribute whose value specifies a page reference.
57</para></listitem>
58</varlistentry>
59</variablelist>
60<para>Olinks that point to targets within the same document
61are treated as <tag>xref</tag>s, and controlled by
62the <parameter>insert.xref.page.number</parameter> parameter.
63</para>
64
65<para>Page number references for olinks to
66external documents can only be inserted if the
67information exists in the olink database.
68This means each olink target element
69(<tag>div</tag> or <tag>obj</tag>)
70must have a <tag class="attribute">page</tag> attribute
71whose value is its page number in the target document.
72The XSL stylesheets are not able to extract that information
73during processing because pages have not yet been created in
74XSLT transformation. Only the XSL-FO processor knows what
75page each element is placed on.
76Therefore some postprocessing must take place to populate
77page numbers in the olink database.
78</para>
79
80
81
82</refsection>
83</refentry>
Note: See TracBrowser for help on using the repository browser.