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

Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute #39

Closed
levkowetz opened this issue Oct 1, 2018 · 3 comments
Closed

Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute #39

levkowetz opened this issue Oct 1, 2018 · 3 comments

Comments

@levkowetz
Copy link
Contributor

New Section 2.20.4, "indent" Attribute

The deprecation of the "hangIndent" attribute on <list> leaves no
opportunity to control the size of the hanging indent. In some
definition lists, it is desirable to have a wide indentation, in order
to clearly show the terms, in other cases it is more important to allow
for a larger text volume than the width of the terms would allow.

Recommendation: Add an "indent" attribute on <dl> to control the size
of the hanging indent.

Implementation: The current version of xml2rfc does not support the
attribute, but has all the underlying functions needed
to apply such an attribute. Internally, an indentation
is calculated based on length of the <dt> text and the
settings of some of the other attributes.

@reschke
Copy link
Contributor

reschke commented Oct 1, 2018

I agree that this would be useful - however we'll need to define it in a way that works well with non-monospaced fonts.

@levkowetz
Copy link
Contributor Author

Closed with acceptance of 'indent' attribute after discussion on the list:
https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/?q=subject%3A%2339

@reschke
Copy link
Contributor

reschke commented Jun 24, 2020

@levkowetz - I note that xml2rfc supports "indent" on all list types, not only on <dl>. Is that intentional? What is the use case?

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

2 participants