metanorma-ogc 1.5.4.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +4 -32
- data/.gitignore +11 -0
- data/Gemfile +0 -1
- data/lib/isodoc/ogc/base_convert.rb +1 -1
- data/lib/isodoc/ogc/biblio.rb +7 -6
- data/lib/isodoc/ogc/html/html_ogc_titlepage.html +6 -0
- data/lib/isodoc/ogc/html/htmlstyle.css +49 -28
- data/lib/isodoc/ogc/html/htmlstyle.scss +19 -11
- data/lib/isodoc/ogc/html/word_ogc_titlepage.html +6 -1
- data/lib/isodoc/ogc/html/word_ogc_titlepage_wp.html +6 -1
- data/lib/isodoc/ogc/html/wordstyle.css +30 -18
- data/lib/isodoc/ogc/html/wordstyle.scss +30 -18
- data/lib/isodoc/ogc/html/wordstyle_wp.css +22 -12
- data/lib/isodoc/ogc/html/wordstyle_wp.scss +22 -12
- data/lib/isodoc/ogc/metadata.rb +4 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.best-practice.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.community-practice.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.community-standard.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.other.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.policy.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.reference-model.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.release-notes.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.standard.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.test-suite.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.user-guide.xsl +1677 -1309
- data/lib/isodoc/ogc/ogc.white-paper.xsl +1655 -1303
- data/lib/isodoc/ogc/presentation_xml_convert.rb +35 -18
- data/lib/isodoc/ogc/reqt.rb +17 -3
- data/lib/{asciidoctor → metanorma}/ogc/basicdoc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ogc/biblio.rng +2 -2
- data/lib/{asciidoctor → metanorma}/ogc/boilerplate.xml +0 -0
- data/lib/{asciidoctor → metanorma}/ogc/cleanup.rb +54 -10
- data/lib/{asciidoctor → metanorma}/ogc/converter.rb +13 -3
- data/lib/{asciidoctor → metanorma}/ogc/front.rb +15 -3
- data/lib/{asciidoctor → metanorma}/ogc/isodoc.rng +104 -3
- data/lib/{asciidoctor → metanorma}/ogc/ogc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ogc/reqt.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ogc/validate.rb +39 -1
- data/lib/metanorma/ogc/version.rb +1 -1
- data/lib/metanorma/ogc.rb +1 -0
- data/lib/metanorma-ogc.rb +0 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +14 -15
- data/lib/asciidoctor/ogc.rb +0 -6
@@ -339,7 +339,7 @@ div.figure, p.figure
|
|
339
339
|
{text-align: center;}
|
340
340
|
|
341
341
|
|
342
|
-
h1
|
342
|
+
h1, .h1
|
343
343
|
{mso-style-priority:1;
|
344
344
|
mso-style-unhide:no;
|
345
345
|
mso-style-qformat:yes;
|
@@ -354,8 +354,6 @@ h1
|
|
354
354
|
line-height:13.5pt;
|
355
355
|
mso-pagination:widow-orphan;
|
356
356
|
page-break-after:avoid;
|
357
|
-
mso-outline-level:1;
|
358
|
-
mso-list:l1 level1 lfo6;
|
359
357
|
mso-hyphenate:none;
|
360
358
|
tab-stops:0.7cm;
|
361
359
|
font-size:13.0pt;
|
@@ -367,6 +365,10 @@ h1
|
|
367
365
|
mso-ansi-language:EN-GB;
|
368
366
|
mso-fareast-language:JA;
|
369
367
|
mso-bidi-font-weight:normal;}
|
368
|
+
h1 {
|
369
|
+
mso-outline-level:1;
|
370
|
+
mso-list:l1 level1 lfo6;
|
371
|
+
}
|
370
372
|
h1.Annex
|
371
373
|
{mso-style-priority:1;
|
372
374
|
mso-style-unhide:no;
|
@@ -423,7 +425,7 @@ h1.Annex
|
|
423
425
|
mso-ansi-language:EN-GB;
|
424
426
|
mso-fareast-language:JA;
|
425
427
|
mso-bidi-font-weight:normal;}
|
426
|
-
h2
|
428
|
+
h2, .h2
|
427
429
|
{mso-style-priority:2;
|
428
430
|
mso-style-unhide:no;
|
429
431
|
mso-style-qformat:yes;
|
@@ -439,8 +441,6 @@ h2
|
|
439
441
|
line-height:12.5pt;
|
440
442
|
mso-pagination:widow-orphan;
|
441
443
|
page-break-after:avoid;
|
442
|
-
mso-outline-level:2;
|
443
|
-
mso-list:l1 level2 lfo6;
|
444
444
|
mso-hyphenate:none;
|
445
445
|
tab-stops:1.0cm;
|
446
446
|
font-size:12.0pt;
|
@@ -451,7 +451,11 @@ h2
|
|
451
451
|
mso-ansi-language:EN-GB;
|
452
452
|
mso-fareast-language:JA;
|
453
453
|
mso-bidi-font-weight:normal;}
|
454
|
-
|
454
|
+
h2 {
|
455
|
+
mso-outline-level:2;
|
456
|
+
mso-list:l1 level2 lfo6;
|
457
|
+
}
|
458
|
+
h3, .h3
|
455
459
|
{mso-style-priority:3;
|
456
460
|
mso-style-unhide:no;
|
457
461
|
mso-style-qformat:yes;
|
@@ -467,8 +471,6 @@ h3
|
|
467
471
|
line-height:12.0pt;
|
468
472
|
mso-pagination:widow-orphan;
|
469
473
|
page-break-after:avoid;
|
470
|
-
mso-outline-level:3;
|
471
|
-
mso-list:l1 level3 lfo6;
|
472
474
|
mso-hyphenate:none;
|
473
475
|
tab-stops:1.3cm;
|
474
476
|
font-size:11.0pt;
|
@@ -478,7 +480,11 @@ h3
|
|
478
480
|
mso-ansi-language:EN-GB;
|
479
481
|
mso-fareast-language:JA;
|
480
482
|
mso-bidi-font-weight:normal;}
|
481
|
-
|
483
|
+
h3 {
|
484
|
+
mso-outline-level:3;
|
485
|
+
mso-list:l1 level3 lfo6;
|
486
|
+
}
|
487
|
+
h4, .h4
|
482
488
|
{mso-style-priority:4;
|
483
489
|
mso-style-unhide:no;
|
484
490
|
mso-style-qformat:yes;
|
@@ -494,8 +500,6 @@ h4
|
|
494
500
|
line-height:12.0pt;
|
495
501
|
mso-pagination:widow-orphan;
|
496
502
|
page-break-after:avoid;
|
497
|
-
mso-outline-level:4;
|
498
|
-
mso-list:l1 level4 lfo6;
|
499
503
|
mso-hyphenate:none;
|
500
504
|
tab-stops:1.6cm;
|
501
505
|
font-size:11.0pt;
|
@@ -505,7 +509,11 @@ h4
|
|
505
509
|
mso-ansi-language:EN-GB;
|
506
510
|
mso-fareast-language:JA;
|
507
511
|
mso-bidi-font-weight:normal;}
|
508
|
-
|
512
|
+
h4 {
|
513
|
+
mso-outline-level:4;
|
514
|
+
mso-list:l1 level4 lfo6;
|
515
|
+
}
|
516
|
+
h5, .h5
|
509
517
|
{mso-style-priority:5;
|
510
518
|
mso-style-unhide:no;
|
511
519
|
mso-style-qformat:yes;
|
@@ -521,8 +529,6 @@ h5
|
|
521
529
|
line-height:12.0pt;
|
522
530
|
mso-pagination:widow-orphan;
|
523
531
|
page-break-after:avoid;
|
524
|
-
mso-outline-level:5;
|
525
|
-
mso-list:l1 level5 lfo6;
|
526
532
|
mso-hyphenate:none;
|
527
533
|
tab-stops:1.9cm;
|
528
534
|
font-size:11.0pt;
|
@@ -532,7 +538,11 @@ h5
|
|
532
538
|
mso-ansi-language:EN-GB;
|
533
539
|
mso-fareast-language:JA;
|
534
540
|
mso-bidi-font-weight:normal;}
|
535
|
-
|
541
|
+
h5 {
|
542
|
+
mso-outline-level:5;
|
543
|
+
mso-list:l1 level5 lfo6;
|
544
|
+
}
|
545
|
+
h6, .h6
|
536
546
|
{mso-style-priority:6;
|
537
547
|
mso-style-unhide:no;
|
538
548
|
mso-style-qformat:yes;
|
@@ -548,8 +558,6 @@ h6
|
|
548
558
|
line-height:12.0pt;
|
549
559
|
mso-pagination:widow-orphan;
|
550
560
|
page-break-after:avoid;
|
551
|
-
mso-outline-level:6;
|
552
|
-
mso-list:l1 level6 lfo6;
|
553
561
|
mso-hyphenate:none;
|
554
562
|
tab-stops:2.2cm;
|
555
563
|
font-size:11.0pt;
|
@@ -559,6 +567,10 @@ h6
|
|
559
567
|
mso-ansi-language:EN-GB;
|
560
568
|
mso-fareast-language:JA;
|
561
569
|
mso-bidi-font-weight:normal;}
|
570
|
+
h6 {
|
571
|
+
mso-outline-level:6;
|
572
|
+
mso-list:l1 level6 lfo6;
|
573
|
+
}
|
562
574
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
563
575
|
{mso-style-priority:39;
|
564
576
|
mso-style-unhide:no;
|
@@ -467,7 +467,7 @@ span.blackgraphtx {
|
|
467
467
|
div.figure, p.figure {
|
468
468
|
text-align: center; }
|
469
469
|
|
470
|
-
h1 {
|
470
|
+
h1, .h1 {
|
471
471
|
mso-style-priority: 1;
|
472
472
|
mso-style-unhide: no;
|
473
473
|
mso-style-qformat: yes;
|
@@ -481,8 +481,6 @@ h1 {
|
|
481
481
|
mso-add-space: auto;
|
482
482
|
mso-pagination: widow-orphan lines-together;
|
483
483
|
page-break-after: avoid;
|
484
|
-
mso-outline-level: 1;
|
485
|
-
mso-list: l1 level1 lfo6;
|
486
484
|
tab-stops: 0.7cm;
|
487
485
|
border: none;
|
488
486
|
mso-border-bottom-alt: solid #152B4D 2.25pt;
|
@@ -506,6 +504,10 @@ h1 {
|
|
506
504
|
mso-fareast-language: EN-US;
|
507
505
|
font-weight: normal; }
|
508
506
|
|
507
|
+
h1 {
|
508
|
+
mso-outline-level: 1;
|
509
|
+
mso-list: l1 level1 lfo6; }
|
510
|
+
|
509
511
|
/*
|
510
512
|
h1.Annex
|
511
513
|
{mso-style-priority:1;
|
@@ -537,7 +539,7 @@ h1.Annex
|
|
537
539
|
mso-fareast-language:JA;
|
538
540
|
mso-bidi-font-weight:normal;}
|
539
541
|
*/
|
540
|
-
.h2Annex, h2 {
|
542
|
+
.h2Annex, h2, .h2 {
|
541
543
|
mso-style-priority: 2;
|
542
544
|
mso-style-unhide: no;
|
543
545
|
mso-style-qformat: yes;
|
@@ -567,7 +569,7 @@ h1.Annex
|
|
567
569
|
h2 {
|
568
570
|
mso-list: l1 level2 lfo6; }
|
569
571
|
|
570
|
-
h3 {
|
572
|
+
h3, .h3 {
|
571
573
|
mso-style-priority: 3;
|
572
574
|
mso-style-unhide: no;
|
573
575
|
mso-style-qformat: yes;
|
@@ -582,7 +584,6 @@ h3 {
|
|
582
584
|
line-height: 107%;
|
583
585
|
mso-pagination: widow-orphan lines-together;
|
584
586
|
page-break-after: avoid;
|
585
|
-
mso-outline-level: 3;
|
586
587
|
tab-stops: 1.3cm;
|
587
588
|
font-size: 12.0pt;
|
588
589
|
font-family: {{headerfont}};
|
@@ -594,7 +595,10 @@ h3 {
|
|
594
595
|
font-weight: bold;
|
595
596
|
mso-bidi-font-weight: normal; }
|
596
597
|
|
597
|
-
|
598
|
+
h3 {
|
599
|
+
mso-outline-level: 3; }
|
600
|
+
|
601
|
+
h4, .h4 {
|
598
602
|
mso-style-priority: 4;
|
599
603
|
mso-style-unhide: no;
|
600
604
|
mso-style-qformat: yes;
|
@@ -610,7 +614,6 @@ h4 {
|
|
610
614
|
tab-stops: 1.6cm;
|
611
615
|
mso-pagination: widow-orphan lines-together;
|
612
616
|
page-break-after: avoid;
|
613
|
-
mso-outline-level: 4;
|
614
617
|
font-size: {{normalfontsize}};
|
615
618
|
font-family: {{headerfont}};
|
616
619
|
color: #1F4E79;
|
@@ -621,7 +624,10 @@ h4 {
|
|
621
624
|
font-weight: normal;
|
622
625
|
font-style: italic; }
|
623
626
|
|
624
|
-
|
627
|
+
h4 {
|
628
|
+
mso-outline-level: 4; }
|
629
|
+
|
630
|
+
h5, .h5 {
|
625
631
|
mso-style-priority: 5;
|
626
632
|
mso-style-unhide: no;
|
627
633
|
mso-style-qformat: yes;
|
@@ -637,7 +643,6 @@ h5 {
|
|
637
643
|
tab-stops: 1.9cm;
|
638
644
|
mso-pagination: widow-orphan lines-together;
|
639
645
|
page-break-after: avoid;
|
640
|
-
mso-outline-level: 5;
|
641
646
|
font-size: {{normalfontsize}};
|
642
647
|
font-family: {{headerfont}};
|
643
648
|
color: #1F4E79;
|
@@ -647,7 +652,10 @@ h5 {
|
|
647
652
|
mso-fareast-language: EN-US;
|
648
653
|
font-weight: normal; }
|
649
654
|
|
650
|
-
|
655
|
+
h5 {
|
656
|
+
mso-outline-level: 5; }
|
657
|
+
|
658
|
+
h6, .h6 {
|
651
659
|
mso-style-priority: 6;
|
652
660
|
mso-style-unhide: no;
|
653
661
|
mso-style-qformat: yes;
|
@@ -663,7 +671,6 @@ h6 {
|
|
663
671
|
tab-stops: 2.2cm;
|
664
672
|
mso-pagination: widow-orphan lines-together;
|
665
673
|
page-break-after: avoid;
|
666
|
-
mso-outline-level: 6;
|
667
674
|
font-size: {{normalfontsize}};
|
668
675
|
font-family: {{headerfont}};
|
669
676
|
mso-fareast-font-family: "MS Gothic";
|
@@ -678,6 +685,9 @@ h6 {
|
|
678
685
|
font-weight: bold;
|
679
686
|
mso-bidi-font-weight: normal; }
|
680
687
|
|
688
|
+
h6 {
|
689
|
+
mso-outline-level: 6; }
|
690
|
+
|
681
691
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
682
692
|
mso-style-priority: 39;
|
683
693
|
mso-style-unhide: no;
|
@@ -435,7 +435,7 @@ div.figure, p.figure
|
|
435
435
|
{text-align: center;}
|
436
436
|
|
437
437
|
|
438
|
-
h1
|
438
|
+
h1, .h1
|
439
439
|
{mso-style-priority:1;
|
440
440
|
mso-style-unhide:no;
|
441
441
|
mso-style-qformat:yes;
|
@@ -449,8 +449,6 @@ h1
|
|
449
449
|
mso-add-space:auto;
|
450
450
|
mso-pagination:widow-orphan lines-together;
|
451
451
|
page-break-after:avoid;
|
452
|
-
mso-outline-level:1;
|
453
|
-
mso-list:l1 level1 lfo6;
|
454
452
|
tab-stops:0.7cm;
|
455
453
|
border:none;
|
456
454
|
mso-border-bottom-alt:solid #152B4D 2.25pt;
|
@@ -473,6 +471,10 @@ h1
|
|
473
471
|
mso-ansi-language:EN-US;
|
474
472
|
mso-fareast-language:EN-US;
|
475
473
|
font-weight:normal;}
|
474
|
+
h1 {
|
475
|
+
mso-outline-level:1;
|
476
|
+
mso-list:l1 level1 lfo6;
|
477
|
+
}
|
476
478
|
/*
|
477
479
|
h1.Annex
|
478
480
|
{mso-style-priority:1;
|
@@ -504,7 +506,7 @@ h1.Annex
|
|
504
506
|
mso-fareast-language:JA;
|
505
507
|
mso-bidi-font-weight:normal;}
|
506
508
|
*/
|
507
|
-
.h2Annex, h2
|
509
|
+
.h2Annex, h2, .h2
|
508
510
|
{mso-style-priority:2;
|
509
511
|
mso-style-unhide:no;
|
510
512
|
mso-style-qformat:yes;
|
@@ -534,7 +536,7 @@ h2
|
|
534
536
|
{
|
535
537
|
mso-list:l1 level2 lfo6;
|
536
538
|
}
|
537
|
-
h3
|
539
|
+
h3, .h3
|
538
540
|
{mso-style-priority:3;
|
539
541
|
mso-style-unhide:no;
|
540
542
|
mso-style-qformat:yes;
|
@@ -549,7 +551,6 @@ h3
|
|
549
551
|
line-height:107%;
|
550
552
|
mso-pagination:widow-orphan lines-together;
|
551
553
|
page-break-after:avoid;
|
552
|
-
mso-outline-level:3;
|
553
554
|
tab-stops:1.3cm;
|
554
555
|
font-size:12.0pt;
|
555
556
|
font-family:$headerfont;
|
@@ -560,7 +561,10 @@ h3
|
|
560
561
|
mso-fareast-language:EN-US;
|
561
562
|
font-weight:bold;
|
562
563
|
mso-bidi-font-weight:normal;}
|
563
|
-
|
564
|
+
h3 {
|
565
|
+
mso-outline-level:3;
|
566
|
+
}
|
567
|
+
h4, .h4
|
564
568
|
{mso-style-priority:4;
|
565
569
|
mso-style-unhide:no;
|
566
570
|
mso-style-qformat:yes;
|
@@ -576,7 +580,6 @@ h4
|
|
576
580
|
tab-stops:1.6cm;
|
577
581
|
mso-pagination:widow-orphan lines-together;
|
578
582
|
page-break-after:avoid;
|
579
|
-
mso-outline-level:4;
|
580
583
|
font-size:$normalfontsize;
|
581
584
|
font-family:$headerfont;
|
582
585
|
color:#1F4E79;
|
@@ -586,7 +589,10 @@ h4
|
|
586
589
|
mso-fareast-language:EN-US;
|
587
590
|
font-weight:normal;
|
588
591
|
font-style:italic;}
|
589
|
-
|
592
|
+
h4 {
|
593
|
+
mso-outline-level:4;
|
594
|
+
}
|
595
|
+
h5, .h5
|
590
596
|
{mso-style-priority:5;
|
591
597
|
mso-style-unhide:no;
|
592
598
|
mso-style-qformat:yes;
|
@@ -602,7 +608,6 @@ h5
|
|
602
608
|
tab-stops:1.9cm;
|
603
609
|
mso-pagination:widow-orphan lines-together;
|
604
610
|
page-break-after:avoid;
|
605
|
-
mso-outline-level:5;
|
606
611
|
font-size:$normalfontsize;
|
607
612
|
font-family:$headerfont;
|
608
613
|
color:#1F4E79;
|
@@ -611,7 +616,10 @@ h5
|
|
611
616
|
mso-ansi-language:EN-US;
|
612
617
|
mso-fareast-language:EN-US;
|
613
618
|
font-weight:normal;}
|
614
|
-
|
619
|
+
h5 {
|
620
|
+
mso-outline-level:5;
|
621
|
+
}
|
622
|
+
h6, .h6
|
615
623
|
{mso-style-priority:6;
|
616
624
|
mso-style-unhide:no;
|
617
625
|
mso-style-qformat:yes;
|
@@ -627,7 +635,6 @@ h6
|
|
627
635
|
tab-stops:2.2cm;
|
628
636
|
mso-pagination:widow-orphan lines-together;
|
629
637
|
page-break-after:avoid;
|
630
|
-
mso-outline-level:6;
|
631
638
|
font-size:$normalfontsize;
|
632
639
|
font-family:$headerfont;
|
633
640
|
mso-fareast-font-family:"MS Gothic";
|
@@ -641,6 +648,9 @@ h6
|
|
641
648
|
mso-fareast-language:EN-US;
|
642
649
|
font-weight:bold;
|
643
650
|
mso-bidi-font-weight:normal;}
|
651
|
+
h6 {
|
652
|
+
mso-outline-level:6;
|
653
|
+
}
|
644
654
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
645
655
|
{mso-style-priority:39;
|
646
656
|
mso-style-unhide:no;
|
data/lib/isodoc/ogc/metadata.rb
CHANGED
@@ -18,6 +18,7 @@ module IsoDoc
|
|
18
18
|
"test-suite" => "TS",
|
19
19
|
"user-guide" => "UG",
|
20
20
|
"white-paper" => "WP",
|
21
|
+
"technical-paper" => "TP",
|
21
22
|
"other" => "other",
|
22
23
|
}.freeze
|
23
24
|
|
@@ -62,6 +63,9 @@ module IsoDoc
|
|
62
63
|
editors = isoxml.xpath(ns("//bibdata/contributor"\
|
63
64
|
"[role/@type = 'editor']/person"))
|
64
65
|
set(:editors, extract_person_names(editors))
|
66
|
+
contributors = isoxml.xpath(ns("//bibdata/contributor"\
|
67
|
+
"[role/@type = 'contributor']/person"))
|
68
|
+
set(:contributors, extract_person_names(contributors))
|
65
69
|
agency(isoxml)
|
66
70
|
end
|
67
71
|
|