Re: Tabs and <formalgroup> content model
Mats Wichmann <[email protected]> Mon, 5 Feb 2024 11:33:13 -0700
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <[email protected]> |
On 2/5/24 06:31, Norm Tovey-Walsh wrote: > Thomas Schraitle <[email protected]> writes: >> Not sure if this is the "right" way to do that in DocBook, but I face = some >> questions: >> >> 1. What if I don't need the formalgroup title? >> I could use <title/>, but that's not the same. Perhaps this goes i= nto >> the direction of a <informalformalgroup> (which doesn't exist). >=20 > I=E2=80=99m not sure formalgroup is really a good fit here. It feels mo= re like > what=E2=80=99s needed for this sort of thing is an =E2=80=9Calternative= s=E2=80=9D element and a > wrapper for a series of alternatives. >=20 > In addition to the title problem, I wouldn=E2=80=99t be surprised if yo= u > discovered you wanted to have different kinds of things in different > tabs. You might even be eluding to that in your introduction of > formalpara to the mix. Note that formalgroup is a group of one type. Just as an information point, "other" systems do have provision for=20 alternatives-in-tabs model, but it's not necessarily intrinsic, as an=20 illustration see here (this is an add-on): https://pypi.org/project/sphinx-tabs/