[rfc-i] draft-iab-xml2rfc-02 - alignment of sourcecode
cabo at tzi.org (Carsten Bormann) Thu, 04 February 2016 21:03 UTC
From: cabo at tzi.org (Carsten Bormann)
Date: Thu, 04 Feb 2016 22:03:21 +0100
Subject: [rfc-i] draft-iab-xml2rfc-02 - alignment of sourcecode
In-Reply-To: <5A5CD370-0B7A-46F5-B0B3-13E43C85D797@att.com>
References: <56ABB36D.6030500@alum.mit.edu>
<6A914091-5ADA-4B52-B622-BF76BCC9E6FA@vpnc.org> <56B0F23B.20106@alum.mit.edu>
<6A1935EE-73F3-4F93-896B-EC86934E9863@vpnc.org> <56B12AEB.7080902@gmx.de>
<3FD398C6-A52F-4742-A819-1413B7D63809@cisco.com>
<7F501E45-8DBC-4E7A-B4AC-1F483150D5AB@att.com>
<E083E5C7-85B6-4CB5-A6DF-D30128CE05EE@vpnc.org>
<5A5CD370-0B7A-46F5-B0B3-13E43C85D797@att.com>
Message-ID: <56B3BC99.9060600@tzi.org>
HANSEN, TONY L wrote: > Even better would be if we had a way to hide a <sourcecode> block. I've needed this already. (Worked around by providing some cheesy text around it that supplies a reason for it to be visible.) > When I wrote one of my books many years ago, I used tricks like this to have code that printed in the book well, but was also extractable and directly compilable. That way every bit of code I had was fully compiled and tested. I?m extrapolating from that experience into xml2rfc. +10000. All hail continuous integration. (The alternative is of course to provide sophisticated Makefiles around the actual source text and include generated text in the document. Worked for me in RFC 7400 or RFC 7049 [which has two errata exactly where we didn't use this recipe]. See https://github.com/cose-wg/cose-spec for a current example for how to do this in XML -- much easier in kramdown of course :-) Gr??e, Carsten
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Hoffman
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Julian Reschke
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… HANSEN, TONY L
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Julian Reschke
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Hoffman
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Julian Reschke
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Joe Hildebrand jhildebr
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… HANSEN, TONY L
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Julian Reschke
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Hoffman
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Hoffman
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Joe Hildebrand jhildebr
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… HANSEN, TONY L
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Carsten Bormann
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Hoffman
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Martin J. Dürst
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Martin J. Dürst
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Joe Hildebrand jhildebr
- [rfc-i] draft-iab-xml2rfc-02 - alignment of sourc… Paul Kyzivat