metanorma-csa 1.8.9 → 1.8.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/csa/basicdoc.rng +21 -4
- data/lib/asciidoctor/csa/converter.rb +33 -31
- data/lib/asciidoctor/csa/isodoc.rng +241 -61
- data/lib/asciidoctor/csa/reqt.rng +23 -2
- data/lib/isodoc/csa/base_convert.rb +1 -1
- data/lib/isodoc/csa/csa.standard.xsl +328 -40
- data/lib/isodoc/csa/html/wordstyle.css +12 -1
- data/lib/isodoc/csa/html/wordstyle.scss +12 -1
- data/lib/isodoc/csa/word_convert.rb +4 -5
- data/lib/metanorma/csa/version.rb +1 -1
- metadata +2 -2
@@ -152,6 +152,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
152
152
|
|
153
153
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
|
154
154
|
mso-style-noshow: yes;
|
155
|
+
mso-style-name: "Comment Text";
|
155
156
|
mso-style-unhide: no;
|
156
157
|
margin: 0cm;
|
157
158
|
margin-bottom: .0001pt;
|
@@ -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 {
|
@@ -138,6 +138,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
138
138
|
|
139
139
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
140
140
|
{mso-style-noshow:yes;
|
141
|
+
mso-style-name:"Comment Text";
|
141
142
|
mso-style-unhide:no;
|
142
143
|
margin:0cm;
|
143
144
|
margin-bottom:.0001pt;
|
@@ -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
|
-
|
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;
|
@@ -1,16 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative
|
3
|
+
require_relative "base_convert"
|
4
4
|
require "isodoc/generic/word_convert"
|
5
|
-
require_relative
|
6
|
-
require
|
5
|
+
require_relative "init"
|
6
|
+
require "isodoc"
|
7
7
|
|
8
8
|
module IsoDoc
|
9
9
|
module Csa
|
10
10
|
# A {Converter} implementation that generates CSA output, and a document
|
11
11
|
# schema encapsulation of the document for validation
|
12
|
-
class WordConvert < IsoDoc::WordConvert
|
13
|
-
|
12
|
+
class WordConvert < IsoDoc::Generic::WordConvert
|
14
13
|
include BaseConvert
|
15
14
|
include Init
|
16
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.13
|
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-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|