metanorma-un 0.9.0 → 0.9.3
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/lib/isodoc/un/html/htmlstyle.css +6 -0
- data/lib/isodoc/un/html/htmlstyle.scss +1 -0
- data/lib/isodoc/un/html/unece.css +18 -12
- data/lib/isodoc/un/html/unece.scss +17 -10
- data/lib/isodoc/un/html/word_unece_titlepage.html +4 -4
- data/lib/isodoc/un/i18n.rb +1 -1
- data/lib/isodoc/un/presentation_xml_convert.rb +1 -1
- data/lib/isodoc/un/un.plenary-attachment.xsl +1343 -274
- data/lib/isodoc/un/un.plenary.xsl +1343 -274
- data/lib/isodoc/un/un.recommendation.xsl +1340 -271
- data/lib/isodoc/un/word_convert.rb +27 -21
- data/lib/metanorma/un/biblio.rng +134 -39
- data/lib/metanorma/un/isodoc.rng +16 -0
- data/lib/metanorma/un/version.rb +1 -1
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 7a19302629920120d5bd3ef41ad5caf321914a49faf45ddff3646b8f5e2224e2
         | 
| 4 | 
            +
              data.tar.gz: 7ffc87968fbd90b21ea9fdf3007f17db5695a48575284302bd79696b35ac0fce
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 65dbc51a9c7d6d3c3c5f08d4cbeed51c56ca86fd95a65f08ecf6a7a33baf6f2869ed7410c8820248d3aac77eeac40f84c26dec6a4e6823dde1e5af096611b470
         | 
| 7 | 
            +
              data.tar.gz: 84051bf8dce10c80c15a6fbf2bf7eeaf156264b8692a72316ec1a7684d6b48aabc73f35a3427bf0d3f7b7f6d32e1c7310d29aa8f60e7d91aca5f968d53edf873
         | 
| @@ -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,  | 
| 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,  | 
| 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 | 
            -
             | 
| 767 | 
            -
                    font-family:$bodyfont;}
         | 
| 774 | 
            +
                  }
         | 
| 768 775 |  | 
| 769 776 | 
             
            td.example p.MsoListParagraph {
         | 
| 770 777 | 
             
              font-size: $smallerfontsize;
         | 
| @@ -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: ',' %}
         | 
    
        data/lib/isodoc/un/i18n.rb
    CHANGED