metanorma-un 0.7.1 → 0.7.5

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: 0021dd59134b1e29f4fefa8f42876e766cab44fd2c39b026f235235ce92dec9b
4
- data.tar.gz: 2f760abef94975595bd6b2f9a1b4d4eebdaf014da1b8fb16e030afb65b11d83c
3
+ metadata.gz: e571be88b769ac9333a8bcacd96bfa1e02b8b24e421b0d93ba912e3f9868b57d
4
+ data.tar.gz: b83c712fe918c7660831321f909555e4265c015a4536b344ce1c80bc035e1dfb
5
5
  SHA512:
6
- metadata.gz: dba9f3ff9ceb09f78cddda3d6b7c0cccc20f52a12d32e076bfd914844d01ed0d2860cd1f8035744f2c9c047a3f38e8217d4c6d996b0bb7f35162ebde59a62454
7
- data.tar.gz: 40bc6b1322e06fd459e7374eed5e9d4bd10b6d3c96829ed09c76a454cc73dd2181322cf134511a8a7227e38e451c01219a928e3a306ae2cef21dda63d9fa57d6
6
+ metadata.gz: cadb83bac6c3e9ed659b1447cc1c8fd11a2c3e88cee4b6765ce3e60be3122f06aa8f5ca9129f281e78410ac2b3fe648027c534b8972fe839fb37885f99e38f86
7
+ data.tar.gz: 1a4874986efb7c85a0bcce107a25472f9f2733ebe2678d7a02fbdb911866911b4a7918dd27ee209085817059638d6f4cb681197eca894d3a7872c92512819cb6
@@ -169,7 +169,7 @@ module Asciidoctor
169
169
  def pdf_converter(node)
170
170
  return nil if node.attr("no-pdf")
171
171
 
172
- IsoDoc::UN::PdfConvert.new(doc_extract_attributes(node))
172
+ IsoDoc::UN::PdfConvert.new(pdf_extract_attributes(node))
173
173
  end
174
174
 
175
175
  def sections_cleanup(xmldoc)
@@ -58,7 +58,7 @@
58
58
  <attribute name="alt"/>
59
59
  </optional>
60
60
  <optional>
61
- <attribute name="updatetype">
61
+ <attribute name="update-type">
62
62
  <data type="boolean"/>
63
63
  </attribute>
64
64
  </optional>
@@ -1796,6 +1796,20 @@
1796
1796
  <data type="ID"/>
1797
1797
  </attribute>
1798
1798
  </optional>
1799
+ <optional>
1800
+ <attribute name="language"/>
1801
+ </optional>
1802
+ <optional>
1803
+ <attribute name="script"/>
1804
+ </optional>
1805
+ <optional>
1806
+ <attribute name="tag"/>
1807
+ </optional>
1808
+ <optional>
1809
+ <attribute name="multilingual-rendering">
1810
+ <ref name="MultilingualRenderingType"/>
1811
+ </attribute>
1812
+ </optional>
1799
1813
  <oneOrMore>
1800
1814
  <ref name="preferred"/>
1801
1815
  </oneOrMore>
@@ -1814,9 +1828,6 @@
1814
1828
  <optional>
1815
1829
  <ref name="termsubject"/>
1816
1830
  </optional>
1817
- <optional>
1818
- <ref name="termusage"/>
1819
- </optional>
1820
1831
  <oneOrMore>
1821
1832
  <ref name="termdefinition"/>
1822
1833
  </oneOrMore>
@@ -1880,17 +1891,37 @@
1880
1891
  </attribute>
1881
1892
  </optional>
1882
1893
  <optional>
1883
- <attribute name="geographicArea"/>
1894
+ <attribute name="geographic-area"/>
1884
1895
  </optional>
1885
1896
  <choice>
1886
1897
  <ref name="expression_designation"/>
1887
1898
  <ref name="letter_symbol_designation"/>
1888
1899
  <ref name="graphical_symbol_designation"/>
1889
1900
  </choice>
1901
+ <optional>
1902
+ <ref name="fieldofapplication"/>
1903
+ </optional>
1904
+ <optional>
1905
+ <ref name="usageinfo"/>
1906
+ </optional>
1890
1907
  <zeroOrMore>
1891
1908
  <ref name="termsource"/>
1892
1909
  </zeroOrMore>
1893
1910
  </define>
1911
+ <define name="fieldofapplication">
1912
+ <element name="field-of-application">
1913
+ <oneOrMore>
1914
+ <ref name="PureTextElement"/>
1915
+ </oneOrMore>
1916
+ </element>
1917
+ </define>
1918
+ <define name="usageinfo">
1919
+ <element name="usage-info">
1920
+ <oneOrMore>
1921
+ <ref name="PureTextElement"/>
1922
+ </oneOrMore>
1923
+ </element>
1924
+ </define>
1894
1925
  <define name="letter_symbol_designation">
1895
1926
  <element name="letter-symbol">
1896
1927
  <optional>
@@ -1942,11 +1973,15 @@
1942
1973
  </optional>
1943
1974
  <element name="name">
1944
1975
  <zeroOrMore>
1945
- <ref name="PureTextElement"/>
1976
+ <choice>
1977
+ <ref name="PureTextElement"/>
1978
+ <ref name="stem"/>
1979
+ <ref name="index"/>
1980
+ </choice>
1946
1981
  </zeroOrMore>
1947
1982
  </element>
1948
1983
  <optional>
1949
- <element name="abbreviationType">
1984
+ <element name="abbreviation-type">
1950
1985
  <ref name="AbbreviationType"/>
1951
1986
  </element>
1952
1987
  </optional>
@@ -1956,7 +1991,7 @@
1956
1991
  </element>
1957
1992
  </optional>
1958
1993
  <optional>
1959
- <element name="grammarInfo">
1994
+ <element name="grammar">
1960
1995
  <ref name="Grammar"/>
1961
1996
  </element>
1962
1997
  </optional>
@@ -1983,6 +2018,11 @@
1983
2018
  <ref name="GrammarGender"/>
1984
2019
  </element>
1985
2020
  </zeroOrMore>
2021
+ <zeroOrMore>
2022
+ <element name="number">
2023
+ <ref name="GrammarNumber"/>
2024
+ </element>
2025
+ </zeroOrMore>
1986
2026
  <optional>
1987
2027
  <element name="isPreposition">
1988
2028
  <data type="boolean"/>
@@ -2014,7 +2054,7 @@
2014
2054
  </element>
2015
2055
  </optional>
2016
2056
  <zeroOrMore>
2017
- <element name="grammarvalue">
2057
+ <element name="grammar-value">
2018
2058
  <text/>
2019
2059
  </element>
2020
2060
  </zeroOrMore>
@@ -2027,6 +2067,13 @@
2027
2067
  <value>common</value>
2028
2068
  </choice>
2029
2069
  </define>
2070
+ <define name="GrammarNumber">
2071
+ <choice>
2072
+ <value>singular</value>
2073
+ <value>dual</value>
2074
+ <value>plural</value>
2075
+ </choice>
2076
+ </define>
2030
2077
  <define name="termdomain">
2031
2078
  <element name="domain">
2032
2079
  <oneOrMore>
@@ -2041,13 +2088,6 @@
2041
2088
  </oneOrMore>
2042
2089
  </element>
2043
2090
  </define>
2044
- <define name="termusage">
2045
- <element name="usageinfo">
2046
- <oneOrMore>
2047
- <ref name="BasicBlock"/>
2048
- </oneOrMore>
2049
- </element>
2050
- </define>
2051
2091
  <define name="termdefinition">
2052
2092
  <element name="definition">
2053
2093
  <choice>
@@ -2061,13 +2101,16 @@
2061
2101
  </element>
2062
2102
  </define>
2063
2103
  <define name="verbaldefinition">
2064
- <element name="verbaldefinition">
2104
+ <element name="verbal-definition">
2065
2105
  <oneOrMore>
2066
2106
  <choice>
2067
2107
  <ref name="paragraph"/>
2068
2108
  <ref name="dl"/>
2069
2109
  <ref name="ol"/>
2070
2110
  <ref name="ul"/>
2111
+ <ref name="table"/>
2112
+ <ref name="figure"/>
2113
+ <ref name="formula"/>
2071
2114
  </choice>
2072
2115
  </oneOrMore>
2073
2116
  <zeroOrMore>
@@ -2076,7 +2119,7 @@
2076
2119
  </element>
2077
2120
  </define>
2078
2121
  <define name="nonverbalrep">
2079
- <element name="nonverbalrepresentation">
2122
+ <element name="non-verbal-representation">
2080
2123
  <oneOrMore>
2081
2124
  <choice>
2082
2125
  <ref name="table"/>
@@ -75,6 +75,12 @@ code *, pre *, tt *, kbd *, samp * {
75
75
  font-family: {{monospacefont}} !important;
76
76
  font-variant-ligatures: none; }
77
77
 
78
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
79
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
80
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
81
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
82
+ font-size: {{monospacefontsize}}; }
83
+
78
84
  article, aside, details, figcaption, figure,
79
85
  footer, header, hgroup, menu, nav, section {
80
86
  display: block; }
@@ -86,6 +92,9 @@ table {
86
92
  h1, h2, h3, h4, h5, h6 {
87
93
  font-family: {{headerfont}}; }
88
94
 
95
+ .h1, .h2, .h3, .h4, .h5, .h6 {
96
+ font-family: {{headerfont}}; }
97
+
89
98
  blockquote, q {
90
99
  quotes: none; }
91
100
  blockquote:before, blockquote:after, q:before, q:after {
@@ -558,7 +567,8 @@ h3,
558
567
  h4,
559
568
  h5,
560
569
  h6,
561
- .h2Annex {
570
+ .h2Annex,
571
+ .h1, .h2, .h3, .h4, .h5, .h6 {
562
572
  font-family: {{headerfont}};
563
573
  color: #00ADEF;
564
574
  font-weight: 700;
@@ -568,38 +578,38 @@ h6,
568
578
 
569
579
  h1,
570
580
  h2,
571
- h3 {
581
+ h3, .h1, .h2, .h3 {
572
582
  margin-top: 18px;
573
583
  margin-bottom: 9px; }
574
584
 
575
- h1 {
585
+ h1, .h1 {
576
586
  font-size: 33px;
577
587
  font-weight: 500;
578
588
  margin: 0.67em 0;
579
589
  letter-spacing: -0.02em;
580
590
  color: #4D4D4D; }
581
591
 
582
- h2 {
592
+ h2, .h2 {
583
593
  font-size: 27px;
584
594
  color: #4D4D4D; }
585
595
 
586
- h3 {
596
+ h3, .h3 {
587
597
  font-size: 24px;
588
598
  margin-top: 26px;
589
599
  color: #000; }
590
600
 
591
- h4 {
601
+ h4, .h4 {
592
602
  font-size: 18.2px;
593
603
  margin-bottom: 2px;
594
604
  color: #4D4D4D;
595
605
  letter-spacing: 0.03em; }
596
606
 
597
- h5 {
607
+ h5, .h5 {
598
608
  font-size: 16.25px;
599
609
  color: #000;
600
610
  margin-bottom: 2px; }
601
611
 
602
- h6 {
612
+ h6, .h6 {
603
613
  font-size: 13px;
604
614
  color: #4D4D4D;
605
615
  letter-spacing: 0.05em; }
@@ -625,12 +635,12 @@ h6 {
625
635
  font-size: 1.1em;
626
636
  font-weight: 100;
627
637
  }*/
628
- .TermNum,
629
- .Terms,
630
- .AltTerms {
631
- color: #00ADEF;
638
+ .TermNum {
632
639
  font-weight: 100; }
633
640
 
641
+ .TermNum, .Terms, .AltTerms {
642
+ color: #00ADEF; }
643
+
634
644
  h2.TermNum {
635
645
  margin-bottom: 0; }
636
646
 
@@ -893,7 +903,7 @@ p {
893
903
  margin-bottom: 1em;
894
904
  margin-top: 1em; }
895
905
 
896
- h2 p {
906
+ h2 p, .h2 p {
897
907
  display: inline; }
898
908
 
899
909
  /*
@@ -1057,7 +1067,8 @@ To top button
1057
1067
  h1,
1058
1068
  h2,
1059
1069
  h3,
1060
- h4 {
1070
+ h4,
1071
+ .h1, .h2, .h3, .h4 {
1061
1072
  page-break-after: avoid;
1062
1073
  margin-top: 1.2em; }
1063
1074
  .note,
@@ -1089,12 +1100,12 @@ To top button
1089
1100
  h1.content {
1090
1101
  line-height: 2.5em;
1091
1102
  margin-top: 2em; }
1092
- h1 {
1103
+ h1, .h1 {
1093
1104
  font-size: 1.5em;
1094
1105
  line-height: 1.5; }
1095
- h2 {
1106
+ h2, .h2 {
1096
1107
  font-size: 1.2em; }
1097
- h3 {
1108
+ h3, .h3 {
1098
1109
  font-size: 1em; }
1099
1110
  .Note {
1100
1111
  background-color: #fff495;
@@ -268,7 +268,8 @@ h3,
268
268
  h4,
269
269
  h5,
270
270
  h6,
271
- .h2Annex {
271
+ .h2Annex,
272
+ .h1, .h2, .h3, .h4, .h5, .h6 {
272
273
  font-family: $headerfont;
273
274
  color: $un-blue;
274
275
  font-weight: 700;
@@ -279,12 +280,12 @@ h6,
279
280
 
280
281
  h1,
281
282
  h2,
282
- h3 {
283
+ h3, .h1, .h2, .h3 {
283
284
  margin-top: 18px;
284
285
  margin-bottom: 9px;
285
286
  }
286
287
 
287
- h1 {
288
+ h1, .h1 {
288
289
  font-size: 33px;
289
290
  font-weight: 500;
290
291
  margin: 0.67em 0;
@@ -293,31 +294,31 @@ h1 {
293
294
  }
294
295
 
295
296
 
296
- h2 {
297
+ h2, .h2 {
297
298
  font-size: 27px;
298
299
  color: $un-label;
299
300
  }
300
301
 
301
- h3 {
302
+ h3, .h3 {
302
303
  font-size: 24px;
303
304
  margin-top: 26px;
304
305
  color: $un-black;
305
306
  }
306
307
 
307
- h4 {
308
+ h4, .h4 {
308
309
  font-size: 18.2px;
309
310
  margin-bottom: 2px;
310
311
  color: $un-label;
311
312
  letter-spacing: 0.03em;
312
313
  }
313
314
 
314
- h5 {
315
+ h5, .h5 {
315
316
  font-size: 16.25px;
316
317
  color: $un-black;
317
318
  margin-bottom: 2px;
318
319
  }
319
320
 
320
- h6 {
321
+ h6, .h6 {
321
322
  font-size: 13px;
322
323
  color: $un-label;
323
324
  letter-spacing: 0.05em;
@@ -346,13 +347,14 @@ h6 {
346
347
  font-weight: 100;
347
348
  }*/
348
349
 
349
- .TermNum,
350
- .Terms,
351
- .AltTerms {
352
- color: $un-blue;
350
+ .TermNum {
353
351
  font-weight: 100;
354
352
  }
355
353
 
354
+ .TermNum, .Terms, .AltTerms {
355
+ color: $un-blue;
356
+ }
357
+
356
358
  h2.TermNum {
357
359
  margin-bottom: 0;
358
360
  }
@@ -606,7 +608,7 @@ p {
606
608
  margin-top: 1em;
607
609
  }
608
610
 
609
- h2 p {
611
+ h2 p, .h2 p {
610
612
  display: inline;
611
613
  }
612
614
 
@@ -790,7 +792,8 @@ To top button
790
792
  h1,
791
793
  h2,
792
794
  h3,
793
- h4 {
795
+ h4,
796
+ .h1, .h2, .h3, .h4 {
794
797
  page-break-after: avoid;
795
798
  margin-top: 1.2em;
796
799
  }
@@ -846,16 +849,16 @@ To top button
846
849
  margin-top: 2em;
847
850
  }
848
851
 
849
- h1 {
852
+ h1, .h1 {
850
853
  font-size: 1.5em;
851
854
  line-height: 1.5;
852
855
  }
853
856
 
854
- h2 {
857
+ h2, .h2 {
855
858
  font-size: 1.2em;
856
859
  }
857
860
 
858
- h3 {
861
+ h3, .h3 {
859
862
  font-size: 1em;
860
863
  }
861
864
 
@@ -17,7 +17,6 @@ $('#toggle').on('click', function(){
17
17
  else {
18
18
  $('nav').show();
19
19
  $('nav').animate({ 'left': '0px' }, 'slow');
20
- $('.container').animate({ 'padding-left': '360px' }, 'slow');
21
20
  }
22
21
  });
23
22
  </script>
@@ -314,7 +314,6 @@ p.Terms, li.Terms, div.Terms {
314
314
  mso-fareast-font-family: {{headerfont}};
315
315
  mso-bidi-font-family: {{headerfont}};
316
316
  mso-ansi-language: EN-GB;
317
- font-weight: bold;
318
317
  mso-bidi-font-weight: normal; }
319
318
 
320
319
  p.AltTerms, li.AltTerms, div.AltTerms {
@@ -314,7 +314,6 @@ p.Terms, li.Terms, div.Terms
314
314
  mso-fareast-font-family:$headerfont;
315
315
  mso-bidi-font-family:$headerfont;
316
316
  mso-ansi-language:EN-GB;
317
- font-weight:bold;
318
317
  mso-bidi-font-weight:normal;}
319
318
  p.AltTerms, li.AltTerms, div.AltTerms
320
319
  {mso-style-name:"AltTerm\(s\)";
@@ -366,7 +366,7 @@ span.blackgraphtx {
366
366
  div.figure, p.figure {
367
367
  text-align: center; }
368
368
 
369
- h1 {
369
+ h1, .h1 {
370
370
  mso-style-priority: 1;
371
371
  mso-style-unhide: no;
372
372
  mso-style-qformat: yes;
@@ -381,8 +381,6 @@ h1 {
381
381
  line-height: 13.5pt;
382
382
  mso-pagination: widow-orphan;
383
383
  page-break-after: avoid;
384
- mso-outline-level: 1;
385
- mso-list: l1 level1 lfo6;
386
384
  mso-hyphenate: none;
387
385
  tab-stops: 20.0pt list 21.6pt left 28.0pt;
388
386
  font-size: 13.0pt;
@@ -394,6 +392,10 @@ h1 {
394
392
  mso-fareast-language: JA;
395
393
  mso-bidi-font-weight: normal; }
396
394
 
395
+ h1 {
396
+ mso-outline-level: 1;
397
+ mso-list: l1 level1 lfo6; }
398
+
397
399
  h1.Annex {
398
400
  mso-style-priority: 1;
399
401
  mso-style-unhide: no;
@@ -450,7 +452,7 @@ h1.Annex {
450
452
  mso-fareast-language: JA;
451
453
  mso-bidi-font-weight: normal; }
452
454
 
453
- h2 {
455
+ h2, .h2 {
454
456
  mso-style-priority: 2;
455
457
  mso-style-unhide: no;
456
458
  mso-style-qformat: yes;
@@ -465,8 +467,6 @@ h2 {
465
467
  line-height: 12.5pt;
466
468
  mso-pagination: widow-orphan;
467
469
  page-break-after: avoid;
468
- mso-outline-level: 2;
469
- mso-list: l1 level2 lfo6;
470
470
  mso-hyphenate: none;
471
471
  tab-stops: 27.0pt 35.0pt;
472
472
  font-size: 12.0pt;
@@ -477,7 +477,11 @@ h2 {
477
477
  mso-fareast-language: JA;
478
478
  mso-bidi-font-weight: normal; }
479
479
 
480
- h3 {
480
+ h2 {
481
+ mso-outline-level: 2;
482
+ mso-list: l1 level2 lfo6; }
483
+
484
+ h3, .h3 {
481
485
  mso-style-priority: 3;
482
486
  mso-style-unhide: no;
483
487
  mso-style-qformat: yes;
@@ -493,8 +497,6 @@ h3 {
493
497
  line-height: 12.0pt;
494
498
  mso-pagination: widow-orphan;
495
499
  page-break-after: avoid;
496
- mso-outline-level: 3;
497
- mso-list: l1 level3 lfo6;
498
500
  mso-hyphenate: none;
499
501
  tab-stops: list 27.0pt left 44.0pt;
500
502
  font-size: 11.0pt;
@@ -504,7 +506,11 @@ h3 {
504
506
  mso-fareast-language: JA;
505
507
  mso-bidi-font-weight: normal; }
506
508
 
507
- h4 {
509
+ h3 {
510
+ mso-outline-level: 3;
511
+ mso-list: l1 level3 lfo6; }
512
+
513
+ h4, .h4 {
508
514
  mso-style-priority: 4;
509
515
  mso-style-unhide: no;
510
516
  mso-style-qformat: yes;
@@ -520,8 +526,6 @@ h4 {
520
526
  line-height: 12.0pt;
521
527
  mso-pagination: widow-orphan;
522
528
  page-break-after: avoid;
523
- mso-outline-level: 4;
524
- mso-list: l1 level4 lfo6;
525
529
  mso-hyphenate: none;
526
530
  tab-stops: 51.05pt 57.0pt 68.0pt;
527
531
  font-size: 11.0pt;
@@ -531,7 +535,11 @@ h4 {
531
535
  mso-fareast-language: JA;
532
536
  mso-bidi-font-weight: normal; }
533
537
 
534
- h5 {
538
+ h4 {
539
+ mso-outline-level: 4;
540
+ mso-list: l1 level4 lfo6; }
541
+
542
+ h5, .h5 {
535
543
  mso-style-priority: 5;
536
544
  mso-style-unhide: no;
537
545
  mso-style-qformat: yes;
@@ -547,8 +555,6 @@ h5 {
547
555
  line-height: 12.0pt;
548
556
  mso-pagination: widow-orphan;
549
557
  page-break-after: avoid;
550
- mso-outline-level: 5;
551
- mso-list: l1 level5 lfo6;
552
558
  mso-hyphenate: none;
553
559
  tab-stops: 51.05pt list 54.0pt;
554
560
  font-size: 11.0pt;
@@ -558,7 +564,11 @@ h5 {
558
564
  mso-fareast-language: JA;
559
565
  mso-bidi-font-weight: normal; }
560
566
 
561
- h6 {
567
+ h5 {
568
+ mso-outline-level: 5;
569
+ mso-list: l1 level5 lfo6; }
570
+
571
+ h6, .h6 {
562
572
  mso-style-priority: 6;
563
573
  mso-style-unhide: no;
564
574
  mso-style-qformat: yes;
@@ -574,8 +584,6 @@ h6 {
574
584
  line-height: 12.0pt;
575
585
  mso-pagination: widow-orphan;
576
586
  page-break-after: avoid;
577
- mso-outline-level: 6;
578
- mso-list: l1 level6 lfo6;
579
587
  mso-hyphenate: none;
580
588
  tab-stops: 51.05pt list 72.0pt;
581
589
  font-size: 11.0pt;
@@ -585,6 +593,10 @@ h6 {
585
593
  mso-fareast-language: JA;
586
594
  mso-bidi-font-weight: normal; }
587
595
 
596
+ h6 {
597
+ mso-outline-level: 6;
598
+ mso-list: l1 level6 lfo6; }
599
+
588
600
  p.MsoToc1, li.MsoToc1, div.MsoToc1 {
589
601
  mso-style-priority: 39;
590
602
  mso-style-unhide: no;