metanorma-rsd 1.3.4 → 1.3.9

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: 1665e7b18eaff602a496fd2747a19d9323eada84ae0ee31626897082e5ab5bdf
4
- data.tar.gz: 443481037b8e324bf0c854c55f59a610b9abef16b456c3b5f87e0b218702f339
3
+ metadata.gz: eafbf23b6fefde02990d1b10beaec33d931f0269fba61e6a545103e3abb13fa0
4
+ data.tar.gz: 22ee61d463d0f8474b2fc0bfce8f11a8a7c1c13cbf15ad33a08cc0974fde77b5
5
5
  SHA512:
6
- metadata.gz: 32262fb6599a8034732960ec62acb35b3af05f5f8d664d3f3126ce369a5cb2ba2afed25f21b407862a1598cd90aaba0a4357280bb4747a9450a1b203578b15c0
7
- data.tar.gz: ba9d2a1be1234e974bd8c4fff64e69b92dffac6e5e15065f5ace3a6038934063794f246d049c650b01618e4569eee031d8feecae5e4a839f2c1e1e499dce3282
6
+ metadata.gz: bc5365f83ad803039800c2a2603e63267900b37713ab30af3fa76ac1f32009ed9916415a653a0b922bbcc1ab48c41e402f47333bf9720fa7595f32e41d93cd8b
7
+ data.tar.gz: 650a71ba9f26b9e9ca6b4cadec10d6cf6b0ee826b251785ede9d433c4e4a0f488a6095d9664105e52023d3b6cbb8efa10ab364f0e8c18c84d295eaf458927135
@@ -2,13 +2,14 @@
2
2
  # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
3
  name: macos
4
4
 
5
- on: [push]
5
+ on: [push, pull_request]
6
6
 
7
7
  jobs:
8
8
  test-macos:
9
9
  name: Test on Ruby ${{ matrix.ruby }} macOS
10
10
  runs-on: macos-latest
11
11
  strategy:
12
+ fail-fast: false
12
13
  matrix:
13
14
  ruby: [ '2.6', '2.5', '2.4' ]
14
15
  steps:
@@ -20,7 +21,7 @@ jobs:
20
21
  architecture: 'x64'
21
22
  - name: Update gems
22
23
  run: |
23
- sudo gem install bundler -v "~> 2" --force
24
+ sudo gem install bundler --force
24
25
  bundle install --jobs 4 --retry 3
25
26
  - name: Use Node
26
27
  uses: actions/setup-node@v1
@@ -2,13 +2,14 @@
2
2
  # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
3
  name: ubuntu
4
4
 
5
- on: [push]
5
+ on: [push, pull_request]
6
6
 
7
7
  jobs:
8
8
  test-linux:
9
9
  name: Test on Ruby ${{ matrix.ruby }} Ubuntu
10
10
  runs-on: ubuntu-latest
11
11
  strategy:
12
+ fail-fast: false
12
13
  matrix:
13
14
  ruby: [ '2.6', '2.5', '2.4' ]
14
15
  steps:
@@ -20,7 +21,7 @@ jobs:
20
21
  architecture: 'x64'
21
22
  - name: Update gems
22
23
  run: |
23
- gem install bundler -v "~> 2"
24
+ gem install bundler
24
25
  bundle install --jobs 4 --retry 3
25
26
  - name: Use Node
26
27
  uses: actions/setup-node@v1
@@ -2,13 +2,14 @@
2
2
  # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
3
  name: windows
4
4
 
5
- on: [push]
5
+ on: [push, pull_request]
6
6
 
7
7
  jobs:
8
8
  test-windows:
9
9
  name: Test on Ruby ${{ matrix.ruby }} Windows
10
10
  runs-on: windows-latest
11
11
  strategy:
12
+ fail-fast: false
12
13
  matrix:
13
14
  ruby: [ '2.6', '2.5', '2.4' ]
14
15
  steps:
@@ -21,7 +22,7 @@ jobs:
21
22
  - name: Update gems
22
23
  shell: pwsh
23
24
  run: |
24
- gem install bundler -v "~> 2"
25
+ gem install bundler
25
26
  bundle config --local path vendor/bundle
26
27
  bundle update
27
28
  bundle install --jobs 4 --retry 3
@@ -1,11 +1,11 @@
1
1
  = AsciiRSD: Asciidoctor processor for Ribose Standard Documents (RSD)
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-rsd.svg["Gem Version", link="https://rubygems.org/gems/metanorma-rsd"]
4
- image:https://img.shields.io/travis/metanorma/metanorma-rsd/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma-rsd"]
5
- image:https://ci.appveyor.com/api/projects/status/wyay9a5q5eaj147d?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/metanorma-rsd"]
4
+ image:https://travis-ci.com/metanorma/metanorma-rsd.svg["Build Status", link="https://travis-ci.com/metanorma/metanorma-rsd"]
5
+ image:https://ci.appveyor.com/api/projects/status/col74y763yt5xaka?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma-rsd"]
6
6
  image:https://codeclimate.com/github/metanorma/metanorma-rsd/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-rsd"]
7
-
8
- WARNING: This gem is still under development.
7
+ image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-rsd.svg["Pull Requests", link="https://github.com/metanorma/metanorma-rsd/pulls"]
8
+ image:https://img.shields.io/github/commits-since/metanorma/metanorma-rsd/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-rsd/releases"]
9
9
 
10
10
  == Functionality
11
11
 
@@ -1,9 +1,10 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <include href="biblio.rng"/>
4
- <start>
5
- <ref name="document"/>
6
- </start>
3
+ <include href="biblio.rng">
4
+ <start>
5
+ <ref name="document"/>
6
+ </start>
7
+ </include>
7
8
  <define name="document">
8
9
  <element name="document">
9
10
  <optional>
@@ -51,9 +52,9 @@
51
52
  <optional>
52
53
  <ref name="section-title"/>
53
54
  </optional>
54
- <optional>
55
+ <zeroOrMore>
55
56
  <ref name="BasicBlock"/>
56
- </optional>
57
+ </zeroOrMore>
57
58
  <zeroOrMore>
58
59
  <ref name="note"/>
59
60
  </zeroOrMore>
@@ -283,6 +284,9 @@
283
284
  <attribute name="id">
284
285
  <data type="ID"/>
285
286
  </attribute>
287
+ <optional>
288
+ <attribute name="alt"/>
289
+ </optional>
286
290
  <optional>
287
291
  <ref name="tname"/>
288
292
  </optional>
@@ -341,11 +345,6 @@
341
345
  </oneOrMore>
342
346
  </element>
343
347
  </define>
344
- <define name="tclass">
345
- <element name="name">
346
- <text/>
347
- </element>
348
- </define>
349
348
  <define name="thead">
350
349
  <element name="thead">
351
350
  <ref name="tr"/>
@@ -515,19 +514,22 @@
515
514
  <attribute name="subsequence"/>
516
515
  </optional>
517
516
  <optional>
518
- <ref name="source"/>
517
+ <attribute name="class"/>
519
518
  </optional>
520
519
  <optional>
521
- <ref name="tname"/>
520
+ <ref name="source"/>
522
521
  </optional>
523
522
  <optional>
524
- <ref name="tclass"/>
523
+ <ref name="tname"/>
525
524
  </optional>
526
525
  <choice>
527
526
  <ref name="image"/>
528
527
  <ref name="video"/>
529
528
  <ref name="audio"/>
530
529
  <ref name="pre"/>
530
+ <oneOrMore>
531
+ <ref name="paragraph-with-footnote"/>
532
+ </oneOrMore>
531
533
  <zeroOrMore>
532
534
  <ref name="figure"/>
533
535
  </zeroOrMore>
@@ -565,6 +567,7 @@
565
567
  <ref name="pagebreak"/>
566
568
  <ref name="bookmark"/>
567
569
  <ref name="image"/>
570
+ <ref name="index"/>
568
571
  </choice>
569
572
  </define>
570
573
  <define name="PureTextElement">
@@ -689,6 +692,17 @@
689
692
  <empty/>
690
693
  </element>
691
694
  </define>
695
+ <define name="index">
696
+ <element name="index">
697
+ <attribute name="primary"/>
698
+ <optional>
699
+ <attribute name="secondary"/>
700
+ </optional>
701
+ <optional>
702
+ <attribute name="tertiary"/>
703
+ </optional>
704
+ </element>
705
+ </define>
692
706
  <!-- bare ID element, used for referencing arbitrary spans of text -->
693
707
  <define name="bookmark">
694
708
  <element name="bookmark">
@@ -33,6 +33,9 @@
33
33
  <param name="pattern">([\+\-]?\d{4})((-?)((0[1-9]|1[0-2])((-?)([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6]))))?</param>
34
34
  </data>
35
35
  </define>
36
+ <start>
37
+ <ref name="bibitem"/>
38
+ </start>
36
39
  <define name="status">
37
40
  <element name="status">
38
41
  <ref name="stage"/>
@@ -275,10 +278,12 @@
275
278
  </define>
276
279
  <define name="organization">
277
280
  <element name="organization">
278
- <ref name="orgname"/>
279
- <optional>
281
+ <oneOrMore>
282
+ <ref name="orgname"/>
283
+ </oneOrMore>
284
+ <zeroOrMore>
280
285
  <ref name="subdivision"/>
281
- </optional>
286
+ </zeroOrMore>
282
287
  <optional>
283
288
  <ref name="abbreviation"/>
284
289
  </optional>
@@ -354,6 +359,9 @@
354
359
  </define>
355
360
  <define name="phone">
356
361
  <element name="phone">
362
+ <optional>
363
+ <attribute name="type"/>
364
+ </optional>
357
365
  <text/>
358
366
  </element>
359
367
  </define>
@@ -630,9 +638,9 @@
630
638
  <zeroOrMore>
631
639
  <ref name="license"/>
632
640
  </zeroOrMore>
633
- <optional>
641
+ <zeroOrMore>
634
642
  <ref name="bclassification"/>
635
- </optional>
643
+ </zeroOrMore>
636
644
  <zeroOrMore>
637
645
  <ref name="bkeyword"/>
638
646
  </zeroOrMore>
@@ -1021,6 +1029,8 @@
1021
1029
  <value>correctedBy</value>
1022
1030
  <value>revises</value>
1023
1031
  <value>revisedBy</value>
1032
+ <value>describes</value>
1033
+ <value>describedBy</value>
1024
1034
  </choice>
1025
1035
  </define>
1026
1036
  <define name="docrelation">
@@ -207,9 +207,9 @@
207
207
  </optional>
208
208
  <choice>
209
209
  <group>
210
- <optional>
210
+ <zeroOrMore>
211
211
  <ref name="BasicBlock"/>
212
- </optional>
212
+ </zeroOrMore>
213
213
  <zeroOrMore>
214
214
  <ref name="note"/>
215
215
  </zeroOrMore>
@@ -244,9 +244,9 @@
244
244
  </optional>
245
245
  <choice>
246
246
  <group>
247
- <optional>
247
+ <zeroOrMore>
248
248
  <ref name="BasicBlock"/>
249
- </optional>
249
+ </zeroOrMore>
250
250
  <zeroOrMore>
251
251
  <ref name="note"/>
252
252
  </zeroOrMore>
@@ -289,9 +289,9 @@
289
289
  </optional>
290
290
  <choice>
291
291
  <group>
292
- <optional>
292
+ <zeroOrMore>
293
293
  <ref name="BasicBlock"/>
294
- </optional>
294
+ </zeroOrMore>
295
295
  <zeroOrMore>
296
296
  <ref name="note"/>
297
297
  </zeroOrMore>
@@ -6,7 +6,9 @@
6
6
  </start>
7
7
  <define name="organization">
8
8
  <element name="organization">
9
- <ref name="orgname"/>
9
+ <oneOrMore>
10
+ <ref name="orgname"/>
11
+ </oneOrMore>
10
12
  <optional>
11
13
  <ref name="abbreviation"/>
12
14
  </optional>
@@ -74,10 +76,12 @@
74
76
  <define name="sections">
75
77
  <element name="sections">
76
78
  <ref name="clause"/>
77
- <choice>
78
- <ref name="term-clause"/>
79
- <ref name="terms"/>
80
- </choice>
79
+ <optional>
80
+ <choice>
81
+ <ref name="term-clause"/>
82
+ <ref name="terms"/>
83
+ </choice>
84
+ </optional>
81
85
  <optional>
82
86
  <ref name="definitions"/>
83
87
  </optional>
@@ -395,6 +399,7 @@
395
399
  </optional>
396
400
  <choice>
397
401
  <ref name="image"/>
402
+ <ref name="pre"/>
398
403
  <oneOrMore>
399
404
  <ref name="subfigure"/>
400
405
  </oneOrMore>
@@ -39,6 +39,12 @@
39
39
  <optional>
40
40
  <attribute name="filename"/>
41
41
  </optional>
42
+ <optional>
43
+ <attribute name="model"/>
44
+ </optional>
45
+ <optional>
46
+ <attribute name="type"/>
47
+ </optional>
42
48
  <optional>
43
49
  <ref name="reqtitle"/>
44
50
  </optional>
@@ -4,11 +4,11 @@ require "fileutils"
4
4
  module IsoDoc
5
5
  module Rsd
6
6
  module BaseConvert
7
- def convert1(docxml, filename, dir)
8
- FileUtils.cp html_doc_path('logo.svg'), File.join(@localdir, "logo.svg")
9
- @files_to_delete << File.join(@localdir, "logo.svg")
10
- super
11
- end
7
+ #def convert1(docxml, filename, dir)
8
+ #FileUtils.cp html_doc_path('logo.svg'), File.join(@localdir, "logo.svg")
9
+ #@files_to_delete << File.join(@localdir, "logo.svg")
10
+ #super
11
+ #end
12
12
 
13
13
  def metadata_init(lang, script, labels)
14
14
  @meta = Metadata.new(lang, script, labels)
@@ -573,9 +573,12 @@ p.Biblio, p.NormRef {
573
573
  3.6 Source Code + figures
574
574
  */
575
575
 
576
- .figure, .Sourcecode {
576
+ .Sourcecode {
577
577
  font-family: $monospacefont;
578
578
  font-variant-ligatures: none;
579
+ }
580
+
581
+ .figure, .Sourcecode, .pseudocode {
579
582
  background-color: #f7f7f7;
580
583
  font-size: 0.8em;
581
584
  line-height: 1.6em;
@@ -584,7 +587,7 @@ p.Biblio, p.NormRef {
584
587
  overflow: auto;
585
588
  }
586
589
 
587
- .FigureTitle, .SourceTitle, .AdmonitionTitle {
590
+ .FigureTitle, .SourceTitle, .AdmonitionTitle, p.RecommendationTitle {
588
591
  font-weight: 700;
589
592
  font-size: 1em;
590
593
  text-align: center;
@@ -635,7 +638,7 @@ p.Biblio, p.NormRef {
635
638
  margin-left:-1.5em;
636
639
  }
637
640
 
638
- .example .Sourcecode {
641
+ .example .Sourcecode, .example .pseudocode {
639
642
  background: none;
640
643
  }
641
644
 
@@ -968,7 +971,7 @@ To top button
968
971
  margin-top: 1.2em;
969
972
  }
970
973
 
971
- .note, .figure, .Sourcecode, table {
974
+ .note, .figure, .Sourcecode, .pseudocode, table {
972
975
  page-break-inside: avoid;
973
976
  }
974
977
 
@@ -14,6 +14,22 @@ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode, pre
14
14
  mso-fareast-font-family:Calibri;
15
15
  mso-bidi-font-family:"Courier New";
16
16
  mso-ansi-language:EN-GB;}
17
+ p.pseudocode, li.pseudocode, div.pseudocode
18
+ {mso-style-unhide:no;
19
+ mso-style-qformat:yes;
20
+ mso-style-parent:"";
21
+ margin-top:6.0pt;
22
+ margin-right:0cm;
23
+ margin-bottom:6.0pt;
24
+ margin-left:0cm;
25
+ text-align:left;
26
+ mso-pagination:widow-orphan;
27
+ tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
28
+ font-size:10.5pt;
29
+ font-family:$bodyfont;
30
+ mso-fareast-font-family:Calibri;
31
+ mso-bidi-font-family:"Courier New";
32
+ mso-ansi-language:EN-GB;}
17
33
  p.Biblio, li.Biblio, div.Biblio, p.NormRef, li.NormRef, div.NormRef
18
34
  {mso-style-unhide:no;
19
35
  mso-style-qformat:yes;
@@ -70,7 +86,7 @@ p.SourceTitle
70
86
  mso-fareast-font-family:$bodyfont;
71
87
  mso-bidi-font-family:$bodyfont;
72
88
  mso-ansi-language:EN-GB;}
73
- p.AdmonitionTitle
89
+ p.AdmonitionTitle, p.RecommendationTitle
74
90
  {mso-style-unhide:no;
75
91
  mso-style-qformat:yes;
76
92
  mso-style-parent:"";
@@ -554,10 +570,6 @@ div.WordSection2
554
570
  mso-paper-source:0;}
555
571
  div.WordSection3
556
572
  {page:WordSection3;}
557
- ol
558
- {margin-bottom:0cm;}
559
- ul
560
- {margin-bottom:0cm;}
561
573
  table.MsoISOTable
562
574
  {mso-style-name:"Table ISO";
563
575
  mso-tstyle-rowband-size:0;
@@ -578,8 +590,6 @@ table.MsoISOTable
578
590
  mso-border-insidev:.75pt solid windowtext;
579
591
  font-size:10.0pt;
580
592
  font-family:$bodyfont;}
581
- table.MsoISOTable tr
582
- {page-break-inside:avoid;}
583
593
  table.MsoISOTable th
584
594
  {border:solid windowtext 1pt;
585
595
  mso-border-alt:solid windowtext 1pt;
@@ -606,20 +616,10 @@ table.MsoTableGrid
606
616
  mso-pagination:widow-orphan;
607
617
  font-size:10.0pt;
608
618
  font-family:$bodyfont;}
609
- td { page-break-inside:avoid; }
610
- tr { page-break-after:avoid; }
611
- span.stem
612
- {font-family:"Cambria Math",serif;
613
- mso-ascii-font-family:"Cambria Math";
614
- font-style:
615
- italic;}
616
619
  div.formula
617
620
  {tab-stops:right 487.45pt;}
618
621
  body
619
622
  {tab-interval:36.0pt;}
620
- dt
621
- {page-break-inside:avoid;
622
- page-break-after:avoid}
623
623
  .coverpage_docnumber
624
624
  {text-align:center;
625
625
  font-size:14.0pt;
@@ -643,8 +643,9 @@ div.coverpage_warning
643
643
  {color:#485094;
644
644
  font-size:10.0pt;}
645
645
 
646
- a.TableFootnoteRef
646
+ a.TableFootnoteRef, span.TableFootnoteRef
647
647
  {mso-style-priority:99;
648
+ mso-style-parent:"Footnote Reference";
648
649
  vertical-align:super;}
649
650
 
650
651
  aside {
@@ -656,11 +657,19 @@ font-weight: bold;
656
657
  margin-left: -36.0pt;
657
658
  }
658
659
 
659
- p.example, li.example, div.example, td.example {
660
- margin-top: 0cm;
660
+ p.example, li.example, td.example {
661
+ margin-right: 0pt;
662
+ margin-left: 0pt;
663
+ }
664
+
665
+ div.example {
661
666
  margin-right: 36.0pt;
662
- margin-bottom: 0cm;
663
667
  margin-left: 36.0pt;
668
+ margin-top: 0cm;
669
+ margin-bottom: 0cm;
670
+ }
671
+
672
+ p.example, li.example, div.example, td.example {
664
673
  mso-pagination:none;
665
674
  font-size:10.0pt;
666
675
  font-family:$bodyfont;}
@@ -673,6 +682,10 @@ div.example p.MsoListParagraph {
673
682
  font-size: 10.0pt;
674
683
  }
675
684
 
685
+ div.Note p.MsoListParagraph {
686
+ font-size: 10.0pt;
687
+ }
688
+
676
689
  span.note_label, span.example_label, td.example_label, td.note_label
677
690
  {
678
691
  font-size: 10.0pt;
@@ -312,7 +312,7 @@ span.blackgraphtx
312
312
  .MsoChpDefault
313
313
  {mso-style-type:export-only;
314
314
  mso-default-props:yes;}
315
- div.figure
315
+ div.figure, p.figure
316
316
  {text-align: center;}
317
317
 
318
318
 
@@ -1075,106 +1075,43 @@ p.Tablebody, li.Tablebody, div.Tablebody
1075
1075
  margin-left:162.0pt;
1076
1076
  text-indent:-18.0pt;}
1077
1077
 
1078
- p.ListContLevel1, li.ListContLevel1, div.ListContLevel1
1079
- {mso-style-priority:34;
1080
- margin-top:0cm;
1081
- margin-left:18.0pt;
1082
- margin-right:0cm;
1083
- margin-bottom:12.0pt;
1084
- mso-pagination:widow-orphan;
1085
- font-size:11.0pt;
1086
- font-family:$bodyfont;
1087
- mso-ansi-language:EN-AU;
1088
- mso-fareast-language:EN-US;}
1089
- p.ListContLevel2, li.ListContLevel2, div.ListContLevel2
1090
- {mso-style-priority:34;
1091
- margin-top:0cm;
1092
- margin-left:36.0pt;
1093
- margin-right:0cm;
1094
- margin-bottom:12.0pt;
1095
- mso-pagination:widow-orphan;
1096
- font-size:11.0pt;
1097
- font-family:$bodyfont;
1098
- mso-ansi-language:EN-AU;
1099
- mso-fareast-language:EN-US;}
1100
- p.ListContLevel3, li.ListContLevel3, div.ListContLevel3
1101
- {mso-style-priority:34;
1102
- margin-top:0cm;
1103
- margin-left:54.0pt;
1104
- margin-right:0cm;
1105
- margin-bottom:12.0pt;
1106
- mso-pagination:widow-orphan;
1107
- font-size:11.0pt;
1108
- font-family:$bodyfont;
1109
- mso-ansi-language:EN-AU;
1110
- mso-fareast-language:EN-US;}
1111
- p.ListContLevel4, li.ListContLevel4, div.ListContLevel4
1112
- {mso-style-priority:34;
1113
- margin-top:0cm;
1114
- margin-left:72.0pt;
1115
- margin-right:0cm;
1116
- margin-bottom:12.0pt;
1117
- mso-pagination:widow-orphan;
1118
- font-size:11.0pt;
1119
- font-family:$bodyfont;
1120
- mso-ansi-language:EN-AU;
1121
- mso-fareast-language:EN-US;}
1122
- p.ListContLevel5, li.ListContLevel5, div.ListContLevel5
1123
- {mso-style-priority:34;
1124
- margin-top:0cm;
1125
- margin-left:90.0pt;
1126
- margin-right:0cm;
1127
- margin-bottom:12.0pt;
1128
- mso-pagination:widow-orphan;
1129
- font-size:11.0pt;
1130
- font-family:$bodyfont;
1131
- mso-ansi-language:EN-AU;
1132
- mso-fareast-language:EN-US;}
1133
- p.ListContLevel6, li.ListContLevel6, div.ListContLevel6
1134
- {mso-style-priority:34;
1135
- margin-top:0cm;
1136
- margin-left:108.0pt;
1137
- margin-right:0cm;
1138
- margin-bottom:12.0pt;
1139
- mso-pagination:widow-orphan;
1140
- font-size:11.0pt;
1141
- font-family:$bodyfont;
1142
- mso-ansi-language:EN-AU;
1143
- mso-fareast-language:EN-US;}
1144
- p.ListContLevel7, li.ListContLevel7, div.ListContLevel7
1145
- {mso-style-priority:34;
1146
- margin-top:0cm;
1147
- margin-left:126.0pt;
1148
- margin-right:0cm;
1149
- margin-bottom:12.0pt;
1150
- mso-pagination:widow-orphan;
1151
- font-size:11.0pt;
1152
- font-family:$bodyfont;
1153
- mso-ansi-language:EN-AU;
1154
- mso-fareast-language:EN-US;}
1155
- p.ListContLevel8, li.ListContLevel8, div.ListContLevel8
1156
- {mso-style-priority:34;
1157
- margin-top:0cm;
1158
- margin-left:144.0pt;
1159
- margin-right:0cm;
1160
- margin-bottom:12.0pt;
1161
- mso-pagination:widow-orphan;
1162
- font-size:11.0pt;
1163
- font-family:$bodyfont;
1164
- mso-ansi-language:EN-AU;
1165
- mso-fareast-language:EN-US;}
1166
- p.ListContLevel9, li.ListContLevel9, div.ListContLevel9
1167
- {mso-style-priority:34;
1168
- margin-top:0cm;
1169
- margin-left:162.0pt;
1170
- margin-right:0cm;
1171
- margin-bottom:12.0pt;
1172
- mso-pagination:widow-orphan;
1173
- font-size:11.0pt;
1174
- font-family:$bodyfont;
1175
- mso-ansi-language:EN-AU;
1176
- mso-fareast-language:EN-US;}
1177
-
1078
+ div.ListContLevel1
1079
+ {mso-style-priority:34;
1080
+ margin-left:18.0pt;
1081
+ margin-right:0cm;}
1082
+ div.ListContLevel2
1083
+ {mso-style-priority:34;
1084
+ margin-top:0cm;
1085
+ margin-left:36.0pt;
1086
+ margin-right:0cm;}
1087
+ div.ListContLevel3
1088
+ {mso-style-priority:34;
1089
+ margin-left:54.0pt;
1090
+ margin-right:0cm;}
1091
+ div.ListContLevel4
1092
+ {mso-style-priority:34;
1093
+ margin-left:72.0pt;
1094
+ margin-right:0cm;}
1095
+ div.ListContLevel5
1096
+ {mso-style-priority:34;
1097
+ margin-left:90.0pt;
1098
+ margin-right:0cm;}
1099
+ div.ListContLevel6
1100
+ {mso-style-priority:34;
1101
+ margin-left:108.0pt;
1102
+ margin-right:0cm;}
1103
+ div.ListContLevel7
1104
+ {mso-style-priority:34;
1105
+ margin-left:126.0pt;
1106
+ margin-right:0cm;}
1107
+ div.ListContLevel8
1108
+ {mso-style-priority:34;
1109
+ margin-left:144.0pt;
1110
+ margin-right:0cm;}
1111
+ div.ListContLevel9
1112
+ {mso-style-priority:34;
1113
+ margin-left:162.0pt;
1114
+ margin-right:0cm;}
1178
1115
 
1179
1116
  table.MsoNormalTable
1180
1117
  {mso-style-name:"Table Normal";
@@ -1189,12 +1126,6 @@ table.MsoNormalTable
1189
1126
  mso-pagination:widow-orphan;
1190
1127
  font-size:10.0pt;
1191
1128
  font-family:$bodyfont;}
1192
- br.section
1193
- {page-break-before:always;
1194
- mso-break-type:section-break;}
1195
- br.pagebreak
1196
- {page-break-before:always;
1197
- mso-special-character:line-break;}
1198
1129
  ol
1199
1130
  {margin-bottom:0cm;
1200
1131
  margin-left:18pt;}
@@ -6,6 +6,9 @@ module IsoDoc
6
6
  class Metadata < IsoDoc::Metadata
7
7
  def initialize(lang, script, labels)
8
8
  super
9
+ here = File.dirname(__FILE__)
10
+ set(:logo_svg,
11
+ File.expand_path(File.join(here, "html", "logo.svg")))
9
12
  end
10
13
 
11
14
  def title(isoxml, _out)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Rsd
3
- VERSION = "1.3.4"
3
+ VERSION = "1.3.9"
4
4
  end
5
5
  end
@@ -28,7 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
30
30
 
31
- spec.add_dependency "asciidoctor", "~> 1.5.7"
32
31
  spec.add_dependency "htmlentities", "~> 4.3.4"
33
32
  #spec.add_dependency "nokogiri"
34
33
  spec.add_dependency "metanorma-standoc", "~> 1.3.0"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-rsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-20 00:00:00.000000000 Z
11
+ date: 2020-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: asciidoctor
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 1.5.7
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 1.5.7
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: htmlentities
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -282,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
282
268
  version: '0'
283
269
  requirements: []
284
270
  rubyforge_project:
285
- rubygems_version: 2.7.6
271
+ rubygems_version: 2.7.7
286
272
  signing_key:
287
273
  specification_version: 4
288
274
  summary: metanorma-rsd lets you write RSD in AsciiDoc.