Skip to content

Update guidance in references-in-rfcxml.md #105

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tedharrison-rpc
Copy link

Rearranges and adds additional information for creating/using references in RFCs. Note this is still a work in progress.

Rearranges and adds additional information for creating/using references in RFCs
Adds text on locating BibXML URLs for xi:includes
@tedharrison-rpc tedharrison-rpc marked this pull request as ready for review February 19, 2025 20:43
@tedharrison-rpc
Copy link
Author

@ajeanmahoney Marked this a ready-to-review, but could use some feedback on the current layout and levels of detail.

Some issues I was puzzling over:

  • I wasn't sure of the best way to describe finding the BibXML URL for an I-D - since the datatracker link points authors to the datatracker version (for example: https://datatracker.ietf.org/doc/bibxml3/draft-rpc-rfc7322bis-02.xml). I suppose having them use the BibXML search function would be the simplest to point to.
  • Do we need to explain how to create the References section? This seems self-explanatory, but the original sections about the general construction of the two ref sections and using sortRefs seemed helpful.

Copy link
Contributor

@ajeanmahoney ajeanmahoney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I spotted a few nits and left some comments

<xi:include href="https://bib.ietf.org/public/rfc/bibxml9/reference.BCP.0195.xml"/>
```

### Inserting a Subseries Reference manually
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this needs to be covered

# Creating the References Section
<!-- TH: Do we need a section on creating the References section? -->

## Two sections: Normative and Informative References
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although uncommon, it's okay for a document to have just one References sections (e.g., "Normative References" or "Informative References"). This section probably isn't needed because https://authors.ietf.org/en/drafting-in-xml points to RFCXML templates and authors can see the structure there.

# Adding reference entries to the References Section
Reference entries can be added to the References Section using two methods:
* Using an `xi:include` to automatically add citation data from the BibXML service
* manually constructing references in a [**\<reference\>**](/rfcxml-vocabulary#reference) element
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"manually" should be capped

```xml
<xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.draft-ietf-wgname-topic-17.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7372.xml"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make this consistent, update 7372 to 7322

# Creating a reference to a BCP (or STD) that contains multiple RFCs
Locate the reference anchor for the reference:

Add an [**\<xref\>**](/rfcxml-vocabulary#xref) element with the target attribute set to the reference anchor (in this case, "RFC7322").
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the text above, attributes are formatted with bold, but here the target attribute doesn't have formatting

## Linking to multiple sections within a document
For example, `See Sections 3 and 4.`

Use [**\<xref\>**](/rfcxml-vocabulary#xref) with the format attribute. For example, assuming the anchors for the relevant sections match the targets:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the format attribute needs to be formatted in bold here

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

Successfully merging this pull request may close these issues.

2 participants