asciidoctor-iso 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/Gemfile.lock +18 -13
  4. data/README.adoc +28 -8
  5. data/asciidoctor-iso.gemspec +3 -2
  6. data/lib/asciidoctor-iso.rb +4 -0
  7. data/lib/asciidoctor/iso/base.rb +4 -17
  8. data/lib/asciidoctor/iso/cleanup.rb +16 -1
  9. data/lib/asciidoctor/iso/cleanup_ref.rb +2 -2
  10. data/lib/asciidoctor/iso/front.rb +5 -1
  11. data/lib/asciidoctor/iso/isostandard.rng +17 -1
  12. data/lib/asciidoctor/iso/ref.rb +122 -52
  13. data/lib/asciidoctor/iso/section.rb +8 -2
  14. data/lib/asciidoctor/iso/version.rb +1 -1
  15. data/lib/metanorma/iso.rb +7 -0
  16. data/lib/metanorma/iso/processor.rb +38 -0
  17. data/spec/asciidoctor-iso/base_spec.rb +37 -8
  18. data/spec/asciidoctor-iso/blocks_spec.rb +2 -2
  19. data/spec/asciidoctor-iso/cleanup_spec.rb +71 -203
  20. data/spec/asciidoctor-iso/isobib_cache_spec.rb +164 -0
  21. data/spec/asciidoctor-iso/refs_spec.rb +263 -183
  22. data/spec/asciidoctor-iso/validate_spec.rb +30 -28
  23. data/spec/examples/iso_123_.xml +3 -3
  24. data/spec/examples/iso_123_all_parts.xml +3 -3
  25. data/spec/examples/iso_123_no_year_note.xml +3 -3
  26. data/spec/examples/iso_124_.xml +3 -3
  27. data/spec/spec_helper.rb +42 -1
  28. metadata +23 -17
  29. data/lib/asciidoctor/iso/html/header.html +0 -184
  30. data/lib/asciidoctor/iso/html/html_iso_intro.html +0 -34
  31. data/lib/asciidoctor/iso/html/html_iso_titlepage.html +0 -32
  32. data/lib/asciidoctor/iso/html/htmlstyle.scss +0 -46
  33. data/lib/asciidoctor/iso/html/isodoc.scss +0 -679
  34. data/lib/asciidoctor/iso/html/scripts.html +0 -174
  35. data/lib/asciidoctor/iso/html/style-human.scss +0 -1277
  36. data/lib/asciidoctor/iso/html/style-iso.scss +0 -1257
  37. data/lib/asciidoctor/iso/html/word_iso_intro.html +0 -72
  38. data/lib/asciidoctor/iso/html/word_iso_titlepage.html +0 -58
  39. data/lib/asciidoctor/iso/html/wordstyle.scss +0 -1135
@@ -1,174 +0,0 @@
1
- <script>
2
- //TOC generation
3
- $('#toc').toc({
4
- 'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
5
- 'container': 'main', //element to find all selectors in
6
- 'smoothScrolling': true, //enable or disable smooth scrolling on click
7
- 'prefix': 'toc', //prefix for anchor tags and class names
8
- 'onHighlight': function(el) {}, //called when a new section is highlighted
9
- 'highlightOnScroll': true, //add class to heading that is currently in focus
10
- 'highlightOffset': 100, //offset to trigger the next headline
11
- 'anchorName': function(i, heading, prefix) { //custom function for anchor name
12
- return prefix+i;
13
- },
14
- 'headerText': function(i, heading, $heading) { //custom function building the header-item text
15
- return $heading.text();
16
- },
17
- 'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
18
- return $heading[0].tagName.toLowerCase();
19
- }
20
- });
21
-
22
- </script>
23
-
24
- <script>
25
- //TOC toggle animation
26
- $('#toggle').on('click', function(){
27
- if( $('nav').is(':visible') ) {
28
- $('nav').animate({ 'left': '-353px' }, 'slow', function(){
29
- $('nav').hide();
30
- });
31
- $('body').animate({ 'margin-left': '0' }, 'slow');
32
- }
33
- else {
34
- $('nav').show();
35
- $('nav').animate({ 'left': '0px' }, 'slow');
36
- $('body').animate({ 'margin-left': '298px' }, 'slow');
37
- }
38
- });
39
- </script>
40
-
41
- <script>
42
- // Scroll to top button
43
- window.onscroll = function() {scrollFunction()};
44
-
45
- function scrollFunction() {
46
- if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
47
- document.getElementById("myBtn").style.display = "block";
48
- } else {
49
- document.getElementById("myBtn").style.display = "none";
50
- }
51
- }
52
-
53
- // When the user clicks on the button, scroll to the top of the document
54
- function topFunction() {
55
- document.body.scrollTop = 0;
56
- document.documentElement.scrollTop = 0;
57
- }
58
- </script>
59
-
60
- <script>
61
- $(document).ready(function() {
62
- $('[id^=toc]').each(function ()
63
- {
64
- var currentToc = $(this);
65
- var url = window.location.href;
66
- currentToc.wrap("<a href='" + url + "#" + currentToc.attr("id") + "' </a>");
67
- });
68
- });
69
- </script>
70
-
71
-
72
- <script>
73
-
74
- // jQuery Inline Footnotes v1.0.3
75
- // Copyright (c) 2011 Vesa Vänskä, released under the MIT License.
76
-
77
- // Generated by CoffeeScript 1.6.1
78
- (function() {
79
-
80
- (function($) {
81
- $.inlineFootnote = function(el, options) {
82
- var _this = this;
83
- this.el = $(el);
84
- this.el.data("inlineFootnote", this);
85
- this.initialize = function() {
86
- this.options = $.extend({}, $.inlineFootnote.defaultOptions, options);
87
- this.footnoteId = this.el.attr("href").match(/#(.*)/)[1];
88
- if (this.footnoteId) {
89
- this.el.mouseenter(this.openBox);
90
- return $("body").mousemove(this.closeBox);
91
- }
92
- };
93
- this.openBox = function(event) {
94
- var footnoteContent, linkOffset;
95
- if (!_this.box) {
96
- footnoteContent = $("[id='" + _this.footnoteId + "']").children().filter(":not('" + _this.options.hideFromContent + "')");
97
- linkOffset = _this.el.offset();
98
- _this.box = $("<div />", {
99
- id: _this.options.boxId,
100
- html: footnoteContent.clone().find(_this.options.hideFromContent).remove().end(),
101
- css: {
102
- position: "absolute",
103
- top: linkOffset.top,
104
- left: linkOffset.left + _this.el.outerWidth()
105
- }
106
- }).appendTo("body");
107
- return _this.positionBox();
108
- }
109
- };
110
- this.closeBox = function(event) {
111
- if (_this.box) {
112
- if (_this.isHoveringFootnote(event)) {
113
- clearTimeout(_this.closeTimeout);
114
- return _this.closeTimeout = null;
115
- } else {
116
- if (!_this.closeTimeout) {
117
- return _this.closeTimeout = setTimeout((function() {
118
- _this.box.remove();
119
- return _this.box = null;
120
- }), _this.options.hideDelay);
121
- }
122
- }
123
- }
124
- };
125
- this.isHoveringFootnote = function(event) {
126
- return this.box.is(event.target) || $(event.target).closest(this.box).length > 0 || event.target === this.el[0];
127
- };
128
- this.positionBox = function() {
129
- var boxHorizontalPadding, boxLeft, boxWidth, linkLeftOffset, windowWidth;
130
- boxHorizontalPadding = parseInt(this.box.css("padding-left")) + parseInt(this.box.css("padding-right"));
131
- linkLeftOffset = this.el.offset().left;
132
- windowWidth = $(window).width();
133
- if ((windowWidth / 2) > linkLeftOffset) {
134
- boxLeft = linkLeftOffset + 20;
135
- boxWidth = windowWidth - boxLeft - boxHorizontalPadding - this.options.boxMargin * 2;
136
- if (boxWidth > this.options.maximumBoxWidth) {
137
- boxWidth = this.options.maximumBoxWidth;
138
- }
139
- } else {
140
- boxWidth = linkLeftOffset - boxHorizontalPadding - this.options.boxMargin * 2;
141
- if (boxWidth > this.options.maximumBoxWidth) {
142
- boxWidth = this.options.maximumBoxWidth;
143
- }
144
- boxLeft = linkLeftOffset - boxWidth - this.options.boxMargin * 2;
145
- }
146
- return this.box.css({
147
- width: boxWidth,
148
- left: boxLeft
149
- });
150
- };
151
- return this.initialize();
152
- };
153
- $.inlineFootnote.defaultOptions = {
154
- boxMargin: 20,
155
- hideDelay: 200,
156
- hideFromContent: "[rel=footnote]",
157
- maximumBoxWidth: 500,
158
- boxId: "footnote_box"
159
- };
160
- return $.fn.inlineFootnote = function(options) {
161
- return this.each(function() {
162
- return new $.inlineFootnote(this, options);
163
- });
164
- };
165
- })(jQuery);
166
-
167
- }).call(this);
168
- </script>
169
-
170
- <script>
171
- $(function() {
172
- $("[rel=footnote]").inlineFootnote();
173
- });
174
- </script>
@@ -1,1277 +0,0 @@
1
- /*
2
- 0 CSS RESET
3
- */
4
-
5
- /* http://meyerweb.com/eric/tools/css/reset/
6
- v2.0 | 20110126
7
- License: none (public domain)
8
- */
9
-
10
- html, body, div, span, applet, object, iframe,
11
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
12
- a, abbr, acronym, address, big, cite, code,
13
- del, dfn, em, img, ins, kbd, q, s, samp,
14
- small, strike, strong, sub, sup, tt, var,
15
- b, u, i, center,
16
- ol, ul, li,
17
- fieldset, form, label, legend,
18
- table, caption, tbody, tfoot, thead, tr, th, td,
19
- article, aside, canvas, details, embed,
20
- figure, figcaption, footer, header, hgroup,
21
- menu, nav, output, ruby, section, summary,
22
- time, mark, audio, video {
23
- margin: 0;
24
- padding: 0;
25
- }
26
-
27
- html, body, div, span, applet, object, iframe,
28
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
29
- a, abbr, acronym, address, big, cite, code,
30
- del, dfn, em, img, ins, kbd, q, s, samp,
31
- small, strike, strong, sub, sup, tt, var,
32
- b, u, i, center,
33
- dl, dt, dd, ol, ul, li,
34
- fieldset, form, label, legend,
35
- table, caption, tbody, tfoot, thead, tr, th, td,
36
- article, aside, canvas, details, embed,
37
- figure, figcaption, footer, header, hgroup,
38
- menu, nav, output, ruby, section, summary,
39
- time, mark, audio, video {
40
- border: 0;
41
- font-size: 100%;
42
- }
43
-
44
- html, body, div, span, applet, object, iframe,
45
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
46
- a, abbr, acronym, address, big, cite, code,
47
- del, dfn, em, img, ins, kbd, q, s, samp,
48
- small, strike, strong, tt, var,
49
- b, u, i, center,
50
- dl, dt, dd, ol, ul, li,
51
- fieldset, form, label, legend,
52
- table, caption, tbody, tfoot, thead, tr, th, td,
53
- article, aside, canvas, details, embed,
54
- figure, figcaption, footer, header, hgroup,
55
- menu, nav, output, ruby, section, summary,
56
- time, mark, audio, video {
57
- vertical-align: baseline;
58
- }
59
-
60
-
61
- html, body, div, span, applet, object, iframe,
62
- p, blockquote, pre,
63
- a, abbr, acronym, address, big, cite, code,
64
- del, dfn, em, img, ins, kbd, q, s, samp,
65
- small, strike, strong, sub, sup, tt, var,
66
- b, u, i, center,
67
- dl, dt, dd, ol, ul, li,
68
- fieldset, form, label, legend,
69
- table, caption, tbody, tfoot, thead, tr, th, td,
70
- article, aside, canvas, details, embed,
71
- figure, figcaption, footer, header, hgroup,
72
- menu, nav, output, ruby, section, summary,
73
- time, mark, audio, video {
74
- font-family: $bodyfont;
75
- }
76
-
77
- h1, h2, h3, h4, h5, h6, .h2Annex {
78
- font-family: $headerfont;
79
- }
80
-
81
- dl {
82
- display: grid;
83
- grid-template-columns: max-content auto;
84
- }
85
-
86
- dt {
87
- grid-column-start: 1;
88
- }
89
-
90
- dd {
91
- grid-column-start: 2;
92
- }
93
-
94
- dd p {
95
- margin-top: 0px;
96
- }
97
-
98
- /* HTML5 display-role reset for older browsers */
99
- article, aside, details, figcaption, figure,
100
- footer, header, hgroup, menu, nav, section {
101
- display: block;
102
- }
103
- body {
104
- line-height: 1.3;
105
- }
106
- blockquote, q {
107
- quotes: none;
108
- }
109
- blockquote:before, blockquote:after,
110
- q:before, q:after {
111
- content: '';
112
- content: none;
113
- }
114
- table {
115
- border-collapse: collapse;
116
- border-spacing: 0;
117
- }
118
-
119
- /* New CSS */
120
-
121
- body {
122
- margin-left: 298px;
123
- margin-right: 2em;
124
- }
125
-
126
- main {
127
- padding-left: 4em;
128
- padding-right: 2em;
129
- }
130
-
131
- .WordSection1, .WordSection2 {
132
- padding-left: 4em;
133
- padding-top: 2em;
134
- }
135
-
136
- .WordSection2 {
137
- margin-bottom: 5em;
138
- }
139
-
140
- .doctitle-en, .doctitle-fr {
141
- margin-top: 2em;
142
- text-align: left;
143
- }
144
-
145
- .doctitle-en {
146
- background-color: black;
147
- padding-left: 3em;
148
- margin-left: -3em;
149
- padding-top: 2em;
150
- padding-bottom: 2em;
151
-
152
- }
153
-
154
- .doctitle-en span {
155
- font-size: 1.5em;
156
- line-height: 1.5em;
157
- font-weight: 900;
158
- display: block;
159
- color: white;
160
- }
161
-
162
-
163
- .doctitle-fr span {
164
- font-size: 1.2em;
165
- line-height: 1.2em;
166
- font-style: italic;
167
- display: block;
168
- }
169
-
170
- span.title {
171
- text-transform: uppercase;
172
- font-size: 1em;
173
- font-weight: 800;
174
- }
175
-
176
- .coverpage_docstage {
177
- margin-top: 2em;
178
- margin-bottom: 2em;
179
- }
180
-
181
- .coverpage_warning {
182
- font-size: 0.9em;
183
- font-style: italic;
184
- padding-bottom: 1em;
185
- }
186
-
187
- .coverpage_docnumber, .coverpage_techcommittee {
188
- text-align: right;
189
- font-size: 0.9em;
190
- line-height: 0.5em;
191
- }
192
-
193
- .copyright .name {
194
- font-weight: 900;
195
- padding-top: 1em;
196
- }
197
-
198
- .copyright .year, .copyright .message,
199
- .copyright .name, .copyright .address {
200
- margin-top: 1em;
201
- line-height: 1.1em;
202
- display: block;
203
- }
204
-
205
- .copyright .message, .copyright .name,
206
- .copyright .address {
207
- font-size: 0.9em;
208
- }
209
-
210
- /* TYPOGRAPHY */
211
-
212
- h1 {
213
- font-weight: 900;
214
- }
215
-
216
- h2, h3, h4, h5, h6 {
217
- font-weight: 700;
218
- }
219
-
220
- h1 {
221
- font-size: 1.5em;
222
- line-height: 2em;
223
- margin-top: 2em;
224
- margin-bottom: 1em;
225
- }
226
-
227
- h2 {
228
- font-size: 1.2em;
229
- line-height: 1.5em;
230
- margin-top: 2em;
231
- margin-bottom: 1em;
232
- }
233
-
234
- h1, h2, h3, h4, h5, h6 {
235
- line-height: 1.2;
236
- }
237
-
238
- h2 p {
239
- display: inline;
240
- }
241
-
242
- p {
243
- margin-top: 1em;
244
- margin-bottom: 1em;
245
- line-height: 1.2em;
246
- }
247
-
248
- p.zzSTDTitle1 {
249
- font-weight: 700;
250
- font-size: 1.5em;
251
- }
252
-
253
- span.obligation {
254
- font-weight: 400;
255
- }
256
-
257
- a {
258
- color: black;
259
- text-decoration-color: black;
260
- }
261
-
262
- nav a {
263
- color: black;
264
- text-decoration: none;
265
- line-height: 1.2em;
266
- }
267
-
268
- p.AltTerms {
269
- font-style: italic;
270
- margin-left: 2em;
271
- margin-bottom: 0em;
272
- }
273
-
274
- p.Terms {
275
- font-weight: bold;
276
- }
277
-
278
-
279
- /* Navigation*/
280
-
281
- @media (min-width: 768px) {
282
- nav {
283
- position: fixed;
284
- top: 0;
285
- bottom: 0;
286
- left: 0;
287
- width: 278px;
288
- font-size: 0.9em;
289
- overflow: auto;
290
- padding: 0 0 0 20px;
291
- background-color:#f7f7f7;
292
- }
293
-
294
- #toggle {
295
- position: fixed;
296
- height: 100%;
297
- width: 30px;
298
- background-color:black;
299
- color: white!important;
300
- cursor: pointer;
301
- margin-left: -4em;
302
- margin-top: -2em;
303
- }
304
-
305
- #toggle span {
306
- text-align: center;
307
- width: 100%;
308
- position: absolute;
309
- top: 50%;
310
- transform: translate(0, -50%);
311
-
312
- }
313
-
314
-
315
- .container {
316
- padding-left: 360px;
317
- }
318
-
319
- .rule.toc {
320
- display: none;
321
- }
322
-
323
- h1.toc-contents {
324
- margin-top: 1em;
325
- }
326
-
327
- ul#toc-list {
328
- padding:0;
329
- margin:0;
330
- }
331
- }
332
-
333
- @media (max-width: 768px) {
334
- #toc {
335
- padding: 0 1.5em 0 1.5em;
336
- overflow: visible;
337
- }
338
-
339
- #toggle {
340
- display: none;
341
- margin-left: -4em;
342
- margin-top: -2em;
343
- }
344
-
345
- body {
346
- margin-left: 2em;
347
- }
348
-
349
- main {
350
- padding: 0;
351
- }
352
-
353
- .WordSection1, .WordSection2 {
354
- padding-left: 0;
355
- padding-top: 0;
356
- width: 100%;
357
- }
358
- }
359
-
360
-
361
-
362
- #toc ul {
363
- margin: 0;
364
- padding: 0;
365
- list-style: none;
366
- }
367
-
368
- #toc li {
369
- padding: 5px 10px;
370
- }
371
-
372
- #toc a {
373
- text-decoration: none;
374
- display: block;
375
- }
376
-
377
- #toc a:hover {
378
- color: white;
379
- }
380
-
381
- #toc .h2 {
382
- padding-left: 30px;
383
- }
384
-
385
- #toc .h3 {
386
- padding-left: 50px;
387
- }
388
-
389
- #toc .toc-active a {
390
- color: white;
391
- }
392
-
393
- #toc .toc-active, #toc li:hover {
394
- background: #1d1d1d;
395
- box-shadow: inset -5px 0px 10px -5px #1d1d1d!important;
396
-
397
- }
398
-
399
- #toc li:hover a {
400
- color: white;
401
- }
402
-
403
- ul li {
404
- list-style: none;
405
- }
406
-
407
- li p:before {
408
- content: "—";
409
- display: inline-block;
410
- width: 1em;
411
- margin-left: -1.5em;
412
- margin-right: 0.5em;
413
- }
414
-
415
- li p {
416
- /* display: inline-block; */
417
- margin-bottom: 0.6em;
418
- line-height: 1.2;
419
- }
420
-
421
- #toc li:before {
422
- content: " ";
423
- display: none;
424
- }
425
-
426
- /*
427
- Document types + stages
428
- */
429
-
430
- .document-type-band {
431
- left:0;
432
- top:180px;
433
- height: 100%;
434
- position: fixed;
435
- display: block;
436
- z-index: 99;
437
- /*box-shadow: -5px 0px 10px #1d1d1d*/
438
-
439
- }
440
-
441
- .document-stage-band {
442
- left:0;
443
- top:0;
444
- height: 100%;
445
- position: fixed;
446
- display: block;
447
- z-index: 98;
448
- box-shadow: -5px 0px 10px #1d1d1d
449
- }
450
-
451
- .document-type {
452
- position: relative;
453
- width: 25px;
454
- }
455
-
456
- .document-stage {
457
- position: relative;
458
- width: 25px;
459
- }
460
-
461
- p.document-type, p.document-stage {
462
- color: white;
463
- text-transform: uppercase;
464
- font-size: 0.9em;
465
- font-weight: 400;
466
- letter-spacing: 0.05em;
467
- margin:0;
468
- margin-left: 6px;
469
- writing-mode:tb-rl;
470
- -webkit-transform:rotate(180deg);
471
- -moz-transform:rotate(180deg);
472
- -o-transform: rotate(180deg);
473
- white-space:nowrap;
474
- display:block;
475
- bottom:0;
476
- }
477
-
478
- p.document-type {
479
- font-weight: 400;
480
- height: 210px;
481
- }
482
-
483
- #governance-band p.document-type {
484
- font-weight: 400;
485
- height: 230px!important;
486
- }
487
-
488
- p.document-stage {
489
- font-weight: 300;
490
- height:160px;
491
- }
492
-
493
- #standard-band {
494
- background-color: #0ac442;
495
- }
496
-
497
- #standard {
498
- border-bottom: solid 3px #0ac442;
499
- }
500
-
501
- #governance {
502
- border-bottom: solid 3px #750697;
503
- }
504
-
505
- #governance-band {
506
- background-color: #750697;
507
- }
508
-
509
- #guide {
510
- border-bottom: solid 3px #48a0e7;
511
- }
512
-
513
- #guide-band {
514
- background-color: #48a0e7;
515
- }
516
-
517
- .coverpage-maturity {
518
- font-family: 'Overpass', sans-serif;
519
- font-weight: 400;
520
- font-size: 1em;
521
- margin: 0 0 2em 0;
522
- text-transform: uppercase;
523
- }
524
-
525
- #working-draft {
526
- border-bottom: solid 3px #fda706;
527
- }
528
-
529
- #working-draft-band {
530
- background-color: #fda706;
531
- }
532
-
533
- #committee-draft {
534
- border-bottom: solid 3px #fd06fd;
535
- }
536
-
537
- #committee-draft-band {
538
- background-color: #fd06fd;
539
- }
540
-
541
- #draft-standard {
542
- border-bottom: solid 3px #fdf906;
543
- }
544
-
545
- #draft-standard {
546
- border-bottom: solid 3px #fdf906;
547
- }
548
-
549
- #standard {
550
- border-bottom: solid 3px #0ac442;
551
- }
552
-
553
- #standard-band {
554
- background-color: #0ac442;
555
- }
556
-
557
- #obsolete {
558
- border-bottom: solid 3px #7e0d13;
559
- }
560
-
561
- #obsolete-band {
562
- background-color: #7e0d13;
563
- }
564
-
565
-
566
- /* 3 Other styles */
567
-
568
- /*
569
- 3.3 Lists
570
- */
571
-
572
- ul, ol {margin-left: 2em;}
573
-
574
- #toc-list ul {margin-bottom: 0.25em;}
575
-
576
- #toc-list ul li {list-style-type: none;}
577
-
578
- /*
579
- 3.4 Rules
580
- */
581
-
582
- .rule {
583
- width: 100%;
584
- height: 1px;
585
- background-color: #0e1a85;
586
- margin: 2em 0;
587
- }
588
-
589
- /*
590
- 3.5 Bibliograhy
591
- */
592
-
593
- p.Biblio {
594
- margin-top: 1em;
595
- margin-left: 2em;
596
- }
597
-
598
- /*
599
- 3.6 Source Code + figures
600
- */
601
-
602
- .Sourcecode {
603
- font-family: $monospacefont;
604
- }
605
-
606
- .figure, .Sourcecode {
607
- background-color: #f7f7f7;
608
- line-height: 1.6em;
609
- padding: 1.5em;
610
- margin: 2em 0 1em 0;
611
- overflow: auto;
612
- }
613
-
614
- .figure-title, .FigureTitle {
615
- font-weight: 700;
616
- font-size: 1em;
617
- text-align: center;
618
- }
619
-
620
- /*
621
- 3.7 Notes
622
- */
623
-
624
- .Note, .note {
625
- background-color: #fff495;
626
- color: #47430c;
627
- padding: 0.5em;
628
- margin: 1.5em 0 1.5em 0;
629
- text-align: left;
630
- }
631
-
632
- .Note p, .note p {
633
- margin: 0;
634
- }
635
-
636
- /*
637
- 3.8 Examples
638
- */
639
-
640
- .example {
641
- background-color: #e1eef1;
642
- padding: 0.5em;
643
- margin: 2em 0 1em 0;
644
- text-align: left;
645
- }
646
-
647
- .example p {
648
- margin: 0;
649
- }
650
-
651
- .example .example-title {
652
- font-weight: 700;
653
- text-transform: uppercase;
654
- text-align: center;
655
- margin-top:0;
656
- }
657
-
658
- /*
659
- 3.9 Tables
660
- */
661
-
662
- table {
663
- border-collapse: collapse;
664
- width: 100%;
665
- font-weight: 300;
666
- margin: 1em 0 2em 0;
667
- margin-left: auto;
668
- margin-right: auto;
669
- padding-right: 2em;
670
- text-align: center;
671
- }
672
-
673
- table, th, td {
674
- border: 1px solid black;
675
- font-size: 0.95em;
676
- }
677
-
678
- td, th {
679
- padding: 1em!important;
680
- }
681
-
682
- td.header {
683
- font-weight: 400;
684
- }
685
-
686
- p.TableTitle {
687
- text-align: center;
688
- margin-top: 2.5em;
689
- font-weight: 800;
690
- font-size: 1.1em;
691
- }
692
-
693
- .TableFootnote {
694
- text-align: left!important;
695
- }
696
-
697
- /*
698
- 3.10 Footnotes
699
- */
700
-
701
- a.footnote-number, a.TableFootnoteRef {
702
- vertical-align: super;
703
- font-size: 0.8em;
704
- }
705
-
706
- .footnote {
707
- font-size: 0.9em;
708
- }
709
-
710
- sup a {
711
- vertical-align: super;
712
- font-size: 0.8em;
713
- }
714
- #footnote_box {
715
- font-size: 14px;
716
- background: white;
717
- padding: 0 10px;
718
- margin: 10px;
719
- border: 1px solid #888;
720
- -moz-box-shadow: 0px 0px 5px #888;
721
- -webkit-box-shadow: 0px 0px 5px #888;
722
- box-shadow: 0px 0px 5px #888;
723
- }
724
-
725
- ol.footnotes-list, aside.footnote {
726
- margin-left: 1em;
727
-
728
- }
729
-
730
- ol.footnotes-list li, aside.footnote {
731
- font-size: 0.9em;
732
- vertical-align: top;
733
- list-style:decimal;
734
- margin-bottom: 1em;
735
- }
736
-
737
- ol.footnotes-list:first-child {
738
- margin-top: 2em;
739
- }
740
-
741
- ol.footnotes-list p, aside.footnote {
742
- display: inline;
743
- }
744
-
745
- ol li p:before {
746
- content: "";
747
- display: none;
748
- }
749
-
750
-
751
-
752
- /*
753
- 3.11 Blockquotes
754
- */
755
-
756
- .blockquote, .Quote {
757
- background-color: #f7f7f7;
758
- font-style: italic;
759
- width: 80%;
760
- padding: 1.5em;
761
- margin-top: 2em;
762
- margin-left: auto;
763
- margin-right: auto;
764
- }
765
-
766
-
767
- /*
768
- 3.12 Formulas
769
- */
770
-
771
- .formula {
772
- background-color: #f7f7f7;
773
- padding: 1.5em;
774
- margin-top: 2em;
775
- text-align: center;
776
- margin-left: 20%;
777
- margin-right: 20%;
778
- font-size: 0.9em;
779
- }
780
-
781
- /*
782
- Keywords
783
- */
784
-
785
- span.keyword {
786
- font-weight: 600;
787
- }
788
-
789
-
790
- .Admonition, .admonition {
791
- background-color: #ffb3b3;
792
- /* color: #47430c;*/
793
- padding: 0.5em;
794
- margin: 1.5em 0 1.5em 0;
795
- text-align: left;
796
- }
797
-
798
- .Admonition p, .admonition p {
799
- margin: 0;
800
- }
801
-
802
-
803
-
804
-
805
- /* Old CSS
806
- p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
807
- margin-top: 0cm;
808
- margin-right: 0cm;
809
- margin-bottom: 12.0pt;
810
- margin-left: 0cm;
811
- text-align: justify;
812
- line-height: 12.0pt;
813
- tab-stops: 20.15pt;
814
- font-size: 12.0pt;
815
- font-family: "Cambria", serif; }
816
-
817
- p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {
818
- margin-top: 0cm;
819
- margin-right: 0cm;
820
- margin-bottom: 12.0pt;
821
- margin-left: 0cm;
822
- text-align: justify;
823
- line-height: 12.0pt;
824
- tab-stops: 20.15pt;
825
- font-size: 10.0pt;
826
- font-family: "Cambria", serif;
827
- font-weight: bold;
828
- }
829
-
830
- p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode {
831
- margin-top: 0cm;
832
- margin-right: 0cm;
833
- margin-bottom: 12.0pt;
834
- margin-left: 0cm;
835
- text-align: left;
836
- line-height: 12.0pt;
837
- tab-stops: 20.15pt;
838
- font-size: 9.0pt;
839
- font-family: "Courier New", monospace; }
840
-
841
- p.Biblio, li.Biblio, div.Biblio {
842
- margin-top: 0cm;
843
- margin-right: 0cm;
844
- margin-bottom: 12.0pt;
845
- margin-left: 33.15pt;
846
- text-indent: -33.15pt;
847
- tab-stops: 33.15pt;
848
- line-height: 12.0pt;
849
- font-size: 11.0pt;
850
- font-family: "Cambria", serif; }
851
-
852
- p.FigureTitle {
853
- margin-top: 0cm;
854
- margin-right: 0cm;
855
- margin-bottom: 6.0pt;
856
- margin-left: 0cm;
857
- text-align: center;
858
- line-height: 12.0pt;
859
- page-break-before: avoid;
860
- tab-stops: 20.15pt;
861
- font-size: 11.0pt;
862
- font-family: "Cambria", serif;
863
- font-weight: bold; }
864
-
865
- p.TableTitle {
866
- margin-top: 0cm;
867
- margin-right: 0cm;
868
- margin-bottom: 6.0pt;
869
- margin-left: 0cm;
870
- text-align: center;
871
- page-break-after: avoid;
872
- line-height: 12.0pt;
873
- tab-stops: 20.15pt;
874
- font-size: 11.0pt;
875
- font-weight: bold;
876
- font-family: "Cambria", serif; }
877
-
878
- p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote {
879
- margin-top: 0cm;
880
- margin-right: 0cm;
881
- margin-bottom: 12.0pt;
882
- margin-left: 0cm;
883
- text-align: justify;
884
- line-height: 12.0pt;
885
- tab-stops: 20.15pt;
886
- font-size: 10.0pt;
887
- font-family: "Cambria", serif; }
888
-
889
- /* may need to be revised *//*
890
- p.ANNEX, li.ANNEX, div.ANNEX {
891
- margin-top: 0cm;
892
- margin-right: 0cm;
893
- margin-bottom: 24.0pt;
894
- margin-left: 0cm;
895
- text-align: center;
896
- text-indent: 0cm;
897
- line-height: 15.5pt;
898
- page-break-before: always;
899
- page-break-after: avoid;
900
- tab-stops: 20.15pt;
901
- font-size: 14.0pt;
902
- font-family: "Cambria", serif;
903
- font-weight: bold; }
904
-
905
- p.BiblioTitle, li.BiblioTitle, div.BiblioTitle {
906
- margin-top: 0cm;
907
- margin-right: 0cm;
908
- margin-bottom: 15.5pt;
909
- margin-left: 0cm;
910
- text-align: center;
911
- line-height: 15.5pt;
912
- tab-stops: 20.15pt;
913
- font-size: 14.0pt;
914
- font-family: "Cambria", serif;
915
- font-weight: bold; }
916
-
917
- p.Definition, li.Definition, div.Definition {
918
- margin-top: 0cm;
919
- margin-right: 0cm;
920
- margin-bottom: 12.0pt;
921
- margin-left: 0cm;
922
- text-align: justify;
923
- line-height: 12.0pt;
924
- tab-stops: 20.15pt;
925
- font-size: 11.0pt;
926
- font-family: "Cambria", serif; }
927
-
928
- p.ForewordTitle, li.ForewordTitle, div.ForewordTitle {
929
- margin-top: 0cm;
930
- margin-right: 0cm;
931
- margin-bottom: 15.5pt;
932
- margin-left: 0cm;
933
- text-align: justify;
934
- line-height: 15.5pt;
935
- page-break-before: always;
936
- page-break-after: avoid;
937
- tab-stops: 20.15pt;
938
- font-size: 14.0pt;
939
- font-family: "Cambria", serif;
940
- font-weight: bold; }
941
-
942
- p.IntroTitle, li.IntroTitle, div.IntroTitle {
943
- margin-top: 0cm;
944
- margin-right: 0cm;
945
- margin-bottom: 15.5pt;
946
- margin-left: 0cm;
947
- text-align: justify;
948
- line-height: 15.5pt;
949
- page-break-after: avoid;
950
- tab-stops: 20.15pt;
951
- font-size: 14.0pt;
952
- page-break-before: always;
953
- font-family: "Cambria", serif;
954
- font-weight: bold; }
955
-
956
- p.Terms, li.Terms, div.Terms {
957
- margin: 0cm;
958
- margin-bottom: .0001pt;
959
- line-height: 12.0pt;
960
- page-break-after: avoid;
961
- tab-stops: 20.15pt;
962
- font-size: 11.0pt;
963
- font-family: "Cambria", serif;
964
- font-weight: bold; }
965
-
966
- p.AltTerms, li.AltTerms, div.AltTerms {
967
- margin: 0cm;
968
- margin-bottom: .0001pt;
969
- line-height: 12.0pt;
970
- page-break-after: avoid;
971
- tab-stops: 20.15pt;
972
- font-size: 11.0pt;
973
- font-family: "Cambria", serif; }
974
-
975
- p.DeprecatedTerms, li.DeprecatedTerms, div.DeprecatedTerms {
976
- margin: 0cm;
977
- margin-bottom: .0001pt;
978
- line-height: 12.0pt;
979
- page-break-after: avoid;
980
- tab-stops: 20.15pt;
981
- font-size: 11.0pt;
982
- font-family: "Cambria", serif; }
983
-
984
- p.TermNum, li.TermNum, div.TermNum {
985
- margin: 0cm;
986
- margin-bottom: .0001pt;
987
- line-height: 12.0pt;
988
- page-break-after: avoid;
989
- tab-stops: 20.15pt;
990
- font-size: 11.0pt;
991
- font-family: "Cambria", serif;
992
- font-weight: bold; }
993
-
994
- p.zzContents, li.zzContents, div.zzContents {
995
- margin-top: 48.0pt;
996
- margin-right: 0cm;
997
- margin-bottom: 15.5pt;
998
- margin-left: 0cm;
999
- line-height: 15.5pt;
1000
- page-break-before: always;
1001
- page-break-after: avoid;
1002
- tab-stops: 20.15pt;
1003
- font-size: 14.0pt;
1004
- font-family: "Cambria", serif;
1005
- font-weight: bold; }
1006
-
1007
- p.zzCopyright, li.zzCopyright, div.zzCopyright {
1008
- margin-top: 0cm;
1009
- margin-right: 14.2pt;
1010
- margin-bottom: 12.0pt;
1011
- margin-left: 14.2pt;
1012
- text-align: justify;
1013
- line-height: 12.0pt;
1014
- tab-stops: 20.15pt 25.7pt 481.15pt;
1015
- border: none;
1016
- padding: 0cm;
1017
- font-size: 11.0pt;
1018
- font-family: "Cambria", serif; }
1019
-
1020
- p.zzSTDTitle, li.zzSTDTitle, div.zzSTDTitle {
1021
- margin-top: 20.0pt;
1022
- margin-right: 0cm;
1023
- margin-bottom: 38.0pt;
1024
- margin-left: 0cm;
1025
- line-height: 17.5pt;
1026
- tab-stops: 20.15pt;
1027
- font-size: 16.0pt;
1028
- font-family: "Cambria", serif;
1029
- font-weight: bold; }
1030
-
1031
- p.zzSTDTitle1, li.zzSTDTitle1, div.zzSTDTitle1 {
1032
- margin-top: 0pt;
1033
- margin-right: 0cm;
1034
- margin-bottom: 18.0pt;
1035
- margin-left: 0cm;
1036
- line-height: 17.5pt;
1037
- tab-stops: 20.15pt;
1038
- font-size: 16.0pt;
1039
- font-family: "Cambria", serif;
1040
- font-weight: bold; }
1041
-
1042
- p.Quote, li.Quote, div.Quote {
1043
- margin-top: 0cm;
1044
- margin-right: 36.0pt;
1045
- margin-bottom: 0cm;
1046
- margin-left: 36.0pt;
1047
- text-align: justify;
1048
- line-height: 12.0pt;
1049
- tab-stops: 20.15pt;
1050
- font-size: 11.0pt;
1051
- font-family: "Cambria", serif; }
1052
-
1053
- p.QuoteAttribution {
1054
- text-align: right; }
1055
-
1056
- p.Admonition, li.Admonition, div.Admonition {
1057
- border: none;
1058
- padding: 0cm;
1059
- font-size: 12.0pt;
1060
- font-family: "Cambria", serif;
1061
- font-weight: bold; }
1062
-
1063
- p.Code, li.Code, div.Code {
1064
- margin: 0cm;
1065
- margin-bottom: .0001pt;
1066
- line-height: 10.0pt;
1067
- tab-stops: 20.15pt;
1068
- font-size: 9.0pt;
1069
- font-family: "Courier New", monospace; }
1070
-
1071
- p.Formula, li.Formula, div.Formula {
1072
- margin-top: 0cm;
1073
- margin-right: 0cm;
1074
- margin-bottom: 11.0pt;
1075
- margin-left: 20.15pt;
1076
- line-height: 12.0pt;
1077
- tab-stops: right 487.45pt;
1078
- font-size: 11.0pt;
1079
- font-family: "Cambria", serif; }
1080
-
1081
- table.dl {
1082
- margin-top: 0cm;
1083
- margin-right: 0cm;
1084
- margin-bottom: 11.0pt;
1085
- margin-left: 20.15pt; }
1086
-
1087
- .h2Annex {
1088
- margin-top: 3.0pt;
1089
- margin-right: 0cm;
1090
- margin-bottom: 12.0pt;
1091
- margin-left: 0cm;
1092
- text-indent: 0cm;
1093
- line-height: 12.5pt;
1094
- page-break-after: avoid;
1095
- tab-stops: 27.0pt 35.0pt;
1096
- font-size: 12.0pt;
1097
- font-family: "Cambria", serif;
1098
- font-weight: bold; }
1099
-
1100
- ol {
1101
- margin-bottom: 0cm; }
1102
-
1103
- ul {
1104
- margin-bottom: 0cm; }
1105
-
1106
- table.MsoISOTable {
1107
- border-collapse: collapse;
1108
- border: solid windowtext 2pt;
1109
- font-size: 10.0pt;
1110
- font-family: "Cambria", serif; }
1111
-
1112
- table.MsoISOTable tr {
1113
- page-break-inside: avoid; }
1114
-
1115
- table.MsoISOTable th {
1116
- border: solid windowtext 1pt;
1117
- padding: 0cm 2.85pt 0cm 2.85pt; }
1118
-
1119
- table.MsoISOTable td {
1120
- border: solid windowtext 1pt;
1121
- padding: 0cm 2.85pt 0cm 2.85pt; }
1122
-
1123
- table.MsoTableGrid {
1124
- border: solid windowtext 1.0pt;
1125
- font-size: 10.0pt;
1126
- font-family: "Cambria", serif; }
1127
-
1128
- td {
1129
- page-break-inside: avoid; }
1130
-
1131
- tr {
1132
- page-break-after: avoid; }
1133
-
1134
- span.stem {
1135
- font-family: "Cambria Math",serif;
1136
- font-style: italic; }
1137
-
1138
- div.formula {
1139
- tab-stops: right 487.45pt; }
1140
-
1141
- body {
1142
- tab-interval: 36.0pt; }
1143
-
1144
- dt {
1145
- page-break-inside: avoid;
1146
- page-break-after: avoid; }
1147
-
1148
- .coverpage_docnumber {
1149
- text-align: right;
1150
- font-size: 14.0pt;
1151
- font-weight: bold; }
1152
-
1153
- .coverpage_techcommittee {
1154
- text-align: right; }
1155
-
1156
- .coverpage_docstage {
1157
- text-align: center;
1158
- font-size: 30.0pt;
1159
- color: #485094; }
1160
-
1161
- div.doctitle {
1162
- margin-top: 100.0pt;
1163
- text-align: left;
1164
- font-size: 16.0pt; }
1165
-
1166
- div.coverpage_warning {
1167
- border: solid windowtext 1.0pt #485094;
1168
- padding: 1.0pt 4.0pt 1.0pt 4.0pt #485094;
1169
- margin-left: 4.25pt;
1170
- margin-right: 4.25pt; }
1171
-
1172
- .coverpage_warning {
1173
- color: #485094;
1174
- font-size: 10.0pt; }
1175
-
1176
- .coverpage {
1177
- text-align: center;
1178
- margin: 2em 0; }
1179
-
1180
- .coverpage-logo {
1181
- color: #485094; }
1182
-
1183
- .coverpage-tc-name {
1184
- color: #485094;
1185
- font-size: 1.2em;
1186
- line-height: 1.2em;
1187
- margin: 0.25em 0; }
1188
-
1189
- .coverpage-doc-identity {
1190
- background-color: #485094;
1191
- color: white;
1192
- font-size: 2em;
1193
- line-height: 2em;
1194
- margin: 0.5em 0; }
1195
-
1196
- .coverpage-title {
1197
- font-weight: 400; }
1198
-
1199
- .coverpage-title .title-second {
1200
- display: none; }
1201
-
1202
- .coverpage-stage-block {
1203
- font-style: italic;
1204
- font-size: 1.25em;
1205
- font-weight: 600; }
1206
-
1207
- .coverpage-warning {
1208
- border-top: solid 1px #f36f36;
1209
- border-bottom: solid 1px #f36f36;
1210
- margin: 1em 2em;
1211
- color: #485094;
1212
- padding: 1em; }
1213
-
1214
- .coverpage-warning .title {
1215
- color: #f36f36;
1216
- font-weight: 500; }
1217
-
1218
- .coverpage-warning .content {
1219
- font-style: italic; }
1220
-
1221
- .copyright {
1222
- padding: 1em; }
1223
-
1224
- .copyright .name {
1225
- color: #485094;
1226
- font-weight: 600; }
1227
-
1228
- .copyright .address {
1229
- color: #485094; }
1230
-
1231
- div.rule {
1232
- width: 100%;
1233
- height: 1px;
1234
- background-color: #485094;
1235
- margin: 2em 0; }
1236
-
1237
- #toc-list ul {
1238
- margin-bottom: 0.25em; }
1239
-
1240
- #toc-list li {
1241
- list-style-type: none; }
1242
-
1243
- .MsoTocTextSpan {
1244
- color: windowtext;
1245
- display: none;
1246
- text-decoration: none;
1247
- text-underline: none; }
1248
-
1249
- a.TableFootnoteRef {
1250
- vertical-align: super; }
1251
-
1252
- aside {
1253
- font-size: 10.0pt; }
1254
-
1255
- /*
1256
- div.example {
1257
- border:solid black .25pt;
1258
-
1259
- padding:10pt;
1260
-
1261
- margin:10pt;
1262
-
1263
- }
1264
- *//*
1265
- div.example {
1266
- margin-left: 70.9pt;
1267
- text-indent: -70.9pt; }
1268
-
1269
- p.example, li.example, div.example, td.example, td.example p {
1270
- margin: 0in;
1271
- margin-bottom: .0001pt;
1272
- font-size: 10.0pt;
1273
- font-family: "Cambria", serif; }
1274
-
1275
- span.note_label, span.example_label, td.example_label, td.note_label {
1276
- font-size: 10.0pt;
1277
- font-family: "Cambria", serif; }*/