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,79 @@ | |
| 1 | 
            +
            <div id='toggle'> <span>•</span> </div>
         | 
| 2 | 
            +
            {% if tc_docnumber.size > 0 %}
         | 
| 3 | 
            +
                {% for num in tc_docnumber %}
         | 
| 4 | 
            +
            <p class="coverpage_docnumber">{{ num }}</p>
         | 
| 5 | 
            +
                {% endfor %}
         | 
| 6 | 
            +
                {% else %}
         | 
| 7 | 
            +
            <p class="coverpage_docnumber">{{ docnumber_undated }} {{ draftinfo }}</p>
         | 
| 8 | 
            +
                {% endif %}
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            {% if edition_display %}
         | 
| 11 | 
            +
            <p class="coverpage_docnumber">{{ edition_display | capitalize }}</p>
         | 
| 12 | 
            +
            {% endif %}
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            {% if revdate %}
         | 
| 15 | 
            +
            <p class="coverpage_docnumber">{{ labels["date"]}}: {{ revdate }}</p>
         | 
| 16 | 
            +
            {% endif %}
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            {% if tc_docnumber.size > 0 %}
         | 
| 19 | 
            +
            <p class="coverpage_docnumber">{{ docnumber_undated }} {{ draftinfo }}</p>
         | 
| 20 | 
            +
            {% endif %}
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            <p class="coverpage_techcommittee">{{ editorialgroup }}</p>
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            {% if secretariat %}
         | 
| 25 | 
            +
            <p class="coverpage_techcommittee"><a
         | 
| 26 | 
            +
               name="CVP_Secretariat_Loca">{{ labels["secretariat"] }}</a>: {{ secretariat }}</p>
         | 
| 27 | 
            +
            {% endif %}
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            <div class="doctitle-en"><div><span class="title">{{ doctitleintro }}{% if doctitleintro and doctitlemain %} — {% endif %}</span><span class="subtitle">{{ doctitlemain }}{% if doctitlemain and doctitlepart %} —{% endif %}</span>
         | 
| 30 | 
            +
              {% if doctitlepart %}
         | 
| 31 | 
            +
            </div><div class="doctitle-part">
         | 
| 32 | 
            +
              {% if doctitlepartlabel %}<span class="partlabel">{{ doctitlepartlabel }}: </span>{% endif %}
         | 
| 33 | 
            +
              <span class="part">{{ doctitlepart }}</span>
         | 
| 34 | 
            +
              {% endif %}
         | 
| 35 | 
            +
            </div>
         | 
| 36 | 
            +
            {% if doctitleamdlabel %}
         | 
| 37 | 
            +
            <div class="doctitle-part">{{ doctitleamdlabel }}{% if doctitleamd %}: {{ doctitleamd }}{% endif %}</div>
         | 
| 38 | 
            +
            {% endif %}
         | 
| 39 | 
            +
            {% if doctitlecorrlabel %}
         | 
| 40 | 
            +
            <div class="doctitle-part">{{ doctitlecorrlabel }}</div>
         | 
| 41 | 
            +
            {% endif %}
         | 
| 42 | 
            +
            </div>
         | 
| 43 | 
            +
             | 
| 44 | 
            +
            <div class="doctitle-fr"><div><span class="title">{{ docsubtitleintro }}{% if docsubtitleintro and docsubtitlemain %} — {% endif %}</span><span class="subtitle">{{ docsubtitlemain }}{% if docsubtitlemain and docsubtitlepart %} —{% endif %}</span>
         | 
| 45 | 
            +
              {% if docsubtitlepart %}
         | 
| 46 | 
            +
              </div><div>
         | 
| 47 | 
            +
              {% if docsubtitlepartlabel %}<span class="partlabel">{{ docsubtitlepartlabel }}: </span>{% endif %}
         | 
| 48 | 
            +
              <span class="part">{{ docsubtitlepart }}</span>
         | 
| 49 | 
            +
              {% endif %}
         | 
| 50 | 
            +
            </div>
         | 
| 51 | 
            +
            {% if docsubtitleamdlabel %}
         | 
| 52 | 
            +
            <div>{{ docsubtitleamdlabel }}{% if docsubtitleamd %}: {{ docsubtitleamd }}{% endif %}</div>
         | 
| 53 | 
            +
            {% endif %}
         | 
| 54 | 
            +
            {% if docsubtitlecorrlabel %}
         | 
| 55 | 
            +
            <div>{{ docsubtitlecorrlabel }}</div>
         | 
| 56 | 
            +
            {% endif %}
         | 
| 57 | 
            +
            </div>
         | 
| 58 | 
            +
             | 
| 59 | 
            +
            <div class="coverpage_docstage">
         | 
| 60 | 
            +
              {% if unpublished %}
         | 
| 61 | 
            +
              <p>{{ stageabbr }} stage</p>
         | 
| 62 | 
            +
              {% endif %}
         | 
| 63 | 
            +
            </div>
         | 
| 64 | 
            +
             | 
| 65 | 
            +
            {% if unpublished %}
         | 
| 66 | 
            +
            <div class="coverpage_warning">
         | 
| 67 | 
            +
              <div id="boilerplate-license-destination"/>
         | 
| 68 | 
            +
            </div>
         | 
| 69 | 
            +
            {% endif %}
         | 
| 70 | 
            +
            <div class="coverpage-warning" id="coverpage-note-destination"/>
         | 
| 71 | 
            +
             | 
| 72 | 
            +
            {% if ics %}
         | 
| 73 | 
            +
            <p><b>ICS:</b> {{ ics }}</p>
         | 
| 74 | 
            +
            {% endif %}
         | 
| 75 | 
            +
             | 
| 76 | 
            +
            {% if keywords.size > 0 %}
         | 
| 77 | 
            +
            <p><b>Descriptors:</b> {{ keywords | join: ", " }}
         | 
| 78 | 
            +
            {% endif %}
         | 
| 79 | 
            +
             | 
| @@ -0,0 +1,47 @@ | |
| 1 | 
            +
            p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
         | 
| 2 | 
            +
              mso-style-noshow: yes;
         | 
| 3 | 
            +
              mso-style-priority: 99;
         | 
| 4 | 
            +
              mso-style-link: "Comment Text Char";
         | 
| 5 | 
            +
              margin-top: 0cm;
         | 
| 6 | 
            +
              margin-right: 0cm;
         | 
| 7 | 
            +
              margin-bottom: 12.0pt;
         | 
| 8 | 
            +
              margin-left: 0cm;
         | 
| 9 | 
            +
              text-align: justify;
         | 
| 10 | 
            +
              line-height: 12.0pt;
         | 
| 11 | 
            +
              mso-pagination: widow-orphan;
         | 
| 12 | 
            +
              tab-stops: 20.15pt;
         | 
| 13 | 
            +
              font-size: {{normalfontsize}};
         | 
| 14 | 
            +
              font-family: {{bodyfont}};
         | 
| 15 | 
            +
              mso-fareast-font-family: Calibri;
         | 
| 16 | 
            +
              mso-bidi-font-family: "Times New Roman";
         | 
| 17 | 
            +
              mso-ansi-language: EN-GB;
         | 
| 18 | 
            +
              mso-fareast-language: EN-US; }
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            span.MsoCommentReference {
         | 
| 21 | 
            +
              mso-style-noshow: yes;
         | 
| 22 | 
            +
              mso-style-priority: 99;
         | 
| 23 | 
            +
              mso-style-parent: "";
         | 
| 24 | 
            +
              mso-ansi-font-size: 9.0pt;
         | 
| 25 | 
            +
              mso-bidi-font-size: 9.0pt; }
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {
         | 
| 28 | 
            +
              mso-style-noshow: yes;
         | 
| 29 | 
            +
              mso-style-priority: 99;
         | 
| 30 | 
            +
              mso-style-parent: "Comment Text";
         | 
| 31 | 
            +
              mso-style-link: "Comment Subject Char";
         | 
| 32 | 
            +
              mso-style-next: "Comment Text";
         | 
| 33 | 
            +
              margin-top: 0cm;
         | 
| 34 | 
            +
              margin-right: 0cm;
         | 
| 35 | 
            +
              margin-bottom: 12.0pt;
         | 
| 36 | 
            +
              margin-left: 0cm;
         | 
| 37 | 
            +
              text-align: justify;
         | 
| 38 | 
            +
              line-height: 12.0pt;
         | 
| 39 | 
            +
              mso-pagination: widow-orphan;
         | 
| 40 | 
            +
              tab-stops: 20.15pt;
         | 
| 41 | 
            +
              font-size: 10.0pt;
         | 
| 42 | 
            +
              font-family: {{headerfont}};
         | 
| 43 | 
            +
              mso-fareast-font-family: Calibri;
         | 
| 44 | 
            +
              mso-bidi-font-family: "Times New Roman";
         | 
| 45 | 
            +
              mso-ansi-language: EN-GB;
         | 
| 46 | 
            +
              mso-fareast-language: EN-US;
         | 
| 47 | 
            +
              font-weight: bold; }
         | 
| @@ -0,0 +1,45 @@ | |
| 1 | 
            +
            p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
         | 
| 2 | 
            +
                    {mso-style-noshow:yes;
         | 
| 3 | 
            +
                    mso-style-priority:99;
         | 
| 4 | 
            +
                    mso-style-link:"Comment Text Char";
         | 
| 5 | 
            +
                    margin-top:0cm;
         | 
| 6 | 
            +
                    margin-right:0cm;
         | 
| 7 | 
            +
                    margin-bottom:12.0pt;
         | 
| 8 | 
            +
                    margin-left:0cm;
         | 
| 9 | 
            +
                    text-align:justify;
         | 
| 10 | 
            +
                    line-height:12.0pt;
         | 
| 11 | 
            +
                    mso-pagination:widow-orphan;
         | 
| 12 | 
            +
                    tab-stops:20.15pt;
         | 
| 13 | 
            +
                    font-size:$normalfontsize;
         | 
| 14 | 
            +
                    font-family:$bodyfont;
         | 
| 15 | 
            +
                    mso-fareast-font-family:Calibri;
         | 
| 16 | 
            +
                    mso-bidi-font-family:"Times New Roman";
         | 
| 17 | 
            +
                    mso-ansi-language:EN-GB;
         | 
| 18 | 
            +
                    mso-fareast-language:EN-US;}
         | 
| 19 | 
            +
            span.MsoCommentReference
         | 
| 20 | 
            +
                    {mso-style-noshow:yes;
         | 
| 21 | 
            +
                    mso-style-priority:99;
         | 
| 22 | 
            +
                    mso-style-parent:"";
         | 
| 23 | 
            +
                    mso-ansi-font-size:9.0pt;
         | 
| 24 | 
            +
                    mso-bidi-font-size:9.0pt;}
         | 
| 25 | 
            +
            p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
         | 
| 26 | 
            +
                    {mso-style-noshow:yes;
         | 
| 27 | 
            +
                    mso-style-priority:99;
         | 
| 28 | 
            +
                    mso-style-parent:"Comment Text";
         | 
| 29 | 
            +
                    mso-style-link:"Comment Subject Char";
         | 
| 30 | 
            +
                    mso-style-next:"Comment Text";
         | 
| 31 | 
            +
                    margin-top:0cm;
         | 
| 32 | 
            +
                    margin-right:0cm;
         | 
| 33 | 
            +
                    margin-bottom:12.0pt;
         | 
| 34 | 
            +
                    margin-left:0cm;
         | 
| 35 | 
            +
                    text-align:justify;
         | 
| 36 | 
            +
                    line-height:12.0pt;
         | 
| 37 | 
            +
                    mso-pagination:widow-orphan;
         | 
| 38 | 
            +
                    tab-stops:20.15pt;
         | 
| 39 | 
            +
                    font-size:10.0pt;
         | 
| 40 | 
            +
                    font-family:$headerfont;
         | 
| 41 | 
            +
                    mso-fareast-font-family:Calibri;
         | 
| 42 | 
            +
                    mso-bidi-font-family:"Times New Roman";
         | 
| 43 | 
            +
                    mso-ansi-language:EN-GB;
         | 
| 44 | 
            +
                    mso-fareast-language:EN-US;
         | 
| 45 | 
            +
                    font-weight:bold;}
         |