This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug found in DSSSL stylesheet



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]