Re: [art] New RFCs text formatting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Step 1, apply the following patch to xml2rfc:

---
 cli/xml2rfc/run.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli/xml2rfc/run.py b/cli/xml2rfc/run.py
index fc933f4..e75832f 100755
--- a/cli/xml2rfc/run.py
+++ b/cli/xml2rfc/run.py
@@ -407,7 +407,7 @@ def main():
     # Remember if we're building an RFC
     options.rfc = xmlrfc.tree.getroot().get('number')
     if options.rfc:
-        options.pagination = False
+        options.pagination = True

     # Check if we've received a version="3" document, and adjust accordingly
     if xmlrfc.tree.getroot().get('version') == '3':
-- 
2.24.0

Step 2: For all the RFCs published using xmlrfc 3, download the xml file.

Step 3: Regenerate the txt files from the xml files using the patched xml2rfc.

On 11/28/19 11:57 AM, Jeffrey Yasskin wrote:
> On Thu, Nov 28, 2019, 10:25 AM Paul Hoffman <paul.hoffman@xxxxxxxx> wrote:
> 
>> On 28 Nov 2019, at 8:33, John C Klensin wrote:
>>
>>> (copying the IETF list -- this is not an ART matter alone)
>>> Hi.  I realize it is very late, probably too late, to be
>>> complaining about this, but my clear recollection was that, when
>>> the v3 project was started, the community was promised that,
>>> while the authoritative/ canonical/ archival format would shift
>>> to the XML and fully-functional HTML and PDF format (not just
>>> HTML and PDF produced from plain text forms) would become
>>> available, the plain text format would be preserved sufficiently
>>> that tools [1] that were designed for, and used with, RFCs for
>>> the last 40-odd years would continue to work and work equally
>>> well [2].
>>
>> I strongly believe you are wrong: no such promise was made. If you can
>> find any actual message that made such a promise, I'm happy to stand
>> corrected.
>>
> 
> https://www.rfc-editor.org/rse/format-faq/#10 points to
> https://www.rfc-editor.org/rfc/rfc6949.html#section-3.3, which explicitly
> retires pagination as a goal.
> 
> Jeffrey
> 


-- 
Marc Petit-Huguenin
Email: marc@xxxxxxxxxxxxxxxxxx
Blog: https://marc.petit-huguenin.org
Profile: https://www.linkedin.com/in/petithug



Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux