xml2rfc icon indicating copy to clipboard operation
xml2rfc copied to clipboard

fix(text): Update non-ASCII art text

Open kesara opened this issue 1 year ago • 2 comments

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)

kesara avatar Jul 10 '24 04:07 kesara

Is it possible to link to the actual figure?

cabo avatar Jul 10 '24 06:07 cabo

@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.

kesara avatar Jul 10 '24 22:07 kesara