<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jos this is great work! I think you just completed a huge milestone!<br>
<br>
If you can send me an example of similar outputs from the previous
version of the BRs, I can try to create a red-line for both the word
and PDF.<br>
<br>
Dimitris.<br>
<br>
<div class="moz-cite-prefix">On 9/4/2019 6:01 μ.μ., Jos Purvis
(jopurvis) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:A853E400-DB69-44AF-AEAF-54128569E5A3@cisco.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Apple Color Emoji";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 2 6 3 5 4 5 2 3 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
color:windowtext;
font-weight:normal;
font-style:normal;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";}
span.EmailStyle22
{mso-style-type:personal-reply;
color:windowtext;
font-weight:normal;
font-style:normal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1166440750;
mso-list-template-ids:1281770454;}
@list l1
{mso-list-id:1767768645;
mso-list-type:hybrid;
mso-list-template-ids:-1729440826 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">Great
feedback! I had a little mini-hackathon the last couple
nights, and managed to untangle and clean up the formatting
in sections like 5.4.1 and the 7.2.x.x.x.x sections and
added page numbers to the Word doc. Results are attached. </span><span
style="font-size:11.0pt;font-family:"Apple Color
Emoji",serif">☺</span><span
style="font-size:11.0pt;font-family:"Georgia",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:black">-- <br>
Jos Purvis (<a class="moz-txt-link-abbreviated" href="mailto:jopurvis@cisco.com">jopurvis@cisco.com</a>)<br>
.:|:.:|:. cisco systems | Cryptographic Services<br>
PGP: 0xFD802FEE07D19105 | +1 919.991.9114 (desk)</span><span
style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span
style="color:black">"Dimitris Zacharopoulos (HARICA)"
<a class="moz-txt-link-rfc2396E" href="mailto:dzacharo@harica.gr"><dzacharo@harica.gr></a><br>
<b>Date: </b>Monday, 8 April, 2019 at 02:56 <br>
<b>To: </b>"Jos Purvis (jopurvis)"
<a class="moz-txt-link-rfc2396E" href="mailto:jopurvis@cisco.com"><jopurvis@cisco.com></a>, <a class="moz-txt-link-rfc2396E" href="mailto:infrastructure@cabforum.org">"infrastructure@cabforum.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:infrastructure@cabforum.org"><infrastructure@cabforum.org></a><br>
<b>Subject: </b>Re: [Infrastructure] Experiment:
Recompile using entirely Pandoc<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><br>
Thanks Jos, this looks really promising!<br>
<br>
I noticed some issues with the numbering of different
levels. For example, take a look at section 5.4.1. Page
numbers are also missing from the docx version. We're
getting close!<br>
<br>
<br>
Dimitris.<br>
<br>
On 7/4/2019 9:32 μ.μ., Jos Purvis (jopurvis) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">It’s
astonishing what you can get done when you’re avoiding
other work. </span><span
style="font-size:11.0pt;font-family:"Apple Color
Emoji",serif">☺</span><span
style="font-size:11.0pt;font-family:"Georgia",serif">
For fun[0], I decided to see how much would need to change
in the BRs to get Pandoc to produce a PDF from them, since
it can happily take the same source document and also
produce DOCX, HTML, and even ODT. Turns out, it wasn’t
much:</span><o:p></o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph"
style="margin-left:0in;mso-list:l1 level1 lfo3"><span
style="font-size:11.0pt;font-family:"Georgia",serif">I
removed the funky Kramdown table header lines from the
list of ballots and the list of effective dates at the
top of the document.</span><o:p></o:p></li>
<li class="MsoListParagraph"
style="margin-left:0in;mso-list:l1 level1 lfo3"><span
style="font-size:11.0pt;font-family:"Georgia",serif">I
removed some zero-length Unicode space characters that
had crept into one of the 7.2.2.X.X.X sections.</span><o:p></o:p></li>
</ol>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">That’s
it. Really.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">From
there, I added a metadata file (“BR.yaml”) that contains
some document variables like the title and copyright info,
and a template LaTeX document with a nice-looking title
page, since that’s what Pandoc uses in the background to
produce a PDF. Then I converted the old title block for
the document to a ‘Verso’ page so there’s still a title at
the top of the Markdown file. The result is attached: I
think it looks pretty close to what we were looking for,
including an automatically-generated table of contents and
a nice title page, and we can use the same toolset to
generate all of the output artifacts. From there, next
steps would be to generate a similarly nice-looking Word
doc (Pandoc will take an existing DOCX as a template and
use its formatting styles) and CSS for the other two
formats.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">Note
that we don’t <i>need</i> to go this route, but it’s cool
to note that a little tinkering with the Markdown
generated something that will produce all three outputs
pretty easily. If you’re curious, I forked the repo and
the changes and artifact output are here:</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">
<a href="https://github.com/castillar/documents"
moz-do-not-send="true">https://github.com/castillar/documents</a></span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">
--Jos</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif">[0]
For interesting values of “fun” that include “avoiding
house-cleaning”.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Georgia",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:black">-- <br>
Jos Purvis (<a href="mailto:jopurvis@cisco.com"
moz-do-not-send="true">jopurvis@cisco.com</a>)<br>
.:|:.:|:. cisco systems | Cryptographic Services<br>
PGP: 0xFD802FEE07D19105 | +1 919.991.9114 (desk)</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Infrastructure mailing list<o:p></o:p></pre>
<pre><a href="mailto:Infrastructure@cabforum.org" moz-do-not-send="true">Infrastructure@cabforum.org</a><o:p></o:p></pre>
<pre><a href="http://cabforum.org/mailman/listinfo/infrastructure" moz-do-not-send="true">http://cabforum.org/mailman/listinfo/infrastructure</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
<br>
<o:p></o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>