metanorma-ieee 1.2.10 → 1.2.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -138,8 +138,8 @@ module IsoDoc
138
138
  end
139
139
 
140
140
  def feedback_style(docxml)
141
- docxml.at("//div[@class = 'boilerplate-feedback']")&.xpath("./div")
142
- &.each_with_index do |div, i|
141
+ f = docxml.at("//div[@class = 'boilerplate-feedback']") or return
142
+ f.xpath("./div").each_with_index do |div, i|
143
143
  i.zero? or div.elements.first.previous = "<p>&#xa0;</p>"
144
144
  i == 4 and
145
145
  div.xpath(".//p[br]").each do |p|
@@ -182,6 +182,7 @@ module IsoDoc
182
182
  if f = docxml.at("//div[@class = 'abstract']")
183
183
  f.previous_element.remove
184
184
  abstract_cleanup1(f, dest)
185
+ abstract_header(dest)
185
186
  f.remove
186
187
  elsif f = docxml.at("//div[@type = 'scope']")
187
188
  abstract_cleanup1(f, dest)
@@ -25,49 +25,18 @@ Piscataway, NJ 08854, USA
25
25
  IEEE Standards
26
26
  documents are made available for use subject to important notices and legal
27
27
  disclaimers. These notices and disclaimers, or a reference to this page (https://standards.ieee.org/ipr/disclaimers.html[]),
28
- appear in all standards and may be found under the heading Important Notices
29
- and Disclaimers Concerning IEEE Standards Documents.”
28
+ appear in all IEEE standards and may be found under the heading "Important Notices
29
+ and Disclaimers Concerning IEEE Standards Documents."
30
30
 
31
31
  ==== Notice and Disclaimer of Liability Concerning the Use of IEEE Standards Documents
32
32
 
33
- IEEE Standards documents are
34
- developed within the IEEE Societies and the Standards Coordinating Committees
35
- of the IEEE Standards Association (IEEE SA) Standards Board. IEEE develops its
36
- standards through an accredited consensus development process, which brings
37
- together volunteers representing varied viewpoints and interests to achieve the
38
- final product. IEEE Standards are documents developed by volunteers with
39
- scientific, academic, and industry-based expertise in technical working groups.
40
- Volunteers are not necessarily members of IEEE or IEEE SA, and participate
41
- without compensation from IEEE. While IEEE administers the process and
42
- establishes rules to promote fairness in the consensus development process,
43
- IEEE does not independently evaluate, test, or verify the accuracy of any of
44
- the information or the soundness of any judgments contained in its standards.
45
-
46
- IEEE makes no warranties or
47
- representations concerning its standards, and expressly disclaims all
48
- warranties, express or implied, concerning this standard, including but not
49
- limited to the warranties of merchantability, fitness for a particular purpose
50
- and non-infringement. In addition, IEEE
51
- does not warrant or represent that the use of the material contained in its
52
- standards is free from patent infringement. IEEE standards documents are
53
- supplied “AS IS” and “WITH ALL FAULTS.”
54
-
55
- Use of an IEEE standard is wholly
56
- voluntary. The existence of an IEEE Standard does not imply that there are no
57
- other ways to produce, test, measure, purchase, market, or provide other goods
58
- and services related to the scope of the IEEE standard. Furthermore, the
59
- viewpoint expressed at the time a standard is approved and issued is subject to
60
- change brought about through developments in the state of the art and comments
61
- received from users of the standard.
62
-
63
- In publishing and
64
- making its standards available, IEEE is not suggesting or rendering
65
- professional or other services for, or on behalf of, any person or entity, nor
66
- is IEEE undertaking to perform any duty owed by any other person or entity to
67
- another. Any person utilizing any IEEE Standards document, should rely upon his
68
- or her own independent judgment in the exercise of reasonable care in any given
69
- circumstances or, as appropriate, seek the advice of a competent professional
70
- in determining the appropriateness of a given IEEE standard.
33
+ IEEE Standards documents are developed within IEEE Societies and subcommittees of IEEE Standards Association (IEEE SA) Board of Governors. IEEE develops its standards through an accredited consensus development process, which brings together volunteers representing varied viewpoints and interests to achieve the final product. IEEE standards are documents developed by volunteers with scientific, academic, and industry-based expertise in technical working groups. Volunteers involved in technical working groups are not necessarily members of IEEE or IEEE SA and participate without compensation from IEEE. While IEEE administers the process and establishes rules to promote fairness in the consensus development process, IEEE does not independently evaluate, test, or verify the accuracy of any of the information or the soundness of any judgments contained in its standards.
34
+
35
+ IEEE makes no warranties or representations concerning its standards, and expressly disclaims all warranties, express or implied, concerning all standards, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement IEEE Standards documents do not guarantee safety, security, health, or environmental protection, or compliance with law, or guarantee against interference with or from other devices or networks. In addition, IEEE does not warrant or represent that the use of the material contained in its standards is free from patent infringement. IEEE Standards documents are supplied "AS IS" and "WITH ALL FAULTS."
36
+
37
+ Use of an IEEE standard is wholly voluntary. The existence of an IEEE standard does not imply that there are no other ways to produce, test, measure, purchase, market, or provide other goods and services related to the scope of the IEEE standard. Furthermore, the viewpoint expressed at the time a standard is approved and issued is subject to change brought about through developments in the state of the art and comments received from users of the standard.
38
+
39
+ In publishing and making its standards available, IEEE is not suggesting or rendering professional or other services for, or on behalf of, any person or entity, nor is IEEE undertaking to perform any duty owed by any other person or entity to another. Any person utilizing any IEEE Standards document should rely upon their own independent judgment in the exercise of reasonable care in any given circumstances or, as appropriate, seek the advice of a competent professional in determining the appropriateness of a given IEEE standard.
71
40
 
72
41
  IN NO EVENT SHALL IEEE
73
42
  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
@@ -81,22 +50,16 @@ DAMAGE WAS FORESEEABLE.
81
50
 
82
51
  ==== Translations
83
52
 
84
- The IEEE consensus
85
- development process involves the review of documents in English only. In the
86
- event that an IEEE standard is translated, only the English version published
87
- by IEEE is the approved IEEE standard.
53
+ The IEEE consensus balloting process involves the review of documents in English only. In the event that an IEEE standard is translated, only the English language version published by IEEE is the approved IEEE standard.
54
+
55
+ ==== Use by artificial intelligence systems
56
+
57
+ In no event shall material in any IEEE Standards documents be used for the purpose of creating, training, enhancing, developing, maintaining, or contributing to any artificial intelligence systems without the express, written consent of IEEE SA in advance. “Artificial intelligence” refers to any software, application, or other system that uses artificial intelligence, machine learning, or similar technologies, to analyze, train, process, or generate content. Requests for consent can be submitted using the Contact Us form.
58
+
88
59
 
89
60
  ==== Official statements
90
61
 
91
- A statement, written
92
- or oral, that is not processed in accordance with the IEEE SA Standards Board
93
- Operations Manual shall not be considered or inferred to be the official
94
- position of IEEE or any of its committees and shall not be considered to be,
95
- nor be relied upon as, a formal position of IEEE. At lectures, symposia,
96
- seminars, or educational courses, an individual presenting information on IEEE
97
- standards shall make it clear that the presenter’s views should be considered
98
- the personal views of that individual rather than the formal position of IEEE,
99
- IEEE SA, the Standards Committee, or the Working Group.
62
+ A statement, written or oral, that is not processed in accordance with the IEEE SA Standards Board Operations Manual is not, and shall not be considered or inferred to be, the official position of IEEE or any of its committees and shall not be considered to be, or be relied upon as, a formal position of IEEE or IEEE SA. At lectures, symposia, seminars, or educational courses, an individual presenting information on IEEE standards shall make it clear that the presenter’s views should be considered the personal views of that individual rather than the formal position of IEEE, IEEE SA, the Standards Committee, or the Working Group. Statements made by volunteers may not represent the formal position of their employer(s) or affiliation(s). News releases about IEEE standards issued by entities other than IEEE SA should be considered the view of the entity issuing the release rather than the formal position of IEEE or IEEE SA.
100
63
 
101
64
  ==== Comments on standards
102
65
 
@@ -108,18 +71,16 @@ Suggestions for changes in
108
71
  documents should be in the form of a proposed change of text, together with
109
72
  appropriate supporting comments. Since IEEE standards represent a consensus of
110
73
  concerned interests, it is important that any responses to comments and
111
- questions also receive the concurrence of a balance of interests. For this
112
- reason, IEEE and the members of its Societies and Standards Coordinating
113
- Committees are not able to provide an instant response to comments, or
114
- questions except in those cases where the matter has previously been addressed.
74
+ questions also receive the concurrence of a balance of interests. For this reason, IEEE and the members of its Societies and subcommittees of the IEEE SA Board of Governors are not able to provide an instant response to comments or questions, except
75
+ in those cases where the matter has previously been addressed.
115
76
  For the same reason, IEEE does not respond to interpretation requests. Any
116
77
  person who would like to participate in evaluating comments or in revisions to
117
- an IEEE standard is welcome to join the relevant IEEE working group. You can
78
+ an IEEE standard is welcome to join the relevant IEEE SA working group. You can
118
79
  indicate interest in a working group using the Interests tab in the Manage
119
80
  Profile &#x26; Interests area of the https://development.standards.ieee.org/myproject-web/public/view.html#landing[IEEE SA myProject system].footnote:[Available at: https://development.standards.ieee.org/myproject-web/public/view.html#landing[].]
120
81
  An IEEE Account is needed to access the application.
121
82
 
122
- Comments on standards should be submitted using the https://standards.ieee.org/content/ieee-standards/en/about/contact/index.html[Contact Us] form.footnote:[Available at: https://standards.ieee.org/content/ieee-standards/en/about/contact/index.html[].]
83
+ Comments on standards should be submitted using the https://standards.ieee.org/about/contact/[Contact Us] form.footnote:[Available at: https://standards.ieee.org/about/contact/[].]
123
84
 
124
85
  ==== Laws and regulations
125
86
 
@@ -141,14 +102,7 @@ with applicable laws and regulations.
141
102
 
142
103
  ==== Copyrights
143
104
 
144
- IEEE draft and approved
145
- standards are copyrighted by IEEE under US and international copyright
146
- laws. They are made available by IEEE and are adopted for a wide variety of
147
- both public and private uses. These include both use, by reference, in laws and
148
- regulations, and use in private self-regulation, standardization, and the
149
- promotion of engineering practices and methods. By making these documents
150
- available for use and adoption by public authorities and private users, IEEE
151
- does not waive any rights in copyright to the documents.
105
+ IEEE draft and approved standards are copyrighted by IEEE under U.S. and international copyright laws. They are made available by IEEE and are adopted for a wide variety of both public and private uses. These include both use by reference, in laws and regulations, and use in private self-regulation, standardization, and the promotion of engineering practices and methods. By making these documents available for use and adoption by public authorities and private users, neither IEEE nor its licensors waive any rights in copyright to the documents.
152
106
 
153
107
  ==== Photocopies
154
108
 
@@ -183,7 +137,7 @@ In
183
137
  order to determine whether a given document is the current edition and whether
184
138
  it has been amended through the issuance of amendments, corrigenda, or errata,
185
139
  visit https://ieeexplore.ieee.org/browse/standards/collection/ieee/[IEEE Xplore]
186
- or https://standards.ieee.org/content/ieee-standards/en/about/contact/index.html[contact IEEE].footnote:[Available at https://ieeexplore.ieee.org/browse/standards/collection/ieee[].]
140
+ or https://standards.ieee.org/about/contact/[contact IEEE].footnote:[Available at https://ieeexplore.ieee.org/browse/standards/collection/ieee[].]
187
141
  For more information about the IEEE SA or IEEE’s standards development process,
188
142
  visit the IEEE SA Website.
189
143
 
@@ -198,7 +152,7 @@ Users are encouraged to periodically check for errata.
198
152
 
199
153
  ==== Patents
200
154
 
201
- IEEE Standards are developed in compliance with the https://standards.ieee.org/about/sasb/patcom/materials.html[IEEE SA Patent Policy].footnote:[Available at: https://standards.ieee.org/about/sasb/patcom/materials.html[].]
155
+ IEEE standards are developed in compliance with the https://standards.ieee.org/about/sasb/patcom/materials.html[IEEE SA Patent Policy].footnote:[Available at: https://standards.ieee.org/about/sasb/patcom/materials.html[].]
202
156
 
203
157
  Attention is called to
204
158
  the possibility that implementation of this standard may require use of subject
@@ -227,17 +181,7 @@ Standards Association.
227
181
 
228
182
  ==== IMPORTANT NOTICE
229
183
 
230
- IEEE Standards do not
231
- guarantee or ensure safety, security, health, or environmental protection, or
232
- ensure against interference with or from other devices or networks. IEEE
233
- Standards development activities consider research and information presented to
234
- the standards development group in developing any safety recommendations. Other
235
- information about safety practices, changes in technology or technology implementation,
236
- or impact by peripheral systems also may be pertinent to safety considerations
237
- during implementation of the standard. Implementers and users of IEEE Standards
238
- documents are responsible for determining and complying with all appropriate
239
- safety, security, environmental, health, and interference protection practices
240
- and all applicable laws and regulations.
184
+ Technologies, application of technologies, and recommended procedures in various industries evolve over time. The IEEE standards development process allows participants to review developments in industries, technologies, and practices, and to determine what, if any, updates should be made to the IEEE standard. During this evolution, the technologies and recommendations in IEEE standards may be implemented in ways not foreseen during the standard’s development. IEEE standards development activities consider research and information presented to the standards development group in developing any safety recommendations. Other information about safety practices, changes in technology or technology implementation, or impact by peripheral systems also may be pertinent to safety considerations during implementation of the standard. Implementers and users of IEEE Standards documents are responsible for determining and complying with all appropriate safety, security, environmental, health, data privacy, and interference protection practices and all applicable laws and regulations.
241
185
 
242
186
  [[boilerplate-participants]]
243
187
  === Participants
@@ -23,9 +23,7 @@ module Metanorma
23
23
  @i = IsoDoc::IEEE::PresentationXMLConvert
24
24
  .new({ lang: @lang, script: @script, locale: @locale })
25
25
  @i.i18n_init(@lang, @script, @locale)
26
- bib.sort do |a, b|
27
- sort_biblio_key(a) <=> sort_biblio_key(b)
28
- end
26
+ bib.sort { |a, b| sort_biblio_key(a) <=> sort_biblio_key(b) }
29
27
  end
30
28
 
31
29
  # Alphabetic by rendering: author surname or designation, followed by title
@@ -58,9 +56,17 @@ module Metanorma
58
56
 
59
57
  def normref_cleanup(xmldoc)
60
58
  super
59
+ normref_no_ordinals(xmldoc)
61
60
  normref_reorder(xmldoc)
62
61
  end
63
62
 
63
+ def normref_no_ordinals(xmldoc)
64
+ xmldoc.xpath("//references[@normative = 'true']/bibitem/" \
65
+ "docidentifier[@type = 'metanorma']").each do |d|
66
+ /^\[?\d+\]?$/.match?(d.text) and d.remove
67
+ end
68
+ end
69
+
64
70
  def normref_reorder(xmldoc)
65
71
  xmldoc.xpath("//references[@normative = 'true']").each do |r|
66
72
  biblio_reorder1(r)
@@ -17,7 +17,7 @@
17
17
  these elements; we just want one namespace for any child grammars
18
18
  of this.
19
19
  -->
20
- <!-- VERSION v1.3.2 -->
20
+ <!-- VERSION v1.3.3 -->
21
21
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
22
22
  <include href="reqt.rng"/>
23
23
  <include href="basicdoc.rng">
@@ -331,9 +331,9 @@
331
331
  <zeroOrMore>
332
332
  <ref name="table-note"/>
333
333
  </zeroOrMore>
334
- <optional>
334
+ <zeroOrMore>
335
335
  <ref name="source"/>
336
- </optional>
336
+ </zeroOrMore>
337
337
  </define>
338
338
  <define name="FigureAttr">
339
339
  <optional>
@@ -380,9 +380,9 @@
380
380
  <zeroOrMore>
381
381
  <ref name="note"/>
382
382
  </zeroOrMore>
383
- <optional>
383
+ <zeroOrMore>
384
384
  <ref name="source"/>
385
- </optional>
385
+ </zeroOrMore>
386
386
  </define>
387
387
  <define name="source">
388
388
  <element name="source">
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IEEE
3
- VERSION = "1.2.10".freeze
3
+ VERSION = "1.2.12".freeze
4
4
  end
5
5
  end
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
23
23
  spec.bindir = "exe"
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
26
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
27
27
 
28
- spec.add_dependency "metanorma-standoc", "~> 2.8.4"
28
+ spec.add_dependency "metanorma-standoc", "~> 2.9.0"
29
29
  spec.add_dependency "mnconvert", "~> 1.20"
30
30
  spec.add_dependency "pubid"
31
31
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ieee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.10
4
+ version: 1.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.8.4
19
+ version: 2.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.8.4
26
+ version: 2.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mnconvert
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -333,7 +333,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
333
333
  requirements:
334
334
  - - ">="
335
335
  - !ruby/object:Gem::Version
336
- version: 2.7.0
336
+ version: 3.1.0
337
337
  required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  requirements:
339
339
  - - ">="