metanorma-mpfa 0.6.9 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/asciidoctor/mpfa/basicdoc.rng +21 -4
- data/lib/asciidoctor/mpfa/isodoc.rng +241 -61
- data/lib/asciidoctor/mpfa/reqt.rng +23 -2
- data/lib/asciidoctor/mpfa/section.rb +4 -6
- data/lib/isodoc/mpfa/html/htmlstyle.css +6 -0
- data/lib/isodoc/mpfa/html/htmlstyle.scss +8 -0
- data/lib/isodoc/mpfa/html/wordstyle.css +12 -1
- data/lib/isodoc/mpfa/html/wordstyle.scss +12 -1
- data/lib/isodoc/mpfa/mpfa.circular.xsl +310 -36
- data/lib/isodoc/mpfa/mpfa.compliance-standards-for-mpf-trustees.xsl +310 -36
- data/lib/isodoc/mpfa/mpfa.guidelines.xsl +310 -36
- data/lib/isodoc/mpfa/mpfa.standards.xsl +310 -36
- data/lib/isodoc/mpfa/mpfa.supervision-of-mpf-intermediaries.xsl +310 -36
- data/lib/metanorma/mpfa/version.rb +1 -1
- metadata +2 -2
@@ -6,16 +6,14 @@ module Asciidoctor
|
|
6
6
|
#
|
7
7
|
class Converter < Standoc::Converter
|
8
8
|
|
9
|
-
def sections_cleanup(
|
9
|
+
def sections_cleanup(xml)
|
10
10
|
super
|
11
|
-
|
11
|
+
xml.xpath("//*[@inline-header]").each do |h|
|
12
12
|
h.delete("inline-header")
|
13
13
|
end
|
14
|
-
|
15
|
-
#c = h.at("./preceding-sibling::clause[last()]") || next
|
14
|
+
xml.xpath("//*[@guidance]").each do |h|
|
16
15
|
c = h.xpath("./preceding-sibling::clause")
|
17
16
|
c.empty? and next
|
18
|
-
#c.add_child h.remove
|
19
17
|
c.last.add_child h.remove
|
20
18
|
end
|
21
19
|
end
|
@@ -29,7 +27,7 @@ module Asciidoctor
|
|
29
27
|
end
|
30
28
|
|
31
29
|
def term_def_title(_toplevel, node)
|
32
|
-
|
30
|
+
node.title
|
33
31
|
end
|
34
32
|
|
35
33
|
def move_sections_into_preface(x, preface)
|
@@ -325,6 +325,14 @@ ul > li:first-child {
|
|
325
325
|
margin-top: 1em;
|
326
326
|
}
|
327
327
|
|
328
|
+
ul ul > li:first-child {
|
329
|
+
margin-top: 0;
|
330
|
+
}
|
331
|
+
ol ul > li:first-child {
|
332
|
+
margin-top: 0;
|
333
|
+
}
|
334
|
+
|
335
|
+
|
328
336
|
#toc-list ul {margin-bottom: 0.25em;}
|
329
337
|
|
330
338
|
#toc-list li {list-style-type: none;}
|
@@ -153,6 +153,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
153
153
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
|
154
154
|
mso-style-noshow: yes;
|
155
155
|
mso-style-unhide: no;
|
156
|
+
mso-style-name: "Comment Text";
|
156
157
|
margin: 0cm;
|
157
158
|
margin-bottom: .0001pt;
|
158
159
|
mso-pagination: widow-orphan;
|
@@ -373,6 +374,7 @@ h1 {
|
|
373
374
|
mso-style-priority: 1;
|
374
375
|
mso-style-unhide: no;
|
375
376
|
mso-style-qformat: yes;
|
377
|
+
mso-style-name: "Heading 1";
|
376
378
|
mso-style-link: "Heading 1 Char";
|
377
379
|
mso-style-next: Normal;
|
378
380
|
margin-top: 13.5pt;
|
@@ -459,6 +461,7 @@ h2 {
|
|
459
461
|
mso-style-priority: 2;
|
460
462
|
mso-style-unhide: no;
|
461
463
|
mso-style-qformat: yes;
|
464
|
+
mso-style-name: "Heading 2";
|
462
465
|
mso-style-parent: "Heading 1";
|
463
466
|
mso-style-link: "Heading 2 Char";
|
464
467
|
mso-style-next: Normal;
|
@@ -487,7 +490,8 @@ h3 {
|
|
487
490
|
mso-style-priority: 3;
|
488
491
|
mso-style-unhide: no;
|
489
492
|
mso-style-qformat: yes;
|
490
|
-
mso-style-
|
493
|
+
mso-style-name: "Heading 3";
|
494
|
+
mso-style-parent: "Heading 2";
|
491
495
|
mso-style-link: "Heading 3 Char";
|
492
496
|
mso-style-next: Normal;
|
493
497
|
margin-top: 3.0pt;
|
@@ -514,6 +518,7 @@ h4 {
|
|
514
518
|
mso-style-priority: 4;
|
515
519
|
mso-style-unhide: no;
|
516
520
|
mso-style-qformat: yes;
|
521
|
+
mso-style-name: "Heading 4";
|
517
522
|
mso-style-parent: "Heading 3";
|
518
523
|
mso-style-link: "Heading 4 Char";
|
519
524
|
mso-style-next: Normal;
|
@@ -541,6 +546,7 @@ h5 {
|
|
541
546
|
mso-style-priority: 5;
|
542
547
|
mso-style-unhide: no;
|
543
548
|
mso-style-qformat: yes;
|
549
|
+
mso-style-name: "Heading 5";
|
544
550
|
mso-style-parent: "Heading 4";
|
545
551
|
mso-style-link: "Heading 5 Char";
|
546
552
|
mso-style-next: Normal;
|
@@ -568,6 +574,7 @@ h6 {
|
|
568
574
|
mso-style-priority: 6;
|
569
575
|
mso-style-unhide: no;
|
570
576
|
mso-style-qformat: yes;
|
577
|
+
mso-style-name: "Heading 6";
|
571
578
|
mso-style-parent: "Heading 5";
|
572
579
|
mso-style-link: "Heading 6 Char";
|
573
580
|
mso-style-next: Normal;
|
@@ -594,6 +601,7 @@ h6 {
|
|
594
601
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
595
602
|
mso-style-priority: 39;
|
596
603
|
mso-style-unhide: no;
|
604
|
+
mso-style-name: "TOC 1";
|
597
605
|
mso-style-next: Normal;
|
598
606
|
margin-top: 6.0pt;
|
599
607
|
margin-right: 25.0pt;
|
@@ -617,6 +625,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
|
|
617
625
|
mso-style-noshow: yes;
|
618
626
|
mso-style-priority: 39;
|
619
627
|
mso-style-unhide: no;
|
628
|
+
mso-style-name: "TOC 2";
|
620
629
|
mso-style-parent: "TOC 1";
|
621
630
|
mso-style-next: Normal;
|
622
631
|
margin-top: 0cm;
|
@@ -641,6 +650,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
641
650
|
mso-style-noshow: yes;
|
642
651
|
mso-style-priority: 39;
|
643
652
|
mso-style-unhide: no;
|
653
|
+
mso-style-name: "TOC 3";
|
644
654
|
mso-style-parent: "TOC 2";
|
645
655
|
mso-style-next: Normal;
|
646
656
|
margin-top: 0cm;
|
@@ -663,6 +673,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
663
673
|
|
664
674
|
span.MsoFootnoteReference {
|
665
675
|
mso-style-priority: 99;
|
676
|
+
mso-style-name: "Footnote Reference";
|
666
677
|
vertical-align: super; }
|
667
678
|
|
668
679
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {
|
@@ -139,6 +139,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
139
139
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
140
140
|
{mso-style-noshow:yes;
|
141
141
|
mso-style-unhide:no;
|
142
|
+
mso-style-name:"Comment Text";
|
142
143
|
margin:0cm;
|
143
144
|
margin-bottom:.0001pt;
|
144
145
|
mso-pagination:widow-orphan;
|
@@ -343,6 +344,7 @@ h1
|
|
343
344
|
{mso-style-priority:1;
|
344
345
|
mso-style-unhide:no;
|
345
346
|
mso-style-qformat:yes;
|
347
|
+
mso-style-name:"Heading 1";
|
346
348
|
mso-style-link:"Heading 1 Char";
|
347
349
|
mso-style-next:Normal;
|
348
350
|
margin-top:13.5pt;
|
@@ -426,6 +428,7 @@ h2
|
|
426
428
|
{mso-style-priority:2;
|
427
429
|
mso-style-unhide:no;
|
428
430
|
mso-style-qformat:yes;
|
431
|
+
mso-style-name:"Heading 2";
|
429
432
|
mso-style-parent:"Heading 1";
|
430
433
|
mso-style-link:"Heading 2 Char";
|
431
434
|
mso-style-next:Normal;
|
@@ -453,7 +456,8 @@ h3
|
|
453
456
|
{mso-style-priority:3;
|
454
457
|
mso-style-unhide:no;
|
455
458
|
mso-style-qformat:yes;
|
456
|
-
mso-style-
|
459
|
+
mso-style-name:"Heading 3";
|
460
|
+
mso-style-parent:"Heading 2";
|
457
461
|
mso-style-link:"Heading 3 Char";
|
458
462
|
mso-style-next:Normal;
|
459
463
|
margin-top:3.0pt;
|
@@ -479,6 +483,7 @@ h4
|
|
479
483
|
{mso-style-priority:4;
|
480
484
|
mso-style-unhide:no;
|
481
485
|
mso-style-qformat:yes;
|
486
|
+
mso-style-name:"Heading 4";
|
482
487
|
mso-style-parent:"Heading 3";
|
483
488
|
mso-style-link:"Heading 4 Char";
|
484
489
|
mso-style-next:Normal;
|
@@ -505,6 +510,7 @@ h5
|
|
505
510
|
{mso-style-priority:5;
|
506
511
|
mso-style-unhide:no;
|
507
512
|
mso-style-qformat:yes;
|
513
|
+
mso-style-name:"Heading 5";
|
508
514
|
mso-style-parent:"Heading 4";
|
509
515
|
mso-style-link:"Heading 5 Char";
|
510
516
|
mso-style-next:Normal;
|
@@ -531,6 +537,7 @@ h6
|
|
531
537
|
{mso-style-priority:6;
|
532
538
|
mso-style-unhide:no;
|
533
539
|
mso-style-qformat:yes;
|
540
|
+
mso-style-name:"Heading 6";
|
534
541
|
mso-style-parent:"Heading 5";
|
535
542
|
mso-style-link:"Heading 6 Char";
|
536
543
|
mso-style-next:Normal;
|
@@ -556,6 +563,7 @@ h6
|
|
556
563
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
557
564
|
{mso-style-priority:39;
|
558
565
|
mso-style-unhide:no;
|
566
|
+
mso-style-name:"TOC 1";
|
559
567
|
mso-style-next:Normal;
|
560
568
|
margin-top:6.0pt;
|
561
569
|
margin-right:25.0pt;
|
@@ -578,6 +586,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
|
|
578
586
|
{mso-style-noshow:yes;
|
579
587
|
mso-style-priority:39;
|
580
588
|
mso-style-unhide:no;
|
589
|
+
mso-style-name:"TOC 2";
|
581
590
|
mso-style-parent:"TOC 1";
|
582
591
|
mso-style-next:Normal;
|
583
592
|
margin-top:0cm;
|
@@ -601,6 +610,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
601
610
|
{mso-style-noshow:yes;
|
602
611
|
mso-style-priority:39;
|
603
612
|
mso-style-unhide:no;
|
613
|
+
mso-style-name:"TOC 3";
|
604
614
|
mso-style-parent:"TOC 2";
|
605
615
|
mso-style-next:Normal;
|
606
616
|
margin-top:0cm;
|
@@ -622,6 +632,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
622
632
|
mso-bidi-font-weight:normal;}
|
623
633
|
span.MsoFootnoteReference
|
624
634
|
{mso-style-priority:99;
|
635
|
+
mso-style-name:"Footnote Reference";
|
625
636
|
vertical-align:super;}
|
626
637
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
627
638
|
{mso-style-noshow:yes;
|