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.nethamilton@xmlpress.net</note>