metanorma-un 0.6.11 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/un/basicdoc.rng +21 -4
- data/lib/asciidoctor/un/isodoc.rng +429 -76
- data/lib/asciidoctor/un/reqt.rng +23 -2
- data/lib/asciidoctor/un/un.rng +6 -16
- data/lib/isodoc/un/html/wordstyle.css +12 -1
- data/lib/isodoc/un/html/wordstyle.scss +12 -1
- data/lib/isodoc/un/un.plenary-attachment.xsl +196 -20
- data/lib/isodoc/un/un.plenary.xsl +196 -20
- data/lib/isodoc/un/un.recommendation.xsl +196 -20
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-unece.gemspec +1 -2
- metadata +5 -19
data/lib/asciidoctor/un/reqt.rng
CHANGED
@@ -58,6 +58,14 @@
|
|
58
58
|
<optional>
|
59
59
|
<attribute name="type"/>
|
60
60
|
</optional>
|
61
|
+
<optional>
|
62
|
+
<attribute name="tag"/>
|
63
|
+
</optional>
|
64
|
+
<optional>
|
65
|
+
<attribute name="multilingual-rendering">
|
66
|
+
<ref name="MultilingualRenderingType"/>
|
67
|
+
</attribute>
|
68
|
+
</optional>
|
61
69
|
<optional>
|
62
70
|
<ref name="reqtitle"/>
|
63
71
|
</optional>
|
@@ -101,7 +109,9 @@
|
|
101
109
|
</define>
|
102
110
|
<define name="label">
|
103
111
|
<element name="label">
|
104
|
-
<
|
112
|
+
<oneOrMore>
|
113
|
+
<ref name="TextElement"/>
|
114
|
+
</oneOrMore>
|
105
115
|
</element>
|
106
116
|
</define>
|
107
117
|
<define name="subject">
|
@@ -175,8 +185,19 @@
|
|
175
185
|
<data type="boolean"/>
|
176
186
|
</attribute>
|
177
187
|
</optional>
|
188
|
+
<optional>
|
189
|
+
<attribute name="tag"/>
|
190
|
+
</optional>
|
191
|
+
<optional>
|
192
|
+
<attribute name="multilingual-rendering">
|
193
|
+
<ref name="MultilingualRenderingType"/>
|
194
|
+
</attribute>
|
195
|
+
</optional>
|
178
196
|
<oneOrMore>
|
179
|
-
<
|
197
|
+
<choice>
|
198
|
+
<ref name="BasicBlock"/>
|
199
|
+
<ref name="component"/>
|
200
|
+
</choice>
|
180
201
|
</oneOrMore>
|
181
202
|
</define>
|
182
203
|
<define name="ObligationType">
|
data/lib/asciidoctor/un/un.rng
CHANGED
@@ -178,14 +178,9 @@
|
|
178
178
|
<ref name="section-title"/>
|
179
179
|
</optional>
|
180
180
|
<group>
|
181
|
-
<
|
182
|
-
<
|
183
|
-
|
184
|
-
</zeroOrMore>
|
185
|
-
<zeroOrMore>
|
186
|
-
<ref name="note"/>
|
187
|
-
</zeroOrMore>
|
188
|
-
</group>
|
181
|
+
<zeroOrMore>
|
182
|
+
<ref name="BasicBlock"/>
|
183
|
+
</zeroOrMore>
|
189
184
|
<zeroOrMore>
|
190
185
|
<choice>
|
191
186
|
<ref name="clause-subsection"/>
|
@@ -229,14 +224,9 @@
|
|
229
224
|
<ref name="section-title"/>
|
230
225
|
</optional>
|
231
226
|
<group>
|
232
|
-
<
|
233
|
-
<
|
234
|
-
|
235
|
-
</zeroOrMore>
|
236
|
-
<zeroOrMore>
|
237
|
-
<ref name="note"/>
|
238
|
-
</zeroOrMore>
|
239
|
-
</group>
|
227
|
+
<zeroOrMore>
|
228
|
+
<ref name="BasicBlock"/>
|
229
|
+
</zeroOrMore>
|
240
230
|
<zeroOrMore>
|
241
231
|
<choice>
|
242
232
|
<ref name="annex-subsection"/>
|
@@ -149,6 +149,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
149
149
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
|
150
150
|
mso-style-noshow: yes;
|
151
151
|
mso-style-unhide: no;
|
152
|
+
mso-style-name: "Comment Text";
|
152
153
|
margin: 0cm;
|
153
154
|
margin-bottom: .0001pt;
|
154
155
|
mso-pagination: widow-orphan;
|
@@ -369,6 +370,7 @@ h1 {
|
|
369
370
|
mso-style-priority: 1;
|
370
371
|
mso-style-unhide: no;
|
371
372
|
mso-style-qformat: yes;
|
373
|
+
mso-style-name: "Heading 1";
|
372
374
|
mso-style-link: "Heading 1 Char";
|
373
375
|
mso-style-next: Normal;
|
374
376
|
margin-top: 13.5pt;
|
@@ -452,6 +454,7 @@ h2 {
|
|
452
454
|
mso-style-priority: 2;
|
453
455
|
mso-style-unhide: no;
|
454
456
|
mso-style-qformat: yes;
|
457
|
+
mso-style-name: "Heading 2";
|
455
458
|
mso-style-parent: "Heading 1";
|
456
459
|
mso-style-link: "Heading 2 Char";
|
457
460
|
mso-style-next: Normal;
|
@@ -478,7 +481,8 @@ h3 {
|
|
478
481
|
mso-style-priority: 3;
|
479
482
|
mso-style-unhide: no;
|
480
483
|
mso-style-qformat: yes;
|
481
|
-
mso-style-
|
484
|
+
mso-style-name: "Heading 3";
|
485
|
+
mso-style-parent: "Heading 2";
|
482
486
|
mso-style-link: "Heading 3 Char";
|
483
487
|
mso-style-next: Normal;
|
484
488
|
margin-top: 3.0pt;
|
@@ -504,6 +508,7 @@ h4 {
|
|
504
508
|
mso-style-priority: 4;
|
505
509
|
mso-style-unhide: no;
|
506
510
|
mso-style-qformat: yes;
|
511
|
+
mso-style-name: "Heading 4";
|
507
512
|
mso-style-parent: "Heading 3";
|
508
513
|
mso-style-link: "Heading 4 Char";
|
509
514
|
mso-style-next: Normal;
|
@@ -530,6 +535,7 @@ h5 {
|
|
530
535
|
mso-style-priority: 5;
|
531
536
|
mso-style-unhide: no;
|
532
537
|
mso-style-qformat: yes;
|
538
|
+
mso-style-name: "Heading 5";
|
533
539
|
mso-style-parent: "Heading 4";
|
534
540
|
mso-style-link: "Heading 5 Char";
|
535
541
|
mso-style-next: Normal;
|
@@ -556,6 +562,7 @@ h6 {
|
|
556
562
|
mso-style-priority: 6;
|
557
563
|
mso-style-unhide: no;
|
558
564
|
mso-style-qformat: yes;
|
565
|
+
mso-style-name: "Heading 6";
|
559
566
|
mso-style-parent: "Heading 5";
|
560
567
|
mso-style-link: "Heading 6 Char";
|
561
568
|
mso-style-next: Normal;
|
@@ -581,6 +588,7 @@ h6 {
|
|
581
588
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
582
589
|
mso-style-priority: 39;
|
583
590
|
mso-style-unhide: no;
|
591
|
+
mso-style-name: "TOC 1";
|
584
592
|
mso-style-next: Normal;
|
585
593
|
margin-top: 6.0pt;
|
586
594
|
margin-right: 25.0pt;
|
@@ -603,6 +611,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
|
|
603
611
|
mso-style-noshow: yes;
|
604
612
|
mso-style-priority: 39;
|
605
613
|
mso-style-unhide: no;
|
614
|
+
mso-style-name: "TOC 2";
|
606
615
|
mso-style-parent: "TOC 1";
|
607
616
|
mso-style-next: Normal;
|
608
617
|
margin-top: 0cm;
|
@@ -626,6 +635,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
626
635
|
mso-style-noshow: yes;
|
627
636
|
mso-style-priority: 39;
|
628
637
|
mso-style-unhide: no;
|
638
|
+
mso-style-name: "TOC 3";
|
629
639
|
mso-style-parent: "TOC 2";
|
630
640
|
mso-style-next: Normal;
|
631
641
|
margin-top: 0cm;
|
@@ -647,6 +657,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
647
657
|
|
648
658
|
span.MsoFootnoteReference {
|
649
659
|
mso-style-priority: 99;
|
660
|
+
mso-style-name: "Footnote Reference";
|
650
661
|
vertical-align: super; }
|
651
662
|
|
652
663
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {
|
@@ -135,6 +135,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
135
135
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
136
136
|
{mso-style-noshow:yes;
|
137
137
|
mso-style-unhide:no;
|
138
|
+
mso-style-name:"Comment Text";
|
138
139
|
margin:0cm;
|
139
140
|
margin-bottom:.0001pt;
|
140
141
|
mso-pagination:widow-orphan;
|
@@ -338,6 +339,7 @@ h1
|
|
338
339
|
{mso-style-priority:1;
|
339
340
|
mso-style-unhide:no;
|
340
341
|
mso-style-qformat:yes;
|
342
|
+
mso-style-name:"Heading 1";
|
341
343
|
mso-style-link:"Heading 1 Char";
|
342
344
|
mso-style-next:Normal;
|
343
345
|
margin-top:13.5pt;
|
@@ -418,6 +420,7 @@ h2
|
|
418
420
|
{mso-style-priority:2;
|
419
421
|
mso-style-unhide:no;
|
420
422
|
mso-style-qformat:yes;
|
423
|
+
mso-style-name:"Heading 2";
|
421
424
|
mso-style-parent:"Heading 1";
|
422
425
|
mso-style-link:"Heading 2 Char";
|
423
426
|
mso-style-next:Normal;
|
@@ -443,7 +446,8 @@ h3
|
|
443
446
|
{mso-style-priority:3;
|
444
447
|
mso-style-unhide:no;
|
445
448
|
mso-style-qformat:yes;
|
446
|
-
mso-style-
|
449
|
+
mso-style-name:"Heading 3";
|
450
|
+
mso-style-parent:"Heading 2";
|
447
451
|
mso-style-link:"Heading 3 Char";
|
448
452
|
mso-style-next:Normal;
|
449
453
|
margin-top:3.0pt;
|
@@ -468,6 +472,7 @@ h4
|
|
468
472
|
{mso-style-priority:4;
|
469
473
|
mso-style-unhide:no;
|
470
474
|
mso-style-qformat:yes;
|
475
|
+
mso-style-name:"Heading 4";
|
471
476
|
mso-style-parent:"Heading 3";
|
472
477
|
mso-style-link:"Heading 4 Char";
|
473
478
|
mso-style-next:Normal;
|
@@ -493,6 +498,7 @@ h5
|
|
493
498
|
{mso-style-priority:5;
|
494
499
|
mso-style-unhide:no;
|
495
500
|
mso-style-qformat:yes;
|
501
|
+
mso-style-name:"Heading 5";
|
496
502
|
mso-style-parent:"Heading 4";
|
497
503
|
mso-style-link:"Heading 5 Char";
|
498
504
|
mso-style-next:Normal;
|
@@ -518,6 +524,7 @@ h6
|
|
518
524
|
{mso-style-priority:6;
|
519
525
|
mso-style-unhide:no;
|
520
526
|
mso-style-qformat:yes;
|
527
|
+
mso-style-name:"Heading 6";
|
521
528
|
mso-style-parent:"Heading 5";
|
522
529
|
mso-style-link:"Heading 6 Char";
|
523
530
|
mso-style-next:Normal;
|
@@ -542,6 +549,7 @@ h6
|
|
542
549
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
543
550
|
{mso-style-priority:39;
|
544
551
|
mso-style-unhide:no;
|
552
|
+
mso-style-name:"TOC 1";
|
545
553
|
mso-style-next:Normal;
|
546
554
|
margin-top:6.0pt;
|
547
555
|
margin-right:25.0pt;
|
@@ -563,6 +571,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
|
|
563
571
|
{mso-style-noshow:yes;
|
564
572
|
mso-style-priority:39;
|
565
573
|
mso-style-unhide:no;
|
574
|
+
mso-style-name:"TOC 2";
|
566
575
|
mso-style-parent:"TOC 1";
|
567
576
|
mso-style-next:Normal;
|
568
577
|
margin-top:0cm;
|
@@ -585,6 +594,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
585
594
|
{mso-style-noshow:yes;
|
586
595
|
mso-style-priority:39;
|
587
596
|
mso-style-unhide:no;
|
597
|
+
mso-style-name:"TOC 3";
|
588
598
|
mso-style-parent:"TOC 2";
|
589
599
|
mso-style-next:Normal;
|
590
600
|
margin-top:0cm;
|
@@ -605,6 +615,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
605
615
|
mso-bidi-font-weight:normal;}
|
606
616
|
span.MsoFootnoteReference
|
607
617
|
{mso-style-priority:99;
|
618
|
+
mso-style-name:"Footnote Reference";
|
608
619
|
vertical-align:super;}
|
609
620
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
610
621
|
{mso-style-noshow:yes;
|