diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kdoctools/docbook/xsl/params/insert.olink.page.number.xml | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/params/insert.olink.page.number.xml')
-rw-r--r-- | kdoctools/docbook/xsl/params/insert.olink.page.number.xml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/insert.olink.page.number.xml b/kdoctools/docbook/xsl/params/insert.olink.page.number.xml new file mode 100644 index 000000000..13f8b4636 --- /dev/null +++ b/kdoctools/docbook/xsl/params/insert.olink.page.number.xml @@ -0,0 +1,75 @@ +<refentry id="insert.olink.page.number"> +<refmeta> +<refentrytitle>insert.olink.page.number</refentrytitle> +<refmiscinfo role="type">string</refmiscinfo> +</refmeta> +<refnamediv> +<refname>insert.olink.page.number</refname> +<refpurpose>Turns page numbers in olinks on and off</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<src:fragment id='insert.olink.page.number.frag'> +<xsl:param name="insert.olink.page.number">no</xsl:param> +</src:fragment> +</refsynopsisdiv> + +<refsect1><title>Description</title> + +<para>The value of this parameter determines if +cross references made between documents with +<sgmltag>olink</sgmltag> will +include page number citations. +In most cases this is only applicable to references in printed output. +</para> +<para>The parameter has three possible values. +</para> +<variablelist> +<varlistentry> +<term>no</term> +<listitem><para>No page number references will be generated for olinks. +</para></listitem> +</varlistentry> +<varlistentry> +<term>yes</term> +<listitem><para>Page number references will be generated +for all <sgmltag>olink</sgmltag> references. +The style of page reference may be changed +if an <sgmltag class="attribute">xrefstyle</sgmltag> +attribute is used. +</para></listitem> +</varlistentry> +<varlistentry> +<term>maybe</term> +<listitem><para>Page number references will not be generated +for an <sgmltag>olink</sgmltag> element unless +it has an +<sgmltag class="attribute">xrefstyle</sgmltag> +attribute whose value specifies a page reference. +</para></listitem> +</varlistentry> +</variablelist> +<para>Olinks that point to targets within the same document +are treated as <sgmltag>xref</sgmltag>s, and controlled by +the <parameter>insert.xref.page.number</parameter> parameter. +</para> + +<para>Page number references for olinks to +external documents can only be inserted if the +information exists in the olink database. +This means each olink target element +(<sgmltag>div</sgmltag> or <sgmltag>obj</sgmltag>) +must have a <sgmltag class="attribute">page</sgmltag> attribute +whose value is its page number in the target document. +The XSL stylesheets are not able to extract that information +during processing because pages have not yet been created in +XSLT transformation. Only the XSL-FO processor knows what +page each element is placed on. +Therefore some postprocessing must take place to populate +page numbers in the olink database. +</para> + + + +</refsect1> +</refentry> |