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
65 stars 38 forks source link

fix(text): Update non-ASCII art text #1140

Open kesara opened 1 month ago

kesara commented 1 month ago

Fixes #617

This change introduces two new command line options for text:

       --rfc-html-archive-url
          Default value: https://www.rfc-editor.org/rfc/
          URL for HTML file archive of RFCs.

       --id-html-archive-url
          Default value: https://www.ietf.org/archive/id/
          URL for HTML file archive Internet-Drafts.
Update text outputs:

For I-Ds:

(Artwork only available as svg: see https://www.ietf.org/archive/id/<docname>.html)

For RFCs:

(Artwork only available as svg: see https://www.rfc-editor.org/rfc/rfc<rfc number>.html)
cabo commented 1 month ago

Is it possible to link to the actual figure?

kesara commented 1 month ago

@cabo figure for artwork is optional. HTML processor adds anchors when there is no figure for artwork. HTML processing and text processing are two separate processors. It is hard to guess the HTML anchors by text processor accurately.