OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: 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
--


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC