metanorma-ogc 1.5.2 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/lib/asciidoctor/ogc/cleanup.rb +35 -9
  4. data/lib/asciidoctor/ogc/converter.rb +6 -4
  5. data/lib/asciidoctor/ogc/isodoc.rng +61 -18
  6. data/lib/asciidoctor/ogc/validate.rb +12 -0
  7. data/lib/isodoc/ogc/base_convert.rb +2 -1
  8. data/lib/isodoc/ogc/html/htmlstyle.css +33 -14
  9. data/lib/isodoc/ogc/html/htmlstyle.scss +16 -10
  10. data/lib/isodoc/ogc/html/ogc.css +0 -1
  11. data/lib/isodoc/ogc/html/ogc.scss +0 -1
  12. data/lib/isodoc/ogc/html/ogc_wp.css +0 -1
  13. data/lib/isodoc/ogc/html/ogc_wp.scss +0 -1
  14. data/lib/isodoc/ogc/html/scripts.html +0 -1
  15. data/lib/isodoc/ogc/html/wordstyle.css +30 -18
  16. data/lib/isodoc/ogc/html/wordstyle.scss +30 -18
  17. data/lib/isodoc/ogc/html/wordstyle_wp.css +22 -12
  18. data/lib/isodoc/ogc/html/wordstyle_wp.scss +22 -12
  19. data/lib/isodoc/ogc/html_convert.rb +1 -0
  20. data/lib/isodoc/ogc/metadata.rb +7 -2
  21. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +457 -123
  22. data/lib/isodoc/ogc/ogc.best-practice.xsl +457 -123
  23. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +457 -123
  24. data/lib/isodoc/ogc/ogc.community-practice.xsl +457 -123
  25. data/lib/isodoc/ogc/ogc.community-standard.xsl +457 -123
  26. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +457 -123
  27. data/lib/isodoc/ogc/ogc.engineering-report.xsl +457 -123
  28. data/lib/isodoc/ogc/ogc.other.xsl +457 -123
  29. data/lib/isodoc/ogc/ogc.policy.xsl +457 -123
  30. data/lib/isodoc/ogc/ogc.reference-model.xsl +457 -123
  31. data/lib/isodoc/ogc/ogc.release-notes.xsl +457 -123
  32. data/lib/isodoc/ogc/ogc.standard.xsl +457 -123
  33. data/lib/isodoc/ogc/ogc.test-suite.xsl +457 -123
  34. data/lib/isodoc/ogc/ogc.user-guide.xsl +457 -123
  35. data/lib/isodoc/ogc/ogc.white-paper.xsl +334 -95
  36. data/lib/isodoc/ogc/presentation_xml_convert.rb +54 -4
  37. data/lib/isodoc/ogc/reqt.rb +1 -1
  38. data/lib/isodoc/ogc/sections.rb +9 -2
  39. data/lib/isodoc/ogc/word_convert.rb +28 -4
  40. data/lib/isodoc/ogc/xref.rb +4 -2
  41. data/lib/metanorma/ogc/version.rb +1 -1
  42. data/metanorma-ogc.gemspec +1 -1
  43. metadata +8 -8
@@ -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: 0.7cm;
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: 1.0cm;
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
- h3 {
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: 1.3cm;
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
- h4 {
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: 1.6cm;
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
- h5 {
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: 1.9cm;
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
- h6 {
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: 2.2cm;
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;
@@ -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
- h3
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
- h4
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
- h5
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
- h6
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
- h4 {
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
- h5 {
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
- h6 {
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
- h4
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
- h5
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
- h6
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;
@@ -67,6 +67,7 @@ module IsoDoc
67
67
  boilerplate docxml, div3
68
68
  preface_block docxml, div3
69
69
  abstract docxml, div3
70
+ executivesummary docxml, div3
70
71
  keywords docxml, div3
71
72
  foreword docxml, div3
72
73
  introduction docxml, div3
@@ -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
 
@@ -130,8 +131,12 @@ module IsoDoc
130
131
  def bibdate(isoxml, _out)
131
132
  super
132
133
  d = docdate(isoxml)
133
- old = d.nil? || d.empty? ||
134
- DateTime.iso8601("2021-11-08") > DateTime.parse(d.text)
134
+ begin
135
+ old = d.nil? || d.empty? ||
136
+ DateTime.iso8601("2021-11-08") > DateTime.parse(d.text)
137
+ rescue StandardError
138
+ old = false
139
+ end
135
140
  set(:logo_word, old ? get[:logo_old] : get[:logo_new])
136
141
  end
137
142
  end