metanorma-iso 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +7 -0
  2. data/.gitattributes +4 -0
  3. data/.gitignore +11 -0
  4. data/.hound.yml +3 -0
  5. data/.oss-guides.rubocop.yml +1077 -0
  6. data/.rubocop.ribose.yml +66 -0
  7. data/.rubocop.tb.yml +650 -0
  8. data/.rubocop.yml +15 -0
  9. data/.travis.yml +21 -0
  10. data/CODE_OF_CONDUCT.md +46 -0
  11. data/Gemfile +7 -0
  12. data/LICENSE +25 -0
  13. data/Makefile +39 -0
  14. data/README.adoc +882 -0
  15. data/Rakefile +6 -0
  16. data/asciidoctor-iso.gemspec.old +50 -0
  17. data/bin/rspec +18 -0
  18. data/docs/customisation.adoc +186 -0
  19. data/docs/guidance.adoc +436 -0
  20. data/docs/htmloutput.adoc +115 -0
  21. data/docs/quickstart.adoc +375 -0
  22. data/lib/asciidoctor-iso.rb +11 -0
  23. data/lib/asciidoctor/iso/base.rb +48 -0
  24. data/lib/asciidoctor/iso/biblio.rng +836 -0
  25. data/lib/asciidoctor/iso/cleanup.rb +39 -0
  26. data/lib/asciidoctor/iso/converter.rb +19 -0
  27. data/lib/asciidoctor/iso/front.rb +131 -0
  28. data/lib/asciidoctor/iso/isodoc.rng +1059 -0
  29. data/lib/asciidoctor/iso/isostandard.rnc +176 -0
  30. data/lib/asciidoctor/iso/isostandard.rng +1001 -0
  31. data/lib/asciidoctor/iso/section.rb +72 -0
  32. data/lib/asciidoctor/iso/validate.rb +190 -0
  33. data/lib/asciidoctor/iso/validate_requirements.rb +105 -0
  34. data/lib/asciidoctor/iso/validate_section.rb +214 -0
  35. data/lib/asciidoctor/iso/validate_style.rb +134 -0
  36. data/lib/asciidoctor/iso/version.rb +5 -0
  37. data/lib/isodoc/iso/html/header.html +206 -0
  38. data/lib/isodoc/iso/html/html_iso_intro.html +34 -0
  39. data/lib/isodoc/iso/html/html_iso_titlepage.html +34 -0
  40. data/lib/isodoc/iso/html/htmlstyle.scss +46 -0
  41. data/lib/isodoc/iso/html/isodoc.scss +696 -0
  42. data/lib/isodoc/iso/html/scripts.html +174 -0
  43. data/lib/isodoc/iso/html/style-human.scss +1277 -0
  44. data/lib/isodoc/iso/html/style-iso.scss +1257 -0
  45. data/lib/isodoc/iso/html/word_iso_intro.html +72 -0
  46. data/lib/isodoc/iso/html/word_iso_titlepage.html +62 -0
  47. data/lib/isodoc/iso/html/wordstyle.scss +1175 -0
  48. data/lib/isodoc/iso/html_convert.rb +118 -0
  49. data/lib/isodoc/iso/metadata.rb +107 -0
  50. data/lib/isodoc/iso/word_convert.rb +141 -0
  51. data/lib/metanorma/iso.rb +7 -0
  52. data/lib/metanorma/iso/processor.rb +44 -0
  53. data/spec/asciidoctor-iso/base_spec.rb +350 -0
  54. data/spec/asciidoctor-iso/blocks_spec.rb +469 -0
  55. data/spec/asciidoctor-iso/cleanup_spec.rb +765 -0
  56. data/spec/asciidoctor-iso/inline_spec.rb +162 -0
  57. data/spec/asciidoctor-iso/isobib_cache_spec.rb +332 -0
  58. data/spec/asciidoctor-iso/lists_spec.rb +190 -0
  59. data/spec/asciidoctor-iso/macros_spec.rb +111 -0
  60. data/spec/asciidoctor-iso/refs_spec.rb +643 -0
  61. data/spec/asciidoctor-iso/section_spec.rb +334 -0
  62. data/spec/asciidoctor-iso/table_spec.rb +307 -0
  63. data/spec/asciidoctor-iso/validate_spec.rb +907 -0
  64. data/spec/assets/header.html +7 -0
  65. data/spec/assets/html.css +2 -0
  66. data/spec/assets/htmlcover.html +4 -0
  67. data/spec/assets/htmlintro.html +5 -0
  68. data/spec/assets/i18n.yaml +2 -0
  69. data/spec/assets/iso.doc +1093 -0
  70. data/spec/assets/iso.headless.html +33 -0
  71. data/spec/assets/iso.html +278 -0
  72. data/spec/assets/iso.xml +8 -0
  73. data/spec/assets/rice_image1.png +0 -0
  74. data/spec/assets/scripts.html +3 -0
  75. data/spec/assets/std.css +2 -0
  76. data/spec/assets/word.css +2 -0
  77. data/spec/assets/wordcover.html +3 -0
  78. data/spec/assets/wordintro.html +4 -0
  79. data/spec/examples/103_01_02.html +247 -0
  80. data/spec/examples/english.yaml +69 -0
  81. data/spec/examples/iso_123_.xml +45 -0
  82. data/spec/examples/iso_123_all_parts.xml +45 -0
  83. data/spec/examples/iso_123_no_year_note.xml +46 -0
  84. data/spec/examples/iso_124_.xml +41 -0
  85. data/spec/examples/iso_216_.xml +47 -0
  86. data/spec/examples/iso_iec_12382_.xml +48 -0
  87. data/spec/examples/rice.adoc +715 -0
  88. data/spec/examples/rice.preview.html +1877 -0
  89. data/spec/examples/rice.sh +4 -0
  90. data/spec/examples/rice_images/rice_image1.png +0 -0
  91. data/spec/examples/rice_images/rice_image2.png +0 -0
  92. data/spec/examples/rice_images/rice_image3_1.png +0 -0
  93. data/spec/examples/rice_images/rice_image3_2.png +0 -0
  94. data/spec/examples/rice_images/rice_image3_3.png +0 -0
  95. data/spec/isodoc/i18n_spec.rb +642 -0
  96. data/spec/isodoc/iso_spec.rb +168 -0
  97. data/spec/isodoc/metadata_spec.rb +152 -0
  98. data/spec/isodoc/postproc_spec.rb +405 -0
  99. data/spec/isodoc/section_spec.rb +522 -0
  100. data/spec/isodoc/xref_spec.rb +1337 -0
  101. data/spec/metanorma/processor_spec.rb +70 -0
  102. data/spec/spec_helper.rb +227 -0
  103. metadata +402 -0
@@ -0,0 +1,134 @@
1
+ require "metanorma-standoc"
2
+ require "nokogiri"
3
+ require "pp"
4
+
5
+ module Asciidoctor
6
+ module ISO
7
+ class Converter < Standoc::Converter
8
+ def extract_text(node)
9
+ return "" if node.nil?
10
+ node1 = Nokogiri::XML.fragment(node.to_s)
11
+ node1.xpath("//link | //locality").each(&:remove)
12
+ ret = ""
13
+ node1.traverse { |x| ret += x.text if x.text? }
14
+ ret
15
+ end
16
+
17
+ def foreword_style(node)
18
+ return if @novalid
19
+ style_no_guidance(node, extract_text(node), "Foreword")
20
+ end
21
+
22
+ def scope_style(node)
23
+ return if @novalid
24
+ style_no_guidance(node, extract_text(node), "Scope")
25
+ end
26
+
27
+ def introduction_style(node)
28
+ return if @novalid
29
+ r = requirement(extract_text(node))
30
+ style_warning(node, "Introduction may contain requirement", r) if r
31
+ end
32
+
33
+ def definition_style(node)
34
+ return if @novalid
35
+ r = requirement(extract_text(node))
36
+ style_warning(node, "Definition may contain requirement", r) if r
37
+ end
38
+
39
+ def example_style(node)
40
+ return if @novalid
41
+ style_no_guidance(node, extract_text(node), "Term Example")
42
+ style(node, extract_text(node))
43
+ end
44
+
45
+ def note_style(node)
46
+ return if @novalid
47
+ style_no_guidance(node, extract_text(node), "Note")
48
+ style(node, extract_text(node))
49
+ end
50
+
51
+ def footnote_style(node)
52
+ return if @novalid
53
+ style_no_guidance(node, extract_text(node), "Footnote")
54
+ style(node, extract_text(node))
55
+ end
56
+
57
+ def style_regex(re, warning, n, text)
58
+ (m = re.match(text)) && style_warning(n, warning, m[:num])
59
+ end
60
+
61
+ # style check with a regex on a token
62
+ # and a negative match on its preceding token
63
+ def style_two_regex_not_prev(n, text, re, re_prev, warning)
64
+ return if text.nil?
65
+ arr = text.split(/\W+/)
66
+ arr.each_index do |i|
67
+ m = re.match arr[i]
68
+ m_prev = i.zero? ? nil : re_prev.match(arr[i - 1])
69
+ if !m.nil? && m_prev.nil?
70
+ style_warning(n, warning, m[:num])
71
+ end
72
+ end
73
+ end
74
+
75
+ def style(n, t)
76
+ return if @novalid
77
+ style_number(n, t)
78
+ style_percent(n, t)
79
+ style_abbrev(n, t)
80
+ style_units(n, t)
81
+ end
82
+
83
+ def style_number(n, t)
84
+ style_two_regex_not_prev(n, t, /^(?<num>-?[0-9]{4,}[,0-9]*)$/,
85
+ %r{(\bISO|\bIEC|\bIEEE/)$},
86
+ "number not broken up in threes")
87
+ style_regex(/\b(?<num>[0-9]+\.[0-9]+)/i,
88
+ "possible decimal point", n, t)
89
+ style_regex(/\b(?<num>billion[s]?)\b/i,
90
+ "ambiguous number", n, t)
91
+ end
92
+
93
+ def style_percent(n, t)
94
+ style_regex(/\b(?<num>[0-9.,]+%)/,
95
+ "no space before percent sign", n, t)
96
+ style_regex(/\b(?<num>[0-9.,]+ \u00b1 [0-9,.]+ %)/,
97
+ "unbracketed tolerance before percent sign", n, t)
98
+ end
99
+
100
+ def style_abbrev(n, t)
101
+ style_regex(/(^|\s)(?!e\.g\.|i\.e\.)
102
+ (?<num>[a-z]{1,2}\.([a-z]{1,2}|\.))\b/ix,
103
+ "no dots in abbreviations", n, t)
104
+ style_regex(/\b(?<num>ppm)\b/i,
105
+ "language-specific abbreviation", n, t)
106
+ end
107
+
108
+ # leaving out as problematic: N J K C S T H h d B o E
109
+ SI_UNIT = "(m|cm|mm|km|μm|nm|g|kg|mgmol|cd|rad|sr|Hz|Hz|MHz|Pa|hPa|kJ|"\
110
+ "V|kV|W|MW|kW|F|μF|Ω|Wb|°C|lm|lx|Bq|Gy|Sv|kat|l|t|eV|u|Np|Bd|"\
111
+ "bit|kB|MB|Hart|nat|Sh|var)".freeze
112
+
113
+ def style_units(n, t)
114
+ style_regex(/\b(?<num>[0-9][0-9,]*\s+[\u00b0\u2032\u2033])/,
115
+ "space between number and degrees/minutes/seconds", n, t)
116
+ style_regex(/\b(?<num>[0-9][0-9,]*#{SI_UNIT})\b/,
117
+ "no space between number and SI unit", n, t)
118
+ style_non_std_units(n, t)
119
+ end
120
+
121
+ NONSTD_UNITS = {
122
+ "sec": "s", "mins": "min", "hrs": "h", "hr": "h", "cc": "cm^3",
123
+ "lit": "l", "amp": "A", "amps": "A", "rpm": "r/min"
124
+ }.freeze
125
+
126
+ def style_non_std_units(n, t)
127
+ NONSTD_UNITS.each do |k, v|
128
+ style_regex(/\b(?<num>[0-9][0-9,]*\s+#{k})\b/,
129
+ "non-standard unit (should be #{v})", n, t)
130
+ end
131
+ end
132
+ end
133
+ end
134
+ end
@@ -0,0 +1,5 @@
1
+ module Asciidoctor
2
+ module ISO
3
+ VERSION = "1.0.0".freeze
4
+ end
5
+ end
@@ -0,0 +1,206 @@
1
+ <html xmlns:v="urn:schemas-microsoft-com:vml"
2
+ xmlns:o="urn:schemas-microsoft-com:office:office"
3
+ xmlns:w="urn:schemas-microsoft-com:office:word"
4
+ xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
5
+ xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
6
+
7
+ <head>
8
+ <meta name=Title content="">
9
+ <meta name=Keywords content="">
10
+ <meta http-equiv=Content-Type content="text/html; charset=utf-8">
11
+ <meta name=ProgId content=Word.Document>
12
+ <meta name=Generator content="Microsoft Word 15">
13
+ <meta name=Originator content="Microsoft Word 15">
14
+ <link id=Main-File rel=Main-File href="../{{ filename }}.html">
15
+ <!--[if gte mso 9]><xml>
16
+ <o:shapedefaults v:ext="edit" spidmax="2049"/>
17
+ </xml><![endif]-->
18
+ </head>
19
+
20
+ <body lang=EN link=blue vlink="#954F72">
21
+
22
+ <div style='mso-element:footnote-separator' id=fs>
23
+
24
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
25
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
26
+
27
+ <hr align=left size=1 width="33%">
28
+
29
+ <![endif]></span></span></p>
30
+
31
+ </div>
32
+
33
+ <div style='mso-element:footnote-continuation-separator' id=fcs>
34
+
35
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
36
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
37
+
38
+ <hr align=left size=1>
39
+
40
+ <![endif]></span></span></p>
41
+
42
+ </div>
43
+
44
+ <div style='mso-element:endnote-separator' id=es>
45
+
46
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
47
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
48
+
49
+ <hr align=left size=1 width="33%">
50
+
51
+ <![endif]></span></span></p>
52
+
53
+ </div>
54
+
55
+ <div style='mso-element:endnote-continuation-separator' id=ecs>
56
+
57
+ <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
58
+ normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
59
+
60
+ <hr align=left size=1>
61
+
62
+ <![endif]></span></span></p>
63
+
64
+ </div>
65
+
66
+ <div style='mso-element:header' id=eha>
67
+
68
+ <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
69
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ docnumber }}:{{ docyear }}(E){{ draftinfo }}</span></p>
70
+
71
+ </div>
72
+
73
+ <div style='mso-element:header' id=ha>
74
+
75
+ <p class=MsoHeader style='margin-bottom:18.0pt'><span lang=EN-GB
76
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt;font-weight:normal'>©
77
+ {{ agency }}&nbsp;{{ docyear }}&nbsp;– All rights reserved</span><span lang=EN-GB
78
+ style='font-weight:normal'><o:p></o:p></span></p>
79
+
80
+ </div>
81
+
82
+ <div style='mso-element:footer' id=efa>
83
+
84
+ <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
85
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
86
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
87
+ style='mso-element:field-begin'></span><span
88
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
89
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
90
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
91
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
92
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
93
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
94
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
95
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
96
+ {{ agency }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
97
+
98
+ </div>
99
+
100
+ <div style='mso-element:header' id=eh2>
101
+
102
+ <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
103
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ docnumber }}:{{ docyear }}(E){{ draftinfo }}</span></p>
104
+
105
+ </div>
106
+
107
+ <div style='mso-element:header' id=h2>
108
+
109
+ <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
110
+ mso-line-height-rule:exactly'><span lang=EN-GB>{{ docnumber }}:{{ docyear }}(E){{ draftinfo }}</span></p>
111
+
112
+ </div>
113
+
114
+ <div style='mso-element:footer' id=ef2>
115
+
116
+ <p class=MsoFooter style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
117
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
118
+ style='mso-element:field-begin'></span><span
119
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
120
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
121
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
122
+ style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
123
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
124
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
125
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
126
+ 1'>                                                                                                                                                                           </span>©
127
+ {{ agency }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
128
+
129
+ </div>
130
+
131
+ <div style='mso-element:footer' id=f2>
132
+
133
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
134
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© {{ agency }}&nbsp;{{ docyear }}&nbsp;– All
135
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                          </span></span><!--[if supportFields]><span
136
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
137
+ style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>  
138
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
139
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
140
+ style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
141
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
142
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
143
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
144
+
145
+ </div>
146
+
147
+ <div style='mso-element:footer' id=ef3>
148
+
149
+ <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
150
+ exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
151
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
152
+ style='mso-element:field-begin'></span><span
153
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
154
+ </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
155
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
156
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
157
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
158
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
159
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
160
+ style='mso-tab-count:1'>                                                                                                                                                                           </span>©
161
+ {{ agency }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
162
+
163
+ </div>
164
+
165
+ <div style='mso-element:footer' id=f3>
166
+
167
+ <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
168
+ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© {{ agency }}&nbsp;{{ docyear }}&nbsp;– All
169
+ rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                           </span></span><!--[if supportFields]><b
170
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
171
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
172
+ PAGE<span style='mso-spacerun:yes'>   </span>\* MERGEFORMAT <span
173
+ style='mso-element:field-separator'></span></span></b><![endif]--><b
174
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
175
+ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
176
+ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
177
+ mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
178
+ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
179
+
180
+ </div>
181
+
182
+ <div style='mso-element:footer' id=f4>
183
+
184
+ <p class=MsoFooter><b style='mso-bidi-font-weight:normal'><span>ICS {{ ics }}<o:p></o:p></span></b></p>
185
+
186
+ <p class=MsoFooter style='margin-top:0cm'><span lang=EN-AU style='font-size:
187
+ 10.0pt;mso-ansi-language:EN-AU'>Price based on </span><!--[if supportFields]><span
188
+ lang=EN-AU style='font-size:10.0pt;mso-ansi-language:EN-AU'><span
189
+ style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>NUMPAGES<span
190
+ style='mso-spacerun:yes'>  </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
191
+ lang=EN-AU style='font-size:10.0pt;mso-ansi-language:EN-AU'><span
192
+ style='mso-no-proof:yes'>26</span></span><!--[if supportFields]><span
193
+ lang=EN-AU style='font-size:10.0pt;mso-ansi-language:EN-AU'><span
194
+ style='mso-element:field-end'></span></span><![endif]--><span lang=EN-AU
195
+ style='font-size:10.0pt;mso-ansi-language:EN-AU'> pages<o:p></o:p></span></p>
196
+
197
+ <p class=MsoFooter><span lang=EN-AU style='font-size:10.0pt;'>©
198
+ {{ agency }}&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
199
+
200
+ </div>
201
+
202
+
203
+
204
+ </body>
205
+
206
+ </html>
@@ -0,0 +1,34 @@
1
+ <div class="copyright">
2
+ <p class="year">
3
+ &copy; {{ agency }} {{ docyear }}, Published in Switzerland
4
+ </p>
5
+
6
+ <p class="message">
7
+ All rights
8
+ reserved. Unless otherwise specified, no part of this publication may be
9
+ reproduced or utilized otherwise in any form or by any means, electronic or
10
+ mechanical, including photocopying, or posting on the internet or an intranet,
11
+ without prior written permission. Permission can be requested from either ISO
12
+ at the address below or ISO’s member body in the country of the requester.
13
+ </p>
14
+
15
+ <p class="name">ISO copyright office</p>
16
+ <p class="address">
17
+ Ch. de Blandonnet 8 &#x2022; CP 401<br/>
18
+ CH-1214 Vernier, Geneva, Switzerland<br/>
19
+ Tel.&nbsp;&nbsp;+ 41 22 749 01 11<br/>
20
+ Fax&nbsp;&nbsp;+ 41 22 749 09 47<br/>
21
+ copyright@iso.org<br/>
22
+ www.iso.org
23
+ </p>
24
+ </div>
25
+
26
+
27
+ </div>
28
+
29
+ <nav>
30
+
31
+ <h1 id="content">Contents</h1>
32
+ <div id="toc"></div>
33
+
34
+ </nav>
@@ -0,0 +1,34 @@
1
+ <div id='toggle'> <span>•</span> </div>
2
+ <p class="coverpage_docnumber">{{ agency }} {{ docnumber }}:{{ docyear }}(E) {{ draftinfo }}</p>
3
+
4
+ <p class="coverpage_techcommittee">{{ agency }}&nbsp;{{ editorialgroup | join: "/" }}</p>
5
+
6
+ <p class="coverpage_techcommittee"><a
7
+ name="CVP_Secretariat_Loca">Secretariat</a>: {{ secretariat }}</p>
8
+
9
+ <div class="doctitle-en"><span class="title">{{ doctitleintro }}</span> <span class="subtitle">{{ doctitlemain }}</span> <span class="part">{{ doctitlepart }}</span></div>
10
+
11
+ <div class="doctitle-fr"><span class="title">{{ docsubtitleintro }}</span> <span class="subtitle">{{ docsubtitlemain }}</span> <span class="part">{{ docsubtitlepart }}</span></div>
12
+
13
+ <div class="coverpage_docstage"><p>{{ stageabbr }} stage</p></div>
14
+
15
+ {% if stage and stage_int < 60 %}
16
+ <div class="coverpage_warning">
17
+
18
+ <p>Warning for WDs
19
+ and CDs<o:p></o:p></span></b></p>
20
+
21
+ <p>This
22
+ document is not an ISO International Standard. It is distributed for review and
23
+ comment. It is subject to change without notice and may not be referred to as
24
+ an International Standard.</p>
25
+
26
+ <p>Recipients
27
+ of this draft are invited to submit, with their comments, notification of any
28
+ relevant patent rights of which they are aware and to provide supporting
29
+ documentation.</p>
30
+ {% endif %}
31
+
32
+ </div>
33
+
34
+
@@ -0,0 +1,46 @@
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:12.0pt;
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;}
46
+