metanorma-itu 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/itu/itu.implementers-guide.xsl +191 -33
- data/lib/isodoc/itu/itu.in-force.xsl +191 -33
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +191 -33
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +191 -33
- data/lib/isodoc/itu/itu.recommendation.xsl +191 -33
- data/lib/isodoc/itu/itu.resolution.xsl +191 -33
- data/lib/isodoc/itu/itu.service-publication.xsl +191 -33
- data/lib/isodoc/itu/itu.technical-paper.xsl +191 -33
- data/lib/isodoc/itu/itu.technical-report.xsl +191 -33
- data/lib/metanorma/itu/biblio.rng +102 -5
- data/lib/metanorma/itu/isodoc.rng +7 -0
- data/lib/metanorma/itu/version.rb +1 -1
- metadata +3 -3
@@ -1687,7 +1687,7 @@
|
|
1687
1687
|
</xsl:choose>
|
1688
1688
|
</xsl:variable>
|
1689
1689
|
<xsl:element name="{$element-name}">
|
1690
|
-
<xsl:attribute name="font-family">Courier New
|
1690
|
+
<xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
1691
1691
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1692
1692
|
<xsl:if test="local-name(..) != 'dt' and not(ancestor::itu:dd) and not(ancestor::itu:title)">
|
1693
1693
|
<xsl:attribute name="text-align">center</xsl:attribute>
|
@@ -2196,7 +2196,7 @@
|
|
2196
2196
|
<xsl:value-of select="$titles/*[local-name() = $name][@lang = 'en']"/>
|
2197
2197
|
</xsl:otherwise>
|
2198
2198
|
</xsl:choose>
|
2199
|
-
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:attribute-set name="root-style">
|
2199
|
+
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable name="font_noto_sans">Noto Sans, Noto Sans HK, Noto Sans JP, Noto Sans KR, Noto Sans SC, Noto Sans TC</xsl:variable><xsl:variable name="font_noto_sans_mono">Noto Sans Mono, Noto Sans Mono CJK HK, Noto Sans Mono CJK JP, Noto Sans Mono CJK KR, Noto Sans Mono CJK SC, Noto Sans Mono CJK TC</xsl:variable><xsl:variable name="font_noto_serif">Noto Serif, Noto Serif HK, Noto Serif JP, Noto Serif KR, Noto Serif SC, Noto Serif TC</xsl:variable><xsl:attribute-set name="root-style">
|
2200
2200
|
|
2201
2201
|
|
2202
2202
|
|
@@ -2206,7 +2206,9 @@
|
|
2206
2206
|
|
2207
2207
|
|
2208
2208
|
|
2209
|
-
|
2209
|
+
|
2210
|
+
<xsl:attribute name="font-family">Times New Roman, STIX Two Math, <xsl:value-of select="$font_noto_serif"/></xsl:attribute>
|
2211
|
+
<xsl:attribute name="font-family-generic">Serif</xsl:attribute>
|
2210
2212
|
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
2211
2213
|
|
2212
2214
|
|
@@ -2227,17 +2229,60 @@
|
|
2227
2229
|
</xsl:variable>
|
2228
2230
|
<xsl:variable name="additional_fonts" select="normalize-space($additional_fonts_)"/>
|
2229
2231
|
|
2232
|
+
<xsl:variable name="font_family_generic" select="$root-style_/root-style/@font-family-generic"/>
|
2233
|
+
|
2230
2234
|
<xsl:for-each select="$root-style_/root-style/@*">
|
2235
|
+
|
2231
2236
|
<xsl:choose>
|
2232
|
-
<xsl:when test="local-name() = 'font-family'
|
2237
|
+
<xsl:when test="local-name() = 'font-family-generic'"><!-- skip, it's using for determine 'sans' or 'serif' --></xsl:when>
|
2238
|
+
<xsl:when test="local-name() = 'font-family'">
|
2239
|
+
|
2240
|
+
<xsl:variable name="font_regional_prefix">
|
2241
|
+
<xsl:choose>
|
2242
|
+
<xsl:when test="$font_family_generic = 'Sans'">Noto Sans</xsl:when>
|
2243
|
+
<xsl:otherwise>Noto Serif</xsl:otherwise>
|
2244
|
+
</xsl:choose>
|
2245
|
+
</xsl:variable>
|
2246
|
+
|
2233
2247
|
<xsl:attribute name="{local-name()}">
|
2234
|
-
|
2248
|
+
|
2249
|
+
<xsl:variable name="font_extended">
|
2250
|
+
<xsl:choose>
|
2251
|
+
<xsl:when test="$lang = 'zh'"><xsl:value-of select="$font_regional_prefix"/> SC</xsl:when>
|
2252
|
+
<xsl:when test="$lang = 'hk'"><xsl:value-of select="$font_regional_prefix"/> HK</xsl:when>
|
2253
|
+
<xsl:when test="$lang = 'jp'"><xsl:value-of select="$font_regional_prefix"/> JP</xsl:when>
|
2254
|
+
<xsl:when test="$lang = 'kr'"><xsl:value-of select="$font_regional_prefix"/> KR</xsl:when>
|
2255
|
+
<xsl:when test="$lang = 'sc'"><xsl:value-of select="$font_regional_prefix"/> SC</xsl:when>
|
2256
|
+
<xsl:when test="$lang = 'tc'"><xsl:value-of select="$font_regional_prefix"/> TC</xsl:when>
|
2257
|
+
</xsl:choose>
|
2258
|
+
</xsl:variable>
|
2259
|
+
<xsl:if test="normalize-space($font_extended) != ''">
|
2260
|
+
<xsl:value-of select="$font_regional_prefix"/><xsl:text>, </xsl:text>
|
2261
|
+
<xsl:value-of select="$font_extended"/><xsl:text>, </xsl:text>
|
2262
|
+
</xsl:if>
|
2263
|
+
|
2264
|
+
<xsl:value-of select="."/>
|
2265
|
+
|
2266
|
+
<xsl:if test="$additional_fonts != ''">
|
2267
|
+
<xsl:text>, </xsl:text><xsl:value-of select="$additional_fonts"/>
|
2268
|
+
</xsl:if>
|
2235
2269
|
</xsl:attribute>
|
2236
2270
|
</xsl:when>
|
2237
2271
|
<xsl:otherwise>
|
2238
2272
|
<xsl:copy-of select="."/>
|
2239
2273
|
</xsl:otherwise>
|
2240
2274
|
</xsl:choose>
|
2275
|
+
|
2276
|
+
<!-- <xsl:choose>
|
2277
|
+
<xsl:when test="local-name() = 'font-family'">
|
2278
|
+
<xsl:attribute name="{local-name()}">
|
2279
|
+
<xsl:value-of select="."/>, <xsl:value-of select="$additional_fonts"/>
|
2280
|
+
</xsl:attribute>
|
2281
|
+
</xsl:when>
|
2282
|
+
<xsl:otherwise>
|
2283
|
+
<xsl:copy-of select="."/>
|
2284
|
+
</xsl:otherwise>
|
2285
|
+
</xsl:choose> -->
|
2241
2286
|
</xsl:for-each>
|
2242
2287
|
</xsl:template><xsl:attribute-set name="copyright-statement-style">
|
2243
2288
|
|
@@ -2313,7 +2358,8 @@
|
|
2313
2358
|
|
2314
2359
|
|
2315
2360
|
|
2316
|
-
|
2361
|
+
|
2362
|
+
<xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
|
2317
2363
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
2318
2364
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2319
2365
|
|
@@ -2358,6 +2404,7 @@
|
|
2358
2404
|
|
2359
2405
|
|
2360
2406
|
|
2407
|
+
|
2361
2408
|
|
2362
2409
|
</xsl:attribute-set><xsl:attribute-set name="example-style">
|
2363
2410
|
|
@@ -2366,6 +2413,7 @@
|
|
2366
2413
|
|
2367
2414
|
|
2368
2415
|
|
2416
|
+
|
2369
2417
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2370
2418
|
<xsl:attribute name="margin-top">12pt</xsl:attribute>
|
2371
2419
|
|
@@ -2390,6 +2438,7 @@
|
|
2390
2438
|
|
2391
2439
|
|
2392
2440
|
|
2441
|
+
|
2393
2442
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2394
2443
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2395
2444
|
|
@@ -2432,6 +2481,7 @@
|
|
2432
2481
|
|
2433
2482
|
</xsl:attribute-set><xsl:variable name="table-border_">
|
2434
2483
|
|
2484
|
+
|
2435
2485
|
</xsl:variable><xsl:variable name="table-border" select="normalize-space($table-border_)"/><xsl:attribute-set name="table-container-style">
|
2436
2486
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2437
2487
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
@@ -2445,6 +2495,7 @@
|
|
2445
2495
|
|
2446
2496
|
|
2447
2497
|
|
2498
|
+
|
2448
2499
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2449
2500
|
<xsl:attribute name="space-after">18pt</xsl:attribute>
|
2450
2501
|
|
@@ -2483,6 +2534,7 @@
|
|
2483
2534
|
|
2484
2535
|
|
2485
2536
|
|
2537
|
+
|
2486
2538
|
|
2487
2539
|
</xsl:attribute-set><xsl:attribute-set name="table-name-style">
|
2488
2540
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
@@ -2494,6 +2546,7 @@
|
|
2494
2546
|
|
2495
2547
|
|
2496
2548
|
|
2549
|
+
|
2497
2550
|
|
2498
2551
|
|
2499
2552
|
|
@@ -2558,6 +2611,7 @@
|
|
2558
2611
|
|
2559
2612
|
|
2560
2613
|
|
2614
|
+
|
2561
2615
|
<xsl:attribute name="display-align">before</xsl:attribute>
|
2562
2616
|
|
2563
2617
|
|
@@ -2578,7 +2632,7 @@
|
|
2578
2632
|
|
2579
2633
|
|
2580
2634
|
|
2581
|
-
|
2635
|
+
|
2582
2636
|
|
2583
2637
|
|
2584
2638
|
|
@@ -2593,6 +2647,7 @@
|
|
2593
2647
|
|
2594
2648
|
|
2595
2649
|
|
2650
|
+
|
2596
2651
|
</xsl:attribute-set><xsl:attribute-set name="table-fn-style">
|
2597
2652
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2598
2653
|
|
@@ -2601,6 +2656,8 @@
|
|
2601
2656
|
|
2602
2657
|
|
2603
2658
|
|
2659
|
+
|
2660
|
+
|
2604
2661
|
<xsl:attribute name="margin-bottom">2pt</xsl:attribute>
|
2605
2662
|
<xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
|
2606
2663
|
<xsl:attribute name="text-indent">-5mm</xsl:attribute>
|
@@ -2617,6 +2674,7 @@
|
|
2617
2674
|
|
2618
2675
|
|
2619
2676
|
|
2677
|
+
|
2620
2678
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2621
2679
|
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
2622
2680
|
<xsl:attribute name="font-size">70%</xsl:attribute>
|
@@ -2657,6 +2715,7 @@
|
|
2657
2715
|
|
2658
2716
|
|
2659
2717
|
|
2718
|
+
|
2660
2719
|
</xsl:attribute-set><xsl:attribute-set name="dl-name-style">
|
2661
2720
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2662
2721
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
@@ -2667,6 +2726,7 @@
|
|
2667
2726
|
|
2668
2727
|
|
2669
2728
|
|
2729
|
+
|
2670
2730
|
|
2671
2731
|
|
2672
2732
|
|
@@ -2711,6 +2771,7 @@
|
|
2711
2771
|
|
2712
2772
|
|
2713
2773
|
|
2774
|
+
|
2714
2775
|
|
2715
2776
|
|
2716
2777
|
|
@@ -2778,6 +2839,8 @@
|
|
2778
2839
|
|
2779
2840
|
|
2780
2841
|
|
2842
|
+
</xsl:attribute-set><xsl:attribute-set name="termnote-p-style">
|
2843
|
+
|
2781
2844
|
</xsl:attribute-set><xsl:attribute-set name="quote-style">
|
2782
2845
|
<xsl:attribute name="margin-left">12mm</xsl:attribute>
|
2783
2846
|
<xsl:attribute name="margin-right">12mm</xsl:attribute>
|
@@ -2820,6 +2883,7 @@
|
|
2820
2883
|
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
2821
2884
|
|
2822
2885
|
|
2886
|
+
|
2823
2887
|
|
2824
2888
|
|
2825
2889
|
|
@@ -2863,6 +2927,7 @@
|
|
2863
2927
|
|
2864
2928
|
|
2865
2929
|
|
2930
|
+
|
2866
2931
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2867
2932
|
|
2868
2933
|
|
@@ -2894,17 +2959,17 @@
|
|
2894
2959
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2895
2960
|
|
2896
2961
|
</xsl:attribute-set><xsl:attribute-set name="image-graphic-style">
|
2962
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
2963
|
+
<xsl:attribute name="content-height">100%</xsl:attribute>
|
2964
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
2897
2965
|
|
2898
2966
|
|
2899
2967
|
|
2900
2968
|
|
2901
2969
|
|
2902
2970
|
<xsl:attribute name="width">75%</xsl:attribute>
|
2903
|
-
<xsl:attribute name="content-height">100%</xsl:attribute>
|
2904
2971
|
<xsl:attribute name="content-width">scale-to-fit</xsl:attribute>
|
2905
|
-
|
2906
|
-
|
2907
|
-
|
2972
|
+
|
2908
2973
|
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
2909
2974
|
|
2910
2975
|
|
@@ -2985,6 +3050,7 @@
|
|
2985
3050
|
|
2986
3051
|
|
2987
3052
|
|
3053
|
+
|
2988
3054
|
</xsl:attribute-set><xsl:attribute-set name="list-name-style">
|
2989
3055
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2990
3056
|
|
@@ -3043,6 +3109,7 @@
|
|
3043
3109
|
|
3044
3110
|
|
3045
3111
|
|
3112
|
+
|
3046
3113
|
<xsl:attribute name="font-size">60%</xsl:attribute>
|
3047
3114
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
3048
3115
|
|
@@ -3067,6 +3134,7 @@
|
|
3067
3134
|
|
3068
3135
|
|
3069
3136
|
|
3137
|
+
|
3070
3138
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
3071
3139
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
3072
3140
|
<xsl:attribute name="text-align">justify</xsl:attribute>
|
@@ -3091,6 +3159,7 @@
|
|
3091
3159
|
|
3092
3160
|
|
3093
3161
|
|
3162
|
+
|
3094
3163
|
<xsl:attribute name="font-size">85%</xsl:attribute>
|
3095
3164
|
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
3096
3165
|
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
@@ -3118,7 +3187,11 @@
|
|
3118
3187
|
|
3119
3188
|
|
3120
3189
|
|
3190
|
+
|
3121
3191
|
</xsl:attribute-set><xsl:attribute-set name="admonition-container-style">
|
3192
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
3193
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
3194
|
+
|
3122
3195
|
|
3123
3196
|
|
3124
3197
|
|
@@ -3156,6 +3229,7 @@
|
|
3156
3229
|
|
3157
3230
|
|
3158
3231
|
|
3232
|
+
|
3159
3233
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-style">
|
3160
3234
|
|
3161
3235
|
|
@@ -3193,6 +3267,7 @@
|
|
3193
3267
|
|
3194
3268
|
|
3195
3269
|
|
3270
|
+
|
3196
3271
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-style">
|
3197
3272
|
|
3198
3273
|
|
@@ -3216,6 +3291,7 @@
|
|
3216
3291
|
|
3217
3292
|
|
3218
3293
|
|
3294
|
+
|
3219
3295
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
|
3220
3296
|
|
3221
3297
|
|
@@ -3243,6 +3319,7 @@
|
|
3243
3319
|
|
3244
3320
|
|
3245
3321
|
|
3322
|
+
|
3246
3323
|
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
3247
3324
|
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
3248
3325
|
|
@@ -3264,6 +3341,7 @@
|
|
3264
3341
|
|
3265
3342
|
|
3266
3343
|
|
3344
|
+
|
3267
3345
|
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
3268
3346
|
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
3269
3347
|
|
@@ -3285,6 +3363,7 @@
|
|
3285
3363
|
|
3286
3364
|
|
3287
3365
|
|
3366
|
+
|
3288
3367
|
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
3289
3368
|
|
3290
3369
|
|
@@ -3732,6 +3811,8 @@
|
|
3732
3811
|
|
3733
3812
|
|
3734
3813
|
|
3814
|
+
|
3815
|
+
|
3735
3816
|
<xsl:if test="$doctype = 'service-publication' and $lang != 'ar'">
|
3736
3817
|
<xsl:attribute name="font-family">Calibri</xsl:attribute>
|
3737
3818
|
</xsl:if>
|
@@ -3768,6 +3849,8 @@
|
|
3768
3849
|
|
3769
3850
|
|
3770
3851
|
|
3852
|
+
|
3853
|
+
|
3771
3854
|
<xsl:if test="$doctype = 'service-publication'">
|
3772
3855
|
<xsl:attribute name="border">1pt solid rgb(211,211,211)</xsl:attribute>
|
3773
3856
|
</xsl:if>
|
@@ -3921,23 +4004,29 @@
|
|
3921
4004
|
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']">
|
3922
4005
|
<xsl:param name="continued"/>
|
3923
4006
|
<xsl:if test="normalize-space() != ''">
|
3924
|
-
|
3925
|
-
|
3926
|
-
|
3927
|
-
|
3928
|
-
|
4007
|
+
|
4008
|
+
|
3929
4009
|
|
3930
|
-
|
3931
|
-
|
4010
|
+
<fo:block xsl:use-attribute-sets="table-name-style">
|
4011
|
+
|
3932
4012
|
|
3933
|
-
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3937
|
-
|
3938
|
-
|
4013
|
+
|
4014
|
+
|
4015
|
+
|
4016
|
+
<xsl:choose>
|
4017
|
+
<xsl:when test="$continued = 'true'">
|
4018
|
+
|
4019
|
+
</xsl:when>
|
4020
|
+
<xsl:otherwise>
|
4021
|
+
<xsl:apply-templates/>
|
4022
|
+
</xsl:otherwise>
|
4023
|
+
</xsl:choose>
|
4024
|
+
|
4025
|
+
|
4026
|
+
</fo:block>
|
4027
|
+
|
3939
4028
|
|
3940
|
-
|
4029
|
+
|
3941
4030
|
</xsl:if>
|
3942
4031
|
</xsl:template><xsl:template name="calculate-columns-numbers">
|
3943
4032
|
<xsl:param name="table-row"/>
|
@@ -4335,12 +4424,18 @@
|
|
4335
4424
|
<fo:table-row>
|
4336
4425
|
<fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black">
|
4337
4426
|
|
4338
|
-
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
4339
|
-
<xsl:with-param name="continued">true</xsl:with-param>
|
4340
|
-
</xsl:apply-templates>
|
4341
4427
|
|
4342
4428
|
|
4343
4429
|
|
4430
|
+
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
4431
|
+
<xsl:with-param name="continued">true</xsl:with-param>
|
4432
|
+
</xsl:apply-templates>
|
4433
|
+
|
4434
|
+
|
4435
|
+
|
4436
|
+
|
4437
|
+
|
4438
|
+
|
4344
4439
|
</fo:table-cell>
|
4345
4440
|
</fo:table-row>
|
4346
4441
|
</xsl:template><xsl:template match="*[local-name()='thead']" mode="process_tbody">
|
@@ -4460,7 +4555,10 @@
|
|
4460
4555
|
|
4461
4556
|
|
4462
4557
|
<!-- fn processing -->
|
4463
|
-
|
4558
|
+
|
4559
|
+
<xsl:call-template name="table_fn_display"/>
|
4560
|
+
|
4561
|
+
|
4464
4562
|
|
4465
4563
|
<!-- for PAS display Notes after footnotes -->
|
4466
4564
|
|
@@ -4470,6 +4568,9 @@
|
|
4470
4568
|
</fo:table-body>
|
4471
4569
|
|
4472
4570
|
</fo:table>
|
4571
|
+
|
4572
|
+
|
4573
|
+
|
4473
4574
|
</xsl:if>
|
4474
4575
|
</xsl:template><xsl:template match="*[local-name()='tbody']">
|
4475
4576
|
|
@@ -4558,6 +4659,9 @@
|
|
4558
4659
|
|
4559
4660
|
|
4560
4661
|
|
4662
|
+
|
4663
|
+
|
4664
|
+
|
4561
4665
|
|
4562
4666
|
<xsl:if test="$doctype = 'service-publication'">
|
4563
4667
|
<xsl:attribute name="border-bottom">1.1pt solid black</xsl:attribute>
|
@@ -4581,6 +4685,8 @@
|
|
4581
4685
|
|
4582
4686
|
|
4583
4687
|
|
4688
|
+
|
4689
|
+
|
4584
4690
|
<xsl:call-template name="setTableRowAttributes"/>
|
4585
4691
|
<xsl:apply-templates/>
|
4586
4692
|
</fo:table-row>
|
@@ -4677,6 +4783,8 @@
|
|
4677
4783
|
|
4678
4784
|
|
4679
4785
|
|
4786
|
+
|
4787
|
+
|
4680
4788
|
<xsl:if test="ancestor::*[local-name()='preface']">
|
4681
4789
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
4682
4790
|
</xsl:if>
|
@@ -4756,7 +4864,11 @@
|
|
4756
4864
|
|
4757
4865
|
<xsl:variable name="gen_id" select="generate-id(.)"/>
|
4758
4866
|
<xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
|
4759
|
-
<xsl:variable name="
|
4867
|
+
<xsl:variable name="reference_">
|
4868
|
+
<xsl:value-of select="@reference"/>
|
4869
|
+
<xsl:if test="normalize-space(@reference) = ''"><xsl:value-of select="$gen_id"/></xsl:if>
|
4870
|
+
</xsl:variable>
|
4871
|
+
<xsl:variable name="reference" select="normalize-space($reference_)"/>
|
4760
4872
|
<!-- fn sequence number in document -->
|
4761
4873
|
<xsl:variable name="current_fn_number">
|
4762
4874
|
<xsl:choose>
|
@@ -4835,7 +4947,7 @@
|
|
4835
4947
|
<xsl:copy-of select="node()"/>
|
4836
4948
|
</fn>
|
4837
4949
|
</xsl:for-each>
|
4838
|
-
<xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='preface']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='sections']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='annex'] | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*">
|
4950
|
+
<xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='boilerplate']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='preface']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='sections']/* | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='annex'] | ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*">
|
4839
4951
|
<xsl:sort select="@displayorder" data-type="number"/>
|
4840
4952
|
<xsl:for-each select=".//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] | .//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])])][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
|
4841
4953
|
<!-- copy unique fn -->
|
@@ -6498,6 +6610,11 @@
|
|
6498
6610
|
</xsl:variable>
|
6499
6611
|
<fo:inline xsl:use-attribute-sets="link-style">
|
6500
6612
|
|
6613
|
+
<xsl:if test="starts-with(normalize-space(@target), 'mailto:')">
|
6614
|
+
<xsl:attribute name="keep-together.within-line">always</xsl:attribute>
|
6615
|
+
</xsl:if>
|
6616
|
+
|
6617
|
+
|
6501
6618
|
|
6502
6619
|
|
6503
6620
|
|
@@ -6766,7 +6883,19 @@
|
|
6766
6883
|
<xsl:value-of select="$suffix"/>
|
6767
6884
|
</xsl:if>
|
6768
6885
|
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
|
6769
|
-
<
|
6886
|
+
<xsl:variable name="num"><xsl:number/></xsl:variable>
|
6887
|
+
<xsl:choose>
|
6888
|
+
<xsl:when test="$num = 1"> <!-- first paragraph renders in the same line as titlenote name -->
|
6889
|
+
<fo:inline xsl:use-attribute-sets="termnote-p-style">
|
6890
|
+
<xsl:apply-templates/>
|
6891
|
+
</fo:inline>
|
6892
|
+
</xsl:when>
|
6893
|
+
<xsl:otherwise>
|
6894
|
+
<fo:block xsl:use-attribute-sets="termnote-p-style">
|
6895
|
+
<xsl:apply-templates/>
|
6896
|
+
</fo:block>
|
6897
|
+
</xsl:otherwise>
|
6898
|
+
</xsl:choose>
|
6770
6899
|
</xsl:template><xsl:template match="*[local-name() = 'terms']">
|
6771
6900
|
<!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
|
6772
6901
|
<fo:block id="{@id}">
|
@@ -7583,7 +7712,7 @@
|
|
7583
7712
|
</xsl:choose>
|
7584
7713
|
</xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="bookmarks"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'xref']" mode="contents">
|
7585
7714
|
<xsl:value-of select="."/>
|
7586
|
-
</xsl:template><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
7715
|
+
</xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
7587
7716
|
<xsl:text> </xsl:text>
|
7588
7717
|
</xsl:template><xsl:template match="*[local-name() = 'strong']" mode="contents_item">
|
7589
7718
|
<xsl:copy>
|
@@ -8422,6 +8551,7 @@
|
|
8422
8551
|
|
8423
8552
|
|
8424
8553
|
|
8554
|
+
|
8425
8555
|
<xsl:choose>
|
8426
8556
|
<xsl:when test="$depth = 5">7</xsl:when>
|
8427
8557
|
<xsl:when test="$depth = 4">10</xsl:when>
|
@@ -9413,12 +9543,16 @@
|
|
9413
9543
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">
|
9414
9544
|
|
9415
9545
|
|
9546
|
+
|
9547
|
+
|
9416
9548
|
|
9417
9549
|
|
9418
9550
|
|
9419
9551
|
<fo:block-container xsl:use-attribute-sets="admonition-container-style">
|
9420
9552
|
|
9421
9553
|
|
9554
|
+
|
9555
|
+
|
9422
9556
|
<fo:block xsl:use-attribute-sets="admonition-name-style">
|
9423
9557
|
<xsl:call-template name="displayAdmonitionName"/>
|
9424
9558
|
</fo:block>
|
@@ -9627,6 +9761,8 @@
|
|
9627
9761
|
</xsl:when>
|
9628
9762
|
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
9629
9763
|
</xsl:choose>
|
9764
|
+
</xsl:template><xsl:template match="*[local-name() = 'lang_none']">
|
9765
|
+
<fo:inline xml:lang="none"><xsl:value-of select="."/></fo:inline>
|
9630
9766
|
</xsl:template><xsl:template name="printEdition">
|
9631
9767
|
<xsl:variable name="edition_i18n" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'][normalize-space(@language) != ''])"/>
|
9632
9768
|
<xsl:text> </xsl:text>
|
@@ -9733,6 +9869,27 @@
|
|
9733
9869
|
</xsl:when>
|
9734
9870
|
<xsl:otherwise><xsl:value-of select="$monthStr_"/></xsl:otherwise>
|
9735
9871
|
</xsl:choose>
|
9872
|
+
</xsl:template><xsl:template name="getMonthLocalizedByNum">
|
9873
|
+
<xsl:param name="num"/>
|
9874
|
+
<xsl:variable name="monthStr">
|
9875
|
+
<xsl:choose>
|
9876
|
+
<xsl:when test="$num = '01'">january</xsl:when>
|
9877
|
+
<xsl:when test="$num = '02'">february</xsl:when>
|
9878
|
+
<xsl:when test="$num = '03'">march</xsl:when>
|
9879
|
+
<xsl:when test="$num = '04'">april</xsl:when>
|
9880
|
+
<xsl:when test="$num = '05'">may</xsl:when>
|
9881
|
+
<xsl:when test="$num = '06'">june</xsl:when>
|
9882
|
+
<xsl:when test="$num = '07'">july</xsl:when>
|
9883
|
+
<xsl:when test="$num = '08'">august</xsl:when>
|
9884
|
+
<xsl:when test="$num = '09'">september</xsl:when>
|
9885
|
+
<xsl:when test="$num = '10'">october</xsl:when>
|
9886
|
+
<xsl:when test="$num = '11'">november</xsl:when>
|
9887
|
+
<xsl:when test="$num = '12'">december</xsl:when>
|
9888
|
+
</xsl:choose>
|
9889
|
+
</xsl:variable>
|
9890
|
+
<xsl:call-template name="getLocalizedString">
|
9891
|
+
<xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param>
|
9892
|
+
</xsl:call-template>
|
9736
9893
|
</xsl:template><xsl:template name="insertKeywords">
|
9737
9894
|
<xsl:param name="sorting" select="'true'"/>
|
9738
9895
|
<xsl:param name="charAtEnd" select="'.'"/>
|
@@ -9925,6 +10082,7 @@
|
|
9925
10082
|
|
9926
10083
|
|
9927
10084
|
|
10085
|
+
|
9928
10086
|
<xsl:value-of select="document('')//*/namespace::itu"/>
|
9929
10087
|
|
9930
10088
|
|