metanorma-mpfd 0.3.5 → 0.3.6

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: dafad7c49dd483b98dce08c884928a5f3637c532aede52b3bb77a211c19417a3
4
- data.tar.gz: 3adbc3c2ecd35c859254092a5c08ac0a0eb8f8918e35a37ee58dd99f3d0fa612
3
+ metadata.gz: 379f242702d77052ef619ae3d809e70054a9e4e0c426c951f46fd791b2495061
4
+ data.tar.gz: 777f97f1198a18c983279e726a3f13e116424a2ce968a2753a7fdd665c006ebc
5
5
  SHA512:
6
- metadata.gz: 4c8d4b6567a53a93f48f0c35310d1cf33f56cdbb8f8da6acf752a3738ce6b4e8680c616fa39df1cf0a95d1458dca2fd0d59f6fcfe87917b8990efc83908c8cb5
7
- data.tar.gz: e9fdeb2a343ee8220de955e3c88ffba657656c208a27deabe152d65f81b88ec0cf066a7a977657653d4c84d3fe9cf0bbb8efed769fd3887269aecf345d0d7fa4
6
+ metadata.gz: '08a50c4f7354b38d7089e994556da45fd0fcba46618a6a4386c8caf42e568746e1eef5d01733d177cc3c759aa590cfb70c223660e22bce954ab2b4c43aa33237'
7
+ data.tar.gz: 0b783a3fa6f8c07d8fefb04da33481445a912b16dd8915b2af23b4f156553f4da007847f47935502417ef0d71285d879e19ea6fa4514e3cbc38eda7d423845e4
data/README.adoc CHANGED
@@ -1,9 +1,11 @@
1
1
  = Metanorma-MPFD: Metanorma processor for MPFA documents
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-mpfd.svg["Gem Version", link="https://rubygems.org/gems/metanorma-mpfd"]
4
- image:https://img.shields.io/travis/metanorma/metanorma-mpfd/master.svg["Build Status", link="https://travis-ci.com/metanorma/metanorma-mpfd"]
5
- image:https://ci.appveyor.com/api/projects/status/ee3t67dyxlb5y4db?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/metanorma-mpfd"]
4
+ image:https://travis-ci.com/metanorma/metanorma-mpfd.svg["Build Status", link="https://travis-ci.com/metanorma/metanorma-mpfd"]
5
+ image:https://ci.appveyor.com/api/projects/status/oprurhccr4hv0yy8?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma-mpfd"]
6
6
  image:https://codeclimate.com/github/metanorma/metanorma-mpfd/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-mpfd"]
7
+ image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-mpfd.svg["Pull Requests", link="https://github.com/metanorma/metanorma-mpfd/pulls"]
8
+ image:https://img.shields.io/github/commits-since/metanorma/metanorma-mpfd/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-mpfd/releases"]
7
9
 
8
10
  WARNING: This gem is still under development. Moreover, unlike other Metanorma gems,
9
11
  there is no formal MPFD specification, and this work is still currently exploratory.
@@ -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>
@@ -582,9 +582,12 @@ p.Biblio, p.NormRef {
582
582
  3.6 Source Code + figures
583
583
  */
584
584
 
585
- .figure, .Sourcecode {
585
+ .Sourcecode {
586
586
  font-family: $monospacefont;
587
587
  font-variant-ligatures: none;
588
+ }
589
+
590
+ .figure, .Sourcecode, .pseudocode {
588
591
  background-color: #f7f7f7;
589
592
  font-size: 0.8em;
590
593
  line-height: 1.6em;
@@ -646,7 +649,7 @@ table.example {
646
649
  }
647
650
 
648
651
 
649
- .example .Sourcecode {
652
+ .example .Sourcecode, .example .pseudocode {
650
653
  background: none;
651
654
  }
652
655
 
@@ -1065,7 +1068,7 @@ a.anchorjs-link:hover {
1065
1068
  margin-top: 1.2em;
1066
1069
  }
1067
1070
 
1068
- .note, .figure, .Sourcecode, table {
1071
+ .note, .figure, .Sourcecode, .pseudocode, table {
1069
1072
  page-break-inside: avoid;
1070
1073
  }
1071
1074
 
@@ -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.0pt;
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;
@@ -682,6 +698,10 @@ div.example p.MsoListParagraph {
682
698
  font-size: 10.0pt;
683
699
  }
684
700
 
701
+ div.Note p.MsoListParagraph {
702
+ font-size: 10.0pt;
703
+ }
704
+
685
705
  span.note_label, span.example_label, td.example_label, td.note_label
686
706
  {
687
707
  font-size: 10.0pt;
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Mpfd
3
- VERSION = "0.3.5"
3
+ VERSION = "0.3.6"
4
4
  end
5
5
  end
@@ -26,7 +26,6 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
28
28
 
29
- spec.add_dependency "asciidoctor", "~> 1.5.7"
30
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
31
30
  #spec.add_dependency "nokogiri"
32
31
  spec.add_dependency "metanorma-standoc", "~> 1.3.0"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-mpfd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
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-27 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