This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Xref References as page numbers in DSSSL ?


I want to use page numbers as text of a xref tag in the print output. 
How can I do this ?

I have read in the FAQ that I have to customize:
(element-page-number-sosofo target)
but there is no example on how to customize it and I am a dsssl beginner.

The file dblink.dsl does define something like:
-- ;; ======================================================================

(define (element-page-number-sosofo target)
  (with-mode pageno-mode
        (process-node-list target)))

(mode pageno-mode
  (default
    (current-node-page-number-sosofo)))

;; ======================================================================


But I still do not know what to change to get the following output:
----
"This you can see in Chapter 1 on page 12  explicitly."
------
from this source:
------
...
<para>This you can see in <xref linkend="chap1"/> explicitly.
</para>
....
<chapter id="chap1">
 blabla
</chapter>
...
---


Thank you very much for any help,
Peter Biechele

#####################################################
Dr. Peter Biechele, E-Mail: Peter.Biechele@beXtec.de


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]