metanorma-un 0.9.12 → 0.10.0

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: 2a6c281824f078936a2b881891ea6eb6986bbc13e5f6dfcdf0c491afe4809ad9
4
- data.tar.gz: bd04e7c40788f7740898a032785f053b2f0fdc4923244329c2c220826567f1d7
3
+ metadata.gz: c1f88faecab823265a04683e0cb537559854d1305ff1131b1406f5485f8f84cc
4
+ data.tar.gz: f3296a9d4c51493ac3fdf9272c98fabafc090c7722aa31044ef80d90d98107f1
5
5
  SHA512:
6
- metadata.gz: 50777f8af8469db384484c93ed2aed4a9f257993235773dfd57e4ac83240da12ea422b7d5f035b9cf7a32e20b12db1ac5f7020b37014f96429711b1f4c4ed176
7
- data.tar.gz: 53ca280f48bc9f9ac05478088b41ad1382144e68114286ef6978a9e38f8b677979ca6363c4238d36afa5fa63d7621f9c92665cd8aee2c1a8177c07f6945ef6c9
6
+ metadata.gz: 8acc09d4a9cec681e329578ab3262956ade90bcadd9718be93fa4dfdd3a952d2c509a9655f743419572256edee2372be511fd7eef20c096f9d6dc8aeaf8c1fec
7
+ data.tar.gz: 7028049467e75c46e9aa2e3b17b625f06c440f13f5a3319596b3ba98d7a429d27e7516559c332d73f4052f98a3deede370860b2e98efab1a22069cbff661d436
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  .rubocop-https--*
4
4
 
5
5
  /.rspec_status
6
- /Gemfile.devel
7
6
  /Gemfile.lock
8
7
  /coverage/
9
8
  /test.doc
@@ -284,6 +284,12 @@ p {
284
284
  padding-left: 30px; }
285
285
  #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
286
286
  padding-left: 50px; }
287
+ #toc .h4, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h4 {
288
+ padding-left: 70px; }
289
+ #toc .h5, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h5 {
290
+ padding-left: 90px; }
291
+ #toc .h6, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h6 {
292
+ padding-left: 110px; }
287
293
  #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
288
294
  background: #1661ad;
289
295
  box-shadow: inset -5px 0px 10px -5px #1661ad !important; }
@@ -667,6 +667,156 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
667
667
  mso-ansi-language: EN-GB;
668
668
  mso-bidi-font-weight: normal; }
669
669
 
670
+ p.MsoToc4, li.MsoToc4, div.MsoToc4 {
671
+ mso-style-noshow: yes;
672
+ mso-style-priority: 39;
673
+ mso-style-unhide: no;
674
+ mso-style-name: "TOC 4";
675
+ mso-style-parent: "TOC 3";
676
+ mso-style-next: Normal;
677
+ margin-top: 0cm;
678
+ margin-right: 25.0pt;
679
+ margin-bottom: 0cm;
680
+ margin-left: 36.0pt;
681
+ margin-bottom: .0001pt;
682
+ text-indent: -36.0pt;
683
+ line-height: 12.0pt;
684
+ mso-pagination: widow-orphan;
685
+ mso-hyphenate: none;
686
+ tab-stops: 20.15pt 47.9pt right dotted 487.6pt;
687
+ font-size: 10.5pt;
688
+ font-family: {{bodyfont}};
689
+ mso-fareast-font-family: {{bodyfont}};
690
+ mso-bidi-font-family: {{bodyfont}};
691
+ mso-ansi-language: EN-GB;
692
+ font-weight: bold;
693
+ mso-bidi-font-weight: normal; }
694
+
695
+ p.MsoToc5, li.MsoToc5, div.MsoToc5 {
696
+ mso-style-noshow: yes;
697
+ mso-style-priority: 39;
698
+ mso-style-unhide: no;
699
+ mso-style-name: "TOC 5";
700
+ mso-style-parent: "TOC 4";
701
+ mso-style-next: Normal;
702
+ margin-top: 0cm;
703
+ margin-right: 25.0pt;
704
+ margin-bottom: 0cm;
705
+ margin-left: 36.0pt;
706
+ margin-bottom: .0001pt;
707
+ text-indent: -36.0pt;
708
+ line-height: 12.0pt;
709
+ mso-pagination: widow-orphan;
710
+ mso-hyphenate: none;
711
+ tab-stops: 20.15pt 47.9pt right dotted 487.6pt;
712
+ font-size: 10.5pt;
713
+ font-family: {{bodyfont}};
714
+ mso-fareast-font-family: {{bodyfont}};
715
+ mso-bidi-font-family: {{bodyfont}};
716
+ mso-ansi-language: EN-GB;
717
+ font-weight: bold;
718
+ mso-bidi-font-weight: normal; }
719
+
720
+ p.MsoToc6, li.MsoToc6, div.MsoToc6 {
721
+ mso-style-noshow: yes;
722
+ mso-style-priority: 39;
723
+ mso-style-unhide: no;
724
+ mso-style-name: "TOC 6";
725
+ mso-style-parent: "TOC 5";
726
+ mso-style-next: Normal;
727
+ margin-top: 0cm;
728
+ margin-right: 25.0pt;
729
+ margin-bottom: 0cm;
730
+ margin-left: 36.0pt;
731
+ margin-bottom: .0001pt;
732
+ text-indent: -36.0pt;
733
+ line-height: 12.0pt;
734
+ mso-pagination: widow-orphan;
735
+ mso-hyphenate: none;
736
+ tab-stops: 20.15pt 55.0pt right dotted 487.6pt;
737
+ font-size: 10.5pt;
738
+ font-family: {{bodyfont}};
739
+ mso-fareast-font-family: {{bodyfont}};
740
+ mso-bidi-font-family: {{bodyfont}};
741
+ mso-ansi-language: EN-GB;
742
+ font-weight: bold;
743
+ mso-bidi-font-weight: normal; }
744
+
745
+ p.MsoToc7, li.MsoToc7, div.MsoToc7 {
746
+ mso-style-noshow: yes;
747
+ mso-style-priority: 39;
748
+ mso-style-unhide: no;
749
+ mso-style-name: "TOC 7";
750
+ mso-style-parent: "TOC 6";
751
+ mso-style-next: Normal;
752
+ margin-top: 0cm;
753
+ margin-right: 25.0pt;
754
+ margin-bottom: 0cm;
755
+ margin-left: 36.0pt;
756
+ margin-bottom: .0001pt;
757
+ text-indent: -36.0pt;
758
+ line-height: 12.0pt;
759
+ mso-pagination: widow-orphan;
760
+ mso-hyphenate: none;
761
+ tab-stops: 20.15pt 62.7pt right dotted 487.6pt;
762
+ font-size: 10.5pt;
763
+ font-family: {{bodyfont}};
764
+ mso-fareast-font-family: {{bodyfont}};
765
+ mso-bidi-font-family: {{bodyfont}};
766
+ mso-ansi-language: EN-GB;
767
+ font-weight: bold;
768
+ mso-bidi-font-weight: normal; }
769
+
770
+ p.MsoToc8, li.MsoToc8, div.MsoToc8 {
771
+ mso-style-noshow: yes;
772
+ mso-style-priority: 39;
773
+ mso-style-unhide: no;
774
+ mso-style-name: "TOC 8";
775
+ mso-style-parent: "TOC 7";
776
+ mso-style-next: Normal;
777
+ margin-top: 0cm;
778
+ margin-right: 25.0pt;
779
+ margin-bottom: 0cm;
780
+ margin-left: 36.0pt;
781
+ margin-bottom: .0001pt;
782
+ text-indent: -36.0pt;
783
+ line-height: 12.0pt;
784
+ mso-pagination: widow-orphan;
785
+ mso-hyphenate: none;
786
+ tab-stops: 20.15pt 70.3pt right dotted 487.6pt;
787
+ font-size: 10.5pt;
788
+ font-family: {{bodyfont}};
789
+ mso-fareast-font-family: {{bodyfont}};
790
+ mso-bidi-font-family: {{bodyfont}};
791
+ mso-ansi-language: EN-GB;
792
+ font-weight: bold;
793
+ mso-bidi-font-weight: normal; }
794
+
795
+ p.MsoToc9, li.MsoToc9, div.MsoToc9 {
796
+ mso-style-noshow: yes;
797
+ mso-style-priority: 39;
798
+ mso-style-unhide: no;
799
+ mso-style-name: "TOC 9";
800
+ mso-style-parent: "TOC 8";
801
+ mso-style-next: Normal;
802
+ margin-top: 0cm;
803
+ margin-right: 25.0pt;
804
+ margin-bottom: 0cm;
805
+ margin-left: 36.0pt;
806
+ margin-bottom: .0001pt;
807
+ text-indent: -36.0pt;
808
+ line-height: 12.0pt;
809
+ mso-pagination: widow-orphan;
810
+ mso-hyphenate: none;
811
+ tab-stops: 20.15pt 78.0pt right dotted 487.6pt;
812
+ font-size: 10.5pt;
813
+ font-family: {{bodyfont}};
814
+ mso-fareast-font-family: {{bodyfont}};
815
+ mso-bidi-font-family: {{bodyfont}};
816
+ mso-ansi-language: EN-GB;
817
+ font-weight: bold;
818
+ mso-bidi-font-weight: normal; }
819
+
670
820
  span.MsoFootnoteReference {
671
821
  mso-style-priority: 99;
672
822
  mso-style-name: "Footnote Reference";
@@ -625,6 +625,150 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
625
625
  mso-bidi-font-family:$bodyfont;
626
626
  mso-ansi-language:EN-GB;
627
627
  mso-bidi-font-weight:normal;}
628
+ p.MsoToc4, li.MsoToc4, div.MsoToc4
629
+ {mso-style-noshow:yes;
630
+ mso-style-priority:39;
631
+ mso-style-unhide:no;
632
+ mso-style-name:"TOC 4";
633
+ mso-style-parent:"TOC 3";
634
+ mso-style-next:Normal;
635
+ margin-top:0cm;
636
+ margin-right:25.0pt;
637
+ margin-bottom:0cm;
638
+ margin-left:36.0pt;
639
+ margin-bottom:.0001pt;
640
+ text-indent:-36.0pt;
641
+ line-height:12.0pt;
642
+ mso-pagination:widow-orphan;
643
+ mso-hyphenate:none;
644
+ tab-stops:20.15pt 47.9pt right dotted 487.6pt;
645
+ font-size:10.5pt;
646
+ font-family:$bodyfont;
647
+ mso-fareast-font-family:$bodyfont;
648
+ mso-bidi-font-family:$bodyfont;
649
+ mso-ansi-language:EN-GB;
650
+ font-weight:bold;
651
+ mso-bidi-font-weight:normal;}
652
+ p.MsoToc5, li.MsoToc5, div.MsoToc5
653
+ {mso-style-noshow:yes;
654
+ mso-style-priority:39;
655
+ mso-style-unhide:no;
656
+ mso-style-name:"TOC 5";
657
+ mso-style-parent:"TOC 4";
658
+ mso-style-next:Normal;
659
+ margin-top:0cm;
660
+ margin-right:25.0pt;
661
+ margin-bottom:0cm;
662
+ margin-left:36.0pt;
663
+ margin-bottom:.0001pt;
664
+ text-indent:-36.0pt;
665
+ line-height:12.0pt;
666
+ mso-pagination:widow-orphan;
667
+ mso-hyphenate:none;
668
+ tab-stops:20.15pt 47.9pt right dotted 487.6pt;
669
+ font-size:10.5pt;
670
+ font-family:$bodyfont;
671
+ mso-fareast-font-family:$bodyfont;
672
+ mso-bidi-font-family:$bodyfont;
673
+ mso-ansi-language:EN-GB;
674
+ font-weight:bold;
675
+ mso-bidi-font-weight:normal;}
676
+ p.MsoToc6, li.MsoToc6, div.MsoToc6
677
+ {mso-style-noshow:yes;
678
+ mso-style-priority:39;
679
+ mso-style-unhide:no;
680
+ mso-style-name:"TOC 6";
681
+ mso-style-parent:"TOC 5";
682
+ mso-style-next:Normal;
683
+ margin-top:0cm;
684
+ margin-right:25.0pt;
685
+ margin-bottom:0cm;
686
+ margin-left:36.0pt;
687
+ margin-bottom:.0001pt;
688
+ text-indent:-36.0pt;
689
+ line-height:12.0pt;
690
+ mso-pagination:widow-orphan;
691
+ mso-hyphenate:none;
692
+ tab-stops:20.15pt 55.0pt right dotted 487.6pt;
693
+ font-size:10.5pt;
694
+ font-family:$bodyfont;
695
+ mso-fareast-font-family:$bodyfont;
696
+ mso-bidi-font-family:$bodyfont;
697
+ mso-ansi-language:EN-GB;
698
+ font-weight:bold;
699
+ mso-bidi-font-weight:normal;}
700
+ p.MsoToc7, li.MsoToc7, div.MsoToc7
701
+ {mso-style-noshow:yes;
702
+ mso-style-priority:39;
703
+ mso-style-unhide:no;
704
+ mso-style-name:"TOC 7";
705
+ mso-style-parent:"TOC 6";
706
+ mso-style-next:Normal;
707
+ margin-top:0cm;
708
+ margin-right:25.0pt;
709
+ margin-bottom:0cm;
710
+ margin-left:36.0pt;
711
+ margin-bottom:.0001pt;
712
+ text-indent:-36.0pt;
713
+ line-height:12.0pt;
714
+ mso-pagination:widow-orphan;
715
+ mso-hyphenate:none;
716
+ tab-stops:20.15pt 62.7pt right dotted 487.6pt;
717
+ font-size:10.5pt;
718
+ font-family:$bodyfont;
719
+ mso-fareast-font-family:$bodyfont;
720
+ mso-bidi-font-family:$bodyfont;
721
+ mso-ansi-language:EN-GB;
722
+ font-weight:bold;
723
+ mso-bidi-font-weight:normal;}
724
+ p.MsoToc8, li.MsoToc8, div.MsoToc8
725
+ {mso-style-noshow:yes;
726
+ mso-style-priority:39;
727
+ mso-style-unhide:no;
728
+ mso-style-name:"TOC 8";
729
+ mso-style-parent:"TOC 7";
730
+ mso-style-next:Normal;
731
+ margin-top:0cm;
732
+ margin-right:25.0pt;
733
+ margin-bottom:0cm;
734
+ margin-left:36.0pt;
735
+ margin-bottom:.0001pt;
736
+ text-indent:-36.0pt;
737
+ line-height:12.0pt;
738
+ mso-pagination:widow-orphan;
739
+ mso-hyphenate:none;
740
+ tab-stops:20.15pt 70.3pt right dotted 487.6pt;
741
+ font-size:10.5pt;
742
+ font-family:$bodyfont;
743
+ mso-fareast-font-family:$bodyfont;
744
+ mso-bidi-font-family:$bodyfont;
745
+ mso-ansi-language:EN-GB;
746
+ font-weight:bold;
747
+ mso-bidi-font-weight:normal;}
748
+ p.MsoToc9, li.MsoToc9, div.MsoToc9
749
+ {mso-style-noshow:yes;
750
+ mso-style-priority:39;
751
+ mso-style-unhide:no;
752
+ mso-style-name:"TOC 9";
753
+ mso-style-parent:"TOC 8";
754
+ mso-style-next:Normal;
755
+ margin-top:0cm;
756
+ margin-right:25.0pt;
757
+ margin-bottom:0cm;
758
+ margin-left:36.0pt;
759
+ margin-bottom:.0001pt;
760
+ text-indent:-36.0pt;
761
+ line-height:12.0pt;
762
+ mso-pagination:widow-orphan;
763
+ mso-hyphenate:none;
764
+ tab-stops:20.15pt 78.0pt right dotted 487.6pt;
765
+ font-size:10.5pt;
766
+ font-family:$bodyfont;
767
+ mso-fareast-font-family:$bodyfont;
768
+ mso-bidi-font-family:$bodyfont;
769
+ mso-ansi-language:EN-GB;
770
+ font-weight:bold;
771
+ mso-bidi-font-weight:normal;}
628
772
  span.MsoFootnoteReference
629
773
  {mso-style-priority:99;
630
774
  mso-style-name:"Footnote Reference";
@@ -34,7 +34,7 @@ module IsoDoc
34
34
  def annex1(elem)
35
35
  lbl = @xrefs.anchor(elem["id"], :label)
36
36
  if t = elem.at(ns("./title"))
37
- t.children = "<strong>#{t.children.to_xml}</strong>"
37
+ t.children = "<strong>#{to_xml(t.children)}</strong>"
38
38
  end
39
39
  prefix_name(elem, "<br/>", lbl, "title")
40
40
  end