metanorma-un 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eca42d8621931a241e16887d84b062ec064593a110d5f23a5f28f9b5282bd3cf
4
- data.tar.gz: d51f24a5825cf0ba38ab77ea41d2e38659ab245a2f74e0cdcbe6e525b2e09708
3
+ metadata.gz: 870fc2e2963cf5fca7b05792198da7b3bc75f77fe888ca5cff74e915ddfddb4a
4
+ data.tar.gz: 41f55d87269a2ca2c2a13f26e5d25f0f456f1ad61235ee3e844507e23b52f8bf
5
5
  SHA512:
6
- metadata.gz: 9df76ef394aa561dfd1dea3231104cbdd6d44e24ccaec50a98dc9b1c8405a48a390cac3a5057fa4b686816301253ef7dd6f440e406faf2f4902c9058fbaa3c68
7
- data.tar.gz: 4b27092ea855f381cdac3e0ef4901d2bfd90ba692941b065e2bebc099a9dab1e24560ee025dc7ca52b3f21f20169c8bf6016e17ec17d9288ff130b0acb31b66f
6
+ metadata.gz: 25d58270c7247947460d83c45fddf7d9c3eea82e7a1fcef57e570109a760519739644c33cf8051fa47207d45fc7bcc64d7502d73a5bb57a6e5c290831a637336
7
+ data.tar.gz: d33dabc50fc6ef9bb557124de38928735da14daf2c258aafbf2307fb40517e961e4882b7316cc6c67dd0528d09ee617401d35e9047322b3a4c6c827aced7f8ee
@@ -9,35 +9,7 @@ on:
9
9
  pull_request:
10
10
 
11
11
  jobs:
12
- rake:
13
- name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
- runs-on: ${{ matrix.os }}
15
- continue-on-error: ${{ matrix.experimental }}
16
- strategy:
17
- fail-fast: false
18
- matrix:
19
- ruby: [ '3.0', '2.7', '2.6', '2.5' ]
20
- os: [ ubuntu-latest, windows-latest, macos-latest ]
21
- experimental: [ false ]
22
- steps:
23
- - uses: actions/checkout@v2
24
- with:
25
- submodules: true
26
-
27
- - uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: ${{ matrix.ruby }}
30
- bundler-cache: true
31
-
32
- - run: bundle exec rake
33
-
34
- tests-passed:
35
- needs: rake
36
- runs-on: ubuntu-latest
37
- steps:
38
- - uses: peter-evans/repository-dispatch@v1
39
- with:
40
- token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
41
- repository: ${{ github.repository }}
42
- event-type: tests-passed
43
- client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
12
+ notify:
13
+ uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
14
+ secrets:
15
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.gitignore CHANGED
@@ -1,3 +1,13 @@
1
1
  .DS_Store
2
2
 
3
3
  .rubocop-https--*
4
+
5
+ /.rspec_status
6
+ /Gemfile.devel
7
+ /Gemfile.lock
8
+ /coverage/
9
+ /test.doc
10
+ /test.err
11
+ /test.html
12
+ /test.pdf
13
+ /test.presentation.xml
@@ -75,6 +75,12 @@ code *, pre *, tt *, kbd *, samp * {
75
75
  font-family: {{monospacefont}} !important;
76
76
  font-variant-ligatures: none; }
77
77
 
78
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
79
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
80
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
81
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
82
+ font-size: {{monospacefontsize}}; }
83
+
78
84
  article, aside, details, figcaption, figure,
79
85
  footer, header, hgroup, menu, nav, section {
80
86
  display: block; }
@@ -86,6 +92,9 @@ table {
86
92
  h1, h2, h3, h4, h5, h6 {
87
93
  font-family: {{headerfont}}; }
88
94
 
95
+ .h1, .h2, .h3, .h4, .h5, .h6 {
96
+ font-family: {{headerfont}}; }
97
+
89
98
  blockquote, q {
90
99
  quotes: none; }
91
100
  blockquote:before, blockquote:after, q:before, q:after {
@@ -558,7 +567,8 @@ h3,
558
567
  h4,
559
568
  h5,
560
569
  h6,
561
- .h2Annex {
570
+ .h2Annex,
571
+ .h1, .h2, .h3, .h4, .h5, .h6 {
562
572
  font-family: {{headerfont}};
563
573
  color: #00ADEF;
564
574
  font-weight: 700;
@@ -568,38 +578,38 @@ h6,
568
578
 
569
579
  h1,
570
580
  h2,
571
- h3 {
581
+ h3, .h1, .h2, .h3 {
572
582
  margin-top: 18px;
573
583
  margin-bottom: 9px; }
574
584
 
575
- h1 {
585
+ h1, .h1 {
576
586
  font-size: 33px;
577
587
  font-weight: 500;
578
588
  margin: 0.67em 0;
579
589
  letter-spacing: -0.02em;
580
590
  color: #4D4D4D; }
581
591
 
582
- h2 {
592
+ h2, .h2 {
583
593
  font-size: 27px;
584
594
  color: #4D4D4D; }
585
595
 
586
- h3 {
596
+ h3, .h3 {
587
597
  font-size: 24px;
588
598
  margin-top: 26px;
589
599
  color: #000; }
590
600
 
591
- h4 {
601
+ h4, .h4 {
592
602
  font-size: 18.2px;
593
603
  margin-bottom: 2px;
594
604
  color: #4D4D4D;
595
605
  letter-spacing: 0.03em; }
596
606
 
597
- h5 {
607
+ h5, .h5 {
598
608
  font-size: 16.25px;
599
609
  color: #000;
600
610
  margin-bottom: 2px; }
601
611
 
602
- h6 {
612
+ h6, .h6 {
603
613
  font-size: 13px;
604
614
  color: #4D4D4D;
605
615
  letter-spacing: 0.05em; }
@@ -625,12 +635,12 @@ h6 {
625
635
  font-size: 1.1em;
626
636
  font-weight: 100;
627
637
  }*/
628
- .TermNum,
629
- .Terms,
630
- .AltTerms {
631
- color: #00ADEF;
638
+ .TermNum {
632
639
  font-weight: 100; }
633
640
 
641
+ .TermNum, .Terms, .AltTerms {
642
+ color: #00ADEF; }
643
+
634
644
  h2.TermNum {
635
645
  margin-bottom: 0; }
636
646
 
@@ -893,7 +903,7 @@ p {
893
903
  margin-bottom: 1em;
894
904
  margin-top: 1em; }
895
905
 
896
- h2 p {
906
+ h2 p, .h2 p {
897
907
  display: inline; }
898
908
 
899
909
  /*
@@ -1057,7 +1067,8 @@ To top button
1057
1067
  h1,
1058
1068
  h2,
1059
1069
  h3,
1060
- h4 {
1070
+ h4,
1071
+ .h1, .h2, .h3, .h4 {
1061
1072
  page-break-after: avoid;
1062
1073
  margin-top: 1.2em; }
1063
1074
  .note,
@@ -1089,12 +1100,12 @@ To top button
1089
1100
  h1.content {
1090
1101
  line-height: 2.5em;
1091
1102
  margin-top: 2em; }
1092
- h1 {
1103
+ h1, .h1 {
1093
1104
  font-size: 1.5em;
1094
1105
  line-height: 1.5; }
1095
- h2 {
1106
+ h2, .h2 {
1096
1107
  font-size: 1.2em; }
1097
- h3 {
1108
+ h3, .h3 {
1098
1109
  font-size: 1em; }
1099
1110
  .Note {
1100
1111
  background-color: #fff495;
@@ -268,7 +268,8 @@ h3,
268
268
  h4,
269
269
  h5,
270
270
  h6,
271
- .h2Annex {
271
+ .h2Annex,
272
+ .h1, .h2, .h3, .h4, .h5, .h6 {
272
273
  font-family: $headerfont;
273
274
  color: $un-blue;
274
275
  font-weight: 700;
@@ -279,12 +280,12 @@ h6,
279
280
 
280
281
  h1,
281
282
  h2,
282
- h3 {
283
+ h3, .h1, .h2, .h3 {
283
284
  margin-top: 18px;
284
285
  margin-bottom: 9px;
285
286
  }
286
287
 
287
- h1 {
288
+ h1, .h1 {
288
289
  font-size: 33px;
289
290
  font-weight: 500;
290
291
  margin: 0.67em 0;
@@ -293,31 +294,31 @@ h1 {
293
294
  }
294
295
 
295
296
 
296
- h2 {
297
+ h2, .h2 {
297
298
  font-size: 27px;
298
299
  color: $un-label;
299
300
  }
300
301
 
301
- h3 {
302
+ h3, .h3 {
302
303
  font-size: 24px;
303
304
  margin-top: 26px;
304
305
  color: $un-black;
305
306
  }
306
307
 
307
- h4 {
308
+ h4, .h4 {
308
309
  font-size: 18.2px;
309
310
  margin-bottom: 2px;
310
311
  color: $un-label;
311
312
  letter-spacing: 0.03em;
312
313
  }
313
314
 
314
- h5 {
315
+ h5, .h5 {
315
316
  font-size: 16.25px;
316
317
  color: $un-black;
317
318
  margin-bottom: 2px;
318
319
  }
319
320
 
320
- h6 {
321
+ h6, .h6 {
321
322
  font-size: 13px;
322
323
  color: $un-label;
323
324
  letter-spacing: 0.05em;
@@ -346,13 +347,14 @@ h6 {
346
347
  font-weight: 100;
347
348
  }*/
348
349
 
349
- .TermNum,
350
- .Terms,
351
- .AltTerms {
352
- color: $un-blue;
350
+ .TermNum {
353
351
  font-weight: 100;
354
352
  }
355
353
 
354
+ .TermNum, .Terms, .AltTerms {
355
+ color: $un-blue;
356
+ }
357
+
356
358
  h2.TermNum {
357
359
  margin-bottom: 0;
358
360
  }
@@ -606,7 +608,7 @@ p {
606
608
  margin-top: 1em;
607
609
  }
608
610
 
609
- h2 p {
611
+ h2 p, .h2 p {
610
612
  display: inline;
611
613
  }
612
614
 
@@ -790,7 +792,8 @@ To top button
790
792
  h1,
791
793
  h2,
792
794
  h3,
793
- h4 {
795
+ h4,
796
+ .h1, .h2, .h3, .h4 {
794
797
  page-break-after: avoid;
795
798
  margin-top: 1.2em;
796
799
  }
@@ -846,16 +849,16 @@ To top button
846
849
  margin-top: 2em;
847
850
  }
848
851
 
849
- h1 {
852
+ h1, .h1 {
850
853
  font-size: 1.5em;
851
854
  line-height: 1.5;
852
855
  }
853
856
 
854
- h2 {
857
+ h2, .h2 {
855
858
  font-size: 1.2em;
856
859
  }
857
860
 
858
- h3 {
861
+ h3, .h3 {
859
862
  font-size: 1em;
860
863
  }
861
864
 
@@ -17,7 +17,6 @@ $('#toggle').on('click', function(){
17
17
  else {
18
18
  $('nav').show();
19
19
  $('nav').animate({ 'left': '0px' }, 'slow');
20
- $('.container').animate({ 'padding-left': '360px' }, 'slow');
21
20
  }
22
21
  });
23
22
  </script>
@@ -314,7 +314,6 @@ p.Terms, li.Terms, div.Terms {
314
314
  mso-fareast-font-family: {{headerfont}};
315
315
  mso-bidi-font-family: {{headerfont}};
316
316
  mso-ansi-language: EN-GB;
317
- font-weight: bold;
318
317
  mso-bidi-font-weight: normal; }
319
318
 
320
319
  p.AltTerms, li.AltTerms, div.AltTerms {
@@ -314,7 +314,6 @@ p.Terms, li.Terms, div.Terms
314
314
  mso-fareast-font-family:$headerfont;
315
315
  mso-bidi-font-family:$headerfont;
316
316
  mso-ansi-language:EN-GB;
317
- font-weight:bold;
318
317
  mso-bidi-font-weight:normal;}
319
318
  p.AltTerms, li.AltTerms, div.AltTerms
320
319
  {mso-style-name:"AltTerm\(s\)";
@@ -366,7 +366,7 @@ span.blackgraphtx {
366
366
  div.figure, p.figure {
367
367
  text-align: center; }
368
368
 
369
- h1 {
369
+ h1, .h1 {
370
370
  mso-style-priority: 1;
371
371
  mso-style-unhide: no;
372
372
  mso-style-qformat: yes;
@@ -381,8 +381,6 @@ h1 {
381
381
  line-height: 13.5pt;
382
382
  mso-pagination: widow-orphan;
383
383
  page-break-after: avoid;
384
- mso-outline-level: 1;
385
- mso-list: l1 level1 lfo6;
386
384
  mso-hyphenate: none;
387
385
  tab-stops: 20.0pt list 21.6pt left 28.0pt;
388
386
  font-size: 13.0pt;
@@ -394,6 +392,10 @@ h1 {
394
392
  mso-fareast-language: JA;
395
393
  mso-bidi-font-weight: normal; }
396
394
 
395
+ h1 {
396
+ mso-outline-level: 1;
397
+ mso-list: l1 level1 lfo6; }
398
+
397
399
  h1.Annex {
398
400
  mso-style-priority: 1;
399
401
  mso-style-unhide: no;
@@ -450,7 +452,7 @@ h1.Annex {
450
452
  mso-fareast-language: JA;
451
453
  mso-bidi-font-weight: normal; }
452
454
 
453
- h2 {
455
+ h2, .h2 {
454
456
  mso-style-priority: 2;
455
457
  mso-style-unhide: no;
456
458
  mso-style-qformat: yes;
@@ -465,8 +467,6 @@ h2 {
465
467
  line-height: 12.5pt;
466
468
  mso-pagination: widow-orphan;
467
469
  page-break-after: avoid;
468
- mso-outline-level: 2;
469
- mso-list: l1 level2 lfo6;
470
470
  mso-hyphenate: none;
471
471
  tab-stops: 27.0pt 35.0pt;
472
472
  font-size: 12.0pt;
@@ -477,7 +477,11 @@ h2 {
477
477
  mso-fareast-language: JA;
478
478
  mso-bidi-font-weight: normal; }
479
479
 
480
- h3 {
480
+ h2 {
481
+ mso-outline-level: 2;
482
+ mso-list: l1 level2 lfo6; }
483
+
484
+ h3, .h3 {
481
485
  mso-style-priority: 3;
482
486
  mso-style-unhide: no;
483
487
  mso-style-qformat: yes;
@@ -493,8 +497,6 @@ h3 {
493
497
  line-height: 12.0pt;
494
498
  mso-pagination: widow-orphan;
495
499
  page-break-after: avoid;
496
- mso-outline-level: 3;
497
- mso-list: l1 level3 lfo6;
498
500
  mso-hyphenate: none;
499
501
  tab-stops: list 27.0pt left 44.0pt;
500
502
  font-size: 11.0pt;
@@ -504,7 +506,11 @@ h3 {
504
506
  mso-fareast-language: JA;
505
507
  mso-bidi-font-weight: normal; }
506
508
 
507
- h4 {
509
+ h3 {
510
+ mso-outline-level: 3;
511
+ mso-list: l1 level3 lfo6; }
512
+
513
+ h4, .h4 {
508
514
  mso-style-priority: 4;
509
515
  mso-style-unhide: no;
510
516
  mso-style-qformat: yes;
@@ -520,8 +526,6 @@ h4 {
520
526
  line-height: 12.0pt;
521
527
  mso-pagination: widow-orphan;
522
528
  page-break-after: avoid;
523
- mso-outline-level: 4;
524
- mso-list: l1 level4 lfo6;
525
529
  mso-hyphenate: none;
526
530
  tab-stops: 51.05pt 57.0pt 68.0pt;
527
531
  font-size: 11.0pt;
@@ -531,7 +535,11 @@ h4 {
531
535
  mso-fareast-language: JA;
532
536
  mso-bidi-font-weight: normal; }
533
537
 
534
- h5 {
538
+ h4 {
539
+ mso-outline-level: 4;
540
+ mso-list: l1 level4 lfo6; }
541
+
542
+ h5, .h5 {
535
543
  mso-style-priority: 5;
536
544
  mso-style-unhide: no;
537
545
  mso-style-qformat: yes;
@@ -547,8 +555,6 @@ h5 {
547
555
  line-height: 12.0pt;
548
556
  mso-pagination: widow-orphan;
549
557
  page-break-after: avoid;
550
- mso-outline-level: 5;
551
- mso-list: l1 level5 lfo6;
552
558
  mso-hyphenate: none;
553
559
  tab-stops: 51.05pt list 54.0pt;
554
560
  font-size: 11.0pt;
@@ -558,7 +564,11 @@ h5 {
558
564
  mso-fareast-language: JA;
559
565
  mso-bidi-font-weight: normal; }
560
566
 
561
- h6 {
567
+ h5 {
568
+ mso-outline-level: 5;
569
+ mso-list: l1 level5 lfo6; }
570
+
571
+ h6, .h6 {
562
572
  mso-style-priority: 6;
563
573
  mso-style-unhide: no;
564
574
  mso-style-qformat: yes;
@@ -574,8 +584,6 @@ h6 {
574
584
  line-height: 12.0pt;
575
585
  mso-pagination: widow-orphan;
576
586
  page-break-after: avoid;
577
- mso-outline-level: 6;
578
- mso-list: l1 level6 lfo6;
579
587
  mso-hyphenate: none;
580
588
  tab-stops: 51.05pt list 72.0pt;
581
589
  font-size: 11.0pt;
@@ -585,6 +593,10 @@ h6 {
585
593
  mso-fareast-language: JA;
586
594
  mso-bidi-font-weight: normal; }
587
595
 
596
+ h6 {
597
+ mso-outline-level: 6;
598
+ mso-list: l1 level6 lfo6; }
599
+
588
600
  p.MsoToc1, li.MsoToc1, div.MsoToc1 {
589
601
  mso-style-priority: 39;
590
602
  mso-style-unhide: no;
@@ -335,7 +335,7 @@ div.figure, p.figure
335
335
  {text-align: center;}
336
336
 
337
337
 
338
- h1
338
+ h1, .h1
339
339
  {mso-style-priority:1;
340
340
  mso-style-unhide:no;
341
341
  mso-style-qformat:yes;
@@ -350,8 +350,6 @@ h1
350
350
  line-height:13.5pt;
351
351
  mso-pagination:widow-orphan;
352
352
  page-break-after:avoid;
353
- mso-outline-level:1;
354
- mso-list:l1 level1 lfo6;
355
353
  mso-hyphenate:none;
356
354
  tab-stops:20.0pt list 21.6pt left 28.0pt;
357
355
  font-size:13.0pt;
@@ -362,6 +360,10 @@ h1
362
360
  mso-ansi-language:EN-GB;
363
361
  mso-fareast-language:JA;
364
362
  mso-bidi-font-weight:normal;}
363
+ h1 {
364
+ mso-outline-level:1;
365
+ mso-list:l1 level1 lfo6;
366
+ }
365
367
  h1.Annex
366
368
  {mso-style-priority:1;
367
369
  mso-style-unhide:no;
@@ -416,7 +418,7 @@ h1.Annex
416
418
  mso-ansi-language:EN-GB;
417
419
  mso-fareast-language:JA;
418
420
  mso-bidi-font-weight:normal;}
419
- h2
421
+ h2, .h2
420
422
  {mso-style-priority:2;
421
423
  mso-style-unhide:no;
422
424
  mso-style-qformat:yes;
@@ -431,8 +433,6 @@ h2
431
433
  line-height:12.5pt;
432
434
  mso-pagination:widow-orphan;
433
435
  page-break-after:avoid;
434
- mso-outline-level:2;
435
- mso-list:l1 level2 lfo6;
436
436
  mso-hyphenate:none;
437
437
  tab-stops:27.0pt 35.0pt;
438
438
  font-size:12.0pt;
@@ -442,7 +442,11 @@ h2
442
442
  mso-ansi-language:EN-GB;
443
443
  mso-fareast-language:JA;
444
444
  mso-bidi-font-weight:normal;}
445
- h3
445
+ h2 {
446
+ mso-outline-level:2;
447
+ mso-list:l1 level2 lfo6;
448
+ }
449
+ h3, .h3
446
450
  {mso-style-priority:3;
447
451
  mso-style-unhide:no;
448
452
  mso-style-qformat:yes;
@@ -458,8 +462,6 @@ h3
458
462
  line-height:12.0pt;
459
463
  mso-pagination:widow-orphan;
460
464
  page-break-after:avoid;
461
- mso-outline-level:3;
462
- mso-list:l1 level3 lfo6;
463
465
  mso-hyphenate:none;
464
466
  tab-stops:list 27.0pt left 44.0pt;
465
467
  font-size:11.0pt;
@@ -468,7 +470,11 @@ h3
468
470
  mso-ansi-language:EN-GB;
469
471
  mso-fareast-language:JA;
470
472
  mso-bidi-font-weight:normal;}
471
- h4
473
+ h3 {
474
+ mso-outline-level:3;
475
+ mso-list:l1 level3 lfo6;
476
+ }
477
+ h4, .h4
472
478
  {mso-style-priority:4;
473
479
  mso-style-unhide:no;
474
480
  mso-style-qformat:yes;
@@ -484,8 +490,6 @@ h4
484
490
  line-height:12.0pt;
485
491
  mso-pagination:widow-orphan;
486
492
  page-break-after:avoid;
487
- mso-outline-level:4;
488
- mso-list:l1 level4 lfo6;
489
493
  mso-hyphenate:none;
490
494
  tab-stops:51.05pt 57.0pt 68.0pt;
491
495
  font-size:11.0pt;
@@ -494,7 +498,11 @@ h4
494
498
  mso-ansi-language:EN-GB;
495
499
  mso-fareast-language:JA;
496
500
  mso-bidi-font-weight:normal;}
497
- h5
501
+ h4 {
502
+ mso-outline-level:4;
503
+ mso-list:l1 level4 lfo6;
504
+ }
505
+ h5, .h5
498
506
  {mso-style-priority:5;
499
507
  mso-style-unhide:no;
500
508
  mso-style-qformat:yes;
@@ -510,8 +518,6 @@ h5
510
518
  line-height:12.0pt;
511
519
  mso-pagination:widow-orphan;
512
520
  page-break-after:avoid;
513
- mso-outline-level:5;
514
- mso-list:l1 level5 lfo6;
515
521
  mso-hyphenate:none;
516
522
  tab-stops:51.05pt list 54.0pt;
517
523
  font-size:11.0pt;
@@ -520,7 +526,11 @@ h5
520
526
  mso-ansi-language:EN-GB;
521
527
  mso-fareast-language:JA;
522
528
  mso-bidi-font-weight:normal;}
523
- h6
529
+ h5 {
530
+ mso-outline-level:5;
531
+ mso-list:l1 level5 lfo6;
532
+ }
533
+ h6, .h6
524
534
  {mso-style-priority:6;
525
535
  mso-style-unhide:no;
526
536
  mso-style-qformat:yes;
@@ -536,8 +546,6 @@ h6
536
546
  line-height:12.0pt;
537
547
  mso-pagination:widow-orphan;
538
548
  page-break-after:avoid;
539
- mso-outline-level:6;
540
- mso-list:l1 level6 lfo6;
541
549
  mso-hyphenate:none;
542
550
  tab-stops:51.05pt list 72.0pt;
543
551
  font-size:11.0pt;
@@ -546,6 +554,10 @@ h6
546
554
  mso-ansi-language:EN-GB;
547
555
  mso-fareast-language:JA;
548
556
  mso-bidi-font-weight:normal;}
557
+ h6 {
558
+ mso-outline-level:6;
559
+ mso-list:l1 level6 lfo6;
560
+ }
549
561
  p.MsoToc1, li.MsoToc1, div.MsoToc1
550
562
  {mso-style-priority:39;
551
563
  mso-style-unhide:no;