metanorma-jis 0.0.1
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 +7 -0
- data/.hound.yml +5 -0
- data/.rubocop.yml +10 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +12 -0
- data/LICENSE +25 -0
- data/README.adoc +81 -0
- data/lib/html2doc/lists.rb +166 -0
- data/lib/isodoc/jis/base_convert.rb +41 -0
- data/lib/isodoc/jis/html/header.html +934 -0
- data/lib/isodoc/jis/html/html_jis_intro.html +8 -0
- data/lib/isodoc/jis/html/html_jis_titlepage.html +79 -0
- data/lib/isodoc/jis/html/htmlstyle.css +47 -0
- data/lib/isodoc/jis/html/htmlstyle.scss +45 -0
- data/lib/isodoc/jis/html/isodoc.css +12080 -0
- data/lib/isodoc/jis/html/isodoc.scss +11551 -0
- data/lib/isodoc/jis/html/style-human.css +1107 -0
- data/lib/isodoc/jis/html/style-human.scss +783 -0
- data/lib/isodoc/jis/html/style-iso.css +1133 -0
- data/lib/isodoc/jis/html/style-iso.scss +800 -0
- data/lib/isodoc/jis/html/word_jis_intro.html +14 -0
- data/lib/isodoc/jis/html/word_jis_titlepage.html +128 -0
- data/lib/isodoc/jis/html/wordstyle.css +3477 -0
- data/lib/isodoc/jis/html/wordstyle.scss +3378 -0
- data/lib/isodoc/jis/html_convert.rb +37 -0
- data/lib/isodoc/jis/i18n-ja.yaml +214 -0
- data/lib/isodoc/jis/i18n.rb +15 -0
- data/lib/isodoc/jis/init.rb +34 -0
- data/lib/isodoc/jis/metadata.rb +52 -0
- data/lib/isodoc/jis/pdf_convert.rb +17 -0
- data/lib/isodoc/jis/presentation_xml_convert.rb +11 -0
- data/lib/isodoc/jis/word_convert.rb +153 -0
- data/lib/isodoc/jis/xref.rb +6 -0
- data/lib/metanorma/jis/basicdoc.rng +1125 -0
- data/lib/metanorma/jis/biblio-standoc.rng +164 -0
- data/lib/metanorma/jis/biblio.rng +1461 -0
- data/lib/metanorma/jis/converter.rb +71 -0
- data/lib/metanorma/jis/front.rb +51 -0
- data/lib/metanorma/jis/isodoc.rng +2450 -0
- data/lib/metanorma/jis/isostandard.rng +316 -0
- data/lib/metanorma/jis/jis.rng +63 -0
- data/lib/metanorma/jis/processor.rb +53 -0
- data/lib/metanorma/jis/relaton-jis.rng +231 -0
- data/lib/metanorma/jis/reqt.rng +226 -0
- data/lib/metanorma/jis/version.rb +6 -0
- data/lib/metanorma/jis.rb +6 -0
- data/lib/metanorma-jis.rb +16 -0
- data/metanorma-jis.gemspec +49 -0
- metadata +303 -0
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            <div style='mso-element:para-border-div;border:solid windowtext 1.0pt;
         | 
| 2 | 
            +
            border-bottom-alt:solid windowtext .5pt;mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:
         | 
| 3 | 
            +
            solid windowtext .5pt;mso-border-right-alt:solid windowtext .5pt;padding:1.0pt 4.0pt 0cm 4.0pt;
         | 
| 4 | 
            +
            margin-left:5.1pt;margin-right:5.1pt'>
         | 
| 5 | 
            +
            <div id="boilerplate-copyright-destination"/>
         | 
| 6 | 
            +
            </div>
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            {% if doctype == "Amendment" or doctype == "Technical Corrigendum" %}
         | 
| 9 | 
            +
            {% else %}
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            <p class="zzContents" style='margin-top:0cm'><span lang="EN-GB">{{ labels["table_of_contents"] }}</span></p>
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            WORDTOC
         | 
| 14 | 
            +
            {% endif %}
         | 
| @@ -0,0 +1,128 @@ | |
| 1 | 
            +
            {% if tc_docnumber.size > 0 %}
         | 
| 2 | 
            +
            {% for num in tc_docnumber %}
         | 
| 3 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><b style='mso-bidi-font-weight:
         | 
| 4 | 
            +
            normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{ num }}</span></b><b
         | 
| 5 | 
            +
            style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'><o:p></o:p></span></b></p>
         | 
| 6 | 
            +
            {% endfor %}
         | 
| 7 | 
            +
            {% else %}
         | 
| 8 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><b style='mso-bidi-font-weight:
         | 
| 9 | 
            +
            normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{ docnumber_undated }} {{ draftinfo }}</span></b><b
         | 
| 10 | 
            +
            style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'><o:p></o:p></span></b></p>
         | 
| 11 | 
            +
            {% endif %}
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            {% if tc_docnumber.size > 0 %}
         | 
| 14 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB" style='mso-no-proof:yes'>{{ docnumber_undated }} {{ draftinfo }}</span></p>
         | 
| 15 | 
            +
            {% endif %}
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            {% if doctitleamdlabel %}
         | 
| 18 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><b>{{ doctitleamdlabel }}</b></p>
         | 
| 19 | 
            +
            {% endif %}
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            {% if doctitlecorrlabel %}
         | 
| 22 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><b>{{ doctitlecorrlabel }}</b></p>
         | 
| 23 | 
            +
            {% endif %}
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
         | 
| 26 | 
            +
            style='mso-no-proof:yes'>{{ editorialgroup }}</span></p>
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            {% if secretariat %}
         | 
| 29 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB">{{ labels["secretariat"] }}: <span style='mso-no-proof:yes'>{{ secretariat }}</span></span></p>
         | 
| 30 | 
            +
            {% endif %}
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            {% if edition_display %}
         | 
| 33 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB">{{ edition_display | capitalize }}</span></p>
         | 
| 34 | 
            +
            {% endif %}
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            {% if revdate %}
         | 
| 37 | 
            +
            <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB">{{ labels["date"] }}: <span style='mso-no-proof:yes'>{{ revdate }}</span></span></p>
         | 
| 38 | 
            +
            {% endif %}
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            <p class="MsoNormal" align="left" style='text-align:left;line-height:18.0pt;margin-top:100.0pt;margin-bottom:0.0pt;font-size:16.0pt'>
         | 
| 41 | 
            +
            <span class="title"><b>{{ doctitleintro }}{% if doctitleintro and doctitlemain %} — {% endif %}</b></span><b><span class="subtitle">{{ doctitlemain }}{% if doctitlemain and doctitlepart %} —{% endif %}</b></span>
         | 
| 42 | 
            +
              {% if doctitlepart %}
         | 
| 43 | 
            +
            {% if doctitlepartlabel %}<span class="partlabel">{{ doctitlepartlabel }}: </span><br/>{% endif %}
         | 
| 44 | 
            +
            <span class="part"><b>{{ doctitlepart }}</b></span>
         | 
| 45 | 
            +
            {% endif %}
         | 
| 46 | 
            +
            </p>
         | 
| 47 | 
            +
            {% if doctitleamdlabel %}
         | 
| 48 | 
            +
            <p class="MsoNormal" style='text-align:left;line-height:18.0pt;margin-bottom:0.0pt;margin-top:6.0pt;font-size:16.0pt'>{{ doctitleamdlabel }}{% if doctitleamd %}: {{ doctitleamd }}{% endif %}</p>
         | 
| 49 | 
            +
            {% endif %}
         | 
| 50 | 
            +
            {% if doctitlecorrlabel %}
         | 
| 51 | 
            +
            <p class="MsoNormal" style='text-align:left;line-height:18.0pt;margin-bottom:0.0pt;margin-top:6.0pt;font-size:16.0pt'>{{ doctitlecorrlabel }}</p>
         | 
| 52 | 
            +
            {% endif %}
         | 
| 53 | 
            +
             | 
| 54 | 
            +
            {% if unpublished %}
         | 
| 55 | 
            +
            {% else %}
         | 
| 56 | 
            +
            <br/>
         | 
| 57 | 
            +
            <p class="MsoNormal" align="left" style='text-align:left;line-height:18.0pt;margin-bottom:0.0pt;font-size:16.0pt'>
         | 
| 58 | 
            +
            <span class="title">{{ docsubtitleintro }}{% if docsubtitleintro and docsubtitlemain %} — {% endif %}</span><span class="subtitle">{{ docsubtitlemain }}{% if docsubtitlemain and docsubtitlepart %} —{% endif %}</span>
         | 
| 59 | 
            +
              {% if docsubtitlepart %}
         | 
| 60 | 
            +
            {% if docsubtitlepartlabel %}<span class="partlabel">{{ docsubtitlepartlabel }}: </span><br/>{% endif %}
         | 
| 61 | 
            +
            <span class="part">{{ docsubtitlepart }}</span>
         | 
| 62 | 
            +
            {% endif %}
         | 
| 63 | 
            +
            </p>
         | 
| 64 | 
            +
            {% if docsubtitleamdlabel %}
         | 
| 65 | 
            +
            <p class="MsoNormal" style='text-align:left;line-height:18.0pt;margin-bottom:0.0pt;margin-top:6.0pt;font-size:16.0pt'>{{ docsubtitleamdlabel }}{% if docsubtitleamd %}: {{ docsubtitleamd }}{% endif %}</p>
         | 
| 66 | 
            +
            {% endif %}
         | 
| 67 | 
            +
            {% if docsubtitlecorrlabel %}
         | 
| 68 | 
            +
            <p class="MsoNormal" style='text-align:left;line-height:18.0pt;margin-bottom:0.0pt;margin-top:6.0pt;font-size:16.0pt'>{{ docsubtitlecorrlabel }}</p>
         | 
| 69 | 
            +
            {% endif %}
         | 
| 70 | 
            +
            {% endif %}
         | 
| 71 | 
            +
             | 
| 72 | 
            +
             | 
| 73 | 
            +
             | 
| 74 | 
            +
            <p class="MsoNormal" style='margin-top:100.0pt'><span lang="EN-GB"><o:p> </o:p></span></p>
         | 
| 75 | 
            +
            {% if unpublished %}
         | 
| 76 | 
            +
            <div style='mso-element:para-border-div;border:solid windowtext 1.0pt;
         | 
| 77 | 
            +
            mso-border-alt:solid windowtext .5pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;
         | 
| 78 | 
            +
            margin-left:4.25pt;margin-right:4.25pt'>
         | 
| 79 | 
            +
             | 
| 80 | 
            +
            <p class="MsoNormal" align="center" style='text-align:center;border:none;
         | 
| 81 | 
            +
            mso-border-alt:solid windowtext .5pt;padding:0cm;mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt'><span
         | 
| 82 | 
            +
            lang="EN-GB" style='font-size:40.0pt'>{{ stageabbr }} stage<o:p></o:p></span></p>
         | 
| 83 | 
            +
             | 
| 84 | 
            +
            </div>
         | 
| 85 | 
            +
            {% else %}
         | 
| 86 | 
            +
            <p class="MsoNormal" align="center" style='text-align:center;border:none;'><span
         | 
| 87 | 
            +
            lang="EN-GB" style='font-size:40.0pt'><o:p></o:p></span></p>
         | 
| 88 | 
            +
            {% endif %}
         | 
| 89 | 
            +
             | 
| 90 | 
            +
            <p class="MsoNormal" style='margin-bottom:6.0pt'><span lang="EN-GB"><o:p> </o:p></span></p>
         | 
| 91 | 
            +
             | 
| 92 | 
            +
            {% if unpublished %}
         | 
| 93 | 
            +
            <!--
         | 
| 94 | 
            +
            <div style='mso-element:para-border-div;border:solid windowtext 1.0pt;
         | 
| 95 | 
            +
            mso-border-alt:solid windowtext .5pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;
         | 
| 96 | 
            +
            margin-left:4.25pt;margin-right:4.25pt'>
         | 
| 97 | 
            +
            -->
         | 
| 98 | 
            +
             | 
| 99 | 
            +
              <div id="boilerplate-license-destination"/>
         | 
| 100 | 
            +
            <!--
         | 
| 101 | 
            +
            <p class="MsoNormal" align="center" style='margin-bottom:6.0pt;text-align:center;
         | 
| 102 | 
            +
            border:none;mso-border-alt:solid windowtext .5pt;padding:0cm;mso-padding-alt:
         | 
| 103 | 
            +
            1.0pt 4.0pt 1.0pt 4.0pt'><b style='mso-bidi-font-weight:normal'><span
         | 
| 104 | 
            +
            lang="EN-GB" style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>Warning for WDs
         | 
| 105 | 
            +
            and CDs<o:p></o:p></span></b></p>
         | 
| 106 | 
            +
             | 
| 107 | 
            +
            <p class="MsoNormal" style='margin-bottom:6.0pt;border:none;mso-border-alt:solid windowtext .5pt;
         | 
| 108 | 
            +
            padding:0cm;mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt'><span lang="EN-GB"
         | 
| 109 | 
            +
            style='font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-bidi-font-weight:bold'>This
         | 
| 110 | 
            +
            document is not an ISO International Standard. It is distributed for review and
         | 
| 111 | 
            +
            comment. It is subject to change without notice and may not be referred to as
         | 
| 112 | 
            +
            an International Standard.<o:p></o:p></span></p>
         | 
| 113 | 
            +
             | 
| 114 | 
            +
            <p class="MsoNormal" style='border:none;mso-border-alt:solid windowtext .5pt;
         | 
| 115 | 
            +
            padding:0cm;mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt'><span lang="EN-GB"
         | 
| 116 | 
            +
            style='font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-bidi-font-weight:bold'>Recipients
         | 
| 117 | 
            +
            of this draft are invited to submit, with their comments, notification of any
         | 
| 118 | 
            +
            relevant patent rights of which they are aware and to provide supporting
         | 
| 119 | 
            +
            documentation.</span><span lang="EN-GB" style='font-size:10.0pt;mso-bidi-font-size:
         | 
| 120 | 
            +
            11.0pt'><o:p></o:p></span></p>
         | 
| 121 | 
            +
            -->
         | 
| 122 | 
            +
            {% endif %}
         | 
| 123 | 
            +
             | 
| 124 | 
            +
            <div class="coverpage-warning" id="coverpage-note-destination"/>
         | 
| 125 | 
            +
             | 
| 126 | 
            +
            <!--</div>-->
         | 
| 127 | 
            +
             | 
| 128 | 
            +
             |