metanorma-un 0.8.8 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c579d88ee27f6171c252864a7d48d06e0c4271e2b0810443b346cb09a0a6e218
4
- data.tar.gz: 67b18b39fd7892605c545ae1c38d674f6934576b2b149dbd1402993b17309736
3
+ metadata.gz: fd38bdd1ebd36217dcc775f8203e06752a74c22fb6ec653d38c702275d37af66
4
+ data.tar.gz: c598199308783c403d112efa70fa8fce946a64d4cfe24456270bfef58e041522
5
5
  SHA512:
6
- metadata.gz: ef33aafb8d235ac2940f2b277f9d1fb3449f04d945a0a08a172625908b03caf7f9f27a8f9610e6e867ab889e772af731d53efee129916a333df97ef4d0a917ad
7
- data.tar.gz: 1086dc2dba39739b4e2d8d6f3c711cdd77e0e7dffe08d441081f58becff90ffb5a1c317f0d5177963208cbe89a2e145ce2983a011f41ca5097a26d73639c6430
6
+ metadata.gz: 054ebc49d618d714f9bf11b341e2ebf4bc18cac87403214550f9854ba1e565377a5cef3cd065d2e189dec5c08c933d8bff37ad0e7be53be4e3698917d9d90db5
7
+ data.tar.gz: f501716d1de02d13e24ece38e2c78b1b6602305cfea8ab09914291e2387c93f250c4866ef933ec189ab63cd7657a42473f97b59d2f6db33c9e971ad65d8ce4bd
@@ -85,6 +85,9 @@
85
85
  </div>
86
86
  {% endif %}
87
87
 
88
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
89
+
90
+
88
91
  <div class="info-section">
89
92
  <div class="copyright">
90
93
  <p class="year">
@@ -74,6 +74,7 @@
74
74
  </div>
75
75
  {% endif %}
76
76
 
77
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
77
78
 
78
79
 
79
80
  <div class="info-section">
@@ -765,6 +765,12 @@ pre {
765
765
  font-size: 1em;
766
766
  text-align: center; }
767
767
 
768
+ .ListTitle {
769
+ font-weight: 700;
770
+ font-size: 1em;
771
+ text-align: center;
772
+ text-align: left; }
773
+
768
774
  .FigureTitle,
769
775
  .SourceTitle {
770
776
  font-weight: 700;
@@ -464,6 +464,7 @@ pre {
464
464
 
465
465
  @include admonitionBlock();
466
466
  @include recommendationBlock();
467
+ @include listBlock();
467
468
 
468
469
  .FigureTitle,
469
470
  .SourceTitle {
@@ -116,7 +116,7 @@ p.AdmonitionTitle, p.RecommendationTitle {
116
116
  mso-bidi-font-family: {{bodyfont}};
117
117
  mso-ansi-language: EN-GB; }
118
118
 
119
- p.TableTitle {
119
+ p.TableTitle, p.ListTitle {
120
120
  mso-style-unhide: no;
121
121
  mso-style-qformat: yes;
122
122
  mso-style-parent: "";
@@ -147,13 +147,15 @@ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote
147
147
  line-height: 12.0pt;
148
148
  mso-pagination: widow-orphan;
149
149
  tab-stops: 20.15pt;
150
- font-size: {{smallerfontsize}};
151
150
  mso-bidi-font-size: 11.0pt;
152
- font-family: {{bodyfont}};
153
151
  mso-fareast-font-family: {{bodyfont}};
154
152
  mso-bidi-font-family: {{bodyfont}};
155
153
  mso-ansi-language: EN-GB; }
156
154
 
155
+ p.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote {
156
+ font-size: {{smallerfontsize}};
157
+ font-family: {{bodyfont}}; }
158
+
157
159
  p.ANNEX, li.ANNEX, div.ANNEX {
158
160
  mso-style-name: ANNEX;
159
161
  mso-style-priority: 10;
@@ -499,12 +501,14 @@ p.Quote, li.Quote, div.Quote {
499
501
  line-height: 12.0pt;
500
502
  mso-pagination: widow-orphan;
501
503
  tab-stops: 20.15pt;
502
- font-size: {{normalfontsize}};
503
- font-family: {{bodyfont}};
504
504
  mso-fareast-font-family: {{bodyfont}};
505
505
  mso-bidi-font-family: {{bodyfont}};
506
506
  mso-ansi-language: EN-GB; }
507
507
 
508
+ p.Quote, li.Quote {
509
+ font-size: {{normalfontsize}};
510
+ font-family: {{bodyfont}}; }
511
+
508
512
  p.QuoteAttribution {
509
513
  text-align: right;
510
514
  mso-style-priority: 99;
@@ -533,8 +537,6 @@ p.Admonition, li.Admonition, div.Admonition {
533
537
  mso-border-alt: solid black .25pt;
534
538
  padding: 0cm;
535
539
  mso-padding-alt: 10.0pt 10.0pt 10.0pt 10.0pt;
536
- font-size: 12.0pt;
537
- font-family: {{bodyfont}};
538
540
  mso-ascii-font-family: {{bodyfont}};
539
541
  mso-ascii-theme-font: minor-latin;
540
542
  mso-fareast-font-family: {{bodyfont}};
@@ -545,6 +547,10 @@ p.Admonition, li.Admonition, div.Admonition {
545
547
  mso-bidi-theme-font: minor-bidi;
546
548
  mso-ansi-language: EN-AU; }
547
549
 
550
+ p.Admonition, li.Admonition {
551
+ font-size: 12.0pt;
552
+ font-family: {{bodyfont}}; }
553
+
548
554
  p.Code, li.Code, div.Code {
549
555
  mso-style-name: Code;
550
556
  mso-style-priority: 16;
@@ -775,9 +781,11 @@ aside {
775
781
  font-weight: bold;
776
782
  margin-left: -36.0pt; }
777
783
 
778
- p.example, li.example, div.example, td.example {
784
+ p.example, li.example, td.example {
779
785
  margin-right: 0pt;
780
- margin-left: 0pt; }
786
+ margin-left: 0pt;
787
+ font-size: {{smallerfontsize}};
788
+ font-family: {{bodyfont}}; }
781
789
 
782
790
  div.example {
783
791
  margin-right: 36.0pt;
@@ -786,9 +794,7 @@ div.example {
786
794
  margin-bottom: 0cm; }
787
795
 
788
796
  p.example, li.example, div.example, td.example {
789
- mso-pagination: none;
790
- font-size: {{smallerfontsize}};
791
- font-family: {{bodyfont}}; }
797
+ mso-pagination: none; }
792
798
 
793
799
  td.example p.MsoListParagraph {
794
800
  font-size: {{smallerfontsize}}; }
@@ -123,7 +123,7 @@ p.AdmonitionTitle, p.RecommendationTitle
123
123
  mso-fareast-font-family:$bodyfont;
124
124
  mso-bidi-font-family:$bodyfont;
125
125
  mso-ansi-language:EN-GB;}
126
- p.TableTitle
126
+ p.TableTitle, p.ListTitle
127
127
  {mso-style-unhide:no;
128
128
  mso-style-qformat:yes;
129
129
  mso-style-parent:"";
@@ -153,12 +153,14 @@ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote
153
153
  line-height:12.0pt;
154
154
  mso-pagination:widow-orphan;
155
155
  tab-stops:20.15pt;
156
- font-size:$smallerfontsize;
157
156
  mso-bidi-font-size:11.0pt;
158
- font-family:$bodyfont;
159
157
  mso-fareast-font-family:$bodyfont;
160
158
  mso-bidi-font-family:$bodyfont;
161
159
  mso-ansi-language:EN-GB;}
160
+ p.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote {
161
+ font-size:$smallerfontsize;
162
+ font-family:$bodyfont;
163
+ }
162
164
  p.ANNEX, li.ANNEX, div.ANNEX
163
165
  {mso-style-name:ANNEX;
164
166
  mso-style-priority:10;
@@ -489,11 +491,13 @@ p.Quote, li.Quote, div.Quote
489
491
  line-height:12.0pt;
490
492
  mso-pagination:widow-orphan;
491
493
  tab-stops:20.15pt;
492
- font-size:$normalfontsize;
493
- font-family:$bodyfont;
494
494
  mso-fareast-font-family:$bodyfont;
495
495
  mso-bidi-font-family:$bodyfont;
496
496
  mso-ansi-language:EN-GB;}
497
+ p.Quote, li.Quote {
498
+ font-size:$normalfontsize;
499
+ font-family:$bodyfont;
500
+ }
497
501
  p.QuoteAttribution
498
502
  {text-align:right;
499
503
  mso-style-priority:99;
@@ -522,8 +526,6 @@ p.Admonition, li.Admonition, div.Admonition
522
526
  mso-border-alt:solid black .25pt;
523
527
  padding:0cm;
524
528
  mso-padding-alt:10.0pt 10.0pt 10.0pt 10.0pt;
525
- font-size:12.0pt;
526
- font-family:$bodyfont;
527
529
  mso-ascii-font-family:$bodyfont;
528
530
  mso-ascii-theme-font:minor-latin;
529
531
  mso-fareast-font-family:$bodyfont;
@@ -533,6 +535,10 @@ p.Admonition, li.Admonition, div.Admonition
533
535
  mso-bidi-font-family:$bodyfont;
534
536
  mso-bidi-theme-font:minor-bidi;
535
537
  mso-ansi-language:EN-AU; }
538
+ p.Admonition, li.Admonition {
539
+ font-size:12.0pt;
540
+ font-family:$bodyfont;
541
+ }
536
542
  p.Code, li.Code, div.Code
537
543
  {mso-style-name:Code;
538
544
  mso-style-priority:16;
@@ -749,9 +755,11 @@ font-weight: bold;
749
755
  margin-left: -36.0pt;
750
756
  }
751
757
 
752
- p.example, li.example, div.example, td.example {
758
+ p.example, li.example, td.example {
753
759
  margin-right: 0pt;
754
760
  margin-left: 0pt;
761
+ font-size:$smallerfontsize;
762
+ font-family:$bodyfont;
755
763
  }
756
764
 
757
765
  div.example {
@@ -763,8 +771,7 @@ div.example {
763
771
 
764
772
  p.example, li.example, div.example, td.example {
765
773
  mso-pagination:none;
766
- font-size:$smallerfontsize;
767
- font-family:$bodyfont;}
774
+ }
768
775
 
769
776
  td.example p.MsoListParagraph {
770
777
  font-size: $smallerfontsize;
@@ -9253,6 +9253,10 @@ in Collaboration with {{ session_collaborator }}</span></b>
9253
9253
  <p class="MsoNormal"></p>
9254
9254
  <div class="MsoNormal" id='abstractbox' style='margin-left:70.9pt;font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif;mso-style-textoutline-type:none;mso-style-textoutline-outlinestyle-dpiwidth:.75pt;mso-style-textoutline-outlinestyle-linecap:round;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound:simple'/>
9255
9255
  </div>
9256
+
9257
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
9258
+
9259
+
9256
9260
  <p class="MsoNormal"><v:shapetype id="_x0000_t202"
9257
9261
  coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
9258
9262
  <v:stroke joinstyle="miter"/>
@@ -2,16 +2,16 @@
2
2
  <span lang="EN-GB"><span style='mso-no-proof:yes'><b>{{ tc | join: "/" }}</b></span></p>
3
3
 
4
4
  {% if submissionlanguage %}
5
- <p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
5
+ <p class="MsoNormal" style='tab-stops:70.9pt 12.0cm'><span lang="EN-AU"
6
6
  style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'> </span></span><span
7
- lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>Original:
7
+ lang="EN-AU" style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>Original:
8
8
  {{ submissionlanguage | join: "/" }}<o:p></o:p></span></p>
9
9
  {% endif %}
10
10
 
11
11
  {% if doclanguage %}
12
- <p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
12
+ <p class="MsoNormal" style='tab-stops:70.9pt 12.0cm'><span lang="EN-AU"
13
13
  style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'> </span></span><span
14
- lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{ doclanguage | join: ", " }} only<o:p></o:p></span></p>
14
+ lang="EN-AU" style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{ doclanguage | join: ", " }} only<o:p></o:p></span></p>
15
15
  {% endif %}
16
16
 
17
17
  {% assign fn_refs = "" | split: ',' %}
@@ -30,6 +30,9 @@ style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:24.0pt'>
30
30
  normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{ doctype }} No. {{ docnumber }} {{ draftinfo }}</span></b><b
31
31
  <p class="MsoNormal" style='margin-top:100.0pt'><span lang="EN-GB"><o:p>&nbsp;</o:p></span></p>
32
32
 
33
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
34
+
35
+
33
36
  {% if fn_refs.size > 0 %}
34
37
  <div class="title-footnote">
35
38
  {% for item in title_footnote %}
@@ -3,7 +3,7 @@ module IsoDoc
3
3
  class I18n < IsoDoc::I18n
4
4
  def load_yaml1(lang, script)
5
5
  y = YAML.load_file(File.join(File.dirname(__FILE__), "i18n-en.yaml"))
6
- super.merge(y)
6
+ super.deep_merge(y)
7
7
  end
8
8
  end
9
9
  end
@@ -17,7 +17,7 @@ module IsoDoc
17
17
  end
18
18
 
19
19
  def i18n_init(lang, script, i18nyaml = nil)
20
- @i18n = I18n.new(lang, script, i18nyaml || @i18nyaml)
20
+ @i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml)
21
21
  end
22
22
 
23
23
  def fileloc(loc)
@@ -9,46 +9,37 @@ module IsoDoc
9
9
  @toc = options[:toc]
10
10
  end
11
11
 
12
- def note1(f)
13
- return if f.parent.name == "bibitem"
14
- return if f["type"] == "title-footnote"
15
- n = @xrefs.get[f["id"]]
16
- lbl = case f["type"]
12
+ def note1(elem)
13
+ return if elem.parent.name == "bibitem"
14
+ return if elem["type"] == "title-footnote"
15
+
16
+ # n = @xrefs.get[f["id"]]
17
+ lbl = case elem["type"]
17
18
  when "source" then "Source"
18
19
  when "abbreviation" then "Abbreviations"
19
20
  else
20
21
  @i18n.note
21
22
  end
22
- prefix_name(f, "", lbl, "name")
23
+ prefix_name(elem, "", lbl, "name")
23
24
  end
24
25
 
25
- def conversions(docxml)
26
- super
27
- admonition docxml
28
- end
26
+ def admonition1(elem)
27
+ return if elem["notag"] == "true"
29
28
 
30
- def admonition(docxml)
31
- docxml.xpath(ns("//admonition")).each do |f|
32
- admonition1(f)
33
- end
34
- end
35
-
36
- def admonition1(f)
37
- n = @xrefs.anchor(f['id'], :label) or return
29
+ n = @xrefs.anchor(elem["id"], :label) or return
38
30
  lbl = l10n("#{@i18n.admonition} #{n}")
39
- prefix_name(f, "&nbsp;&mdash; ", lbl, "name")
31
+ prefix_name(elem, "&#xa0;&#x2014; ", lbl, "name")
40
32
  end
41
33
 
42
- def annex1(f)
43
- lbl = @xrefs.anchor(f['id'], :label)
44
- if t = f.at(ns("./title"))
34
+ def annex1(elem)
35
+ lbl = @xrefs.anchor(elem["id"], :label)
36
+ if t = elem.at(ns("./title"))
45
37
  t.children = "<strong>#{t.children.to_xml}</strong>"
46
38
  end
47
- prefix_name(f, "<br/>", lbl, "title")
39
+ prefix_name(elem, "<br/>", lbl, "title")
48
40
  end
49
41
 
50
42
  include Init
51
43
  end
52
44
  end
53
45
  end
54
-