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]

page numbers in dsssl xrefs


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
--


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