source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/insert.olink.pdf.frag.xml@ 67f507c

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.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 67f507c 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.5 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.pdf.frag">
7<refmeta>
8<refentrytitle>insert.olink.pdf.frag</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>insert.olink.pdf.frag</refname>
13<refpurpose>Add fragment identifiers for links into PDF files</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="insert.olink.pdf.frag.frag">
18<xsl:param name="insert.olink.pdf.frag" select="0"/>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>The value of this parameter determines whether
25the cross reference URIs to PDF documents made with
26<tag>olink</tag> will
27include fragment identifiers.
28</para>
29
30<para>When forming a URI to link to a PDF document,
31a fragment identifier (typically a '#' followed by an
32id value) appended to the PDF filename can be used by
33the PDF viewer to open
34the PDF file to a location within the document instead of
35the first page.
36However, not all PDF files have id
37values embedded in them, and not all PDF viewers can
38handle fragment identifiers.
39</para>
40
41<para>If <parameter>insert.olink.pdf.frag</parameter> is set
42to a non-zero value, then any olink targeting a
43PDF file will have the fragment identifier appended to the URI.
44The URI is formed by concatenating the value of the
45<parameter>olink.base.uri</parameter> parameter, the
46value of the <tag class="attribute">baseuri</tag>
47attribute from the <tag class="element">document</tag>
48element in the olink database with the matching
49<tag class="attribute">targetdoc</tag> value,
50and the value of the <tag class="attribute">href</tag>
51attribute for the targeted element in the olink database.
52The <tag class="attribute">href</tag> attribute
53contains the fragment identifier.
54</para>
55
56<para>If <parameter>insert.olink.pdf.frag</parameter> is set
57to zero (the default value), then
58the <tag class="attribute">href</tag> attribute
59from the olink database
60is not appended to PDF olinks, so the fragment identifier is left off.
61A PDF olink is any olink for which the
62<tag class="attribute">baseuri</tag> attribute
63from the matching <tag class="element">document</tag>
64element in the olink database ends with '.pdf'.
65Any other olinks will still have the fragment identifier added.
66</para>
67</refsection>
68</refentry>
Note: See TracBrowser for help on using the repository browser.