ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
63 stars 35 forks source link

Warning: Total table width (103) exceeds available width (69) #1099

Open cabo opened 4 months ago

cabo commented 4 months ago

Describe the issue

The xml2rfc plaintext renderer generates tables that are too wide for an ASR33 teletype.

This can be seen at (can't link into .txt): https://datatracker.ietf.org/doc/html/draft-bormann-cbor-notable-tags-10#table-7 https://datatracker.ietf.org/doc/html/draft-bormann-cbor-notable-tags-10#table-12

(Yes, these tables are ugly, but something like this will still need to make it into the RFC.)

Code of Conduct

cabo commented 4 months ago

Under v2 processing rules, the author could influence the column widths. This seems to have been lost in v3 plaintext rendering.