metanorma-iec 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +4 -5
  3. data/lib/asciidoctor/iec/converter.rb +5 -1
  4. data/lib/asciidoctor/iec/front.rb +6 -0
  5. data/lib/asciidoctor/iec/iec.rng +36 -1
  6. data/lib/asciidoctor/iec/iec_intro_en.xml +82 -53
  7. data/lib/asciidoctor/iec/iec_intro_fr.xml +44 -20
  8. data/lib/asciidoctor/iec/isostandard.rng +8 -0
  9. data/lib/isodoc/iec/html/htmlstyle.css +5 -5
  10. data/lib/isodoc/iec/html/htmlstyle.scss +4 -4
  11. data/lib/isodoc/iec/html/isodoc.css +79 -79
  12. data/lib/isodoc/iec/html/isodoc.scss +79 -79
  13. data/lib/isodoc/iec/html/wordstyle.css +120 -120
  14. data/lib/isodoc/iec/html/wordstyle.scss +120 -120
  15. data/lib/isodoc/iec/html_convert.rb +8 -0
  16. data/lib/isodoc/iec/i18n-en.yaml +16 -0
  17. data/lib/isodoc/iec/i18n-fr.yaml +17 -0
  18. data/lib/isodoc/iec/iec.international-standard.xsl +313 -213
  19. data/lib/isodoc/iec/metadata.rb +33 -0
  20. data/lib/isodoc/iec/presentation_xml_convert.rb +12 -0
  21. data/lib/isodoc/iec/word_convert.rb +10 -0
  22. data/lib/metanorma/iec/fonts_manifest.yaml +5 -0
  23. data/lib/metanorma/iec/processor.rb +0 -8
  24. data/lib/metanorma/iec/version.rb +1 -1
  25. data/metanorma-iec.gemspec +0 -1
  26. data/spec/asciidoctor-iec/base_spec.rb +8 -0
  27. data/spec/asciidoctor-iec/blocks_spec.rb +1 -1
  28. data/spec/asciidoctor-iec/iev_spec.rb +3 -0
  29. data/spec/asciidoctor-iec/lists_spec.rb +6 -6
  30. data/spec/asciidoctor-iec/validate_spec.rb +15 -0
  31. data/spec/isodoc/i18n_spec.rb +30 -0
  32. data/spec/isodoc/iso_spec.rb +2 -2
  33. data/spec/isodoc/metadata_spec.rb +23 -1
  34. data/spec/spec_helper.rb +4 -1
  35. metadata +3 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be313ed8f65e342c6adcaa1ff76274c73fdde6dac85574478738546a7ed053e2
4
- data.tar.gz: ea8b8af41ee6a45908d6511c5bac96cac3abec5f26b804a829f35d394bc1d10b
3
+ metadata.gz: 1facfa130e99efe5c781d228b39853ceeb4b805391e02b0beb49766b4af0951c
4
+ data.tar.gz: e579a5dc4fcaa6bc3df2f7011c93beabcdcd9ef71146e939312623d884b6b863
5
5
  SHA512:
6
- metadata.gz: 604b9cccc08a30d7b253abb751f0e5bd65802d29fdce52487d6691b0bc5618afe458fa90acfdfc84199f256aa42d3ea9936d8051a8a85198ceefb3288e96325a
7
- data.tar.gz: 12f1f61274fb6ead57ca15578cccbe8f90bd34afa4c2b82074c4ebc1263fb7313c9e60f21809c1a05cd85a1f5a5cebfcc85e0d7a5bea2c8d9d5f7f456dd087ec
6
+ metadata.gz: 6a55ff1b90d0e8993e8bb8699cffd52cea344c63fc08ffb66865a1c25f4ac39598b76fe790b6c0d594b92abf6810c9c21766d9b3076d6b7654b0dce6bc09353c
7
+ data.tar.gz: 295aadfd9752db496ff98fd09cf979746c84c97cdf9512cc0fde596fb95a36d70bdd4b6b7c933f7953198e1d066624bb86a60cf95171e5e33894af1e50b75a1a
@@ -36,7 +36,7 @@ jobs:
36
36
  with:
37
37
  ruby-version: ${{ matrix.ruby }}
38
38
 
39
- - uses: actions/cache@v1
39
+ - uses: actions/cache@v2
40
40
  with:
41
41
  path: vendor/bundle
42
42
  key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
@@ -48,15 +48,14 @@ jobs:
48
48
 
49
49
  - run: bundle exec rake
50
50
 
51
- notify:
52
- name: Trigger notify workflow
51
+ tests-passed:
53
52
  needs: rake
54
53
  runs-on: ubuntu-latest
55
54
  steps:
56
- - name: Trigger notify workflow
55
+ - name: Trigger tests passed event
57
56
  uses: Sibz/github-status-action@v1
58
57
  with:
59
- authToken: ${{ secrets.GITHUB_TOKEN }}
58
+ authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
60
59
  context: 'tests-passed-successfully'
61
60
  description: 'Tests passed successfully'
62
61
  state: 'success'
@@ -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)
@@ -58,7 +62,7 @@ module Asciidoctor
58
62
  node.nil? ? IsoDoc::Iec::PresentationXMLConvert.new({}) :
59
63
  IsoDoc::Iec::PresentationXMLConvert.new(doc_extract_attributes(node))
60
64
  end
61
-
65
+
62
66
  def norm_ref_preface(f)
63
67
  return super unless @is_iev
64
68
  f.at("./title").next =
@@ -217,6 +217,12 @@ 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
220
226
  end
221
227
  end
222
228
  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,43 @@
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
+ </define>
18
38
  </include>
19
39
  <!-- end overrides -->
40
+ <define name="function">
41
+ <element name="function">
42
+ <choice>
43
+ <value>emc</value>
44
+ <value>safety</value>
45
+ <value>environment</value>
46
+ <value>quality-assurance</value>
47
+ </choice>
48
+ </element>
49
+ </define>
50
+ <define name="horizontal">
51
+ <element name="horizontal">
52
+ <data type="boolean"/>
53
+ </element>
54
+ </define>
20
55
  <!--
21
56
  We display the Normative References between scope and terms; but to keep the
22
57
  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
+
@@ -38,6 +38,9 @@
38
38
  </define>
39
39
  <define name="BibDataExtensionType">
40
40
  <ref name="doctype"/>
41
+ <optional>
42
+ <ref name="horizontal"/>
43
+ </optional>
41
44
  <ref name="editorialgroup"/>
42
45
  <zeroOrMore>
43
46
  <ref name="ics"/>
@@ -429,6 +432,11 @@
429
432
  <ref name="bibliography"/>
430
433
  </element>
431
434
  </define>
435
+ <define name="horizontal">
436
+ <element name="horizontal">
437
+ <data type="boolean"/>
438
+ </element>
439
+ </define>
432
440
  <define name="documentnumber">
433
441
  <element name="project-number">
434
442
  <optional>
@@ -768,12 +768,12 @@ p.NormRef {
768
768
  pre,
769
769
  .pseudocode {
770
770
  background-color: #f5faff;
771
- font-size: 0.8em;
771
+ font-size: {{monospacefontsize}};
772
772
  line-height: 1.6em;
773
773
  padding: 1.5em;
774
774
  margin: 2em 0 1em 0;
775
775
  overflow: auto;
776
- font-size: 1em; }
776
+ font-size: {{monospacefontsize}}; }
777
777
  .figure .SourceTitle,
778
778
  pre .SourceTitle,
779
779
  .pseudocode .SourceTitle {
@@ -890,14 +890,14 @@ a.footnote-number, a.TableFootnoteRef, span.TableFootnoteRef {
890
890
  font-size: 0.8em; }
891
891
 
892
892
  .footnote {
893
- font-size: 0.9em; }
893
+ font-size: {{footnotefontsize}}; }
894
894
 
895
895
  sup a {
896
896
  vertical-align: super;
897
897
  font-size: 0.8em; }
898
898
 
899
899
  #footnote_box {
900
- font-size: 14px;
900
+ font-size: {{footnotefontsize}};
901
901
  background: white;
902
902
  padding: 0 10px;
903
903
  margin: 10px;
@@ -910,7 +910,7 @@ ol.footnotes-list, aside.footnote {
910
910
  margin-left: 1em; }
911
911
 
912
912
  ol.footnotes-list li, aside.footnote {
913
- font-size: 0.9em;
913
+ font-size: {{footnotefontsize}};
914
914
  vertical-align: top;
915
915
  list-style: decimal;
916
916
  margin-bottom: 1em; }
@@ -517,7 +517,7 @@ p.NormRef {
517
517
  pre,
518
518
  .pseudocode {
519
519
  @include pseudocodeBlock(#f5faff);
520
- font-size: 1em;
520
+ font-size: $monospacefontsize;
521
521
  }
522
522
 
523
523
  pre {
@@ -618,7 +618,7 @@ a.footnote-number, a.TableFootnoteRef, span.TableFootnoteRef {
618
618
  }
619
619
 
620
620
  .footnote {
621
- font-size: 0.9em;
621
+ font-size: $footnotefontsize;
622
622
  }
623
623
 
624
624
  sup a {
@@ -626,7 +626,7 @@ sup a {
626
626
  font-size: 0.8em;
627
627
  }
628
628
  #footnote_box {
629
- font-size: 14px;
629
+ font-size: $footnotefontsize;
630
630
  background: white;
631
631
  padding: 0 10px;
632
632
  margin: 10px;
@@ -642,7 +642,7 @@ ol.footnotes-list, aside.footnote {
642
642
  }
643
643
 
644
644
  ol.footnotes-list li, aside.footnote {
645
- font-size: 0.9em;
645
+ font-size: $footnotefontsize;
646
646
  vertical-align: top;
647
647
  list-style:decimal;
648
648
  margin-bottom: 1em;