metanorma-iso 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -1
- data/lib/isodoc/iso/html/html_iso_titlepage.html +1 -1
- data/lib/isodoc/iso/html/scripts.html +3 -1
- data/lib/isodoc/iso/html/style-human.scss +6 -1
- data/lib/isodoc/iso/html/style-iso.scss +6 -1
- data/lib/isodoc/iso/html/word_iso_titlepage.html +1 -2
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +2 -4
- data/spec/assets/iso.doc +0 -1139
- data/spec/assets/iso.html +0 -297
data/spec/assets/iso.html
DELETED
@@ -1,297 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns:epub="http://www.idpf.org/2007/ops">
|
4
|
-
<head><style>
|
5
|
-
<!--
|
6
|
-
/* another empty stylesheet */
|
7
|
-
|
8
|
-
-->
|
9
|
-
</style><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title></title>
|
10
|
-
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
11
|
-
|
12
|
-
<!--TOC script import-->
|
13
|
-
<script type="text/javascript" src="https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js"></script>
|
14
|
-
<script type="text/javascript">function toclevel() { var i; var text = "";
|
15
|
-
for(i = 1; i <= 2; i++) {
|
16
|
-
if (i > 1) { text += ","; } text += "h" + i + ":not(:empty):not(.TermNum)"; }
|
17
|
-
return text;}
|
18
|
-
</script>
|
19
|
-
|
20
|
-
<!--Google fonts-->
|
21
|
-
<link href="https://fonts.googleapis.com/css?family=Overpass:300,300i,600,900" rel="stylesheet" />
|
22
|
-
<link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700,900" rel="stylesheet" />
|
23
|
-
|
24
|
-
<!--Font awesome import for the link icon-->
|
25
|
-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" integrity="sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk" crossorigin="anonymous" />
|
26
|
-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous" />
|
27
|
-
<style class="anchorjs"></style>
|
28
|
-
</head>
|
29
|
-
<body lang="EN-US" link="blue" vlink="#954F72" xml:lang="EN-US">
|
30
|
-
<div class="title-section"> <div id="toggle"> <span>•</span> </div>
|
31
|
-
|
32
|
-
<p class="coverpage_docnumber">(E) </p>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
<p class="coverpage_techcommittee">/</p>
|
40
|
-
|
41
|
-
<p class="coverpage_techcommittee"><a name="CVP_Secretariat_Loca" id="CVP_Secretariat_Loca">Secretariat</a>: XXXX</p>
|
42
|
-
|
43
|
-
<div class="doctitle-en">
|
44
|
-
<div><span class="title"></span><span class="subtitle"></span>
|
45
|
-
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
|
49
|
-
<div class="doctitle-fr">
|
50
|
-
<div><span class="title"></span><span class="subtitle"></span>
|
51
|
-
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div class="coverpage_docstage">
|
56
|
-
|
57
|
-
</div>
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
</div>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<p> </p>
|
66
|
-
</body>
|
67
|
-
<br />
|
68
|
-
<div class="prefatory-section"><div class="copyright">
|
69
|
-
<p class="year">
|
70
|
-
© , Published in Switzerland
|
71
|
-
</p>
|
72
|
-
|
73
|
-
<p class="message">
|
74
|
-
All rights
|
75
|
-
reserved. Unless otherwise specified, no part of this publication may be
|
76
|
-
reproduced or utilized otherwise in any form or by any means, electronic or
|
77
|
-
mechanical, including photocopying, or posting on the internet or an intranet,
|
78
|
-
without prior written permission. Permission can be requested from either ISO
|
79
|
-
at the address below or ISO’s member body in the country of the requester.
|
80
|
-
</p>
|
81
|
-
|
82
|
-
<p class="name">ISO copyright office</p>
|
83
|
-
<p class="address">
|
84
|
-
Ch. de Blandonnet 8 • CP 401<br />
|
85
|
-
CH-1214 Vernier, Geneva, Switzerland<br />
|
86
|
-
Tel.  + 41 22 749 01 11<br />
|
87
|
-
Fax  + 41 22 749 09 47<br />
|
88
|
-
copyright@iso.org<br />
|
89
|
-
www.iso.org
|
90
|
-
</p>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<nav>
|
97
|
-
|
98
|
-
<h1 id="content">Contents</h1>
|
99
|
-
<div id="toc"></div>
|
100
|
-
|
101
|
-
</nav>
|
102
|
-
|
103
|
-
<p> </p>
|
104
|
-
</div>
|
105
|
-
<br />
|
106
|
-
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
107
|
-
<br />
|
108
|
-
<div>
|
109
|
-
<h1 class="ForewordTitle">Foreword</h1>
|
110
|
-
<div id="" class="Note">
|
111
|
-
<p><span class="note_label">NOTE</span>  These results are based on a study carried out on three different types of kernel.</p>
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
<p class="zzSTDTitle1"></p>
|
115
|
-
</main>
|
116
|
-
<script type="text/x-mathjax-config">
|
117
|
-
MathJax.Hub.Config({
|
118
|
-
asciimath2jax: {
|
119
|
-
delimiters: [['(#(', ')#)']]
|
120
|
-
}
|
121
|
-
});
|
122
|
-
</script>
|
123
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=AM_HTMLorMML" async="async"></script>
|
124
|
-
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script><script>
|
125
|
-
//TOC generation
|
126
|
-
$('#toc').toc({
|
127
|
-
//'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
|
128
|
-
'selectors': toclevel(), //elements to use as headings
|
129
|
-
'container': 'main', //element to find all selectors in
|
130
|
-
'smoothScrolling': true, //enable or disable smooth scrolling on click
|
131
|
-
'prefix': 'toc', //prefix for anchor tags and class names
|
132
|
-
'onHighlight': function(el) {}, //called when a new section is highlighted
|
133
|
-
'highlightOnScroll': true, //add class to heading that is currently in focus
|
134
|
-
'highlightOffset': 100, //offset to trigger the next headline
|
135
|
-
'anchorName': function(i, heading, prefix) { //custom function for anchor name
|
136
|
-
return prefix+i;
|
137
|
-
},
|
138
|
-
'headerText': function(i, heading, $heading) { //custom function building the header-item text
|
139
|
-
return $heading.text();
|
140
|
-
},
|
141
|
-
'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
|
142
|
-
return $heading[0].tagName.toLowerCase();
|
143
|
-
}
|
144
|
-
});
|
145
|
-
</script>
|
146
|
-
|
147
|
-
<script>
|
148
|
-
//TOC toggle animation
|
149
|
-
$('#toggle').on('click', function(){
|
150
|
-
if( $('nav').is(':visible') ) {
|
151
|
-
$('nav').animate({ 'left': '-353px' }, 'slow', function(){
|
152
|
-
$('nav').hide();
|
153
|
-
});
|
154
|
-
$('body').animate({ 'margin-left': '0' }, 'slow');
|
155
|
-
}
|
156
|
-
else {
|
157
|
-
$('nav').show();
|
158
|
-
$('nav').animate({ 'left': '0px' }, 'slow');
|
159
|
-
$('body').animate({ 'margin-left': '298px' }, 'slow');
|
160
|
-
}
|
161
|
-
});
|
162
|
-
</script>
|
163
|
-
|
164
|
-
<script>
|
165
|
-
// Scroll to top button
|
166
|
-
window.onscroll = function() {scrollFunction()};
|
167
|
-
|
168
|
-
function scrollFunction() {
|
169
|
-
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
|
170
|
-
document.getElementById("myBtn").style.display = "block";
|
171
|
-
} else {
|
172
|
-
document.getElementById("myBtn").style.display = "none";
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
// When the user clicks on the button, scroll to the top of the document
|
177
|
-
function topFunction() {
|
178
|
-
document.body.scrollTop = 0;
|
179
|
-
document.documentElement.scrollTop = 0;
|
180
|
-
}
|
181
|
-
</script>
|
182
|
-
|
183
|
-
<script>
|
184
|
-
$(document).ready(function() {
|
185
|
-
$('[id^=toc]').each(function ()
|
186
|
-
{
|
187
|
-
var currentToc = $(this);
|
188
|
-
var url = window.location.href;
|
189
|
-
currentToc.wrap("<a href='" + url + "#" + currentToc.attr("id") + "' </a>");
|
190
|
-
});
|
191
|
-
});
|
192
|
-
</script>
|
193
|
-
|
194
|
-
|
195
|
-
<script>
|
196
|
-
|
197
|
-
// jQuery Inline Footnotes v1.0.3
|
198
|
-
// Copyright (c) 2011 Vesa Vänskä, released under the MIT License.
|
199
|
-
|
200
|
-
// Generated by CoffeeScript 1.6.1
|
201
|
-
(function() {
|
202
|
-
|
203
|
-
(function($) {
|
204
|
-
$.inlineFootnote = function(el, options) {
|
205
|
-
var _this = this;
|
206
|
-
this.el = $(el);
|
207
|
-
this.el.data("inlineFootnote", this);
|
208
|
-
this.initialize = function() {
|
209
|
-
this.options = $.extend({}, $.inlineFootnote.defaultOptions, options);
|
210
|
-
this.footnoteId = this.el.attr("href").match(/#(.*)/)[1];
|
211
|
-
if (this.footnoteId) {
|
212
|
-
this.el.mouseenter(this.openBox);
|
213
|
-
return $("body").mousemove(this.closeBox);
|
214
|
-
}
|
215
|
-
};
|
216
|
-
this.openBox = function(event) {
|
217
|
-
var footnoteContent, linkOffset;
|
218
|
-
if (!_this.box) {
|
219
|
-
footnoteContent = $("[id='" + _this.footnoteId + "']").children().filter(":not('" + _this.options.hideFromContent + "')");
|
220
|
-
linkOffset = _this.el.offset();
|
221
|
-
_this.box = $("<div />", {
|
222
|
-
id: _this.options.boxId,
|
223
|
-
html: footnoteContent.clone().find(_this.options.hideFromContent).remove().end(),
|
224
|
-
css: {
|
225
|
-
position: "absolute",
|
226
|
-
top: linkOffset.top,
|
227
|
-
left: linkOffset.left + _this.el.outerWidth()
|
228
|
-
}
|
229
|
-
}).appendTo("body");
|
230
|
-
return _this.positionBox();
|
231
|
-
}
|
232
|
-
};
|
233
|
-
this.closeBox = function(event) {
|
234
|
-
if (_this.box) {
|
235
|
-
if (_this.isHoveringFootnote(event)) {
|
236
|
-
clearTimeout(_this.closeTimeout);
|
237
|
-
return _this.closeTimeout = null;
|
238
|
-
} else {
|
239
|
-
if (!_this.closeTimeout) {
|
240
|
-
return _this.closeTimeout = setTimeout((function() {
|
241
|
-
_this.box.remove();
|
242
|
-
return _this.box = null;
|
243
|
-
}), _this.options.hideDelay);
|
244
|
-
}
|
245
|
-
}
|
246
|
-
}
|
247
|
-
};
|
248
|
-
this.isHoveringFootnote = function(event) {
|
249
|
-
return this.box.is(event.target) || $(event.target).closest(this.box).length > 0 || event.target === this.el[0];
|
250
|
-
};
|
251
|
-
this.positionBox = function() {
|
252
|
-
var boxHorizontalPadding, boxLeft, boxWidth, linkLeftOffset, windowWidth;
|
253
|
-
boxHorizontalPadding = parseInt(this.box.css("padding-left")) + parseInt(this.box.css("padding-right"));
|
254
|
-
linkLeftOffset = this.el.offset().left;
|
255
|
-
windowWidth = $(window).width();
|
256
|
-
if ((windowWidth / 2) > linkLeftOffset) {
|
257
|
-
boxLeft = linkLeftOffset + 20;
|
258
|
-
boxWidth = windowWidth - boxLeft - boxHorizontalPadding - this.options.boxMargin * 2;
|
259
|
-
if (boxWidth > this.options.maximumBoxWidth) {
|
260
|
-
boxWidth = this.options.maximumBoxWidth;
|
261
|
-
}
|
262
|
-
} else {
|
263
|
-
boxWidth = linkLeftOffset - boxHorizontalPadding - this.options.boxMargin * 2;
|
264
|
-
if (boxWidth > this.options.maximumBoxWidth) {
|
265
|
-
boxWidth = this.options.maximumBoxWidth;
|
266
|
-
}
|
267
|
-
boxLeft = linkLeftOffset - boxWidth - this.options.boxMargin * 2;
|
268
|
-
}
|
269
|
-
return this.box.css({
|
270
|
-
width: boxWidth,
|
271
|
-
left: boxLeft
|
272
|
-
});
|
273
|
-
};
|
274
|
-
return this.initialize();
|
275
|
-
};
|
276
|
-
$.inlineFootnote.defaultOptions = {
|
277
|
-
boxMargin: 20,
|
278
|
-
hideDelay: 200,
|
279
|
-
hideFromContent: "[rel=footnote]",
|
280
|
-
maximumBoxWidth: 500,
|
281
|
-
boxId: "footnote_box"
|
282
|
-
};
|
283
|
-
return $.fn.inlineFootnote = function(options) {
|
284
|
-
return this.each(function() {
|
285
|
-
return new $.inlineFootnote(this, options);
|
286
|
-
});
|
287
|
-
};
|
288
|
-
})(jQuery);
|
289
|
-
|
290
|
-
}).call(this);
|
291
|
-
</script>
|
292
|
-
|
293
|
-
<script>
|
294
|
-
$(function() {
|
295
|
-
$("[rel=footnote]").inlineFootnote();
|
296
|
-
});
|
297
|
-
</script></html>
|