metanorma-iec 2.4.4 → 2.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 983a0ecfbb9268e7428c55b36574bc046a2fc4ce749aa93dce9ecef035ae4e5a
4
- data.tar.gz: 64ec2813deda8032f200ca67b359e287bd7db20000efde215b3add5fb1f2c498
3
+ metadata.gz: f05fbbfe3bd0f60dd7207637f0df64d3ef07bc8b5adac8fb9594f594ff0034b2
4
+ data.tar.gz: 38d920ff2f0793ad5f2e5a7da698a41a4f53cf76c0afb71dfe9e850de5335b1a
5
5
  SHA512:
6
- metadata.gz: ed8a99a03048f7ec0da59e21bfd1be59b06e0d21c03f95d38ca27f88330d6e01b9199f62f8f978ffc2af820cafd7e6345510ad6a126cf0285e523acd77336928
7
- data.tar.gz: 3d08b38772898074098c9b0af578a875ce435dce0c490d37f4361326fbacb35ef9901188c8e4461148a8ce81c381056a673324e3c4cd5b362b07ff21287325c6
6
+ metadata.gz: 442d16114c39c832a4ae7afeae6fa53d211eea474a99e80e8861604f6e3cb4185e3b7eee10bcb815fc20a5e7720f9e74afefd94ec27bc15b1ba60c26597de3d8
7
+ data.tar.gz: a3d068fd26a0a4207e8bd37c0f59bce555f9afe87aeebec4fc1d5a66a7cb84fefa12c9f38b80590f8559fc9b600950993363833d6b402d15c9963c94044dfa39
@@ -2123,17 +2123,30 @@
2123
2123
  <xsl:param name="add_math_as_text">true</xsl:param> <!-- add math in text behind svg formula, to copy-paste formula from PDF as text -->
2124
2124
 
2125
2125
  <xsl:param name="table_if">false</xsl:param> <!-- generate extended table in IF for autolayout-algorithm -->
2126
- <xsl:param name="table_widths"/> <!-- path to xml with table's widths, generated on 1st pass, based on FOP Intermediate Format -->
2126
+ <xsl:param name="table_widths"/> <!-- (debug: path to) xml with table's widths, generated on 1st pass, based on FOP Intermediate Format -->
2127
2127
  <!-- Example: <tables>
2128
- <table id="table_if_tab-symdu" page-width="75"> - table id prefixed by 'table_if_' to simple search in IF
2129
- <tbody>
2130
- <tr>
2131
- <td id="tab-symdu_1_1">
2132
- <p_len>6</p_len>
2133
- <p_len>100</p_len> for 2nd paragraph
2134
- <word_len>6</word_len>
2135
- <word_len>20</word_len>
2136
- ...
2128
+ <table page-width="509103" id="table1" width_max="223561" width_min="223560">
2129
+ <column width_max="39354" width_min="39354"/>
2130
+ <column width_max="75394" width_min="75394"/>
2131
+ <column width_max="108813" width_min="108813"/>
2132
+ <tbody>
2133
+ <tr>
2134
+ <td width_max="39354" width_min="39354">
2135
+ <p_len>39354</p_len>
2136
+ <word_len>39354</word_len>
2137
+ </td>
2138
+
2139
+ OLD:
2140
+ <tables>
2141
+ <table id="table_if_tab-symdu" page-width="75"> - table id prefixed by 'table_if_' to simple search in IF
2142
+ <tbody>
2143
+ <tr>
2144
+ <td id="tab-symdu_1_1">
2145
+ <p_len>6</p_len>
2146
+ <p_len>100</p_len> for 2nd paragraph
2147
+ <word_len>6</word_len>
2148
+ <word_len>20</word_len>
2149
+ ...
2137
2150
  -->
2138
2151
 
2139
2152
  <!-- for command line debug: <xsl:variable name="table_widths_from_if" select="document($table_widths)"/> -->
@@ -2358,6 +2371,10 @@
2358
2371
  <xsl:variable name="zero_width_space">​</xsl:variable>
2359
2372
  <xsl:variable name="hair_space"> </xsl:variable>
2360
2373
  <xsl:variable name="en_dash">–</xsl:variable>
2374
+ <xsl:variable name="em_dash">—</xsl:variable>
2375
+ <xsl:variable name="cr">&#13;</xsl:variable>
2376
+ <xsl:variable name="lf">
2377
+ </xsl:variable>
2361
2378
 
2362
2379
  <xsl:template name="getTitle">
2363
2380
  <xsl:param name="name"/>
@@ -2680,6 +2697,10 @@
2680
2697
 
2681
2698
  </xsl:attribute-set> <!-- example-name-style -->
2682
2699
 
2700
+ <xsl:template name="refine_example-name-style">
2701
+
2702
+ </xsl:template>
2703
+
2683
2704
  <xsl:attribute-set name="example-p-style">
2684
2705
 
2685
2706
  <xsl:attribute name="margin-top">5pt</xsl:attribute>
@@ -2696,6 +2717,10 @@
2696
2717
 
2697
2718
  </xsl:attribute-set> <!-- termexample-name-style -->
2698
2719
 
2720
+ <xsl:template name="refine_termexample-name-style">
2721
+
2722
+ </xsl:template>
2723
+
2699
2724
  <!-- ========================== -->
2700
2725
  <!-- Table styles -->
2701
2726
  <!-- ========================== -->
@@ -2904,6 +2929,10 @@
2904
2929
 
2905
2930
  </xsl:attribute-set> <!-- table-fn-style -->
2906
2931
 
2932
+ <xsl:template name="refine_table-fn-style">
2933
+
2934
+ </xsl:template>
2935
+
2907
2936
  <xsl:attribute-set name="table-fn-number-style">
2908
2937
  <xsl:attribute name="font-size">80%</xsl:attribute>
2909
2938
  <xsl:attribute name="padding-right">5mm</xsl:attribute>
@@ -2913,6 +2942,10 @@
2913
2942
 
2914
2943
  </xsl:attribute-set> <!-- table-fn-number-style -->
2915
2944
 
2945
+ <xsl:template name="refine_table-fn-number-style">
2946
+
2947
+ </xsl:template>
2948
+
2916
2949
  <xsl:attribute-set name="fn-container-body-style">
2917
2950
  <xsl:attribute name="text-indent">0</xsl:attribute>
2918
2951
  <xsl:attribute name="start-indent">0</xsl:attribute>
@@ -4067,6 +4100,20 @@
4067
4100
  </xsl:for-each>
4068
4101
  </xsl:template>
4069
4102
 
4103
+ <xsl:param name="table_only_with_id"/><!-- Example: table1, for table auto-layout algorithm -->
4104
+
4105
+ <xsl:template match="*[local-name()='table']" priority="2">
4106
+ <xsl:choose>
4107
+ <xsl:when test="$table_only_with_id != '' and @id = $table_only_with_id">
4108
+ <xsl:call-template name="table"/>
4109
+ </xsl:when>
4110
+ <xsl:when test="$table_only_with_id != ''"><fo:block/><!-- to prevent empty fo:block-container --></xsl:when>
4111
+ <xsl:otherwise>
4112
+ <xsl:call-template name="table"/>
4113
+ </xsl:otherwise>
4114
+ </xsl:choose>
4115
+ </xsl:template>
4116
+
4070
4117
  <xsl:template match="*[local-name()='table']" name="table">
4071
4118
 
4072
4119
  <xsl:variable name="table-preamble">
@@ -4076,9 +4123,11 @@
4076
4123
  <xsl:variable name="table">
4077
4124
 
4078
4125
  <xsl:variable name="simple-table">
4079
- <xsl:call-template name="getSimpleTable">
4080
- <xsl:with-param name="id" select="@id"/>
4081
- </xsl:call-template>
4126
+ <xsl:if test="$isGenerateTableIF = 'true' and $isApplyAutolayoutAlgorithm = 'true'">
4127
+ <xsl:call-template name="getSimpleTable">
4128
+ <xsl:with-param name="id" select="@id"/>
4129
+ </xsl:call-template>
4130
+ </xsl:if>
4082
4131
  </xsl:variable>
4083
4132
  <!-- <xsl:variable name="simple-table" select="xalan:nodeset($simple-table_)"/> -->
4084
4133
 
@@ -4174,9 +4223,9 @@
4174
4223
  </xsl:attribute>
4175
4224
  </xsl:for-each>
4176
4225
 
4177
- <xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'] or ./*[local-name()='example'] or .//*[local-name()='fn'][local-name(..) != 'name'] or ./*[local-name()='source']"/>
4226
+ <xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'][not(@type = 'units')] or ./*[local-name()='example'] or .//*[local-name()='fn'][local-name(..) != 'name'] or ./*[local-name()='source']"/>
4178
4227
  <xsl:if test="$isNoteOrFnExist = 'true'">
4179
- <xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
4228
+ <xsl:attribute name="border-bottom">0pt solid black</xsl:attribute><!-- set 0pt border, because there is a separete table below for footer -->
4180
4229
  </xsl:if>
4181
4230
 
4182
4231
  <xsl:choose>
@@ -4261,6 +4310,7 @@
4261
4310
  <!-- centered table when table name is centered (see table-name-style) -->
4262
4311
 
4263
4312
  <fo:table table-layout="fixed" width="100%" xsl:use-attribute-sets="table-container-style">
4313
+
4264
4314
  <fo:table-column column-width="proportional-column-width(1)"/>
4265
4315
  <fo:table-column column-width="{@width}"/>
4266
4316
  <fo:table-column column-width="proportional-column-width(1)"/>
@@ -4343,9 +4393,28 @@
4343
4393
 
4344
4394
  </fo:block>
4345
4395
 
4396
+ <!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'iec' or $namespace = 'iso'"> -->
4397
+ <xsl:if test="$continued = 'true'">
4398
+ <fo:block text-align="right">
4399
+ <xsl:apply-templates select="../*[local-name() = 'note'][@type = 'units']/node()"/>
4400
+ </fo:block>
4401
+ </xsl:if>
4402
+ <!-- </xsl:if> -->
4403
+
4346
4404
  </xsl:if>
4347
4405
  </xsl:template> <!-- table/name -->
4348
4406
 
4407
+ <!-- workaround solution for https://github.com/metanorma/metanorma-iso/issues/1151#issuecomment-2033087938 -->
4408
+ <xsl:template match="*[local-name()='table']/*[local-name() = 'note'][@type = 'units']/*[local-name() = 'p']/text()" priority="4">
4409
+ <xsl:choose>
4410
+ <xsl:when test="preceding-sibling::*[local-name() = 'br']">
4411
+ <!-- remove CR or LF at start -->
4412
+ <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'^(&#13;&#10;|&#13;|&#10;)', '')"/>
4413
+ </xsl:when>
4414
+ <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
4415
+ </xsl:choose>
4416
+ </xsl:template>
4417
+
4349
4418
  <!-- SOURCE: ... -->
4350
4419
  <xsl:template match="*[local-name()='table']/*[local-name() = 'source']" priority="2">
4351
4420
  <xsl:call-template name="termsource"/>
@@ -4765,7 +4834,7 @@
4765
4834
  <xsl:param name="colwidths"/>
4766
4835
  <xsl:param name="colgroup"/>
4767
4836
 
4768
- <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ../*[local-name()='example'] or ../*[local-name()='dl'] or ..//*[local-name()='fn'][local-name(..) != 'name'] or ../*[local-name()='source'] or ../*[local-name()='p']"/>
4837
+ <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'][not(@type = 'units')] or ../*[local-name()='example'] or ../*[local-name()='dl'] or ..//*[local-name()='fn'][local-name(..) != 'name'] or ../*[local-name()='source'] or ../*[local-name()='p']"/>
4769
4838
 
4770
4839
  <xsl:variable name="isNoteOrFnExistShowAfterTable">
4771
4840
 
@@ -4831,7 +4900,7 @@
4831
4900
 
4832
4901
  <!-- fn will be processed inside 'note' processing -->
4833
4902
 
4834
- <xsl:if test="../*[local-name()='note']">
4903
+ <xsl:if test="../*[local-name()='note'][not(@type = 'units')]">
4835
4904
  <fo:block margin-bottom="6pt" role="SKIP"> </fo:block>
4836
4905
  </xsl:if>
4837
4906
 
@@ -4841,7 +4910,7 @@
4841
4910
 
4842
4911
  <xsl:apply-templates select="../*[local-name()='p']"/>
4843
4912
  <xsl:apply-templates select="../*[local-name()='dl']"/>
4844
- <xsl:apply-templates select="../*[local-name()='note']"/>
4913
+ <xsl:apply-templates select="../*[local-name()='note'][not(@type = 'units')]"/>
4845
4914
  <xsl:apply-templates select="../*[local-name()='example']"/>
4846
4915
  <xsl:apply-templates select="../*[local-name()='source']"/>
4847
4916
 
@@ -4852,7 +4921,7 @@
4852
4921
 
4853
4922
  <!-- horizontal row separator -->
4854
4923
  <xsl:if test="normalize-space($isDisplayRowSeparator) = 'true'">
4855
- <xsl:if test="(../*[local-name()='note'] or ../*[local-name()='example']) and normalize-space($table_fn_block) != ''">
4924
+ <xsl:if test="(../*[local-name()='note'][not(@type = 'units')] or ../*[local-name()='example']) and normalize-space($table_fn_block) != ''">
4856
4925
  <fo:block-container border-top="0.5pt solid black" padding-left="1mm" padding-right="1mm">
4857
4926
 
4858
4927
  <xsl:call-template name="setBordersTableArray"/>
@@ -5375,8 +5444,9 @@
5375
5444
  <xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
5376
5445
 
5377
5446
  <fo:block xsl:use-attribute-sets="table-fn-style">
5378
-
5447
+ <xsl:call-template name="refine_table-fn-style"/>
5379
5448
  <fo:inline id="{@id}" xsl:use-attribute-sets="table-fn-number-style">
5449
+ <xsl:call-template name="refine_table-fn-number-style"/>
5380
5450
 
5381
5451
  <xsl:value-of select="@reference"/>
5382
5452
 
@@ -5560,7 +5630,20 @@
5560
5630
  <!-- Definition List -->
5561
5631
  <!-- ===================== -->
5562
5632
 
5563
- <xsl:template match="*[local-name()='dl']">
5633
+ <!-- for table auto-layout algorithm -->
5634
+ <xsl:template match="*[local-name()='dl']" priority="2">
5635
+ <xsl:choose>
5636
+ <xsl:when test="$table_only_with_id != '' and @id = $table_only_with_id">
5637
+ <xsl:call-template name="dl"/>
5638
+ </xsl:when>
5639
+ <xsl:when test="$table_only_with_id != ''"><fo:block/><!-- to prevent empty fo:block-container --></xsl:when>
5640
+ <xsl:otherwise>
5641
+ <xsl:call-template name="dl"/>
5642
+ </xsl:otherwise>
5643
+ </xsl:choose>
5644
+ </xsl:template>
5645
+
5646
+ <xsl:template match="*[local-name()='dl']" name="dl">
5564
5647
  <xsl:variable name="isAdded" select="@added"/>
5565
5648
  <xsl:variable name="isDeleted" select="@deleted"/>
5566
5649
  <!-- <dl><xsl:copy-of select="."/></dl> -->
@@ -6528,11 +6611,16 @@
6528
6611
  <xsl:template match="text()[ancestor::*[local-name()='smallcap']]">
6529
6612
  <!-- <xsl:variable name="text" select="normalize-space(.)"/> --> <!-- https://github.com/metanorma/metanorma-iso/issues/1115 -->
6530
6613
  <xsl:variable name="text" select="."/>
6531
- <fo:inline font-size="75%" role="SKIP">
6614
+ <xsl:variable name="ratio_">
6615
+ 0.75
6616
+ </xsl:variable>
6617
+ <xsl:variable name="ratio" select="number(normalize-space($ratio_))"/>
6618
+ <fo:inline font-size="{$ratio * 100}%" role="SKIP">
6532
6619
  <xsl:if test="string-length($text) &gt; 0">
6533
6620
  <xsl:variable name="smallCapsText">
6534
6621
  <xsl:call-template name="recursiveSmallCaps">
6535
6622
  <xsl:with-param name="text" select="$text"/>
6623
+ <xsl:with-param name="ratio" select="$ratio"/>
6536
6624
  </xsl:call-template>
6537
6625
  </xsl:variable>
6538
6626
  <!-- merge neighboring fo:inline -->
@@ -6569,12 +6657,13 @@
6569
6657
 
6570
6658
  <xsl:template name="recursiveSmallCaps">
6571
6659
  <xsl:param name="text"/>
6660
+ <xsl:param name="ratio"/>
6572
6661
  <xsl:variable name="char" select="substring($text,1,1)"/>
6573
6662
  <!-- <xsl:variable name="upperCase" select="translate($char, $lower, $upper)"/> -->
6574
6663
  <xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
6575
6664
  <xsl:choose>
6576
6665
  <xsl:when test="$char=$upperCase">
6577
- <fo:inline font-size="{100 div 0.75}%" role="SKIP">
6666
+ <fo:inline font-size="{100 div $ratio}%" role="SKIP">
6578
6667
  <xsl:value-of select="$upperCase"/>
6579
6668
  </fo:inline>
6580
6669
  </xsl:when>
@@ -6585,6 +6674,7 @@
6585
6674
  <xsl:if test="string-length($text) &gt; 1">
6586
6675
  <xsl:call-template name="recursiveSmallCaps">
6587
6676
  <xsl:with-param name="text" select="substring($text,2)"/>
6677
+ <xsl:with-param name="ratio" select="$ratio"/>
6588
6678
  </xsl:call-template>
6589
6679
  </xsl:if>
6590
6680
  </xsl:template>
@@ -6692,6 +6782,9 @@
6692
6782
  <xsl:if test="$key = 'font-family' or $key = 'font-size' or $key = 'color'">
6693
6783
  <style name="{$key}"><xsl:value-of select="$value"/></style>
6694
6784
  </xsl:if>
6785
+ <xsl:if test="$key = 'text-indent'">
6786
+ <style name="padding-left"><xsl:value-of select="$value"/></style>
6787
+ </xsl:if>
6695
6788
  </xsl:for-each>
6696
6789
  </xsl:variable>
6697
6790
  <xsl:variable name="styles" select="xalan:nodeset($styles_)"/>
@@ -7564,7 +7657,13 @@
7564
7657
  <xsl:value-of select="$language_current_2"/>
7565
7658
  </xsl:when>
7566
7659
  <xsl:otherwise>
7567
- <xsl:value-of select="//*[local-name()='bibdata']//*[local-name()='language']"/>
7660
+ <xsl:variable name="language_current_3" select="normalize-space(//*[local-name()='bibdata']//*[local-name()='language'])"/>
7661
+ <xsl:choose>
7662
+ <xsl:when test="$language_current_3 != ''">
7663
+ <xsl:value-of select="$language_current_3"/>
7664
+ </xsl:when>
7665
+ <xsl:otherwise>en</xsl:otherwise>
7666
+ </xsl:choose>
7568
7667
  </xsl:otherwise>
7569
7668
  </xsl:choose>
7570
7669
  </xsl:otherwise>
@@ -8094,6 +8193,11 @@
8094
8193
  </xsl:call-template>
8095
8194
  </xsl:template>
8096
8195
 
8196
+ <!-- command between two xref points to non-standard bibitem -->
8197
+ <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']]]">
8198
+ <xsl:value-of select="."/>
8199
+ </xsl:template>
8200
+
8097
8201
  <!-- ====== -->
8098
8202
  <!-- formula -->
8099
8203
  <!-- ====== -->
@@ -8464,7 +8568,7 @@
8464
8568
  </xsl:when>
8465
8569
  <xsl:otherwise>
8466
8570
  <fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style">
8467
- <xsl:if test="not(@mimetype = 'image/svg+xml') and ../*[local-name() = 'name'] and not(ancestor::*[local-name() = 'table'])">
8571
+ <xsl:if test="not(@mimetype = 'image/svg+xml') and (../*[local-name() = 'name'] or parent::*[local-name() = 'figure'][@unnumbered = 'true']) and not(ancestor::*[local-name() = 'table'])">
8468
8572
 
8469
8573
  <xsl:if test="@width != '' and @width != 'auto' and @width != 'text-width' and @width != 'full-page-width' and @width != 'narrow'">
8470
8574
  <xsl:attribute name="width">
@@ -8799,6 +8903,8 @@
8799
8903
  </xsl:attribute>
8800
8904
  </xsl:template>
8801
8905
 
8906
+ <xsl:variable name="regex_starts_with_digit">^[0-9].*</xsl:variable>
8907
+
8802
8908
  <xsl:template match="*[local-name() = 'svg'][not(@width and @height)]" mode="svg_update">
8803
8909
  <xsl:copy>
8804
8910
  <xsl:apply-templates select="@*" mode="svg_update"/>
@@ -8817,7 +8923,8 @@
8817
8923
 
8818
8924
  <xsl:attribute name="width">
8819
8925
  <xsl:choose>
8820
- <xsl:when test="$parent_image_width != '' and $parent_image_width != 'auto'"><xsl:value-of select="$parent_image_width"/></xsl:when>
8926
+ <!-- width is non 'auto', 'text-width', 'full-page-width' or 'narrow' -->
8927
+ <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
8928
  <xsl:when test="$width != ''">
8822
8929
  <xsl:value-of select="round($width)"/>
8823
8930
  </xsl:when>
@@ -8826,7 +8933,8 @@
8826
8933
  </xsl:attribute>
8827
8934
  <xsl:attribute name="height">
8828
8935
  <xsl:choose>
8829
- <xsl:when test="$parent_image_height != '' and $parent_image_height != 'auto'"><xsl:value-of select="$parent_image_height"/></xsl:when>
8936
+ <!-- height non 'auto', 'text-width', 'full-page-width' or 'narrow' -->
8937
+ <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
8938
  <xsl:when test="$height != ''">
8831
8939
  <xsl:value-of select="round($height)"/>
8832
8940
  </xsl:when>
@@ -8843,7 +8951,7 @@
8843
8951
  <xsl:variable name="parent_image_width" select="normalize-space(ancestor::*[2][local-name() = 'image']/@width)"/>
8844
8952
  <xsl:attribute name="width">
8845
8953
  <xsl:choose>
8846
- <xsl:when test="$parent_image_width != '' and $parent_image_width != 'auto'"><xsl:value-of select="$parent_image_width"/></xsl:when>
8954
+ <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
8955
  <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
8848
8956
  </xsl:choose>
8849
8957
  </xsl:attribute>
@@ -8854,7 +8962,7 @@
8854
8962
  <xsl:variable name="parent_image_height" select="normalize-space(ancestor::*[2][local-name() = 'image']/@height)"/>
8855
8963
  <xsl:attribute name="height">
8856
8964
  <xsl:choose>
8857
- <xsl:when test="$parent_image_height != '' and $parent_image_height != 'auto'"><xsl:value-of select="$parent_image_height"/></xsl:when>
8965
+ <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
8966
  <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
8859
8967
  </xsl:choose>
8860
8968
  </xsl:attribute>
@@ -10328,6 +10436,7 @@
10328
10436
  <xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'name']">
10329
10437
  <xsl:if test="normalize-space() != ''">
10330
10438
  <fo:inline xsl:use-attribute-sets="termexample-name-style">
10439
+ <xsl:call-template name="refine_termexample-name-style"/>
10331
10440
  <xsl:apply-templates/>
10332
10441
  </fo:inline>
10333
10442
  </xsl:if>
@@ -10484,6 +10593,7 @@
10484
10593
  </xsl:when>
10485
10594
  <xsl:otherwise>
10486
10595
  <fo:inline xsl:use-attribute-sets="example-name-style">
10596
+ <xsl:call-template name="refine_example-name-style"/>
10487
10597
  <xsl:apply-templates/>
10488
10598
  </fo:inline>
10489
10599
  </xsl:otherwise>
@@ -11698,6 +11808,7 @@
11698
11808
  <xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
11699
11809
 
11700
11810
  <fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
11811
+
11701
11812
  <xsl:call-template name="processBibitem"/>
11702
11813
  </fo:block>
11703
11814
 
@@ -11739,6 +11850,7 @@
11739
11850
  <xsl:when test="@hidden = 'true'"><!-- skip --></xsl:when>
11740
11851
  <xsl:otherwise>
11741
11852
  <fo:list-item id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-item-style">
11853
+
11742
11854
  <fo:list-item-label end-indent="label-end()">
11743
11855
  <fo:block role="SKIP">
11744
11856
  <fo:inline role="SKIP">
@@ -208,7 +208,9 @@
208
208
  </define>
209
209
  <define name="roledescription">
210
210
  <element name="description">
211
- <ref name="FormattedString"/>
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
- <ref name="FormattedString"/>
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
- <ref name="FormattedString"/>
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
- <ref name="FormattedString"/>
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
- <text/>
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
- <ref name="FormattedString"/>
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
- <ref name="FormattedString"/>
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
- <ref name="FormattedString"/>
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.:&#xa0;+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.:&#xa0;+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, "iec_intro_#{lang}.xml")
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.new.output_formats))
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
- return super unless @is_iev
92
+ super unless @is_iev
92
93
  end
93
94
 
94
- def sections_names_cleanup(xml)
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)
@@ -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
- <attribute name="target">
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
- <attribute name="id">
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>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "2.4.4".freeze
3
+ VERSION = "2.4.6".freeze
4
4
  end
5
5
  end
6
6
 
@@ -31,8 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
32
32
 
33
33
  spec.add_dependency "metanorma-iso", "~> 2.7.3"
34
- spec.add_dependency "pubid-iec"
35
- spec.add_dependency "ruby-jing"
34
+ spec.add_dependency "pubid"
36
35
 
37
36
  spec.add_development_dependency "debug"
38
37
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
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
4
+ version: 2.4.6
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-10 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso
@@ -25,21 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.7.3
27
27
  - !ruby/object:Gem::Dependency
28
- name: pubid-iec
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: ruby-jing
28
+ name: pubid
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - ">="
@@ -254,11 +240,11 @@ files:
254
240
  - lib/metanorma/iec/basicdoc.rng
255
241
  - lib/metanorma/iec/biblio-standoc.rng
256
242
  - lib/metanorma/iec/biblio.rng
243
+ - lib/metanorma/iec/boilerplate-en.adoc
244
+ - lib/metanorma/iec/boilerplate-fr.adoc
257
245
  - lib/metanorma/iec/converter.rb
258
246
  - lib/metanorma/iec/front.rb
259
247
  - lib/metanorma/iec/iec.rng
260
- - lib/metanorma/iec/iec_intro_en.xml
261
- - lib/metanorma/iec/iec_intro_fr.xml
262
248
  - lib/metanorma/iec/isodoc.rng
263
249
  - lib/metanorma/iec/isostandard.rng
264
250
  - 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.:&#xa0;+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.:&#xa0;+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
-