This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
bug found in DSSSL stylesheet
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: bug found in DSSSL stylesheet
- From: Adam Di Carlo <adam at onshore dot com>
- Date: Mon, 19 Feb 2001 03:08:35 -0500
- Cc: ndw at nwalsh dot com
I've found a bug in the DSSSL stylesheets, print backend.
The handling of admonitions seems really rough to me. Titles If a
<note> element has a <title>:
<note>
<title>Who can do this</title>
<para>All operators</para>
</note>
and %admin-graphics% is #f (the default), that title does not show up
in the print backends.
If admon-graphics is #t, then we see both the title, as well as
"Note:" in bold on the next para.
I believe the problem is is dbadmin.dsl, in the $admonition$ function.
Only $graphical-admonition$ has title processing.
I was trying to work out a patch, and in fact, I was refactoring so
that $graphical-admonition$ was folded into $admonition$ (a little
refactoring, $peril$ could be likewise folded in) -- I can show you a
diff for that if you like. However, even though it was showing the
title for non-graphical admonitions, it was stuck on the bold "Note:"
thing still showing, so I gave up.
--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org