This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Example and other formal numbers in XSL-FO
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: Example and other formal numbers in XSL-FO
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Thu, 05 Jul 2001 06:24:06 -0400
- References: <3B3F7F00.3020006@metalab.unc.edu>
Both of these bugs, the failure to produce the right gentext in the
formal object title and the xref problem have been fixed in CVS.
/ Elliotte Rusty Harold <elharo@metalab.unc.edu> was heard to say:
| 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/ |
| +----------------------------------+---------------------------------+
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | A man must have grown old and
http://www.oasis-open.org/docbook/ | lived long in order to see how
Chair, DocBook Technical Committee | short life is.--Schopenhauer