docbook-apps

  • 1.  Placement of admonition graphics when inside a list

    Posted 08-09-2025 18:08
    When I use the <note> (or any admonition) element with admon.graphics
    set to 1, the top of the graphic is aligned with the top of the note.

    However, if the note is inside of a list, the bottom of the graphic is
    aligned with the bottom of the title (Note, Caution, etc.). I tried this
    with a variety of markup differences (note inside a paragraph, note
    directly under a listitem, etc.), and the only thing that triggered this
    behavior is having the note as a descendant of listitem (directly under
    the parent itemizedlist element doesn't trigger this).

    I thought this was a problem with my customizations, but when I tested
    with the vanilla stylesheets (snapshot-20200603), the same thing happened.

    I then went back to 1.79.2 and the problem went away.

    I spent a little time looking at the differences between the two
    releases, but I couldn't find an obvious place (there is a difference
    related to handling indexterms in admon.xsl, but reverting that change
    didn't fix this issue).

    FYI, here is a case that does this:

    <itemizedlist>
    <listitem><para>Here is some text in a paragraph</para>
    <note><para>The text for the note. FYI this happens regardless
    of how many lines are in the note.</para>
    </note>
    <para>A caution:</para>
    <caution><para>The text for the caution. FYI this happens regardless
    of how many lines are in the note.</para>
    </caution>
    </listitem>
    </itemizedlist>


    Anyone have any idea what's going on?

    Dick Hamilton
    --
    XML Press
    XML for Technical Communicators
    https://xmlpress.net
    hamilton@xmlpress.net</note>


  • 2.  RE: Placement of admonition graphics when inside a list

    Posted 08-10-2025 03:58
    List back up and working?

    Thanks to whoever.

    regards

    On Sat, 9 Aug 2025 at 23:08, Richard Hamilton via OASIS <Mail@mail.groups.oasis-open.org> wrote:
    When I use the -posted to the "docbook-apps" community

    docbook-apps

    Post New Message
    Placement of admonition graphics when inside a list
    Reply to Group Reply to Sender via Email
    Aug 9, 2025 6:08 PM
    Richard Hamilton
    When I use the
      Reply to Group via Email   Reply to Sender via Email   View Thread   Recommend   Forward  



     
    You are subscribed to "docbook-apps" as dave.pawson@gmail.com. To change your subscriptions, go to My Subscriptions. To unsubscribe from this community discussion, go to Unsubscribe.


    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    Docbook FAQ.