From: Bob Stayton Date: Mon, 8 May 2006 05:25:08 +0000 (+0000) Subject: add support for page number references to link element too. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14ccedb02ec264f0472616deedf8ac2cdd4ad043;p=docbook-dsssl add support for page number references to link element too. --- diff --git a/xsl/params/insert.link.page.number.xml b/xsl/params/insert.link.page.number.xml new file mode 100644 index 000000000..a5d1e8a61 --- /dev/null +++ b/xsl/params/insert.link.page.number.xml @@ -0,0 +1,61 @@ + + +insert.link.page.number +string + + +insert.link.page.number +Turns page numbers in link elements on and off + + + + +no + + + +Description + +The value of this parameter determines if +cross references using the link element in +printed output will +include standard page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all link elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for a link element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + +Although the xrefstyle attribute +can be used to turn the page reference on or off, it cannot be +used to control the formatting of the page number as it +can in xref. +In link it will always format with +the style established by the +gentext template with name="page.citation" +in the l:context name="xref". + + +