metanorma-itu 2.1.2 → 2.1.5
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 +344 -121
- data/lib/isodoc/itu/itu.in-force.xsl +344 -121
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +344 -121
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +344 -121
- data/lib/isodoc/itu/itu.recommendation.xsl +344 -121
- data/lib/isodoc/itu/itu.resolution.xsl +344 -121
- data/lib/isodoc/itu/itu.service-publication.xsl +344 -121
- data/lib/isodoc/itu/itu.technical-paper.xsl +344 -121
- data/lib/isodoc/itu/itu.technical-report.xsl +344 -121
- data/lib/metanorma/itu/biblio.rng +102 -5
- data/lib/metanorma/itu/isodoc.rng +33 -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
|
|
@@ -2332,7 +2378,10 @@
|
|
2332
2378
|
|
2333
2379
|
</xsl:attribute-set><xsl:attribute-set name="requirement-style">
|
2334
2380
|
|
2381
|
+
|
2335
2382
|
</xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
|
2383
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2384
|
+
|
2336
2385
|
|
2337
2386
|
</xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
|
2338
2387
|
|
@@ -2358,6 +2407,7 @@
|
|
2358
2407
|
|
2359
2408
|
|
2360
2409
|
|
2410
|
+
|
2361
2411
|
|
2362
2412
|
</xsl:attribute-set><xsl:attribute-set name="example-style">
|
2363
2413
|
|
@@ -2366,6 +2416,7 @@
|
|
2366
2416
|
|
2367
2417
|
|
2368
2418
|
|
2419
|
+
|
2369
2420
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2370
2421
|
<xsl:attribute name="margin-top">12pt</xsl:attribute>
|
2371
2422
|
|
@@ -2390,6 +2441,7 @@
|
|
2390
2441
|
|
2391
2442
|
|
2392
2443
|
|
2444
|
+
|
2393
2445
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2394
2446
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2395
2447
|
|
@@ -2428,10 +2480,12 @@
|
|
2428
2480
|
|
2429
2481
|
|
2430
2482
|
|
2483
|
+
|
2431
2484
|
|
2432
2485
|
|
2433
2486
|
</xsl:attribute-set><xsl:variable name="table-border_">
|
2434
2487
|
|
2488
|
+
|
2435
2489
|
</xsl:variable><xsl:variable name="table-border" select="normalize-space($table-border_)"/><xsl:attribute-set name="table-container-style">
|
2436
2490
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2437
2491
|
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
@@ -2445,6 +2499,7 @@
|
|
2445
2499
|
|
2446
2500
|
|
2447
2501
|
|
2502
|
+
|
2448
2503
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2449
2504
|
<xsl:attribute name="space-after">18pt</xsl:attribute>
|
2450
2505
|
|
@@ -2483,6 +2538,7 @@
|
|
2483
2538
|
|
2484
2539
|
|
2485
2540
|
|
2541
|
+
|
2486
2542
|
|
2487
2543
|
</xsl:attribute-set><xsl:attribute-set name="table-name-style">
|
2488
2544
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
@@ -2494,6 +2550,7 @@
|
|
2494
2550
|
|
2495
2551
|
|
2496
2552
|
|
2553
|
+
|
2497
2554
|
|
2498
2555
|
|
2499
2556
|
|
@@ -2558,6 +2615,7 @@
|
|
2558
2615
|
|
2559
2616
|
|
2560
2617
|
|
2618
|
+
|
2561
2619
|
<xsl:attribute name="display-align">before</xsl:attribute>
|
2562
2620
|
|
2563
2621
|
|
@@ -2578,7 +2636,7 @@
|
|
2578
2636
|
|
2579
2637
|
|
2580
2638
|
|
2581
|
-
|
2639
|
+
|
2582
2640
|
|
2583
2641
|
|
2584
2642
|
|
@@ -2593,6 +2651,7 @@
|
|
2593
2651
|
|
2594
2652
|
|
2595
2653
|
|
2654
|
+
|
2596
2655
|
</xsl:attribute-set><xsl:attribute-set name="table-fn-style">
|
2597
2656
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2598
2657
|
|
@@ -2601,6 +2660,8 @@
|
|
2601
2660
|
|
2602
2661
|
|
2603
2662
|
|
2663
|
+
|
2664
|
+
|
2604
2665
|
<xsl:attribute name="margin-bottom">2pt</xsl:attribute>
|
2605
2666
|
<xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
|
2606
2667
|
<xsl:attribute name="text-indent">-5mm</xsl:attribute>
|
@@ -2617,6 +2678,7 @@
|
|
2617
2678
|
|
2618
2679
|
|
2619
2680
|
|
2681
|
+
|
2620
2682
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2621
2683
|
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
2622
2684
|
<xsl:attribute name="font-size">70%</xsl:attribute>
|
@@ -2657,6 +2719,7 @@
|
|
2657
2719
|
|
2658
2720
|
|
2659
2721
|
|
2722
|
+
|
2660
2723
|
</xsl:attribute-set><xsl:attribute-set name="dl-name-style">
|
2661
2724
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2662
2725
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
@@ -2667,6 +2730,7 @@
|
|
2667
2730
|
|
2668
2731
|
|
2669
2732
|
|
2733
|
+
|
2670
2734
|
|
2671
2735
|
|
2672
2736
|
|
@@ -2711,6 +2775,7 @@
|
|
2711
2775
|
|
2712
2776
|
|
2713
2777
|
|
2778
|
+
|
2714
2779
|
|
2715
2780
|
|
2716
2781
|
|
@@ -2751,7 +2816,8 @@
|
|
2751
2816
|
|
2752
2817
|
|
2753
2818
|
|
2754
|
-
|
2819
|
+
|
2820
|
+
|
2755
2821
|
|
2756
2822
|
|
2757
2823
|
|
@@ -2766,6 +2832,7 @@
|
|
2766
2832
|
</xsl:attribute-set><xsl:attribute-set name="termnote-style">
|
2767
2833
|
|
2768
2834
|
|
2835
|
+
|
2769
2836
|
|
2770
2837
|
|
2771
2838
|
|
@@ -2778,6 +2845,8 @@
|
|
2778
2845
|
|
2779
2846
|
|
2780
2847
|
|
2848
|
+
</xsl:attribute-set><xsl:attribute-set name="termnote-p-style">
|
2849
|
+
|
2781
2850
|
</xsl:attribute-set><xsl:attribute-set name="quote-style">
|
2782
2851
|
<xsl:attribute name="margin-left">12mm</xsl:attribute>
|
2783
2852
|
<xsl:attribute name="margin-right">12mm</xsl:attribute>
|
@@ -2820,6 +2889,7 @@
|
|
2820
2889
|
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
2821
2890
|
|
2822
2891
|
|
2892
|
+
|
2823
2893
|
|
2824
2894
|
|
2825
2895
|
|
@@ -2863,6 +2933,7 @@
|
|
2863
2933
|
|
2864
2934
|
|
2865
2935
|
|
2936
|
+
|
2866
2937
|
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2867
2938
|
|
2868
2939
|
|
@@ -2894,17 +2965,17 @@
|
|
2894
2965
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2895
2966
|
|
2896
2967
|
</xsl:attribute-set><xsl:attribute-set name="image-graphic-style">
|
2968
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
2969
|
+
<xsl:attribute name="content-height">100%</xsl:attribute>
|
2970
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
2897
2971
|
|
2898
2972
|
|
2899
2973
|
|
2900
2974
|
|
2901
2975
|
|
2902
2976
|
<xsl:attribute name="width">75%</xsl:attribute>
|
2903
|
-
<xsl:attribute name="content-height">100%</xsl:attribute>
|
2904
2977
|
<xsl:attribute name="content-width">scale-to-fit</xsl:attribute>
|
2905
|
-
|
2906
|
-
|
2907
|
-
|
2978
|
+
|
2908
2979
|
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
2909
2980
|
|
2910
2981
|
|
@@ -2985,6 +3056,7 @@
|
|
2985
3056
|
|
2986
3057
|
|
2987
3058
|
|
3059
|
+
|
2988
3060
|
</xsl:attribute-set><xsl:attribute-set name="list-name-style">
|
2989
3061
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
2990
3062
|
|
@@ -3043,6 +3115,7 @@
|
|
3043
3115
|
|
3044
3116
|
|
3045
3117
|
|
3118
|
+
|
3046
3119
|
<xsl:attribute name="font-size">60%</xsl:attribute>
|
3047
3120
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
3048
3121
|
|
@@ -3067,6 +3140,7 @@
|
|
3067
3140
|
|
3068
3141
|
|
3069
3142
|
|
3143
|
+
|
3070
3144
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
3071
3145
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
3072
3146
|
<xsl:attribute name="text-align">justify</xsl:attribute>
|
@@ -3091,6 +3165,7 @@
|
|
3091
3165
|
|
3092
3166
|
|
3093
3167
|
|
3168
|
+
|
3094
3169
|
<xsl:attribute name="font-size">85%</xsl:attribute>
|
3095
3170
|
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
3096
3171
|
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
@@ -3118,7 +3193,11 @@
|
|
3118
3193
|
|
3119
3194
|
|
3120
3195
|
|
3196
|
+
|
3121
3197
|
</xsl:attribute-set><xsl:attribute-set name="admonition-container-style">
|
3198
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
3199
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
3200
|
+
|
3122
3201
|
|
3123
3202
|
|
3124
3203
|
|
@@ -3156,6 +3235,7 @@
|
|
3156
3235
|
|
3157
3236
|
|
3158
3237
|
|
3238
|
+
|
3159
3239
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-style">
|
3160
3240
|
|
3161
3241
|
|
@@ -3186,6 +3266,10 @@
|
|
3186
3266
|
|
3187
3267
|
|
3188
3268
|
|
3269
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
3270
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
3271
|
+
<xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
|
3272
|
+
</xsl:if> -->
|
3189
3273
|
|
3190
3274
|
|
3191
3275
|
|
@@ -3216,9 +3300,11 @@
|
|
3216
3300
|
|
3217
3301
|
|
3218
3302
|
|
3303
|
+
|
3219
3304
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
|
3220
3305
|
|
3221
3306
|
|
3307
|
+
|
3222
3308
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
3223
3309
|
<xsl:attribute name="margin-left">14mm</xsl:attribute>
|
3224
3310
|
<xsl:attribute name="text-indent">-14mm</xsl:attribute>
|
@@ -3226,6 +3312,7 @@
|
|
3226
3312
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
|
3227
3313
|
|
3228
3314
|
|
3315
|
+
|
3229
3316
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
3230
3317
|
<xsl:attribute name="margin-left">14mm</xsl:attribute>
|
3231
3318
|
<xsl:attribute name="text-indent">-14mm</xsl:attribute>
|
@@ -3243,6 +3330,7 @@
|
|
3243
3330
|
|
3244
3331
|
|
3245
3332
|
|
3333
|
+
|
3246
3334
|
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
3247
3335
|
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
3248
3336
|
|
@@ -3264,6 +3352,7 @@
|
|
3264
3352
|
|
3265
3353
|
|
3266
3354
|
|
3355
|
+
|
3267
3356
|
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
3268
3357
|
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
3269
3358
|
|
@@ -3285,6 +3374,7 @@
|
|
3285
3374
|
|
3286
3375
|
|
3287
3376
|
|
3377
|
+
|
3288
3378
|
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
3289
3379
|
|
3290
3380
|
|
@@ -3732,6 +3822,8 @@
|
|
3732
3822
|
|
3733
3823
|
|
3734
3824
|
|
3825
|
+
|
3826
|
+
|
3735
3827
|
<xsl:if test="$doctype = 'service-publication' and $lang != 'ar'">
|
3736
3828
|
<xsl:attribute name="font-family">Calibri</xsl:attribute>
|
3737
3829
|
</xsl:if>
|
@@ -3768,6 +3860,8 @@
|
|
3768
3860
|
|
3769
3861
|
|
3770
3862
|
|
3863
|
+
|
3864
|
+
|
3771
3865
|
<xsl:if test="$doctype = 'service-publication'">
|
3772
3866
|
<xsl:attribute name="border">1pt solid rgb(211,211,211)</xsl:attribute>
|
3773
3867
|
</xsl:if>
|
@@ -3863,6 +3957,14 @@
|
|
3863
3957
|
|
3864
3958
|
|
3865
3959
|
|
3960
|
+
<xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
|
3961
|
+
<fo:block keep-with-previous="always" line-height="0.1">
|
3962
|
+
<xsl:for-each select="*[local-name()='bookmark']">
|
3963
|
+
<xsl:call-template name="bookmark"/>
|
3964
|
+
</xsl:for-each>
|
3965
|
+
</fo:block>
|
3966
|
+
</xsl:if>
|
3967
|
+
|
3866
3968
|
</fo:block-container>
|
3867
3969
|
</xsl:variable>
|
3868
3970
|
|
@@ -3921,23 +4023,29 @@
|
|
3921
4023
|
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']">
|
3922
4024
|
<xsl:param name="continued"/>
|
3923
4025
|
<xsl:if test="normalize-space() != ''">
|
3924
|
-
|
3925
|
-
|
3926
|
-
|
3927
|
-
|
3928
|
-
|
4026
|
+
|
4027
|
+
|
3929
4028
|
|
3930
|
-
|
3931
|
-
|
4029
|
+
<fo:block xsl:use-attribute-sets="table-name-style">
|
4030
|
+
|
3932
4031
|
|
3933
|
-
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3937
|
-
|
3938
|
-
|
4032
|
+
|
4033
|
+
|
4034
|
+
|
4035
|
+
<xsl:choose>
|
4036
|
+
<xsl:when test="$continued = 'true'">
|
4037
|
+
|
4038
|
+
</xsl:when>
|
4039
|
+
<xsl:otherwise>
|
4040
|
+
<xsl:apply-templates/>
|
4041
|
+
</xsl:otherwise>
|
4042
|
+
</xsl:choose>
|
4043
|
+
|
4044
|
+
|
4045
|
+
</fo:block>
|
4046
|
+
|
3939
4047
|
|
3940
|
-
|
4048
|
+
|
3941
4049
|
</xsl:if>
|
3942
4050
|
</xsl:template><xsl:template name="calculate-columns-numbers">
|
3943
4051
|
<xsl:param name="table-row"/>
|
@@ -4335,12 +4443,18 @@
|
|
4335
4443
|
<fo:table-row>
|
4336
4444
|
<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
4445
|
|
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
4446
|
|
4342
4447
|
|
4343
4448
|
|
4449
|
+
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
4450
|
+
<xsl:with-param name="continued">true</xsl:with-param>
|
4451
|
+
</xsl:apply-templates>
|
4452
|
+
|
4453
|
+
|
4454
|
+
|
4455
|
+
|
4456
|
+
|
4457
|
+
|
4344
4458
|
</fo:table-cell>
|
4345
4459
|
</fo:table-row>
|
4346
4460
|
</xsl:template><xsl:template match="*[local-name()='thead']" mode="process_tbody">
|
@@ -4380,96 +4494,110 @@
|
|
4380
4494
|
</xsl:choose>
|
4381
4495
|
</xsl:variable>
|
4382
4496
|
|
4383
|
-
|
4384
|
-
|
4385
|
-
|
4497
|
+
|
4498
|
+
<xsl:variable name="tableWithNotesAndFootnotes">
|
4499
|
+
|
4500
|
+
<fo:table keep-with-previous="always">
|
4501
|
+
<xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
|
4502
|
+
<xsl:variable name="name" select="local-name()"/>
|
4503
|
+
<xsl:choose>
|
4504
|
+
<xsl:when test="$name = 'border-top'">
|
4505
|
+
<xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
|
4506
|
+
</xsl:when>
|
4507
|
+
<xsl:when test="$name = 'border'">
|
4508
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
4509
|
+
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
4510
|
+
</xsl:when>
|
4511
|
+
<xsl:otherwise>
|
4512
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
4513
|
+
</xsl:otherwise>
|
4514
|
+
</xsl:choose>
|
4515
|
+
</xsl:for-each>
|
4516
|
+
|
4517
|
+
|
4518
|
+
<xsl:if test="$doctype = 'service-publication'">
|
4519
|
+
<xsl:attribute name="border">none</xsl:attribute>
|
4520
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
4521
|
+
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
4522
|
+
</xsl:if>
|
4523
|
+
|
4524
|
+
|
4386
4525
|
<xsl:choose>
|
4387
|
-
<xsl:when test="$name
|
4388
|
-
<xsl:
|
4389
|
-
|
4390
|
-
|
4391
|
-
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
4392
|
-
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
4526
|
+
<xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
|
4527
|
+
<xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
|
4528
|
+
<fo:table-column column-width="{@width}"/>
|
4529
|
+
</xsl:for-each>
|
4393
4530
|
</xsl:when>
|
4394
4531
|
<xsl:otherwise>
|
4395
|
-
|
4532
|
+
<!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
|
4533
|
+
<xsl:call-template name="insertTableColumnWidth">
|
4534
|
+
<xsl:with-param name="colwidths" select="$colwidths"/>
|
4535
|
+
</xsl:call-template>
|
4396
4536
|
</xsl:otherwise>
|
4397
4537
|
</xsl:choose>
|
4398
|
-
|
4399
|
-
|
4400
|
-
|
4401
|
-
|
4402
|
-
|
4403
|
-
|
4404
|
-
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
4405
|
-
</xsl:if>
|
4406
|
-
|
4407
|
-
|
4408
|
-
<xsl:choose>
|
4409
|
-
<xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
|
4410
|
-
<xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
|
4411
|
-
<fo:table-column column-width="{@width}"/>
|
4412
|
-
</xsl:for-each>
|
4413
|
-
</xsl:when>
|
4414
|
-
<xsl:otherwise>
|
4415
|
-
<!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
|
4416
|
-
<xsl:call-template name="insertTableColumnWidth">
|
4417
|
-
<xsl:with-param name="colwidths" select="$colwidths"/>
|
4418
|
-
</xsl:call-template>
|
4419
|
-
</xsl:otherwise>
|
4420
|
-
</xsl:choose>
|
4421
|
-
|
4422
|
-
<fo:table-body>
|
4423
|
-
<fo:table-row>
|
4424
|
-
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
4425
|
-
|
4426
|
-
|
4538
|
+
|
4539
|
+
<fo:table-body>
|
4540
|
+
<fo:table-row>
|
4541
|
+
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
4542
|
+
|
4543
|
+
|
4427
4544
|
|
4428
|
-
|
4429
|
-
|
4430
|
-
|
4431
|
-
|
4545
|
+
|
4546
|
+
<xsl:if test="ancestor::*[local-name()='preface']">
|
4547
|
+
<xsl:if test="$doctype != 'service-publication'">
|
4548
|
+
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
4549
|
+
</xsl:if>
|
4550
|
+
</xsl:if>
|
4551
|
+
<xsl:if test="$doctype = 'service-publication'">
|
4552
|
+
<xsl:attribute name="border">none</xsl:attribute>
|
4432
4553
|
</xsl:if>
|
4433
|
-
</xsl:if>
|
4434
|
-
<xsl:if test="$doctype = 'service-publication'">
|
4435
|
-
<xsl:attribute name="border">none</xsl:attribute>
|
4436
|
-
</xsl:if>
|
4437
|
-
|
4438
|
-
|
4439
|
-
<!-- fn will be processed inside 'note' processing -->
|
4440
|
-
|
4441
|
-
|
4442
|
-
|
4443
|
-
|
4444
|
-
|
4445
|
-
<xsl:if test="$doctype = 'service-publication'">
|
4446
|
-
<fo:block margin-top="7pt" margin-bottom="2pt"><fo:inline>____________</fo:inline></fo:block>
|
4447
|
-
</xsl:if>
|
4448
|
-
|
4449
|
-
|
4450
|
-
<!-- for BSI (not PAS) display Notes before footnotes -->
|
4451
|
-
|
4452
|
-
|
4453
|
-
<!-- except gb and bsi -->
|
4454
|
-
|
4455
|
-
<xsl:apply-templates select="../*[local-name()='note']"/>
|
4456
4554
|
|
4457
|
-
|
4458
|
-
|
4459
|
-
|
4460
|
-
|
4461
|
-
|
4462
|
-
|
4463
|
-
|
4464
|
-
|
4465
|
-
|
4466
|
-
|
4467
|
-
|
4468
|
-
|
4469
|
-
|
4470
|
-
|
4471
|
-
|
4472
|
-
|
4555
|
+
|
4556
|
+
<!-- fn will be processed inside 'note' processing -->
|
4557
|
+
|
4558
|
+
|
4559
|
+
|
4560
|
+
|
4561
|
+
|
4562
|
+
<xsl:if test="$doctype = 'service-publication'">
|
4563
|
+
<fo:block margin-top="7pt" margin-bottom="2pt"><fo:inline>____________</fo:inline></fo:block>
|
4564
|
+
</xsl:if>
|
4565
|
+
|
4566
|
+
|
4567
|
+
<!-- for BSI (not PAS) display Notes before footnotes -->
|
4568
|
+
|
4569
|
+
|
4570
|
+
<!-- except gb and bsi -->
|
4571
|
+
|
4572
|
+
<xsl:apply-templates select="../*[local-name()='note']"/>
|
4573
|
+
|
4574
|
+
|
4575
|
+
|
4576
|
+
<!-- horizontal row separator -->
|
4577
|
+
|
4578
|
+
|
4579
|
+
<!-- fn processing -->
|
4580
|
+
|
4581
|
+
<xsl:call-template name="table_fn_display"/>
|
4582
|
+
|
4583
|
+
|
4584
|
+
|
4585
|
+
<!-- for PAS display Notes after footnotes -->
|
4586
|
+
|
4587
|
+
|
4588
|
+
</fo:table-cell>
|
4589
|
+
</fo:table-row>
|
4590
|
+
</fo:table-body>
|
4591
|
+
|
4592
|
+
</fo:table>
|
4593
|
+
</xsl:variable>
|
4594
|
+
|
4595
|
+
<xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
|
4596
|
+
<xsl:copy-of select="$tableWithNotesAndFootnotes"/>
|
4597
|
+
</xsl:if>
|
4598
|
+
|
4599
|
+
|
4600
|
+
|
4473
4601
|
</xsl:if>
|
4474
4602
|
</xsl:template><xsl:template match="*[local-name()='tbody']">
|
4475
4603
|
|
@@ -4558,6 +4686,9 @@
|
|
4558
4686
|
|
4559
4687
|
|
4560
4688
|
|
4689
|
+
|
4690
|
+
|
4691
|
+
|
4561
4692
|
|
4562
4693
|
<xsl:if test="$doctype = 'service-publication'">
|
4563
4694
|
<xsl:attribute name="border-bottom">1.1pt solid black</xsl:attribute>
|
@@ -4581,6 +4712,8 @@
|
|
4581
4712
|
|
4582
4713
|
|
4583
4714
|
|
4715
|
+
|
4716
|
+
|
4584
4717
|
<xsl:call-template name="setTableRowAttributes"/>
|
4585
4718
|
<xsl:apply-templates/>
|
4586
4719
|
</fo:table-row>
|
@@ -4677,6 +4810,8 @@
|
|
4677
4810
|
|
4678
4811
|
|
4679
4812
|
|
4813
|
+
|
4814
|
+
|
4680
4815
|
<xsl:if test="ancestor::*[local-name()='preface']">
|
4681
4816
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
4682
4817
|
</xsl:if>
|
@@ -4756,7 +4891,11 @@
|
|
4756
4891
|
|
4757
4892
|
<xsl:variable name="gen_id" select="generate-id(.)"/>
|
4758
4893
|
<xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
|
4759
|
-
<xsl:variable name="
|
4894
|
+
<xsl:variable name="reference_">
|
4895
|
+
<xsl:value-of select="@reference"/>
|
4896
|
+
<xsl:if test="normalize-space(@reference) = ''"><xsl:value-of select="$gen_id"/></xsl:if>
|
4897
|
+
</xsl:variable>
|
4898
|
+
<xsl:variable name="reference" select="normalize-space($reference_)"/>
|
4760
4899
|
<!-- fn sequence number in document -->
|
4761
4900
|
<xsl:variable name="current_fn_number">
|
4762
4901
|
<xsl:choose>
|
@@ -4776,6 +4915,7 @@
|
|
4776
4915
|
<xsl:variable name="footnote_inline">
|
4777
4916
|
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
4778
4917
|
|
4918
|
+
|
4779
4919
|
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}">
|
4780
4920
|
<xsl:value-of select="$current_fn_number_text"/>
|
4781
4921
|
</fo:basic-link>
|
@@ -4797,12 +4937,16 @@
|
|
4797
4937
|
<fo:block xsl:use-attribute-sets="fn-body-style">
|
4798
4938
|
|
4799
4939
|
|
4940
|
+
|
4800
4941
|
<xsl:if test="$doctype = 'service-publication'">
|
4801
4942
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
4802
4943
|
</xsl:if>
|
4803
4944
|
|
4804
4945
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style">
|
4805
4946
|
|
4947
|
+
|
4948
|
+
|
4949
|
+
|
4806
4950
|
<xsl:value-of select="$current_fn_number_text"/>
|
4807
4951
|
</fo:inline>
|
4808
4952
|
<xsl:apply-templates/>
|
@@ -4835,7 +4979,7 @@
|
|
4835
4979
|
<xsl:copy-of select="node()"/>
|
4836
4980
|
</fn>
|
4837
4981
|
</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']/*">
|
4982
|
+
<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
4983
|
<xsl:sort select="@displayorder" data-type="number"/>
|
4840
4984
|
<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
4985
|
<!-- copy unique fn -->
|
@@ -6498,6 +6642,13 @@
|
|
6498
6642
|
</xsl:variable>
|
6499
6643
|
<fo:inline xsl:use-attribute-sets="link-style">
|
6500
6644
|
|
6645
|
+
<xsl:if test="starts-with(normalize-space(@target), 'mailto:')">
|
6646
|
+
<xsl:attribute name="keep-together.within-line">always</xsl:attribute>
|
6647
|
+
</xsl:if>
|
6648
|
+
|
6649
|
+
|
6650
|
+
|
6651
|
+
|
6501
6652
|
|
6502
6653
|
|
6503
6654
|
|
@@ -6715,6 +6866,7 @@
|
|
6715
6866
|
|
6716
6867
|
|
6717
6868
|
|
6869
|
+
|
6718
6870
|
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
6719
6871
|
<!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
|
6720
6872
|
<xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
@@ -6736,6 +6888,7 @@
|
|
6736
6888
|
</xsl:when>
|
6737
6889
|
<xsl:otherwise>
|
6738
6890
|
|
6891
|
+
|
6739
6892
|
|
6740
6893
|
<xsl:text> – </xsl:text>
|
6741
6894
|
|
@@ -6755,6 +6908,7 @@
|
|
6755
6908
|
</xsl:when>
|
6756
6909
|
<xsl:otherwise>
|
6757
6910
|
|
6911
|
+
|
6758
6912
|
|
6759
6913
|
<xsl:text> – </xsl:text>
|
6760
6914
|
|
@@ -6766,7 +6920,19 @@
|
|
6766
6920
|
<xsl:value-of select="$suffix"/>
|
6767
6921
|
</xsl:if>
|
6768
6922
|
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
|
6769
|
-
<
|
6923
|
+
<xsl:variable name="num"><xsl:number/></xsl:variable>
|
6924
|
+
<xsl:choose>
|
6925
|
+
<xsl:when test="$num = 1"> <!-- first paragraph renders in the same line as titlenote name -->
|
6926
|
+
<fo:inline xsl:use-attribute-sets="termnote-p-style">
|
6927
|
+
<xsl:apply-templates/>
|
6928
|
+
</fo:inline>
|
6929
|
+
</xsl:when>
|
6930
|
+
<xsl:otherwise>
|
6931
|
+
<fo:block xsl:use-attribute-sets="termnote-p-style">
|
6932
|
+
<xsl:apply-templates/>
|
6933
|
+
</fo:block>
|
6934
|
+
</xsl:otherwise>
|
6935
|
+
</xsl:choose>
|
6770
6936
|
</xsl:template><xsl:template match="*[local-name() = 'terms']">
|
6771
6937
|
<!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
|
6772
6938
|
<fo:block id="{@id}">
|
@@ -7521,6 +7687,9 @@
|
|
7521
7687
|
<fo:block xsl:use-attribute-sets="figure-name-style">
|
7522
7688
|
|
7523
7689
|
|
7690
|
+
|
7691
|
+
|
7692
|
+
|
7524
7693
|
<xsl:apply-templates/>
|
7525
7694
|
</fo:block>
|
7526
7695
|
</xsl:if>
|
@@ -7581,9 +7750,9 @@
|
|
7581
7750
|
<xsl:apply-templates/>
|
7582
7751
|
</xsl:otherwise>
|
7583
7752
|
</xsl:choose>
|
7584
|
-
</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">
|
7753
|
+
</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'] | *[local-name() = 'eref']" mode="contents">
|
7585
7754
|
<xsl:value-of select="."/>
|
7586
|
-
</xsl:template><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
7755
|
+
</xsl:template><xsl:template match="*[local-name() = 'review']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
7587
7756
|
<xsl:text> </xsl:text>
|
7588
7757
|
</xsl:template><xsl:template match="*[local-name() = 'strong']" mode="contents_item">
|
7589
7758
|
<xsl:copy>
|
@@ -7657,6 +7826,9 @@
|
|
7657
7826
|
<!-- 9 -->
|
7658
7827
|
|
7659
7828
|
|
7829
|
+
<!-- <xsl:if test="$namespace = 'ieee'">
|
7830
|
+
<xsl:if test="$current_template = 'standard'">8</xsl:if>
|
7831
|
+
</xsl:if> -->
|
7660
7832
|
10
|
7661
7833
|
|
7662
7834
|
|
@@ -8101,10 +8273,14 @@
|
|
8101
8273
|
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
|
8102
8274
|
<xsl:variable name="element">inline
|
8103
8275
|
|
8276
|
+
|
8104
8277
|
</xsl:variable>
|
8105
8278
|
<xsl:choose>
|
8106
8279
|
<xsl:when test="contains($element, 'block')">
|
8107
8280
|
<fo:block xsl:use-attribute-sets="example-p-style">
|
8281
|
+
|
8282
|
+
|
8283
|
+
|
8108
8284
|
<xsl:apply-templates/>
|
8109
8285
|
</fo:block>
|
8110
8286
|
</xsl:when>
|
@@ -8212,6 +8388,7 @@
|
|
8212
8388
|
</xsl:if>
|
8213
8389
|
<fo:block xsl:use-attribute-sets="example-p-style">
|
8214
8390
|
|
8391
|
+
|
8215
8392
|
<xsl:apply-templates/>
|
8216
8393
|
</fo:block>
|
8217
8394
|
</fo:block-container>
|
@@ -8368,6 +8545,8 @@
|
|
8368
8545
|
|
8369
8546
|
|
8370
8547
|
|
8548
|
+
|
8549
|
+
|
8371
8550
|
<fo:basic-link fox:alt-text="{@citeas}">
|
8372
8551
|
<xsl:if test="normalize-space(@citeas) = ''">
|
8373
8552
|
<xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
|
@@ -8422,6 +8601,7 @@
|
|
8422
8601
|
|
8423
8602
|
|
8424
8603
|
|
8604
|
+
|
8425
8605
|
<xsl:choose>
|
8426
8606
|
<xsl:when test="$depth = 5">7</xsl:when>
|
8427
8607
|
<xsl:when test="$depth = 4">10</xsl:when>
|
@@ -8794,6 +8974,8 @@
|
|
8794
8974
|
|
8795
8975
|
|
8796
8976
|
|
8977
|
+
|
8978
|
+
|
8797
8979
|
<!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
|
8798
8980
|
<xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
|
8799
8981
|
<xsl:call-template name="append_add-style"/>
|
@@ -8978,7 +9160,7 @@
|
|
8978
9160
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
|
8979
9161
|
<!-- to split by '_' and other chars -->
|
8980
9162
|
<xsl:call-template name="add-zero-spaces-java"/>
|
8981
|
-
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
9163
|
+
</xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
8982
9164
|
<!-- <fo:inline id="{@id}" font-size="1pt"/> -->
|
8983
9165
|
<fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
|
8984
9166
|
<!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
|
@@ -9051,7 +9233,7 @@
|
|
9051
9233
|
</fo:block>
|
9052
9234
|
|
9053
9235
|
|
9054
|
-
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
|
9236
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
|
9055
9237
|
|
9056
9238
|
|
9057
9239
|
<fo:block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-style">
|
@@ -9413,12 +9595,16 @@
|
|
9413
9595
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">
|
9414
9596
|
|
9415
9597
|
|
9598
|
+
|
9599
|
+
|
9416
9600
|
|
9417
9601
|
|
9418
9602
|
|
9419
9603
|
<fo:block-container xsl:use-attribute-sets="admonition-container-style">
|
9420
9604
|
|
9421
9605
|
|
9606
|
+
|
9607
|
+
|
9422
9608
|
<fo:block xsl:use-attribute-sets="admonition-name-style">
|
9423
9609
|
<xsl:call-template name="displayAdmonitionName"/>
|
9424
9610
|
</fo:block>
|
@@ -9627,6 +9813,8 @@
|
|
9627
9813
|
</xsl:when>
|
9628
9814
|
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
9629
9815
|
</xsl:choose>
|
9816
|
+
</xsl:template><xsl:template match="*[local-name() = 'lang_none']">
|
9817
|
+
<fo:inline xml:lang="none"><xsl:value-of select="."/></fo:inline>
|
9630
9818
|
</xsl:template><xsl:template name="printEdition">
|
9631
9819
|
<xsl:variable name="edition_i18n" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'][normalize-space(@language) != ''])"/>
|
9632
9820
|
<xsl:text> </xsl:text>
|
@@ -9733,8 +9921,30 @@
|
|
9733
9921
|
</xsl:when>
|
9734
9922
|
<xsl:otherwise><xsl:value-of select="$monthStr_"/></xsl:otherwise>
|
9735
9923
|
</xsl:choose>
|
9924
|
+
</xsl:template><xsl:template name="getMonthLocalizedByNum">
|
9925
|
+
<xsl:param name="num"/>
|
9926
|
+
<xsl:variable name="monthStr">
|
9927
|
+
<xsl:choose>
|
9928
|
+
<xsl:when test="$num = '01'">january</xsl:when>
|
9929
|
+
<xsl:when test="$num = '02'">february</xsl:when>
|
9930
|
+
<xsl:when test="$num = '03'">march</xsl:when>
|
9931
|
+
<xsl:when test="$num = '04'">april</xsl:when>
|
9932
|
+
<xsl:when test="$num = '05'">may</xsl:when>
|
9933
|
+
<xsl:when test="$num = '06'">june</xsl:when>
|
9934
|
+
<xsl:when test="$num = '07'">july</xsl:when>
|
9935
|
+
<xsl:when test="$num = '08'">august</xsl:when>
|
9936
|
+
<xsl:when test="$num = '09'">september</xsl:when>
|
9937
|
+
<xsl:when test="$num = '10'">october</xsl:when>
|
9938
|
+
<xsl:when test="$num = '11'">november</xsl:when>
|
9939
|
+
<xsl:when test="$num = '12'">december</xsl:when>
|
9940
|
+
</xsl:choose>
|
9941
|
+
</xsl:variable>
|
9942
|
+
<xsl:call-template name="getLocalizedString">
|
9943
|
+
<xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param>
|
9944
|
+
</xsl:call-template>
|
9736
9945
|
</xsl:template><xsl:template name="insertKeywords">
|
9737
9946
|
<xsl:param name="sorting" select="'true'"/>
|
9947
|
+
<xsl:param name="meta" select="'false'"/>
|
9738
9948
|
<xsl:param name="charAtEnd" select="'.'"/>
|
9739
9949
|
<xsl:param name="charDelim" select="', '"/>
|
9740
9950
|
<xsl:choose>
|
@@ -9742,6 +9952,7 @@
|
|
9742
9952
|
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
|
9743
9953
|
<xsl:sort data-type="text" order="ascending"/>
|
9744
9954
|
<xsl:call-template name="insertKeyword">
|
9955
|
+
<xsl:with-param name="meta" select="$meta"/>
|
9745
9956
|
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
|
9746
9957
|
<xsl:with-param name="charDelim" select="$charDelim"/>
|
9747
9958
|
</xsl:call-template>
|
@@ -9750,6 +9961,7 @@
|
|
9750
9961
|
<xsl:otherwise>
|
9751
9962
|
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
|
9752
9963
|
<xsl:call-template name="insertKeyword">
|
9964
|
+
<xsl:with-param name="meta" select="$meta"/>
|
9753
9965
|
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
|
9754
9966
|
<xsl:with-param name="charDelim" select="$charDelim"/>
|
9755
9967
|
</xsl:call-template>
|
@@ -9759,7 +9971,15 @@
|
|
9759
9971
|
</xsl:template><xsl:template name="insertKeyword">
|
9760
9972
|
<xsl:param name="charAtEnd"/>
|
9761
9973
|
<xsl:param name="charDelim"/>
|
9762
|
-
<xsl:
|
9974
|
+
<xsl:param name="meta"/>
|
9975
|
+
<xsl:choose>
|
9976
|
+
<xsl:when test="$meta = 'true'">
|
9977
|
+
<xsl:value-of select="."/>
|
9978
|
+
</xsl:when>
|
9979
|
+
<xsl:otherwise>
|
9980
|
+
<xsl:apply-templates/>
|
9981
|
+
</xsl:otherwise>
|
9982
|
+
</xsl:choose>
|
9763
9983
|
<xsl:choose>
|
9764
9984
|
<xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
|
9765
9985
|
<xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
|
@@ -9804,13 +10024,15 @@
|
|
9804
10024
|
<dc:description>
|
9805
10025
|
<xsl:variable name="abstract">
|
9806
10026
|
|
9807
|
-
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
|
10027
|
+
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
|
9808
10028
|
|
9809
10029
|
</xsl:variable>
|
9810
10030
|
<xsl:value-of select="normalize-space($abstract)"/>
|
9811
10031
|
</dc:description>
|
9812
10032
|
<pdf:Keywords>
|
9813
|
-
<xsl:call-template name="insertKeywords"
|
10033
|
+
<xsl:call-template name="insertKeywords">
|
10034
|
+
<xsl:with-param name="meta">true</xsl:with-param>
|
10035
|
+
</xsl:call-template>
|
9814
10036
|
</pdf:Keywords>
|
9815
10037
|
</rdf:Description>
|
9816
10038
|
<rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
|
@@ -9925,6 +10147,7 @@
|
|
9925
10147
|
|
9926
10148
|
|
9927
10149
|
|
10150
|
+
|
9928
10151
|
<xsl:value-of select="document('')//*/namespace::itu"/>
|
9929
10152
|
|
9930
10153
|
|