[rfc-i] rfctool and html2rfc
ynir at checkpoint.com
Sun Jul 28 22:50:44 PDT 2013
Nice. Could you post the source HTML for this draft?
Anyway, a few bugs I've spotted:
* The title on the first page is left-aligned rather than centered.
* The title of section 5.1.1 is mangled, and the corresponding XML has unescaped "<"
* Tables that span pages do not close on the non-last page. See section 3.
On Jul 29, 2013, at 7:14 AM, Phillip Hallam-Baker <hallam at gmail.com<mailto:hallam at gmail.com>> wrote:
I just submitted the first Internet Draft prepared using rfctool. The draft describes the HTML microformat that rfctool supports as an input format.
The main advantages to using HTML2RFC format described in the draft are:
* No need to remember tags from an arcane dtd, standard html tags (h1..n6, p, li, ul...) do almost all the work needed
* Generates concordances of defined terms and normative text in context automatically.
The tool is open source and was originally written to support HTML2RFC format but it is not at all difficult to add in xml2rfc format as well and so I will be doing that as well soon. So the following advantages will apply to xml documents as well:
* Automatic management of citations. Just drop the citation into running text and the tool will work it out. Lists of normative and informative references are generated automatically
* Pulls references from online libraries and caches the results so document preparation can be done offline.
* Runs on Windows without the need for additional downloads (any version with .NET, all versions since Vista, XP with certain service packs)
* Runs on Linux, OSX under Mono, will be distributed as a standalone binary that does not need Mono installed as soon as I can work out a build strategy.
* Split the document source across multiple files and pull text from examples, source code etc. automatically.
The tool is still under development but I think it is clear that HTML can support all the functionality of RFC2629. At the moment the tool supports all of it except for some of the list numbering stuff I don't see the need for and a few details I have not got round to yet.
The HTML output is not quite finished yet but I think the tool should prove useful to anyone wanting to experiment with features such as marking code with tags so that the original input can be extracted from the output.
The eventual aim is to be able to round trip text from the HTML output and use it as input. If there is an IETF style sheet developed, I would be happy to convert the tool to make use of the chosen class tags.
Email secured by Check Point
rfc-interest mailing list
rfc-interest at rfc-editor.org<mailto:rfc-interest at rfc-editor.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rfc-interest