metanorma-iso 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -7
- data/README.adoc +30 -364
- data/docs/adopting-spec.adoc +72 -0
- data/docs/adopting-toolchain.adoc +389 -0
- data/docs/asciiiso-syntax.adoc +305 -0
- data/docs/customisation.adoc +5 -643
- data/docs/guidance.adoc +73 -64
- data/docs/localizing-output.adoc +57 -0
- data/docs/navigation.adoc +23 -0
- data/docs/quickstart.adoc +106 -304
- data/docs/replacing-asciidoc.adoc +15 -0
- data/docs/styling-output-html.adoc +37 -0
- data/docs/styling-output-msword.adoc +38 -0
- data/lib/asciidoctor/iso/biblio.rng +10 -0
- data/lib/asciidoctor/iso/cleanup.rb +24 -0
- data/lib/asciidoctor/iso/front.rb +32 -5
- data/lib/asciidoctor/iso/isodoc.rng +3 -0
- data/lib/asciidoctor/iso/isostandard.rng +6 -0
- data/lib/asciidoctor/iso/validate.rb +2 -1
- data/lib/isodoc/iso/html/html_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/html/style-human.scss +1 -1
- data/lib/isodoc/iso/html/style-iso.scss +1 -1
- data/lib/isodoc/iso/html/word_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/metadata.rb +8 -13
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/asciidoctor-iso/base_spec.rb +17 -13
- data/spec/asciidoctor-iso/refs_spec.rb +0 -3
- data/spec/asciidoctor-iso/validate_spec.rb +2 -0
- data/spec/assets/iso.doc +12 -12
- data/spec/assets/iso.html +1 -1
- data/spec/examples/rice.preview.html +25 -25
- data/spec/isodoc/metadata_spec.rb +8 -6
- data/spec/isodoc/postproc_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -3
- metadata +10 -2
@@ -651,6 +651,7 @@ it "Warning if non-IEC document with subpart" do
|
|
651
651
|
Author
|
652
652
|
:docfile: test.adoc
|
653
653
|
:nodoc:
|
654
|
+
:docnumber: 10
|
654
655
|
:partnumber: 1-1
|
655
656
|
:publisher: ISO
|
656
657
|
:no-isobib:
|
@@ -664,6 +665,7 @@ it "No warning if joint IEC/non-IEC document with subpart" do
|
|
664
665
|
Author
|
665
666
|
:docfile: test.adoc
|
666
667
|
:nodoc:
|
668
|
+
:docnumber: 10
|
667
669
|
:partnumber: 1-1
|
668
670
|
:publisher: ISO,IEC
|
669
671
|
:no-isobib:
|
data/spec/assets/iso.doc
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
MIME-Version: 1.0
|
2
|
-
Content-Type: multipart/related; boundary="----=
|
2
|
+
Content-Type: multipart/related; boundary="----=_NextPart_70003b7b.22bd.48f2"
|
3
3
|
|
4
|
-
------=
|
5
|
-
Content-Location: file:///C:/Doc/
|
4
|
+
------=_NextPart_70003b7b.22bd.48f2
|
5
|
+
Content-Location: file:///C:/Doc/iso.htm
|
6
6
|
Content-Type: text/html; charset="utf-8"
|
7
7
|
|
8
8
|
<?xml version="1.0"?>
|
@@ -18,7 +18,7 @@ Content-Type: text/html; charset="utf-8"
|
|
18
18
|
<![endif]-->
|
19
19
|
<meta http-equiv=Content-Type content="text/html; charset=utf-8"/>
|
20
20
|
|
21
|
-
<link rel=File-List href="
|
21
|
+
<link rel=File-List href="iso_files/filelist.xml"/>
|
22
22
|
<style>
|
23
23
|
<!--
|
24
24
|
/* one empty stylesheet */
|
@@ -741,7 +741,7 @@ span.note_label, span.example_label, td.example_label, td.note_label {
|
|
741
741
|
<div class="WordSection1">
|
742
742
|
<p class="MsoNormal" align="right" style="text-align:right">
|
743
743
|
<b style="mso-bidi-font-weight: normal">
|
744
|
-
<span lang="EN-GB" style="font-size:14.0pt;mso-no-proof:yes" xml:lang="EN-GB"
|
744
|
+
<span lang="EN-GB" style="font-size:14.0pt;mso-no-proof:yes" xml:lang="EN-GB">(E) </span>
|
745
745
|
</b>
|
746
746
|
<b style="mso-bidi-font-weight:normal">
|
747
747
|
<span lang="EN-GB" style="font-size:14.0pt" xml:lang="EN-GB">
|
@@ -834,11 +834,11 @@ Switzerland<p class="MsoNormal"></p></span></p>
|
|
834
834
|
<p class="MsoToc1"><span lang="EN-GB" xml:lang="EN-GB"><span style="mso-element:field-begin"></span><span style="mso-spacerun:yes"> </span>TOC
|
835
835
|
\o "1-2" \h \z \u <span style="mso-element:field-separator"></span></span>
|
836
836
|
<span class="MsoHyperlink"><span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
837
|
-
<a href="#
|
837
|
+
<a href="#_Toc766267354">Foreword<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
838
838
|
<span style="mso-tab-count:1 dotted">. </span>
|
839
839
|
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
840
840
|
<span style="mso-element:field-begin"></span></span>
|
841
|
-
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF
|
841
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc766267354 \h </span>
|
842
842
|
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
843
843
|
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span></span></p>
|
844
844
|
|
@@ -871,8 +871,8 @@ Switzerland<p class="MsoNormal"></p></span></p>
|
|
871
871
|
</html>
|
872
872
|
|
873
873
|
|
874
|
-
------=
|
875
|
-
Content-Location: file:///C:/Doc/
|
874
|
+
------=_NextPart_70003b7b.22bd.48f2
|
875
|
+
Content-Location: file:///C:/Doc/iso_files/filelist.xml
|
876
876
|
Content-Transfer-Encoding: base64
|
877
877
|
Content-Type: application/xml
|
878
878
|
|
@@ -881,8 +881,8 @@ ICAgICAgIDxvOk1haW5GaWxlIEhSZWY9Ii4uL3NwZWMvYXNzZXRzL2lzby5odG0iLz4gIDxvOkZp
|
|
881
881
|
bGUgSFJlZj0iZmlsZWxpc3QueG1sIi8+CiAgPG86RmlsZSBIUmVmPSJoZWFkZXIuaHRtbCIvPgo8
|
882
882
|
L3htbD4K
|
883
883
|
|
884
|
-
------=
|
885
|
-
Content-Location: file:///C:/Doc/
|
884
|
+
------=_NextPart_70003b7b.22bd.48f2
|
885
|
+
Content-Location: file:///C:/Doc/iso_files/header.html
|
886
886
|
Content-Transfer-Encoding: base64
|
887
887
|
Content-Type: text/html charset="utf-8"
|
888
888
|
|
@@ -1074,4 +1074,4 @@ cD4NCg0KPHAgY2xhc3M9TXNvRm9vdGVyPjxzcGFuIGxhbmc9RU4tQVUgc3R5bGU9J2ZvbnQtc2l6
|
|
1074
1074
|
ZToxMC4wcHQ7Jz7CqQ0KJm5ic3A7Jm5ic3A74oCTIEFsbCByaWdodHMgcmVzZXJ2ZWQ8bzpwPjwv
|
1075
1075
|
bzpwPjwvc3Bhbj48L3A+DQoNCjwvZGl2Pg0KDQoNCg0KPC9ib2R5Pg0KDQo8L2h0bWw+DQo=
|
1076
1076
|
|
1077
|
-
------=
|
1077
|
+
------=_NextPart_70003b7b.22bd.48f2--
|
data/spec/assets/iso.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
-
<meta name="generator" content="Asciidoctor 1.5.
|
7
|
+
<meta name="generator" content="Asciidoctor 1.5.8">
|
8
8
|
<title>Rice model</title>
|
9
9
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
|
10
10
|
<style>
|
@@ -79,7 +79,7 @@ h2{font-size:1.6875em}
|
|
79
79
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
|
80
80
|
h4,h5{font-size:1.125em}
|
81
81
|
h6{font-size:1em}
|
82
|
-
hr{border:solid #
|
82
|
+
hr{border:solid #dddddf;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}
|
83
83
|
em,i{font-style:italic;line-height:inherit}
|
84
84
|
strong,b{font-weight:bold;line-height:inherit}
|
85
85
|
small{font-size:60%;line-height:inherit}
|
@@ -141,9 +141,9 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
141
141
|
#content{margin-top:1.25em}
|
142
142
|
#content::before{content:none}
|
143
143
|
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
|
144
|
-
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #
|
145
|
-
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #
|
146
|
-
#header .details{border-bottom:1px solid #
|
144
|
+
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
|
145
|
+
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
|
146
|
+
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap}
|
147
147
|
#header .details span:first-child{margin-left:-.125em}
|
148
148
|
#header .details span.email a{color:rgba(0,0,0,.85)}
|
149
149
|
#header .details br{display:none}
|
@@ -152,8 +152,8 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
152
152
|
#header .details br+span#revremark::before{content:"\00a0|\00a0"}
|
153
153
|
#header #revnumber{text-transform:capitalize}
|
154
154
|
#header #revnumber::after{content:"\00a0"}
|
155
|
-
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #
|
156
|
-
#toc{border-bottom:1px solid #
|
155
|
+
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #dddddf;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
|
156
|
+
#toc{border-bottom:1px solid #e7e7e9;padding-bottom:.5em}
|
157
157
|
#toc>ul{margin-left:.125em}
|
158
158
|
#toc ul.sectlevel0>li>a{font-style:italic}
|
159
159
|
#toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0}
|
@@ -164,13 +164,13 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
164
164
|
#toctitle{color:#7a2518;font-size:1.2em}
|
165
165
|
@media screen and (min-width:768px){#toctitle{font-size:1.375em}
|
166
166
|
body.toc2{padding-left:15em;padding-right:0}
|
167
|
-
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #
|
167
|
+
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
|
168
168
|
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
|
169
169
|
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
|
170
170
|
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
|
171
171
|
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
|
172
172
|
body.toc2.toc-right{padding-left:0;padding-right:15em}
|
173
|
-
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #
|
173
|
+
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9;left:auto;right:0}}
|
174
174
|
@media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
|
175
175
|
#toc.toc2{width:20em}
|
176
176
|
#toc.toc2 #toctitle{font-size:1.375em}
|
@@ -187,7 +187,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
187
187
|
@media screen and (min-width:768px){#content{margin-bottom:1.25em}
|
188
188
|
.sect1{padding-bottom:1.25em}}
|
189
189
|
.sect1:last-child{padding-bottom:0}
|
190
|
-
.sect1+.sect1{border-top:1px solid #
|
190
|
+
.sect1+.sect1{border-top:1px solid #e7e7e9}
|
191
191
|
#content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
|
192
192
|
#content h1>a.anchor::before,h2>a.anchor::before,h3>a.anchor::before,#toctitle>a.anchor::before,.sidebarblock>.content>.title>a.anchor::before,h4>a.anchor::before,h5>a.anchor::before,h6>a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
|
193
193
|
#content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
|
@@ -202,7 +202,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
202
202
|
.admonitionblock>table td.icon{text-align:center;width:80px}
|
203
203
|
.admonitionblock>table td.icon img{max-width:none}
|
204
204
|
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
|
205
|
-
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #
|
205
|
+
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6)}
|
206
206
|
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
|
207
207
|
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
|
208
208
|
.exampleblock>.content>:first-child{margin-top:0}
|
@@ -214,10 +214,10 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
214
214
|
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
|
215
215
|
.literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8}
|
216
216
|
.sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1}
|
217
|
-
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em}
|
218
|
-
.literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal}
|
217
|
+
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;overflow-x:auto;padding:1em;font-size:.8125em}
|
219
218
|
@media screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}
|
220
219
|
@media screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}
|
220
|
+
.literalblock pre.nowrap,.literalblock pre.nowrap pre,.listingblock pre.nowrap,.listingblock pre.nowrap pre{white-space:pre;word-wrap:normal}
|
221
221
|
.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
|
222
222
|
.listingblock pre.highlightjs{padding:0}
|
223
223
|
.listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
|
@@ -230,19 +230,16 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
230
230
|
table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
231
231
|
table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0;line-height:1.45}
|
232
232
|
table.pyhltable td.code{padding-left:.75em;padding-right:0}
|
233
|
-
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #
|
233
|
+
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #dddddf}
|
234
234
|
pre.pygments .lineno{display:inline-block;margin-right:.25em}
|
235
235
|
table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
|
236
236
|
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
|
237
237
|
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
|
238
|
-
.quoteblock blockquote,.quoteblock
|
238
|
+
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
|
239
239
|
.quoteblock blockquote{margin:0;padding:0;border:0}
|
240
240
|
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
|
241
241
|
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
|
242
|
-
.quoteblock .attribution{margin-top:.
|
243
|
-
.quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)}
|
244
|
-
.quoteblock .quoteblock blockquote{padding:0 0 0 .75em}
|
245
|
-
.quoteblock .quoteblock blockquote::before{display:none}
|
242
|
+
.quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right}
|
246
243
|
.verseblock{margin:0 1em 1.25em}
|
247
244
|
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
|
248
245
|
.verseblock pre strong{font-weight:400}
|
@@ -250,10 +247,13 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
|
|
250
247
|
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
|
251
248
|
.quoteblock .attribution br,.verseblock .attribution br{display:none}
|
252
249
|
.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)}
|
250
|
+
.quoteblock.abstract blockquote::before,.quoteblock.excerpt blockquote::before,.quoteblock .quoteblock blockquote::before{display:none}
|
251
|
+
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
|
253
252
|
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
|
254
253
|
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
|
255
|
-
.quoteblock.
|
256
|
-
.quoteblock.
|
254
|
+
.quoteblock.excerpt,.quoteblock .quoteblock{margin:0 0 1.25em;padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
|
255
|
+
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
|
256
|
+
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
|
257
257
|
table.tableblock{max-width:100%;border-collapse:separate}
|
258
258
|
p.tableblock:last-child{margin-bottom:0}
|
259
259
|
td.tableblock>.content{margin-bottom:-1.25em}
|
@@ -312,8 +312,8 @@ td.hdlist1{font-weight:bold;padding-bottom:1.25em}
|
|
312
312
|
.colist td:not([class]):first-child img{max-width:none}
|
313
313
|
.colist td:not([class]):last-child{padding:.25em 0}
|
314
314
|
.thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd}
|
315
|
-
.imageblock.left
|
316
|
-
.imageblock.right
|
315
|
+
.imageblock.left{margin:.25em .625em 1.25em 0}
|
316
|
+
.imageblock.right{margin:.25em 0 1.25em .625em}
|
317
317
|
.imageblock>.title{margin-bottom:0}
|
318
318
|
.imageblock.thumb,.imageblock.th{border-width:6px}
|
319
319
|
.imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em}
|
@@ -407,7 +407,7 @@ svg{max-width:100%}
|
|
407
407
|
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
408
408
|
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
409
409
|
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
410
|
-
#toc{border-bottom:1px solid #
|
410
|
+
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
411
411
|
body.book #header{text-align:center}
|
412
412
|
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
|
413
413
|
body.book #header .details{border:0!important;display:block;padding:0!important}
|
@@ -1847,7 +1847,7 @@ end</code></pre>
|
|
1847
1847
|
</div>
|
1848
1848
|
<div id="footer">
|
1849
1849
|
<div id="footer-text">
|
1850
|
-
Last updated 2018-09-22 20:44:36
|
1850
|
+
Last updated 2018-09-22 20:44:36 +1000
|
1851
1851
|
</div>
|
1852
1852
|
</div>
|
1853
1853
|
<script type="text/x-mathjax-config">
|
@@ -20,10 +20,11 @@ RSpec.describe IsoDoc::Iso::Metadata do
|
|
20
20
|
<title-main language="fr" format="text/plain">Spécification et méthodes d'essai</title-main>
|
21
21
|
<title-part language="fr" format="text/plain">Riz</title-part>
|
22
22
|
</title>
|
23
|
-
<docidentifier>
|
24
|
-
|
25
|
-
<
|
23
|
+
<docidentifier type="iso">ISO/PreCD3 17301-1</docidentifier>
|
24
|
+
<docidentifier type="iso-structured">
|
25
|
+
<project-number part="1">ISO/PreCD3 17301</project-number>
|
26
26
|
</docidentifier>
|
27
|
+
<docidentifier type="iso-tc">17301</docidentifier>
|
27
28
|
<date type="published"><on>2011</on></date>
|
28
29
|
<date type="accessed"><on>2012</on></date>
|
29
30
|
<date type="created"><from>2010</from><to>2011</to></date>
|
@@ -91,10 +92,11 @@ OUTPUT
|
|
91
92
|
<title-main language="fr" format="text/plain">Spécification et méthodes d'essai</title-main>
|
92
93
|
<title-part language="fr" format="text/plain">Riz</title-part>
|
93
94
|
</title>
|
94
|
-
<docidentifier>
|
95
|
-
<
|
96
|
-
<
|
95
|
+
<docidentifier type="iso">ISO/IEC/CD 17301-1-3</docidentifier>
|
96
|
+
<docidentifier type="iso-structured">
|
97
|
+
<project-number part="1" subpart="3">ISO/IEC/CD 17301</project-number>
|
97
98
|
</docidentifier>
|
99
|
+
<docidentifier type="iso-tc">17301</docidentifier>
|
98
100
|
<contributor>
|
99
101
|
<role type="author"/>
|
100
102
|
<organization>
|
@@ -219,7 +219,7 @@ RSpec.describe IsoDoc do
|
|
219
219
|
<p class="MsoToc1"><span lang="EN-GB" xml:lang="EN-GB"><span style="mso-element:field-begin"></span><span style="mso-spacerun:yes"> </span>TOC
|
220
220
|
\o "1-2" \h \z \u <span style="mso-element:field-separator"></span></span>
|
221
221
|
<span class="MsoHyperlink"><span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
222
|
-
<a href="#_Toc">1
|
222
|
+
<a href="#_Toc">1. Clause 4<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
223
223
|
<span style="mso-tab-count:1 dotted">. </span>
|
224
224
|
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
225
225
|
<span style="mso-element:field-begin"></span></span>
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -262,11 +262,19 @@ files:
|
|
262
262
|
- Rakefile
|
263
263
|
- asciidoctor-iso.gemspec.old
|
264
264
|
- bin/rspec
|
265
|
+
- docs/adopting-spec.adoc
|
266
|
+
- docs/adopting-toolchain.adoc
|
267
|
+
- docs/asciiiso-syntax.adoc
|
265
268
|
- docs/customisation.adoc
|
266
269
|
- docs/guidance.adoc
|
267
270
|
- docs/htmloutput.adoc
|
271
|
+
- docs/localizing-output.adoc
|
272
|
+
- docs/navigation.adoc
|
268
273
|
- docs/outputs.adoc
|
269
274
|
- docs/quickstart.adoc
|
275
|
+
- docs/replacing-asciidoc.adoc
|
276
|
+
- docs/styling-output-html.adoc
|
277
|
+
- docs/styling-output-msword.adoc
|
270
278
|
- lib/asciidoctor/iso/base.rb
|
271
279
|
- lib/asciidoctor/iso/biblio.rng
|
272
280
|
- lib/asciidoctor/iso/cleanup.rb
|