[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Example and other formal numbers in XSL-FO
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/ | +----------------------------------+---------------------------------+
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC