On 11/27/2015 03:24 PM, GRUNDTVIG NIELSEN Niels AWL-T&P wrote:
I don’t /think/ I’ve asked this before and misfiled the answer … I’ve
just completed a few topics that use the <example> element. On screen,
these show up neatly labelled Example: {title}, but when I generate a
.pdf I don’t get the prefix. Could you point me in the right direction?
There is no way to get "Example: {title}" other than customizing the
XSLT stylesheets (which would be overkill).
If you just want "Example: {title}", then please type "Example: " before
{title}.
This answer may sound stupid, but it is not. XMLmind DITA Converter
allows to automatically *number* examples. If you specify XSLT
stylesheet parameter:
-p number "all example",
you'll get something like "Example 1-2. {title}", where 1 is the number
of the chapter containing the example and 2 the number of the example.
That is, examples are automatically numbered just like figures or tables.
See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__number
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support