metanorma-ieee 0.1.2 → 1.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: 6d42117ebe0d96ef2b4b95c6be7a53e117cac1f94dc9824b827d8e304a4b5856
4
- data.tar.gz: e4d5bf0dfa00ed20d6a0c93c22acff54481b4571ee805de9e03b2101dbfdbea5
3
+ metadata.gz: 403a80a30d2fd43432e4750b237712b71ad5f2af3823137d4f49b87150a67b0f
4
+ data.tar.gz: 0d98ce2b578daaa75b06800371ef595d3a11ce4a931bc267edeb63dfa17faed9
5
5
  SHA512:
6
- metadata.gz: 4e061d1fb9f157edd9ba4b333300710a666764b0f140609dcb7782c0227336a3669bb15e446393c1d4647fa3dbb1111bad040e6bc962abea6c1792af8c15f687
7
- data.tar.gz: a4c5b133214d7cf12a0cb5035596a5c2ab56e9267ef06084204d59f2a4c55a41ce0dd3b65070795625fe503fba4406bbb151e90bccc0c30275f7b709482aebe2
6
+ metadata.gz: 4cedea29e69e7fbad2b3007b6a70f7257e0ec117b685c342a83b683c44aecf882a28774d325a163244ed74f51d93654b726704be7376a683995ab17a19785fee
7
+ data.tar.gz: 98a404455147da1f4f3ccd736218be6d6d00d69af9daddd013d82f8ec9e94a95994b9539e9826a71ef292b9c0795eebe311ac0d1d6eb5bd7ae4ad11fea6c8456
@@ -461,6 +461,12 @@ p.Terms {
461
461
  padding-left: 30px; }
462
462
  #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
463
463
  padding-left: 50px; }
464
+ #toc .h4, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h4 {
465
+ padding-left: 70px; }
466
+ #toc .h5, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h5 {
467
+ padding-left: 90px; }
468
+ #toc .h6, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h6 {
469
+ padding-left: 110px; }
464
470
  #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
465
471
  background: #1d1d1d;
466
472
  box-shadow: inset -5px 0px 10px -5px #1d1d1d !important; }
@@ -477,6 +477,7 @@ p.MsoToc1, li.MsoToc1, div.MsoToc1 {
477
477
  mso-style-unhide: no;
478
478
  mso-style-parent: "IEEEStds Paragraph";
479
479
  mso-style-next: "IEEEStds Paragraph";
480
+ mso-style-name: "TOC 1";
480
481
  margin-top: 12.0pt;
481
482
  margin-right: 0cm;
482
483
  margin-bottom: 0cm;
@@ -494,7 +495,8 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
494
495
  mso-style-update: auto;
495
496
  mso-style-priority: 39;
496
497
  mso-style-unhide: no;
497
- mso-style-parent: "ΠΠ 1";
498
+ mso-style-name: "TOC 2";
499
+ mso-style-parent: "TOC 1";
498
500
  mso-style-next: "IEEEStds Paragraph";
499
501
  margin-top: 0cm;
500
502
  margin-right: 0cm;
@@ -514,6 +516,8 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
514
516
  mso-style-noshow: yes;
515
517
  mso-style-unhide: no;
516
518
  mso-style-next: Normal;
519
+ mso-style-name: "TOC 3";
520
+ mso-style-parent: "TOC 2";
517
521
  margin-top: 0cm;
518
522
  margin-right: 0cm;
519
523
  margin-bottom: 0cm;
@@ -532,6 +536,8 @@ p.MsoToc4, li.MsoToc4, div.MsoToc4 {
532
536
  mso-style-noshow: yes;
533
537
  mso-style-unhide: no;
534
538
  mso-style-next: Normal;
539
+ mso-style-name: "TOC 4";
540
+ mso-style-parent: "TOC 3";
535
541
  margin-top: 0cm;
536
542
  margin-right: 0cm;
537
543
  margin-bottom: 0cm;
@@ -549,6 +555,8 @@ p.MsoToc5, li.MsoToc5, div.MsoToc5 {
549
555
  mso-style-noshow: yes;
550
556
  mso-style-unhide: no;
551
557
  mso-style-next: Normal;
558
+ mso-style-name: "TOC 5";
559
+ mso-style-parent: "TOC 4";
552
560
  margin-top: 0cm;
553
561
  margin-right: 0cm;
554
562
  margin-bottom: 0cm;
@@ -566,6 +574,8 @@ p.MsoToc6, li.MsoToc6, div.MsoToc6 {
566
574
  mso-style-noshow: yes;
567
575
  mso-style-unhide: no;
568
576
  mso-style-next: Normal;
577
+ mso-style-name: "TOC 6";
578
+ mso-style-parent: "TOC 5";
569
579
  margin-top: 0cm;
570
580
  margin-right: 0cm;
571
581
  margin-bottom: 0cm;
@@ -583,6 +593,8 @@ p.MsoToc7, li.MsoToc7, div.MsoToc7 {
583
593
  mso-style-noshow: yes;
584
594
  mso-style-unhide: no;
585
595
  mso-style-next: Normal;
596
+ mso-style-name: "TOC 7";
597
+ mso-style-parent: "TOC 6";
586
598
  margin-top: 0cm;
587
599
  margin-right: 0cm;
588
600
  margin-bottom: 0cm;
@@ -600,6 +612,8 @@ p.MsoToc8, li.MsoToc8, div.MsoToc8 {
600
612
  mso-style-noshow: yes;
601
613
  mso-style-unhide: no;
602
614
  mso-style-next: Normal;
615
+ mso-style-name: "TOC 8";
616
+ mso-style-parent: "TOC 7";
603
617
  margin-top: 0cm;
604
618
  margin-right: 0cm;
605
619
  margin-bottom: 0cm;
@@ -617,6 +631,8 @@ p.MsoToc9, li.MsoToc9, div.MsoToc9 {
617
631
  mso-style-noshow: yes;
618
632
  mso-style-unhide: no;
619
633
  mso-style-next: Normal;
634
+ mso-style-name: "TOC 9";
635
+ mso-style-parent: "TOC 8";
620
636
  margin-top: 0cm;
621
637
  margin-right: 0cm;
622
638
  margin-bottom: 0cm;
@@ -454,6 +454,7 @@ p.MsoToc1, li.MsoToc1, div.MsoToc1
454
454
  mso-style-unhide:no;
455
455
  mso-style-parent:"IEEEStds Paragraph";
456
456
  mso-style-next:"IEEEStds Paragraph";
457
+ mso-style-name:"TOC 1";
457
458
  margin-top:12.0pt;
458
459
  margin-right:0cm;
459
460
  margin-bottom:0cm;
@@ -470,7 +471,8 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
470
471
  {mso-style-update:auto;
471
472
  mso-style-priority:39;
472
473
  mso-style-unhide:no;
473
- mso-style-parent:"ΠΠ 1";
474
+ mso-style-name:"TOC 2";
475
+ mso-style-parent:"TOC 1";
474
476
  mso-style-next:"IEEEStds Paragraph";
475
477
  margin-top:0cm;
476
478
  margin-right:0cm;
@@ -489,6 +491,8 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
489
491
  mso-style-noshow:yes;
490
492
  mso-style-unhide:no;
491
493
  mso-style-next:Normal;
494
+ mso-style-name:"TOC 3";
495
+ mso-style-parent:"TOC 2";
492
496
  margin-top:0cm;
493
497
  margin-right:0cm;
494
498
  margin-bottom:0cm;
@@ -506,6 +510,8 @@ p.MsoToc4, li.MsoToc4, div.MsoToc4
506
510
  mso-style-noshow:yes;
507
511
  mso-style-unhide:no;
508
512
  mso-style-next:Normal;
513
+ mso-style-name:"TOC 4";
514
+ mso-style-parent:"TOC 3";
509
515
  margin-top:0cm;
510
516
  margin-right:0cm;
511
517
  margin-bottom:0cm;
@@ -522,6 +528,8 @@ p.MsoToc5, li.MsoToc5, div.MsoToc5
522
528
  mso-style-noshow:yes;
523
529
  mso-style-unhide:no;
524
530
  mso-style-next:Normal;
531
+ mso-style-name:"TOC 5";
532
+ mso-style-parent:"TOC 4";
525
533
  margin-top:0cm;
526
534
  margin-right:0cm;
527
535
  margin-bottom:0cm;
@@ -538,6 +546,8 @@ p.MsoToc6, li.MsoToc6, div.MsoToc6
538
546
  mso-style-noshow:yes;
539
547
  mso-style-unhide:no;
540
548
  mso-style-next:Normal;
549
+ mso-style-name:"TOC 6";
550
+ mso-style-parent:"TOC 5";
541
551
  margin-top:0cm;
542
552
  margin-right:0cm;
543
553
  margin-bottom:0cm;
@@ -554,6 +564,8 @@ p.MsoToc7, li.MsoToc7, div.MsoToc7
554
564
  mso-style-noshow:yes;
555
565
  mso-style-unhide:no;
556
566
  mso-style-next:Normal;
567
+ mso-style-name:"TOC 7";
568
+ mso-style-parent:"TOC 6";
557
569
  margin-top:0cm;
558
570
  margin-right:0cm;
559
571
  margin-bottom:0cm;
@@ -570,6 +582,8 @@ p.MsoToc8, li.MsoToc8, div.MsoToc8
570
582
  mso-style-noshow:yes;
571
583
  mso-style-unhide:no;
572
584
  mso-style-next:Normal;
585
+ mso-style-name:"TOC 8";
586
+ mso-style-parent:"TOC 7";
573
587
  margin-top:0cm;
574
588
  margin-right:0cm;
575
589
  margin-bottom:0cm;
@@ -586,6 +600,8 @@ p.MsoToc9, li.MsoToc9, div.MsoToc9
586
600
  mso-style-noshow:yes;
587
601
  mso-style-unhide:no;
588
602
  mso-style-next:Normal;
603
+ mso-style-name:"TOC 9";
604
+ mso-style-parent:"TOC 8";
589
605
  margin-top:0cm;
590
606
  margin-right:0cm;
591
607
  margin-bottom:0cm;
@@ -67,7 +67,7 @@ module IsoDoc
67
67
  def para_to_tr(para)
68
68
  ret = para.children.each_with_object([[]]) do |c, m|
69
69
  if c.name == "tab" then m << []
70
- else m[-1] << c.to_xml
70
+ else m[-1] << to_xml(c)
71
71
  end
72
72
  end.map { |c| "<td>#{c.join}</td>" }
73
73
  "<tr>#{ret.join}</tr>"
@@ -3,7 +3,7 @@ module IsoDoc
3
3
  class I18n < IsoDoc::I18n
4
4
  def load_yaml2x(str)
5
5
  ::YAML.load_file(File.join(File.dirname(__FILE__),
6
- "i18n-#{str}.yaml"))
6
+ "i18n-#{str}.yaml"))
7
7
  end
8
8
 
9
9
  def load_yaml1(lang, script)