metanorma-itu 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fb429391263ff996d975c4530caafb770cdd27c641e5afd565021d503c82b00
4
- data.tar.gz: 81c88468270f3a6b9e3febb646c459da0239c232780408f39104981af1bf619c
3
+ metadata.gz: 5619cbb2db8525ff93cb36caa9db4131c780b144cb75dc5d415047a65ca20c75
4
+ data.tar.gz: 294066a345df88c036b18af7a2912cd4f1ddfa4f90b85ed77858032464685366
5
5
  SHA512:
6
- metadata.gz: db67afa2f11981ca3c74a52eb2fcbc06de76b6aa8583c280bc2be6e1248ca132ed59e83a6f700d4eb1f6b55459666d9513c21494bb56fed53a6bad07f48a3de2
7
- data.tar.gz: bd640b4db3d5f369b534b78d12f8c129637006e6e6e57ff201eff54814cc7e03bd3bcb5d483f70c06e8c5c1aff30cb31dbeb957c735bd8b561efedf40d6fadad
6
+ metadata.gz: 613682ce842a94efcee47298ca077c5fbbe5eadc6fb2f6bffba6f7649b4e2b4af9fa277063c9987f6d807059ced490b0d99f08476d8bfd85d3a63f2075b87a4f
7
+ data.tar.gz: e8135000aedbe9e46b7201b15a1fb9402abb628212ab95504e861bb5ed2f88cceb8b02732bbd203419eed6f93816b424bfb72e5b3a8872406e4b607a9701ea97
@@ -1973,7 +1973,11 @@
1973
1973
  </optional>
1974
1974
  <element name="name">
1975
1975
  <zeroOrMore>
1976
- <ref name="PureTextElement"/>
1976
+ <choice>
1977
+ <ref name="PureTextElement"/>
1978
+ <ref name="stem"/>
1979
+ <ref name="index"/>
1980
+ </choice>
1977
1981
  </zeroOrMore>
1978
1982
  </element>
1979
1983
  <optional>
@@ -1987,7 +1991,7 @@
1987
1991
  </element>
1988
1992
  </optional>
1989
1993
  <optional>
1990
- <element name="grammar-info">
1994
+ <element name="grammar">
1991
1995
  <ref name="Grammar"/>
1992
1996
  </element>
1993
1997
  </optional>
@@ -68,6 +68,12 @@ code *, pre *, tt *, kbd *, samp * {
68
68
  font-family: {{monospacefont}} !important;
69
69
  font-variant-ligatures: none; }
70
70
 
71
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
72
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
73
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
74
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
75
+ font-size: {{monospacefontsize}}; }
76
+
71
77
  article, aside, details, figcaption, figure,
72
78
  footer, header, hgroup, menu, nav, section {
73
79
  display: block; }
@@ -79,6 +85,9 @@ table {
79
85
  h1, h2, h3, h4, h5, h6 {
80
86
  font-family: {{headerfont}}; }
81
87
 
88
+ .h1, .h2, .h3, .h4, .h5, .h6 {
89
+ font-family: {{headerfont}}; }
90
+
82
91
  blockquote, q {
83
92
  quotes: none; }
84
93
  blockquote:before, blockquote:after, q:before, q:after {
@@ -68,6 +68,12 @@ code *, pre *, tt *, kbd *, samp * {
68
68
  font-family: {{monospacefont}} !important;
69
69
  font-variant-ligatures: none; }
70
70
 
71
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
72
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
73
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
74
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
75
+ font-size: {{monospacefontsize}}; }
76
+
71
77
  article, aside, details, figcaption, figure,
72
78
  footer, header, hgroup, menu, nav, section {
73
79
  display: block; }
@@ -79,6 +85,9 @@ table {
79
85
  h1, h2, h3, h4, h5, h6 {
80
86
  font-family: {{headerfont}}; }
81
87
 
88
+ .h1, .h2, .h3, .h4, .h5, .h6 {
89
+ font-family: {{headerfont}}; }
90
+
82
91
  blockquote, q {
83
92
  quotes: none; }
84
93
  blockquote:before, blockquote:after, q:before, q:after {
@@ -305,6 +314,12 @@ code *, pre *, tt *, kbd *, samp * {
305
314
  font-family: {{monospacefont}} !important;
306
315
  font-variant-ligatures: none; }
307
316
 
317
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
318
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
319
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
320
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
321
+ font-size: {{monospacefontsize}}; }
322
+
308
323
  article, aside, details, figcaption, figure,
309
324
  footer, header, hgroup, menu, nav, section {
310
325
  display: block; }
@@ -316,6 +331,9 @@ table {
316
331
  h1, h2, h3, h4, h5, h6 {
317
332
  font-family: {{headerfont}}; }
318
333
 
334
+ .h1, .h2, .h3, .h4, .h5, .h6 {
335
+ font-family: {{headerfont}}; }
336
+
319
337
  blockquote, q {
320
338
  quotes: none; }
321
339
  blockquote:before, blockquote:after, q:before, q:after {
@@ -907,27 +925,27 @@ svg {
907
925
  font-style: italic; }
908
926
 
909
927
  /* Headings */
910
- h1, h2, h3, h4, h5, h6, .h1Annex {
928
+ h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 {
911
929
  font-weight: 400;
912
930
  margin-top: 1.6em;
913
931
  margin-bottom: 0.3em; }
914
932
 
915
933
  @media print {
916
- h1, h2, h3, h4, .h1Annex {
934
+ h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 {
917
935
  page-break-after: avoid;
918
936
  margin-top: 1.2em; } }
919
937
 
920
- h1, .h1Annex {
938
+ h1, .h1Annex, p.h1 {
921
939
  font-size: 1.4em;
922
940
  text-transform: uppercase;
923
941
  margin-top: 2em; }
924
- h1#content, #content.h1Annex {
942
+ h1#content, #content.h1Annex, p#content.h1 {
925
943
  margin-top: 2em; }
926
944
  @media print {
927
- h1, .h1Annex {
945
+ h1, .h1Annex, p.h1 {
928
946
  font-size: 1.5em;
929
947
  line-height: 1.5; }
930
- h1.content, .h1Annex.content {
948
+ h1.content, .h1Annex.content, p.h1.content {
931
949
  margin-top: 2em;
932
950
  line-height: 2.5em; } }
933
951
  p.supertitle {
@@ -941,21 +959,21 @@ p.supertitle {
941
959
  p.supertitle.content {
942
960
  margin-top: 2em;
943
961
  line-height: 2.5em; } }
944
- h2 {
962
+ h2, .h2 {
945
963
  margin-top: 1.7em;
946
964
  font-size: 1.5em; }
947
- h2 p {
965
+ h2 p, .h2 p {
948
966
  display: inline; }
949
967
  @media print {
950
- h2 {
968
+ h2, .h2 {
951
969
  font-size: 1.2em; } }
952
- h3 {
970
+ h3, .h3 {
953
971
  margin-top: 1.5em;
954
972
  font-size: 1.4em; }
955
973
  @media print {
956
- h3 {
974
+ h3, .h3 {
957
975
  font-size: 1em; } }
958
- h4 {
976
+ h4, .h4 {
959
977
  font-size: 1.2em; }
960
978
 
961
979
  /* Terms */
@@ -215,20 +215,20 @@ svg {
215
215
 
216
216
  /* Headings */
217
217
 
218
- h1, h2, h3, h4, h5, h6, .h1Annex {
218
+ h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 {
219
219
  font-weight: 400;
220
220
  margin-top: 1.6em;
221
221
  margin-bottom: 0.3em;
222
222
  }
223
223
 
224
- h1, h2, h3, h4, .h1Annex {
224
+ h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 {
225
225
  @media print {
226
226
  page-break-after: avoid;
227
227
  margin-top: 1.2em;
228
228
  }
229
229
  }
230
230
 
231
- h1, .h1Annex {
231
+ h1, .h1Annex, p.h1 {
232
232
  font-size: 1.4em;
233
233
  text-transform: uppercase;
234
234
  margin-top: 2em;
@@ -265,7 +265,7 @@ p.supertitle {
265
265
 
266
266
  }
267
267
 
268
- h2 {
268
+ h2, .h2 {
269
269
  margin-top: 1.7em;
270
270
  font-size: 1.5em;
271
271
 
@@ -278,7 +278,7 @@ h2 {
278
278
  }
279
279
  }
280
280
 
281
- h3 {
281
+ h3, .h3 {
282
282
  margin-top: 1.5em;
283
283
  font-size: 1.4em;
284
284
 
@@ -287,7 +287,7 @@ h3 {
287
287
  }
288
288
  }
289
289
 
290
- h4 {
290
+ h4, .h4 {
291
291
  font-size: 1.2em;
292
292
  }
293
293
 
@@ -462,7 +462,7 @@ div.pseudocode, p.pseudocode, li.pseudocode {
462
462
  text-align: left;
463
463
  font-size: 10pt; }
464
464
 
465
- h1 {
465
+ h1, .h1 {
466
466
  mso-style-priority: 1;
467
467
  mso-style-unhide: no;
468
468
  mso-style-qformat: yes;
@@ -477,14 +477,12 @@ h1 {
477
477
  text-indent: -39.7pt;
478
478
  mso-pagination: widow-orphan lines-together;
479
479
  page-break-after: avoid;
480
- mso-outline-level: 1;
481
480
  tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
482
481
  mso-layout-grid-align: none;
483
482
  punctuation-wrap: simple;
484
483
  text-autospace: none;
485
484
  font-size: {{normalfontsize}};
486
485
  mso-bidi-font-size: 10.0pt;
487
- mso-list: l1 level1 lfo6;
488
486
  mso-hyphenate: none;
489
487
  font-family: {{headerfont}};
490
488
  mso-fareast-font-family: {{headerfont}};
@@ -498,6 +496,10 @@ h1 {
498
496
  mso-fareast-language: JA;
499
497
  mso-bidi-font-weight: normal; }
500
498
 
499
+ h1 {
500
+ mso-outline-level: 1;
501
+ mso-list: l1 level1 lfo6; }
502
+
501
503
  p.supertitle {
502
504
  mso-style-priority: 1;
503
505
  mso-style-unhide: no;
@@ -648,7 +650,7 @@ h1.Annex {
648
650
  mso-fareast-language: JA;
649
651
  mso-bidi-font-weight: normal; }
650
652
 
651
- h2 {
653
+ h2, .h2 {
652
654
  mso-style-priority: 2;
653
655
  mso-style-unhide: no;
654
656
  mso-style-qformat: yes;
@@ -664,8 +666,6 @@ h2 {
664
666
  text-indent: -39.7pt;
665
667
  mso-pagination: widow-orphan lines-together;
666
668
  page-break-after: avoid;
667
- mso-outline-level: 2;
668
- mso-list: l1 level2 lfo6;
669
669
  mso-hyphenate: none;
670
670
  tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
671
671
  punctuation-wrap: simple;
@@ -680,7 +680,11 @@ h2 {
680
680
  mso-fareast-language: JA;
681
681
  mso-bidi-font-weight: normal; }
682
682
 
683
- h3 {
683
+ h2 {
684
+ mso-outline-level: 2;
685
+ mso-list: l1 level2 lfo6; }
686
+
687
+ h3, .h3 {
684
688
  mso-style-priority: 3;
685
689
  mso-style-unhide: no;
686
690
  mso-style-qformat: yes;
@@ -696,8 +700,6 @@ h3 {
696
700
  text-indent: -39.7pt;
697
701
  mso-pagination: widow-orphan lines-together;
698
702
  page-break-after: avoid;
699
- mso-outline-level: 3;
700
- mso-list: l1 level3 lfo6;
701
703
  mso-hyphenate: none;
702
704
  tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
703
705
  font-size: {{normalfontsize}};
@@ -710,7 +712,11 @@ h3 {
710
712
  mso-fareast-language: JA;
711
713
  mso-bidi-font-weight: normal; }
712
714
 
713
- h4 {
715
+ h3 {
716
+ mso-outline-level: 3;
717
+ mso-list: l1 level3 lfo6; }
718
+
719
+ h4, .h4 {
714
720
  mso-style-priority: 4;
715
721
  mso-style-unhide: no;
716
722
  mso-style-qformat: yes;
@@ -726,8 +732,6 @@ h4 {
726
732
  text-indent: -51.05pt;
727
733
  mso-pagination: widow-orphan lines-together;
728
734
  page-break-after: avoid;
729
- mso-outline-level: 4;
730
- mso-list: l1 level4 lfo6;
731
735
  mso-hyphenate: none;
732
736
  tab-stops: 51.05pt 59.55pt 79.4pt 99.25pt;
733
737
  mso-layout-grid-align: none;
@@ -743,7 +747,11 @@ h4 {
743
747
  mso-fareast-language: JA;
744
748
  mso-bidi-font-weight: normal; }
745
749
 
746
- h5 {
750
+ h4 {
751
+ mso-outline-level: 4;
752
+ mso-list: l1 level4 lfo6; }
753
+
754
+ h5, .h5 {
747
755
  mso-style-priority: 5;
748
756
  mso-style-unhide: no;
749
757
  mso-style-qformat: yes;
@@ -759,8 +767,6 @@ h5 {
759
767
  text-indent: -51.05pt;
760
768
  mso-pagination: widow-orphan lines-together;
761
769
  page-break-after: avoid;
762
- mso-outline-level: 5;
763
- mso-list: l1 level5 lfo6;
764
770
  mso-hyphenate: none;
765
771
  tab-stops: 51.05pt 59.55pt 79.4pt 99.25pt;
766
772
  mso-layout-grid-align: none;
@@ -776,7 +782,11 @@ h5 {
776
782
  mso-fareast-language: JA;
777
783
  mso-bidi-font-weight: normal; }
778
784
 
779
- h6 {
785
+ h5 {
786
+ mso-outline-level: 5;
787
+ mso-list: l1 level5 lfo6; }
788
+
789
+ h6, .h6 {
780
790
  mso-style-priority: 6;
781
791
  mso-style-unhide: no;
782
792
  mso-style-qformat: yes;
@@ -792,14 +802,12 @@ h6 {
792
802
  text-indent: -79.4pt;
793
803
  mso-pagination: widow-orphan lines-together;
794
804
  page-break-after: avoid;
795
- mso-outline-level: 6;
796
805
  tab-stops: 79.4pt 99.25pt;
797
806
  mso-layout-grid-align: none;
798
807
  punctuation-wrap: simple;
799
808
  text-autospace: none;
800
809
  font-size: {{normalfontsize}};
801
810
  mso-bidi-font-size: 10.0pt;
802
- mso-list: l1 level6 lfo6;
803
811
  mso-hyphenate: none;
804
812
  font-family: {{headerfont}};
805
813
  color: black;
@@ -809,6 +817,10 @@ h6 {
809
817
  mso-fareast-language: JA;
810
818
  mso-bidi-font-weight: normal; }
811
819
 
820
+ h6 {
821
+ mso-outline-level: 6;
822
+ mso-list: l1 level6 lfo6; }
823
+
812
824
  p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 {
813
825
  mso-style-unhide: no;
814
826
  mso-style-qformat: yes;
@@ -430,7 +430,7 @@ div.pseudocode, p.pseudocode, li.pseudocode
430
430
  font-size:10pt;}
431
431
 
432
432
 
433
- h1
433
+ h1, .h1
434
434
  {mso-style-priority:1;
435
435
  mso-style-unhide:no;
436
436
  mso-style-qformat:yes;
@@ -445,14 +445,12 @@ h1
445
445
  text-indent:-39.7pt;
446
446
  mso-pagination:widow-orphan lines-together;
447
447
  page-break-after:avoid;
448
- mso-outline-level:1;
449
448
  tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
450
449
  mso-layout-grid-align:none;
451
450
  punctuation-wrap:simple;
452
451
  text-autospace:none;
453
452
  font-size:$normalfontsize;
454
453
  mso-bidi-font-size:10.0pt;
455
- mso-list:l1 level1 lfo6;
456
454
  mso-hyphenate:none;
457
455
  font-family:$headerfont;
458
456
  mso-fareast-font-family:$headerfont;
@@ -465,6 +463,10 @@ h1
465
463
  mso-ansi-language:EN-GB;
466
464
  mso-fareast-language:JA;
467
465
  mso-bidi-font-weight:normal;}
466
+ h1 {
467
+ mso-outline-level:1;
468
+ mso-list:l1 level1 lfo6;
469
+ }
468
470
  p.supertitle
469
471
  {mso-style-priority:1;
470
472
  mso-style-unhide:no;
@@ -612,7 +614,7 @@ h1.Annex {
612
614
  mso-ansi-language:EN-GB;
613
615
  mso-fareast-language:JA;
614
616
  mso-bidi-font-weight:normal;}
615
- h2
617
+ h2, .h2
616
618
  {mso-style-priority:2;
617
619
  mso-style-unhide:no;
618
620
  mso-style-qformat:yes;
@@ -628,8 +630,6 @@ h2
628
630
  text-indent:-39.7pt;
629
631
  mso-pagination:widow-orphan lines-together;
630
632
  page-break-after:avoid;
631
- mso-outline-level:2;
632
- mso-list:l1 level2 lfo6;
633
633
  mso-hyphenate:none;
634
634
  tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
635
635
  punctuation-wrap:simple;
@@ -643,7 +643,11 @@ h2
643
643
  mso-ansi-language:EN-GB;
644
644
  mso-fareast-language:JA;
645
645
  mso-bidi-font-weight:normal;}
646
- h3
646
+ h2 {
647
+ mso-outline-level:2;
648
+ mso-list:l1 level2 lfo6;
649
+ }
650
+ h3, .h3
647
651
  {mso-style-priority:3;
648
652
  mso-style-unhide:no;
649
653
  mso-style-qformat:yes;
@@ -659,8 +663,6 @@ h3
659
663
  text-indent:-39.7pt;
660
664
  mso-pagination:widow-orphan lines-together;
661
665
  page-break-after:avoid;
662
- mso-outline-level:3;
663
- mso-list:l1 level3 lfo6;
664
666
  mso-hyphenate:none;
665
667
  tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
666
668
  font-size:$normalfontsize;
@@ -672,7 +674,11 @@ h3
672
674
  mso-ansi-language:EN-GB;
673
675
  mso-fareast-language:JA;
674
676
  mso-bidi-font-weight:normal;}
675
- h4
677
+ h3 {
678
+ mso-outline-level:3;
679
+ mso-list:l1 level3 lfo6;
680
+ }
681
+ h4, .h4
676
682
  {mso-style-priority:4;
677
683
  mso-style-unhide:no;
678
684
  mso-style-qformat:yes;
@@ -688,8 +694,6 @@ h4
688
694
  text-indent:-51.05pt;
689
695
  mso-pagination:widow-orphan lines-together;
690
696
  page-break-after:avoid;
691
- mso-outline-level:4;
692
- mso-list:l1 level4 lfo6;
693
697
  mso-hyphenate:none;
694
698
  tab-stops:51.05pt 59.55pt 79.4pt 99.25pt;
695
699
  mso-layout-grid-align:none;
@@ -704,7 +708,11 @@ h4
704
708
  mso-ansi-language:EN-GB;
705
709
  mso-fareast-language:JA;
706
710
  mso-bidi-font-weight:normal;}
707
- h5
711
+ h4 {
712
+ mso-outline-level:4;
713
+ mso-list:l1 level4 lfo6;
714
+ }
715
+ h5, .h5
708
716
  {mso-style-priority:5;
709
717
  mso-style-unhide:no;
710
718
  mso-style-qformat:yes;
@@ -720,8 +728,6 @@ h5
720
728
  text-indent:-51.05pt;
721
729
  mso-pagination:widow-orphan lines-together;
722
730
  page-break-after:avoid;
723
- mso-outline-level:5;
724
- mso-list:l1 level5 lfo6;
725
731
  mso-hyphenate:none;
726
732
  tab-stops:51.05pt 59.55pt 79.4pt 99.25pt;
727
733
  mso-layout-grid-align:none;
@@ -736,7 +742,11 @@ h5
736
742
  mso-ansi-language:EN-GB;
737
743
  mso-fareast-language:JA;
738
744
  mso-bidi-font-weight:normal;}
739
- h6
745
+ h5 {
746
+ mso-outline-level:5;
747
+ mso-list:l1 level5 lfo6;
748
+ }
749
+ h6, .h6
740
750
  {mso-style-priority:6;
741
751
  mso-style-unhide:no;
742
752
  mso-style-qformat:yes;
@@ -752,14 +762,12 @@ h6
752
762
  text-indent:-79.4pt;
753
763
  mso-pagination:widow-orphan lines-together;
754
764
  page-break-after:avoid;
755
- mso-outline-level:6;
756
765
  tab-stops:79.4pt 99.25pt;
757
766
  mso-layout-grid-align:none;
758
767
  punctuation-wrap:simple;
759
768
  text-autospace:none;
760
769
  font-size:$normalfontsize;
761
770
  mso-bidi-font-size:10.0pt;
762
- mso-list:l1 level6 lfo6;
763
771
  mso-hyphenate:none;
764
772
  font-family:$headerfont;
765
773
  color:black;
@@ -768,6 +776,10 @@ h6
768
776
  mso-ansi-language:EN-GB;
769
777
  mso-fareast-language:JA;
770
778
  mso-bidi-font-weight:normal;}
779
+ h6 {
780
+ mso-outline-level:6;
781
+ mso-list:l1 level6 lfo6;
782
+ }
771
783
  p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
772
784
  {mso-style-unhide:no;
773
785
  mso-style-qformat:yes;
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1636,7 +1636,7 @@
1636
1636
  </fo:block>
1637
1637
  </xsl:template>
1638
1638
 
1639
- <xsl:template match="itu:title">
1639
+ <xsl:template match="itu:title" name="title">
1640
1640
 
1641
1641
  <xsl:variable name="level">
1642
1642
  <xsl:call-template name="getLevel"/>
@@ -4607,6 +4607,7 @@
4607
4607
  </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
4608
4608
  <xsl:apply-templates/>
4609
4609
  </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
4610
+ <xsl:apply-templates select="@language"/>
4610
4611
  <xsl:apply-templates/>
4611
4612
  </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
4612
4613
  <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
@@ -6815,6 +6816,49 @@
6815
6816
  </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
6816
6817
  <!-- 0xA0 to space replacement -->
6817
6818
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
6819
+ </xsl:template><xsl:variable name="ul_labels_">
6820
+
6821
+
6822
+
6823
+
6824
+
6825
+
6826
+
6827
+
6828
+
6829
+
6830
+
6831
+
6832
+
6833
+
6834
+
6835
+
6836
+
6837
+ </xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
6838
+ <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
6839
+ <xsl:variable name="list_level">
6840
+ <xsl:choose>
6841
+ <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
6842
+ <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
6843
+ </xsl:choose>
6844
+ </xsl:variable>
6845
+ <xsl:choose>
6846
+ <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
6847
+ <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
6848
+ </xsl:when>
6849
+ <xsl:when test="$list_level mod 3 = 0">
6850
+ <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
6851
+ </xsl:when>
6852
+ <xsl:when test="$list_level mod 2 = 0">
6853
+ <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
6854
+ </xsl:when>
6855
+ <xsl:otherwise>
6856
+ <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
6857
+ </xsl:otherwise>
6858
+ </xsl:choose>
6859
+ </xsl:template><xsl:template match="label" mode="ul_labels">
6860
+ <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
6861
+ <xsl:value-of select="."/>
6818
6862
  </xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
6819
6863
  <xsl:choose>
6820
6864
  <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
@@ -7268,6 +7312,10 @@
7268
7312
  </svg>
7269
7313
  </fo:instream-foreign-object>
7270
7314
  </fo:inline>
7315
+ </xsl:template><xsl:template match="@language">
7316
+ <xsl:copy-of select="."/>
7317
+ </xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
7318
+ <xsl:call-template name="title"/>
7271
7319
  </xsl:template><xsl:template name="convertDate">
7272
7320
  <xsl:param name="date"/>
7273
7321
  <xsl:param name="format" select="'short'"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "1.4.4".freeze
3
+ VERSION = "1.4.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2021-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities