This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
page numbers in dsssl xrefs
- From: Kevin Dunn <kdunn at hsc dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 27 Feb 2003 19:47:51 -0500
- Subject: DOCBOOK-APPS: page numbers in dsssl xrefs
- Reply-to: kdunn at hsc dot edu
Looking back at the archives I found out how to add page numbers to xrefs. The following almost works:
(define (en-xref-strings)
(list (list (normalize "appendix") (if %chapter-autolabel%
"Appendix %n"
"the appendix called %t"))
...
(list (normalize "equation") "Equation %n (page %p)")
...
(list (normalize "step") "step %n")))
The problem is that the page numbers are occasionally wrong when a floating figure or equation is bumped to the next page. The mandrake documentation project solved this problem for the LOT by printing the page number of, for example, the title of an equation rather than of the equation itself.
My question: how can I print the page number for the <em>title</em> of an equation in the en-xref-strings example above?
--
Kevin M. Dunn
Professor of Chemistry
Hampden-Sydney College
--