metanorma-m3aawg 1.8.2 → 2.0.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: 3b4fd1ffc6806b0b1fb066124436871af68af7d0a539289db3a1b60c03e40ed4
4
- data.tar.gz: 56b3b1be8c671418c0454747aec7ce003ee98b4aecdef7325766f82e8035c1fd
3
+ metadata.gz: b66e5e9cc882d2d3d234a5195e736236a4208e868afc9fc43808cef0ce1e7471
4
+ data.tar.gz: 02a788af432e5c08a854b1b4260c5239df579ad1b13e7020b1c0ebe12f921f58
5
5
  SHA512:
6
- metadata.gz: e24fb3400519bffdc9d3123f22c0e668341b9351cdb2c5238d4c1e8811b2e6b7aa2d2df911095f40900ac18c10af4029bd650c46e48de3be71e504bd69d4764e
7
- data.tar.gz: c4b34ca77da6e76ec2e3f988a237ef4a6595b4fc3a679febe0154bfeab096afffc59873407165f5c04e2733781f628263e5f2a1d45df28f059c7cdfe73aadc52
6
+ metadata.gz: f477dfd86753e50cb16f0231eb35c0e6b38f8ff4df933b61e187a185313be6a71cff839add70b00ebab20234bd0cd15d996a13f2dced49596ce5e1989c0746de
7
+ data.tar.gz: 0f69e70b9e18c739f05670afe60b368576c080568639a92771c50529b8a437beb6343f21568a3c2f3140ac827516429c8e84ad84195570613e2b77fb57384bdd
@@ -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,14 @@
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
14
+ /test_3644993195a04f77_htmlimages/
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "asciidoctor/m3d"
4
+ require "metanorma-m3aawg"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -82,6 +82,12 @@ code *, pre *, tt *, kbd *, samp * {
82
82
  font-family: {{monospacefont}} !important;
83
83
  font-variant-ligatures: none; }
84
84
 
85
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
86
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
87
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
88
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
89
+ font-size: {{monospacefontsize}}; }
90
+
85
91
  article, aside, details, figcaption, figure,
86
92
  footer, header, hgroup, menu, nav, section {
87
93
  display: block; }
@@ -93,6 +99,9 @@ table {
93
99
  h1, h2, h3, h4, h5, h6 {
94
100
  font-family: {{headerfont}}; }
95
101
 
102
+ .h1, .h2, .h3, .h4, .h5, .h6 {
103
+ font-family: {{headerfont}}; }
104
+
96
105
  blockquote, q {
97
106
  quotes: none; }
98
107
  blockquote:before, blockquote:after, q:before, q:after {
@@ -565,25 +574,25 @@ p.document-stage {
565
574
  /*
566
575
  3.1 Titles
567
576
  */
568
- h1, h2, h3, h4, h5, h6 {
577
+ h1, h2, h3, h4, h5, h6, p.h1, .h2, .h3, .h4, .h5, .h6 {
569
578
  font-family: {{headerfont}};
570
579
  color: black;
571
580
  font-weight: 600;
572
581
  margin-top: 2em;
573
582
  margin-bottom: 0.3em; }
574
583
 
575
- h1 {
584
+ h1, .h1 {
576
585
  font-size: 1.4em;
577
586
  text-transform: uppercase;
578
587
  margin-top: 2em; }
579
588
 
580
- h1#content {
589
+ h1#content, #content.h1 {
581
590
  margin-top: 2em; }
582
591
 
583
- h2 {
592
+ h2, .h2 {
584
593
  font-size: 1.3em; }
585
594
 
586
- h3 {
595
+ h3, .h3 {
587
596
  font-size: 1.1em; }
588
597
 
589
598
  @media screen {
@@ -597,10 +606,12 @@ h3 {
597
606
  color: #cfcfcf;
598
607
  content: "\f0c1"; } }
599
608
 
600
- .TermNum, .Terms, .AltTerms {
601
- color: black;
609
+ .TermNum {
602
610
  font-weight: 400; }
603
611
 
612
+ .TermNum, .Terms, .AltTerms {
613
+ color: black; }
614
+
604
615
  p.TermNum {
605
616
  font-size: 0.9em;
606
617
  line-height: 1em;
@@ -982,7 +993,7 @@ p {
982
993
  margin: 4em -3em 3em -5em;
983
994
  border-bottom: 4px solid #F22E15; }
984
995
 
985
- .section-title h1 {
996
+ .section-title h1, .section-title .h1 {
986
997
  font-size: 2em;
987
998
  font-weight: 800;
988
999
  line-height: 1em;
@@ -991,7 +1002,7 @@ p {
991
1002
  color: white;
992
1003
  text-transform: none; }
993
1004
 
994
- h2 {
1005
+ h2, .h2 {
995
1006
  border-bottom: solid 1px #69C5DC;
996
1007
  color: black; }
997
1008
 
@@ -217,7 +217,7 @@ p.document-stage {
217
217
  3.1 Titles
218
218
  */
219
219
 
220
- h1,h2,h3,h4,h5,h6 {
220
+ h1,h2,h3,h4,h5,h6,p.h1,.h2,.h3,.h4,.h5,.h6 {
221
221
  font-family: $headerfont;
222
222
  color: black;
223
223
  font-weight: 600;
@@ -225,21 +225,21 @@ p.document-stage {
225
225
  margin-bottom: 0.3em;
226
226
  }
227
227
 
228
- h1 {
228
+ h1,.h1 {
229
229
  font-size: 1.4em;
230
230
  text-transform: uppercase;
231
231
  margin-top: 2em;
232
232
  }
233
233
 
234
- h1#content {
234
+ h1#content,.h1#content {
235
235
  margin-top: 2em;
236
236
  }
237
237
 
238
- h2 {
238
+ h2,.h2 {
239
239
  font-size: 1.3em;
240
240
  }
241
241
 
242
- h3 {
242
+ h3,.h3 {
243
243
  font-size: 1.1em;
244
244
  }
245
245
 
@@ -256,9 +256,12 @@ p.document-stage {
256
256
  }
257
257
  }
258
258
 
259
+ .TermNum {
260
+ font-weight: 400;
261
+ }
262
+
259
263
  .TermNum, .Terms, .AltTerms {
260
264
  color: black;
261
- font-weight: 400;
262
265
  }
263
266
 
264
267
  p.TermNum {
@@ -659,7 +662,7 @@ p {
659
662
  }
660
663
 
661
664
 
662
- .section-title h1 {
665
+ .section-title h1, .section-title .h1 {
663
666
  font-size: 2em;
664
667
  font-weight: 800;
665
668
  line-height: 1em;
@@ -669,7 +672,7 @@ p {
669
672
  text-transform: none;
670
673
  }
671
674
 
672
- h2 {
675
+ h2,.h2 {
673
676
  border-bottom: solid 1px #69C5DC;
674
677
  color: black;
675
678
  }
@@ -312,7 +312,6 @@ p.Terms, li.Terms, div.Terms {
312
312
  mso-fareast-font-family: {{headerfont}};
313
313
  mso-bidi-font-family: {{headerfont}};
314
314
  mso-ansi-language: EN-GB;
315
- font-weight: bold;
316
315
  mso-bidi-font-weight: normal; }
317
316
 
318
317
  p.AltTerms, li.AltTerms, div.AltTerms {
@@ -299,7 +299,6 @@ p.Terms, li.Terms, div.Terms
299
299
  mso-fareast-font-family:$headerfont;
300
300
  mso-bidi-font-family:$headerfont;
301
301
  mso-ansi-language:EN-GB;
302
- font-weight:bold;
303
302
  mso-bidi-font-weight:normal;}
304
303
  p.AltTerms, li.AltTerms, div.AltTerms
305
304
  {mso-style-name:"AltTerm\(s\)";
@@ -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>
@@ -290,7 +290,7 @@ span.blackgraphtx {
290
290
  div.figure, p.figure {
291
291
  text-align: center; }
292
292
 
293
- h1 {
293
+ h1, .h1 {
294
294
  mso-style-priority: 1;
295
295
  mso-style-unhide: no;
296
296
  mso-style-qformat: yes;
@@ -305,8 +305,6 @@ h1 {
305
305
  line-height: 13.5pt;
306
306
  mso-pagination: widow-orphan;
307
307
  page-break-after: avoid;
308
- mso-outline-level: 1;
309
- mso-list: l1 level1 lfo6;
310
308
  mso-hyphenate: none;
311
309
  tab-stops: 20.0pt list 21.6pt left 28.0pt;
312
310
  font-size: 13.0pt;
@@ -318,6 +316,10 @@ h1 {
318
316
  mso-fareast-language: JA;
319
317
  mso-bidi-font-weight: normal; }
320
318
 
319
+ h1 {
320
+ mso-outline-level: 1;
321
+ mso-list: l1 level1 lfo6; }
322
+
321
323
  h1.Annex {
322
324
  mso-style-priority: 1;
323
325
  mso-style-unhide: no;
@@ -374,7 +376,7 @@ h1.Annex {
374
376
  mso-fareast-language: JA;
375
377
  mso-bidi-font-weight: normal; }
376
378
 
377
- h2 {
379
+ h2, .h2 {
378
380
  mso-style-priority: 2;
379
381
  mso-style-unhide: no;
380
382
  mso-style-qformat: yes;
@@ -390,8 +392,6 @@ h2 {
390
392
  line-height: 12.5pt;
391
393
  mso-pagination: widow-orphan;
392
394
  page-break-after: avoid;
393
- mso-outline-level: 2;
394
- mso-list: l1 level2 lfo6;
395
395
  mso-hyphenate: none;
396
396
  tab-stops: 27.0pt 35.0pt;
397
397
  font-size: 12.0pt;
@@ -402,7 +402,11 @@ h2 {
402
402
  mso-fareast-language: JA;
403
403
  mso-bidi-font-weight: normal; }
404
404
 
405
- h3 {
405
+ h2 {
406
+ mso-outline-level: 2;
407
+ mso-list: l1 level2 lfo6; }
408
+
409
+ h3, .h3 {
406
410
  mso-style-priority: 3;
407
411
  mso-style-unhide: no;
408
412
  mso-style-qformat: yes;
@@ -418,8 +422,6 @@ h3 {
418
422
  line-height: 12.0pt;
419
423
  mso-pagination: widow-orphan;
420
424
  page-break-after: avoid;
421
- mso-outline-level: 3;
422
- mso-list: l1 level3 lfo6;
423
425
  mso-hyphenate: none;
424
426
  tab-stops: list 36.0pt left 44.0pt;
425
427
  font-size: {{normalfontsize}};
@@ -429,7 +431,11 @@ h3 {
429
431
  mso-fareast-language: JA;
430
432
  mso-bidi-font-weight: normal; }
431
433
 
432
- h4 {
434
+ h3 {
435
+ mso-outline-level: 3;
436
+ mso-list: l1 level3 lfo6; }
437
+
438
+ h4, .h4 {
433
439
  mso-style-priority: 4;
434
440
  mso-style-unhide: no;
435
441
  mso-style-qformat: yes;
@@ -445,8 +451,6 @@ h4 {
445
451
  line-height: 12.0pt;
446
452
  mso-pagination: widow-orphan;
447
453
  page-break-after: avoid;
448
- mso-outline-level: 4;
449
- mso-list: l1 level4 lfo6;
450
454
  mso-hyphenate: none;
451
455
  tab-stops: 51.05pt 57.0pt 68.0pt;
452
456
  font-size: {{normalfontsize}};
@@ -456,7 +460,11 @@ h4 {
456
460
  mso-fareast-language: JA;
457
461
  mso-bidi-font-weight: normal; }
458
462
 
459
- h5 {
463
+ h4 {
464
+ mso-outline-level: 4;
465
+ mso-list: l1 level4 lfo6; }
466
+
467
+ h5, .h5 {
460
468
  mso-style-priority: 5;
461
469
  mso-style-unhide: no;
462
470
  mso-style-qformat: yes;
@@ -472,8 +480,6 @@ h5 {
472
480
  line-height: 12.0pt;
473
481
  mso-pagination: widow-orphan;
474
482
  page-break-after: avoid;
475
- mso-outline-level: 5;
476
- mso-list: l1 level5 lfo6;
477
483
  mso-hyphenate: none;
478
484
  tab-stops: 51.05pt list 54.0pt;
479
485
  font-size: {{normalfontsize}};
@@ -483,7 +489,11 @@ h5 {
483
489
  mso-fareast-language: JA;
484
490
  mso-bidi-font-weight: normal; }
485
491
 
486
- h6 {
492
+ h5 {
493
+ mso-outline-level: 5;
494
+ mso-list: l1 level5 lfo6; }
495
+
496
+ h6, .h6 {
487
497
  mso-style-priority: 6;
488
498
  mso-style-unhide: no;
489
499
  mso-style-qformat: yes;
@@ -499,8 +509,6 @@ h6 {
499
509
  line-height: 12.0pt;
500
510
  mso-pagination: widow-orphan;
501
511
  page-break-after: avoid;
502
- mso-outline-level: 6;
503
- mso-list: l1 level6 lfo6;
504
512
  mso-hyphenate: none;
505
513
  tab-stops: 51.05pt list 72.0pt;
506
514
  font-size: {{normalfontsize}};
@@ -510,6 +518,10 @@ h6 {
510
518
  mso-fareast-language: JA;
511
519
  mso-bidi-font-weight: normal; }
512
520
 
521
+ h6 {
522
+ mso-outline-level: 6;
523
+ mso-list: l1 level6 lfo6; }
524
+
513
525
  p.MsoToc1, li.MsoToc1, div.MsoToc1 {
514
526
  mso-style-priority: 39;
515
527
  mso-style-unhide: no;
@@ -264,7 +264,7 @@ div.figure, p.figure
264
264
 
265
265
 
266
266
 
267
- h1
267
+ h1, .h1
268
268
  {mso-style-priority:1;
269
269
  mso-style-unhide:no;
270
270
  mso-style-qformat:yes;
@@ -279,8 +279,6 @@ h1
279
279
  line-height:13.5pt;
280
280
  mso-pagination:widow-orphan;
281
281
  page-break-after:avoid;
282
- mso-outline-level:1;
283
- mso-list:l1 level1 lfo6;
284
282
  mso-hyphenate:none;
285
283
  tab-stops:20.0pt list 21.6pt left 28.0pt;
286
284
  font-size:13.0pt;
@@ -291,6 +289,10 @@ h1
291
289
  mso-ansi-language:EN-GB;
292
290
  mso-fareast-language:JA;
293
291
  mso-bidi-font-weight:normal;}
292
+ h1 {
293
+ mso-outline-level:1;
294
+ mso-list:l1 level1 lfo6;
295
+ }
294
296
  h1.Annex
295
297
  {mso-style-priority:1;
296
298
  mso-style-unhide:no;
@@ -345,7 +347,7 @@ h1.Annex
345
347
  mso-ansi-language:EN-GB;
346
348
  mso-fareast-language:JA;
347
349
  mso-bidi-font-weight:normal;}
348
- h2
350
+ h2, .h2
349
351
  {mso-style-priority:2;
350
352
  mso-style-unhide:no;
351
353
  mso-style-qformat:yes;
@@ -361,8 +363,6 @@ h2
361
363
  line-height:12.5pt;
362
364
  mso-pagination:widow-orphan;
363
365
  page-break-after:avoid;
364
- mso-outline-level:2;
365
- mso-list:l1 level2 lfo6;
366
366
  mso-hyphenate:none;
367
367
  tab-stops:27.0pt 35.0pt;
368
368
  font-size:12.0pt;
@@ -372,7 +372,11 @@ h2
372
372
  mso-ansi-language:EN-GB;
373
373
  mso-fareast-language:JA;
374
374
  mso-bidi-font-weight:normal;}
375
- h3
375
+ h2 {
376
+ mso-outline-level:2;
377
+ mso-list:l1 level2 lfo6;
378
+ }
379
+ h3, .h3
376
380
  {mso-style-priority:3;
377
381
  mso-style-unhide:no;
378
382
  mso-style-qformat:yes;
@@ -388,8 +392,6 @@ h3
388
392
  line-height:12.0pt;
389
393
  mso-pagination:widow-orphan;
390
394
  page-break-after:avoid;
391
- mso-outline-level:3;
392
- mso-list:l1 level3 lfo6;
393
395
  mso-hyphenate:none;
394
396
  tab-stops:list 36.0pt left 44.0pt;
395
397
  font-size:$normalfontsize;
@@ -398,7 +400,11 @@ h3
398
400
  mso-ansi-language:EN-GB;
399
401
  mso-fareast-language:JA;
400
402
  mso-bidi-font-weight:normal;}
401
- h4
403
+ h3 {
404
+ mso-outline-level:3;
405
+ mso-list:l1 level3 lfo6;
406
+ }
407
+ h4, .h4
402
408
  {mso-style-priority:4;
403
409
  mso-style-unhide:no;
404
410
  mso-style-qformat:yes;
@@ -414,8 +420,6 @@ h4
414
420
  line-height:12.0pt;
415
421
  mso-pagination:widow-orphan;
416
422
  page-break-after:avoid;
417
- mso-outline-level:4;
418
- mso-list:l1 level4 lfo6;
419
423
  mso-hyphenate:none;
420
424
  tab-stops:51.05pt 57.0pt 68.0pt;
421
425
  font-size:$normalfontsize;
@@ -424,7 +428,11 @@ h4
424
428
  mso-ansi-language:EN-GB;
425
429
  mso-fareast-language:JA;
426
430
  mso-bidi-font-weight:normal;}
427
- h5
431
+ h4 {
432
+ mso-outline-level:4;
433
+ mso-list:l1 level4 lfo6;
434
+ }
435
+ h5, .h5
428
436
  {mso-style-priority:5;
429
437
  mso-style-unhide:no;
430
438
  mso-style-qformat:yes;
@@ -440,8 +448,6 @@ h5
440
448
  line-height:12.0pt;
441
449
  mso-pagination:widow-orphan;
442
450
  page-break-after:avoid;
443
- mso-outline-level:5;
444
- mso-list:l1 level5 lfo6;
445
451
  mso-hyphenate:none;
446
452
  tab-stops:51.05pt list 54.0pt;
447
453
  font-size:$normalfontsize;
@@ -450,7 +456,11 @@ h5
450
456
  mso-ansi-language:EN-GB;
451
457
  mso-fareast-language:JA;
452
458
  mso-bidi-font-weight:normal;}
453
- h6
459
+ h5 {
460
+ mso-outline-level:5;
461
+ mso-list:l1 level5 lfo6;
462
+ }
463
+ h6, .h6
454
464
  {mso-style-priority:6;
455
465
  mso-style-unhide:no;
456
466
  mso-style-qformat:yes;
@@ -466,8 +476,6 @@ h6
466
476
  line-height:12.0pt;
467
477
  mso-pagination:widow-orphan;
468
478
  page-break-after:avoid;
469
- mso-outline-level:6;
470
- mso-list:l1 level6 lfo6;
471
479
  mso-hyphenate:none;
472
480
  tab-stops:51.05pt list 72.0pt;
473
481
  font-size:$normalfontsize;
@@ -476,6 +484,10 @@ h6
476
484
  mso-ansi-language:EN-GB;
477
485
  mso-fareast-language:JA;
478
486
  mso-bidi-font-weight:normal;}
487
+ h6 {
488
+ mso-outline-level:6;
489
+ mso-list:l1 level6 lfo6;
490
+ }
479
491
  p.MsoToc1, li.MsoToc1, div.MsoToc1
480
492
  {mso-style-priority:39;
481
493
  mso-style-unhide:no;