This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
xrefs that simply give the number...
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: xrefs that simply give the number...
- From: Jason Riedy <ejr at CS dot Berkeley dot EDU>
- Date: Fri, 27 Jul 2001 09:50:52 -0700
[Please cc me; I'm not on the list. Thanks.]
Given the XSL stylesheets 1.40, is there a simple way to
have xrefs expand to the generated number (counter) of the
linkend? I'm using Saxon 6.4.3, but that may not matter.
I can see how to modify the system's en.xml to do what I
want (change everything to %n). But, as a mere user, I'd
have to completely install the stylesheets. I'm hoping
there's a better way. I've failed at tracing through the
templates.
What I _really_ want is a simple option on the xref toggling
text generation, but I can deal with always typing Section
or Table myself... Is there another Docbook XML tag I should
be using?
There are some grammatical situations where I would prefer
the control, like generating such texts as "See Sections 1,
5, and 7.2" or "As with operations (5)". Some wordings may
be ill-advised, but I'm bound to reproduce them accurately.
On a somewhat related note: Is there a way to xref
orderedlist listitems? Again, I just want the number.
I've poked through the docs and spent way too much time
seaching through archives and Google. Any references to the
correct docs (if they exist) or examples are greatly
appreciated.
Jason
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org