metanorma-unece 0.2.7 → 0.2.8

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: e9b4e3d511e753c6e9d672093152987b8446de7e0c22afb10d6b0427bd1e05f8
4
- data.tar.gz: b8f1059aed254f47b308ee8625ceebc727a3b040456544a69545329d8caf72f4
3
+ metadata.gz: 4106169b0beff0251701a368f8d8435c00f6abbce94f305529ad381ec3785757
4
+ data.tar.gz: 57873f037a5cc25f9649bf48550e79a4a1df9c1adbfe1212cbb00dc15c852725
5
5
  SHA512:
6
- metadata.gz: 6a16c01e4f91b5bb05d2b68252b9c0cd9765564662677acb9bb741741880d5cd827e6e9de639904633294526ec15525b0924520893f02728b80252f897b93c35
7
- data.tar.gz: 06f38f762cfab15e9e81308b1fb46da72d070bc781d61fa0548fae7bdab3cf0755a343e89ebae570980a04c2db251f6ca09b25c2ec7a31acd14216daceb34f13
6
+ metadata.gz: 8f9216030eecdf32a03b316725d9d1264d86d58aed32d45be1de9d20f17d3331aa85be1a4dd990991f8589e386cd0f85c554c912eac9c9166c60265c5f87fae8
7
+ data.tar.gz: b290ff5c12a82a1033b697c23ddc6ffb70342186deee081ecf6fb9fbf233f8b1bca0029646b4df530c1c6189d76b69de848f4d4df56602f3f364e7d4ef94bb61
data/README.adoc CHANGED
@@ -1,13 +1,11 @@
1
1
  = Metanorma processor for UNECE documents
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-unece.svg["Gem Version", link="https://rubygems.org/gems/metanorma-unece"]
4
- image:https://img.shields.io/travis/metanorma/metanorma-unece/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma-unece"]
4
+ image:https://travis-ci.com/metanorma/metanorma-unece.svg["Build Status", link="https://travis-ci.com/metanorma/metanorma-unece"]
5
+ image:https://ci.appveyor.com/api/projects/status/hrguu7679xqmwdgy?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma-unece"]
5
6
  image:https://codeclimate.com/github/metanorma/metanorma-unece/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-unece"]
6
- image:https://ci.appveyor.com/api/projects/status/lqqkdhc7bswaqpp8?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/metanorma-unece"]
7
-
8
-
9
- WARNING: This gem is still under development.
10
-
7
+ image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-unece.svg["Pull Requests", link="https://github.com/metanorma/metanorma-unece/pulls"]
8
+ image:https://img.shields.io/github/commits-since/metanorma/metanorma-unece/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-unece/releases"]
11
9
 
12
10
  == Functionality
13
11
 
@@ -341,11 +341,6 @@
341
341
  </oneOrMore>
342
342
  </element>
343
343
  </define>
344
- <define name="tclass">
345
- <element name="name">
346
- <text/>
347
- </element>
348
- </define>
349
344
  <define name="thead">
350
345
  <element name="thead">
351
346
  <ref name="tr"/>
@@ -515,19 +510,22 @@
515
510
  <attribute name="subsequence"/>
516
511
  </optional>
517
512
  <optional>
518
- <ref name="source"/>
513
+ <attribute name="class"/>
519
514
  </optional>
520
515
  <optional>
521
- <ref name="tname"/>
516
+ <ref name="source"/>
522
517
  </optional>
523
518
  <optional>
524
- <ref name="tclass"/>
519
+ <ref name="tname"/>
525
520
  </optional>
526
521
  <choice>
527
522
  <ref name="image"/>
528
523
  <ref name="video"/>
529
524
  <ref name="audio"/>
530
525
  <ref name="pre"/>
526
+ <oneOrMore>
527
+ <ref name="paragraph-with-footnote"/>
528
+ </oneOrMore>
531
529
  <zeroOrMore>
532
530
  <ref name="figure"/>
533
531
  </zeroOrMore>
@@ -648,9 +648,12 @@ p.Biblio, p.NormRef {
648
648
  3.6 Source Code + figures
649
649
  */
650
650
 
651
- .figure, .Sourcecode {
651
+ .Sourcecode {
652
652
  font-family: $monospacefont;
653
653
  font-variant-ligatures: none;
654
+ }
655
+
656
+ .figure, .Sourcecode, .pseudocode {
654
657
  background-color: $un-gray;
655
658
  font-size: 0.8em;
656
659
  line-height: 1.6em;
@@ -716,7 +719,7 @@ div.Admonition {
716
719
  margin-left:-1.5em;
717
720
  }
718
721
 
719
- .example .Sourcecode {
722
+ .example .Sourcecode, .example .pseudocode {
720
723
  background: none;
721
724
  }
722
725
 
@@ -1053,7 +1056,7 @@ a.anchorjs-link:hover {
1053
1056
  margin-top: 1.2em;
1054
1057
  }
1055
1058
 
1056
- .note, .figure, .Sourcecode, table {
1059
+ .note, .figure, .Sourcecode, .pseudocode, table {
1057
1060
  page-break-inside: avoid;
1058
1061
  }
1059
1062
 
@@ -17,6 +17,22 @@ $un-text: #333;
17
17
  $un-link: #00ADEF;
18
18
 
19
19
  p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode, pre
20
+ {mso-style-unhide:no;
21
+ mso-style-qformat:yes;
22
+ mso-style-parent:"";
23
+ margin-top:6.0pt;
24
+ margin-right:0cm;
25
+ margin-bottom:6.0pt;
26
+ margin-left:0cm;
27
+ text-align:left;
28
+ mso-pagination:widow-orphan;
29
+ 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;
30
+ font-size:10.0pt;
31
+ font-family:$monospacefont;
32
+ mso-fareast-font-family:Calibri;
33
+ mso-bidi-font-family:"Courier New";
34
+ mso-ansi-language:EN-GB;}
35
+ p.pseudocode, li.pseudocode, div.pseudocode
20
36
  {mso-style-unhide:no;
21
37
  mso-style-qformat:yes;
22
38
  mso-style-parent:"";
@@ -28,7 +44,7 @@ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode, pre
28
44
  mso-pagination:widow-orphan;
29
45
  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;
30
46
  font-size:10.0pt;
31
- font-family:$monospacefont;
47
+ font-family:$bodyfont;
32
48
  mso-fareast-font-family:Calibri;
33
49
  mso-bidi-font-family:"Courier New";
34
50
  mso-ansi-language:EN-GB;}
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Unece
3
- VERSION = "0.2.7"
3
+ VERSION = "0.2.8"
4
4
  end
5
5
  end
@@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
26
26
 
27
- spec.add_dependency "asciidoctor", "~> 1.5.7"
28
27
  spec.add_dependency "htmlentities", "~> 4.3.4"
29
28
  spec.add_dependency "ruby-jing"
30
29
  spec.add_dependency "roman-numerals"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-unece
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
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-30 00:00:00.000000000 Z
11
+ date: 2019-11-08 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