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

ascii artwork inside an artset cannot be sourced from a file #400

Closed ietf-svn-bot closed 4 years ago

ietf-svn-bot commented 5 years ago

owner:henrik@levkowetz.com resolution_worksforme type_defect | by tom@erg.abdn.ac.uk


I am attempting to move to v3 with svg and ascii art diagrams. My workflow has the ascii diagrams in seperate files and I use a tool (github.com/blampe/goat) to render svg from this. This works well, however I am unable to src txt files in an artset block.

i.e.

renders correctly, but

The command $ xml2rfc --v3 --html --text draft-ietf-tsvwg-datagram-plpmtud.xml complains with draft-ietf-tsvwg-datagram-plpmtud.xml(923): Error: Expected ascii-art text, but found none.

$ xml2rfc --version xml2rfc 2.22.2


Issue migrated from trac:400 at 2022-02-05 12:48:11 +0000

ietf-svn-bot commented 5 years ago

@henrik@levkowetz.com commented


Hi Tom

A trivial attempt to duplicate this here fails; i.e., external source file content is included in the text output from the ascii-art block in artset, and the external content from the svg is included for the html output. Could you provide the xml file and external files which result in failure as attachments to this ticket? Maybe as a .tgz or .zip file, to preserve directory structure?

Henrik
ietf-svn-bot commented 4 years ago

@henrik@levkowetz.com changed status from new to closed

ietf-svn-bot commented 4 years ago

@henrik@levkowetz.com changed resolution from ` toworksforme`

ietf-svn-bot commented 4 years ago

@henrik@levkowetz.com commented


A new attempt at duplicating this failed again; this works. Closing as worksforme.