metanorma-itu 2.6.6 → 2.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dcbbd7572fe2303877767686ec3ee8674c33ce4f4a41155e59174a4085ef241
4
- data.tar.gz: fb67c1baeacf801f605650d84f52d8490e60285721c489fcbd894ed8eb41b2c3
3
+ metadata.gz: 6542e63c2bd1b922480a6c1c22937fd4672f2f503214b471e194cdb86fefa260
4
+ data.tar.gz: 1b9b0ab549aa135ba4b2c50f690c682cfc53ffce4075b83305ae3b93859b69d8
5
5
  SHA512:
6
- metadata.gz: da628d1d65997bbad001858fcd459eba9f161b8721445860f694a5bb49bdb4c0b5582147c2fb981a7f66be782d97c878c094ce9be1b931ebd01606aaaf79714e
7
- data.tar.gz: ad8f591f58f2b3583abe75e1cb8ce9e79de7ad628392ca4fdad0fddfc9af5874537ee9a598cb45dea244b5295f73134a537e672286a3aa75baf9ef5e4b559086
6
+ metadata.gz: 75470b99746333952b19aa267895299fc6e343cc65603eadf261acf3d919d9360f993bdc72703a561e3729d90ff276b997c9d7a83bb57f9467562cf40c01a34a
7
+ data.tar.gz: e9086ccbdc334716a1c56521367601ca879bd4251c07d636bce7bdd09d88e9d2a28b9ef46bfe93952f86161248c557c1094657b850da20014f60815cdb711f1e
@@ -313,8 +313,6 @@ h6:hover > a.anchor,
313
313
 
314
314
  svg {
315
315
  width: 100%;
316
- padding-bottom: 92%;
317
- height: 1px;
318
316
  overflow: visible;
319
317
  }
320
318
 
@@ -313,8 +313,6 @@ h6:hover > a.anchor,
313
313
 
314
314
  svg {
315
315
  width: 100%;
316
- padding-bottom: 92%;
317
- height: 1px;
318
316
  overflow: visible;
319
317
  }
320
318
 
@@ -495,267 +495,271 @@
495
495
  <fo:block id="firstpage_id_{$num}"> </fo:block>
496
496
  </fo:block-container>
497
497
 
498
- <fo:block-container font-size="22pt" font-weight="bold" color="{$color_cover_title}">
498
+ <fo:block-container margin-right="15.7mm">
499
499
 
500
- <xsl:call-template name="setWritingMode"/>
500
+ <fo:block-container font-size="22pt" font-weight="bold" color="{$color_cover_title}" margin-right="0mm">
501
501
 
502
- <xsl:choose>
502
+ <xsl:call-template name="setWritingMode"/>
503
503
 
504
- <xsl:when test="$doctype = 'service-publication'"> <!-- Flagship -->
505
- <fo:block margin-top="11.5mm" font-size="34pt">
506
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:title[@type = 'main' and @language = $lang]"/>
507
- </fo:block>
508
- <fo:block margin-top="2mm" font-size="26pt">
509
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:title[@type = 'subtitle' and @language = $lang]"/>
510
- </fo:block>
511
- <!-- https://github.com/metanorma/metanorma-itu/issues/474#issuecomment-1966298384 -->
512
- <xsl:variable name="title_slogan" select="normalize-space(/itu:metanorma/itu:bibdata/itu:title[@type = 'slogan'])"/>
513
- <xsl:if test="$title_slogan != ''">
514
- <fo:block margin-top="2mm" font-family="Adelle Devanagari" font-size="26pt">
515
- <xsl:choose>
516
- <xsl:when test="$lang = 'ar'"><xsl:attribute name="font-family">Traditional Arabic</xsl:attribute></xsl:when>
517
- <xsl:when test="$lang = 'zh'"><xsl:attribute name="font-family">STKaiti</xsl:attribute></xsl:when>
518
- <!-- <xsl:otherwise><xsl:attribute name="font-style">italic</xsl:attribute></xsl:otherwise> -->
519
- </xsl:choose>
520
- <xsl:value-of select="$title_slogan"/>
504
+ <xsl:choose>
505
+
506
+ <xsl:when test="$doctype = 'service-publication'"> <!-- Flagship -->
507
+ <fo:block margin-top="11.5mm" font-size="34pt">
508
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:title[@type = 'main' and @language = $lang]"/>
521
509
  </fo:block>
522
- </xsl:if>
523
- <xsl:variable name="year_published" select="substring($date_published,1,4)"/>
524
- <xsl:if test="$year_published != ''">
525
- <!-- Examples:
526
- 2020 edition
527
- Édition 2020
528
- Edición 2020
529
- طبعة 2020
530
- 2020 年版
531
- Издание 2020 года -->
532
- <fo:block margin-top="3mm" font-size="22pt">
533
- <xsl:choose>
534
- <xsl:when test="$lang = 'en' or $lang = 'ar' or $lang = 'zh'">
535
- <xsl:value-of select="concat($year_published, ' ', $i18n_edition)"/>
536
- </xsl:when>
537
- <xsl:otherwise>
538
- <xsl:value-of select="concat($i18n_edition_Capitalized, ' ', $year_published)"/>
539
- <xsl:if test="$lang = 'ru'"> года</xsl:if>
540
- </xsl:otherwise>
541
- </xsl:choose>
510
+ <fo:block margin-top="2mm" font-size="26pt">
511
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:title[@type = 'subtitle' and @language = $lang]"/>
542
512
  </fo:block>
543
- </xsl:if>
544
- </xsl:when> <!-- $doctype = 'service-publication' -->
545
-
546
- <xsl:otherwise>
547
- <fo:block margin-top="11.5mm">
548
- <xsl:choose>
549
- <xsl:when test="$doctype = 'technical-report' or $doctype = 'technical-paper'">
550
- <!-- Example: ITU-T Technical Paper -->
551
- <xsl:value-of select="$docidentifier_ITU_left_part"/>
552
- <xsl:text> </xsl:text>
553
- <xsl:value-of select="$doctypeTitle"/>
554
- </xsl:when>
555
- <xsl:when test="$doctype = 'implementers-guide'">
556
- <xsl:value-of select="$docidentifier_ITU_left_part"/>
557
- <xsl:text> </xsl:text>
558
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:docidentifier[@type='ITU-Recommendation']"/>
559
- <xsl:text> </xsl:text>
560
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:ext/itu:doctype[@language = $lang]"/>
561
- </xsl:when>
562
- <xsl:when test="$doctype = 'resolution'">
563
- <xsl:value-of select="$doctypeTitle"/>
564
- <xsl:text> </xsl:text>
565
- <xsl:value-of select="$docidentifier_ITU_left_part"/>
566
- </xsl:when>
567
- <xsl:otherwise>
568
- <xsl:value-of select="$doctypeTitle"/>
569
- <xsl:text> </xsl:text>
570
- <xsl:value-of select="$docidentifier_ITU"/>
571
- </xsl:otherwise>
572
- </xsl:choose>
573
- </fo:block>
574
-
575
- <fo:block-container font-size="14pt" margin-top="1mm" margin-right="2mm">
576
- <xsl:if test="$bureau = 'T'">
577
- <xsl:attribute name="text-align">end</xsl:attribute>
513
+ <!-- https://github.com/metanorma/metanorma-itu/issues/474#issuecomment-1966298384 -->
514
+ <xsl:variable name="title_slogan" select="normalize-space(/itu:metanorma/itu:bibdata/itu:title[@type = 'slogan'])"/>
515
+ <xsl:if test="$title_slogan != ''">
516
+ <fo:block margin-top="2mm" font-family="Adelle Devanagari" font-size="26pt">
517
+ <xsl:choose>
518
+ <xsl:when test="$lang = 'ar'"><xsl:attribute name="font-family">Traditional Arabic</xsl:attribute></xsl:when>
519
+ <xsl:when test="$lang = 'zh'"><xsl:attribute name="font-family">STKaiti</xsl:attribute></xsl:when>
520
+ <!-- <xsl:otherwise><xsl:attribute name="font-style">italic</xsl:attribute></xsl:otherwise> -->
521
+ </xsl:choose>
522
+ <xsl:value-of select="$title_slogan"/>
523
+ </fo:block>
578
524
  </xsl:if>
579
- <fo:block-container margin-right="0mm">
580
-
581
- <xsl:variable name="additional_block">
582
- <!-- Examples:
583
- Amendment 1
584
- Supplement 37 -->
585
- <xsl:if test="$TDnumber != ''">
586
- <fo:block-container>
587
- <xsl:call-template name="setWritingMode"/>
588
- <fo:block>TD number: <xsl:value-of select="$TDnumber"/></fo:block>
589
- </fo:block-container>
590
- </xsl:if>
591
- <xsl:if test="$provisionalIdentifier != ''">
592
- <fo:block-container>
593
- <xsl:call-template name="setWritingMode"/>
594
- <fo:block>Provisional identifier: <xsl:value-of select="$provisionalIdentifier"/>
595
- </fo:block>
596
- </fo:block-container>
597
- </xsl:if>
598
- <xsl:if test="$annexid != ''">
599
- <fo:block-container>
600
- <xsl:call-template name="setWritingMode"/>
601
- <fo:block>
602
- <xsl:value-of select="$i18n_annex"/>
603
- <xsl:text> </xsl:text>
604
- <xsl:value-of select="$annexid"/>
605
- </fo:block>
606
- </fo:block-container>
607
- </xsl:if>
608
- <xsl:if test="$isAmendment != ''">
609
- <fo:block-container>
610
- <xsl:call-template name="setWritingMode"/>
611
- <fo:block><xsl:value-of select="$isAmendment"/></fo:block>
612
- </fo:block-container>
613
- </xsl:if>
614
- <xsl:if test="$isCorrigendum != ''">
615
- <fo:block-container>
616
- <xsl:call-template name="setWritingMode"/>
617
- <fo:block><xsl:value-of select="$isCorrigendum"/></fo:block>
618
- </fo:block-container>
619
- </xsl:if>
620
-
621
- <!-- Date, example: (11/2018) -->
525
+ <xsl:variable name="year_published" select="substring($date_published,1,4)"/>
526
+ <xsl:if test="$year_published != ''">
527
+ <!-- Examples:
528
+ 2020 edition
529
+ Édition 2020
530
+ Edición 2020
531
+ طبعة 2020
532
+ 2020 年版
533
+ Издание 2020 года -->
534
+ <fo:block margin-top="3mm" font-size="22pt">
622
535
  <xsl:choose>
623
- <xsl:when test="($doctype = 'technical-report' or $doctype = 'technical-paper') and /itu:metanorma/itu:bibdata/itu:version/itu:revision-date">
624
- <xsl:call-template name="formatMeetingDate">
625
- <xsl:with-param name="date" select="/itu:metanorma/itu:bibdata/itu:version/itu:revision-date"/>
626
- <xsl:with-param name="inParenthesis">true</xsl:with-param>
627
- </xsl:call-template>
536
+ <xsl:when test="$lang = 'en' or $lang = 'ar' or $lang = 'zh'">
537
+ <xsl:value-of select="concat($year_published, ' ', $i18n_edition)"/>
628
538
  </xsl:when>
629
539
  <xsl:otherwise>
630
- <xsl:call-template name="formatDate">
631
- <xsl:with-param name="date" select="$date_published"/>
632
- </xsl:call-template>
540
+ <xsl:value-of select="concat($i18n_edition_Capitalized, ' ', $year_published)"/>
541
+ <xsl:if test="$lang = 'ru'"> года</xsl:if>
633
542
  </xsl:otherwise>
634
543
  </xsl:choose>
635
- </xsl:variable>
636
- <fo:block>
637
- <xsl:copy-of select="$additional_block"/>
638
- <xsl:if test="normalize-space($additional_block) = ''"> </xsl:if>
639
544
  </fo:block>
640
- </fo:block-container>
641
- </fo:block-container> <!-- end of additional block -->
545
+ </xsl:if>
546
+ </xsl:when> <!-- $doctype = 'service-publication' -->
642
547
 
643
- <xsl:if test="$doctype = 'resolution'">
644
- <fo:block margin-bottom="6pt">
645
- <xsl:call-template name="insertMeetingInfo"/>
548
+ <xsl:otherwise>
549
+ <fo:block margin-top="11.5mm">
550
+ <xsl:choose>
551
+ <xsl:when test="$doctype = 'technical-report' or $doctype = 'technical-paper'">
552
+ <!-- Example: ITU-T Technical Paper -->
553
+ <xsl:value-of select="$docidentifier_ITU_left_part"/>
554
+ <xsl:text> </xsl:text>
555
+ <xsl:value-of select="$doctypeTitle"/>
556
+ </xsl:when>
557
+ <xsl:when test="$doctype = 'implementers-guide'">
558
+ <xsl:value-of select="$docidentifier_ITU_left_part"/>
559
+ <xsl:text> </xsl:text>
560
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:docidentifier[@type='ITU-Recommendation']"/>
561
+ <xsl:text> </xsl:text>
562
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:ext/itu:doctype[@language = $lang]"/>
563
+ </xsl:when>
564
+ <xsl:when test="$doctype = 'resolution'">
565
+ <xsl:value-of select="$doctypeTitle"/>
566
+ <xsl:text> </xsl:text>
567
+ <xsl:value-of select="$docidentifier_ITU_left_part"/>
568
+ </xsl:when>
569
+ <xsl:otherwise>
570
+ <xsl:value-of select="$doctypeTitle"/>
571
+ <xsl:text> </xsl:text>
572
+ <xsl:value-of select="$docidentifier_ITU"/>
573
+ </xsl:otherwise>
574
+ </xsl:choose>
646
575
  </fo:block>
647
- </xsl:if>
648
-
649
- <!-- Series: -->
650
- <xsl:variable name="series">
651
- <xsl:call-template name="insertSeriesTitleMain">
652
- <xsl:with-param name="i18n_series" select="$i18n_series"/>
653
- </xsl:call-template>
654
- <xsl:choose>
655
- <xsl:when test="$doctype = 'recommendation-supplement'"/>
656
- <xsl:otherwise>
657
- <xsl:if test="/itu:metanorma/itu:bibdata/itu:series">
658
- <fo:block font-weight="normal" margin-top="4mm">
659
- <xsl:call-template name="insertSeriesTitleAdditional"/>
660
- </fo:block>
661
- </xsl:if>
662
- </xsl:otherwise>
663
- </xsl:choose>
664
- </xsl:variable>
665
576
 
666
- <xsl:if test="normalize-space($series) != ''">
667
- <fo:block-container margin-right="5mm">
577
+ <fo:block-container font-size="14pt" margin-top="1mm" margin-right="2mm">
578
+ <xsl:if test="$bureau = 'T'">
579
+ <xsl:attribute name="text-align">end</xsl:attribute>
580
+ <xsl:attribute name="margin-right">-13.7mm</xsl:attribute>
581
+ </xsl:if>
668
582
  <fo:block-container margin-right="0mm">
669
- <fo:block font-size="18pt" margin-top="5mm">
670
- <xsl:copy-of select="$series"/>
671
- </fo:block>
583
+
584
+ <xsl:variable name="additional_block">
585
+ <!-- Examples:
586
+ Amendment 1
587
+ Supplement 37 -->
588
+ <xsl:if test="$TDnumber != ''">
589
+ <fo:block-container>
590
+ <xsl:call-template name="setWritingMode"/>
591
+ <fo:block>TD number: <xsl:value-of select="$TDnumber"/></fo:block>
592
+ </fo:block-container>
593
+ </xsl:if>
594
+ <xsl:if test="$provisionalIdentifier != ''">
595
+ <fo:block-container>
596
+ <xsl:call-template name="setWritingMode"/>
597
+ <fo:block>Provisional identifier: <xsl:value-of select="$provisionalIdentifier"/>
598
+ </fo:block>
599
+ </fo:block-container>
600
+ </xsl:if>
601
+ <xsl:if test="$annexid != ''">
602
+ <fo:block-container>
603
+ <xsl:call-template name="setWritingMode"/>
604
+ <fo:block>
605
+ <xsl:value-of select="$i18n_annex"/>
606
+ <xsl:text> </xsl:text>
607
+ <xsl:value-of select="$annexid"/>
608
+ </fo:block>
609
+ </fo:block-container>
610
+ </xsl:if>
611
+ <xsl:if test="$isAmendment != ''">
612
+ <fo:block-container>
613
+ <xsl:call-template name="setWritingMode"/>
614
+ <fo:block><xsl:value-of select="$isAmendment"/></fo:block>
615
+ </fo:block-container>
616
+ </xsl:if>
617
+ <xsl:if test="$isCorrigendum != ''">
618
+ <fo:block-container>
619
+ <xsl:call-template name="setWritingMode"/>
620
+ <fo:block><xsl:value-of select="$isCorrigendum"/></fo:block>
621
+ </fo:block-container>
622
+ </xsl:if>
623
+
624
+ <!-- Date, example: (11/2018) -->
625
+ <xsl:choose>
626
+ <xsl:when test="($doctype = 'technical-report' or $doctype = 'technical-paper') and /itu:metanorma/itu:bibdata/itu:version/itu:revision-date">
627
+ <xsl:call-template name="formatMeetingDate">
628
+ <xsl:with-param name="date" select="/itu:metanorma/itu:bibdata/itu:version/itu:revision-date"/>
629
+ <xsl:with-param name="inParenthesis">true</xsl:with-param>
630
+ </xsl:call-template>
631
+ </xsl:when>
632
+ <xsl:otherwise>
633
+ <xsl:call-template name="formatDate">
634
+ <xsl:with-param name="date" select="$date_published"/>
635
+ </xsl:call-template>
636
+ </xsl:otherwise>
637
+ </xsl:choose>
638
+ </xsl:variable>
672
639
  <fo:block>
673
- <fo:leader leader-pattern="rule" rule-thickness="1pt" leader-length="100%"/>
640
+ <xsl:copy-of select="$additional_block"/>
641
+ <xsl:if test="normalize-space($additional_block) = ''"> </xsl:if>
674
642
  </fo:block>
675
643
  </fo:block-container>
676
- </fo:block-container>
677
- </xsl:if>
644
+ </fo:block-container> <!-- end of additional block -->
678
645
 
679
- <fo:block role="H1">
680
- <!-- margin-top="24mm" -->
681
- <xsl:if test="($doctype = 'technical-report' or $doctype = 'technical-paper') and $docnumber != ''">
682
- <xsl:attribute name="margin-top">3mm</xsl:attribute>
683
- <xsl:value-of select="$docnumber"/>
646
+ <xsl:if test="$doctype = 'resolution'">
647
+ <fo:block margin-bottom="6pt">
648
+ <xsl:call-template name="insertMeetingInfo"/>
649
+ </fo:block>
684
650
  </xsl:if>
685
- </fo:block>
686
651
 
687
- <fo:block margin-top="3pt">
688
- <xsl:if test="$doctype = 'implementers-guide'">
689
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:ext/itu:doctype[@language = $lang]"/>
690
- <xsl:text> for </xsl:text>
691
- </xsl:if>
692
- <xsl:if test="$doctype = 'resolution'">
693
- <!-- Resolution 1 -->
694
- <xsl:value-of select="$doctypeTitle"/>
695
- <xsl:text> </xsl:text>
696
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:ext/itu:structuredidentifier/itu:docnumber"/>
697
- <xsl:value-of select="$en_dash_separator"/>
652
+ <!-- Series: -->
653
+ <xsl:variable name="series">
654
+ <xsl:call-template name="insertSeriesTitleMain">
655
+ <xsl:with-param name="i18n_series" select="$i18n_series"/>
656
+ </xsl:call-template>
657
+ <xsl:choose>
658
+ <xsl:when test="$doctype = 'recommendation-supplement'"/>
659
+ <xsl:otherwise>
660
+ <xsl:if test="/itu:metanorma/itu:bibdata/itu:series">
661
+ <fo:block font-weight="normal" margin-top="4mm">
662
+ <xsl:call-template name="insertSeriesTitleAdditional"/>
663
+ </fo:block>
664
+ </xsl:if>
665
+ </xsl:otherwise>
666
+ </xsl:choose>
667
+ </xsl:variable>
668
+
669
+ <xsl:if test="normalize-space($series) != ''">
670
+ <fo:block-container margin-right="5mm">
671
+ <fo:block-container margin-right="0mm">
672
+ <fo:block font-size="18pt" margin-top="5mm">
673
+ <xsl:copy-of select="$series"/>
674
+ </fo:block>
675
+ <fo:block>
676
+ <fo:leader leader-pattern="rule" rule-thickness="1pt" leader-length="100%"/>
677
+ </fo:block>
678
+ </fo:block-container>
679
+ </fo:block-container>
698
680
  </xsl:if>
699
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:title[@type = 'main' and @language = $lang]"/>
700
- </fo:block>
701
681
 
702
- <!-- Example: Annex F1 - ... -->
703
- <xsl:for-each select="/itu:metanorma/itu:bibdata/itu:title[@type = 'annex' and @language = $lang]">
704
- <fo:block font-size="18pt" margin-top="3mm" role="H1">
705
- <xsl:value-of select="$i18n_annex"/>
706
- <xsl:text> </xsl:text>
707
- <xsl:value-of select="$annexid"/>
708
- <xsl:value-of select="$en_dash_separator"/>
709
- <xsl:value-of select="."/>
710
- </fo:block>
711
- </xsl:for-each>
712
-
713
- <!-- Example: Amendment 1 - ... -->
714
- <xsl:if test="$isAmendment != ''">
715
- <fo:block margin-top="3mm" role="H1">
716
- <xsl:value-of select="$isAmendment"/>
717
- <xsl:variable name="title_amendment" select="normalize-space(/itu:metanorma/itu:bibdata/itu:title[@type = 'amendment'])"/>
718
- <xsl:if test="$title_amendment != ''">
719
- <xsl:value-of select="$en_dash_separator"/>
720
- <xsl:value-of select="$title_amendment"/>
682
+ <fo:block role="H1">
683
+ <!-- margin-top="24mm" -->
684
+ <xsl:if test="($doctype = 'technical-report' or $doctype = 'technical-paper') and $docnumber != ''">
685
+ <xsl:attribute name="margin-top">3mm</xsl:attribute>
686
+ <xsl:value-of select="$docnumber"/>
721
687
  </xsl:if>
722
688
  </fo:block>
723
- </xsl:if>
724
- <!-- Example: Corrigendum 1 - ... -->
725
- <xsl:if test="$isCorrigendum != ''">
726
- <fo:block margin-top="3mm" role="H1">
727
- <xsl:value-of select="$isCorrigendum"/>
728
- <xsl:variable name="title_corrigendum" select="normalize-space(/itu:metanorma/itu:bibdata/itu:title[@type = 'corrigendum'])"/>
729
- <xsl:if test="$title_corrigendum != ''">
689
+
690
+ <fo:block margin-top="3pt">
691
+ <xsl:if test="$doctype = 'implementers-guide'">
692
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:ext/itu:doctype[@language = $lang]"/>
693
+ <xsl:text> for </xsl:text>
694
+ </xsl:if>
695
+ <xsl:if test="$doctype = 'resolution'">
696
+ <!-- Resolution 1 -->
697
+ <xsl:value-of select="$doctypeTitle"/>
698
+ <xsl:text> </xsl:text>
699
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:ext/itu:structuredidentifier/itu:docnumber"/>
730
700
  <xsl:value-of select="$en_dash_separator"/>
731
- <xsl:value-of select="$title_corrigendum"/>
732
701
  </xsl:if>
702
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:title[@type = 'main' and @language = $lang]"/>
733
703
  </fo:block>
734
- </xsl:if>
735
704
 
736
- <xsl:if test="/itu:metanorma/itu:boilerplate/itu:legal-statement/itu:clause[starts-with(@id, 'draft-warning')]">
737
- <fo:block-container margin-left="1mm" margin-right="1mm" border="0.7mm solid black" margin-top="5mm">
738
- <fo:block-container margin-left="1mm" margin-right="1mm">
739
- <fo:block padding-top="3mm">
740
- <xsl:apply-templates select="/itu:metanorma/itu:boilerplate/itu:legal-statement/itu:clause[starts-with(@id, 'draft-warning')]" mode="caution"/>
741
- </fo:block>
705
+ <!-- Example: Annex F1 - ... -->
706
+ <xsl:for-each select="/itu:metanorma/itu:bibdata/itu:title[@type = 'annex' and @language = $lang]">
707
+ <fo:block font-size="18pt" margin-top="3mm" role="H1">
708
+ <xsl:value-of select="$i18n_annex"/>
709
+ <xsl:text> </xsl:text>
710
+ <xsl:value-of select="$annexid"/>
711
+ <xsl:value-of select="$en_dash_separator"/>
712
+ <xsl:value-of select="."/>
713
+ </fo:block>
714
+ </xsl:for-each>
715
+
716
+ <!-- Example: Amendment 1 - ... -->
717
+ <xsl:if test="$isAmendment != ''">
718
+ <fo:block margin-top="3mm" role="H1">
719
+ <xsl:value-of select="$isAmendment"/>
720
+ <xsl:variable name="title_amendment" select="normalize-space(/itu:metanorma/itu:bibdata/itu:title[@type = 'amendment'])"/>
721
+ <xsl:if test="$title_amendment != ''">
722
+ <xsl:value-of select="$en_dash_separator"/>
723
+ <xsl:value-of select="$title_amendment"/>
724
+ </xsl:if>
725
+ </fo:block>
726
+ </xsl:if>
727
+ <!-- Example: Corrigendum 1 - ... -->
728
+ <xsl:if test="$isCorrigendum != ''">
729
+ <fo:block margin-top="3mm" role="H1">
730
+ <xsl:value-of select="$isCorrigendum"/>
731
+ <xsl:variable name="title_corrigendum" select="normalize-space(/itu:metanorma/itu:bibdata/itu:title[@type = 'corrigendum'])"/>
732
+ <xsl:if test="$title_corrigendum != ''">
733
+ <xsl:value-of select="$en_dash_separator"/>
734
+ <xsl:value-of select="$title_corrigendum"/>
735
+ </xsl:if>
736
+ </fo:block>
737
+ </xsl:if>
738
+
739
+ <xsl:if test="/itu:metanorma/itu:boilerplate/itu:legal-statement/itu:clause[starts-with(@id, 'draft-warning')]">
740
+ <fo:block-container margin-left="1mm" margin-right="1mm" border="0.7mm solid black" margin-top="5mm">
741
+ <fo:block-container margin-left="1mm" margin-right="1mm">
742
+ <fo:block padding-top="3mm">
743
+ <xsl:apply-templates select="/itu:metanorma/itu:boilerplate/itu:legal-statement/itu:clause[starts-with(@id, 'draft-warning')]" mode="caution"/>
744
+ </fo:block>
745
+ </fo:block-container>
742
746
  </fo:block-container>
743
- </fo:block-container>
744
- </xsl:if>
747
+ </xsl:if>
745
748
 
746
- <xsl:if test="$doctype = 'recommendation-supplement'">
747
- <fo:block font-size="16pt" margin-top="3mm">
748
- <xsl:if test="/itu:metanorma/itu:bibdata/itu:status/itu:stage = 'draft'">Draft </xsl:if>
749
- <xsl:text>ITU-</xsl:text>
750
- <xsl:value-of select="$bureau"/>
751
- <xsl:text> </xsl:text>
752
- <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:docidentifier[@type = 'ITU-Supplement']"/>
753
- </fo:block>
754
- </xsl:if>
755
- </xsl:otherwise>
749
+ <xsl:if test="$doctype = 'recommendation-supplement'">
750
+ <fo:block font-size="16pt" margin-top="3mm">
751
+ <xsl:if test="/itu:metanorma/itu:bibdata/itu:status/itu:stage = 'draft'">Draft </xsl:if>
752
+ <xsl:text>ITU-</xsl:text>
753
+ <xsl:value-of select="$bureau"/>
754
+ <xsl:text> </xsl:text>
755
+ <xsl:value-of select="/itu:metanorma/itu:bibdata/itu:docidentifier[@type = 'ITU-Supplement']"/>
756
+ </fo:block>
757
+ </xsl:if>
758
+ </xsl:otherwise>
756
759
 
757
- </xsl:choose>
760
+ </xsl:choose>
758
761
 
762
+ </fo:block-container>
759
763
  </fo:block-container>
760
764
  </fo:flow>
761
765
  </fo:page-sequence>
@@ -2973,7 +2977,7 @@
2973
2977
  </style>
2974
2978
  <g>
2975
2979
  <g>
2976
- <rect x="0.9" y="0.6" class="st0" width="612" height="16.5"/>
2980
+ <rect x="0" y="0.6" class="st0" width="612" height="16.5"/>
2977
2981
  </g>
2978
2982
  <xsl:choose>
2979
2983
  <xsl:when test="$lang = 'ar'">
@@ -3323,6 +3327,7 @@
3323
3327
  <xsl:variable name="hair_space"> </xsl:variable>
3324
3328
  <xsl:variable name="en_dash">–</xsl:variable>
3325
3329
  <xsl:variable name="em_dash">—</xsl:variable>
3330
+ <xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
3326
3331
  <xsl:variable name="cr">&#13;</xsl:variable>
3327
3332
  <xsl:variable name="lf">
3328
3333
  </xsl:variable>