-
Notifications
You must be signed in to change notification settings - Fork 56
Fix for #1204 - single letter names #1246
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
Conversation
…only one character long
While this presentation would be an acceptable variation of an author's name provided in the RFC header, I have concerns about how xml2rfc would handle the creation of reference entries. Currently it adds periods when a period doesn't exist in the fullname or initials attribute of the author element because sometimes writers can miss these. For example, the following reference from RFC 8650 (note the lack of periods in fullname="I Hickson" and initials="I"):
Is rendered as "Hickson, I.,":
If an author wants their name to appear as "J. Doe" (with the period) in Authors' Addresses section, could they still do that with fullname="J. Doe"? |
I have not touched the codepath if |
@ajeanmahoney This change affects references as well.
will generate:
And,
will generate:
|
Would We see instances of the following in non-RFC bibxml entries:
|
With my code, it would generate |
If I read this correctly this would render a fullname of |
According to my tests, yes that's what it'll do. |
This PR updates the logic that generates short author names such that when initials are not provided, and the name being initialed is only one character long, there is no period appended after the character.
This addresses the problem raised in #1204 regarding the handling of my name. The output format for RFC-to-be 9799 is now: