metanorma-iec 2.7.6 → 2.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/iec/iec.international-standard.xsl +617 -596
- data/lib/metanorma/iec/biblio.rng +1 -1
- data/lib/metanorma/iec/isodoc.rng +35 -10
- data/lib/metanorma/iec/version.rb +1 -1
- data/metanorma-iec.gemspec +1 -1
- metadata +6 -6
@@ -295,591 +295,596 @@
|
|
295
295
|
</xsl:template>
|
296
296
|
|
297
297
|
<xsl:template name="cover-page">
|
298
|
+
<xsl:choose>
|
299
|
+
<xsl:when test="(//mn:metanorma)[1]/mn:metanorma-extension/mn:presentation-metadata[mn:name = 'coverpage-image']/mn:value/mn:image and normalize-space((//mn:metanorma)[1]/mn:metanorma-extension/mn:presentation-metadata/mn:full-coverpage-replacement) = 'true'">
|
300
|
+
</xsl:when>
|
301
|
+
<xsl:otherwise>
|
302
|
+
<xsl:variable name="document1_boilerplate">
|
303
|
+
<xsl:copy-of select="(//mn:metanorma)[1]/mn:boilerplate"/>
|
304
|
+
</xsl:variable>
|
305
|
+
<xsl:variable name="updated_document1_boilerplate_">
|
306
|
+
<xsl:for-each select="xalan:nodeset($document1_boilerplate)">
|
307
|
+
<xsl:call-template name="updateXML"/>
|
308
|
+
</xsl:for-each>
|
309
|
+
</xsl:variable>
|
310
|
+
<xsl:variable name="updated_document1_boilerplate" select="xalan:nodeset($updated_document1_boilerplate_)"/>
|
298
311
|
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
312
|
+
<xsl:variable name="document2_boilerplate">
|
313
|
+
<xsl:copy-of select="(//mn:metanorma)[2]/mn:boilerplate"/>
|
314
|
+
</xsl:variable>
|
315
|
+
<xsl:variable name="updated_document2_boilerplate_">
|
316
|
+
<xsl:for-each select="xalan:nodeset($document2_boilerplate)">
|
317
|
+
<xsl:call-template name="updateXML"/>
|
318
|
+
</xsl:for-each>
|
319
|
+
</xsl:variable>
|
320
|
+
<xsl:variable name="updated_document2_boilerplate" select="xalan:nodeset($updated_document2_boilerplate_)"/>
|
308
321
|
|
309
|
-
|
310
|
-
|
311
|
-
</xsl:variable>
|
312
|
-
<xsl:variable name="updated_document2_boilerplate_">
|
313
|
-
<xsl:for-each select="xalan:nodeset($document2_boilerplate)">
|
314
|
-
<xsl:call-template name="updateXML"/>
|
315
|
-
</xsl:for-each>
|
316
|
-
</xsl:variable>
|
317
|
-
<xsl:variable name="updated_document2_boilerplate" select="xalan:nodeset($updated_document2_boilerplate_)"/>
|
322
|
+
<!-- For 'Published' documents insert two cover pages -->
|
323
|
+
<xsl:if test="$stage_published = 'true'">
|
318
324
|
|
319
|
-
|
320
|
-
|
325
|
+
<!-- 1st Cover Page -->
|
326
|
+
<fo:page-sequence master-reference="cover" force-page-count="no-force">
|
327
|
+
<fo:static-content flow-name="left-region">
|
328
|
+
<fo:block-container reference-orientation="90">
|
329
|
+
<fo:block font-size="7pt" margin-left="3.5mm" margin-top="5.5mm">
|
330
|
+
<xsl:value-of select="(//mn:metanorma)[1]/mn:bibdata/mn:docidentifier[@type = 'iso-revdate']"/>
|
331
|
+
</fo:block>
|
332
|
+
</fo:block-container>
|
333
|
+
</fo:static-content>
|
334
|
+
<fo:flow flow-name="xsl-region-body">
|
335
|
+
<fo:block-container absolute-position="fixed" left="18mm" top="107mm">
|
336
|
+
<fo:block>
|
337
|
+
<fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Cover-Background))}" width="192mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Front"/>
|
338
|
+
</fo:block>
|
339
|
+
</fo:block-container>
|
340
|
+
<xsl:call-template name="insertCoverPart1"/>
|
341
|
+
</fo:flow>
|
342
|
+
</fo:page-sequence> <!-- END: 1st Cover Page -->
|
321
343
|
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
<xsl:value-of select="(//mn:metanorma)[1]/mn:bibdata/mn:docidentifier[@type = 'iso-revdate']"/>
|
328
|
-
</fo:block>
|
329
|
-
</fo:block-container>
|
330
|
-
</fo:static-content>
|
331
|
-
<fo:flow flow-name="xsl-region-body">
|
332
|
-
<fo:block-container absolute-position="fixed" left="18mm" top="107mm">
|
333
|
-
<fo:block>
|
334
|
-
<fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Cover-Background))}" width="192mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Front"/>
|
335
|
-
</fo:block>
|
336
|
-
</fo:block-container>
|
337
|
-
<xsl:call-template name="insertCoverPart1"/>
|
338
|
-
</fo:flow>
|
339
|
-
</fo:page-sequence> <!-- END: 1st Cover Page -->
|
344
|
+
<xsl:call-template name="inner-cover-page">
|
345
|
+
<xsl:with-param name="updated_document1_boilerplate" select="$updated_document1_boilerplate"/>
|
346
|
+
<xsl:with-param name="updated_document2_boilerplate" select="$updated_document2_boilerplate"/>
|
347
|
+
</xsl:call-template>
|
348
|
+
</xsl:if>
|
340
349
|
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
350
|
+
<xsl:variable name="lang_second" select="(//mn:metanorma)[2]/mn:bibdata/mn:language[@current = 'true']"/>
|
351
|
+
<!-- For 'Published' documents insert 3rd Cover Page
|
352
|
+
OR insert first Cover Page for FDIS -->
|
353
|
+
<xsl:if test="$stage_published = 'true' or $stage-abbreviation = 'FDIS'">
|
354
|
+
<fo:page-sequence master-reference="cover" force-page-count="no-force">
|
355
|
+
<fo:flow flow-name="xsl-region-body">
|
356
|
+
<xsl:call-template name="insertCoverPart1"/>
|
357
|
+
<fo:block-container absolute-position="fixed" left="26.5mm" top="214mm" width="163mm">
|
358
|
+
<fo:block-container height="32mm" display-align="after">
|
359
|
+
<fo:block font-size="9pt" color="{$color_blue}" line-height="150%">
|
360
|
+
<fo:block-container width="40mm">
|
361
|
+
<fo:block>
|
362
|
+
<xsl:call-template name="getLocalizedString">
|
363
|
+
<xsl:with-param name="key">IEC</xsl:with-param>
|
364
|
+
<xsl:with-param name="lang"><xsl:value-of select="$lang"/></xsl:with-param>
|
365
|
+
</xsl:call-template>
|
366
|
+
</fo:block>
|
367
|
+
</fo:block-container>
|
368
|
+
</fo:block>
|
346
369
|
|
347
|
-
|
348
|
-
<!-- For 'Published' documents insert 3rd Cover Page
|
349
|
-
OR insert first Cover Page for FDIS -->
|
350
|
-
<xsl:if test="$stage_published = 'true' or $stage-abbreviation = 'FDIS'">
|
351
|
-
<fo:page-sequence master-reference="cover" force-page-count="no-force">
|
352
|
-
<fo:flow flow-name="xsl-region-body">
|
353
|
-
<xsl:call-template name="insertCoverPart1"/>
|
354
|
-
<fo:block-container absolute-position="fixed" left="26.5mm" top="214mm" width="163mm">
|
355
|
-
<fo:block-container height="32mm" display-align="after">
|
356
|
-
<fo:block font-size="9pt" color="{$color_blue}" line-height="150%">
|
357
|
-
<fo:block-container width="40mm">
|
358
|
-
<fo:block>
|
370
|
+
<xsl:variable name="IEC_lang_second">
|
359
371
|
<xsl:call-template name="getLocalizedString">
|
360
372
|
<xsl:with-param name="key">IEC</xsl:with-param>
|
361
|
-
<xsl:with-param name="lang"><xsl:value-of select="$
|
373
|
+
<xsl:with-param name="lang"><xsl:value-of select="$lang_second"/></xsl:with-param>
|
374
|
+
<xsl:with-param name="returnEmptyIfNotFound">true</xsl:with-param>
|
362
375
|
</xsl:call-template>
|
363
|
-
</
|
364
|
-
</fo:block-container>
|
365
|
-
</fo:block>
|
366
|
-
|
367
|
-
<xsl:variable name="IEC_lang_second">
|
368
|
-
<xsl:call-template name="getLocalizedString">
|
369
|
-
<xsl:with-param name="key">IEC</xsl:with-param>
|
370
|
-
<xsl:with-param name="lang"><xsl:value-of select="$lang_second"/></xsl:with-param>
|
371
|
-
<xsl:with-param name="returnEmptyIfNotFound">true</xsl:with-param>
|
372
|
-
</xsl:call-template>
|
373
|
-
</xsl:variable>
|
376
|
+
</xsl:variable>
|
374
377
|
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
378
|
+
<xsl:if test="normalize-space($IEC_lang_second) != ''">
|
379
|
+
<fo:block font-size="9pt" line-height="150%" margin-top="8pt">
|
380
|
+
<fo:block-container width="40mm">
|
381
|
+
<fo:block>
|
382
|
+
<!-- 'COMMISSION ELECTROTECHNIQUE INTERNATIONALE' -->
|
383
|
+
<xsl:value-of select="$IEC_lang_second"/>
|
384
|
+
</fo:block>
|
385
|
+
</fo:block-container>
|
381
386
|
</fo:block>
|
382
|
-
</
|
383
|
-
</fo:block>
|
384
|
-
</xsl:if>
|
385
|
-
</fo:block-container>
|
387
|
+
</xsl:if>
|
388
|
+
</fo:block-container>
|
386
389
|
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
390
|
+
<xsl:variable name="price_code_value" select="//mn:metanorma/mn:bibdata/mn:ext/mn:price-code"/>
|
391
|
+
<fo:table table-layout="fixed" width="102%" margin-top="-9mm" margin-bottom="2mm" id="__internal_layout__price_code">
|
392
|
+
<fo:table-column column-width="148mm"/>
|
393
|
+
<fo:table-column column-width="16mm"/>
|
394
|
+
<fo:table-body>
|
395
|
+
<fo:table-row border-bottom="0.5pt solid {$color_gray}" height="16mm">
|
396
|
+
<fo:table-cell font-size="8pt" text-align="right" display-align="center">
|
397
|
+
<fo:block padding-top="1mm">
|
398
|
+
<xsl:if test="normalize-space($price_code_value) != ''">
|
399
|
+
<fo:block color="{$color_blue}" margin-bottom="3pt">
|
400
|
+
<!-- PRICE CODE -->
|
401
|
+
<xsl:variable name="price_code">
|
402
|
+
<xsl:call-template name="getLocalizedString">
|
403
|
+
<xsl:with-param name="key">price-code</xsl:with-param>
|
404
|
+
<xsl:with-param name="lang"><xsl:value-of select="$lang"/></xsl:with-param>
|
405
|
+
</xsl:call-template>
|
406
|
+
</xsl:variable>
|
407
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new($price_code))"/>
|
408
|
+
</fo:block>
|
406
409
|
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
410
|
+
<xsl:variable name="price_code_lang_second">
|
411
|
+
<xsl:call-template name="getLocalizedString">
|
412
|
+
<xsl:with-param name="key">price-code</xsl:with-param>
|
413
|
+
<xsl:with-param name="lang"><xsl:value-of select="$lang_second"/></xsl:with-param>
|
414
|
+
<xsl:with-param name="returnEmptyIfNotFound">true</xsl:with-param>
|
415
|
+
</xsl:call-template>
|
416
|
+
</xsl:variable>
|
417
|
+
<xsl:if test="normalize-space($price_code_lang_second) != ''">
|
418
|
+
<fo:block>
|
419
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new($price_code_lang_second))"/>
|
420
|
+
</fo:block>
|
421
|
+
</xsl:if>
|
422
|
+
</xsl:if>
|
423
|
+
</fo:block>
|
424
|
+
</fo:table-cell>
|
425
|
+
<fo:table-cell font-size="25pt" font-weight="bold" color="{$color_gray}" text-align="right" display-align="center">
|
426
|
+
<fo:block padding-top="1mm"><xsl:value-of select="$price_code_value"/></fo:block>
|
427
|
+
</fo:table-cell>
|
428
|
+
</fo:table-row>
|
429
|
+
</fo:table-body>
|
430
|
+
</fo:table>
|
431
|
+
<fo:block font-size="8pt" text-align-last="justify">
|
432
|
+
<xsl:for-each select="//mn:metanorma/mn:bibdata/mn:ext/mn:ics">
|
433
|
+
<xsl:if test="position() = 1">ICS </xsl:if>
|
434
|
+
<xsl:value-of select="mn:code"/>
|
435
|
+
<xsl:if test="position() != last()"><xsl:text>; </xsl:text></xsl:if>
|
436
|
+
</xsl:for-each>
|
437
|
+
<xsl:text> </xsl:text>
|
438
|
+
<fo:inline keep-together.within-line="always"><fo:leader leader-pattern="space"/>
|
439
|
+
<xsl:text> </xsl:text>
|
440
|
+
<xsl:if test="//mn:metanorma/mn:bibdata/mn:docidentifier[@type='ISBN']">
|
441
|
+
<!-- Example: ISBN 978-2-8322-1532-6 -->
|
442
|
+
<xsl:text>ISBN </xsl:text>
|
443
|
+
<xsl:value-of select="//mn:metanorma/mn:bibdata/mn:docidentifier[@type='ISBN']"/>
|
444
|
+
</xsl:if>
|
445
|
+
</fo:inline>
|
446
|
+
</fo:block>
|
447
|
+
<fo:block-container margin-left="1.5mm">
|
448
|
+
<fo:block-container margin-left="0mm">
|
449
|
+
<fo:block-container border="0.5pt solid black" font-size="10pt" margin-top="8mm" font-weight="bold" padding-left="1.5mm" padding-top="0.5mm" width="102%" height="11mm" display-align="center" id="__internal_layout__warning_block">
|
450
|
+
<fo:block margin-left="1mm">Warning! Make sure that you obtained this publication from an authorized distributor.</fo:block>
|
451
|
+
<xsl:if test="//mn:metanorma/mn:bibdata/mn:title[@language = 'fr']">
|
452
|
+
<fo:block margin-left="1mm" margin-top="3pt">Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.</fo:block>
|
419
453
|
</xsl:if>
|
420
|
-
</fo:block>
|
421
|
-
</fo:
|
422
|
-
<fo:table-cell font-size="25pt" font-weight="bold" color="{$color_gray}" text-align="right" display-align="center">
|
423
|
-
<fo:block padding-top="1mm"><xsl:value-of select="$price_code_value"/></fo:block>
|
424
|
-
</fo:table-cell>
|
425
|
-
</fo:table-row>
|
426
|
-
</fo:table-body>
|
427
|
-
</fo:table>
|
428
|
-
<fo:block font-size="8pt" text-align-last="justify">
|
429
|
-
<xsl:for-each select="//mn:metanorma/mn:bibdata/mn:ext/mn:ics">
|
430
|
-
<xsl:if test="position() = 1">ICS </xsl:if>
|
431
|
-
<xsl:value-of select="mn:code"/>
|
432
|
-
<xsl:if test="position() != last()"><xsl:text>; </xsl:text></xsl:if>
|
433
|
-
</xsl:for-each>
|
434
|
-
<xsl:text> </xsl:text>
|
435
|
-
<fo:inline keep-together.within-line="always"><fo:leader leader-pattern="space"/>
|
436
|
-
<xsl:text> </xsl:text>
|
437
|
-
<xsl:if test="//mn:metanorma/mn:bibdata/mn:docidentifier[@type='ISBN']">
|
438
|
-
<!-- Example: ISBN 978-2-8322-1532-6 -->
|
439
|
-
<xsl:text>ISBN </xsl:text>
|
440
|
-
<xsl:value-of select="//mn:metanorma/mn:bibdata/mn:docidentifier[@type='ISBN']"/>
|
441
|
-
</xsl:if>
|
442
|
-
</fo:inline>
|
443
|
-
</fo:block>
|
444
|
-
<fo:block-container margin-left="1.5mm">
|
445
|
-
<fo:block-container margin-left="0mm">
|
446
|
-
<fo:block-container border="0.5pt solid black" font-size="10pt" margin-top="8mm" font-weight="bold" padding-left="1.5mm" padding-top="0.5mm" width="102%" height="11mm" display-align="center" id="__internal_layout__warning_block">
|
447
|
-
<fo:block margin-left="1mm">Warning! Make sure that you obtained this publication from an authorized distributor.</fo:block>
|
448
|
-
<xsl:if test="//mn:metanorma/mn:bibdata/mn:title[@language = 'fr']">
|
449
|
-
<fo:block margin-left="1mm" margin-top="3pt">Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.</fo:block>
|
450
|
-
</xsl:if>
|
454
|
+
</fo:block-container>
|
455
|
+
</fo:block-container>
|
451
456
|
</fo:block-container>
|
457
|
+
<fo:block font-size="6pt" margin-top="6mm" margin-left="1mm">
|
458
|
+
<xsl:if test="count((//mn:metanorma)[1]/mn:bibdata/mn:copyright) = 1">
|
459
|
+
<fo:block>® Registered trademark of the International Electrotechnical Commission</fo:block>
|
460
|
+
<xsl:if test="//mn:metanorma/mn:bibdata/mn:title[@language = 'fr']">
|
461
|
+
<fo:block margin-left="2mm">Marque déposée de la Commission Electrotechnique Internationale</fo:block>
|
462
|
+
</xsl:if>
|
463
|
+
</xsl:if>
|
464
|
+
</fo:block>
|
452
465
|
</fo:block-container>
|
453
|
-
</fo:
|
454
|
-
|
455
|
-
|
456
|
-
<fo:block>® Registered trademark of the International Electrotechnical Commission</fo:block>
|
457
|
-
<xsl:if test="//mn:metanorma/mn:bibdata/mn:title[@language = 'fr']">
|
458
|
-
<fo:block margin-left="2mm">Marque déposée de la Commission Electrotechnique Internationale</fo:block>
|
459
|
-
</xsl:if>
|
460
|
-
</xsl:if>
|
461
|
-
</fo:block>
|
462
|
-
</fo:block-container>
|
463
|
-
</fo:flow>
|
464
|
-
</fo:page-sequence> <!-- END: cover -->
|
465
|
-
</xsl:if>
|
466
|
+
</fo:flow>
|
467
|
+
</fo:page-sequence> <!-- END: cover -->
|
468
|
+
</xsl:if>
|
466
469
|
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
470
|
+
<!-- for non-published documents insert cover page (2nd for FDIS) ) -->
|
471
|
+
<xsl:if test="$stage-abbreviation = 'NWIP' or $stage-abbreviation = 'PWI' or $stage-abbreviation = 'NP' or $stage-abbreviation = 'AWI' or $stage-abbreviation = 'WD' or $stage-abbreviation = 'CD' or $stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD-TSTR' or $stage-abbreviation = 'DTS' or $stage-abbreviation = 'DTR' or $stage-abbreviation = 'DPAS' or $stage-abbreviation = 'FDIS'">
|
472
|
+
<!-- circulation cover page -->
|
473
|
+
<fo:page-sequence master-reference="cover-FDIS" force-page-count="no-force">
|
474
|
+
<fo:static-content flow-name="footer-FDIS">
|
475
|
+
<fo:block-container background-color="rgb(236, 232, 232)" padding="2mm" border="1.5pt solid white">
|
476
|
+
<fo:block font-size="8pt" margin-bottom="6pt">
|
474
477
|
|
475
|
-
|
478
|
+
<xsl:apply-templates select="$updated_document1_boilerplate/mn:boilerplate/mn:copyright-statement/mn:clause/mn:p[not(@id)]"/>
|
476
479
|
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
480
|
+
</fo:block>
|
481
|
+
</fo:block-container>
|
482
|
+
</fo:static-content>
|
483
|
+
<fo:flow flow-name="xsl-region-body">
|
481
484
|
|
482
|
-
|
483
|
-
|
485
|
+
<fo:block text-align-last="justify" margin-left="-0.5mm">
|
486
|
+
<xsl:call-template name="outputLogo"/>
|
484
487
|
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
488
|
+
<xsl:if test="$stage-abbreviation = 'FDIS'">
|
489
|
+
<fo:inline font-size="8pt" padding-left="0.5mm" color="{$color_blue}">®</fo:inline>
|
490
|
+
</xsl:if>
|
491
|
+
<fo:inline keep-together.within-line="always" font-size="18pt" font-weight="bold" baseline-shift="10mm"><fo:leader leader-pattern="space"/>
|
492
|
+
<!-- Ex: 34D/1511/FDIS -->
|
493
|
+
<xsl:value-of select="//mn:metanorma/mn:bibdata/mn:docidentifier[@type='iso-tc']"/>
|
494
|
+
<xsl:text> </xsl:text>
|
495
|
+
</fo:inline>
|
496
|
+
</fo:block>
|
497
|
+
<fo:block font-size="10pt" text-align="right" margin-top="-2mm" margin-bottom="8pt">
|
498
|
+
<!-- Examples: 'FINAL DRAFT INTERNATIONAL STANDARD (FDIS)', 'COMMITTEE DRAFT FOR VOTE (CDV)' -->
|
499
|
+
<xsl:call-template name="addLetterSpacing">
|
500
|
+
<xsl:with-param name="text" select="concat($stage-fullname-uppercased, ' (', $stage-abbreviation ,')')"/>
|
501
|
+
</xsl:call-template>
|
502
|
+
<xsl:text> </xsl:text>
|
503
|
+
</fo:block>
|
504
|
+
<fo:block-container margin-left="57mm">
|
505
|
+
<fo:block-container margin-left="0mm">
|
506
|
+
<fo:table table-layout="fixed" width="118mm" background-color="rgb(219, 229, 241)" id="__internal_layout__project_{generate-id()}">
|
507
|
+
<fo:table-column column-width="50%"/>
|
508
|
+
<fo:table-column column-width="50%"/>
|
509
|
+
<fo:table-body>
|
510
|
+
<fo:table-row height="12mm">
|
511
|
+
<fo:table-cell number-columns-spanned="2" border="1.5pt solid white" padding="1.5mm" padding-bottom="0mm">
|
512
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
513
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
514
|
+
<xsl:with-param name="text" select="'Project number:'"/>
|
515
|
+
</xsl:call-template>
|
516
|
+
</fo:block>
|
517
|
+
<fo:block font-size="9pt" font-weight="bold">
|
518
|
+
<xsl:call-template name="addLetterSpacing">
|
519
|
+
<xsl:with-param name="text"><xsl:value-of select="//mn:metanorma/mn:bibdata/mn:ext/mn:structuredidentifier/mn:project-number"/></xsl:with-param>
|
520
|
+
</xsl:call-template>
|
521
|
+
</fo:block>
|
522
|
+
</fo:table-cell>
|
523
|
+
</fo:table-row>
|
524
|
+
<fo:table-row height="12mm">
|
525
|
+
<fo:table-cell border="1.5pt solid white" padding="1.5mm" padding-bottom="0mm">
|
526
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
527
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
528
|
+
<xsl:with-param name="text" select="'Date of circulation:'"/>
|
529
|
+
</xsl:call-template>
|
530
|
+
</fo:block>
|
531
|
+
<fo:block font-size="9pt" font-weight="bold">
|
532
|
+
<xsl:call-template name="addLetterSpacing">
|
533
|
+
<xsl:with-param name="text"><xsl:value-of select="//mn:metanorma/mn:bibdata/mn:date[@type ='circulated']/mn:on"/></xsl:with-param>
|
534
|
+
</xsl:call-template>
|
535
|
+
</fo:block>
|
536
|
+
</fo:table-cell>
|
537
|
+
<fo:table-cell border="1.5pt solid white" padding="1.5mm" padding-bottom="0mm">
|
538
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
539
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
540
|
+
<xsl:with-param name="text" select="'Closing date for voting:'"/>
|
541
|
+
</xsl:call-template>
|
542
|
+
</fo:block>
|
543
|
+
<fo:block font-size="9pt" font-weight="bold">
|
544
|
+
<xsl:call-template name="addLetterSpacing">
|
545
|
+
<!-- 2019-12-06 -->
|
546
|
+
<xsl:with-param name="text"><xsl:value-of select="//mn:metanorma/mn:bibdata/mn:date[@type='vote-ended']/mn:on"/></xsl:with-param>
|
547
|
+
</xsl:call-template>
|
548
|
+
</fo:block>
|
549
|
+
</fo:table-cell>
|
550
|
+
</fo:table-row>
|
551
|
+
<fo:table-row height="12mm">
|
552
|
+
<fo:table-cell number-columns-spanned="2" border="1.5pt solid white" padding="1.5mm" padding-bottom="0mm">
|
553
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
554
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
555
|
+
<xsl:with-param name="text" select="'Supersedes documents:'"/>
|
556
|
+
</xsl:call-template>
|
557
|
+
</fo:block>
|
558
|
+
<fo:block font-size="9pt" font-weight="bold">
|
559
|
+
<xsl:variable name="supersedes_documents">
|
560
|
+
<!-- <xsl:for-each select="//mn:metanorma/mn:bibdata/mn:relation[@type='supersedes']/mn:bibitem/mn:docnumber"> -->
|
561
|
+
<xsl:for-each select="//mn:metanorma/mn:bibdata/mn:relation[@type='obsoletes']/mn:bibitem/mn:docidentifier">
|
562
|
+
<xsl:value-of select="."/>
|
563
|
+
<xsl:if test="position() != last()">,</xsl:if>
|
564
|
+
</xsl:for-each>
|
565
|
+
</xsl:variable>
|
566
|
+
<xsl:call-template name="addLetterSpacing">
|
567
|
+
<xsl:with-param name="text"><xsl:value-of select="$supersedes_documents"/></xsl:with-param>
|
568
|
+
</xsl:call-template>
|
569
|
+
</fo:block>
|
570
|
+
</fo:table-cell>
|
571
|
+
</fo:table-row>
|
572
|
+
</fo:table-body>
|
573
|
+
</fo:table>
|
574
|
+
</fo:block-container>
|
575
|
+
</fo:block-container>
|
573
576
|
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
577
|
+
<fo:block-container margin-left="-2mm" margin-right="-2mm" margin-top="5mm">
|
578
|
+
<fo:block-container margin-left="0mm" margin-right="0mm">
|
579
|
+
<xsl:variable name="border-color">rgb(221, 213, 213)</xsl:variable>
|
580
|
+
<fo:table table-layout="fixed" width="100%" border="1.5pt solid {$border-color}">
|
581
|
+
<fo:table-column column-width="50%"/>
|
582
|
+
<fo:table-column column-width="50%"/>
|
583
|
+
<fo:table-body>
|
584
|
+
<fo:table-row height="4mm">
|
585
|
+
<fo:table-cell number-columns-spanned="2" border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
586
|
+
<xsl:variable name="contributor_author_">
|
587
|
+
<xsl:copy-of select="//mn:metanorma/mn:bibdata/mn:contributor[mn:role[@type = 'author' and mn:description[normalize-space(@language) = ''] = 'committee']]/node()"/>
|
588
|
+
</xsl:variable>
|
589
|
+
<xsl:variable name="contributor_author" select="xalan:nodeset($contributor_author_)"/>
|
590
|
+
<!-- https://github.com/metanorma/metanorma-iec/issues/440 -->
|
591
|
+
<xsl:variable name="subdivision_subcommittee_">
|
592
|
+
<xsl:copy-of select="$contributor_author/mn:organization/mn:subdivision[@type = 'Subcommittee']/node()"/>
|
593
|
+
</xsl:variable>
|
594
|
+
<xsl:variable name="subdivision_subcommittee" select="xalan:nodeset($subdivision_subcommittee_)"/>
|
592
595
|
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
596
|
+
<xsl:variable name="subdivision_technical_committee_">
|
597
|
+
<xsl:copy-of select="$contributor_author/mn:organization/mn:subdivision[@type = 'Technical committee']/node()"/>
|
598
|
+
</xsl:variable>
|
599
|
+
<xsl:variable name="subdivision_technical_committee" select="xalan:nodeset($subdivision_technical_committee_)"/>
|
597
600
|
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
601
|
+
<fo:block>
|
602
|
+
<!-- If //bibdata/ext/editorialgroup/subcommittee exists, use "IEC SC" + //bibdata/ext/editorialgroup/subcommittee/@number + //bibdata/ext/editorialgroup/subcommittee,
|
603
|
+
else use "IEC TC" + //bibdata/ext/editorialgroup/technical-committee/@number + //bibdata/ext/editorialgroup/technical-committee -->
|
604
|
+
<xsl:choose>
|
605
|
+
<!-- <xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:subcommittee"> -->
|
606
|
+
<xsl:when test="normalize-space($subdivision_subcommittee) != ''">
|
607
|
+
<fo:block font-size="6.5pt">
|
608
|
+
<!-- <fo:inline font-size="8pt">IEC SC <xsl:value-of select="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:subcommittee/@number"/> : </fo:inline> -->
|
609
|
+
<fo:inline font-size="8pt"><xsl:value-of select="concat($contributor_author/mn:organization/mn:abbreviation, ' ', $subdivision_subcommittee/mn:identifier, ' : ')"/></fo:inline>
|
610
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
611
|
+
<!-- <xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:subcommittee"/> -->
|
612
|
+
<xsl:with-param name="text" select="$subdivision_subcommittee/mn:name"/>
|
613
|
+
</xsl:call-template>
|
614
|
+
</fo:block>
|
615
|
+
</xsl:when>
|
616
|
+
<!-- <xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:technical-committee"> -->
|
617
|
+
<xsl:when test="normalize-space($subdivision_technical_committee) != ''">
|
618
|
+
<fo:block font-size="6.5pt">
|
619
|
+
<!-- <fo:inline font-size="8pt">IEC TC <xsl:value-of select="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:technical-committee/@number"/> : </fo:inline> -->
|
620
|
+
<fo:inline font-size="8pt"><xsl:value-of select="concat($contributor_author/mn:organization/mn:abbreviation, ' ', $subdivision_technical_committee/mn:identifier, ' : ')"/></fo:inline>
|
621
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
622
|
+
<!-- <xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:technical-committee"/> -->
|
623
|
+
<xsl:with-param name="text" select="$subdivision_technical_committee/mn:name"/>
|
624
|
+
</xsl:call-template>
|
625
|
+
</fo:block>
|
626
|
+
</xsl:when>
|
627
|
+
</xsl:choose>
|
628
|
+
</fo:block>
|
629
|
+
</fo:table-cell>
|
630
|
+
</fo:table-row>
|
631
|
+
<fo:table-row height="12mm">
|
632
|
+
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
633
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
634
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
635
|
+
<xsl:with-param name="text" select="'Secretariat:'"/>
|
636
|
+
</xsl:call-template>
|
637
|
+
</fo:block>
|
638
|
+
<fo:block font-size="9pt">
|
639
|
+
<xsl:call-template name="addLetterSpacing">
|
640
|
+
<!-- <xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:secretariat"/> -->
|
641
|
+
<xsl:with-param name="text" select="normalize-space(//mn:metanorma/mn:bibdata/mn:contributor[mn:role/mn:description = 'secretariat']/mn:organization/mn:subdivision)"/>
|
642
|
+
</xsl:call-template>
|
643
|
+
</fo:block>
|
644
|
+
</fo:table-cell>
|
645
|
+
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
646
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
647
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
648
|
+
<xsl:with-param name="text" select="'Secretary:'"/>
|
649
|
+
</xsl:call-template>
|
650
|
+
</fo:block>
|
651
|
+
<fo:block font-size="9pt">
|
652
|
+
<!-- Example: Ms Shanti Conn -->
|
653
|
+
<xsl:call-template name="addLetterSpacing">
|
654
|
+
<xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:secretary"/>
|
655
|
+
</xsl:call-template>
|
656
|
+
</fo:block>
|
657
|
+
</fo:table-cell>
|
658
|
+
</fo:table-row>
|
659
|
+
<fo:table-row height="12mm">
|
660
|
+
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
661
|
+
<xsl:if test="not($stage-abbreviation = 'FDIS' or $stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD')">
|
662
|
+
<xsl:attribute name="number-columns-spanned">2</xsl:attribute>
|
663
|
+
</xsl:if>
|
664
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
665
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
666
|
+
<xsl:with-param name="text" select="'Of interest to the following committees:'"/>
|
667
|
+
</xsl:call-template>
|
668
|
+
</fo:block>
|
669
|
+
<fo:block font-size="9pt">
|
670
|
+
<xsl:call-template name="addLetterSpacing">
|
671
|
+
<xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:interest-to-committees"/>
|
672
|
+
</xsl:call-template>
|
673
|
+
</fo:block>
|
674
|
+
</fo:table-cell>
|
675
|
+
<xsl:if test="$stage-abbreviation = 'FDIS' or $stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD'">
|
676
|
+
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
677
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
678
|
+
<xsl:if test="$stage-abbreviation = 'FDIS'">
|
679
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
680
|
+
<xsl:with-param name="text" select="'horizontal standard:'"/>
|
681
|
+
</xsl:call-template>
|
682
|
+
</xsl:if>
|
683
|
+
<xsl:if test="$stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD'">
|
684
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
685
|
+
<xsl:with-param name="text" select="'Proposed horizontal standard:'"/>
|
686
|
+
</xsl:call-template>
|
687
|
+
</xsl:if>
|
688
|
+
</fo:block>
|
689
|
+
<fo:block>
|
690
|
+
<xsl:choose>
|
691
|
+
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:horizontal = 'true'">
|
692
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
693
|
+
</xsl:when>
|
694
|
+
<xsl:otherwise>
|
695
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
696
|
+
</xsl:otherwise>
|
697
|
+
</xsl:choose>
|
698
|
+
</fo:block>
|
699
|
+
|
700
|
+
<xsl:if test="$stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD'">
|
701
|
+
<fo:block-container background-color="rgb(236, 232, 232)" margin-left="-2mm" margin-right="-2mm">
|
702
|
+
<fo:block-container margin-left="1mm" margin-right="1mm">
|
703
|
+
<fo:block font-size="8pt" padding="2mm">
|
704
|
+
<xsl:call-template name="addLetterSpacing">
|
705
|
+
<xsl:with-param name="text" select="'Other TC/SCs are requested to indicate their interest, if any, in this CDV to the secretary.'"/>
|
706
|
+
</xsl:call-template>
|
707
|
+
</fo:block>
|
708
|
+
</fo:block-container>
|
709
|
+
</fo:block-container>
|
710
|
+
</xsl:if>
|
711
|
+
</fo:table-cell>
|
712
|
+
</xsl:if>
|
713
|
+
</fo:table-row>
|
714
|
+
|
715
|
+
<xsl:if test="not($stage-abbreviation = 'DPAS')">
|
716
|
+
<fo:table-row height="10mm">
|
717
|
+
<fo:table-cell padding="1.5mm" padding-bottom="0mm">
|
718
|
+
<fo:block font-size="6.5pt" margin-bottom="4pt">
|
719
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
720
|
+
<xsl:with-param name="text" select="'Functions concerned:'"/>
|
721
|
+
</xsl:call-template>
|
722
|
+
</fo:block>
|
723
|
+
<!-- function: { emc | safety | environment | quality-assurance } -->
|
604
724
|
<fo:block font-size="6.5pt">
|
605
|
-
|
606
|
-
|
725
|
+
<xsl:choose>
|
726
|
+
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'emc'">
|
727
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
728
|
+
</xsl:when>
|
729
|
+
<xsl:otherwise>
|
730
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
731
|
+
</xsl:otherwise>
|
732
|
+
</xsl:choose>
|
607
733
|
<xsl:call-template name="addLetterSpacingSmallCaps">
|
608
|
-
|
609
|
-
|
734
|
+
<xsl:with-param name="text" select="'EMC'"/>
|
735
|
+
</xsl:call-template>
|
736
|
+
<fo:inline padding-right="33mm"> </fo:inline>
|
737
|
+
<xsl:choose>
|
738
|
+
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'environment'">
|
739
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
740
|
+
</xsl:when>
|
741
|
+
<xsl:otherwise>
|
742
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
743
|
+
</xsl:otherwise>
|
744
|
+
</xsl:choose>
|
745
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
746
|
+
<xsl:with-param name="text" select="'Environment'"/>
|
610
747
|
</xsl:call-template>
|
611
748
|
</fo:block>
|
612
|
-
</
|
613
|
-
|
614
|
-
|
749
|
+
</fo:table-cell>
|
750
|
+
<fo:table-cell padding="1.5mm" padding-bottom="0mm">
|
751
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt"> </fo:block>
|
615
752
|
<fo:block font-size="6.5pt">
|
616
|
-
|
617
|
-
|
753
|
+
<xsl:choose>
|
754
|
+
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'quality-assurance'">
|
755
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
756
|
+
</xsl:when>
|
757
|
+
<xsl:otherwise>
|
758
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
759
|
+
</xsl:otherwise>
|
760
|
+
</xsl:choose>
|
761
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
762
|
+
<xsl:with-param name="text" select="'Quality assurance'"/>
|
763
|
+
</xsl:call-template>
|
764
|
+
<fo:inline padding-right="13mm"> </fo:inline>
|
765
|
+
<xsl:choose>
|
766
|
+
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'safety'">
|
767
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
768
|
+
</xsl:when>
|
769
|
+
<xsl:otherwise>
|
770
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
771
|
+
</xsl:otherwise>
|
772
|
+
</xsl:choose>
|
618
773
|
<xsl:call-template name="addLetterSpacingSmallCaps">
|
619
|
-
|
620
|
-
<xsl:with-param name="text" select="$subdivision_technical_committee/mn:name"/>
|
774
|
+
<xsl:with-param name="text" select="'Safety'"/>
|
621
775
|
</xsl:call-template>
|
622
776
|
</fo:block>
|
623
|
-
</
|
624
|
-
</
|
625
|
-
</fo:block>
|
626
|
-
</fo:table-cell>
|
627
|
-
</fo:table-row>
|
628
|
-
<fo:table-row height="12mm">
|
629
|
-
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
630
|
-
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
631
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
632
|
-
<xsl:with-param name="text" select="'Secretariat:'"/>
|
633
|
-
</xsl:call-template>
|
634
|
-
</fo:block>
|
635
|
-
<fo:block font-size="9pt">
|
636
|
-
<xsl:call-template name="addLetterSpacing">
|
637
|
-
<!-- <xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:editorialgroup/mn:secretariat"/> -->
|
638
|
-
<xsl:with-param name="text" select="normalize-space(//mn:metanorma/mn:bibdata/mn:contributor[mn:role/mn:description = 'secretariat']/mn:organization/mn:subdivision)"/>
|
639
|
-
</xsl:call-template>
|
640
|
-
</fo:block>
|
641
|
-
</fo:table-cell>
|
642
|
-
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
643
|
-
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
644
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
645
|
-
<xsl:with-param name="text" select="'Secretary:'"/>
|
646
|
-
</xsl:call-template>
|
647
|
-
</fo:block>
|
648
|
-
<fo:block font-size="9pt">
|
649
|
-
<!-- Example: Ms Shanti Conn -->
|
650
|
-
<xsl:call-template name="addLetterSpacing">
|
651
|
-
<xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:secretary"/>
|
652
|
-
</xsl:call-template>
|
653
|
-
</fo:block>
|
654
|
-
</fo:table-cell>
|
655
|
-
</fo:table-row>
|
656
|
-
<fo:table-row height="12mm">
|
657
|
-
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
658
|
-
<xsl:if test="not($stage-abbreviation = 'FDIS' or $stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD')">
|
659
|
-
<xsl:attribute name="number-columns-spanned">2</xsl:attribute>
|
777
|
+
</fo:table-cell>
|
778
|
+
</fo:table-row>
|
660
779
|
</xsl:if>
|
661
|
-
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
662
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
663
|
-
<xsl:with-param name="text" select="'Of interest to the following committees:'"/>
|
664
|
-
</xsl:call-template>
|
665
|
-
</fo:block>
|
666
|
-
<fo:block font-size="9pt">
|
667
|
-
<xsl:call-template name="addLetterSpacing">
|
668
|
-
<xsl:with-param name="text" select="//mn:metanorma/mn:bibdata/mn:ext/mn:interest-to-committees"/>
|
669
|
-
</xsl:call-template>
|
670
|
-
</fo:block>
|
671
|
-
</fo:table-cell>
|
672
|
-
<xsl:if test="$stage-abbreviation = 'FDIS' or $stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD'">
|
673
|
-
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
674
|
-
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
675
|
-
<xsl:if test="$stage-abbreviation = 'FDIS'">
|
676
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
677
|
-
<xsl:with-param name="text" select="'horizontal standard:'"/>
|
678
|
-
</xsl:call-template>
|
679
|
-
</xsl:if>
|
680
|
-
<xsl:if test="$stage-abbreviation = 'CDV' or $stage-abbreviation = 'CD'">
|
681
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
682
|
-
<xsl:with-param name="text" select="'Proposed horizontal standard:'"/>
|
683
|
-
</xsl:call-template>
|
684
|
-
</xsl:if>
|
685
|
-
</fo:block>
|
686
|
-
<fo:block>
|
687
|
-
<xsl:choose>
|
688
|
-
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:horizontal = 'true'">
|
689
|
-
<xsl:call-template name="insertCheckBoxOn"/>
|
690
|
-
</xsl:when>
|
691
|
-
<xsl:otherwise>
|
692
|
-
<xsl:call-template name="insertCheckBoxOff"/>
|
693
|
-
</xsl:otherwise>
|
694
|
-
</xsl:choose>
|
695
|
-
</fo:block>
|
696
780
|
|
697
|
-
|
698
|
-
<fo:block-container background-color="rgb(236, 232, 232)" margin-left="-2mm" margin-right="-2mm">
|
699
|
-
<fo:block-container margin-left="1mm" margin-right="1mm">
|
700
|
-
<fo:block font-size="8pt" padding="2mm">
|
701
|
-
<xsl:call-template name="addLetterSpacing">
|
702
|
-
<xsl:with-param name="text" select="'Other TC/SCs are requested to indicate their interest, if any, in this CDV to the secretary.'"/>
|
703
|
-
</xsl:call-template>
|
704
|
-
</fo:block>
|
705
|
-
</fo:block-container>
|
706
|
-
</fo:block-container>
|
707
|
-
</xsl:if>
|
708
|
-
</fo:table-cell>
|
709
|
-
</xsl:if>
|
710
|
-
</fo:table-row>
|
711
|
-
|
712
|
-
<xsl:if test="not($stage-abbreviation = 'DPAS')">
|
713
|
-
<fo:table-row height="10mm">
|
714
|
-
<fo:table-cell padding="1.5mm" padding-bottom="0mm">
|
715
|
-
<fo:block font-size="6.5pt" margin-bottom="4pt">
|
716
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
717
|
-
<xsl:with-param name="text" select="'Functions concerned:'"/>
|
718
|
-
</xsl:call-template>
|
719
|
-
</fo:block>
|
720
|
-
<!-- function: { emc | safety | environment | quality-assurance } -->
|
721
|
-
<fo:block font-size="6.5pt">
|
722
|
-
<xsl:choose>
|
723
|
-
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'emc'">
|
724
|
-
<xsl:call-template name="insertCheckBoxOn"/>
|
725
|
-
</xsl:when>
|
726
|
-
<xsl:otherwise>
|
727
|
-
<xsl:call-template name="insertCheckBoxOff"/>
|
728
|
-
</xsl:otherwise>
|
729
|
-
</xsl:choose>
|
730
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
731
|
-
<xsl:with-param name="text" select="'EMC'"/>
|
732
|
-
</xsl:call-template>
|
733
|
-
<fo:inline padding-right="33mm"> </fo:inline>
|
734
|
-
<xsl:choose>
|
735
|
-
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'environment'">
|
736
|
-
<xsl:call-template name="insertCheckBoxOn"/>
|
737
|
-
</xsl:when>
|
738
|
-
<xsl:otherwise>
|
739
|
-
<xsl:call-template name="insertCheckBoxOff"/>
|
740
|
-
</xsl:otherwise>
|
741
|
-
</xsl:choose>
|
742
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
743
|
-
<xsl:with-param name="text" select="'Environment'"/>
|
744
|
-
</xsl:call-template>
|
745
|
-
</fo:block>
|
746
|
-
</fo:table-cell>
|
747
|
-
<fo:table-cell padding="1.5mm" padding-bottom="0mm">
|
748
|
-
<fo:block font-size="6.5pt" margin-bottom="6pt"> </fo:block>
|
749
|
-
<fo:block font-size="6.5pt">
|
750
|
-
<xsl:choose>
|
751
|
-
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'quality-assurance'">
|
752
|
-
<xsl:call-template name="insertCheckBoxOn"/>
|
753
|
-
</xsl:when>
|
754
|
-
<xsl:otherwise>
|
755
|
-
<xsl:call-template name="insertCheckBoxOff"/>
|
756
|
-
</xsl:otherwise>
|
757
|
-
</xsl:choose>
|
758
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
759
|
-
<xsl:with-param name="text" select="'Quality assurance'"/>
|
760
|
-
</xsl:call-template>
|
761
|
-
<fo:inline padding-right="13mm"> </fo:inline>
|
762
|
-
<xsl:choose>
|
763
|
-
<xsl:when test="//mn:metanorma/mn:bibdata/mn:ext/mn:function = 'safety'">
|
764
|
-
<xsl:call-template name="insertCheckBoxOn"/>
|
765
|
-
</xsl:when>
|
766
|
-
<xsl:otherwise>
|
767
|
-
<xsl:call-template name="insertCheckBoxOff"/>
|
768
|
-
</xsl:otherwise>
|
769
|
-
</xsl:choose>
|
770
|
-
<xsl:call-template name="addLetterSpacingSmallCaps">
|
771
|
-
<xsl:with-param name="text" select="'Safety'"/>
|
772
|
-
</xsl:call-template>
|
773
|
-
</fo:block>
|
774
|
-
</fo:table-cell>
|
775
|
-
</fo:table-row>
|
776
|
-
</xsl:if>
|
781
|
+
<xsl:if test="not($stage-abbreviation = 'CD' or $stage-abbreviation = 'CD-TSTR' or $stage-abbreviation = 'DTS' or $stage-abbreviation = 'DTR' or $stage-abbreviation = 'DPAS')">
|
777
782
|
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
</xsl:call-template>
|
794
|
-
</fo:block>
|
783
|
+
<fo:table-row>
|
784
|
+
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
785
|
+
<fo:block font-size="6.5pt" margin-bottom="12pt">
|
786
|
+
<xsl:choose>
|
787
|
+
<xsl:when test="/mn:metanorma/mn:bibdata/mn:ext/mn:cen-processing = 'true'">
|
788
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
789
|
+
</xsl:when>
|
790
|
+
<xsl:otherwise>
|
791
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
792
|
+
</xsl:otherwise>
|
793
|
+
</xsl:choose>
|
794
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
795
|
+
<xsl:with-param name="text" select="'Submitted for CENELEC parallel voting'"/>
|
796
|
+
</xsl:call-template>
|
797
|
+
</fo:block>
|
795
798
|
|
796
|
-
|
799
|
+
<xsl:apply-templates select="$updated_document1_boilerplate/mn:boilerplate/mn:feedback-statement/mn:clause[@id = 'boilerplate-cenelec-attention']"/>
|
797
800
|
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
801
|
+
</fo:table-cell>
|
802
|
+
<fo:table-cell border="1.5pt solid {$border-color}" padding="1.5mm" padding-bottom="0mm">
|
803
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
804
|
+
<xsl:choose>
|
805
|
+
<xsl:when test="/mn:metanorma/mn:bibdata/mn:ext/mn:cen-processing = 'true'">
|
806
|
+
<xsl:call-template name="insertCheckBoxOff"/>
|
807
|
+
</xsl:when>
|
808
|
+
<xsl:otherwise>
|
809
|
+
<xsl:call-template name="insertCheckBoxOn"/>
|
810
|
+
</xsl:otherwise>
|
811
|
+
</xsl:choose>
|
812
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
813
|
+
<xsl:with-param name="text" select="'Not submitted for CENELEC parallel voting'"/>
|
814
|
+
</xsl:call-template>
|
815
|
+
</fo:block>
|
816
|
+
</fo:table-cell>
|
817
|
+
</fo:table-row>
|
818
|
+
</xsl:if>
|
819
|
+
</fo:table-body>
|
820
|
+
</fo:table>
|
821
|
+
</fo:block-container>
|
822
|
+
</fo:block-container>
|
820
823
|
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
824
|
+
<fo:block-container font-size="8pt" background-color="rgb(236, 232, 232)" margin-top="5mm" padding="2mm" text-align="justify" border="1.5pt solid white">
|
825
|
+
<fo:block>
|
826
|
+
<xsl:apply-templates select="$updated_document1_boilerplate/mn:boilerplate/mn:license-statement" mode="cover-page-internal"/>
|
827
|
+
</fo:block>
|
828
|
+
</fo:block-container>
|
826
829
|
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
830
|
+
<fo:block-container background-color="rgb(219, 229, 241)" margin-top="4mm" padding="2mm" padding-top="1mm" border="1.5pt solid white">
|
831
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
832
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
833
|
+
<xsl:with-param name="text">
|
834
|
+
<!-- Title: -->
|
835
|
+
<xsl:call-template name="getLocalizedString">
|
836
|
+
<xsl:with-param name="key">title</xsl:with-param>
|
837
|
+
</xsl:call-template>
|
838
|
+
<xsl:text>:</xsl:text>
|
839
|
+
</xsl:with-param>
|
834
840
|
</xsl:call-template>
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
</xsl:call-template>
|
843
|
-
</fo:block>
|
844
|
-
</fo:block-container>
|
841
|
+
</fo:block>
|
842
|
+
<fo:block font-size="9pt" font-weight="bold">
|
843
|
+
<xsl:call-template name="addLetterSpacing">
|
844
|
+
<xsl:with-param name="text"><xsl:value-of select="(//mn:metanorma)[1]/mn:bibdata/mn:title[@language = $lang and @type = 'main']"/></xsl:with-param>
|
845
|
+
</xsl:call-template>
|
846
|
+
</fo:block>
|
847
|
+
</fo:block-container>
|
845
848
|
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
849
|
+
<xsl:if test="$stage-abbreviation = 'FDIS' or $stage-abbreviation = 'CDV' or $stage-abbreviation = 'DTS' or $stage-abbreviation = 'DTR' or $stage-abbreviation = 'DPAS'">
|
850
|
+
<fo:block-container border="1.5 solid" border-color="rgb(221, 213, 213)" height="6.5mm" padding="1mm" margin-top="3mm" display-align="center">
|
851
|
+
<fo:block font-size="6.5pt">
|
852
|
+
<xsl:call-template name="addLetterSpacing">
|
853
|
+
<xsl:with-param name="text">
|
854
|
+
<!-- PROPOSED STABILITY DATE: -->
|
855
|
+
<xsl:call-template name="getLocalizedString">
|
856
|
+
<xsl:with-param name="key">proposed_stability_date</xsl:with-param>
|
857
|
+
</xsl:call-template>
|
858
|
+
<xsl:text>: </xsl:text>
|
859
|
+
</xsl:with-param>
|
854
860
|
</xsl:call-template>
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
</fo:block>
|
861
|
-
</fo:block-container>
|
862
|
-
</xsl:if>
|
861
|
+
<!-- 2023 -->
|
862
|
+
<fo:inline font-size="9pt"><xsl:value-of select="//mn:metanorma/mn:bibdata/mn:date[@type='unchanged']/mn:on"/></fo:inline>
|
863
|
+
</fo:block>
|
864
|
+
</fo:block-container>
|
865
|
+
</xsl:if>
|
863
866
|
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
867
|
+
<fo:block-container border="1.5 solid" border-color="rgb(221, 213, 213)" padding="1mm" margin-top="3mm">
|
868
|
+
<fo:block font-size="6.5pt" margin-bottom="6pt">
|
869
|
+
<xsl:call-template name="addLetterSpacingSmallCaps">
|
870
|
+
<xsl:with-param name="text">
|
871
|
+
<!-- Note from TC/SC officers: -->
|
872
|
+
<xsl:call-template name="getLocalizedString">
|
873
|
+
<xsl:with-param name="key">tc_sc_note</xsl:with-param>
|
874
|
+
</xsl:call-template>
|
875
|
+
<xsl:text>:</xsl:text>
|
876
|
+
</xsl:with-param>
|
871
877
|
</xsl:call-template>
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
<!-- Example: This FDIS is the result of the discussion between the IEC SC21A experts WG 3 during the meeting held in -->
|
877
|
-
<xsl:apply-templates select="(//mn:metanorma)[1]/mn:bibdata/mn:ext/mn:tc-sc-officers-note"/>
|
878
|
-
</fo:block-container>
|
878
|
+
</fo:block>
|
879
|
+
<!-- Example: This FDIS is the result of the discussion between the IEC SC21A experts WG 3 during the meeting held in -->
|
880
|
+
<xsl:apply-templates select="(//mn:metanorma)[1]/mn:bibdata/mn:ext/mn:tc-sc-officers-note"/>
|
881
|
+
</fo:block-container>
|
879
882
|
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
+
</fo:flow>
|
884
|
+
</fo:page-sequence> <!-- END: cover-FDIS -->
|
885
|
+
</xsl:if>
|
886
|
+
</xsl:otherwise>
|
887
|
+
</xsl:choose>
|
883
888
|
</xsl:template>
|
884
889
|
|
885
890
|
<xsl:template name="inner-cover-page">
|
@@ -2027,6 +2032,11 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
2027
2032
|
<!-- =================== -->
|
2028
2033
|
|
2029
2034
|
<xsl:template name="insertHeaderFooter">
|
2035
|
+
<xsl:call-template name="insertHeader"/>
|
2036
|
+
<xsl:call-template name="insertFooter"/>
|
2037
|
+
</xsl:template>
|
2038
|
+
|
2039
|
+
<xsl:template name="insertHeader">
|
2030
2040
|
<fo:static-content flow-name="header-even" role="artifact">
|
2031
2041
|
<fo:block-container height="25mm" display-align="after">
|
2032
2042
|
<fo:table table-layout="fixed" width="100%">
|
@@ -2076,6 +2086,9 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
2076
2086
|
</fo:static-content>
|
2077
2087
|
</xsl:template>
|
2078
2088
|
|
2089
|
+
<xsl:template name="insertFooter">
|
2090
|
+
</xsl:template>
|
2091
|
+
|
2079
2092
|
<xsl:template name="back-page">
|
2080
2093
|
<xsl:if test="$stage_published = 'true'">
|
2081
2094
|
<fo:page-sequence master-reference="blank-page">
|
@@ -5583,94 +5596,88 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5583
5596
|
<xsl:template name="refine_term-style">
|
5584
5597
|
</xsl:template>
|
5585
5598
|
|
5586
|
-
<xsl:attribute-set name="term-
|
5599
|
+
<xsl:attribute-set name="term-number-style">
|
5587
5600
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
5588
5601
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
5589
5602
|
</xsl:attribute-set> <!-- term-name-style -->
|
5590
5603
|
|
5591
|
-
<xsl:template name="refine_term-
|
5592
|
-
</xsl:template>
|
5593
|
-
|
5594
|
-
<xsl:attribute-set name="preferred-style">
|
5595
|
-
</xsl:attribute-set> <!-- preferred-style -->
|
5596
|
-
|
5597
|
-
<xsl:template name="refine_preferred-style">
|
5604
|
+
<xsl:template name="refine_term-number-style">
|
5598
5605
|
</xsl:template>
|
5599
5606
|
|
5600
|
-
<xsl:attribute-set name="preferred-block-style">
|
5607
|
+
<xsl:attribute-set name="term-preferred-block-style">
|
5601
5608
|
<xsl:attribute name="line-height">1.1</xsl:attribute>
|
5602
5609
|
<xsl:attribute name="space-before">14pt</xsl:attribute>
|
5603
5610
|
</xsl:attribute-set> <!-- preferred-block-style -->
|
5604
5611
|
|
5605
|
-
<xsl:template name="
|
5612
|
+
<xsl:template name="refine_term-preferred-block-style">
|
5606
5613
|
<xsl:if test="preceding-sibling::*[1][self::mn:fmt-preferred]">
|
5607
5614
|
<xsl:attribute name="space-before">1pt</xsl:attribute>
|
5608
5615
|
</xsl:if>
|
5609
5616
|
</xsl:template>
|
5610
5617
|
|
5611
|
-
<xsl:attribute-set name="preferred-
|
5618
|
+
<xsl:attribute-set name="term-preferred-style">
|
5612
5619
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
5613
5620
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
5614
5621
|
</xsl:attribute-set> <!-- preferred-term-style -->
|
5615
5622
|
|
5616
|
-
<xsl:template name="
|
5623
|
+
<xsl:template name="refine_term-preferred-style">
|
5617
5624
|
<xsl:if test="mn:strong">
|
5618
5625
|
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
5619
5626
|
</xsl:if>
|
5620
5627
|
</xsl:template>
|
5621
5628
|
|
5622
|
-
<xsl:attribute-set name="domain-style">
|
5623
|
-
</xsl:attribute-set> <!-- domain-style -->
|
5629
|
+
<xsl:attribute-set name="term-domain-style">
|
5630
|
+
</xsl:attribute-set> <!-- term-domain-style -->
|
5624
5631
|
|
5625
|
-
<xsl:template name="
|
5632
|
+
<xsl:template name="refine_term-domain-style">
|
5626
5633
|
</xsl:template>
|
5627
5634
|
|
5628
|
-
<xsl:attribute-set name="admitted-style">
|
5629
|
-
</xsl:attribute-set> <!-- admitted-style -->
|
5635
|
+
<xsl:attribute-set name="term-admitted-style">
|
5636
|
+
</xsl:attribute-set> <!-- term-admitted-style -->
|
5630
5637
|
|
5631
|
-
<xsl:template name="
|
5638
|
+
<xsl:template name="refine_term-admitted-style">
|
5632
5639
|
</xsl:template>
|
5633
5640
|
|
5634
|
-
<xsl:attribute-set name="deprecates-style">
|
5641
|
+
<xsl:attribute-set name="term-deprecates-style">
|
5635
5642
|
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
5636
5643
|
<xsl:attribute name="margin-top">5pt</xsl:attribute>
|
5637
5644
|
<xsl:attribute name="margin-bottom">5pt</xsl:attribute>
|
5638
|
-
</xsl:attribute-set> <!-- deprecates-style -->
|
5645
|
+
</xsl:attribute-set> <!-- term-deprecates-style -->
|
5639
5646
|
|
5640
|
-
<xsl:template name="
|
5647
|
+
<xsl:template name="refine_term-deprecates-style">
|
5641
5648
|
</xsl:template>
|
5642
5649
|
|
5643
|
-
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
5650
|
+
<xsl:attribute-set name="term-related-block-style" use-attribute-sets="term-preferred-block-style">
|
5644
5651
|
</xsl:attribute-set>
|
5645
5652
|
|
5646
|
-
<xsl:template name="
|
5653
|
+
<xsl:template name="refine_term-related-block-style">
|
5647
5654
|
</xsl:template>
|
5648
5655
|
|
5649
|
-
<xsl:attribute-set name="definition-style">
|
5656
|
+
<xsl:attribute-set name="term-definition-style">
|
5650
5657
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
5651
|
-
</xsl:attribute-set> <!-- definition-style -->
|
5658
|
+
</xsl:attribute-set> <!-- term-definition-style -->
|
5652
5659
|
|
5653
|
-
<xsl:template name="
|
5660
|
+
<xsl:template name="refine_term-definition-style">
|
5654
5661
|
</xsl:template>
|
5655
5662
|
|
5656
|
-
<xsl:attribute-set name="termsource-style">
|
5663
|
+
<xsl:attribute-set name="term-termsource-style">
|
5657
5664
|
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
5658
5665
|
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
5659
|
-
</xsl:attribute-set> <!-- termsource-style -->
|
5666
|
+
</xsl:attribute-set> <!-- term-termsource-style -->
|
5660
5667
|
|
5661
|
-
<xsl:template name="
|
5662
|
-
</xsl:template> <!--
|
5668
|
+
<xsl:template name="refine_term-termsource-style">
|
5669
|
+
</xsl:template> <!-- refine_term-termsource-style -->
|
5663
5670
|
|
5664
|
-
<xsl:attribute-set name="termsource-text-style">
|
5665
|
-
</xsl:attribute-set> <!-- termsource-text-style -->
|
5671
|
+
<xsl:attribute-set name="term-termsource-text-style">
|
5672
|
+
</xsl:attribute-set> <!-- term-termsource-text-style -->
|
5666
5673
|
|
5667
|
-
<xsl:template name="
|
5674
|
+
<xsl:template name="refine_term-termsource-text-style">
|
5668
5675
|
</xsl:template>
|
5669
5676
|
|
5670
|
-
<xsl:attribute-set name="origin-style">
|
5671
|
-
</xsl:attribute-set> <!-- origin-style -->
|
5677
|
+
<xsl:attribute-set name="term-origin-style">
|
5678
|
+
</xsl:attribute-set> <!-- term-origin-style -->
|
5672
5679
|
|
5673
|
-
<xsl:template name="
|
5680
|
+
<xsl:template name="refine_term-origin-style">
|
5674
5681
|
</xsl:template>
|
5675
5682
|
|
5676
5683
|
<!-- ====== -->
|
@@ -5714,9 +5721,9 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5714
5721
|
<!-- modification -->
|
5715
5722
|
<!-- ====== -->
|
5716
5723
|
<xsl:template match="mn:fmt-termsource" name="termsource">
|
5717
|
-
<fo:block xsl:use-attribute-sets="termsource-style">
|
5724
|
+
<fo:block xsl:use-attribute-sets="term-termsource-style">
|
5718
5725
|
|
5719
|
-
<xsl:call-template name="
|
5726
|
+
<xsl:call-template name="refine_term-termsource-style"/>
|
5720
5727
|
|
5721
5728
|
<!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
|
5722
5729
|
<xsl:variable name="termsource_text">
|
@@ -5764,8 +5771,8 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5764
5771
|
|
5765
5772
|
<!-- text SOURCE: -->
|
5766
5773
|
<xsl:template match="mn:fmt-termsource/mn:strong[1][following-sibling::*[1][self::mn:fmt-origin]]/text()">
|
5767
|
-
<fo:inline xsl:use-attribute-sets="termsource-text-style">
|
5768
|
-
<xsl:call-template name="
|
5774
|
+
<fo:inline xsl:use-attribute-sets="term-termsource-text-style">
|
5775
|
+
<xsl:call-template name="refine_term-termsource-text-style"/>
|
5769
5776
|
<xsl:value-of select="."/>
|
5770
5777
|
</fo:inline>
|
5771
5778
|
</xsl:template>
|
@@ -5777,8 +5784,8 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5777
5784
|
<xsl:if test="normalize-space(@citeas) = ''">
|
5778
5785
|
<xsl:attribute name="fox:alt-text"><xsl:value-of select="@bibitemid"/></xsl:attribute>
|
5779
5786
|
</xsl:if>
|
5780
|
-
<fo:inline xsl:use-attribute-sets="origin-style">
|
5781
|
-
<xsl:call-template name="
|
5787
|
+
<fo:inline xsl:use-attribute-sets="term-origin-style">
|
5788
|
+
<xsl:call-template name="refine_term-origin-style"/>
|
5782
5789
|
<xsl:apply-templates/>
|
5783
5790
|
</fo:inline>
|
5784
5791
|
</fo:basic-link>
|
@@ -5826,14 +5833,14 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5826
5833
|
<xsl:variable name="levelTerm">
|
5827
5834
|
<xsl:call-template name="getLevelTermName"/>
|
5828
5835
|
</xsl:variable>
|
5829
|
-
<fo:block font-size="{normalize-space($font-size)}" role="H{$levelTerm}" xsl:use-attribute-sets="preferred-block-style">
|
5836
|
+
<fo:block font-size="{normalize-space($font-size)}" role="H{$levelTerm}" xsl:use-attribute-sets="term-preferred-block-style">
|
5830
5837
|
|
5831
|
-
<xsl:call-template name="
|
5838
|
+
<xsl:call-template name="refine_term-preferred-block-style"/>
|
5832
5839
|
|
5833
5840
|
<xsl:if test="parent::mn:term and not(preceding-sibling::mn:fmt-preferred)"> <!-- if first preffered in term, then display term's name -->
|
5834
5841
|
|
5835
|
-
<fo:block xsl:use-attribute-sets="term-
|
5836
|
-
<xsl:call-template name="refine_term-
|
5842
|
+
<fo:block xsl:use-attribute-sets="term-number-style" role="SKIP">
|
5843
|
+
<xsl:call-template name="refine_term-number-style"/>
|
5837
5844
|
|
5838
5845
|
<xsl:for-each select="ancestor::mn:term[1]/mn:fmt-name"><!-- change context -->
|
5839
5846
|
<xsl:call-template name="setIDforNamedDestination"/>
|
@@ -5843,8 +5850,8 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5843
5850
|
</fo:block>
|
5844
5851
|
</xsl:if>
|
5845
5852
|
|
5846
|
-
<fo:block xsl:use-attribute-sets="preferred-
|
5847
|
-
<xsl:call-template name="
|
5853
|
+
<fo:block xsl:use-attribute-sets="term-preferred-style" role="SKIP">
|
5854
|
+
<xsl:call-template name="refine_term-preferred-style"/>
|
5848
5855
|
|
5849
5856
|
<xsl:apply-templates/>
|
5850
5857
|
</fo:block>
|
@@ -5864,15 +5871,15 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5864
5871
|
<xsl:template match="mn:domain"/>
|
5865
5872
|
|
5866
5873
|
<xsl:template match="mn:fmt-admitted">
|
5867
|
-
<fo:block xsl:use-attribute-sets="admitted-style">
|
5868
|
-
<xsl:call-template name="
|
5874
|
+
<fo:block xsl:use-attribute-sets="term-admitted-style">
|
5875
|
+
<xsl:call-template name="refine_term-admitted-style"/>
|
5869
5876
|
<xsl:apply-templates/>
|
5870
5877
|
</fo:block>
|
5871
5878
|
</xsl:template>
|
5872
5879
|
|
5873
5880
|
<xsl:template match="mn:fmt-deprecates">
|
5874
|
-
<fo:block xsl:use-attribute-sets="deprecates-style">
|
5875
|
-
<xsl:call-template name="
|
5881
|
+
<fo:block xsl:use-attribute-sets="term-deprecates-style">
|
5882
|
+
<xsl:call-template name="refine_term-deprecates-style"/>
|
5876
5883
|
<xsl:apply-templates/>
|
5877
5884
|
</fo:block>
|
5878
5885
|
</xsl:template>
|
@@ -5885,8 +5892,8 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5885
5892
|
<!-- End Preferred, admitted, deprecated -->
|
5886
5893
|
|
5887
5894
|
<xsl:template match="mn:fmt-related">
|
5888
|
-
<fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
|
5889
|
-
<xsl:call-template name="
|
5895
|
+
<fo:block role="SKIP" xsl:use-attribute-sets="term-related-block-style">
|
5896
|
+
<xsl:call-template name="refine_term-related-block-style"/>
|
5890
5897
|
<xsl:apply-templates/>
|
5891
5898
|
</fo:block>
|
5892
5899
|
</xsl:template>
|
@@ -5900,8 +5907,8 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
5900
5907
|
<!-- definition -->
|
5901
5908
|
<!-- ========== -->
|
5902
5909
|
<xsl:template match="mn:fmt-definition">
|
5903
|
-
<fo:block xsl:use-attribute-sets="definition-style" role="SKIP">
|
5904
|
-
<xsl:call-template name="
|
5910
|
+
<fo:block xsl:use-attribute-sets="term-definition-style" role="SKIP">
|
5911
|
+
<xsl:call-template name="refine_term-definition-style"/>
|
5905
5912
|
<xsl:apply-templates/>
|
5906
5913
|
</fo:block>
|
5907
5914
|
</xsl:template>
|
@@ -15902,6 +15909,20 @@ les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pa
|
|
15902
15909
|
</fo:block-container>
|
15903
15910
|
</xsl:template>
|
15904
15911
|
|
15912
|
+
<!-- for https://github.com/metanorma/mn-native-pdf/issues/845 -->
|
15913
|
+
<xsl:template name="insertCoverPageFullImage">
|
15914
|
+
<xsl:param name="name">coverpage-image</xsl:param>
|
15915
|
+
<xsl:for-each select="//mn:metanorma/mn:metanorma-extension/mn:presentation-metadata[mn:name = $name][1]/mn:value/mn:image">
|
15916
|
+
<fo:page-sequence master-reference="cover-page" force-page-count="no-force">
|
15917
|
+
<fo:flow flow-name="xsl-region-body">
|
15918
|
+
<xsl:call-template name="insertBackgroundPageImage">
|
15919
|
+
<xsl:with-param name="number" select="position()"/>
|
15920
|
+
</xsl:call-template>
|
15921
|
+
</fo:flow>
|
15922
|
+
</fo:page-sequence>
|
15923
|
+
</xsl:for-each>
|
15924
|
+
</xsl:template>
|
15925
|
+
|
15905
15926
|
<xsl:template name="insertPageImage">
|
15906
15927
|
<xsl:param name="svg_content_height" select="$pageHeight"/>
|
15907
15928
|
<xsl:param name="bitmap_width" select="$pageWidth"/>
|