metanorma-ieee 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,437 @@
1
+ == copyright-statement
2
+ === {blank}
3
+ [[copyright]]
4
+ [align="left"]
5
+ Copyright © {{ docyear }} by The Institute of Electrical and Electronics Engineers, Inc. +
6
+ Three Park Avenue +
7
+ New York, New York 10016-5997, USA
8
+
9
+ All rights reserved.
10
+
11
+ == license-statement
12
+ === {blank}
13
+ This document is an unapproved draft of a proposed IEEE Standard. As such, this document is subject to change. USE AT YOUR OWN RISK! IEEE copyright statements SHALL NOT BE REMOVED from draft or approved IEEE standards, or modified in any way. Because this is an unapproved draft, this document must not be utilized for any conformance/compliance purposes. Permission is hereby granted for officers from each IEEE Standards Working Group or Committee to reproduce the draft document developed by that Working Group for purposes of international standardization consideration. IEEE Standards Department must be informed of the submission for consideration prior to any reproduction for international standardization consideration (stds-ipr@ieee.org). Prior to adoption of this document, in whole or in part, by another standards development organization, permission must first be obtained from the IEEE Standards Department (stds-ipr@ieee.org). When requesting permission, IEEE Standards Department will require a copy of the standard development organization's document highlighting the use of IEEE content. Other entities seeking permission to reproduce this document, in whole or in part, must also obtain permission from the IEEE Standards Department.
14
+
15
+ [align="left"]
16
+ IEEE Standards Department +
17
+ 445 Hoes Lane +
18
+ Piscataway, NJ 08854, USA
19
+
20
+ == legal-statement
21
+ [[boilerplate-disclaimers]]
22
+ === Important Notices and Disclaimers Concerning IEEE Standards Documents
23
+
24
+ [[_DV_M4]]
25
+ IEEE Standards
26
+ documents are made available for use subject to important notices and legal
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.”
30
+
31
+ ==== Notice and Disclaimer of Liability Concerning the Use of IEEE Standards Documents
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.
71
+
72
+ IN NO EVENT SHALL IEEE
73
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
74
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO: THE NEED TO PROCURE
75
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
76
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
77
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
78
+ IN ANY WAY OUT OF THE PUBLICATION, USE OF, OR RELIANCE UPON ANY STANDARD, EVEN
79
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE AND REGARDLESS OF WHETHER SUCH
80
+ DAMAGE WAS FORESEEABLE.
81
+
82
+ ==== Translations
83
+
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.
88
+
89
+ ==== Official statements
90
+
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.
100
+
101
+ ==== Comments on standards
102
+
103
+ Comments for revision of IEEE
104
+ Standards documents are welcome from any interested party, regardless of membership
105
+ affiliation with IEEE or IEEE SA. However, *IEEE does not provide interpretations, consulting information, or advice pertaining to IEEE Standards documents*.
106
+
107
+ Suggestions for changes in
108
+ documents should be in the form of a proposed change of text, together with
109
+ appropriate supporting comments. Since IEEE standards represent a consensus of
110
+ 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.
115
+ For the same reason, IEEE does not respond to interpretation requests. Any
116
+ 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
118
+ indicate interest in a working group using the Interests tab in the Manage
119
+ Profile & 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
+ An IEEE Account is needed to access the application.
121
+
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[].]
123
+
124
+ ==== Laws and regulations
125
+
126
+ Users of IEEE
127
+ Standards documents should consult all applicable laws and regulations.
128
+ Compliance with the provisions of any IEEE Standards document does not
129
+ constitute compliance to any applicable regulatory requirements. Implementers
130
+ of the standard are responsible for observing or referring to the applicable
131
+ regulatory requirements. IEEE does not, by the publication of its standards,
132
+ intend to urge action that is not in compliance with applicable laws, and these
133
+ documents may not be construed as doing so.
134
+
135
+ ==== Data privacy
136
+
137
+ Users of IEEE Standards documents
138
+ should evaluate the standards for considerations of data privacy and data
139
+ ownership in the context of assessing and using the standards in compliance
140
+ with applicable laws and regulations.
141
+
142
+ ==== Copyrights
143
+
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.
152
+
153
+ ==== Photocopies
154
+
155
+ Subject to payment of the
156
+ appropriate licensing fees, IEEE will grant users a limited, non-exclusive
157
+ license to photocopy portions of any individual standard for company or
158
+ organizational internal use or individual, non-commercial use only. To arrange
159
+ for payment of licensing fees, please contact Copyright Clearance Center,
160
+ Customer Service, 222 Rosewood Drive, Danvers, MA 01923 USA; +1 978 750 8400;
161
+ \https://www.copyright.com/. Permission to photocopy portions of any individual
162
+ standard for educational classroom use can also be obtained through the
163
+ Copyright Clearance Center.
164
+
165
+ ==== Updating of IEEE Standards documents
166
+
167
+ Users
168
+ of IEEE Standards documents should be aware that these documents may be
169
+ superseded at any time by the issuance of new editions or may be amended from
170
+ time to time through the issuance of amendments, corrigenda, or errata. An
171
+ official IEEE document at any point in time consists of the current edition of
172
+ the document together with any amendments, corrigenda, or errata then in
173
+ effect.
174
+
175
+ Every
176
+ IEEE standard is subjected to review at least every 10 years. When a document
177
+ is more than 10 years old and has not undergone a revision process, it is
178
+ reasonable to conclude that its contents, although still of some value, do not
179
+ wholly reflect the present state of the art. Users are cautioned to check to
180
+ determine that they have the latest edition of any IEEE standard.
181
+
182
+ In
183
+ order to determine whether a given document is the current edition and whether
184
+ it has been amended through the issuance of amendments, corrigenda, or errata,
185
+ 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[].]
187
+ For more information about the IEEE SA or IEEE’s standards development process,
188
+ visit the IEEE SA Website.
189
+
190
+ ==== Errata
191
+
192
+ Errata, if any, for all IEEE standards can be accessed on the
193
+ https://standards.ieee.org/standard/index.html[IEEE SA Website].footnote:[Available at: https://standards.ieee.org/standard/index.html[].]
194
+ Search for standard number and year of approval to access the web page of the
195
+ published standard. Errata links are located under the Additional Resources Details section.
196
+ Errata are also available in https://ieeexplore.ieee.org/browse/standards/collection/ieee/[IEEE Xplore].
197
+ Users are encouraged to periodically check for errata.
198
+
199
+ ==== Patents
200
+
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[].]
202
+
203
+ Attention is called to
204
+ the possibility that implementation of this standard may require use of subject
205
+ matter covered by patent rights. By publication of this standard, no position
206
+ is taken by the IEEE with respect to the existence or validity of any patent
207
+ rights in connection therewith. If a patent holder or patent applicant has
208
+ filed a statement of assurance via an Accepted Letter of Assurance, then the
209
+ statement is listed on the IEEE SA Website at https://standards.ieee.org/about/sasb/patcom/patents.html[].
210
+ Letters of Assurance may
211
+ indicate whether the Submitter is willing or unwilling to grant licenses under
212
+ patent rights without compensation or under reasonable rates, with reasonable
213
+ terms and conditions that are demonstrably free of any unfair discrimination to
214
+ applicants desiring to obtain such licenses.
215
+
216
+ Essential Patent
217
+ Claims may exist for which a Letter of Assurance has not been received. The
218
+ IEEE is not responsible for identifying Essential Patent Claims for which a
219
+ license may be required, for conducting inquiries into the legal validity or
220
+ scope of Patents Claims, or determining whether any licensing terms or
221
+ conditions provided in connection with submission of a Letter of Assurance, if
222
+ any, or in any licensing agreements are reasonable or non-discriminatory. Users
223
+ of this standard are expressly advised that determination of the validity of
224
+ any patent rights, and the risk of infringement of such rights, is entirely
225
+ their own responsibility. Further information may be obtained from the IEEE
226
+ Standards Association.
227
+
228
+ ==== IMPORTANT NOTICE
229
+
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.
241
+
242
+ [[boilerplate-participants]]
243
+ === Participants
244
+
245
+ [[boilerplate-participants-wg]]
246
+ ==== {blank}
247
+ At the time this draft {{ doctype }} was completed, the {{ working_group }} Working Group had the following membership:
248
+
249
+ ++++
250
+ <membership>
251
+ ++++
252
+
253
+ * {blank}
254
+ name::: &#x3c;Chair Name&#x3e;
255
+ role::: Chair
256
+ * {blank}
257
+ name::: &#x3c;Vice-chair Name&#x3e;
258
+ role::: Vice Chair
259
+ * {blank}
260
+ name::: Participant1
261
+ role::: Member
262
+ * {blank}
263
+ name::: Participant2
264
+ role::: Member
265
+ * {blank}
266
+ name::: Participant3
267
+ role::: Member
268
+ * {blank}
269
+ name::: Participant4
270
+ role::: Member
271
+ * {blank}
272
+ name::: Participant5
273
+ role::: Member
274
+ * {blank}
275
+ name::: Participant6
276
+ role::: Member
277
+ * {blank}
278
+ name::: Participant7
279
+ role::: Member
280
+ * {blank}
281
+ name::: Participant8
282
+ role::: Member
283
+ * {blank}
284
+ name::: Participant9
285
+ role::: Member
286
+
287
+ ++++
288
+ </membership>
289
+ ++++
290
+
291
+ [[boilerplate-participants-bg]]
292
+ ==== {blank}
293
+ The following members of the {{ balloting_group_type }} {{ balloting_group }} Standards Association balloting group voted on this {{ doctype }}. Balloters may have voted for approval, disapproval, or abstention.
294
+
295
+ ++++
296
+ <membership>
297
+ ++++
298
+
299
+ * {blank}
300
+ name::: Balloter1
301
+ role::: Member
302
+ * {blank}
303
+ name::: Balloter2
304
+ role::: Member
305
+ * {blank}
306
+ name::: Balloter3
307
+ role::: Member
308
+ * {blank}
309
+ name::: Balloter4
310
+ role::: Member
311
+ * {blank}
312
+ name::: Balloter5
313
+ role::: Member
314
+ * {blank}
315
+ name::: Balloter6
316
+ role::: Member
317
+ * {blank}
318
+ name::: Balloter7
319
+ role::: Member
320
+ * {blank}
321
+ name::: Balloter8
322
+ role::: Member
323
+ * {blank}
324
+ name::: Balloter9
325
+ role::: Member
326
+
327
+ ++++
328
+ </membership>
329
+ ++++
330
+
331
+ [[boilerplate-participants-sb]]
332
+ ==== {blank}
333
+
334
+ When the IEEE SA Standards Board approved this {{ doctype }} on {{ issueddate }}, it had the following membership:
335
+
336
+ ++++
337
+ <membership>
338
+ ++++
339
+
340
+ * {blank}
341
+ name::: &#x3c;Name&#x3e;
342
+ role::: Chair
343
+ * {blank}
344
+ name::: &#x3c;Name&#x3e;
345
+ role::: Vice Chair
346
+ * {blank}
347
+ name::: &#x3c;Name&#x3e;
348
+ role::: Past Chair
349
+ * {blank}
350
+ name::: &#x3c;Name&#x3e;
351
+ role::: Secretary
352
+ * {blank}
353
+ name::: SBMember1
354
+ role::: Member
355
+ * {blank}
356
+ name::: SBMember2
357
+ role::: Member
358
+ * {blank}
359
+ name::: SBMember3
360
+ role::: Member
361
+ * {blank}
362
+ name::: SBMember4
363
+ role::: Member
364
+ * {blank}
365
+ name::: SBMember5
366
+ role::: Member
367
+ * {blank}
368
+ name::: SBMember6
369
+ role::: Member
370
+ * {blank}
371
+ name::: SBMember7
372
+ role::: Member
373
+ * {blank}
374
+ name::: SBMember8
375
+ role::: Member
376
+ * {blank}
377
+ name::: SBMember9
378
+ role::: Member
379
+
380
+ ++++
381
+ </membership>
382
+ ++++
383
+
384
+ [type=emeritus_sign]
385
+ *Member Emeritus
386
+
387
+ == feedback-statement
388
+ === {blank}
389
+ [align=left]
390
+ The Institute of Electrical and Electronics Engineers, Inc. +
391
+ 3 Park Avenue, New York, NY 10016-5997, USA
392
+
393
+ === {blank}
394
+ Copyright © {{ docyear }} by The Institute of Electrical and Electronics Engineers, Inc.
395
+
396
+ All rights reserved. Published {{ issueddate }}. Printed in the United States of America.
397
+
398
+ === {blank}
399
+ IEEE is a registered trademark in the U.S. Patent &#x26; Trademark Office, owned by The Institute of Electrical and Electronics Engineers, Incorporated.
400
+
401
+ === {blank}
402
+ [[_isbn_pdf_print]]
403
+ [%unnumbered]
404
+ |===
405
+ |PDF: |ISBN {{ isbn_pdf }} |{{ stdid_pdf}}
406
+ |Print: |ISBN {{ isbn_print }} |{{ stdid_print}}
407
+ |===
408
+
409
+ === {blank}
410
+ _IEEE prohibits discrimination, harassment, and bullying._ +
411
+ _For more information, visit https://www.ieee.org/about/corporate/governance/p9-26.html[]._ +
412
+ _No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the prior written permission of the publisher._
413
+
414
+ {% if docsubtype == "Amendment" or docsubtype == "Corrigendum" %}
415
+
416
+ == {blank}
417
+ [[boilerplate_front]]
418
+ [NOTE,type=boilerplate]
419
+ --
420
+ The editing instructions contained in this {{ docsubtype | downcase }} define how to merge the material contained therein into the existing base standard and its amendments to form the comprehensive standard.
421
+
422
+ The editing instructions are shown in *__bold italic__*. Four editing instructions are used: change, delete, insert, and replace. *__Change__* is used to make corrections in existing text or tables. The editing instruction specifies the location of the change and describes what is being changed by using [strike]#strikethrough# (to remove old material) and [underline]#underscore# (to add new material). *__Delete__* removes existing material. *__Insert__* adds new material without disturbing the existing material. Insertions may require renumbering. If so, renumbering instructions are given in the editing instruction. *__Replace__* is used to make changes in figures or equations by removing the existing figure or equation and replacing it with a new one. Editing instructions, change markings, and this NOTE will not be carried over into future editions because the changes will be incorporated into the base standard.
423
+ --
424
+
425
+ {% else %}
426
+ [[boilerplate_word_usage]]
427
+ == Word usage
428
+ The word _shall_ indicates mandatory requirements strictly to be followed in order to conform to the standard and from which no deviation is permitted (_shall_ equals _is required to_).footnote:[The use of the word _must_ is deprecated and cannot be used when stating mandatory requirements; _must_ is used only to describe unavoidable situations.]footnote:[The use of _will_ is deprecated and cannot be used when stating mandatory requirements; _will_ is only used in statements of fact.]
429
+
430
+ The word _should_ indicates that among several possibilities one is recommended as particularly suitable, without mentioning or excluding others; or that a certain course of action is preferred but not necessarily required (_should_ equals _is recommended that_).
431
+
432
+ The word _may_ is used to indicate a course of action permissible within the limits of the standard (_may_ equals _is permitted to_).
433
+
434
+ The word _can_ is used for statements of possibility and capability, whether material, physical, or causal (_can_ equals _is able to_).
435
+
436
+ {% endif %}
437
+
@@ -7,17 +7,21 @@ module Metanorma
7
7
  def initial_boilerplate(xml, isodoc)
8
8
  intro_boilerplate(xml, isodoc)
9
9
  super if @document_scheme == "ieee-sa-2021"
10
+ xml.at("//boilerplate") or return
10
11
  initial_note(xml)
11
12
  word_usage(xml)
12
13
  participants(xml)
13
- xml.xpath("//dl[not(@id)]").each do |dl|
14
- dl["id"] = "_#{UUIDTools::UUID.random_create}"
14
+ footnote_boilerplate_renumber(xml)
15
+ end
16
+
17
+ def footnote_boilerplate_renumber(xml)
18
+ xml.xpath("//boilerplate//fn").each_with_index do |f, i|
19
+ f["reference"] = "_boilerplate_#{i + 1}"
15
20
  end
16
21
  end
17
22
 
18
23
  def intro_boilerplate(xml, isodoc)
19
- return unless intro = xml.at("//introduction/title")
20
-
24
+ intro = xml.at("//introduction/title") or return
21
25
  template = <<~ADM
22
26
  This introduction is not part of P{{ docnumeric }}{% if draft %}/D{{ draft }}{% endif %}, {{ full_doctitle }}
23
27
  ADM
@@ -34,8 +38,7 @@ module Metanorma
34
38
  end
35
39
 
36
40
  def word_usage(xml)
37
- return unless @document_scheme == "ieee-sa-2021"
38
-
41
+ @document_scheme == "ieee-sa-2021" or return
39
42
  n = xml.at("//boilerplate//clause[@id = 'boilerplate_word_usage']")
40
43
  &.remove
41
44
  s = xml.at("//clause[@type = 'overview']")
@@ -106,8 +109,7 @@ module Metanorma
106
109
  end
107
110
 
108
111
  def other_footnote_renumber1(fnote, idx, seen)
109
- return [idx, seen] if fnote["table"]
110
-
112
+ fnote["table"] and return [idx, seen]
111
113
  content = footnote_content(fnote)
112
114
  idx += 1
113
115
  if seen[content]
@@ -142,8 +144,7 @@ module Metanorma
142
144
  end
143
145
 
144
146
  def participants(xml)
145
- return unless @document_scheme == "ieee-sa-2021"
146
-
147
+ @document_scheme == "ieee-sa-2021" or return
147
148
  { "boilerplate-participants-wg": "working group",
148
149
  "boilerplate-participants-bg": "balloting group",
149
150
  "boilerplate-participants-sb": "standards board" }.each do |k, v|
@@ -152,7 +153,7 @@ module Metanorma
152
153
  p = xml.at(".//p[@type = 'emeritus_sign']")
153
154
  ul = xml.at("//clause[@id = 'boilerplate-participants-sb']//ul")
154
155
  p && ul and ul.next = p
155
- xml.at("//clause[@type = 'participants']")&.remove
156
+ xml.at("//sections//clause[@type = 'participants']")&.remove
156
157
  end
157
158
 
158
159
  def populate_participants(xml, target, subtitle)
@@ -176,8 +177,7 @@ module Metanorma
176
177
 
177
178
  def participants_dl_to_ul(clause)
178
179
  clause.xpath(".//dl").each do |dl|
179
- next unless dl.ancestors("dl, ul, ol").empty?
180
-
180
+ dl.ancestors("dl, ul, ol").empty? or next
181
181
  dl.name = "ul"
182
182
  dl.xpath("./dt").each(&:remove)
183
183
  dl.xpath("./dd").each { |li| li.name = "li" }
@@ -61,6 +61,10 @@ module Metanorma
61
61
  nil, false, "#{@filename}.pdf")
62
62
  end
63
63
 
64
+ def boilerplate_file(_xmldoc)
65
+ File.join(@libdir, "boilerplate.adoc")
66
+ end
67
+
64
68
  def html_extract_attributes(node)
65
69
  super.merge(hierarchicalassets:
66
70
  node.attr("hierarchical-object-numbering"),
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IEEE
3
- VERSION = "1.0.12".freeze
3
+ VERSION = "1.0.13".freeze
4
4
  end
5
5
  end
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.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -262,7 +262,7 @@ files:
262
262
  - lib/metanorma/ieee/basicdoc.rng
263
263
  - lib/metanorma/ieee/biblio-standoc.rng
264
264
  - lib/metanorma/ieee/biblio.rng
265
- - lib/metanorma/ieee/boilerplate.xml
265
+ - lib/metanorma/ieee/boilerplate.adoc
266
266
  - lib/metanorma/ieee/cleanup.rb
267
267
  - lib/metanorma/ieee/cleanup_ref.rb
268
268
  - lib/metanorma/ieee/converter.rb