metanorma-csd 1.0.13 → 1.0.14

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: 07a1c4c2346d23b888d601689d2bf5dbb4d5e9360f7244f04f3a0acc54dfe2ba
4
- data.tar.gz: 810674351bc67f23e2634fa7b292967d30494dcad39d460429d6e9647bea2a7e
3
+ metadata.gz: b883ec7d0c6e32c1c969d25ea2d87fb40d2d0a93975bdefc96cb544429b1da31
4
+ data.tar.gz: 55a9eda449de34ad2d9c3d80da4bac8209aa1fc61bc68b1224bec9d084d0ba25
5
5
  SHA512:
6
- metadata.gz: fd36d9482a4b31b8ef69d2649c1587b3d557d4f937462229bb33760f677f6dbbc1a72d3bcc41417a6b7121f00f6e2547cf1ddea5f2d2fdab674972d308105e41
7
- data.tar.gz: dbf8ec8f9fceacbb37d6034d582810815fc76f8545d71c9174e4f4bb5b9a0c2b7d9d4b0d5c6ac9edc4f99dde654616414b8a77bd5c637ec177a87db0f8202ccd
6
+ metadata.gz: 645a63ce30ba0fc053b8588e2a9413bdcdaff8cf6b5d76b93830475040216dce13feceb70aca79b6b5255a67ac39de574b3cc9650aa7f379c02f7ec6986f9196
7
+ data.tar.gz: 9abf53c1a1efdaa285a0ef8f2b01d32e96e0dd370ae826292b13f042c5b27b598abcce15874732a50baae03e62bf4ab87b9f2aaf085f2dc544f03a45ce01f253
data/.travis.yml CHANGED
@@ -7,7 +7,7 @@ rvm:
7
7
  - 2.3
8
8
  - ruby-head
9
9
  before_install:
10
- - gem install bundler -v 1.16.1
10
+ - gem install bundler -v 2.0.1
11
11
  - npm install -g puppeteer
12
12
  - npm install
13
13
  - unset _JAVA_OPTIONS
data/docs/navigation.adoc CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
- sections:
3
- - name: Introduction
2
+ items:
3
+ - title: Introduction
4
4
  items:
5
- - quickstart
5
+ - { title: Quickstart, path: quickstart/ }
6
6
  ---
7
7
 
8
8
  = Navigation
@@ -488,6 +488,9 @@
488
488
  <optional>
489
489
  <ref name="edition"/>
490
490
  </optional>
491
+ <optional>
492
+ <ref name="version"/>
493
+ </optional>
491
494
  <zeroOrMore>
492
495
  <ref name="biblionote"/>
493
496
  </zeroOrMore>
@@ -866,6 +869,34 @@
866
869
  </zeroOrMore>
867
870
  </element>
868
871
  </define>
872
+ <define name="version">
873
+ <element name="version">
874
+ <optional>
875
+ <ref name="vedition"/>
876
+ </optional>
877
+ <optional>
878
+ <ref name="revision-date"/>
879
+ </optional>
880
+ <zeroOrMore>
881
+ <ref name="draft"/>
882
+ </zeroOrMore>
883
+ </element>
884
+ </define>
885
+ <define name="vedition">
886
+ <element name="edition">
887
+ <data type="int"/>
888
+ </element>
889
+ </define>
890
+ <define name="revision-date">
891
+ <element name="revision-date">
892
+ <data type="date"/>
893
+ </element>
894
+ </define>
895
+ <define name="draft">
896
+ <element name="draft">
897
+ <text/>
898
+ </element>
899
+ </define>
869
900
  <!--
870
901
  Anycontents = mixed {
871
902
  https://github.com/relaxng/jing-trang/issues/211
@@ -120,6 +120,9 @@
120
120
  <optional>
121
121
  <ref name="edition"/>
122
122
  </optional>
123
+ <optional>
124
+ <ref name="version"/>
125
+ </optional>
123
126
  <zeroOrMore>
124
127
  <ref name="biblionote"/>
125
128
  </zeroOrMore>
@@ -202,6 +205,9 @@
202
205
  <optional>
203
206
  <ref name="edition"/>
204
207
  </optional>
208
+ <optional>
209
+ <ref name="version"/>
210
+ </optional>
205
211
  <zeroOrMore>
206
212
  <ref name="biblionote"/>
207
213
  </zeroOrMore>
@@ -269,9 +275,6 @@
269
275
  <define name="csd-standard">
270
276
  <element name="csd-standard">
271
277
  <ref name="bibdata"/>
272
- <optional>
273
- <ref name="version"/>
274
- </optional>
275
278
  <zeroOrMore>
276
279
  <ref name="termdocsource"/>
277
280
  </zeroOrMore>
@@ -39,9 +39,6 @@
39
39
  <define name="standard-document">
40
40
  <element name="standard-document">
41
41
  <ref name="bibdata"/>
42
- <optional>
43
- <ref name="version"/>
44
- </optional>
45
42
  <optional>
46
43
  <ref name="preface"/>
47
44
  </optional>
@@ -59,34 +56,6 @@
59
56
  <ref name="BibData"/>
60
57
  </element>
61
58
  </define>
62
- <define name="version">
63
- <element name="version">
64
- <optional>
65
- <ref name="vedition"/>
66
- </optional>
67
- <optional>
68
- <ref name="revision-date"/>
69
- </optional>
70
- <zeroOrMore>
71
- <ref name="draft"/>
72
- </zeroOrMore>
73
- </element>
74
- </define>
75
- <define name="vedition">
76
- <element name="edition">
77
- <data type="int"/>
78
- </element>
79
- </define>
80
- <define name="revision-date">
81
- <element name="revision-date">
82
- <data type="date"/>
83
- </element>
84
- </define>
85
- <define name="draft">
86
- <element name="draft">
87
- <text/>
88
- </element>
89
- </define>
90
59
  <define name="preface">
91
60
  <element name="preface">
92
61
  <oneOrMore>
@@ -1068,6 +1037,9 @@
1068
1037
  <optional>
1069
1038
  <ref name="edition"/>
1070
1039
  </optional>
1040
+ <optional>
1041
+ <ref name="version"/>
1042
+ </optional>
1071
1043
  <zeroOrMore>
1072
1044
  <ref name="biblionote"/>
1073
1045
  </zeroOrMore>
@@ -96,6 +96,9 @@
96
96
  <optional>
97
97
  <ref name="edition"/>
98
98
  </optional>
99
+ <optional>
100
+ <ref name="version"/>
101
+ </optional>
99
102
  <zeroOrMore>
100
103
  <ref name="biblionote"/>
101
104
  </zeroOrMore>
@@ -178,6 +181,9 @@
178
181
  <optional>
179
182
  <ref name="edition"/>
180
183
  </optional>
184
+ <optional>
185
+ <ref name="version"/>
186
+ </optional>
181
187
  <zeroOrMore>
182
188
  <ref name="biblionote"/>
183
189
  </zeroOrMore>
@@ -762,9 +768,6 @@
762
768
  <define name="iso-standard">
763
769
  <element name="iso-standard">
764
770
  <ref name="bibdata"/>
765
- <optional>
766
- <ref name="version"/>
767
- </optional>
768
771
  <zeroOrMore>
769
772
  <ref name="termdocsource"/>
770
773
  </zeroOrMore>
@@ -535,8 +535,6 @@ table.MsoISOTable
535
535
  mso-yfti-tbllook:480;
536
536
  mso-border-insideh:.75pt solid windowtext;
537
537
  mso-border-insidev:.75pt solid windowtext;
538
- mso-table-anchor-vertical:paragraph;
539
- mso-table-bspace:12.0pt;
540
538
  font-size:10.0pt;
541
539
  font-family:$bodyfont;}
542
540
  table.MsoISOTable tr
@@ -563,8 +561,6 @@ table.MsoTableGrid
563
561
  mso-para-margin:0cm;
564
562
  mso-para-margin-bottom:.0001pt;
565
563
  mso-pagination:widow-orphan;
566
- mso-table-anchor-vertical:paragraph;
567
- mso-table-bspace:12.0pt;
568
564
  font-size:10.0pt;
569
565
  font-family:$bodyfont;}
570
566
  td { page-break-inside:avoid; }
@@ -625,10 +621,6 @@ p.example, li.example, div.example, td.example
625
621
  td.example p.MsoListParagraph {
626
622
  font-size: 10.0pt;
627
623
  }
628
- table.example {
629
- margin-bottom:12pt;
630
- }
631
-
632
624
 
633
625
  span.note_label, span.example_label, td.example_label, td.note_label
634
626
  {
@@ -1,16 +1,14 @@
1
1
  <div class="document-stage-band" id="{{ status | replace: ' ', '-' | downcase }}-band">
2
- <p class="document-stage">{{ status }}</p>
2
+ <p class="document-stage">{{ status }}</p>
3
3
  </div>
4
4
 
5
5
  <div class="document-type-band" id="{{ doctype | replace: ' ', '-' | downcase }}-band">
6
- <p class="document-type">CalConnect {{ doctype }}</p>
6
+ <p class="document-type">CalConnect {{ doctype }}</p>
7
7
  </div>
8
8
 
9
+ <div id='toggle'> <span>•</span> </div>
9
10
 
10
-
11
- <div id='toggle'> <span>•</span> </div>
12
-
13
- <header>
11
+ <header>
14
12
 
15
13
  <!--<div class="WordSection1">-->
16
14
  <div class="coverpage">
@@ -37,22 +35,22 @@
37
35
  <span>TC {{ tc }}</span>
38
36
  </div>
39
37
 
40
- {% capture tags %}
41
- {% for tag in contributors %}
42
- {{ tag[0] }}
43
- {% endfor %}
38
+ {% capture tags %}
39
+ {% for tag in contributors %}
40
+ {{ tag[0] }}
41
+ {% endfor %}
44
42
  {% endcapture %}
43
+
45
44
  {% assign sortedtags = tags | split:' ' | sort %}
46
45
 
47
46
  {% for tag in sortedtags %}
48
- <div class="coverpage-tc-name"><span>
49
- {% if contributors[tag].size > 1 %}
50
- {{ tag | capitalize }}s:
51
- {% else %}
52
- {{ tag | capitalize }}:
53
- {% endif %}
54
- {{ contributors[tag] | join: ", " }}
55
- </span></div>
47
+ <div class="coverpage-contributors">
48
+ <div class="group {{ tag }}">
49
+ {% for person in contributors[tag] %}
50
+ <span class="person {{ tag }}">{{ person }}<span class="role">{{ tag | capitalize }}</span></span>
51
+ {% endfor %}
52
+ </div>
53
+ </div>
56
54
  {% endfor %}
57
55
 
58
56
  </div>
@@ -216,7 +216,7 @@ table {
216
216
  }
217
217
 
218
218
  @media screen {
219
- img {
219
+ div.figure > img {
220
220
  width: 100%;
221
221
  height: auto;
222
222
  }
@@ -498,36 +498,36 @@ span.obligation {
498
498
  3.3 Lists
499
499
  */
500
500
 
501
- ul {
502
- margin-left: 1.2em;
503
- }
504
501
 
505
502
  ol {
506
- margin-left: 1.2em; }
503
+ margin-left: 1.2em;
504
+ }
507
505
 
508
- ul > li {
506
+ ul {
507
+ position: relative;
508
+ margin-left: 0;
509
509
  list-style: none;
510
+ padding-left: 1.2em;
510
511
  }
511
512
 
512
- ul > li:before {
513
- content: "\2014";
514
- display: inline-block; width: 1em;
515
- margin-left: -1.2em;
516
- }
517
-
518
- li p:first-child {
519
- display: inline;
513
+ ul > li:before {
514
+ content: "\2014";
515
+ position: absolute;
516
+ left: 0;
520
517
  }
521
518
 
522
- li:first-child {
519
+ main li {
523
520
  margin-top: 1em;
521
+ padding-left: 0.5em;
524
522
  }
525
523
 
526
524
  #toc ul {
527
- margin-bottom: 0.25em; }
525
+ margin-bottom: 0.25em;
526
+ }
528
527
 
529
528
  #toc li {
530
- list-style-type: none; }
529
+ list-style-type: none;
530
+ }
531
531
 
532
532
  #toc li:before {
533
533
  content: " ";
@@ -556,9 +556,12 @@ h2 p {
556
556
  */
557
557
 
558
558
  p.Biblio, p.NormRef {
559
- margin-top: 1em;
560
- margin-left: 2em;
561
- text-indent:-2em;
559
+ margin-top: 1em;
560
+ }
561
+
562
+ p.Biblio:before, p.NormRef:before {
563
+ content: "\2014";
564
+ padding-right: 1em;
562
565
  }
563
566
 
564
567
  /*
@@ -586,11 +589,22 @@ p.Biblio, p.NormRef {
586
589
  3.7 Notes
587
590
  */
588
591
 
589
- .Note {
590
- background-color: #fff495;
592
+ .Note, .Admonition {
591
593
  color: #47430c;
592
- padding: 1.2em;
593
- margin: 2em 0 1em 0;
594
+ padding: 0.25em;
595
+ margin: 0;
596
+ }
597
+
598
+ .Note p, .Admonition p {
599
+ margin: 1em;
600
+ }
601
+
602
+ .Note {
603
+ background-color: #fff495;
604
+ }
605
+
606
+ .Admonition {
607
+ background-color: #ffcccc;
594
608
  }
595
609
 
596
610
  /*
@@ -694,31 +708,26 @@ a.footnote-number {
694
708
  */
695
709
 
696
710
  .contact-info {
697
- background-color: #f7f7f7;
698
- padding: 2em;
699
- margin-top: 5em;
700
- width: auto;
701
- margin-left: auto;
702
- margin-right: auto;
703
- text-align: left;
711
+ background-color: #f7f7f7;
712
+ padding: 1em;
713
+ margin-top: 2em;
714
+ width: auto;
715
+ margin-left: auto;
716
+ margin-right: auto;
717
+ text-align: left;
704
718
  }
705
719
 
706
720
  .contact-info p, .contact-info a {
707
- font-family: $monospacefont;
708
- font-variant-ligatures: none;
709
- font-weight: 400;
721
+ font-family: $monospacefont;
722
+ font-variant-ligatures: none;
723
+ font-weight: 400;
724
+ line-height: 1.3em;
725
+ font-size: 1em;
726
+ margin: 0;
710
727
  }
711
728
 
712
729
  .contact-info .name {
713
- font-weight: 700;
714
- font-size: 1.2em;
715
- margin-bottom:0;
716
- }
717
-
718
- .contact-info .address {
719
- font-size: 1em;
720
- line-height: 1.3em;
721
- margin-top:0;
730
+ font-weight: 700;
722
731
  }
723
732
 
724
733
  /*
@@ -726,7 +735,7 @@ a.footnote-number {
726
735
  */
727
736
 
728
737
  span.keyword {
729
- font-weight: 600;
738
+ font-weight: 600;
730
739
  }
731
740
 
732
741
  /*
@@ -769,51 +778,73 @@ p {
769
778
  padding: 2em 0;
770
779
  }
771
780
 
772
- .doc-number {
773
- font-size: 0.5em;
774
- font-family: $bodyfont;
775
- }
781
+ .doc-number {
782
+ font-size: 0.5em;
783
+ font-family: $bodyfont;
784
+ }
776
785
 
777
- .coverpage-title {
778
- padding-bottom: 0.5em;
779
- font-family: $headerfont;
780
- font-size: 1.2em;
786
+ .coverpage-title {
787
+ padding-bottom: 0.5em;
788
+ font-family: $headerfont;
789
+ font-size: 1.2em;
781
790
  line-height: 1.2em;
782
- font-weight: 900;
791
+ font-weight: 600;
783
792
  padding-left: 1em;
784
793
  padding-right: 1em;
785
- }
794
+ }
786
795
 
787
- .title-section1 {
788
- padding: 0 2em 0 3em;
789
- }
796
+ .title-section1 {
797
+ padding: 0 2em 0 3em;
798
+ }
790
799
 
791
- .prefatory-section {
792
- padding: 0 3em 0 6em;
793
- }
800
+ .prefatory-section {
801
+ padding: 0 3em 0 6em;
802
+ }
794
803
 
795
804
 
796
- .zzSTDTitle1, .MsoCommentText {
797
- display: none;
798
- }
805
+ .zzSTDTitle1, .MsoCommentText {
806
+ display: none;
807
+ }
799
808
 
800
809
 
801
- .coverpage {
802
- text-align: center;
803
- padding-left: 1.5em;
804
- }
810
+ .coverpage {
811
+ text-align: center;
812
+ padding-left: 1.5em;
813
+ }
805
814
 
806
- .coverpage-logo span, .coverpage-tc-name span {
807
- font-family: $bodyfont;
808
- text-transform: uppercase;
809
- font-weight: 600;
810
- }
815
+ .coverpage-logo span, .coverpage-tc-name span {
816
+ font-family: $bodyfont;
817
+ text-transform: uppercase;
818
+ font-weight: 600;
819
+ }
811
820
 
812
- .coverpage-tc-name {
813
- font-size: 1.2em;
814
- line-height: 1.2em;
815
- margin: 0.25em 0;
816
- }
821
+ .coverpage-tc-name {
822
+ font-size: 1.2em;
823
+ line-height: 1.2em;
824
+ margin: 0.25em 0;
825
+ }
826
+
827
+ .coverpage-contributors {
828
+ margin-top: 1em;
829
+ line-height: 1.5em;
830
+ font-weight: 300;
831
+ }
832
+
833
+ .coverpage-contributors .role {
834
+ font-variant-caps: all-small-caps;
835
+ background: #f7f7f7;
836
+ border-radius: 5px;
837
+ padding: 0.1em 0.5em;
838
+ margin-left: 1em;
839
+ color: #485094;
840
+ font-size: 0.9em;
841
+ font-weight: 900;
842
+ }
843
+
844
+ .coverpage-contributors .person {
845
+ display: block;
846
+ font-weight: 300;
847
+ }
817
848
 
818
849
  /*
819
850
  4.2 Document Identity
@@ -869,7 +900,7 @@ p {
869
900
 
870
901
  .copyright {
871
902
  padding: 1em;
872
- font-size: 0.8em;
903
+ font-size: 0.9em;
873
904
  text-align: left;
874
905
  }
875
906
 
@@ -1087,8 +1087,6 @@ table.MsoNormalTable
1087
1087
  mso-para-margin-bottom:.0001pt;
1088
1088
  mso-pagination:widow-orphan;
1089
1089
  font-size:10.0pt;
1090
- mso-table-anchor-vertical:paragraph;
1091
- mso-table-bspace:12.0pt;
1092
1090
  font-family:$bodyfont;}
1093
1091
  br.section
1094
1092
  {page-break-before:always;
@@ -73,7 +73,7 @@ module IsoDoc
73
73
  end
74
74
 
75
75
  def unpublished(status)
76
- %w(published withdrawn).include? status.downcase
76
+ !%w(published withdrawn).include? status.downcase
77
77
  end
78
78
  end
79
79
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Csd
3
- VERSION = "1.0.13"
3
+ VERSION = "1.0.14"
4
4
  end
5
5
  end
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "metanorma-standoc", "~> 1.0.0"
31
31
  spec.add_dependency "isodoc", "~> 0.9.6"
32
32
 
33
- spec.add_development_dependency "bundler", "~> 1.15"
33
+ spec.add_development_dependency "bundler", "~> 2.0.1"
34
34
  spec.add_development_dependency "byebug", "~> 9.1"
35
35
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
36
36
  spec.add_development_dependency "guard", "~> 2.14"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-csd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-19 00:00:00.000000000 Z
11
+ date: 2019-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.15'
47
+ version: 2.0.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.15'
54
+ version: 2.0.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: byebug
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +213,6 @@ files:
213
213
  - LICENSE
214
214
  - README.adoc
215
215
  - Rakefile
216
- - asciidoctor-csd.gemspec.old
217
216
  - bin/console
218
217
  - bin/rspec
219
218
  - bin/setup
@@ -1,43 +0,0 @@
1
- lib = File.expand_path("../lib", __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "asciidoctor/csd/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "asciidoctor-csd"
7
- spec.version = Asciidoctor::Csd::VERSION
8
- spec.authors = ["Ribose Inc."]
9
- spec.email = ["open.source@ribose.com"]
10
-
11
- spec.summary = "asciidoctor-csd lets you write CSD in AsciiDoc."
12
- spec.description = <<~DESCRIPTION
13
- asciidoctor-csd lets you write CSD in AsciiDoc syntax.
14
-
15
- This gem is in active development.
16
- DESCRIPTION
17
-
18
- spec.homepage = "https://github.com/riboseinc/metanorma-csd"
19
- spec.license = "BSD-2-Clause"
20
- spec.post_install_message = "The asciidoctor-csd gem has been deprecated and has been replaced by metanorma-csd"
21
-
22
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
23
- f.match(%r{^(test|spec|features)/})
24
- end
25
- spec.bindir = "exe"
26
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
- spec.require_paths = ["lib"]
28
-
29
- spec.add_dependency "asciidoctor-iso", "~> 0.10.2"
30
- spec.add_dependency "isodoc", "~> 0.8.8"
31
-
32
- spec.add_development_dependency "bundler", "~> 1.15"
33
- spec.add_development_dependency "byebug", "~> 9.1"
34
- spec.add_development_dependency "equivalent-xml", "~> 0.6"
35
- spec.add_development_dependency "guard", "~> 2.14"
36
- spec.add_development_dependency "guard-rspec", "~> 4.7"
37
- spec.add_development_dependency "rake", "~> 12.0"
38
- spec.add_development_dependency "rspec", "~> 3.6"
39
- spec.add_development_dependency "rubocop", "~> 0.50"
40
- spec.add_development_dependency "simplecov", "~> 0.15"
41
- spec.add_development_dependency "timecop", "~> 0.9"
42
- spec.add_development_dependency "metanorma", "~> 0.2.5"
43
- end