metanorma-mpfa 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/mpfa/isodoc.rng +6 -2
- data/lib/isodoc/mpfa/html/htmlstyle.css +26 -17
- data/lib/isodoc/mpfa/html/htmlstyle.scss +17 -17
- data/lib/isodoc/mpfa/html/wordstyle.css +30 -18
- data/lib/isodoc/mpfa/html/wordstyle.scss +30 -18
- data/lib/isodoc/mpfa/mpfa.circular.xsl +54 -7
- data/lib/isodoc/mpfa/mpfa.compliance-standards-for-mpf-trustees.xsl +54 -7
- data/lib/isodoc/mpfa/mpfa.guidelines.xsl +54 -7
- data/lib/isodoc/mpfa/mpfa.standards.xsl +54 -7
- data/lib/isodoc/mpfa/mpfa.supervision-of-mpf-intermediaries.xsl +54 -7
- data/lib/metanorma/mpfa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c09cb7532953cf42fbe4269d2445b66d07e8fcb526b7bc6823f55c2e89c6309
|
4
|
+
data.tar.gz: 738bc439f45030ad22384275ded6236b11e34af84eceb929e2db46da19f79f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b817b4da954ecea69d29fafe4589c0921f575fe271165d95157ec1bc8d30017ae6ab1699920a07395f2139a72a4399eacc180e7c02f3efc78a019bdeb91a96d
|
7
|
+
data.tar.gz: 569c0ecf30e868952d70d295c3cb1c571bf594881d9d6320bc5c5e84eb358e31d39da75b2840cf5478096bd9c53a309c4c0d6cb77bc7eed3bb48a38939b034db
|
@@ -1973,7 +1973,11 @@
|
|
1973
1973
|
</optional>
|
1974
1974
|
<element name="name">
|
1975
1975
|
<zeroOrMore>
|
1976
|
-
<
|
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
|
1994
|
+
<element name="grammar">
|
1991
1995
|
<ref name="Grammar"/>
|
1992
1996
|
</element>
|
1993
1997
|
</optional>
|
@@ -75,6 +75,12 @@ code *, pre *, tt *, kbd *, samp * {
|
|
75
75
|
font-family: {{monospacefont}} !important;
|
76
76
|
font-variant-ligatures: none; }
|
77
77
|
|
78
|
+
p code, dt code, li code, label code, legend code, caption code, th code, td code,
|
79
|
+
p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
|
80
|
+
p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
|
81
|
+
p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
|
82
|
+
font-size: {{monospacefontsize}}; }
|
83
|
+
|
78
84
|
article, aside, details, figcaption, figure,
|
79
85
|
footer, header, hgroup, menu, nav, section {
|
80
86
|
display: block; }
|
@@ -86,6 +92,9 @@ table {
|
|
86
92
|
h1, h2, h3, h4, h5, h6 {
|
87
93
|
font-family: {{headerfont}}; }
|
88
94
|
|
95
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
96
|
+
font-family: {{headerfont}}; }
|
97
|
+
|
89
98
|
blockquote, q {
|
90
99
|
quotes: none; }
|
91
100
|
blockquote:before, blockquote:after, q:before, q:after {
|
@@ -566,13 +575,13 @@ p.document-stage {
|
|
566
575
|
/*
|
567
576
|
3.1 Titles
|
568
577
|
*/
|
569
|
-
h1, h2, h3, h4, h5, h6 {
|
578
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
570
579
|
font-family: {{headerfont}};
|
571
580
|
color: #301907;
|
572
581
|
font-weight: 300;
|
573
582
|
margin-top: 2em; }
|
574
583
|
|
575
|
-
h1 {
|
584
|
+
h1, .h1 {
|
576
585
|
color: #301907;
|
577
586
|
font-size: 1.6em;
|
578
587
|
/* margin-top: 5em; */
|
@@ -582,7 +591,7 @@ h1 {
|
|
582
591
|
border-bottom: solid 5px #FD8924;
|
583
592
|
font-weight: 800; }
|
584
593
|
|
585
|
-
h1#content {
|
594
|
+
h1#content, #content.h1 {
|
586
595
|
margin-top: 0em;
|
587
596
|
margin-left: -2em; }
|
588
597
|
|
@@ -600,11 +609,11 @@ h2.containerhdr {
|
|
600
609
|
font-style: italic;
|
601
610
|
padding: 45px 15px 15px 50px; }
|
602
611
|
|
603
|
-
h2 {
|
612
|
+
h2, .h2 {
|
604
613
|
font-size: 1.5em;
|
605
614
|
font-weight: 400; }
|
606
615
|
|
607
|
-
h3 {
|
616
|
+
h3, .h3 {
|
608
617
|
font-size: 1.1em;
|
609
618
|
font-weight: 100; }
|
610
619
|
|
@@ -875,7 +884,7 @@ p {
|
|
875
884
|
margin-top: 1em;
|
876
885
|
margin-bottom: 1em; }
|
877
886
|
|
878
|
-
h2 p {
|
887
|
+
h2 p, .h2 p {
|
879
888
|
display: inline; }
|
880
889
|
|
881
890
|
/*
|
@@ -1050,7 +1059,7 @@ h2 p {
|
|
1050
1059
|
filter: invert(100%); }
|
1051
1060
|
.coverpage-title {
|
1052
1061
|
border-left: 0.5em solid #888; }
|
1053
|
-
h1, h2, h3, h4 {
|
1062
|
+
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
|
1054
1063
|
page-break-after: avoid;
|
1055
1064
|
margin-top: 1.2em; }
|
1056
1065
|
.note, .figure, pre, .pseudocode, table {
|
@@ -1068,15 +1077,15 @@ h2 p {
|
|
1068
1077
|
margin-top: -5px; }
|
1069
1078
|
.container {
|
1070
1079
|
padding-left: 0; }
|
1071
|
-
h1.content {
|
1080
|
+
h1.content, .h1.content {
|
1072
1081
|
margin-top: 2em;
|
1073
1082
|
line-height: 2.5em; }
|
1074
|
-
h1 {
|
1083
|
+
h1, .h1 {
|
1075
1084
|
font-size: 1.5em;
|
1076
1085
|
line-height: 1.5; }
|
1077
|
-
h2 {
|
1086
|
+
h2, .h2 {
|
1078
1087
|
font-size: 1.2em; }
|
1079
|
-
h3 {
|
1088
|
+
h3, .h3 {
|
1080
1089
|
font-size: 1em; }
|
1081
1090
|
.Note {
|
1082
1091
|
background-color: #fff495;
|
@@ -1116,10 +1125,10 @@ h2 p {
|
|
1116
1125
|
padding-left: 0; }
|
1117
1126
|
main {
|
1118
1127
|
margin-left: 1em; }
|
1119
|
-
h1 {
|
1128
|
+
h1, .h1 {
|
1120
1129
|
margin-left: 0;
|
1121
1130
|
padding-left: 0; }
|
1122
|
-
h1#content {
|
1131
|
+
h1#content, #content.h1 {
|
1123
1132
|
margin-left: 1em; } }
|
1124
1133
|
|
1125
1134
|
/* Tablet Styles */
|
@@ -1141,10 +1150,10 @@ h2 p {
|
|
1141
1150
|
padding-left: 0; }
|
1142
1151
|
main {
|
1143
1152
|
margin-left: 2em; }
|
1144
|
-
h1 {
|
1153
|
+
h1, .h1 {
|
1145
1154
|
margin-left: 0em;
|
1146
1155
|
padding-left: 0; }
|
1147
|
-
h1#content {
|
1156
|
+
h1#content, #content.h1 {
|
1148
1157
|
margin-left: 1em; } }
|
1149
1158
|
|
1150
1159
|
@media screen and (max-width: 768px) {
|
@@ -1154,9 +1163,9 @@ h2 p {
|
|
1154
1163
|
display: none; } }
|
1155
1164
|
|
1156
1165
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
1157
|
-
.main-section h1 {
|
1166
|
+
.main-section h1, .main-section .h1 {
|
1158
1167
|
margin-left: 14px; }
|
1159
|
-
.main-section h2, h3, h4, ol, ul, p, .ms-table-wrap {
|
1168
|
+
.main-section h2, .main-section .h2, h3, h4, .h3, .h4, ol, ul, p, .ms-table-wrap {
|
1160
1169
|
margin-left: 75px; }
|
1161
1170
|
.main-section li p {
|
1162
1171
|
margin-left: 5px; }
|
@@ -228,14 +228,14 @@ p.document-stage {
|
|
228
228
|
3.1 Titles
|
229
229
|
*/
|
230
230
|
|
231
|
-
h1,h2,h3,h4,h5,h6 {
|
231
|
+
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
|
232
232
|
font-family: $headerfont;
|
233
233
|
color: #301907;
|
234
234
|
font-weight: 300;
|
235
235
|
margin-top: 2em;
|
236
236
|
}
|
237
237
|
|
238
|
-
h1 {
|
238
|
+
h1,.h1 {
|
239
239
|
color: #301907;
|
240
240
|
font-size: 1.6em;
|
241
241
|
/* margin-top: 5em; */
|
@@ -246,7 +246,7 @@ h1 {
|
|
246
246
|
font-weight: 800;
|
247
247
|
}
|
248
248
|
|
249
|
-
h1#content {
|
249
|
+
h1#content,.h1#content {
|
250
250
|
margin-top: 0em;
|
251
251
|
margin-left: -2em;
|
252
252
|
}
|
@@ -267,12 +267,12 @@ h2.containerhdr {
|
|
267
267
|
padding: 45px 15px 15px 50px;
|
268
268
|
}
|
269
269
|
|
270
|
-
h2 {
|
270
|
+
h2,.h2 {
|
271
271
|
font-size: 1.5em;
|
272
272
|
font-weight: 400;
|
273
273
|
}
|
274
274
|
|
275
|
-
h3 {
|
275
|
+
h3,.h3 {
|
276
276
|
font-size: 1.1em;
|
277
277
|
font-weight: 100;
|
278
278
|
}
|
@@ -534,7 +534,7 @@ p {
|
|
534
534
|
margin-bottom: 1em;
|
535
535
|
}
|
536
536
|
|
537
|
-
h2 p {
|
537
|
+
h2 p, .h2 p {
|
538
538
|
display: inline;
|
539
539
|
}
|
540
540
|
|
@@ -755,7 +755,7 @@ padding: 0 2em 0 5em; }
|
|
755
755
|
border-left: 0.5em solid #888;
|
756
756
|
}
|
757
757
|
|
758
|
-
h1, h2, h3, h4 {
|
758
|
+
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
|
759
759
|
page-break-after: avoid;
|
760
760
|
margin-top: 1.2em;
|
761
761
|
}
|
@@ -787,21 +787,21 @@ padding: 0 2em 0 5em; }
|
|
787
787
|
padding-left: 0;
|
788
788
|
}
|
789
789
|
|
790
|
-
h1.content {
|
790
|
+
h1.content, .h1.content {
|
791
791
|
margin-top: 2em;
|
792
792
|
line-height: 2.5em;
|
793
793
|
}
|
794
794
|
|
795
|
-
h1 {
|
795
|
+
h1, .h1 {
|
796
796
|
font-size: 1.5em;
|
797
797
|
line-height: 1.5;
|
798
798
|
}
|
799
799
|
|
800
|
-
h2 {
|
800
|
+
h2, .h2 {
|
801
801
|
font-size: 1.2em
|
802
802
|
}
|
803
803
|
|
804
|
-
h3 {
|
804
|
+
h3, .h3 {
|
805
805
|
font-size: 1em;
|
806
806
|
}
|
807
807
|
|
@@ -870,12 +870,12 @@ padding: 0 2em 0 5em; }
|
|
870
870
|
margin-left: 1em;
|
871
871
|
}
|
872
872
|
|
873
|
-
h1 {
|
873
|
+
h1, .h1 {
|
874
874
|
margin-left: 0;
|
875
875
|
padding-left: 0;
|
876
876
|
}
|
877
877
|
|
878
|
-
h1#content {
|
878
|
+
h1#content, .h1#content {
|
879
879
|
margin-left: 1em;
|
880
880
|
}
|
881
881
|
}
|
@@ -913,12 +913,12 @@ padding: 0 2em 0 5em; }
|
|
913
913
|
margin-left: 2em;
|
914
914
|
}
|
915
915
|
|
916
|
-
h1 {
|
916
|
+
h1, .h1 {
|
917
917
|
margin-left: 0em;
|
918
918
|
padding-left: 0;
|
919
919
|
}
|
920
920
|
|
921
|
-
h1#content {
|
921
|
+
h1#content, .h1#content {
|
922
922
|
margin-left: 1em;
|
923
923
|
}
|
924
924
|
}
|
@@ -936,8 +936,8 @@ padding: 0 2em 0 5em; }
|
|
936
936
|
}
|
937
937
|
|
938
938
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
939
|
-
.main-section h1 {margin-left:14px;}
|
940
|
-
.main-section h2, h3, h4, ol, ul, p, .ms-table-wrap {margin-left:75px;}
|
939
|
+
.main-section h1, .main-section .h1 {margin-left:14px;}
|
940
|
+
.main-section h2, .main-section .h2, h3, h4, .h3, .h4, ol, ul, p, .ms-table-wrap {margin-left:75px;}
|
941
941
|
.main-section li p {margin-left:5px;}
|
942
942
|
.main-section li {margin-left:25px;}
|
943
943
|
}
|
@@ -370,7 +370,7 @@ span.blackgraphtx {
|
|
370
370
|
div.figure, p.figure {
|
371
371
|
text-align: center; }
|
372
372
|
|
373
|
-
h1 {
|
373
|
+
h1, .h1 {
|
374
374
|
mso-style-priority: 1;
|
375
375
|
mso-style-unhide: no;
|
376
376
|
mso-style-qformat: yes;
|
@@ -385,8 +385,6 @@ h1 {
|
|
385
385
|
line-height: 13.5pt;
|
386
386
|
mso-pagination: widow-orphan;
|
387
387
|
page-break-after: avoid;
|
388
|
-
mso-outline-level: 1;
|
389
|
-
mso-list: l1 level1 lfo6;
|
390
388
|
mso-hyphenate: none;
|
391
389
|
tab-stops: 20.0pt list 21.6pt left 28.0pt;
|
392
390
|
font-size: 13.0pt;
|
@@ -399,6 +397,10 @@ h1 {
|
|
399
397
|
mso-fareast-language: JA;
|
400
398
|
mso-bidi-font-weight: normal; }
|
401
399
|
|
400
|
+
h1 {
|
401
|
+
mso-outline-level: 1;
|
402
|
+
mso-list: l1 level1 lfo6; }
|
403
|
+
|
402
404
|
h1.Annex {
|
403
405
|
mso-style-priority: 1;
|
404
406
|
mso-style-unhide: no;
|
@@ -457,7 +459,7 @@ h1.Annex {
|
|
457
459
|
mso-fareast-language: JA;
|
458
460
|
mso-bidi-font-weight: normal; }
|
459
461
|
|
460
|
-
h2 {
|
462
|
+
h2, .h2 {
|
461
463
|
mso-style-priority: 2;
|
462
464
|
mso-style-unhide: no;
|
463
465
|
mso-style-qformat: yes;
|
@@ -473,8 +475,6 @@ h2 {
|
|
473
475
|
line-height: 12.5pt;
|
474
476
|
mso-pagination: widow-orphan;
|
475
477
|
page-break-after: avoid;
|
476
|
-
mso-outline-level: 2;
|
477
|
-
mso-list: l1 level2 lfo6;
|
478
478
|
mso-hyphenate: none;
|
479
479
|
tab-stops: 27.0pt 35.0pt;
|
480
480
|
font-size: 12.0pt;
|
@@ -486,7 +486,11 @@ h2 {
|
|
486
486
|
mso-fareast-language: JA;
|
487
487
|
mso-bidi-font-weight: normal; }
|
488
488
|
|
489
|
-
|
489
|
+
h2 {
|
490
|
+
mso-outline-level: 2;
|
491
|
+
mso-list: l1 level2 lfo6; }
|
492
|
+
|
493
|
+
h3, .h3 {
|
490
494
|
mso-style-priority: 3;
|
491
495
|
mso-style-unhide: no;
|
492
496
|
mso-style-qformat: yes;
|
@@ -502,8 +506,6 @@ h3 {
|
|
502
506
|
line-height: 12.0pt;
|
503
507
|
mso-pagination: widow-orphan;
|
504
508
|
page-break-after: avoid;
|
505
|
-
mso-outline-level: 3;
|
506
|
-
mso-list: l1 level3 lfo6;
|
507
509
|
mso-hyphenate: none;
|
508
510
|
tab-stops: list 36.0pt left 44.0pt;
|
509
511
|
font-size: 11.0pt;
|
@@ -514,7 +516,11 @@ h3 {
|
|
514
516
|
mso-fareast-language: JA;
|
515
517
|
mso-bidi-font-weight: normal; }
|
516
518
|
|
517
|
-
|
519
|
+
h3 {
|
520
|
+
mso-outline-level: 3;
|
521
|
+
mso-list: l1 level3 lfo6; }
|
522
|
+
|
523
|
+
h4, .h4 {
|
518
524
|
mso-style-priority: 4;
|
519
525
|
mso-style-unhide: no;
|
520
526
|
mso-style-qformat: yes;
|
@@ -530,8 +536,6 @@ h4 {
|
|
530
536
|
line-height: 12.0pt;
|
531
537
|
mso-pagination: widow-orphan;
|
532
538
|
page-break-after: avoid;
|
533
|
-
mso-outline-level: 4;
|
534
|
-
mso-list: l1 level4 lfo6;
|
535
539
|
mso-hyphenate: none;
|
536
540
|
tab-stops: 51.05pt 57.0pt 68.0pt;
|
537
541
|
font-size: 11.0pt;
|
@@ -542,7 +546,11 @@ h4 {
|
|
542
546
|
mso-fareast-language: JA;
|
543
547
|
mso-bidi-font-weight: normal; }
|
544
548
|
|
545
|
-
|
549
|
+
h4 {
|
550
|
+
mso-outline-level: 4;
|
551
|
+
mso-list: l1 level4 lfo6; }
|
552
|
+
|
553
|
+
h5, .h5 {
|
546
554
|
mso-style-priority: 5;
|
547
555
|
mso-style-unhide: no;
|
548
556
|
mso-style-qformat: yes;
|
@@ -558,8 +566,6 @@ h5 {
|
|
558
566
|
line-height: 12.0pt;
|
559
567
|
mso-pagination: widow-orphan;
|
560
568
|
page-break-after: avoid;
|
561
|
-
mso-outline-level: 5;
|
562
|
-
mso-list: l1 level5 lfo6;
|
563
569
|
mso-hyphenate: none;
|
564
570
|
tab-stops: 51.05pt list 54.0pt;
|
565
571
|
font-size: 11.0pt;
|
@@ -570,7 +576,11 @@ h5 {
|
|
570
576
|
mso-fareast-language: JA;
|
571
577
|
mso-bidi-font-weight: normal; }
|
572
578
|
|
573
|
-
|
579
|
+
h5 {
|
580
|
+
mso-outline-level: 5;
|
581
|
+
mso-list: l1 level5 lfo6; }
|
582
|
+
|
583
|
+
h6, .h6 {
|
574
584
|
mso-style-priority: 6;
|
575
585
|
mso-style-unhide: no;
|
576
586
|
mso-style-qformat: yes;
|
@@ -586,8 +596,6 @@ h6 {
|
|
586
596
|
line-height: 12.0pt;
|
587
597
|
mso-pagination: widow-orphan;
|
588
598
|
page-break-after: avoid;
|
589
|
-
mso-outline-level: 6;
|
590
|
-
mso-list: l1 level6 lfo6;
|
591
599
|
mso-hyphenate: none;
|
592
600
|
tab-stops: 51.05pt list 72.0pt;
|
593
601
|
font-size: 11.0pt;
|
@@ -598,6 +606,10 @@ h6 {
|
|
598
606
|
mso-fareast-language: JA;
|
599
607
|
mso-bidi-font-weight: normal; }
|
600
608
|
|
609
|
+
h6 {
|
610
|
+
mso-outline-level: 6;
|
611
|
+
mso-list: l1 level6 lfo6; }
|
612
|
+
|
601
613
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
602
614
|
mso-style-priority: 39;
|
603
615
|
mso-style-unhide: no;
|
@@ -340,7 +340,7 @@ div.figure, p.figure
|
|
340
340
|
|
341
341
|
|
342
342
|
|
343
|
-
h1
|
343
|
+
h1, .h1
|
344
344
|
{mso-style-priority:1;
|
345
345
|
mso-style-unhide:no;
|
346
346
|
mso-style-qformat:yes;
|
@@ -355,8 +355,6 @@ h1
|
|
355
355
|
line-height:13.5pt;
|
356
356
|
mso-pagination:widow-orphan;
|
357
357
|
page-break-after:avoid;
|
358
|
-
mso-outline-level:1;
|
359
|
-
mso-list:l1 level1 lfo6;
|
360
358
|
mso-hyphenate:none;
|
361
359
|
tab-stops:20.0pt list 21.6pt left 28.0pt;
|
362
360
|
font-size:13.0pt;
|
@@ -368,6 +366,10 @@ h1
|
|
368
366
|
mso-ansi-language:EN-GB;
|
369
367
|
mso-fareast-language:JA;
|
370
368
|
mso-bidi-font-weight:normal;}
|
369
|
+
h1 {
|
370
|
+
mso-outline-level:1;
|
371
|
+
mso-list:l1 level1 lfo6;
|
372
|
+
}
|
371
373
|
h1.Annex
|
372
374
|
{mso-style-priority:1;
|
373
375
|
mso-style-unhide:no;
|
@@ -424,7 +426,7 @@ h1.Annex
|
|
424
426
|
mso-ansi-language:EN-GB;
|
425
427
|
mso-fareast-language:JA;
|
426
428
|
mso-bidi-font-weight:normal;}
|
427
|
-
h2
|
429
|
+
h2, .h2
|
428
430
|
{mso-style-priority:2;
|
429
431
|
mso-style-unhide:no;
|
430
432
|
mso-style-qformat:yes;
|
@@ -440,8 +442,6 @@ h2
|
|
440
442
|
line-height:12.5pt;
|
441
443
|
mso-pagination:widow-orphan;
|
442
444
|
page-break-after:avoid;
|
443
|
-
mso-outline-level:2;
|
444
|
-
mso-list:l1 level2 lfo6;
|
445
445
|
mso-hyphenate:none;
|
446
446
|
tab-stops:27.0pt 35.0pt;
|
447
447
|
font-size:12.0pt;
|
@@ -452,7 +452,11 @@ h2
|
|
452
452
|
mso-ansi-language:EN-GB;
|
453
453
|
mso-fareast-language:JA;
|
454
454
|
mso-bidi-font-weight:normal;}
|
455
|
-
|
455
|
+
h2 {
|
456
|
+
mso-outline-level:2;
|
457
|
+
mso-list:l1 level2 lfo6;
|
458
|
+
}
|
459
|
+
h3, .h3
|
456
460
|
{mso-style-priority:3;
|
457
461
|
mso-style-unhide:no;
|
458
462
|
mso-style-qformat:yes;
|
@@ -468,8 +472,6 @@ h3
|
|
468
472
|
line-height:12.0pt;
|
469
473
|
mso-pagination:widow-orphan;
|
470
474
|
page-break-after:avoid;
|
471
|
-
mso-outline-level:3;
|
472
|
-
mso-list:l1 level3 lfo6;
|
473
475
|
mso-hyphenate:none;
|
474
476
|
tab-stops:list 36.0pt left 44.0pt;
|
475
477
|
font-size:11.0pt;
|
@@ -479,7 +481,11 @@ h3
|
|
479
481
|
mso-ansi-language:EN-GB;
|
480
482
|
mso-fareast-language:JA;
|
481
483
|
mso-bidi-font-weight:normal;}
|
482
|
-
|
484
|
+
h3 {
|
485
|
+
mso-outline-level:3;
|
486
|
+
mso-list:l1 level3 lfo6;
|
487
|
+
}
|
488
|
+
h4, .h4
|
483
489
|
{mso-style-priority:4;
|
484
490
|
mso-style-unhide:no;
|
485
491
|
mso-style-qformat:yes;
|
@@ -495,8 +501,6 @@ h4
|
|
495
501
|
line-height:12.0pt;
|
496
502
|
mso-pagination:widow-orphan;
|
497
503
|
page-break-after:avoid;
|
498
|
-
mso-outline-level:4;
|
499
|
-
mso-list:l1 level4 lfo6;
|
500
504
|
mso-hyphenate:none;
|
501
505
|
tab-stops:51.05pt 57.0pt 68.0pt;
|
502
506
|
font-size:11.0pt;
|
@@ -506,7 +510,11 @@ h4
|
|
506
510
|
mso-ansi-language:EN-GB;
|
507
511
|
mso-fareast-language:JA;
|
508
512
|
mso-bidi-font-weight:normal;}
|
509
|
-
|
513
|
+
h4 {
|
514
|
+
mso-outline-level:4;
|
515
|
+
mso-list:l1 level4 lfo6;
|
516
|
+
}
|
517
|
+
h5, .h5
|
510
518
|
{mso-style-priority:5;
|
511
519
|
mso-style-unhide:no;
|
512
520
|
mso-style-qformat:yes;
|
@@ -522,8 +530,6 @@ h5
|
|
522
530
|
line-height:12.0pt;
|
523
531
|
mso-pagination:widow-orphan;
|
524
532
|
page-break-after:avoid;
|
525
|
-
mso-outline-level:5;
|
526
|
-
mso-list:l1 level5 lfo6;
|
527
533
|
mso-hyphenate:none;
|
528
534
|
tab-stops:51.05pt list 54.0pt;
|
529
535
|
font-size:11.0pt;
|
@@ -533,7 +539,11 @@ h5
|
|
533
539
|
mso-ansi-language:EN-GB;
|
534
540
|
mso-fareast-language:JA;
|
535
541
|
mso-bidi-font-weight:normal;}
|
536
|
-
|
542
|
+
h5 {
|
543
|
+
mso-outline-level:5;
|
544
|
+
mso-list:l1 level5 lfo6;
|
545
|
+
}
|
546
|
+
h6, .h6
|
537
547
|
{mso-style-priority:6;
|
538
548
|
mso-style-unhide:no;
|
539
549
|
mso-style-qformat:yes;
|
@@ -549,8 +559,6 @@ h6
|
|
549
559
|
line-height:12.0pt;
|
550
560
|
mso-pagination:widow-orphan;
|
551
561
|
page-break-after:avoid;
|
552
|
-
mso-outline-level:6;
|
553
|
-
mso-list:l1 level6 lfo6;
|
554
562
|
mso-hyphenate:none;
|
555
563
|
tab-stops:51.05pt list 72.0pt;
|
556
564
|
font-size:11.0pt;
|
@@ -560,6 +568,10 @@ h6
|
|
560
568
|
mso-ansi-language:EN-GB;
|
561
569
|
mso-fareast-language:JA;
|
562
570
|
mso-bidi-font-weight:normal;}
|
571
|
+
h6 {
|
572
|
+
mso-outline-level:6;
|
573
|
+
mso-list:l1 level6 lfo6;
|
574
|
+
}
|
563
575
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
564
576
|
{mso-style-priority:39;
|
565
577
|
mso-style-unhide:no;
|
@@ -332,7 +332,9 @@
|
|
332
332
|
|
333
333
|
<xsl:template name="getListItemFormat">
|
334
334
|
<xsl:choose>
|
335
|
-
<xsl:when test="local-name(..) = 'ul'"
|
335
|
+
<xsl:when test="local-name(..) = 'ul'">
|
336
|
+
<xsl:call-template name="setULLabel"/>
|
337
|
+
</xsl:when>
|
336
338
|
<xsl:otherwise> <!-- for ordered lists -->
|
337
339
|
<xsl:choose>
|
338
340
|
<xsl:when test="../@type = 'arabic'">
|
@@ -357,7 +359,7 @@
|
|
357
359
|
|
358
360
|
|
359
361
|
|
360
|
-
<xsl:template match="mpfd:title">
|
362
|
+
<xsl:template match="mpfd:title" name="title">
|
361
363
|
|
362
364
|
<xsl:variable name="level">
|
363
365
|
<xsl:call-template name="getLevel"/>
|
@@ -538,11 +540,6 @@
|
|
538
540
|
<fo:list-item id="{@id}">
|
539
541
|
<fo:list-item-label end-indent="label-end()">
|
540
542
|
<fo:block>
|
541
|
-
<!-- to vertical align big dot -->
|
542
|
-
<!-- <xsl:if test="local-name(..) = 'ul'">
|
543
|
-
<xsl:attribute name="font-size">18pt</xsl:attribute>
|
544
|
-
<xsl:attribute name="margin-top">-0.5mm</xsl:attribute>
|
545
|
-
</xsl:if> -->
|
546
543
|
<xsl:call-template name="getListItemFormat"/>
|
547
544
|
</fo:block>
|
548
545
|
</fo:list-item-label>
|
@@ -2919,6 +2916,7 @@
|
|
2919
2916
|
</xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
|
2920
2917
|
<xsl:apply-templates/>
|
2921
2918
|
</xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
|
2919
|
+
<xsl:apply-templates select="@language"/>
|
2922
2920
|
<xsl:apply-templates/>
|
2923
2921
|
</xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
|
2924
2922
|
<fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
|
@@ -5103,6 +5101,51 @@
|
|
5103
5101
|
</xsl:template><xsl:template match="*[local-name() = 'name']/text()">
|
5104
5102
|
<!-- 0xA0 to space replacement -->
|
5105
5103
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
5104
|
+
</xsl:template><xsl:variable name="ul_labels_">
|
5105
|
+
|
5106
|
+
|
5107
|
+
|
5108
|
+
|
5109
|
+
|
5110
|
+
|
5111
|
+
|
5112
|
+
|
5113
|
+
|
5114
|
+
|
5115
|
+
<label>—</label> <!-- em dash -->
|
5116
|
+
|
5117
|
+
|
5118
|
+
|
5119
|
+
|
5120
|
+
|
5121
|
+
|
5122
|
+
|
5123
|
+
|
5124
|
+
</xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
|
5125
|
+
<xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
5126
|
+
<xsl:variable name="list_level">
|
5127
|
+
<xsl:choose>
|
5128
|
+
<xsl:when test="$list_level_ <= 3"><xsl:value-of select="$list_level_"/></xsl:when>
|
5129
|
+
<xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
|
5130
|
+
</xsl:choose>
|
5131
|
+
</xsl:variable>
|
5132
|
+
<xsl:choose>
|
5133
|
+
<xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
|
5134
|
+
<xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
|
5135
|
+
</xsl:when>
|
5136
|
+
<xsl:when test="$list_level mod 3 = 0">
|
5137
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
|
5138
|
+
</xsl:when>
|
5139
|
+
<xsl:when test="$list_level mod 2 = 0">
|
5140
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
|
5141
|
+
</xsl:when>
|
5142
|
+
<xsl:otherwise>
|
5143
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
|
5144
|
+
</xsl:otherwise>
|
5145
|
+
</xsl:choose>
|
5146
|
+
</xsl:template><xsl:template match="label" mode="ul_labels">
|
5147
|
+
<xsl:copy-of select="@*[not(local-name() = 'level')]"/>
|
5148
|
+
<xsl:value-of select="."/>
|
5106
5149
|
</xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
5107
5150
|
<xsl:choose>
|
5108
5151
|
<xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
|
@@ -5556,6 +5599,10 @@
|
|
5556
5599
|
</svg>
|
5557
5600
|
</fo:instream-foreign-object>
|
5558
5601
|
</fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="@language">
|
5603
|
+
<xsl:copy-of select="."/>
|
5604
|
+
</xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
|
5605
|
+
<xsl:call-template name="title"/>
|
5559
5606
|
</xsl:template><xsl:template name="convertDate">
|
5560
5607
|
<xsl:param name="date"/>
|
5561
5608
|
<xsl:param name="format" select="'short'"/>
|
@@ -332,7 +332,9 @@
|
|
332
332
|
|
333
333
|
<xsl:template name="getListItemFormat">
|
334
334
|
<xsl:choose>
|
335
|
-
<xsl:when test="local-name(..) = 'ul'"
|
335
|
+
<xsl:when test="local-name(..) = 'ul'">
|
336
|
+
<xsl:call-template name="setULLabel"/>
|
337
|
+
</xsl:when>
|
336
338
|
<xsl:otherwise> <!-- for ordered lists -->
|
337
339
|
<xsl:choose>
|
338
340
|
<xsl:when test="../@type = 'arabic'">
|
@@ -357,7 +359,7 @@
|
|
357
359
|
|
358
360
|
|
359
361
|
|
360
|
-
<xsl:template match="mpfd:title">
|
362
|
+
<xsl:template match="mpfd:title" name="title">
|
361
363
|
|
362
364
|
<xsl:variable name="level">
|
363
365
|
<xsl:call-template name="getLevel"/>
|
@@ -538,11 +540,6 @@
|
|
538
540
|
<fo:list-item id="{@id}">
|
539
541
|
<fo:list-item-label end-indent="label-end()">
|
540
542
|
<fo:block>
|
541
|
-
<!-- to vertical align big dot -->
|
542
|
-
<!-- <xsl:if test="local-name(..) = 'ul'">
|
543
|
-
<xsl:attribute name="font-size">18pt</xsl:attribute>
|
544
|
-
<xsl:attribute name="margin-top">-0.5mm</xsl:attribute>
|
545
|
-
</xsl:if> -->
|
546
543
|
<xsl:call-template name="getListItemFormat"/>
|
547
544
|
</fo:block>
|
548
545
|
</fo:list-item-label>
|
@@ -2919,6 +2916,7 @@
|
|
2919
2916
|
</xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
|
2920
2917
|
<xsl:apply-templates/>
|
2921
2918
|
</xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
|
2919
|
+
<xsl:apply-templates select="@language"/>
|
2922
2920
|
<xsl:apply-templates/>
|
2923
2921
|
</xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
|
2924
2922
|
<fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
|
@@ -5103,6 +5101,51 @@
|
|
5103
5101
|
</xsl:template><xsl:template match="*[local-name() = 'name']/text()">
|
5104
5102
|
<!-- 0xA0 to space replacement -->
|
5105
5103
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
5104
|
+
</xsl:template><xsl:variable name="ul_labels_">
|
5105
|
+
|
5106
|
+
|
5107
|
+
|
5108
|
+
|
5109
|
+
|
5110
|
+
|
5111
|
+
|
5112
|
+
|
5113
|
+
|
5114
|
+
|
5115
|
+
<label>—</label> <!-- em dash -->
|
5116
|
+
|
5117
|
+
|
5118
|
+
|
5119
|
+
|
5120
|
+
|
5121
|
+
|
5122
|
+
|
5123
|
+
|
5124
|
+
</xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
|
5125
|
+
<xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
5126
|
+
<xsl:variable name="list_level">
|
5127
|
+
<xsl:choose>
|
5128
|
+
<xsl:when test="$list_level_ <= 3"><xsl:value-of select="$list_level_"/></xsl:when>
|
5129
|
+
<xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
|
5130
|
+
</xsl:choose>
|
5131
|
+
</xsl:variable>
|
5132
|
+
<xsl:choose>
|
5133
|
+
<xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
|
5134
|
+
<xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
|
5135
|
+
</xsl:when>
|
5136
|
+
<xsl:when test="$list_level mod 3 = 0">
|
5137
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
|
5138
|
+
</xsl:when>
|
5139
|
+
<xsl:when test="$list_level mod 2 = 0">
|
5140
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
|
5141
|
+
</xsl:when>
|
5142
|
+
<xsl:otherwise>
|
5143
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
|
5144
|
+
</xsl:otherwise>
|
5145
|
+
</xsl:choose>
|
5146
|
+
</xsl:template><xsl:template match="label" mode="ul_labels">
|
5147
|
+
<xsl:copy-of select="@*[not(local-name() = 'level')]"/>
|
5148
|
+
<xsl:value-of select="."/>
|
5106
5149
|
</xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
5107
5150
|
<xsl:choose>
|
5108
5151
|
<xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
|
@@ -5556,6 +5599,10 @@
|
|
5556
5599
|
</svg>
|
5557
5600
|
</fo:instream-foreign-object>
|
5558
5601
|
</fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="@language">
|
5603
|
+
<xsl:copy-of select="."/>
|
5604
|
+
</xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
|
5605
|
+
<xsl:call-template name="title"/>
|
5559
5606
|
</xsl:template><xsl:template name="convertDate">
|
5560
5607
|
<xsl:param name="date"/>
|
5561
5608
|
<xsl:param name="format" select="'short'"/>
|
@@ -332,7 +332,9 @@
|
|
332
332
|
|
333
333
|
<xsl:template name="getListItemFormat">
|
334
334
|
<xsl:choose>
|
335
|
-
<xsl:when test="local-name(..) = 'ul'"
|
335
|
+
<xsl:when test="local-name(..) = 'ul'">
|
336
|
+
<xsl:call-template name="setULLabel"/>
|
337
|
+
</xsl:when>
|
336
338
|
<xsl:otherwise> <!-- for ordered lists -->
|
337
339
|
<xsl:choose>
|
338
340
|
<xsl:when test="../@type = 'arabic'">
|
@@ -357,7 +359,7 @@
|
|
357
359
|
|
358
360
|
|
359
361
|
|
360
|
-
<xsl:template match="mpfd:title">
|
362
|
+
<xsl:template match="mpfd:title" name="title">
|
361
363
|
|
362
364
|
<xsl:variable name="level">
|
363
365
|
<xsl:call-template name="getLevel"/>
|
@@ -538,11 +540,6 @@
|
|
538
540
|
<fo:list-item id="{@id}">
|
539
541
|
<fo:list-item-label end-indent="label-end()">
|
540
542
|
<fo:block>
|
541
|
-
<!-- to vertical align big dot -->
|
542
|
-
<!-- <xsl:if test="local-name(..) = 'ul'">
|
543
|
-
<xsl:attribute name="font-size">18pt</xsl:attribute>
|
544
|
-
<xsl:attribute name="margin-top">-0.5mm</xsl:attribute>
|
545
|
-
</xsl:if> -->
|
546
543
|
<xsl:call-template name="getListItemFormat"/>
|
547
544
|
</fo:block>
|
548
545
|
</fo:list-item-label>
|
@@ -2919,6 +2916,7 @@
|
|
2919
2916
|
</xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
|
2920
2917
|
<xsl:apply-templates/>
|
2921
2918
|
</xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
|
2919
|
+
<xsl:apply-templates select="@language"/>
|
2922
2920
|
<xsl:apply-templates/>
|
2923
2921
|
</xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
|
2924
2922
|
<fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
|
@@ -5103,6 +5101,51 @@
|
|
5103
5101
|
</xsl:template><xsl:template match="*[local-name() = 'name']/text()">
|
5104
5102
|
<!-- 0xA0 to space replacement -->
|
5105
5103
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
5104
|
+
</xsl:template><xsl:variable name="ul_labels_">
|
5105
|
+
|
5106
|
+
|
5107
|
+
|
5108
|
+
|
5109
|
+
|
5110
|
+
|
5111
|
+
|
5112
|
+
|
5113
|
+
|
5114
|
+
|
5115
|
+
<label>—</label> <!-- em dash -->
|
5116
|
+
|
5117
|
+
|
5118
|
+
|
5119
|
+
|
5120
|
+
|
5121
|
+
|
5122
|
+
|
5123
|
+
|
5124
|
+
</xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
|
5125
|
+
<xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
5126
|
+
<xsl:variable name="list_level">
|
5127
|
+
<xsl:choose>
|
5128
|
+
<xsl:when test="$list_level_ <= 3"><xsl:value-of select="$list_level_"/></xsl:when>
|
5129
|
+
<xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
|
5130
|
+
</xsl:choose>
|
5131
|
+
</xsl:variable>
|
5132
|
+
<xsl:choose>
|
5133
|
+
<xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
|
5134
|
+
<xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
|
5135
|
+
</xsl:when>
|
5136
|
+
<xsl:when test="$list_level mod 3 = 0">
|
5137
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
|
5138
|
+
</xsl:when>
|
5139
|
+
<xsl:when test="$list_level mod 2 = 0">
|
5140
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
|
5141
|
+
</xsl:when>
|
5142
|
+
<xsl:otherwise>
|
5143
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
|
5144
|
+
</xsl:otherwise>
|
5145
|
+
</xsl:choose>
|
5146
|
+
</xsl:template><xsl:template match="label" mode="ul_labels">
|
5147
|
+
<xsl:copy-of select="@*[not(local-name() = 'level')]"/>
|
5148
|
+
<xsl:value-of select="."/>
|
5106
5149
|
</xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
5107
5150
|
<xsl:choose>
|
5108
5151
|
<xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
|
@@ -5556,6 +5599,10 @@
|
|
5556
5599
|
</svg>
|
5557
5600
|
</fo:instream-foreign-object>
|
5558
5601
|
</fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="@language">
|
5603
|
+
<xsl:copy-of select="."/>
|
5604
|
+
</xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
|
5605
|
+
<xsl:call-template name="title"/>
|
5559
5606
|
</xsl:template><xsl:template name="convertDate">
|
5560
5607
|
<xsl:param name="date"/>
|
5561
5608
|
<xsl:param name="format" select="'short'"/>
|
@@ -332,7 +332,9 @@
|
|
332
332
|
|
333
333
|
<xsl:template name="getListItemFormat">
|
334
334
|
<xsl:choose>
|
335
|
-
<xsl:when test="local-name(..) = 'ul'"
|
335
|
+
<xsl:when test="local-name(..) = 'ul'">
|
336
|
+
<xsl:call-template name="setULLabel"/>
|
337
|
+
</xsl:when>
|
336
338
|
<xsl:otherwise> <!-- for ordered lists -->
|
337
339
|
<xsl:choose>
|
338
340
|
<xsl:when test="../@type = 'arabic'">
|
@@ -357,7 +359,7 @@
|
|
357
359
|
|
358
360
|
|
359
361
|
|
360
|
-
<xsl:template match="mpfd:title">
|
362
|
+
<xsl:template match="mpfd:title" name="title">
|
361
363
|
|
362
364
|
<xsl:variable name="level">
|
363
365
|
<xsl:call-template name="getLevel"/>
|
@@ -538,11 +540,6 @@
|
|
538
540
|
<fo:list-item id="{@id}">
|
539
541
|
<fo:list-item-label end-indent="label-end()">
|
540
542
|
<fo:block>
|
541
|
-
<!-- to vertical align big dot -->
|
542
|
-
<!-- <xsl:if test="local-name(..) = 'ul'">
|
543
|
-
<xsl:attribute name="font-size">18pt</xsl:attribute>
|
544
|
-
<xsl:attribute name="margin-top">-0.5mm</xsl:attribute>
|
545
|
-
</xsl:if> -->
|
546
543
|
<xsl:call-template name="getListItemFormat"/>
|
547
544
|
</fo:block>
|
548
545
|
</fo:list-item-label>
|
@@ -2919,6 +2916,7 @@
|
|
2919
2916
|
</xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
|
2920
2917
|
<xsl:apply-templates/>
|
2921
2918
|
</xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
|
2919
|
+
<xsl:apply-templates select="@language"/>
|
2922
2920
|
<xsl:apply-templates/>
|
2923
2921
|
</xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
|
2924
2922
|
<fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
|
@@ -5103,6 +5101,51 @@
|
|
5103
5101
|
</xsl:template><xsl:template match="*[local-name() = 'name']/text()">
|
5104
5102
|
<!-- 0xA0 to space replacement -->
|
5105
5103
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
5104
|
+
</xsl:template><xsl:variable name="ul_labels_">
|
5105
|
+
|
5106
|
+
|
5107
|
+
|
5108
|
+
|
5109
|
+
|
5110
|
+
|
5111
|
+
|
5112
|
+
|
5113
|
+
|
5114
|
+
|
5115
|
+
<label>—</label> <!-- em dash -->
|
5116
|
+
|
5117
|
+
|
5118
|
+
|
5119
|
+
|
5120
|
+
|
5121
|
+
|
5122
|
+
|
5123
|
+
|
5124
|
+
</xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
|
5125
|
+
<xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
5126
|
+
<xsl:variable name="list_level">
|
5127
|
+
<xsl:choose>
|
5128
|
+
<xsl:when test="$list_level_ <= 3"><xsl:value-of select="$list_level_"/></xsl:when>
|
5129
|
+
<xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
|
5130
|
+
</xsl:choose>
|
5131
|
+
</xsl:variable>
|
5132
|
+
<xsl:choose>
|
5133
|
+
<xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
|
5134
|
+
<xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
|
5135
|
+
</xsl:when>
|
5136
|
+
<xsl:when test="$list_level mod 3 = 0">
|
5137
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
|
5138
|
+
</xsl:when>
|
5139
|
+
<xsl:when test="$list_level mod 2 = 0">
|
5140
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
|
5141
|
+
</xsl:when>
|
5142
|
+
<xsl:otherwise>
|
5143
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
|
5144
|
+
</xsl:otherwise>
|
5145
|
+
</xsl:choose>
|
5146
|
+
</xsl:template><xsl:template match="label" mode="ul_labels">
|
5147
|
+
<xsl:copy-of select="@*[not(local-name() = 'level')]"/>
|
5148
|
+
<xsl:value-of select="."/>
|
5106
5149
|
</xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
5107
5150
|
<xsl:choose>
|
5108
5151
|
<xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
|
@@ -5556,6 +5599,10 @@
|
|
5556
5599
|
</svg>
|
5557
5600
|
</fo:instream-foreign-object>
|
5558
5601
|
</fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="@language">
|
5603
|
+
<xsl:copy-of select="."/>
|
5604
|
+
</xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
|
5605
|
+
<xsl:call-template name="title"/>
|
5559
5606
|
</xsl:template><xsl:template name="convertDate">
|
5560
5607
|
<xsl:param name="date"/>
|
5561
5608
|
<xsl:param name="format" select="'short'"/>
|
@@ -332,7 +332,9 @@
|
|
332
332
|
|
333
333
|
<xsl:template name="getListItemFormat">
|
334
334
|
<xsl:choose>
|
335
|
-
<xsl:when test="local-name(..) = 'ul'"
|
335
|
+
<xsl:when test="local-name(..) = 'ul'">
|
336
|
+
<xsl:call-template name="setULLabel"/>
|
337
|
+
</xsl:when>
|
336
338
|
<xsl:otherwise> <!-- for ordered lists -->
|
337
339
|
<xsl:choose>
|
338
340
|
<xsl:when test="../@type = 'arabic'">
|
@@ -357,7 +359,7 @@
|
|
357
359
|
|
358
360
|
|
359
361
|
|
360
|
-
<xsl:template match="mpfd:title">
|
362
|
+
<xsl:template match="mpfd:title" name="title">
|
361
363
|
|
362
364
|
<xsl:variable name="level">
|
363
365
|
<xsl:call-template name="getLevel"/>
|
@@ -538,11 +540,6 @@
|
|
538
540
|
<fo:list-item id="{@id}">
|
539
541
|
<fo:list-item-label end-indent="label-end()">
|
540
542
|
<fo:block>
|
541
|
-
<!-- to vertical align big dot -->
|
542
|
-
<!-- <xsl:if test="local-name(..) = 'ul'">
|
543
|
-
<xsl:attribute name="font-size">18pt</xsl:attribute>
|
544
|
-
<xsl:attribute name="margin-top">-0.5mm</xsl:attribute>
|
545
|
-
</xsl:if> -->
|
546
543
|
<xsl:call-template name="getListItemFormat"/>
|
547
544
|
</fo:block>
|
548
545
|
</fo:list-item-label>
|
@@ -2919,6 +2916,7 @@
|
|
2919
2916
|
</xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
|
2920
2917
|
<xsl:apply-templates/>
|
2921
2918
|
</xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
|
2919
|
+
<xsl:apply-templates select="@language"/>
|
2922
2920
|
<xsl:apply-templates/>
|
2923
2921
|
</xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
|
2924
2922
|
<fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
|
@@ -5103,6 +5101,51 @@
|
|
5103
5101
|
</xsl:template><xsl:template match="*[local-name() = 'name']/text()">
|
5104
5102
|
<!-- 0xA0 to space replacement -->
|
5105
5103
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
5104
|
+
</xsl:template><xsl:variable name="ul_labels_">
|
5105
|
+
|
5106
|
+
|
5107
|
+
|
5108
|
+
|
5109
|
+
|
5110
|
+
|
5111
|
+
|
5112
|
+
|
5113
|
+
|
5114
|
+
|
5115
|
+
<label>—</label> <!-- em dash -->
|
5116
|
+
|
5117
|
+
|
5118
|
+
|
5119
|
+
|
5120
|
+
|
5121
|
+
|
5122
|
+
|
5123
|
+
|
5124
|
+
</xsl:variable><xsl:variable name="ul_labels" select="xalan:nodeset($ul_labels_)"/><xsl:template name="setULLabel">
|
5125
|
+
<xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
|
5126
|
+
<xsl:variable name="list_level">
|
5127
|
+
<xsl:choose>
|
5128
|
+
<xsl:when test="$list_level_ <= 3"><xsl:value-of select="$list_level_"/></xsl:when>
|
5129
|
+
<xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
|
5130
|
+
</xsl:choose>
|
5131
|
+
</xsl:variable>
|
5132
|
+
<xsl:choose>
|
5133
|
+
<xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
|
5134
|
+
<xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
|
5135
|
+
</xsl:when>
|
5136
|
+
<xsl:when test="$list_level mod 3 = 0">
|
5137
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
|
5138
|
+
</xsl:when>
|
5139
|
+
<xsl:when test="$list_level mod 2 = 0">
|
5140
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
|
5141
|
+
</xsl:when>
|
5142
|
+
<xsl:otherwise>
|
5143
|
+
<xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
|
5144
|
+
</xsl:otherwise>
|
5145
|
+
</xsl:choose>
|
5146
|
+
</xsl:template><xsl:template match="label" mode="ul_labels">
|
5147
|
+
<xsl:copy-of select="@*[not(local-name() = 'level')]"/>
|
5148
|
+
<xsl:value-of select="."/>
|
5106
5149
|
</xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
5107
5150
|
<xsl:choose>
|
5108
5151
|
<xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
|
@@ -5556,6 +5599,10 @@
|
|
5556
5599
|
</svg>
|
5557
5600
|
</fo:instream-foreign-object>
|
5558
5601
|
</fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="@language">
|
5603
|
+
<xsl:copy-of select="."/>
|
5604
|
+
</xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
|
5605
|
+
<xsl:call-template name="title"/>
|
5559
5606
|
</xsl:template><xsl:template name="convertDate">
|
5560
5607
|
<xsl:param name="date"/>
|
5561
5608
|
<xsl:param name="format" select="'short'"/>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-mpfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2021-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|