OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: DOCBOOK-APPS: 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>:

        <title>Who can do this</title>
        <para>All operators</para>

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/>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC