From: Günter M. <mi...@us...> - 2023-12-12 18:20:45
|
A test script to generate output with a "hand-crafted" document tree with extra term in a definition list. Currently fails with "html5" writer, the "html4" writer produces invalid output (missing `</dt>`). The "manpage" writer does not fail, however the second term becomes part of the common definition (at least visibly) in the `man` output. LaTeX needs a bit of adaption, too. Attachments: - [multiple_definition_list_terms.py](https://sourceforge.net/p/docutils/feature-requests/_discuss/thread/28a1d7bcc1/218e/attachment/multiple_definition_list_terms.py) (1.4 kB; text/x-python) --- **[feature-requests:#60] Allow definition_list_item to have multiple terms** **Status:** open **Group:** Default **Created:** Thu Jan 03, 2019 09:10 AM UTC by Takeshi KOMIYA **Last Updated:** Fri Nov 12, 2021 11:03 AM UTC **Owner:** nobody **Attachments:** - [support_multiple_terms_on_definition_list_item.patch](https://sourceforge.net/p/docutils/feature-requests/60/attachment/support_multiple_terms_on_definition_list_item.patch) (3.7 kB; application/octet-stream) In HTML spec, definition list accepts multiple terms in a item. This patch allows doctree model to have multiple terms as children of definition_list_item also. https://www.w3.org/TR/html52/grouping-content.html#the-dl-element In sphinx, a custom directive named "glossary" allows multiple terms for one definition_list_item. https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#glossary --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |