Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hierarchical numbered lists, references to list items #1

Closed
toerless opened this issue Sep 27, 2022 · 6 comments
Closed

Hierarchical numbered lists, references to list items #1

toerless opened this issue Sep 27, 2022 · 6 comments

Comments

@toerless
Copy link

a) In https://www.ietf.org/archive/id/draft-ietf-bier-te-arch-13.html, section 2.3 has a two-tier numbered list. It would be a lot better if there was a rendering that would show the full hierarchical numbering, e.g. in that example points 1.1 ... 4.2. Instead of only indenting the second numbering level. Without showing as structured numbers, even textual references to these numbered points are not "nice".

b) (hotlink) references through xml tagging to such numbered items in a list is kinda impossible. See section 3.2.1.1 and how it tries to achieve this quite ugly.

Note: that draft is right now in AUTH48. Not quite sure what the best is RFC editor will whip up in the final RFC, but from my last AUTH48 discussion, it wasn't ideal IMHO, aka: the above two type of enhancements would hopefully be very helpful to better write structured text with easily referenced / hierarchical points.

@jrlevine
Copy link
Collaborator

This is not a draft about rendering bugs.

@toerless
Copy link
Author

Its not clear to me whether the solution to the issues i list is just in rendering or in vocabulary. I for once would think that a hierarchically numbered list could a vocabulary option as well as explicit section targets in the vocabulary that could then be used in references (other languages like latex have that for example).

@reschke
Copy link

reschke commented Sep 27, 2022

The list format you're asking for already exists. See example in https://github.com/ietf-tools/xml2rfc/blob/45dd38935217e94ca4699ab035e7afa3f03d0823/tests/input/elements.xml#L339

@ajeanmahoney
Copy link

Regarding a), nested ordered lists are documented on the authors.ietf.org site. Please see the description of the type attribute (type='%p%d') on the Attributes tab of https://authors.ietf.org/en/rfcxml-vocabulary#ol

For b), https://www.ietf.org/archive/id/draft-ietf-bier-te-arch-13.html has the description "Section 3.2, Paragraph 3, Item 2.2.1" for the item being cross-referenced, but 'Item 2.2.1' isn't correct. It should say "Section 3.2, Paragraph ..." Actually, I'm not sure what it should say because the xref is pointing to the first item of an ordered list that is nested within a definition list. Perhaps "Section 3.2, Definition 1, Item 1".

@toerless
Copy link
Author

toerless commented Sep 27, 2022 via email

@toerless
Copy link
Author

toerless commented Sep 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants