metanorma-ogc 1.2.7 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +4 -5
  3. data/lib/isodoc/ogc/html/htmlstyle.css +206 -206
  4. data/lib/isodoc/ogc/html/htmlstyle.scss +4 -4
  5. data/lib/isodoc/ogc/html/ogc.css +21 -21
  6. data/lib/isodoc/ogc/html/ogc.scss +21 -21
  7. data/lib/isodoc/ogc/html/ogc_wp.css +35 -35
  8. data/lib/isodoc/ogc/html/ogc_wp.scss +35 -35
  9. data/lib/isodoc/ogc/html/wordstyle.css +19 -19
  10. data/lib/isodoc/ogc/html/wordstyle.scss +19 -19
  11. data/lib/isodoc/ogc/html/wordstyle_wp.css +23 -23
  12. data/lib/isodoc/ogc/html/wordstyle_wp.scss +23 -23
  13. data/lib/isodoc/ogc/html_convert.rb +4 -1
  14. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +10 -6
  15. data/lib/isodoc/ogc/ogc.best-practice.xsl +10 -6
  16. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +10 -6
  17. data/lib/isodoc/ogc/ogc.community-practice.xsl +10 -6
  18. data/lib/isodoc/ogc/ogc.community-standard.xsl +10 -6
  19. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +10 -6
  20. data/lib/isodoc/ogc/ogc.engineering-report.xsl +10 -6
  21. data/lib/isodoc/ogc/ogc.other.xsl +10 -6
  22. data/lib/isodoc/ogc/ogc.policy.xsl +10 -6
  23. data/lib/isodoc/ogc/ogc.reference-model.xsl +10 -6
  24. data/lib/isodoc/ogc/ogc.release-notes.xsl +10 -6
  25. data/lib/isodoc/ogc/ogc.standard.xsl +10 -6
  26. data/lib/isodoc/ogc/ogc.test-suite.xsl +10 -6
  27. data/lib/isodoc/ogc/ogc.user-guide.xsl +10 -6
  28. data/lib/isodoc/ogc/ogc.white-paper.xsl +9 -5
  29. data/lib/isodoc/ogc/presentation_xml_convert.rb +13 -0
  30. data/lib/isodoc/ogc/word_convert.rb +7 -1
  31. data/lib/metanorma/ogc.rb +7 -0
  32. data/lib/metanorma/ogc/fonts_manifest.yaml +6 -0
  33. data/lib/metanorma/ogc/processor.rb +0 -8
  34. data/lib/metanorma/ogc/version.rb +1 -1
  35. data/metanorma-ogc.gemspec +1 -1
  36. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c98825fb2e3aa0602fac7aa4728f9d0754ae573cb83d2a9675a737a8bbab0554
4
- data.tar.gz: a955eb128743c632b0d6bbae3473a40989fc0e74d8393cfb7e2a0885388594e9
3
+ metadata.gz: 6245ace03109e272fe254101d73a9cc5480d88d381c55d74559a947765996927
4
+ data.tar.gz: b26cf5092c6612aca2b976587bcca88a6779d8df5a71c65e83c906ca50448f92
5
5
  SHA512:
6
- metadata.gz: e530139fcb35e28a16c3aa2833517b924313cb3ffd02b9cfba814483f2f51aa4e8ec96b12995221219b0ad540667b6acdd3b6add457a55c75c789537551a936d
7
- data.tar.gz: a1b57a97cc3920430ce966d421f3bba843c6ca0f280b4c562abbbdf2af10f325e4ba8d09c406c42006eac9275d4a9d78f760aa2705204d15c5ac22039461fcfc
6
+ metadata.gz: 6a043cf809b33c32c3f5fba14a6b626bde3a3a0b17378fc09d5de47d5d3ea1f469b8b2a2e47d4a04ef603b7a9d57a17977e9d37e8f3ff71ec2af7892aa0df20d
7
+ data.tar.gz: 3535cca021ddde7151343fb0b281685bcda3e2800256eb2e2f3a60a3508ae11a39c9a57cd866642b4ca31b18692cdcff10b0707fed54caadb8eff61fd4cc8d89
@@ -36,7 +36,7 @@ jobs:
36
36
  with:
37
37
  ruby-version: ${{ matrix.ruby }}
38
38
 
39
- - uses: actions/cache@v1
39
+ - uses: actions/cache@v2
40
40
  with:
41
41
  path: vendor/bundle
42
42
  key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
@@ -48,15 +48,14 @@ jobs:
48
48
 
49
49
  - run: bundle exec rake
50
50
 
51
- notify:
52
- name: Trigger notify workflow
51
+ tests-passed:
53
52
  needs: rake
54
53
  runs-on: ubuntu-latest
55
54
  steps:
56
- - name: Trigger notify workflow
55
+ - name: Trigger tests passed event
57
56
  uses: Sibz/github-status-action@v1
58
57
  with:
59
- authToken: ${{ secrets.GITHUB_TOKEN }}
58
+ authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
60
59
  context: 'tests-passed-successfully'
61
60
  description: 'Tests passed successfully'
62
61
  state: 'success'
@@ -264,11 +264,213 @@ a.FootnoteRef + a.FootnoteRef:before {
264
264
  #retired {
265
265
  border-bottom: solid 3px #7e0d13; }
266
266
 
267
+ .coverpage-maturity, .coverpage-stage {
268
+ font-family: {{headerfont}};
269
+ font-weight: 400;
270
+ font-size: 1.3em;
271
+ margin: 0 0 2em 0;
272
+ text-transform: uppercase; }
273
+
274
+ .icon-svg {
275
+ width: 100%;
276
+ color: #5ecf86; }
277
+
278
+ .wrapper-top {
279
+ background: #00335b;
280
+ background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
281
+ color: #ffffff;
282
+ padding: 5em 0;
283
+ width: 100%; }
284
+
285
+ .wrapper-top-bottom {
286
+ width: 0;
287
+ height: 0;
288
+ border-top: 100px solid #00335b;
289
+ border-right: 100px solid transparent;
290
+ position: absolute; }
291
+
292
+ .document-type-band {
293
+ top: 260px; }
294
+
295
+ .document-stage-band > :first-child {
296
+ height: 240px; }
297
+
298
+ .coverpage-metadata {
299
+ margin-top: 35px;
300
+ padding-top: 15px;
301
+ margin-right: 25px;
302
+ border-top: solid 1px white; }
303
+
304
+ .coverpage-metadata,
305
+ .coverpage-alt-formats {
306
+ font-size: 12px;
307
+ font-family: {{headerfont}};
308
+ margin-left: 1em;
309
+ text-align: left; }
310
+ .coverpage-metadata span,
311
+ .coverpage-alt-formats span {
312
+ display: block;
313
+ text-align: left; }
314
+ .coverpage-metadata span a,
315
+ .coverpage-alt-formats span a {
316
+ color: white; }
317
+ .coverpage-metadata span a:hover,
318
+ .coverpage-alt-formats span a:hover {
319
+ text-decoration: underline;
320
+ background: none;
321
+ box-shadow: none !important;
322
+ font-weight: 400; }
323
+ .coverpage-metadata .value,
324
+ .coverpage-alt-formats .value {
325
+ font-size: 15px;
326
+ margin-bottom: 15px; }
327
+ .coverpage-metadata .label,
328
+ .coverpage-alt-formats .label {
329
+ font-size: 12px;
330
+ padding: 0; }
331
+
332
+ .coverpage-alt-formats span {
333
+ display: inline;
334
+ text-align: left; }
335
+ .coverpage-alt-formats span a {
336
+ padding-right: 5px; }
337
+
338
+ .coverpage-title {
339
+ padding-bottom: 0.5em;
340
+ font-family: {{headerfont}};
341
+ font-weight: 100;
342
+ padding-left: 1em;
343
+ padding-right: 1em; }
344
+ .coverpage-title span {
345
+ font-family: {{headerfont}};
346
+ font-size: 1.8em;
347
+ line-height: 1; }
348
+
349
+ .docstage-box table {
350
+ width: auto; }
351
+
352
+ .docstage-box th {
353
+ background-color: #93c0d6; }
354
+
355
+ .docstage-box td {
356
+ vertical-align: top;
357
+ background-color: #daeef3;
358
+ padding: 0.5em;
359
+ border: 0; }
360
+
361
+ .docstage-box th:first-child {
362
+ border-radius: 1em 0 0 0; }
363
+
364
+ .docstage-box th:last-child {
365
+ border-radius: 0 1em 0 0; }
366
+
367
+ .docstage-box tr:first-child {
368
+ border-radius: 0 0 0 1em; }
369
+
370
+ .docstage-box tr:last-child {
371
+ border-radius: 0 1em 0 0; }
372
+
373
+ .docstage-box tr:last-child > td:first-child {
374
+ border-radius: 0 0 0 1em; }
375
+
376
+ .docstage-box tr:last-child > td:last-child {
377
+ border-radius: 0 0 1em 0; }
378
+
379
+ .WordSection11 {
380
+ padding: 0 2em 0 3em; }
381
+
382
+ .info-section {
383
+ padding: 0 2em 0 5em; }
384
+
385
+ .prefatory-section {
386
+ padding: 0 3em 0 6em; }
387
+
388
+ .zzSTDTitle1, .MsoCommentText {
389
+ display: none; }
390
+
391
+ .coverpage {
392
+ text-align: center;
393
+ padding-left: 1.5em; }
394
+
395
+ .coverpage-logo span, .coverpage-tc-name span {
396
+ font-family: {{bodyfont}};
397
+ text-transform: none;
398
+ font-weight: 300;
399
+ margin-left: 1em; }
400
+
401
+ .coverpage-tc-name {
402
+ font-size: 1.2em;
403
+ line-height: 1.2em;
404
+ margin: 0.25em 0; }
405
+
406
+ .copyright {
407
+ padding: 1em;
408
+ font-size: 0.9em;
409
+ text-align: left; }
410
+
411
+ /* Document Identity */
412
+ .coverpage-doc-identity {
413
+ font-size: 2em;
414
+ line-height: 2em; }
415
+
416
+ .coverpage-title .title-second {
417
+ display: none; }
418
+
419
+ .coverpage-stage-block {
420
+ font-family: {{headerfont}};
421
+ font-weight: 600;
422
+ font-size: 1.25em;
423
+ margin: 2em 0em 2em 0em;
424
+ text-transform: uppercase; }
425
+
426
+ .authors {
427
+ margin-top: 2em; }
428
+ .authors span {
429
+ display: block;
430
+ line-height: 2; }
431
+ .authors span.roletag {
432
+ display: inline-block;
433
+ font-size: 12px;
434
+ color: #00335b;
435
+ background-color: white;
436
+ padding: 2px 5px;
437
+ margin-left: 7px;
438
+ border-radius: 5px; }
439
+
440
+ /* Draft Warning */
441
+ .coverpage-warning {
442
+ border: #f36f36 solid 2px;
443
+ color: #f36f36 !important;
444
+ margin: 1em 2em;
445
+ color: #2e81c2;
446
+ padding: 2em 1em 1em 1em;
447
+ border-radius: 25px; }
448
+ .coverpage-warning h1 {
449
+ font-family: {{headerfont}};
450
+ font-weight: 300;
451
+ text-transform: uppercase;
452
+ font-size: 1.2em; }
453
+
454
+ @media print {
455
+ .document-info, .copyright {
456
+ page-break-before: always; }
457
+ .coverpage {
458
+ height: 23cm; }
459
+ .info-section {
460
+ display: none; }
461
+ .wrapper-top {
462
+ top: 0;
463
+ padding-top: 4cm;
464
+ padding-bottom: 4cm; }
465
+ .wrapper-top-bottom {
466
+ margin-top: -5px;
467
+ display: none; } }
468
+
267
469
  body {
268
470
  margin-left: auto;
269
471
  margin-right: auto;
270
472
  max-width: 100%;
271
- font-size: 16px;
473
+ font-size: {{normalfontsize}};
272
474
  font-weight: 300;
273
475
  line-height: 1.5;
274
476
  color: #00335b;
@@ -501,208 +703,6 @@ dl {
501
703
  #published {
502
704
  color: #9ABD48; }
503
705
 
504
- .coverpage-maturity, .coverpage-stage {
505
- font-family: {{headerfont}};
506
- font-weight: 400;
507
- font-size: 1.3em;
508
- margin: 0 0 2em 0;
509
- text-transform: uppercase; }
510
-
511
- .icon-svg {
512
- width: 100%;
513
- color: #5ecf86; }
514
-
515
- .wrapper-top {
516
- background: #00335b;
517
- background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
518
- color: #ffffff;
519
- padding: 5em 0;
520
- width: 100%; }
521
-
522
- .wrapper-top-bottom {
523
- width: 0;
524
- height: 0;
525
- border-top: 100px solid #00335b;
526
- border-right: 100px solid transparent;
527
- position: absolute; }
528
-
529
- .document-type-band {
530
- top: 260px; }
531
-
532
- .document-stage-band > :first-child {
533
- height: 240px; }
534
-
535
- .coverpage-metadata {
536
- margin-top: 35px;
537
- padding-top: 15px;
538
- margin-right: 25px;
539
- border-top: solid 1px white; }
540
-
541
- .coverpage-metadata,
542
- .coverpage-alt-formats {
543
- font-size: 12px;
544
- font-family: {{headerfont}};
545
- margin-left: 1em;
546
- text-align: left; }
547
- .coverpage-metadata span,
548
- .coverpage-alt-formats span {
549
- display: block;
550
- text-align: left; }
551
- .coverpage-metadata span a,
552
- .coverpage-alt-formats span a {
553
- color: white; }
554
- .coverpage-metadata span a:hover,
555
- .coverpage-alt-formats span a:hover {
556
- text-decoration: underline;
557
- background: none;
558
- box-shadow: none !important;
559
- font-weight: 400; }
560
- .coverpage-metadata .value,
561
- .coverpage-alt-formats .value {
562
- font-size: 15px;
563
- margin-bottom: 15px; }
564
- .coverpage-metadata .label,
565
- .coverpage-alt-formats .label {
566
- font-size: 12px;
567
- padding: 0; }
568
-
569
- .coverpage-alt-formats span {
570
- display: inline;
571
- text-align: left; }
572
- .coverpage-alt-formats span a {
573
- padding-right: 5px; }
574
-
575
- .coverpage-title {
576
- padding-bottom: 0.5em;
577
- font-family: {{headerfont}};
578
- font-weight: 100;
579
- padding-left: 1em;
580
- padding-right: 1em; }
581
- .coverpage-title span {
582
- font-family: {{headerfont}};
583
- font-size: 1.8em;
584
- line-height: 1; }
585
-
586
- .docstage-box table {
587
- width: auto; }
588
-
589
- .docstage-box th {
590
- background-color: #93c0d6; }
591
-
592
- .docstage-box td {
593
- vertical-align: top;
594
- background-color: #daeef3;
595
- padding: 0.5em;
596
- border: 0; }
597
-
598
- .docstage-box th:first-child {
599
- border-radius: 1em 0 0 0; }
600
-
601
- .docstage-box th:last-child {
602
- border-radius: 0 1em 0 0; }
603
-
604
- .docstage-box tr:first-child {
605
- border-radius: 0 0 0 1em; }
606
-
607
- .docstage-box tr:last-child {
608
- border-radius: 0 1em 0 0; }
609
-
610
- .docstage-box tr:last-child > td:first-child {
611
- border-radius: 0 0 0 1em; }
612
-
613
- .docstage-box tr:last-child > td:last-child {
614
- border-radius: 0 0 1em 0; }
615
-
616
- .WordSection11 {
617
- padding: 0 2em 0 3em; }
618
-
619
- .info-section {
620
- padding: 0 2em 0 5em; }
621
-
622
- .prefatory-section {
623
- padding: 0 3em 0 6em; }
624
-
625
- .zzSTDTitle1, .MsoCommentText {
626
- display: none; }
627
-
628
- .coverpage {
629
- text-align: center;
630
- padding-left: 1.5em; }
631
-
632
- .coverpage-logo span, .coverpage-tc-name span {
633
- font-family: {{bodyfont}};
634
- text-transform: none;
635
- font-weight: 300;
636
- margin-left: 1em; }
637
-
638
- .coverpage-tc-name {
639
- font-size: 1.2em;
640
- line-height: 1.2em;
641
- margin: 0.25em 0; }
642
-
643
- .copyright {
644
- padding: 1em;
645
- font-size: 0.9em;
646
- text-align: left; }
647
-
648
- /* Document Identity */
649
- .coverpage-doc-identity {
650
- font-size: 2em;
651
- line-height: 2em; }
652
-
653
- .coverpage-title .title-second {
654
- display: none; }
655
-
656
- .coverpage-stage-block {
657
- font-family: {{headerfont}};
658
- font-weight: 600;
659
- font-size: 1.25em;
660
- margin: 2em 0em 2em 0em;
661
- text-transform: uppercase; }
662
-
663
- .authors {
664
- margin-top: 2em; }
665
- .authors span {
666
- display: block;
667
- line-height: 2; }
668
- .authors span.roletag {
669
- display: inline-block;
670
- font-size: 12px;
671
- color: #00335b;
672
- background-color: white;
673
- padding: 2px 5px;
674
- margin-left: 7px;
675
- border-radius: 5px; }
676
-
677
- /* Draft Warning */
678
- .coverpage-warning {
679
- border: #f36f36 solid 2px;
680
- color: #f36f36 !important;
681
- margin: 1em 2em;
682
- color: #2e81c2;
683
- padding: 2em 1em 1em 1em;
684
- border-radius: 25px; }
685
- .coverpage-warning h1 {
686
- font-family: {{headerfont}};
687
- font-weight: 300;
688
- text-transform: uppercase;
689
- font-size: 1.2em; }
690
-
691
- @media print {
692
- .document-info, .copyright {
693
- page-break-before: always; }
694
- .coverpage {
695
- height: 23cm; }
696
- .info-section {
697
- display: none; }
698
- .wrapper-top {
699
- top: 0;
700
- padding-top: 4cm;
701
- padding-bottom: 4cm; }
702
- .wrapper-top-bottom {
703
- margin-top: -5px;
704
- display: none; } }
705
-
706
706
  p {
707
707
  margin-top: 1em;
708
708
  margin-bottom: 1em; }
@@ -888,7 +888,7 @@ pre {
888
888
  font-family: {{monospacefont}};
889
889
  font-variant-ligatures: none;
890
890
  background-color: #f7f7f7;
891
- font-size: 0.8em;
891
+ font-size: {{monospacefontsize}};
892
892
  line-height: 1.6em;
893
893
  padding: 1.5em;
894
894
  margin: 2em 0 1em 0;
@@ -921,7 +921,7 @@ pre {
921
921
  .figure, pre, .pseudocode {
922
922
  background-color: #e1eef1;
923
923
  color: #424242;
924
- font-size: 0.8em; }
924
+ font-size: {{monospacefontsize}}; }
925
925
 
926
926
  .Note {
927
927
  background-color: #fff8bb;
@@ -1091,4 +1091,4 @@ a.footnote-number {
1091
1091
  font-size: 0.8em; }
1092
1092
 
1093
1093
  .footnote {
1094
- font-size: 0.9em; }
1094
+ font-size: {{footnotefontsize}}; }