On Mon, Dec 19, 2022 at 10:43:08PM +0000, Gavin Smith wrote: > On Sun, Dec 18, 2022 at 01:01:11AM -0700, [email protected] 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. > > I agree; there seems to be no reason that this shouldn't be implemented > and it is a good use of the @cartouche command, avoiding the need for > any new command to be added.
For LaTeX there is an optional argument of mdframed that could be used, for HTML cartouche is in a table, so a table title should be ok. Any idea on how the @cartouche title should be formatted in Plaintext/Info? Maybe simply output the line followed by an empty line? -- Pat
