metanorma-cc 1.8.1 → 1.8.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,6 +68,12 @@ code *, pre *, tt *, kbd *, samp * {
68
68
  font-family: {{monospacefont}} !important;
69
69
  font-variant-ligatures: none; }
70
70
 
71
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
72
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
73
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
74
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
75
+ font-size: {{monospacefontsize}}; }
76
+
71
77
  article, aside, details, figcaption, figure,
72
78
  footer, header, hgroup, menu, nav, section {
73
79
  display: block; }
@@ -79,6 +85,9 @@ table {
79
85
  h1, h2, h3, h4, h5, h6 {
80
86
  font-family: {{headerfont}}; }
81
87
 
88
+ .h1, .h2, .h3, .h4, .h5, .h6 {
89
+ font-family: {{headerfont}}; }
90
+
82
91
  blockquote, q {
83
92
  quotes: none; }
84
93
  blockquote:before, blockquote:after, q:before, q:after {
@@ -287,6 +296,12 @@ code *, pre *, tt *, kbd *, samp * {
287
296
  font-family: {{monospacefont}} !important;
288
297
  font-variant-ligatures: none; }
289
298
 
299
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
300
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
301
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
302
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
303
+ font-size: {{monospacefontsize}}; }
304
+
290
305
  article, aside, details, figcaption, figure,
291
306
  footer, header, hgroup, menu, nav, section {
292
307
  display: block; }
@@ -298,6 +313,9 @@ table {
298
313
  h1, h2, h3, h4, h5, h6 {
299
314
  font-family: {{headerfont}}; }
300
315
 
316
+ .h1, .h2, .h3, .h4, .h5, .h6 {
317
+ font-family: {{headerfont}}; }
318
+
301
319
  blockquote, q {
302
320
  quotes: none; }
303
321
  blockquote:before, blockquote:after, q:before, q:after {
@@ -723,26 +741,26 @@ nav #toc {
723
741
  top: 20px; }
724
742
 
725
743
  /* Typograpy */
726
- h1, h2, h3, h4, h5, h6 {
744
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
727
745
  color: #0e1a85;
728
746
  font-weight: 600;
729
747
  margin-top: 2em;
730
748
  margin-bottom: 0.3em; }
731
749
 
732
- h1 {
750
+ h1, .h1 {
733
751
  font-size: 1.4em;
734
752
  text-transform: uppercase;
735
753
  margin-top: 2em; }
736
- h1#content {
754
+ h1#content, #content.h1 {
737
755
  margin-top: 2em; }
738
756
 
739
- h2 {
757
+ h2, .h2 {
740
758
  font-size: 1.3em;
741
759
  font-weight: 400; }
742
- h2 p {
760
+ h2 p, .h2 p {
743
761
  display: inline; }
744
762
 
745
- h3 {
763
+ h3, .h3 {
746
764
  font-size: 1.1em;
747
765
  font-weight: 400; }
748
766
 
@@ -751,10 +769,12 @@ p {
751
769
  margin-bottom: 1em; }
752
770
 
753
771
  /* Terms */
754
- .TermNum, .Terms, .AltTerms {
755
- color: #485094;
772
+ .TermNum {
756
773
  font-weight: 400; }
757
774
 
775
+ .TermNum, .Terms, .AltTerms {
776
+ color: #485094; }
777
+
758
778
  p.TermNum {
759
779
  font-size: 0.9em;
760
780
  line-height: 1em;
@@ -1029,7 +1049,7 @@ a.anchorjs-link:hover {
1029
1049
  margin: 2cm 1cm 2cm 1cm; }
1030
1050
 
1031
1051
  @media print {
1032
- h1, .title-section1 {
1052
+ h1, .h1, .title-section1 {
1033
1053
  page-break-before: always; }
1034
1054
  h1.toc-contents {
1035
1055
  margin-top: 2em; } }
@@ -96,14 +96,14 @@ nav {
96
96
 
97
97
  /* Typograpy */
98
98
 
99
- h1, h2, h3, h4, h5, h6 {
99
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
100
100
  color: #0e1a85;
101
101
  font-weight: 600;
102
102
  margin-top: 2em;
103
103
  margin-bottom: 0.3em;
104
104
  }
105
105
 
106
- h1 {
106
+ h1, .h1 {
107
107
  font-size: 1.4em;
108
108
  text-transform: uppercase;
109
109
  margin-top: 2em;
@@ -113,7 +113,7 @@ h1 {
113
113
  }
114
114
  }
115
115
 
116
- h2 {
116
+ h2, .h2 {
117
117
  font-size: 1.3em;
118
118
  font-weight: 400;
119
119
 
@@ -122,7 +122,7 @@ h2 {
122
122
  }
123
123
  }
124
124
 
125
- h3 {
125
+ h3, .h3 {
126
126
  font-size: 1.1em;
127
127
  font-weight: 400;
128
128
  }
@@ -135,9 +135,12 @@ p {
135
135
 
136
136
  /* Terms */
137
137
 
138
+ .TermNum {
139
+ font-weight: 400;
140
+ }
141
+
138
142
  .TermNum, .Terms, .AltTerms {
139
143
  color: #485094;
140
- font-weight: 400;
141
144
  }
142
145
 
143
146
  p.TermNum {
@@ -398,7 +401,7 @@ a.anchorjs-link:hover {
398
401
  }
399
402
 
400
403
  @media print {
401
- h1, .title-section1 {
404
+ h1, .h1, .title-section1 {
402
405
  page-break-before: always;
403
406
  }
404
407
 
@@ -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>
@@ -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-name: "Heading 1";
376
376
  mso-style-unhide: no;
@@ -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: 20.0pt list 21.6pt left 28.0pt;
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-name: "Heading 2";
463
465
  mso-style-unhide: no;
@@ -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: 27.0pt 35.0pt;
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-name: "Heading 3";
492
496
  mso-style-unhide: no;
@@ -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: list 36.0pt left 44.0pt;
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-name: "Heading 4";
520
526
  mso-style-unhide: no;
@@ -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: 51.05pt 57.0pt 68.0pt;
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-name: "Heading 5";
548
556
  mso-style-unhide: no;
@@ -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: 51.05pt list 54.0pt;
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-name: "Heading 6";
576
586
  mso-style-unhide: no;
@@ -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: 51.05pt list 72.0pt;
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-name: "TOC 1";
@@ -340,7 +340,7 @@ div.figure, p.figure
340
340
 
341
341
 
342
342
 
343
- h1
343
+ h1, .h1
344
344
  {mso-style-priority:1;
345
345
  mso-style-name:"Heading 1";
346
346
  mso-style-unhide:no;
@@ -355,8 +355,6 @@ h1
355
355
  line-height:13.5pt;
356
356
  mso-pagination:widow-orphan;
357
357
  page-break-after:avoid;
358
- mso-outline-level:1;
359
- mso-list:l1 level1 lfo6;
360
358
  mso-hyphenate:none;
361
359
  tab-stops:20.0pt list 21.6pt left 28.0pt;
362
360
  font-size:13.0pt;
@@ -368,6 +366,10 @@ h1
368
366
  mso-ansi-language:EN-GB;
369
367
  mso-fareast-language:JA;
370
368
  mso-bidi-font-weight:normal;}
369
+ h1 {
370
+ mso-outline-level:1;
371
+ mso-list:l1 level1 lfo6;
372
+ }
371
373
  h1.Annex
372
374
  {mso-style-priority:1;
373
375
  mso-style-unhide:no;
@@ -424,7 +426,7 @@ h1.Annex
424
426
  mso-ansi-language:EN-GB;
425
427
  mso-fareast-language:JA;
426
428
  mso-bidi-font-weight:normal;}
427
- h2
429
+ h2, .h2
428
430
  {mso-style-priority:2;
429
431
  mso-style-name:"Heading 2";
430
432
  mso-style-unhide:no;
@@ -440,8 +442,6 @@ h2
440
442
  line-height:12.5pt;
441
443
  mso-pagination:widow-orphan;
442
444
  page-break-after:avoid;
443
- mso-outline-level:2;
444
- mso-list:l1 level2 lfo6;
445
445
  mso-hyphenate:none;
446
446
  tab-stops:27.0pt 35.0pt;
447
447
  font-size:12.0pt;
@@ -452,7 +452,11 @@ h2
452
452
  mso-ansi-language:EN-GB;
453
453
  mso-fareast-language:JA;
454
454
  mso-bidi-font-weight:normal;}
455
- h3
455
+ h2 {
456
+ mso-outline-level:2;
457
+ mso-list:l1 level2 lfo6;
458
+ }
459
+ h3, .h3
456
460
  {mso-style-priority:3;
457
461
  mso-style-name:"Heading 3";
458
462
  mso-style-unhide:no;
@@ -468,8 +472,6 @@ h3
468
472
  line-height:12.0pt;
469
473
  mso-pagination:widow-orphan;
470
474
  page-break-after:avoid;
471
- mso-outline-level:3;
472
- mso-list:l1 level3 lfo6;
473
475
  mso-hyphenate:none;
474
476
  tab-stops:list 36.0pt left 44.0pt;
475
477
  font-size:11.0pt;
@@ -479,7 +481,11 @@ h3
479
481
  mso-ansi-language:EN-GB;
480
482
  mso-fareast-language:JA;
481
483
  mso-bidi-font-weight:normal;}
482
- h4
484
+ h3 {
485
+ mso-outline-level:3;
486
+ mso-list:l1 level3 lfo6;
487
+ }
488
+ h4, .h4
483
489
  {mso-style-priority:4;
484
490
  mso-style-name:"Heading 4";
485
491
  mso-style-unhide:no;
@@ -495,8 +501,6 @@ h4
495
501
  line-height:12.0pt;
496
502
  mso-pagination:widow-orphan;
497
503
  page-break-after:avoid;
498
- mso-outline-level:4;
499
- mso-list:l1 level4 lfo6;
500
504
  mso-hyphenate:none;
501
505
  tab-stops:51.05pt 57.0pt 68.0pt;
502
506
  font-size:11.0pt;
@@ -506,7 +510,11 @@ h4
506
510
  mso-ansi-language:EN-GB;
507
511
  mso-fareast-language:JA;
508
512
  mso-bidi-font-weight:normal;}
509
- h5
513
+ h4 {
514
+ mso-outline-level:4;
515
+ mso-list:l1 level4 lfo6;
516
+ }
517
+ h5, .h5
510
518
  {mso-style-priority:5;
511
519
  mso-style-name:"Heading 5";
512
520
  mso-style-unhide:no;
@@ -522,8 +530,6 @@ h5
522
530
  line-height:12.0pt;
523
531
  mso-pagination:widow-orphan;
524
532
  page-break-after:avoid;
525
- mso-outline-level:5;
526
- mso-list:l1 level5 lfo6;
527
533
  mso-hyphenate:none;
528
534
  tab-stops:51.05pt list 54.0pt;
529
535
  font-size:11.0pt;
@@ -533,7 +539,11 @@ h5
533
539
  mso-ansi-language:EN-GB;
534
540
  mso-fareast-language:JA;
535
541
  mso-bidi-font-weight:normal;}
536
- h6
542
+ h5 {
543
+ mso-outline-level:5;
544
+ mso-list:l1 level5 lfo6;
545
+ }
546
+ h6, .h6
537
547
  {mso-style-priority:6;
538
548
  mso-style-name:"Heading 6";
539
549
  mso-style-unhide:no;
@@ -549,8 +559,6 @@ h6
549
559
  line-height:12.0pt;
550
560
  mso-pagination:widow-orphan;
551
561
  page-break-after:avoid;
552
- mso-outline-level:6;
553
- mso-list:l1 level6 lfo6;
554
562
  mso-hyphenate:none;
555
563
  tab-stops:51.05pt list 72.0pt;
556
564
  font-size:11.0pt;
@@ -560,6 +568,10 @@ h6
560
568
  mso-ansi-language:EN-GB;
561
569
  mso-fareast-language:JA;
562
570
  mso-bidi-font-weight:normal;}
571
+ h6 {
572
+ mso-outline-level:6;
573
+ mso-list:l1 level6 lfo6;
574
+ }
563
575
  p.MsoToc1, li.MsoToc1, div.MsoToc1
564
576
  {mso-style-priority:39;
565
577
  mso-style-name:"TOC 1";
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module CC
3
- VERSION = "1.8.1".freeze
3
+ VERSION = "1.8.5".freeze
4
4
  end
5
5
  end
data/metanorma-cc.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_dependency "metanorma-generic", "~> 1.11.0"
32
32
 
33
- spec.add_development_dependency "byebug", "~> 9.1"
33
+ spec.add_development_dependency "debug"
34
34
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
35
35
  spec.add_development_dependency "guard", "~> 2.14"
36
36
  spec.add_development_dependency "guard-rspec", "~> 4.7"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.11.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: byebug
28
+ name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '9.1'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '9.1'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: equivalent-xml
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.2.22
254
+ rubygems_version: 3.2.32
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: metanorma-cc lets you write CalConnect standards in AsciiDoc.