metanorma-ieee 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/rake.yml +13 -0
- data/.rubocop.yml +10 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +11 -0
- data/LICENSE +25 -0
- data/README.adoc +30 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/rspec +17 -0
- data/bin/setup +8 -0
- data/lib/html2doc/ieee.rb +89 -0
- data/lib/isodoc/ieee/base_convert.rb +33 -0
- data/lib/isodoc/ieee/html/header.html +146 -0
- data/lib/isodoc/ieee/html/html_ieee_intro.html +12 -0
- data/lib/isodoc/ieee/html/html_ieee_titlepage.html +44 -0
- data/lib/isodoc/ieee/html/htmlstyle.css +1027 -0
- data/lib/isodoc/ieee/html/htmlstyle.scss +736 -0
- data/lib/isodoc/ieee/html/ieee.css +3603 -0
- data/lib/isodoc/ieee/html/ieee.scss +3418 -0
- data/lib/isodoc/ieee/html/scripts.html +70 -0
- data/lib/isodoc/ieee/html/word_ieee_intro.html +70 -0
- data/lib/isodoc/ieee/html/word_ieee_titlepage.html +28 -0
- data/lib/isodoc/ieee/html/wordstyle.css +5310 -0
- data/lib/isodoc/ieee/html/wordstyle.scss +5026 -0
- data/lib/isodoc/ieee/html_convert.rb +52 -0
- data/lib/isodoc/ieee/i18n-en.yaml +28 -0
- data/lib/isodoc/ieee/i18n.rb +19 -0
- data/lib/isodoc/ieee/ieee.amendment.xsl +11177 -0
- data/lib/isodoc/ieee/ieee.rb +11 -0
- data/lib/isodoc/ieee/ieee.standard.xsl +11177 -0
- data/lib/isodoc/ieee/init.rb +28 -0
- data/lib/isodoc/ieee/metadata.rb +136 -0
- data/lib/isodoc/ieee/pdf_convert.rb +24 -0
- data/lib/isodoc/ieee/presentation_terms.rb +181 -0
- data/lib/isodoc/ieee/presentation_xml_convert.rb +89 -0
- data/lib/isodoc/ieee/word_authority.rb +160 -0
- data/lib/isodoc/ieee/word_cleanup.rb +134 -0
- data/lib/isodoc/ieee/word_convert.rb +75 -0
- data/lib/isodoc/ieee/xref.rb +77 -0
- data/lib/isodoc/ieee.rb +11 -0
- data/lib/metanorma/ieee/basicdoc.rng +1150 -0
- data/lib/metanorma/ieee/biblio.rng +1385 -0
- data/lib/metanorma/ieee/boilerplate.xml +298 -0
- data/lib/metanorma/ieee/cleanup.rb +160 -0
- data/lib/metanorma/ieee/converter.rb +81 -0
- data/lib/metanorma/ieee/front.rb +120 -0
- data/lib/metanorma/ieee/ieee.rng +97 -0
- data/lib/metanorma/ieee/isodoc.rng +2776 -0
- data/lib/metanorma/ieee/processor.rb +56 -0
- data/lib/metanorma/ieee/reqt.rng +226 -0
- data/lib/metanorma/ieee/validate.rb +198 -0
- data/lib/metanorma/ieee/validate_section.rb +119 -0
- data/lib/metanorma/ieee/validate_style.rb +108 -0
- data/lib/metanorma/ieee/version.rb +5 -0
- data/lib/metanorma/ieee.rb +11 -0
- data/lib/metanorma-ieee.rb +8 -0
- data/metanorma-itu.gemspec +41 -0
- metadata +284 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
<script>
|
2
|
+
$("#toc").on('click', 'li', function(e) {
|
3
|
+
$(this).parent().find('li.toc-active').removeClass('toc-active');
|
4
|
+
$(this).addClass('toc-active');
|
5
|
+
});
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
//TOC toggle animation
|
10
|
+
$('#toggle').on('click', function(){
|
11
|
+
if( $('nav').is(':visible') ) {
|
12
|
+
$('nav').animate({ 'left': '-353px' }, 'slow', function(){
|
13
|
+
$('nav').hide();
|
14
|
+
});
|
15
|
+
$('.container').animate({ 'padding-left': '31px' }, 'slow');
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
$('nav').show();
|
19
|
+
$('nav').animate({ 'left': '0px' }, 'slow');
|
20
|
+
}
|
21
|
+
});
|
22
|
+
</script>
|
23
|
+
|
24
|
+
<script>
|
25
|
+
// Scroll to top button
|
26
|
+
window.onscroll = function() {scrollFunction()};
|
27
|
+
|
28
|
+
function scrollFunction() {
|
29
|
+
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
|
30
|
+
document.getElementById("myBtn").style.display = "block";
|
31
|
+
} else {
|
32
|
+
document.getElementById("myBtn").style.display = "none";
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
// When the user clicks on the button, scroll to the top of the document
|
37
|
+
function topFunction() {
|
38
|
+
document.body.scrollTop = 0;
|
39
|
+
document.documentElement.scrollTop = 0;
|
40
|
+
}
|
41
|
+
</script>
|
42
|
+
|
43
|
+
<script>
|
44
|
+
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
|
45
|
+
//
|
46
|
+
// AnchorJS - v4.2.2 - 2020-04-20
|
47
|
+
// https://www.bryanbraun.com/anchorjs/
|
48
|
+
// Copyright (c) 2020 Bryan Braun; Licensed MIT
|
49
|
+
//
|
50
|
+
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
|
51
|
+
!function(A,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():(A.AnchorJS=e(),A.anchors=new A.AnchorJS)}(this,function(){"use strict";return function(A){function f(A){A.icon=A.hasOwnProperty("icon")?A.icon:"",A.visible=A.hasOwnProperty("visible")?A.visible:"hover",A.placement=A.hasOwnProperty("placement")?A.placement:"right",A.ariaLabel=A.hasOwnProperty("ariaLabel")?A.ariaLabel:"Anchor",A.class=A.hasOwnProperty("class")?A.class:"",A.base=A.hasOwnProperty("base")?A.base:"",A.truncate=A.hasOwnProperty("truncate")?Math.floor(A.truncate):64,A.titleText=A.hasOwnProperty("titleText")?A.titleText:""}function p(A){var e;if("string"==typeof A||A instanceof String)e=[].slice.call(document.querySelectorAll(A));else{if(!(Array.isArray(A)||A instanceof NodeList))throw new Error("The selector provided to AnchorJS was invalid.");e=[].slice.call(A)}return e}this.options=A||{},this.elements=[],f(this.options),this.isTouchDevice=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(A){var e,t,i,n,o,s,a,r,c,h,l,u,d=[];if(f(this.options),"touch"===(l=this.options.visible)&&(l=this.isTouchDevice()?"always":"hover"),0===(e=p(A=A||"h2, h3, h4, h5, h6")).length)return this;for(!function(){if(null!==document.head.querySelector("style.anchorjs"))return;var A,e=document.createElement("style");e.className="anchorjs",e.appendChild(document.createTextNode("")),void 0===(A=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(e):document.head.insertBefore(e,A);e.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",e.sheet.cssRules.length),e.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",e.sheet.cssRules.length),e.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",e.sheet.cssRules.length),e.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',e.sheet.cssRules.length)}(),t=document.querySelectorAll("[id]"),i=[].map.call(t,function(A){return A.id}),o=0;o<e.length;o++)if(this.hasAnchorJSLink(e[o]))d.push(o);else{if(e[o].hasAttribute("id"))n=e[o].getAttribute("id");else if(e[o].hasAttribute("data-anchor-id"))n=e[o].getAttribute("data-anchor-id");else{for(c=r=this.urlify(e[o].textContent),a=0;void 0!==s&&(c=r+"-"+a),a+=1,-1!==(s=i.indexOf(c)););s=void 0,i.push(c),e[o].setAttribute("id",c),n=c}(h=document.createElement("a")).className="anchorjs-link "+this.options.class,h.setAttribute("aria-label",this.options.ariaLabel),h.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(h.title=this.options.titleText),u=document.querySelector("base")?window.location.pathname+window.location.search:"",u=this.options.base||u,h.href=u+"#"+n,"always"===l&&(h.style.opacity="1"),""===this.options.icon&&(h.style.font="1em/1 anchorjs-icons","left"===this.options.placement&&(h.style.lineHeight="inherit")),"left"===this.options.placement?(h.style.position="absolute",h.style.marginLeft="-1em",h.style.paddingRight="0.5em",e[o].insertBefore(h,e[o].firstChild)):(h.style.paddingLeft="0.375em",e[o].appendChild(h))}for(o=0;o<d.length;o++)e.splice(d[o]-o,1);return this.elements=this.elements.concat(e),this},this.remove=function(A){for(var e,t,i=p(A),n=0;n<i.length;n++)(t=i[n].querySelector(".anchorjs-link"))&&(-1!==(e=this.elements.indexOf(i[n]))&&this.elements.splice(e,1),i[n].removeChild(t));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(A){return this.options.truncate||f(this.options),A.trim().replace(/\'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(A){var e=A.firstChild&&-1<(" "+A.firstChild.className+" ").indexOf(" anchorjs-link "),t=A.lastChild&&-1<(" "+A.lastChild.className+" ").indexOf(" anchorjs-link ");return e||t||!1}}});
|
52
|
+
// @license-end
|
53
|
+
</script>
|
54
|
+
<script>
|
55
|
+
/*
|
56
|
+
$(document).ready(function() {
|
57
|
+
$('[id^=toc]').each(function ()
|
58
|
+
{
|
59
|
+
var currentToc = $(this);
|
60
|
+
var url = window.location.href;
|
61
|
+
currentToc.wrap("<a href='" + url + "#" + currentToc.attr("id") + "' </a>");
|
62
|
+
});
|
63
|
+
});
|
64
|
+
*/
|
65
|
+
anchors.options = {
|
66
|
+
placement: 'left'
|
67
|
+
};
|
68
|
+
anchors.add('h1, h2, h3, h4');
|
69
|
+
</script>
|
70
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<div class="WordSection2">
|
2
|
+
|
3
|
+
<div id="abstract-destination"/>
|
4
|
+
|
5
|
+
<p class="IEEEStdsKeywords"><a name="_Ref51926020"><span
|
6
|
+
class="IEEEStdsKeywordsHeader"><span lang="EN-US"><o:p> </o:p></span></span></a></p>
|
7
|
+
|
8
|
+
<p class="IEEEStdsKeywords"><span style='mso-bookmark:_Ref51926020'><span
|
9
|
+
class="IEEEStdsKeywordsHeader"><span lang="EN-US">Keywords:</span></span><span
|
10
|
+
lang="EN-US">{{ keywords | join ', ' }}</span></span></p>
|
11
|
+
|
12
|
+
<p class="IEEEStdsParagraph"><span lang="EN-US"><o:p> </o:p></span></p>
|
13
|
+
|
14
|
+
<p class="IEEEStdsCRFootnote"><a class="FootnoteRef" href="#ftn0" epub:type="footnote"><sup>·</sup></a></p>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<span lang="EN-US" style='font-size:10.0pt;font-family:"Times New Roman",serif;
|
19
|
+
mso-fareast-font-family:"Times New Roman";color:white;mso-ansi-language:EN-US;
|
20
|
+
mso-fareast-language:JA;mso-bidi-language:AR-SA'><br clear="all"
|
21
|
+
style='page-break-before:always;mso-break-type:section-break'/>
|
22
|
+
</span>
|
23
|
+
|
24
|
+
<!-- points to feedback statement as footnote -->
|
25
|
+
|
26
|
+
<div class="WordSection3">
|
27
|
+
|
28
|
+
<div id="boilerplate-disclaimers-destination"/>
|
29
|
+
|
30
|
+
</div>
|
31
|
+
|
32
|
+
|
33
|
+
<span lang="EN-US" style='font-size:12.0pt;mso-bidi-font-size:10.0pt;font-family:
|
34
|
+
"Times New Roman",serif;mso-fareast-font-family:"Times New Roman";mso-ansi-language:
|
35
|
+
EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA'><br clear="all"
|
36
|
+
style='mso-special-character:line-break;page-break-before:always'/>
|
37
|
+
</span>
|
38
|
+
|
39
|
+
<div id="boilerplate-participants-destination"/>
|
40
|
+
|
41
|
+
|
42
|
+
<b style='mso-bidi-font-weight:normal'><span lang="EN-US" style='font-size:12.0pt;
|
43
|
+
mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-font-family:
|
44
|
+
"Times New Roman";mso-bidi-font-family:"Times New Roman";mso-ansi-language:
|
45
|
+
EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA'><br clear="all"
|
46
|
+
style='page-break-before:always;mso-break-type:section-break'/>
|
47
|
+
</span></b>
|
48
|
+
|
49
|
+
<div class="WordSection11">
|
50
|
+
|
51
|
+
<div id="introduction-destination"/>
|
52
|
+
|
53
|
+
<span lang="EN-US" style='font-size:10.0pt;font-family:"Times New Roman",serif;
|
54
|
+
mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:
|
55
|
+
JA;mso-bidi-language:AR-SA'><br clear="all" style='page-break-before:always;
|
56
|
+
mso-break-type:section-break'/>
|
57
|
+
</span>
|
58
|
+
|
59
|
+
</div>
|
60
|
+
|
61
|
+
|
62
|
+
<div class="WordSection12">
|
63
|
+
|
64
|
+
<p class="IEEEStdsLevel1frontmatter"><span lang="EN-US">Contents</span></p>
|
65
|
+
|
66
|
+
WORDTOC
|
67
|
+
|
68
|
+
</div>
|
69
|
+
|
70
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<p class="IEEEStdsTitle" style='margin-top:50.0pt;margin-right:0cm;margin-bottom:36.0pt;margin-left:0cm'><span lang="EN-US">P{{ docnumeric }}™{% if draft %}/D{{ draft }}{% endif %}</span><br/>
|
2
|
+
<span lang="EN-US">{{ full_doctitle }}</span>
|
3
|
+
</p>
|
4
|
+
|
5
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US">Developed by the</span></p>
|
6
|
+
|
7
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p> </o:p></span></p>
|
8
|
+
|
9
|
+
<p class="IEEEStdsTitleParaSansBold"><span lang="EN-US">{{ technical_committee }}</span></p>
|
10
|
+
|
11
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US">of the</span></p>
|
12
|
+
|
13
|
+
<p class="IEEEStdsTitleParaSansBold"><span lang="EN-US">IEEE {{ society }}</span></p>
|
14
|
+
|
15
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p> </o:p></span></p>
|
16
|
+
|
17
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p> </o:p></span></p>
|
18
|
+
|
19
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US">Approved {{ confirmeddate }}</span></p>
|
20
|
+
|
21
|
+
<p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p> </o:p></span></p>
|
22
|
+
|
23
|
+
<p class="IEEEStdsTitleParaSansBold"><span lang="EN-US">IEEE SA Standards Board</span></p>
|
24
|
+
|
25
|
+
<p class="IEEEStdsCopyrightaddrs"><span lang="EN-US"><o:p> </o:p></span></p>
|
26
|
+
|
27
|
+
<div id="boilerplate-copyright-destination"/>
|
28
|
+
<div id="boilerplate-license-destination"/>
|