This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Example and other formal numbers in XSL-FO
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: Example and other formal numbers in XSL-FO
- From: Elliotte Rusty Harold <elharo at metalab dot unc dot edu>
- Date: Sun, 01 Jul 2001 12:50:24 -0700
The HTML stylesheets provide captions for figures, formal examples, and
such that look like this:
Example 1.2. An XML document indicating an order for 12 Birdsong Clocks
"Example 1.2." is calculated automatically by the stylesheet.
However, the XSL-FO stylesheets do not provide the example and number;
that is they label the same formal example as:
An XML document indicating an order for 12 Birdsong Clocks
I suspect this should be classified as a bug, especially since the xrefs
in the XSL-FO do use the numbers. I'm trying to track this one down, but
I'm getting lost in the interlinked templates.
On a related note, I think that xrefs to figures and formal examples
should not use the full title, just the number. For example, currently I
get:
For instance, Example 1.2. An XML document indicating an order for 12
Birdsong Clocks places the Order element and all its descendants in the
http://ns.cafeconleche.org/Orders/ namespace, event though none of them
have prefixes.
However, what I want is
For instance, Example 1.2 places the Order element and all its
descendants in the http://ns.cafeconleche.org/Orders/ namespace, event
though none of them have prefixes.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Java I/O (O'Reilly & Associates, 1999) |
| http://metalab.unc.edu/javafaq/books/javaio/ |
| http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ |
| Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ |
+----------------------------------+---------------------------------+