metanorma-iec 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iec/iec.international-standard.xsl +51 -7
- data/lib/metanorma/iec/biblio.rng +24 -8
- data/lib/metanorma/iec/boilerplate-en.adoc +110 -0
- data/lib/metanorma/iec/boilerplate-fr.adoc +111 -0
- data/lib/metanorma/iec/converter.rb +18 -10
- data/lib/metanorma/iec/front.rb +1 -1
- data/lib/metanorma/iec/isodoc.rng +67 -55
- data/lib/metanorma/iec/version.rb +1 -1
- metadata +4 -4
- data/lib/metanorma/iec/iec_intro_en.xml +0 -114
- data/lib/metanorma/iec/iec_intro_fr.xml +0 -117
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c4d68dec6bd1dd70dda1e9bd2b4673166e30d104f3242c38e4e01a4b365be4
|
4
|
+
data.tar.gz: 27ff7824fc1418e886e8ed9f5bfc3261e0e7ea6bc6ecd76dd09c7a992dd2b3ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b54d568dac05605ff9a3f85dfdcbc98e9a1f10d5d548f8daa10f4eac08fcdec3243dc9af79aadedf4d4842aa4e500e9d6a5921649a5a7daf6db045af907946
|
7
|
+
data.tar.gz: bcd122112fb9a50977e8828102a31bae0efe1f80bceab7b560beccd7a61ebb98803451105b7cc3d55d923096fd24f1596f848dca4aab9f0a69da09adc8db414d
|
@@ -2358,6 +2358,7 @@
|
|
2358
2358
|
<xsl:variable name="zero_width_space"></xsl:variable>
|
2359
2359
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2360
2360
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2361
|
+
<xsl:variable name="em_dash">—</xsl:variable>
|
2361
2362
|
|
2362
2363
|
<xsl:template name="getTitle">
|
2363
2364
|
<xsl:param name="name"/>
|
@@ -2680,6 +2681,10 @@
|
|
2680
2681
|
|
2681
2682
|
</xsl:attribute-set> <!-- example-name-style -->
|
2682
2683
|
|
2684
|
+
<xsl:template name="refine_example-name-style">
|
2685
|
+
|
2686
|
+
</xsl:template>
|
2687
|
+
|
2683
2688
|
<xsl:attribute-set name="example-p-style">
|
2684
2689
|
|
2685
2690
|
<xsl:attribute name="margin-top">5pt</xsl:attribute>
|
@@ -2696,6 +2701,10 @@
|
|
2696
2701
|
|
2697
2702
|
</xsl:attribute-set> <!-- termexample-name-style -->
|
2698
2703
|
|
2704
|
+
<xsl:template name="refine_termexample-name-style">
|
2705
|
+
|
2706
|
+
</xsl:template>
|
2707
|
+
|
2699
2708
|
<!-- ========================== -->
|
2700
2709
|
<!-- Table styles -->
|
2701
2710
|
<!-- ========================== -->
|
@@ -2904,6 +2913,10 @@
|
|
2904
2913
|
|
2905
2914
|
</xsl:attribute-set> <!-- table-fn-style -->
|
2906
2915
|
|
2916
|
+
<xsl:template name="refine_table-fn-style">
|
2917
|
+
|
2918
|
+
</xsl:template>
|
2919
|
+
|
2907
2920
|
<xsl:attribute-set name="table-fn-number-style">
|
2908
2921
|
<xsl:attribute name="font-size">80%</xsl:attribute>
|
2909
2922
|
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
@@ -2913,6 +2926,10 @@
|
|
2913
2926
|
|
2914
2927
|
</xsl:attribute-set> <!-- table-fn-number-style -->
|
2915
2928
|
|
2929
|
+
<xsl:template name="refine_table-fn-number-style">
|
2930
|
+
|
2931
|
+
</xsl:template>
|
2932
|
+
|
2916
2933
|
<xsl:attribute-set name="fn-container-body-style">
|
2917
2934
|
<xsl:attribute name="text-indent">0</xsl:attribute>
|
2918
2935
|
<xsl:attribute name="start-indent">0</xsl:attribute>
|
@@ -4261,6 +4278,7 @@
|
|
4261
4278
|
<!-- centered table when table name is centered (see table-name-style) -->
|
4262
4279
|
|
4263
4280
|
<fo:table table-layout="fixed" width="100%" xsl:use-attribute-sets="table-container-style">
|
4281
|
+
|
4264
4282
|
<fo:table-column column-width="proportional-column-width(1)"/>
|
4265
4283
|
<fo:table-column column-width="{@width}"/>
|
4266
4284
|
<fo:table-column column-width="proportional-column-width(1)"/>
|
@@ -5375,8 +5393,9 @@
|
|
5375
5393
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
5376
5394
|
|
5377
5395
|
<fo:block xsl:use-attribute-sets="table-fn-style">
|
5378
|
-
|
5396
|
+
<xsl:call-template name="refine_table-fn-style"/>
|
5379
5397
|
<fo:inline id="{@id}" xsl:use-attribute-sets="table-fn-number-style">
|
5398
|
+
<xsl:call-template name="refine_table-fn-number-style"/>
|
5380
5399
|
|
5381
5400
|
<xsl:value-of select="@reference"/>
|
5382
5401
|
|
@@ -6528,11 +6547,16 @@
|
|
6528
6547
|
<xsl:template match="text()[ancestor::*[local-name()='smallcap']]">
|
6529
6548
|
<!-- <xsl:variable name="text" select="normalize-space(.)"/> --> <!-- https://github.com/metanorma/metanorma-iso/issues/1115 -->
|
6530
6549
|
<xsl:variable name="text" select="."/>
|
6531
|
-
<
|
6550
|
+
<xsl:variable name="ratio_">
|
6551
|
+
0.75
|
6552
|
+
</xsl:variable>
|
6553
|
+
<xsl:variable name="ratio" select="number(normalize-space($ratio_))"/>
|
6554
|
+
<fo:inline font-size="{$ratio * 100}%" role="SKIP">
|
6532
6555
|
<xsl:if test="string-length($text) > 0">
|
6533
6556
|
<xsl:variable name="smallCapsText">
|
6534
6557
|
<xsl:call-template name="recursiveSmallCaps">
|
6535
6558
|
<xsl:with-param name="text" select="$text"/>
|
6559
|
+
<xsl:with-param name="ratio" select="$ratio"/>
|
6536
6560
|
</xsl:call-template>
|
6537
6561
|
</xsl:variable>
|
6538
6562
|
<!-- merge neighboring fo:inline -->
|
@@ -6569,12 +6593,13 @@
|
|
6569
6593
|
|
6570
6594
|
<xsl:template name="recursiveSmallCaps">
|
6571
6595
|
<xsl:param name="text"/>
|
6596
|
+
<xsl:param name="ratio"/>
|
6572
6597
|
<xsl:variable name="char" select="substring($text,1,1)"/>
|
6573
6598
|
<!-- <xsl:variable name="upperCase" select="translate($char, $lower, $upper)"/> -->
|
6574
6599
|
<xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
|
6575
6600
|
<xsl:choose>
|
6576
6601
|
<xsl:when test="$char=$upperCase">
|
6577
|
-
<fo:inline font-size="{100 div
|
6602
|
+
<fo:inline font-size="{100 div $ratio}%" role="SKIP">
|
6578
6603
|
<xsl:value-of select="$upperCase"/>
|
6579
6604
|
</fo:inline>
|
6580
6605
|
</xsl:when>
|
@@ -6585,6 +6610,7 @@
|
|
6585
6610
|
<xsl:if test="string-length($text) > 1">
|
6586
6611
|
<xsl:call-template name="recursiveSmallCaps">
|
6587
6612
|
<xsl:with-param name="text" select="substring($text,2)"/>
|
6613
|
+
<xsl:with-param name="ratio" select="$ratio"/>
|
6588
6614
|
</xsl:call-template>
|
6589
6615
|
</xsl:if>
|
6590
6616
|
</xsl:template>
|
@@ -6692,6 +6718,9 @@
|
|
6692
6718
|
<xsl:if test="$key = 'font-family' or $key = 'font-size' or $key = 'color'">
|
6693
6719
|
<style name="{$key}"><xsl:value-of select="$value"/></style>
|
6694
6720
|
</xsl:if>
|
6721
|
+
<xsl:if test="$key = 'text-indent'">
|
6722
|
+
<style name="padding-left"><xsl:value-of select="$value"/></style>
|
6723
|
+
</xsl:if>
|
6695
6724
|
</xsl:for-each>
|
6696
6725
|
</xsl:variable>
|
6697
6726
|
<xsl:variable name="styles" select="xalan:nodeset($styles_)"/>
|
@@ -8094,6 +8123,11 @@
|
|
8094
8123
|
</xsl:call-template>
|
8095
8124
|
</xsl:template>
|
8096
8125
|
|
8126
|
+
<!-- command between two xref points to non-standard bibitem -->
|
8127
|
+
<xsl:template match="text()[. = ','][preceding-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']] and following-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']]]">
|
8128
|
+
<xsl:value-of select="."/>
|
8129
|
+
</xsl:template>
|
8130
|
+
|
8097
8131
|
<!-- ====== -->
|
8098
8132
|
<!-- formula -->
|
8099
8133
|
<!-- ====== -->
|
@@ -8799,6 +8833,8 @@
|
|
8799
8833
|
</xsl:attribute>
|
8800
8834
|
</xsl:template>
|
8801
8835
|
|
8836
|
+
<xsl:variable name="regex_starts_with_digit">^[0-9].*</xsl:variable>
|
8837
|
+
|
8802
8838
|
<xsl:template match="*[local-name() = 'svg'][not(@width and @height)]" mode="svg_update">
|
8803
8839
|
<xsl:copy>
|
8804
8840
|
<xsl:apply-templates select="@*" mode="svg_update"/>
|
@@ -8817,7 +8853,8 @@
|
|
8817
8853
|
|
8818
8854
|
<xsl:attribute name="width">
|
8819
8855
|
<xsl:choose>
|
8820
|
-
|
8856
|
+
<!-- width is non 'auto', 'text-width', 'full-page-width' or 'narrow' -->
|
8857
|
+
<xsl:when test="$parent_image_width != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_width), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_width"/></xsl:when>
|
8821
8858
|
<xsl:when test="$width != ''">
|
8822
8859
|
<xsl:value-of select="round($width)"/>
|
8823
8860
|
</xsl:when>
|
@@ -8826,7 +8863,8 @@
|
|
8826
8863
|
</xsl:attribute>
|
8827
8864
|
<xsl:attribute name="height">
|
8828
8865
|
<xsl:choose>
|
8829
|
-
|
8866
|
+
<!-- height non 'auto', 'text-width', 'full-page-width' or 'narrow' -->
|
8867
|
+
<xsl:when test="$parent_image_height != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_height), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_height"/></xsl:when>
|
8830
8868
|
<xsl:when test="$height != ''">
|
8831
8869
|
<xsl:value-of select="round($height)"/>
|
8832
8870
|
</xsl:when>
|
@@ -8843,7 +8881,7 @@
|
|
8843
8881
|
<xsl:variable name="parent_image_width" select="normalize-space(ancestor::*[2][local-name() = 'image']/@width)"/>
|
8844
8882
|
<xsl:attribute name="width">
|
8845
8883
|
<xsl:choose>
|
8846
|
-
<xsl:when test="$parent_image_width != '' and $parent_image_width
|
8884
|
+
<xsl:when test="$parent_image_width != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_width), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_width"/></xsl:when>
|
8847
8885
|
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
8848
8886
|
</xsl:choose>
|
8849
8887
|
</xsl:attribute>
|
@@ -8854,7 +8892,7 @@
|
|
8854
8892
|
<xsl:variable name="parent_image_height" select="normalize-space(ancestor::*[2][local-name() = 'image']/@height)"/>
|
8855
8893
|
<xsl:attribute name="height">
|
8856
8894
|
<xsl:choose>
|
8857
|
-
<xsl:when test="$parent_image_height != '' and $parent_image_height
|
8895
|
+
<xsl:when test="$parent_image_height != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_height), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_height"/></xsl:when>
|
8858
8896
|
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
8859
8897
|
</xsl:choose>
|
8860
8898
|
</xsl:attribute>
|
@@ -10328,6 +10366,7 @@
|
|
10328
10366
|
<xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'name']">
|
10329
10367
|
<xsl:if test="normalize-space() != ''">
|
10330
10368
|
<fo:inline xsl:use-attribute-sets="termexample-name-style">
|
10369
|
+
<xsl:call-template name="refine_termexample-name-style"/>
|
10331
10370
|
<xsl:apply-templates/>
|
10332
10371
|
</fo:inline>
|
10333
10372
|
</xsl:if>
|
@@ -10484,6 +10523,7 @@
|
|
10484
10523
|
</xsl:when>
|
10485
10524
|
<xsl:otherwise>
|
10486
10525
|
<fo:inline xsl:use-attribute-sets="example-name-style">
|
10526
|
+
<xsl:call-template name="refine_example-name-style"/>
|
10487
10527
|
<xsl:apply-templates/>
|
10488
10528
|
</fo:inline>
|
10489
10529
|
</xsl:otherwise>
|
@@ -11698,6 +11738,7 @@
|
|
11698
11738
|
<xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
11699
11739
|
|
11700
11740
|
<fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
|
11741
|
+
|
11701
11742
|
<xsl:call-template name="processBibitem"/>
|
11702
11743
|
</fo:block>
|
11703
11744
|
|
@@ -11739,6 +11780,7 @@
|
|
11739
11780
|
<xsl:when test="@hidden = 'true'"><!-- skip --></xsl:when>
|
11740
11781
|
<xsl:otherwise>
|
11741
11782
|
<fo:list-item id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-item-style">
|
11783
|
+
|
11742
11784
|
<fo:list-item-label end-indent="label-end()">
|
11743
11785
|
<fo:block role="SKIP">
|
11744
11786
|
<fo:inline role="SKIP">
|
@@ -13503,4 +13545,6 @@
|
|
13503
13545
|
</xsl:if>
|
13504
13546
|
</xsl:template>
|
13505
13547
|
|
13548
|
+
<!-- update -->
|
13549
|
+
|
13506
13550
|
</xsl:stylesheet>
|
@@ -208,7 +208,9 @@
|
|
208
208
|
</define>
|
209
209
|
<define name="roledescription">
|
210
210
|
<element name="description">
|
211
|
-
<
|
211
|
+
<oneOrMore>
|
212
|
+
<ref name="TextElement"/>
|
213
|
+
</oneOrMore>
|
212
214
|
</element>
|
213
215
|
</define>
|
214
216
|
<define name="person">
|
@@ -333,7 +335,9 @@
|
|
333
335
|
</define>
|
334
336
|
<define name="affiliationdescription">
|
335
337
|
<element name="description">
|
336
|
-
<
|
338
|
+
<oneOrMore>
|
339
|
+
<ref name="TextElement"/>
|
340
|
+
</oneOrMore>
|
337
341
|
</element>
|
338
342
|
</define>
|
339
343
|
<define name="organization">
|
@@ -897,7 +901,9 @@
|
|
897
901
|
</define>
|
898
902
|
<define name="formattedref">
|
899
903
|
<element name="formattedref">
|
900
|
-
<
|
904
|
+
<oneOrMore>
|
905
|
+
<ref name="TextElement"/>
|
906
|
+
</oneOrMore>
|
901
907
|
</element>
|
902
908
|
</define>
|
903
909
|
<define name="license">
|
@@ -942,7 +948,9 @@
|
|
942
948
|
<optional>
|
943
949
|
<attribute name="type"/>
|
944
950
|
</optional>
|
945
|
-
<
|
951
|
+
<zeroOrMore>
|
952
|
+
<ref name="TextElement"/>
|
953
|
+
</zeroOrMore>
|
946
954
|
</define>
|
947
955
|
<!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
|
948
956
|
<define name="TypedUri">
|
@@ -1042,7 +1050,9 @@
|
|
1042
1050
|
<optional>
|
1043
1051
|
<attribute name="script"/>
|
1044
1052
|
</optional>
|
1045
|
-
<
|
1053
|
+
<oneOrMore>
|
1054
|
+
<ref name="TextElement"/>
|
1055
|
+
</oneOrMore>
|
1046
1056
|
</element>
|
1047
1057
|
</define>
|
1048
1058
|
<define name="docnumber">
|
@@ -1267,12 +1277,16 @@
|
|
1267
1277
|
<optional>
|
1268
1278
|
<attribute name="type"/>
|
1269
1279
|
</optional>
|
1270
|
-
<
|
1280
|
+
<oneOrMore>
|
1281
|
+
<ref name="TextElement"/>
|
1282
|
+
</oneOrMore>
|
1271
1283
|
</element>
|
1272
1284
|
</define>
|
1273
1285
|
<define name="bibabstract">
|
1274
1286
|
<element name="abstract">
|
1275
|
-
<
|
1287
|
+
<oneOrMore>
|
1288
|
+
<ref name="TextElement"/>
|
1289
|
+
</oneOrMore>
|
1276
1290
|
</element>
|
1277
1291
|
</define>
|
1278
1292
|
<define name="copyright">
|
@@ -1377,7 +1391,9 @@
|
|
1377
1391
|
</attribute>
|
1378
1392
|
<optional>
|
1379
1393
|
<element name="description">
|
1380
|
-
<
|
1394
|
+
<oneOrMore>
|
1395
|
+
<ref name="TextElement"/>
|
1396
|
+
</oneOrMore>
|
1381
1397
|
</element>
|
1382
1398
|
</optional>
|
1383
1399
|
<element name="bibitem">
|
@@ -0,0 +1,110 @@
|
|
1
|
+
== copyright-statement
|
2
|
+
=== {blank}
|
3
|
+
{% if unpublished %}
|
4
|
+
*Copyright © {{ docyear }} International Electrotechnical Commission, IEC.*
|
5
|
+
All rights reserved. It is permitted to download this electronic file, to make a copy and to
|
6
|
+
print out the content for the sole purpose of preparing National Committee positions. You
|
7
|
+
may not copy or "mirror" the file or printed version of the document, or any part of it,
|
8
|
+
for any other purpose without permission in writing from IEC.
|
9
|
+
{% else %}
|
10
|
+
[[boilerplate-year]]
|
11
|
+
Copyright © {{ docyear }} {{ agency }}, Geneva, Switzerland
|
12
|
+
|
13
|
+
[[boilerplate-message]]
|
14
|
+
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
|
15
|
+
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
|
16
|
+
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about
|
17
|
+
{{ agency }} copyright or have an enquiry about obtaining additional rights to this publication, please contact the address
|
18
|
+
below or your local IEC member National Committee for further information.
|
19
|
+
|
20
|
+
[[boilerplate-name]]
|
21
|
+
IEC Central Office
|
22
|
+
|
23
|
+
[[boilerplate-address]]
|
24
|
+
[align=left]
|
25
|
+
3, rue de Varembé +
|
26
|
+
CH-1211 Geneva 20 +
|
27
|
+
Switzerland +
|
28
|
+
Tel.: +41 22 919 02 11 +
|
29
|
+
link:mailto:info@iec.ch[info@iec.ch] +
|
30
|
+
link:https://www.iec.ch[www.iec.ch]
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
== legal-statement
|
34
|
+
=== {blank}
|
35
|
+
|
36
|
+
[arabic]
|
37
|
+
. The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non-governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations.
|
38
|
+
. The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees.
|
39
|
+
. IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user.
|
40
|
+
. In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter.
|
41
|
+
. IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies.
|
42
|
+
. All users should ensure that they have the latest edition of this publication.
|
43
|
+
. No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications.
|
44
|
+
. Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication.
|
45
|
+
. Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
|
46
|
+
|
47
|
+
{% if unpublished %}
|
48
|
+
== license-statement
|
49
|
+
=== {blank}
|
50
|
+
{% if stage_int < 50 %}
|
51
|
+
This document is still under study and subject to change. It should not be used for reference purposes.
|
52
|
+
until published as such.
|
53
|
+
{% endif %}
|
54
|
+
|
55
|
+
{% if stage_int >= 50 %}
|
56
|
+
This document is a draft distributed for approval. It may not be referred to as an International Standard
|
57
|
+
until published as such.
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
{% if stage_int >= 50 %}
|
61
|
+
In addition to their evaluation as being acceptable for industrial, technological, commercial and user
|
62
|
+
purposes, Final Draft International Standards may on occasion have to be considered in the light of their
|
63
|
+
potential to become standards to which reference may be made in national regulations.
|
64
|
+
{% endif %}
|
65
|
+
|
66
|
+
Recipients of this document are invited to submit, with their comments, notification of any relevant
|
67
|
+
patent rights of which they are aware and to provide supporting documentation.
|
68
|
+
{% endif %}
|
69
|
+
|
70
|
+
== feedback-statement
|
71
|
+
{% if unpublished %}
|
72
|
+
[[boilerplate-cenelec-attention]]
|
73
|
+
=== Attention IEC-CENELEC parallel voting
|
74
|
+
|
75
|
+
The attention of IEC National Committees, members of CENELEC, is drawn to the fact that this
|
76
|
+
{% if stage_int >= 30 and stage_int < 40 %}Committee Draft{% endif %}
|
77
|
+
{% if stage_int >= 40 and stage_int < 50 %}Committee Draft For Vote{% endif %}
|
78
|
+
{% if stage_int >= 50 and stage_int < 60 %}Final Draft International Standard{% endif %}
|
79
|
+
({{ stageabbr }})
|
80
|
+
is submitted for parallel voting.
|
81
|
+
|
82
|
+
The CENELEC members are invited to vote through the CENELEC voting system.
|
83
|
+
{% else %}
|
84
|
+
=== About the IEC
|
85
|
+
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies.
|
86
|
+
|
87
|
+
=== About IEC publications
|
88
|
+
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published.
|
89
|
+
|
90
|
+
=== {blank}
|
91
|
+
==== IEC Catalogue - https://webstore.iec.ch/catalogue:[webstore.iec.ch/catalogue]
|
92
|
+
|
93
|
+
The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad.
|
94
|
+
|
95
|
+
==== IEC publications search - https://www.iec.ch/searchpub:[www.iec.ch/searchpub]
|
96
|
+
The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,...). It also gives information on projects, replaced and withdrawn publications.
|
97
|
+
|
98
|
+
==== IEC Just Published - https://webstore.iec.ch/justpublished:[webstore.iec.ch/justpublished]
|
99
|
+
Stay up to date on all new IEC publications. Just Published details all new publications released. Available online and also once a month by email.
|
100
|
+
|
101
|
+
==== Electropedia - http://www.electropedia.org:[www.electropedia.org]
|
102
|
+
The world's leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in English and French, with equivalent terms in 14 additional languages. Also known as the International Electrotechnical Vocabulary (IEV) online.
|
103
|
+
|
104
|
+
==== IEC Glossary - http://std.iec.ch/glossary:[std.iec.ch/glossary]
|
105
|
+
More than 55 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR.
|
106
|
+
|
107
|
+
==== IEC Customer Service Centre - https://webstore.iec.ch/csc:[webstore.iec.ch/csc]
|
108
|
+
If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: link:mailto:csc@iec.ch[csc@iec.ch].
|
109
|
+
{% endif %}
|
110
|
+
|
@@ -0,0 +1,111 @@
|
|
1
|
+
== copyright-statement
|
2
|
+
=== {blank}
|
3
|
+
{% if unpublished %}
|
4
|
+
*Copyright © {{ docyear }} Commission électrotechnique internationale, IEC.*
|
5
|
+
Tous droits réservés. Il est permis de télécharger ce fichier électronique, d'en faire une copie et de
|
6
|
+
imprimer le contenu dans le seul but de préparer les positions du Comité national. Toi
|
7
|
+
ne peut pas copier ou « refléter » le fichier ou la version imprimée du document, ou toute partie de celui-ci,
|
8
|
+
à toute autre fin sans autorisation écrite de la IEC.
|
9
|
+
{% else %}
|
10
|
+
[[boilerplate-year]]
|
11
|
+
Copyright © {{ docyear }} {{ agency }}, Genève, Suisse
|
12
|
+
|
13
|
+
|
14
|
+
[[boilerplate-message]]
|
15
|
+
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
|
16
|
+
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
|
17
|
+
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
|
18
|
+
questions sur le copyright de l'{{ agency }} ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
|
19
|
+
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.
|
20
|
+
|
21
|
+
[[boilerplate-name]]
|
22
|
+
IEC Central Office
|
23
|
+
|
24
|
+
[[boilerplate-address]]
|
25
|
+
[align=left]
|
26
|
+
3, rue de Varembé +
|
27
|
+
CH-1211 Geneva 20 +
|
28
|
+
Switzerland +
|
29
|
+
Tel.: +41 22 919 02 11 +
|
30
|
+
link:mailto:info@iec.ch[info@iec.ch] +
|
31
|
+
link:https://www.iec.ch[www.iec.ch]
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
== legal-statement
|
35
|
+
=== {blank}
|
36
|
+
|
37
|
+
[arabic]
|
38
|
+
. La Commission Electrotechnique Internationale (IEC) est une organisation mondiale de normalisation composée de l'ensemble des comités électrotechniques nationaux (Comités nationaux de l’IEC). L’IEC a pour objet de favoriser la coopération internationale pour toutes les questions de normalisation dans les domaines de l'électricité et de l'électronique. A cet effet, l’IEC – entre autres activités – publie des Normes internationales, des Spécifications techniques, des Rapports techniques, des Spécifications accessibles au public (PAS) et des Guides (ci-après dénommés "Publication(s) de l’IEC"). Leur élaboration est confiée à des comités d'études, aux travaux desquels tout Comité national intéressé par le sujet traité peut participer. Les organisations internationales, gouvernementales et non gouvernementales, en liaison avec l’IEC, participent également aux travaux. L’IEC collabore étroitement avec l'Organisation Internationale de Normalisation (ISO), selon des conditions fixées par accord entre les deux organisations.
|
39
|
+
. Les décisions ou accords officiels de l’IEC concernant les questions techniques représentent, dans la mesure du possible, un accord international sur les sujets étudiés, étant donné que les Comités nationaux de l’IEC intéressés sont représentés dans chaque comité d’études.
|
40
|
+
. Les Publications de l’IEC se présentent sous la forme de recommandations internationales et sont agréées comme telles par les Comités nationaux de l’IEC. Tous les efforts raisonnables sont entrepris afin que l’IEC s'assure de l'exactitude du contenu technique de ses publications; l’IEC ne peut pas être tenue responsable de l'éventuelle mauvaise utilisation ou interprétation qui en est faite par un quelconque utilisateur final.
|
41
|
+
. Dans le but d'encourager l'uniformité internationale, les Comités nationaux de l’IEC s'engagent, dans toute la mesure possible, à appliquer de façon transparente les Publications de l’IEC dans leurs publications nationales et régionales. Toutes divergences entre toutes Publications de l’IEC et toutes publications nationales ou régionales correspondantes doivent être indiquées en termes clairs dans ces dernières.
|
42
|
+
. L’IEC elle-même ne fournit aucune attestation de conformité. Des organismes de certification indépendants fournissent des services d'évaluation de conformité et, dans certains secteurs, accèdent aux marques de conformité de l’IEC. L’IEC n'est responsable d'aucun des services effectués par les organismes de certification indépendants.
|
43
|
+
. Tous les utilisateurs doivent s'assurer qu'ils sont en possession de la dernière édition de cette publication.
|
44
|
+
. Aucune responsabilité ne doit être imputée à l’IEC, à ses administrateurs, employés, auxiliaires ou mandataires, y compris ses experts particuliers et les membres de ses comités d'études et des Comités nationaux de l’IEC, pour tout préjudice causé en cas de dommages corporels et matériels, ou de tout autre dommage de quelque nature que ce soit, directe ou indirecte, ou pour supporter les coûts (y compris les frais de justice) et les dépenses découlant de la publication ou de l'utilisation de cette Publication de l’IEC ou de toute autre Publication de l’IEC, ou au crédit qui lui est accordé.
|
45
|
+
. L'attention est attirée sur les références normatives citées dans cette publication. L'utilisation de publications référencées est obligatoire pour une application correcte de la présente publication.
|
46
|
+
. L’attention est attirée sur le fait que certains des éléments de la présente Publication de l’IEC peuvent faire l’objet de droits de brevet. L’IEC ne saurait être tenue pour responsable de ne pas avoir identifié de tels droits de brevets et de ne pas avoir signalé leur existence.
|
47
|
+
|
48
|
+
{% if unpublished %}
|
49
|
+
== license-statement
|
50
|
+
=== {blank}
|
51
|
+
{% if stage_int < 50 %}
|
52
|
+
Ce document est encore à l'étude et susceptible d'être modifié. Il ne doit pas être utilisé à des fins de référence.
|
53
|
+
jusqu'à ce qu'il soit publié comme tel.
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
{% if stage_int >= 50 %}
|
57
|
+
Ce document est une ébauche distribuée pour approbation. Il ne peut pas être qualifié de Norme internationale
|
58
|
+
jusqu'à ce qu'il soit publié comme tel.
|
59
|
+
{% endif %}
|
60
|
+
|
61
|
+
{% if stage_int >= 50 %}
|
62
|
+
En plus de leur évaluation comme étant acceptable pour les industriels, technologiques, commerciaux et utilisateurs
|
63
|
+
À ces fins, les projets finaux de Normes internationales peuvent parfois devoir être examinés à la lumière de leur
|
64
|
+
susceptibles de devenir des normes auxquelles il pourra être fait référence dans les réglementations nationales.
|
65
|
+
{% endif %}
|
66
|
+
|
67
|
+
Les destinataires de ce document sont invités à soumettre, avec leurs commentaires, notification de tout
|
68
|
+
droits de brevet dont ils ont connaissance et de fournir les pièces justificatives.
|
69
|
+
{% endif %}
|
70
|
+
|
71
|
+
== feedback-statement
|
72
|
+
{% if unpublished %}
|
73
|
+
[[boilerplate-cenelec-attention]]
|
74
|
+
=== Attention vote parallèle IEC-CENELEC
|
75
|
+
|
76
|
+
L'attention des Comités Nationaux de la CEI, membres du CENELEC, est attirée sur le fait que ce
|
77
|
+
{% if stage_int >= 30 and stage_int < 40 %}Brouillon du comité{% endif %}
|
78
|
+
{% if stage_int >= 40 and stage_int < 50 %}Brouillon du comité pour vote{% endif %}
|
79
|
+
{% if stage_int >= 50 and stage_int < 60 %}Brouillon final de norme internationale{% endif %}
|
80
|
+
({{ stageabbr }})
|
81
|
+
est soumis au vote parallèle.
|
82
|
+
|
83
|
+
Les membres du CENELEC sont invités à voter via le système de vote du CENELEC.
|
84
|
+
|
85
|
+
{% else %}
|
86
|
+
=== A propos de l'IEC
|
87
|
+
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
|
88
|
+
|
89
|
+
=== A propos des publications IEC
|
90
|
+
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.
|
91
|
+
|
92
|
+
=== {blank}
|
93
|
+
==== Catalogue IEC - https://webstore.iec.ch/catalogue:[webstore.iec.ch/catalogue]
|
94
|
+
Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spécifications techniques, Rapports techniques et autres documents de l'IEC. Disponible pour PC, Mac OS, tablettes Android et iPad.
|
95
|
+
|
96
|
+
==== Recherche de publications IEC - https://www.iec.ch/searchpub:[www.iec.ch/searchpub]
|
97
|
+
La recherche avancée permet de trouver des publications IEC en utilisant différents critères (numéro de référence, texte, comité d’études,...). Elle donne aussi des informations sur les projets et les publications remplacées ou retirées.
|
98
|
+
|
99
|
+
==== IEC Just Published - https://webstore.iec.ch/justpublished:[webstore.iec.ch/justpublished]
|
100
|
+
Restez informé sur les nouvelles publications IEC. Just Published détaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email.
|
101
|
+
|
102
|
+
==== Electropedia - http://www.electropedia.org:[www.electropedia.org]
|
103
|
+
Le premier dictionnaire en ligne de termes électroniques et électriques. Il contient plus de 30 000 termes et définitions en anglais et en français, ainsi que les termes équivalents dans 14 langues additionnelles. Egalement appelé Vocabulaire Electrotechnique International (IEV) en ligne.
|
104
|
+
|
105
|
+
==== Glossaire IEC - http://std.iec.ch/glossary:[std.iec.ch/glossary]
|
106
|
+
Plus de 55 000 entrées terminologiques électrotechniques, en anglais et en français, extraites des articles Termes et Définitions des publications IEC parues depuis 2002. Plus certaines entrées antérieures extraites des publications des CE 37, 77, 86 et CISPR de l'IEC.
|
107
|
+
|
108
|
+
==== Service Clients - https://webstore.iec.ch/csc:[webstore.iec.ch/csc]
|
109
|
+
Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: link:mailto:csc@iec.ch[csc@iec.ch].
|
110
|
+
{% endif %}
|
111
|
+
|
@@ -25,7 +25,7 @@ module Metanorma
|
|
25
25
|
else
|
26
26
|
"en"
|
27
27
|
end
|
28
|
-
File.join(@libdir, "
|
28
|
+
File.join(@libdir, "boilerplate-#{lang}.adoc")
|
29
29
|
end
|
30
30
|
|
31
31
|
def id_prefix(_prefix, id)
|
@@ -83,20 +83,34 @@ module Metanorma
|
|
83
83
|
else
|
84
84
|
IsoDoc::Iec::PresentationXMLConvert
|
85
85
|
.new(doc_extract_attributes(node)
|
86
|
-
.merge(output_formats: ::Metanorma::Iec::Processor
|
86
|
+
.merge(output_formats: ::Metanorma::Iec::Processor
|
87
|
+
.new.output_formats))
|
87
88
|
end
|
88
89
|
end
|
89
90
|
|
90
91
|
def term_defs_boilerplate(div, source, term, preface, isodoc)
|
91
|
-
|
92
|
+
super unless @is_iev
|
92
93
|
end
|
93
94
|
|
94
|
-
def
|
95
|
+
def sections_names_pref_cleanup(xml)
|
95
96
|
super
|
96
97
|
@is_iev and replace_title(xml, "//introduction",
|
97
98
|
@i18n&.introduction_iev)
|
98
99
|
end
|
99
100
|
|
101
|
+
# preserve ol/@type within boilerplate, not elsewhere in doc
|
102
|
+
def ol_cleanup(doc)
|
103
|
+
if doc.at("//metanorma-extension/semantic-metadata/" \
|
104
|
+
"headless[text() = 'true']")
|
105
|
+
doc.xpath("//ol[@explicit-type]").each do |x|
|
106
|
+
x["type"] = x["explicit-type"]
|
107
|
+
x.delete("explicit-type")
|
108
|
+
end
|
109
|
+
end
|
110
|
+
::Metanorma::Standoc::Converter.instance_method(:ol_cleanup).bind(self)
|
111
|
+
.call(doc)
|
112
|
+
end
|
113
|
+
|
100
114
|
def note(note)
|
101
115
|
if note.title == "Note from TC/SC Officers"
|
102
116
|
noko do |xml|
|
@@ -137,12 +151,6 @@ module Metanorma
|
|
137
151
|
end
|
138
152
|
end
|
139
153
|
|
140
|
-
def ol_attrs(node)
|
141
|
-
attr_code(keep_attrs(node)
|
142
|
-
.merge(id: ::Metanorma::Utils::anchor_or_uuid(node),
|
143
|
-
"explicit-type": olist_style(node.attributes[1])))
|
144
|
-
end
|
145
|
-
|
146
154
|
# TODO remove when I adopt pubid-iec
|
147
155
|
#
|
148
156
|
def get_id_prefix(xmldoc)
|
data/lib/metanorma/iec/front.rb
CHANGED
@@ -89,7 +89,7 @@ module Metanorma
|
|
89
89
|
|
90
90
|
def iso_id_out_common(xml, params, _with_prf)
|
91
91
|
xml.docidentifier iso_id_default(params).to_s,
|
92
|
-
**attr_code(type: "ISO")
|
92
|
+
**attr_code(type: "ISO", primary: "true")
|
93
93
|
xml.docidentifier iso_id_reference(params).to_s,
|
94
94
|
**attr_code(type: "iso-reference")
|
95
95
|
@id_revdate and
|
@@ -156,44 +156,7 @@
|
|
156
156
|
</define>
|
157
157
|
<define name="xref">
|
158
158
|
<element name="xref">
|
159
|
-
<
|
160
|
-
<data type="string">
|
161
|
-
<param name="pattern">\i\c*|\c+#\c+</param>
|
162
|
-
</data>
|
163
|
-
</attribute>
|
164
|
-
<optional>
|
165
|
-
<attribute name="to">
|
166
|
-
<data type="string">
|
167
|
-
<param name="pattern">\i\c*|\c+#\c+</param>
|
168
|
-
</data>
|
169
|
-
</attribute>
|
170
|
-
</optional>
|
171
|
-
<optional>
|
172
|
-
<attribute name="type">
|
173
|
-
<ref name="ReferenceFormat"/>
|
174
|
-
</attribute>
|
175
|
-
</optional>
|
176
|
-
<optional>
|
177
|
-
<attribute name="alt"/>
|
178
|
-
</optional>
|
179
|
-
<optional>
|
180
|
-
<attribute name="case">
|
181
|
-
<choice>
|
182
|
-
<value>capital</value>
|
183
|
-
<value>lowercase</value>
|
184
|
-
</choice>
|
185
|
-
</attribute>
|
186
|
-
</optional>
|
187
|
-
<optional>
|
188
|
-
<attribute name="droploc">
|
189
|
-
<data type="boolean"/>
|
190
|
-
</attribute>
|
191
|
-
</optional>
|
192
|
-
<optional>
|
193
|
-
<attribute name="style">
|
194
|
-
<ref name="XrefStyleType"/>
|
195
|
-
</attribute>
|
196
|
-
</optional>
|
159
|
+
<ref name="XrefAttributes"/>
|
197
160
|
<ref name="XrefBody"/>
|
198
161
|
</element>
|
199
162
|
</define>
|
@@ -407,23 +370,7 @@
|
|
407
370
|
</define>
|
408
371
|
<define name="figure">
|
409
372
|
<element name="figure">
|
410
|
-
<
|
411
|
-
<data type="ID"/>
|
412
|
-
</attribute>
|
413
|
-
<optional>
|
414
|
-
<attribute name="unnumbered">
|
415
|
-
<data type="boolean"/>
|
416
|
-
</attribute>
|
417
|
-
</optional>
|
418
|
-
<optional>
|
419
|
-
<attribute name="number"/>
|
420
|
-
</optional>
|
421
|
-
<optional>
|
422
|
-
<attribute name="subsequence"/>
|
423
|
-
</optional>
|
424
|
-
<optional>
|
425
|
-
<attribute name="class"/>
|
426
|
-
</optional>
|
373
|
+
<ref name="FigureAttributes"/>
|
427
374
|
<ref name="BlockAttributes"/>
|
428
375
|
<optional>
|
429
376
|
<ref name="tname"/>
|
@@ -2450,6 +2397,49 @@
|
|
2450
2397
|
</zeroOrMore>
|
2451
2398
|
</element>
|
2452
2399
|
</define>
|
2400
|
+
<define name="XrefAttributes">
|
2401
|
+
<attribute name="target">
|
2402
|
+
<data type="string">
|
2403
|
+
<param name="pattern">\i\c*|\c+#\c+</param>
|
2404
|
+
</data>
|
2405
|
+
</attribute>
|
2406
|
+
<optional>
|
2407
|
+
<attribute name="to">
|
2408
|
+
<data type="string">
|
2409
|
+
<param name="pattern">\i\c*|\c+#\c+</param>
|
2410
|
+
</data>
|
2411
|
+
</attribute>
|
2412
|
+
</optional>
|
2413
|
+
<optional>
|
2414
|
+
<attribute name="type">
|
2415
|
+
<ref name="ReferenceFormat"/>
|
2416
|
+
</attribute>
|
2417
|
+
</optional>
|
2418
|
+
<optional>
|
2419
|
+
<attribute name="alt"/>
|
2420
|
+
</optional>
|
2421
|
+
<optional>
|
2422
|
+
<attribute name="case">
|
2423
|
+
<choice>
|
2424
|
+
<value>capital</value>
|
2425
|
+
<value>lowercase</value>
|
2426
|
+
</choice>
|
2427
|
+
</attribute>
|
2428
|
+
</optional>
|
2429
|
+
<optional>
|
2430
|
+
<attribute name="droploc">
|
2431
|
+
<data type="boolean"/>
|
2432
|
+
</attribute>
|
2433
|
+
</optional>
|
2434
|
+
<optional>
|
2435
|
+
<attribute name="style">
|
2436
|
+
<ref name="XrefStyleType"/>
|
2437
|
+
</attribute>
|
2438
|
+
</optional>
|
2439
|
+
<optional>
|
2440
|
+
<attribute name="label"/>
|
2441
|
+
</optional>
|
2442
|
+
</define>
|
2453
2443
|
<define name="XrefBody">
|
2454
2444
|
<zeroOrMore>
|
2455
2445
|
<ref name="XrefTarget"/>
|
@@ -2528,6 +2518,28 @@
|
|
2528
2518
|
<attribute name="columns"/>
|
2529
2519
|
</optional>
|
2530
2520
|
</define>
|
2521
|
+
<define name="FigureAttributes">
|
2522
|
+
<attribute name="id">
|
2523
|
+
<data type="ID"/>
|
2524
|
+
</attribute>
|
2525
|
+
<optional>
|
2526
|
+
<attribute name="unnumbered">
|
2527
|
+
<data type="boolean"/>
|
2528
|
+
</attribute>
|
2529
|
+
</optional>
|
2530
|
+
<optional>
|
2531
|
+
<attribute name="number"/>
|
2532
|
+
</optional>
|
2533
|
+
<optional>
|
2534
|
+
<attribute name="subsequence"/>
|
2535
|
+
</optional>
|
2536
|
+
<optional>
|
2537
|
+
<attribute name="class"/>
|
2538
|
+
</optional>
|
2539
|
+
<optional>
|
2540
|
+
<attribute name="width"/>
|
2541
|
+
</optional>
|
2542
|
+
</define>
|
2531
2543
|
<start>
|
2532
2544
|
<ref name="standard-document"/>
|
2533
2545
|
</start>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|
@@ -254,11 +254,11 @@ files:
|
|
254
254
|
- lib/metanorma/iec/basicdoc.rng
|
255
255
|
- lib/metanorma/iec/biblio-standoc.rng
|
256
256
|
- lib/metanorma/iec/biblio.rng
|
257
|
+
- lib/metanorma/iec/boilerplate-en.adoc
|
258
|
+
- lib/metanorma/iec/boilerplate-fr.adoc
|
257
259
|
- lib/metanorma/iec/converter.rb
|
258
260
|
- lib/metanorma/iec/front.rb
|
259
261
|
- lib/metanorma/iec/iec.rng
|
260
|
-
- lib/metanorma/iec/iec_intro_en.xml
|
261
|
-
- lib/metanorma/iec/iec_intro_fr.xml
|
262
262
|
- lib/metanorma/iec/isodoc.rng
|
263
263
|
- lib/metanorma/iec/isostandard.rng
|
264
264
|
- lib/metanorma/iec/processor.rb
|
@@ -1,114 +0,0 @@
|
|
1
|
-
<boilerplate>
|
2
|
-
<copyright-statement>
|
3
|
-
<clause>
|
4
|
-
{% if unpublished %}
|
5
|
-
<p><strong>Copyright © {{ docyear }} International Electrotechnical Commission, IEC.</strong>
|
6
|
-
All rights reserved. It is permitted to download this electronic file, to make a copy and to
|
7
|
-
print out the content for the sole purpose of preparing National Committee positions. You
|
8
|
-
may not copy or "mirror" the file or printed version of the document, or any part of it,
|
9
|
-
for any other purpose without permission in writing from IEC.
|
10
|
-
{% else %}
|
11
|
-
<p id="boilerplate-year">
|
12
|
-
Copyright © {{ docyear }} {{ agency }}, Geneva, Switzerland
|
13
|
-
</p>
|
14
|
-
<p id="boilerplate-message">
|
15
|
-
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
|
16
|
-
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
|
17
|
-
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about
|
18
|
-
{{ agency }} copyright or have an enquiry about obtaining additional rights to this publication, please contact the address
|
19
|
-
below or your local IEC member National Committee for further information.
|
20
|
-
</p>
|
21
|
-
<p id="boilerplate-name">IEC Central Office</p>
|
22
|
-
<p id="boilerplate-address" align="left">
|
23
|
-
3, rue de Varembé<br/>
|
24
|
-
CH-1211 Geneva 20<br/>
|
25
|
-
Switzerland<br/>
|
26
|
-
Tel.: +41 22 919 02 11<br/>
|
27
|
-
<link target="mailto:info@iec.ch">info@iec.ch</link><br/>
|
28
|
-
<link target="https://www.iec.ch">www.iec.ch</link>
|
29
|
-
{% endif %}
|
30
|
-
</p>
|
31
|
-
</clause>
|
32
|
-
</copyright-statement>
|
33
|
-
<legal-statement>
|
34
|
-
<clause>
|
35
|
-
<ol>
|
36
|
-
<li><p>The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non-governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations.</p></li>
|
37
|
-
<li><p>The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees.</p></li>
|
38
|
-
<li><p>IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user.</p></li>
|
39
|
-
<li><p>In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter.</p></li>
|
40
|
-
<li><p>IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies.</p></li>
|
41
|
-
<li><p>All users should ensure that they have the latest edition of this publication.</p></li>
|
42
|
-
<li><p>No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications.</p></li>
|
43
|
-
<li><p>Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication.</p></li>
|
44
|
-
<li><p>Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights.</p></li>
|
45
|
-
</ol>
|
46
|
-
</clause>
|
47
|
-
</legal-statement>
|
48
|
-
{% if unpublished %}
|
49
|
-
<license-statement>
|
50
|
-
<clause>
|
51
|
-
{% if stage_int < 50 %}
|
52
|
-
<p>This document is still under study and subject to change. It should not be used for reference purposes.
|
53
|
-
until published as such.</p>
|
54
|
-
{% endif %}
|
55
|
-
{% if stage_int >= 50 %}
|
56
|
-
<p>This document is a draft distributed for approval. It may not be referred to as an International Standard
|
57
|
-
until published as such.</p>
|
58
|
-
{% endif %}
|
59
|
-
{% if stage_int >= 50 %}
|
60
|
-
<p>In addition to their evaluation as being acceptable for industrial, technological, commercial and user
|
61
|
-
purposes, Final Draft International Standards may on occasion have to be considered in the light of their
|
62
|
-
potential to become standards to which reference may be made in national regulations.</p>
|
63
|
-
{% endif %}
|
64
|
-
<p>Recipients of this document are invited to submit, with their comments, notification of any relevant
|
65
|
-
patent rights of which they are aware and to provide supporting documentation.</p>
|
66
|
-
</clause>
|
67
|
-
</license-statement>
|
68
|
-
{% endif %}
|
69
|
-
<feedback-statement>
|
70
|
-
{% if unpublished %}
|
71
|
-
<clause id="boilerplate-cenelec-attention">
|
72
|
-
<title>Attention IEC-CENELEC parallel voting</title>
|
73
|
-
<p>The attention of IEC National Committees, members of CENELEC, is drawn to the fact that this
|
74
|
-
{% if stage_int >= 30 and stage_int < 40 %}Committee Draft{% endif %}
|
75
|
-
{% if stage_int >= 40 and stage_int < 50 %}Committee Draft For Vote{% endif %}
|
76
|
-
{% if stage_int >= 50 and stage_int < 60 %}Final Draft International Standard{% endif %}
|
77
|
-
({{ stageabbr }})
|
78
|
-
is submitted for parallel voting.</p>
|
79
|
-
<p>The CENELEC members are invited to vote through the CENELEC voting system.</p>
|
80
|
-
</clause>
|
81
|
-
{% else %}
|
82
|
-
<clause>
|
83
|
-
<title>About the IEC</title>
|
84
|
-
<p>The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies.</p>
|
85
|
-
</clause>
|
86
|
-
<clause>
|
87
|
-
<title>About IEC publications</title>
|
88
|
-
<p>The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published.</p>
|
89
|
-
</clause>
|
90
|
-
<clause>
|
91
|
-
<clause>
|
92
|
-
<title>IEC Catalogue - <link target="https://webstore.iec.ch/catalogue">webstore.iec.ch/catalogue</link></title>
|
93
|
-
<p>The stand-alone application for consulting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad.</p>
|
94
|
-
</clause>
|
95
|
-
<clause><title>IEC publications search - <link target="https://www.iec.ch/searchpub">www.iec.ch/searchpub</link></title>
|
96
|
-
<p>The advanced search enables to find IEC publications by a variety of criteria (reference number, text, technical committee,...). It also gives information on projects, replaced and withdrawn publications.</p>
|
97
|
-
</clause>
|
98
|
-
<clause><title>IEC Just Published - <link target="https://webstore.iec.ch/justpublished">webstore.iec.ch/justpublished</link></title>
|
99
|
-
<p>Stay up to date on all new IEC publications. Just Published details all new publications released. Available online and also once a month by email.</p>
|
100
|
-
</clause>
|
101
|
-
<clause><title>Electropedia - <link target="http://www.electropedia.org">www.electropedia.org</link></title>
|
102
|
-
<p>The world's leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in English and French, with equivalent terms in 14 additional languages. Also known as the International Electrotechnical Vocabulary (IEV) online.</p>
|
103
|
-
</clause>
|
104
|
-
<clause><title>IEC Glossary - <link target="http://std.iec.ch/glossary">std.iec.ch/glossary</link></title>
|
105
|
-
<p>More than 55 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR.</p>
|
106
|
-
</clause>
|
107
|
-
<clause><title>IEC Customer Service Centre - <link target="https://webstore.iec.ch/csc">webstore.iec.ch/csc</link></title>
|
108
|
-
<p>If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: <link target="mailto:csc@iec.ch">csc@iec.ch</link>.</p>
|
109
|
-
</clause>
|
110
|
-
</clause>
|
111
|
-
{% endif %}
|
112
|
-
</feedback-statement>
|
113
|
-
</boilerplate>
|
114
|
-
|
@@ -1,117 +0,0 @@
|
|
1
|
-
<boilerplate>
|
2
|
-
<copyright-statement>
|
3
|
-
<clause>
|
4
|
-
{% if unpublished %}
|
5
|
-
<p><strong>Copyright © {{ docyear }} International Electrotechnical Commission, IEC.</strong>
|
6
|
-
All rights reserved. It is permitted to download this electronic file, to make a copy and to
|
7
|
-
print out the content for the sole purpose of preparing National Committee positions. You
|
8
|
-
may not copy or "mirror" the file or printed version of the document, or any part of it,
|
9
|
-
for any other purpose without permission in writing from IEC.
|
10
|
-
{% else %}
|
11
|
-
<p id="boilerplate-year">
|
12
|
-
Copyright © {{ docyear }} {{ agency }}, Geneva, Switzerland
|
13
|
-
</p>
|
14
|
-
|
15
|
-
<p id="boilerplate-message">
|
16
|
-
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
|
17
|
-
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
|
18
|
-
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
|
19
|
-
questions sur le copyright de l'{{ agency }} ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
|
20
|
-
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.
|
21
|
-
</p>
|
22
|
-
|
23
|
-
<p id="boilerplate-name">IEC Central Office</p>
|
24
|
-
|
25
|
-
<p id="boilerplate-address" align="left">
|
26
|
-
3, rue de Varembé<br/>
|
27
|
-
CH-1211 Geneva 20<br/>
|
28
|
-
Switzerland<br/>
|
29
|
-
Tel.: +41 22 919 02 11<br/>
|
30
|
-
<link target="mailto:info@iec.ch">info@iec.ch</link><br/>
|
31
|
-
<link target="https://www.iec.ch">www.iec.ch</link>
|
32
|
-
</p>
|
33
|
-
{% endif %}
|
34
|
-
</clause>
|
35
|
-
</copyright-statement>
|
36
|
-
<legal-statement>
|
37
|
-
<clause>
|
38
|
-
<ol>
|
39
|
-
<li><p>La Commission Electrotechnique Internationale (IEC) est une organisation mondiale de normalisation composée de l'ensemble des comités électrotechniques nationaux (Comités nationaux de l’IEC). L’IEC a pour objet de favoriser la coopération internationale pour toutes les questions de normalisation dans les domaines de l'électricité et de l'électronique. A cet effet, l’IEC – entre autres activités – publie des Normes internationales, des Spécifications techniques, des Rapports techniques, des Spécifications accessibles au public (PAS) et des Guides (ci-après dénommés "Publication(s) de l’IEC"). Leur élaboration est confiée à des comités d'études, aux travaux desquels tout Comité national intéressé par le sujet traité peut participer. Les organisations internationales, gouvernementales et non gouvernementales, en liaison avec l’IEC, participent également aux travaux. L’IEC collabore étroitement avec l'Organisation Internationale de Normalisation (ISO), selon des conditions fixées par accord entre les deux organisations.</p></li>
|
40
|
-
<li><p>Les décisions ou accords officiels de l’IEC concernant les questions techniques représentent, dans la mesure du possible, un accord international sur les sujets étudiés, étant donné que les Comités nationaux de l’IEC intéressés sont représentés dans chaque comité d’études.</p></li>
|
41
|
-
<li><p>Les Publications de l’IEC se présentent sous la forme de recommandations internationales et sont agréées comme telles par les Comités nationaux de l’IEC. Tous les efforts raisonnables sont entrepris afin que l’IEC s'assure de l'exactitude du contenu technique de ses publications; l’IEC ne peut pas être tenue responsable de l'éventuelle mauvaise utilisation ou interprétation qui en est faite par un quelconque utilisateur final.</p></li>
|
42
|
-
<li><p>Dans le but d'encourager l'uniformité internationale, les Comités nationaux de l’IEC s'engagent, dans toute la mesure possible, à appliquer de façon transparente les Publications de l’IEC dans leurs publications nationales et régionales. Toutes divergences entre toutes Publications de l’IEC et toutes publications nationales ou régionales correspondantes doivent être indiquées en termes clairs dans ces dernières.</p></li>
|
43
|
-
<li><p>L’IEC elle-même ne fournit aucune attestation de conformité. Des organismes de certification indépendants fournissent des services d'évaluation de conformité et, dans certains secteurs, accèdent aux marques de conformité de l’IEC. L’IEC n'est responsable d'aucun des services effectués par les organismes de certification indépendants.</p></li>
|
44
|
-
<li><p>Tous les utilisateurs doivent s'assurer qu'ils sont en possession de la dernière édition de cette publication.</p></li>
|
45
|
-
<li><p>Aucune responsabilité ne doit être imputée à l’IEC, à ses administrateurs, employés, auxiliaires ou mandataires, y compris ses experts particuliers et les membres de ses comités d'études et des Comités nationaux de l’IEC, pour tout préjudice causé en cas de dommages corporels et matériels, ou de tout autre dommage de quelque nature que ce soit, directe ou indirecte, ou pour supporter les coûts (y compris les frais de justice) et les dépenses découlant de la publication ou de l'utilisation de cette Publication de l’IEC ou de toute autre Publication de l’IEC, ou au crédit qui lui est accordé.</p></li>
|
46
|
-
<li><p>L'attention est attirée sur les références normatives citées dans cette publication. L'utilisation de publications référencées est obligatoire pour une application correcte de la présente publication.</p></li>
|
47
|
-
<li><p>L’attention est attirée sur le fait que certains des éléments de la présente Publication de l’IEC peuvent faire l’objet de droits de brevet. L’IEC ne saurait être tenue pour responsable de ne pas avoir identifié de tels droits de brevets et de ne pas avoir signalé leur existence.</p></li>
|
48
|
-
</ol>
|
49
|
-
</clause>
|
50
|
-
</legal-statement>
|
51
|
-
{% if unpublished %}
|
52
|
-
<license-statement>
|
53
|
-
<clause>
|
54
|
-
{% if stage_int < 40 %}
|
55
|
-
<p>This document is still under study and subject to change. It should not be used for reference purposes.</p>
|
56
|
-
until published as such.</p>
|
57
|
-
{% endif %}
|
58
|
-
{% if stage_int >= 40 %}
|
59
|
-
<p>This document is a draft distributed for approval. It may not be referred to as an International Standard
|
60
|
-
until published as such.</p>
|
61
|
-
{% endif %}
|
62
|
-
{% if stage_int >= 50 %}
|
63
|
-
<p>In addition to their evaluation as being acceptable for industrial, technological, commercial and user
|
64
|
-
purposes, Final Draft International Standards may on occasion have to be considered in the light of their
|
65
|
-
potential to become standards to which reference may be made in national regulations.</p>
|
66
|
-
{% endif %}
|
67
|
-
<p>Recipients of this document are invited to submit, with their comments, notification of any relevant
|
68
|
-
patent rights of which they are aware and to provide supporting documentation.</p>
|
69
|
-
</clause>
|
70
|
-
</license-statement>
|
71
|
-
{% endif %}
|
72
|
-
<feedback-statement>
|
73
|
-
{% if unpublished %}
|
74
|
-
<clause id="boilerplate-cenelec-attention">
|
75
|
-
<title>Attention IEC-CENELEC parallel voting</title>
|
76
|
-
<p>The attention of IEC National Committees, members of CENELEC, is drawn to the fact that this
|
77
|
-
{% if stage_int >= 30 and stage_int < 40 %}Committee Draft{% endif %}
|
78
|
-
{% if stage_int >= 40 and stage_int < 50 %}Committee Draft For Vote{% endif %}
|
79
|
-
{% if stage_int >= 50 and stage_int < 60 %}Final Draft International Standard{% endif %}
|
80
|
-
({{ stageabbr }})
|
81
|
-
is submitted for parallel voting.</p>
|
82
|
-
<p>The CENELEC members are invited to vote through the CENELEC voting system.</p>
|
83
|
-
</clause>
|
84
|
-
{% else %}
|
85
|
-
<clause>
|
86
|
-
<title>A propos de l'IEC</title>
|
87
|
-
<p>La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.</p>
|
88
|
-
</clause>
|
89
|
-
<clause>
|
90
|
-
<title>A propos des publications IEC</title>
|
91
|
-
<p>Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.</p>
|
92
|
-
</clause>
|
93
|
-
<clause>
|
94
|
-
<clause>
|
95
|
-
<title>Catalogue IEC - <link target="https://webstore.iec.ch/catalogue">webstore.iec.ch/catalogue</link></title>
|
96
|
-
<p>Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spécifications techniques, Rapports techniques et autres documents de l'IEC. Disponible pour PC, Mac OS, tablettes Android et iPad.</p>
|
97
|
-
</clause>
|
98
|
-
<clause><title>Recherche de publications IEC - <link target="https://www.iec.ch/searchpub">www.iec.ch/searchpub</link></title>
|
99
|
-
<p>La recherche avancée permet de trouver des publications IEC en utilisant différents critères (numéro de référence, texte, comité d’études,...). Elle donne aussi des informations sur les projets et les publications remplacées ou retirées.</p>
|
100
|
-
</clause>
|
101
|
-
<clause><title>IEC Just Published - <link target="https://webstore.iec.ch/justpublished">webstore.iec.ch/justpublished</link></title>
|
102
|
-
<p>Restez informé sur les nouvelles publications IEC. Just Published détaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email.</p>
|
103
|
-
</clause>
|
104
|
-
<clause><title>Electropedia - <link target="http://www.electropedia.org">www.electropedia.org</link></title>
|
105
|
-
<p>Le premier dictionnaire en ligne de termes électroniques et électriques. Il contient plus de 30 000 termes et définitions en anglais et en français, ainsi que les termes équivalents dans 14 langues additionnelles. Egalement appelé Vocabulaire Electrotechnique International (IEV) en ligne.</p>
|
106
|
-
</clause>
|
107
|
-
<clause><title>Glossaire IEC - <link target="http://std.iec.ch/glossary">std.iec.ch/glossary</link></title>
|
108
|
-
<p>Plus de 55 000 entrées terminologiques électrotechniques, en anglais et en français, extraites des articles Termes et Définitions des publications IEC parues depuis 2002. Plus certaines entrées antérieures extraites des publications des CE 37, 77, 86 et CISPR de l'IEC.</p>
|
109
|
-
</clause>
|
110
|
-
<clause><title>Service Clients - <link target="https://webstore.iec.ch/csc">webstore.iec.ch/csc</link></title>
|
111
|
-
<p>Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: <link target="mailto:csc@iec.ch">csc@iec.ch</link>.</p>
|
112
|
-
</clause>
|
113
|
-
</clause>
|
114
|
-
{% endif %}
|
115
|
-
</feedback-statement>
|
116
|
-
</boilerplate>
|
117
|
-
|