metanorma-iec 1.2.6 → 1.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +62 -0
  3. data/README.adoc +3 -4
  4. data/lib/asciidoctor/iec/basicdoc.rng +50 -3
  5. data/lib/asciidoctor/iec/converter.rb +6 -1
  6. data/lib/asciidoctor/iec/front.rb +13 -0
  7. data/lib/asciidoctor/iec/iec.rng +55 -1
  8. data/lib/asciidoctor/iec/iec_intro_en.xml +82 -53
  9. data/lib/asciidoctor/iec/iec_intro_fr.xml +44 -20
  10. data/lib/asciidoctor/iec/isodoc.rng +36 -43
  11. data/lib/asciidoctor/iec/isostandard.rng +11 -0
  12. data/lib/isodoc/iec/html/htmlstyle.css +9 -5
  13. data/lib/isodoc/iec/html/htmlstyle.scss +4 -4
  14. data/lib/isodoc/iec/html/isodoc.css +79 -79
  15. data/lib/isodoc/iec/html/isodoc.scss +79 -79
  16. data/lib/isodoc/iec/html/wordstyle.css +120 -120
  17. data/lib/isodoc/iec/html/wordstyle.scss +120 -120
  18. data/lib/isodoc/iec/html_convert.rb +8 -0
  19. data/lib/isodoc/iec/i18n-en.yaml +17 -0
  20. data/lib/isodoc/iec/i18n-fr.yaml +18 -0
  21. data/lib/isodoc/iec/iec.international-standard.xsl +827 -384
  22. data/lib/isodoc/iec/metadata.rb +33 -0
  23. data/lib/isodoc/iec/presentation_xml_convert.rb +12 -0
  24. data/lib/isodoc/iec/word_convert.rb +10 -0
  25. data/lib/metanorma/iec/processor.rb +11 -8
  26. data/lib/metanorma/iec/version.rb +1 -1
  27. data/metanorma-iec.gemspec +1 -2
  28. data/spec/asciidoctor-iec/base_spec.rb +24 -1
  29. data/spec/asciidoctor-iec/blocks_spec.rb +1 -1
  30. data/spec/asciidoctor-iec/cleanup_spec.rb +7 -86
  31. data/spec/asciidoctor-iec/iev_spec.rb +3 -0
  32. data/spec/asciidoctor-iec/lists_spec.rb +6 -6
  33. data/spec/asciidoctor-iec/validate_spec.rb +15 -0
  34. data/spec/isodoc/i18n_spec.rb +36 -16
  35. data/spec/isodoc/iev_spec.rb +9 -65
  36. data/spec/isodoc/iso_spec.rb +2 -2
  37. data/spec/isodoc/metadata_spec.rb +57 -3
  38. data/spec/isodoc/ref_spec.rb +4 -7
  39. data/spec/spec_helper.rb +4 -1
  40. metadata +5 -21
  41. data/.github/workflows/macos.yml +0 -38
  42. data/.github/workflows/ubuntu.yml +0 -56
  43. data/.github/workflows/windows.yml +0 -40
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc326d356e558e21523ffcc8690c5170fcfdf0fa18814ab0fb9164321f6fcea9
4
- data.tar.gz: 46ead1e820327d2c8470bf0128e910003e19b6089dc78d3788e91f8721138afc
3
+ metadata.gz: 757f304ffb697a9e1ac4cbea8cb23bd97d1c84919c79330c850c185147e87dea
4
+ data.tar.gz: c9abb1c90c14b852382dc58cceb438292a06221a027d00f50f7b10b234193db9
5
5
  SHA512:
6
- metadata.gz: 160e78ca27fc0e649fc0e60a1932fe5fd18ea10e3f812c6bee16646032b8fd40f046d244466b3a8ba143cec6716ee88a2eae695ffc46d9816f92bc0b99072138
7
- data.tar.gz: ef5fa5a588ff0593f32830103c897f98173cdcb07b1ca1913c7b4e084f561439292983512ac7d00f6475af12d0c5c8b001161caf510ed87a1f6d316c0ebc2738
6
+ metadata.gz: '09f9d546277d03635c47c8ec61c2a19c3170605e0edd6e1632f62258d2d1d1f6e458bdf781bf95b3e9b0c8995072cb003f8c60ecf885b7d9f9b0fb1168c8210c'
7
+ data.tar.gz: e327cf4c18dc4e20fe836829ac9428492edb163e46e4f864e67c42a1affb33d72e366a10c59cc750e1274eff26fde85ae9193a84b0941c94e9e6e054c08d253b
@@ -0,0 +1,62 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: rake
4
+
5
+ on:
6
+ push:
7
+ branches: [ master, main ]
8
+ tags: [ v* ]
9
+ pull_request:
10
+
11
+ jobs:
12
+ rake:
13
+ name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
+ runs-on: ${{ matrix.os }}
15
+ continue-on-error: ${{ matrix.experimental }}
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ ruby: [ '2.6', '2.5', '2.4' ]
20
+ os: [ ubuntu-latest, windows-latest, macos-latest ]
21
+ experimental: [ false ]
22
+ include:
23
+ - ruby: '2.7'
24
+ os: 'ubuntu-latest'
25
+ experimental: true
26
+ - ruby: '2.7'
27
+ os: 'windows-latest'
28
+ experimental: true
29
+ - ruby: '2.7'
30
+ os: 'macos-latest'
31
+ experimental: true
32
+ steps:
33
+ - uses: actions/checkout@master
34
+
35
+ - uses: ruby/setup-ruby@v1
36
+ with:
37
+ ruby-version: ${{ matrix.ruby }}
38
+
39
+ - uses: actions/cache@v2
40
+ with:
41
+ path: vendor/bundle
42
+ key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
43
+ restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}
44
+
45
+ - run: bundle config set path 'vendor/bundle'
46
+
47
+ - run: bundle install --jobs 4 --retry 3
48
+
49
+ - run: bundle exec rake
50
+
51
+ tests-passed:
52
+ needs: rake
53
+ runs-on: ubuntu-latest
54
+ steps:
55
+ - name: Trigger tests passed event
56
+ uses: Sibz/github-status-action@v1
57
+ with:
58
+ authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
59
+ context: 'tests-passed-successfully'
60
+ description: 'Tests passed successfully'
61
+ state: 'success'
62
+ sha: ${{ github.event.pull_request.head.sha || github.sha }}
@@ -1,16 +1,15 @@
1
1
  = metanorma-iec: Metanorma processor for the International Electrotechnical Commission
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-iec.svg["Gem Version", link="https://rubygems.org/gems/metanorma-iec"]
4
- image:https://github.com/metanorma/metanorma-iec/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/metanorma/metanorma-iec/actions?workflow=macos"]
5
- image:https://github.com/metanorma/metanorma-iec/workflows/ubuntu/badge.svg["Build Status (ubuntu)", link="https://github.com/metanorma/metanorma-iec/actions?workflow=ubuntu"]
6
- image:https://github.com/metanorma/metanorma-iec/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/metanorma/metanorma-iec/actions?workflow=windows"]
4
+ image:https://github.com/metanorma/metanorma-iec/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-iec/actions?workflow=rake"]
7
5
  image:https://codeclimate.com/github/metanorma/metanorma-iec/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-iec"]
8
6
  image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-iec.svg["Pull Requests", link="https://github.com/metanorma/metanorma-iec/pulls"]
9
7
  image:https://img.shields.io/github/commits-since/metanorma/metanorma-iec/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-iec/releases"]
10
8
 
11
9
  == Functionality
12
10
 
13
- This gem processes Metanorma documents into the IEC document class.
11
+ This gem processes https://www.metanorma.com[Metanorma documents] following
12
+ the Metanorma model for generating IEC standards.
14
13
 
15
14
  The gem is basically the https://github.com/metanorma/metanorma-iso gem, with some tweaking of rendering to meet the particular requirements of the IEC.
16
15
 
@@ -596,6 +596,7 @@
596
596
  <ref name="bookmark"/>
597
597
  <ref name="image"/>
598
598
  <ref name="index"/>
599
+ <ref name="index-xref"/>
599
600
  </choice>
600
601
  </define>
601
602
  <define name="PureTextElement">
@@ -728,15 +729,61 @@
728
729
  </define>
729
730
  <define name="index">
730
731
  <element name="index">
731
- <attribute name="primary"/>
732
+ <attribute name="to">
733
+ <data type="IDREF"/>
734
+ </attribute>
735
+ <element name="primary">
736
+ <oneOrMore>
737
+ <ref name="PureTextElement"/>
738
+ </oneOrMore>
739
+ </element>
732
740
  <optional>
733
- <attribute name="secondary"/>
741
+ <element name="secondary">
742
+ <oneOrMore>
743
+ <ref name="PureTextElement"/>
744
+ </oneOrMore>
745
+ </element>
734
746
  </optional>
735
747
  <optional>
736
- <attribute name="tertiary"/>
748
+ <element name="tertiary">
749
+ <oneOrMore>
750
+ <ref name="PureTextElement"/>
751
+ </oneOrMore>
752
+ </element>
737
753
  </optional>
738
754
  </element>
739
755
  </define>
756
+ <define name="index-xref">
757
+ <element name="index-xref">
758
+ <attribute name="also">
759
+ <data type="boolean"/>
760
+ </attribute>
761
+ <element name="primary">
762
+ <oneOrMore>
763
+ <ref name="PureTextElement"/>
764
+ </oneOrMore>
765
+ </element>
766
+ <optional>
767
+ <element name="secondary">
768
+ <oneOrMore>
769
+ <ref name="PureTextElement"/>
770
+ </oneOrMore>
771
+ </element>
772
+ </optional>
773
+ <optional>
774
+ <element name="tertiary">
775
+ <oneOrMore>
776
+ <ref name="PureTextElement"/>
777
+ </oneOrMore>
778
+ </element>
779
+ </optional>
780
+ <element name="target">
781
+ <oneOrMore>
782
+ <ref name="PureTextElement"/>
783
+ </oneOrMore>
784
+ </element>
785
+ </element>
786
+ </define>
740
787
  <!-- bare ID element, used for referencing arbitrary spans of text -->
741
788
  <define name="bookmark">
742
789
  <element name="bookmark">
@@ -30,6 +30,10 @@ module Asciidoctor
30
30
  publicly-available-specification international-workshop-agreement
31
31
  guide interpretation-sheet).include? doctype or
32
32
  @log.add("Document Attributes", nil, "#{doctype} is not a recognised document type")
33
+ if function = xmldoc&.at("//bibdata/ext/function")&.text
34
+ %w(emc quality-assurance safety environment).include? function or
35
+ @log.add("Document Attributes", nil, "#{function} is not a recognised document function")
36
+ end
33
37
  end
34
38
 
35
39
  def validate(doc)
@@ -49,6 +53,7 @@ module Asciidoctor
49
53
  end
50
54
 
51
55
  def pdf_converter(node)
56
+ return if node.attr("no-pdf")
52
57
  node.nil? ? IsoDoc::Iec::PdfConvert.new({}) :
53
58
  IsoDoc::Iec::PdfConvert.new(doc_extract_attributes(node))
54
59
  end
@@ -57,7 +62,7 @@ module Asciidoctor
57
62
  node.nil? ? IsoDoc::Iec::PresentationXMLConvert.new({}) :
58
63
  IsoDoc::Iec::PresentationXMLConvert.new(doc_extract_attributes(node))
59
64
  end
60
-
65
+
61
66
  def norm_ref_preface(f)
62
67
  return super unless @is_iev
63
68
  f.at("./title").next =
@@ -217,6 +217,19 @@ module Asciidoctor
217
217
  node.attr("iteration") && (s.iteration node.attr("iteration"))
218
218
  end
219
219
  end
220
+
221
+ def metadata_doctype(node, xml)
222
+ xml.doctype doctype(node)
223
+ xml.horizontal (node.attr("horizontal") || "false")
224
+ a = node.attr("function") and xml.function a
225
+ end
226
+
227
+ def metadata_ext(node, xml)
228
+ super
229
+ a = node.attr("accessibility-color-inside") and xml.accessibility_color_inside a
230
+ a = node.attr("price-code") and xml.price_code a
231
+ a = node.attr("cen-processing") and xml.cen_processing a
232
+ end
220
233
  end
221
234
  end
222
235
  end
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar ns="https://www.metanorma.org/ns/iec" xmlns="http://relaxng.org/ns/structure/1.0">
2
+ <grammar ns="https://www.metanorma.org/ns/iec" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
3
  <!-- default namespace = "https://www.metanorma.com/ns/iec" -->
4
4
  <include href="isostandard.rng">
5
5
  <start>
@@ -15,8 +15,62 @@
15
15
  <value>guide</value>
16
16
  </choice>
17
17
  </define>
18
+ <define name="BibDataExtensionType">
19
+ <ref name="doctype"/>
20
+ <optional>
21
+ <ref name="horizontal"/>
22
+ </optional>
23
+ <optional>
24
+ <ref name="function"/>
25
+ </optional>
26
+ <ref name="editorialgroup"/>
27
+ <zeroOrMore>
28
+ <ref name="ics"/>
29
+ </zeroOrMore>
30
+ <ref name="structuredidentifier"/>
31
+ <optional>
32
+ <ref name="stagename"/>
33
+ </optional>
34
+ <optional>
35
+ <ref name="updates_document_type"/>
36
+ </optional>
37
+ <optional>
38
+ <ref name="accessibility-color-inside"/>
39
+ </optional>
40
+ <optional>
41
+ <ref name="price-code"/>
42
+ </optional>
43
+ <optional>
44
+ <ref name="cen-processing"/>
45
+ </optional>
46
+ </define>
18
47
  </include>
19
48
  <!-- end overrides -->
49
+ <define name="function">
50
+ <element name="function">
51
+ <choice>
52
+ <value>emc</value>
53
+ <value>safety</value>
54
+ <value>environment</value>
55
+ <value>quality-assurance</value>
56
+ </choice>
57
+ </element>
58
+ </define>
59
+ <define name="accessibility-color-inside">
60
+ <element name="accessibility-color-inside">
61
+ <data type="boolean"/>
62
+ </element>
63
+ </define>
64
+ <define name="price-code">
65
+ <element name="price-code">
66
+ <text/>
67
+ </element>
68
+ </define>
69
+ <define name="cen-processing">
70
+ <element name="cen-processing">
71
+ <data type="boolean"/>
72
+ </element>
73
+ </define>
20
74
  <!--
21
75
  We display the Normative References between scope and terms; but to keep the
22
76
  grammar simple, we keep the references together
@@ -2,60 +2,89 @@
2
2
  <copyright-statement>
3
3
  <clause>
4
4
  <p id="boilerplate-year">
5
- &copy; {{ agency }} {{ docyear }}, Published in Switzerland
6
- </p>
7
-
8
- <p id="boilerplate-message">
9
- All rights
10
- reserved. Unless otherwise specified, no part of this publication may be
11
- reproduced or utilized otherwise in any form or by any means, electronic or
12
- mechanical, including photocopying, or posting on the internet or an intranet,
13
- without prior written permission. Permission can be requested from either IEC
14
- at the address below or IEC's member body in the country of the requester.
15
- </p>
16
-
17
- <p id="boilerplate-name">IEC Central Office</p>
18
-
19
- <p id="boilerplate-address" align="left">
20
- 3, rue de Varemb&eacute;<br/>
21
- CH-1211 Geneva 20, Switzerland<br/>
22
- Tel.&nbsp;&nbsp;+ 41 22 919 02 11<br/>
23
- Fax&nbsp;&nbsp;+ 41 22 919 03 00<br/>
24
- info@iec.ch<br/>
25
- www.iec.ch
26
- </p>
27
- </clause>
28
- </copyright-statement>
29
- <legal-statement>
30
- <clause>
31
- <ol>
32
- <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>
33
- <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>
34
- <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>
35
- <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>
36
- <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>
37
- <li><p>All users should ensure that they have the latest edition of this publication.</p></li>
38
- <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>
39
- <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>
40
- <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>
41
- </ol>
42
- </clause>
43
- </legal-statement>
5
+ © {{ agency }} {{ docyear }}, Published in Switzerland
6
+ </p>
7
+ <p id="boilerplate-message">
8
+ All rights
9
+ reserved. Unless otherwise specified, no part of this publication may be
10
+ reproduced or utilized otherwise in any form or by any means, electronic or
11
+ mechanical, including photocopying, or posting on the internet or an intranet,
12
+ without prior written permission. Permission can be requested from either IEC
13
+ at the address below or IEC's member body in the country of the requester.
14
+ </p>
15
+ <p id="boilerplate-name">IEC Central Office</p>
16
+ <p id="boilerplate-address" align="left">
17
+ 3, rue de Varembé<br/>
18
+ CH-1211 Geneva 20, Switzerland<br/>
19
+ Tel.&#xa0;&#xa0;+ 41 22 919 02 11<br/>
20
+ Fax&#xa0;&#xa0;+ 41 22 919 03 00<br/>
21
+ info@iec.ch<br/>
22
+ www.iec.ch
23
+ </p>
24
+ </clause>
25
+ </copyright-statement>
26
+ <legal-statement>
27
+ <clause>
28
+ <ol>
29
+ <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>
30
+ <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>
31
+ <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>
32
+ <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>
33
+ <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>
34
+ <li><p>All users should ensure that they have the latest edition of this publication.</p></li>
35
+ <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>
36
+ <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>
37
+ <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>
38
+ </ol>
39
+ </clause>
40
+ </legal-statement>
44
41
  {% if unpublished %}
45
- <license-statement>
46
- <clause>
47
- <title>Warning for CDs, CDVs and FDISs</title>
42
+ <license-statement>
43
+ <clause>
44
+ <title>Warning for CDs, CDVs and FDISs</title>
48
45
 
49
- <p>This
50
- document is not an IEC International Standard. It is distributed for review and
51
- comment. It is subject to change without notice and may not be referred to as
52
- an International Standard.</p>
46
+ <p>This
47
+ document is not an IEC International Standard. It is distributed for review and
48
+ comment. It is subject to change without notice and may not be referred to as
49
+ an International Standard.</p>
53
50
 
54
- <p>Recipients
55
- of this draft are invited to submit, with their comments, notification of any
56
- relevant patent rights of which they are aware and to provide supporting
57
- documentation.</p>
58
- </clause>
59
- </license-statement>
60
- {% endif %}
51
+ <p>Recipients
52
+ of this draft are invited to submit, with their comments, notification of any
53
+ relevant patent rights of which they are aware and to provide supporting
54
+ documentation.</p>
55
+ </clause>
56
+ </license-statement>
57
+ {% endif %}
58
+ <feedback-statement>
59
+ <clause>
60
+ <title>About the IEC</title>
61
+ <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>
62
+ </clause>
63
+ <clause>
64
+ <title>About IEC publications</title>
65
+ <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>
66
+ </clause>
67
+ <clause>
68
+ <clause>
69
+ <title>IEC Catalogue - <link target="https://webstore.iec.ch/catalogue">webstore.iec.ch/catalogue</link></title>
70
+ <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>
71
+ </clause>
72
+ <clause><title>IEC publications search - <link target="https://www.iec.ch/searchpub">www.iec.ch/searchpub</link></title>
73
+ <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>
74
+ </clause>
75
+ <clause><title>IEC Just Published - <link target="https://webstore.iec.ch/justpublished">webstore.iec.ch/justpublished</link></title>
76
+ <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>
77
+ </clause>
78
+ <clause><title>Electropedia - <link target="http://www.electropedia.org">www.electropedia.org</link></title>
79
+ <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>
80
+ </clause>
81
+ <clause><title>IEC Glossary - <link target="http://std.iec.ch/glossary">std.iec.ch/glossary</link></title>
82
+ <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>
83
+ </clause>
84
+ <clause><title>IEC Customer Service Centre - <link target="https://webstore.iec.ch/csc">webstore.iec.ch/csc</link></title>
85
+ <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>
86
+ </clause>
87
+ </clause>
88
+ </feedback-statement>
61
89
  </boilerplate>
90
+
@@ -2,25 +2,24 @@
2
2
  <copyright-statement>
3
3
  <clause>
4
4
  <p id="boilerplate-year">
5
- &copy; {{ agency }} {{ docyear }}, Published in Switzerland
5
+ © {{ agency }} {{ docyear }}, Publié en Suisse
6
6
  </p>
7
7
 
8
8
  <p id="boilerplate-message">
9
- All rights
10
- reserved. Unless otherwise specified, no part of this publication may be
11
- reproduced or utilized otherwise in any form or by any means, electronic or
12
- mechanical, including photocopying, or posting on the internet or an intranet,
13
- without prior written permission. Permission can be requested from either IEC
14
- at the address below or IEC's member body in the country of the requester.
9
+ Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne
10
+ peut être reproduite ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique
11
+ ou mécanique, y compris la photocopie, l’affichage sur l’internet ou sur un Intranet, sans
12
+ autorisation écrite préalable. Les demandes d’autorisation peuvent être adressées à l’IEC à
13
+ l’adresse ci-après ou au comité membre de l’IEC dans le pays du demandeur.
15
14
  </p>
16
15
 
17
16
  <p id="boilerplate-name">IEC Central Office</p>
18
17
 
19
18
  <p id="boilerplate-address" align="left">
20
- 3, rue de Varemb&eacute;<br/>
19
+ 3, rue de Varembé<br/>
21
20
  CH-1211 Geneva 20, Switzerland<br/>
22
- Tel.&nbsp;&nbsp;+ 41 22 919 02 11<br/>
23
- Fax&nbsp;&nbsp;+ 41 22 919 03 00<br/>
21
+ Tel.&#xa0;&#xa0;+ 41 22 919 02 11<br/>
22
+ Fax&#xa0;&#xa0;+ 41 22 919 03 00<br/>
24
23
  info@iec.ch<br/>
25
24
  www.iec.ch
26
25
  </p>
@@ -44,18 +43,43 @@ at the address below or IEC's member body in the country of the requester.
44
43
  {% if unpublished %}
45
44
  <license-statement>
46
45
  <clause>
47
- <title>Warning for CDs, CDVs and FDISs</title>
46
+ <title>Avertissement</title>
48
47
 
49
- <p>This
50
- document is not an IEC International Standard. It is distributed for review and
51
- comment. It is subject to change without notice and may not be referred to as
52
- an International Standard.</p>
53
-
54
- <p>Recipients
55
- of this draft are invited to submit, with their comments, notification of any
56
- relevant patent rights of which they are aware and to provide supporting
57
- documentation.</p>
48
+ <p>Ce document n'est pas une Norme internationale de l'ISO. Il est distribué pour examen et observations. Il est susceptible de modification sans préavis et ne peut être cité comme Norme internationale.</p>
49
+ <p>Les destinataires du présent projet sont invités à présenter, avec leurs observations, notification des droits de propriété dont ils auraient éventuellement connaissance et à fournir une documentation explicative.</p>
58
50
  </clause>
59
51
  </license-statement>
60
52
  {% endif %}
53
+ <feedback-statement>
54
+ <clause>
55
+ <title>A propos de l'IEC</title>
56
+ <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>
57
+ </clause>
58
+ <clause>
59
+ <title>A propos des publications IEC</title>
60
+ <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>
61
+ </clause>
62
+ <clause>
63
+ <clause>
64
+ <title>Catalogue IEC - <link target="https://webstore.iec.ch/catalogue">webstore.iec.ch/catalogue</link></title>
65
+ <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>
66
+ </clause>
67
+ <clause><title>Recherche de publications IEC - <link target="https://www.iec.ch/searchpub">www.iec.ch/searchpub</link></title>
68
+ <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>
69
+ </clause>
70
+ <clause><title>IEC Just Published - <link target="https://webstore.iec.ch/justpublished">webstore.iec.ch/justpublished</link></title>
71
+ <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>
72
+ </clause>
73
+ <clause><title>Electropedia - <link target="http://www.electropedia.org">www.electropedia.org</link></title>
74
+ <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>
75
+ </clause>
76
+ <clause><title>Glossaire IEC - <link target="http://std.iec.ch/glossary">std.iec.ch/glossary</link></title>
77
+ <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>
78
+ </clause>
79
+ <clause><title>Service Clients - <link target="https://webstore.iec.ch/csc">webstore.iec.ch/csc</link></title>
80
+ <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>
81
+ </clause>
82
+ </clause>
83
+ </feedback-statement>
61
84
  </boilerplate>
85
+