开发者

What is the editor used for writing RFC text files?

开发者 https://www.devze.com 2022-12-13 04:36 出处:网络
I am just wondering how much effort is required to write a text file like that with page numbers, table of contents, headers, footers etc. Is there any edito开发者_高级运维r or some thing like TeX tha

I am just wondering how much effort is required to write a text file like that with page numbers, table of contents, headers, footers etc. Is there any edito开发者_高级运维r or some thing like TeX that is used for writing the RFC documents?


According to RFC 2223:

Most of the RFCs are processed by the RFC Editor with the unix "nroff" program using a very simple set of the formatting commands (or "requests") from the "ms" macro package (see the Appendix).

There is an RFC that details how they can be written using Microsoft Word: RFC 3285: Using Microsoft Word to create Internet Drafts and RFCs :-)


I have written a couple of RFC-like documents in XML using the format described in RFC2629 and converting them using xml2rfc. There is also a XSLT available for doing the conversion.


Write in some other format, like HTML/PDF/DOC and then export to text format. I guess that should be easier.


Older RFCs were probably written with nroff or one of its relatives (troff, roff, groff).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号