On Sun, Dec 18, 2022 at 01:01:11AM -0700, arn...@skeeve.com wrote: > Hi Patrice. > > Having @cartouche take an optional title and render as <sidebar> in > Docbook would be a perfect solution for me. I don't need the @sidebar > command specifically, just the fucntionality. So, I really like this > suggestion.
This is in https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=86baed5c1cfb97ce6bcefef67d3a7a89ca206a13 > I don't think there are specific constraints to what can go into > a sidebar (I assume you mean within the docbook context). Indeed. Seems ok even for nesting in @example. There may be some nestings that are ok in Texinfo and not in DocBook, but probably not more than with other @-commands. I tried to use macros/inline* for the <title>, but nothing works smoothly, as mixing Texinfo and DocBook does not work outside of paragraphs. Any Texinfo content triggers a paragraph opening, which is not correct in the <title>. I'll start a thread on that subject. -- Pat