metanorma-iso 2.0.6.1 → 2.0.7
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/iso/base_convert.rb +3 -3
 - data/lib/isodoc/iso/html/header-dis.html +391 -0
 - data/lib/isodoc/iso/html/isodoc-dis.css +4524 -0
 - data/lib/isodoc/iso/html/isodoc-dis.scss +4289 -0
 - data/lib/isodoc/iso/html/word_iso_intro-dis.html +7 -0
 - data/lib/isodoc/iso/html/word_iso_titlepage-dis.html +51 -0
 - data/lib/isodoc/iso/html/wordstyle-dis.css +2160 -0
 - data/lib/isodoc/iso/html/wordstyle-dis.scss +2011 -0
 - data/lib/isodoc/iso/index.rb +7 -4
 - data/lib/isodoc/iso/iso.amendment.xsl +27 -5
 - data/lib/isodoc/iso/iso.international-standard.xsl +27 -5
 - data/lib/isodoc/iso/metadata.rb +5 -12
 - data/lib/isodoc/iso/sts_convert.rb +8 -3
 - data/lib/isodoc/iso/word_convert.rb +12 -0
 - data/lib/metanorma/iso/version.rb +1 -1
 - data/spec/isodoc/ref_spec.rb +11 -7
 - data/spec/metanorma/amd_spec.rb +6 -7
 - data/spec/vcr_cassettes/docrels.yml +35 -43
 - data/spec/vcr_cassettes/withdrawn_iso.yml +26 -32
 - metadata +9 -2
 
| 
         @@ -0,0 +1,51 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {% if tc_docnumber.size > 0 %}
         
     | 
| 
      
 2 
     | 
    
         
            +
            {% for num in tc_docnumber %}
         
     | 
| 
      
 3 
     | 
    
         
            +
            <p class="zzCover"><span lang="EN-GB">Reference number of working document: {{agency}}/{{tc}} {{ num }}</span><span lang="EN-GB"><o:p></o:p></span></p>
         
     | 
| 
      
 4 
     | 
    
         
            +
            {% endfor %}
         
     | 
| 
      
 5 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            {% if revdate %}
         
     | 
| 
      
 8 
     | 
    
         
            +
            <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB">Date: <span style='mso-no-proof:yes'>{{ revdate }}</span></span></p>
         
     | 
| 
      
 9 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            <p class="zzCover"><span lang="EN-GB">Reference number of project: {{ docnumber_lang }} {{ draftinfo }}</span></p>
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            <p class="zzCover"><span lang="EN-GB">Committee identification: {{agency}}/{{ editorialgroup | join: "/" }}</span></p>
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            {% if doctitleamdlabel %}
         
     | 
| 
      
 16 
     | 
    
         
            +
            <p class="zzCover"><b>{{ doctitleamdlabel }}</b></p>
         
     | 
| 
      
 17 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            {% if doctitlecorrlabel %}
         
     | 
| 
      
 20 
     | 
    
         
            +
            <p class="zzCover"><b>{{ doctitlecorrlabel }}</b></p>
         
     | 
| 
      
 21 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            {% if secretariat %}
         
     | 
| 
      
 24 
     | 
    
         
            +
            <p class="zzCover"><span lang="EN-GB">Secretariat: <span>{{ secretariat }}</span></span></p>
         
     | 
| 
      
 25 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            <p class="zzCover">
         
     | 
| 
      
 28 
     | 
    
         
            +
            <span lang="EN-GB">{{ doctitleintro }}{% if doctitleintro and doctitlemain %} — {% endif %}{{ doctitlemain }}{% if doctitlemain and doctitlepart %} — {% endif %}{% if doctitlepart %}{% if doctitlepartlabel %}{{ doctitlepartlabel }}: {% endif %}{{ doctitlepart }}</span>{% endif %}
         
     | 
| 
      
 29 
     | 
    
         
            +
            </p>
         
     | 
| 
      
 30 
     | 
    
         
            +
            {% if doctitleamdlabel %}
         
     | 
| 
      
 31 
     | 
    
         
            +
            <p class="zzCover">{{ doctitleamdlabel }}{% if doctitleamd %}: {{ doctitleamd }}{% endif %}</p>
         
     | 
| 
      
 32 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 33 
     | 
    
         
            +
            {% if doctitlecorrlabel %}
         
     | 
| 
      
 34 
     | 
    
         
            +
            <p class="zzCover">{{ doctitlecorrlabel }}</p>
         
     | 
| 
      
 35 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            <p class="zzCover">{{ docsubtitleintro }}{% if docsubtitleintro and docsubtitlemain %} — {% endif %}{{ docsubtitlemain }}{% if docsubtitlemain and docsubtitlepart %} — {% endif %}{% if docsubtitlepart %}{% if docsubtitlepartlabel %}{{ docsubtitlepartlabel }}: {% endif %}{{ docsubtitlepart }}{% endif %}
         
     | 
| 
      
 38 
     | 
    
         
            +
            </p>
         
     | 
| 
      
 39 
     | 
    
         
            +
            {% if docsubtitleamdlabel %}
         
     | 
| 
      
 40 
     | 
    
         
            +
            <p class="zzCover">{{ docsubtitleamdlabel }}{% if docsubtitleamd %}: {{ docsubtitleamd }}{% endif %}</p>
         
     | 
| 
      
 41 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 42 
     | 
    
         
            +
            {% if docsubtitlecorrlabel %}
         
     | 
| 
      
 43 
     | 
    
         
            +
            <p class="zzCover">{{ docsubtitlecorrlabel }}</p>
         
     | 
| 
      
 44 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 45 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            <!--</div>-->
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
             
     |