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.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.hound.yml +5 -0
  3. data/.rubocop.yml +10 -0
  4. data/CODE_OF_CONDUCT.md +74 -0
  5. data/Gemfile +12 -0
  6. data/LICENSE +25 -0
  7. data/README.adoc +81 -0
  8. data/lib/html2doc/lists.rb +166 -0
  9. data/lib/isodoc/jis/base_convert.rb +41 -0
  10. data/lib/isodoc/jis/html/header.html +934 -0
  11. data/lib/isodoc/jis/html/html_jis_intro.html +8 -0
  12. data/lib/isodoc/jis/html/html_jis_titlepage.html +79 -0
  13. data/lib/isodoc/jis/html/htmlstyle.css +47 -0
  14. data/lib/isodoc/jis/html/htmlstyle.scss +45 -0
  15. data/lib/isodoc/jis/html/isodoc.css +12080 -0
  16. data/lib/isodoc/jis/html/isodoc.scss +11551 -0
  17. data/lib/isodoc/jis/html/style-human.css +1107 -0
  18. data/lib/isodoc/jis/html/style-human.scss +783 -0
  19. data/lib/isodoc/jis/html/style-iso.css +1133 -0
  20. data/lib/isodoc/jis/html/style-iso.scss +800 -0
  21. data/lib/isodoc/jis/html/word_jis_intro.html +14 -0
  22. data/lib/isodoc/jis/html/word_jis_titlepage.html +128 -0
  23. data/lib/isodoc/jis/html/wordstyle.css +3477 -0
  24. data/lib/isodoc/jis/html/wordstyle.scss +3378 -0
  25. data/lib/isodoc/jis/html_convert.rb +37 -0
  26. data/lib/isodoc/jis/i18n-ja.yaml +214 -0
  27. data/lib/isodoc/jis/i18n.rb +15 -0
  28. data/lib/isodoc/jis/init.rb +34 -0
  29. data/lib/isodoc/jis/metadata.rb +52 -0
  30. data/lib/isodoc/jis/pdf_convert.rb +17 -0
  31. data/lib/isodoc/jis/presentation_xml_convert.rb +11 -0
  32. data/lib/isodoc/jis/word_convert.rb +153 -0
  33. data/lib/isodoc/jis/xref.rb +6 -0
  34. data/lib/metanorma/jis/basicdoc.rng +1125 -0
  35. data/lib/metanorma/jis/biblio-standoc.rng +164 -0
  36. data/lib/metanorma/jis/biblio.rng +1461 -0
  37. data/lib/metanorma/jis/converter.rb +71 -0
  38. data/lib/metanorma/jis/front.rb +51 -0
  39. data/lib/metanorma/jis/isodoc.rng +2450 -0
  40. data/lib/metanorma/jis/isostandard.rng +316 -0
  41. data/lib/metanorma/jis/jis.rng +63 -0
  42. data/lib/metanorma/jis/processor.rb +53 -0
  43. data/lib/metanorma/jis/relaton-jis.rng +231 -0
  44. data/lib/metanorma/jis/reqt.rng +226 -0
  45. data/lib/metanorma/jis/version.rb +6 -0
  46. data/lib/metanorma/jis.rb +6 -0
  47. data/lib/metanorma-jis.rb +16 -0
  48. data/metanorma-jis.gemspec +49 -0
  49. metadata +303 -0
@@ -0,0 +1,8 @@
1
+ <div id="boilerplate-copyright-destination"/>
2
+
3
+ <nav>
4
+
5
+ <h1 id="content">{{ labels["table_of_contents"] }}</h1>
6
+ <div id="toc"></div>
7
+
8
+ </nav>
@@ -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 %} &#x2014; {% endif %}</span><span class="subtitle">{{ doctitlemain }}{% if doctitlemain and doctitlepart %} &#x2014;{% 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 %} &#x2014; {% endif %}</span><span class="subtitle">{{ docsubtitlemain }}{% if docsubtitlemain and docsubtitlepart %} &#x2014;{% 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;}