metanorma-csa 1.4.7 → 1.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +2 -3
- data/.github/workflows/ubuntu.yml +3 -4
- data/.github/workflows/windows.yml +3 -4
- data/README.adoc +2 -0
- data/lib/asciidoctor/csa/biblio.rng +2 -12
- data/lib/asciidoctor/csa/converter.rb +1 -1
- data/lib/asciidoctor/csa/isodoc.rng +1 -3
- data/lib/isodoc/csa/html/htmlstyle.scss +4 -4
- data/lib/isodoc/csa/metadata.rb +2 -1
- data/lib/metanorma/csa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49ee0bf63630b9acfea0fd2a9e3b91e1a2e50f215516cd8fc2ff1df5aea39bc9
|
4
|
+
data.tar.gz: 4adbad5301f92a84b2841232d7c47c2210b0a8232b22facf842d2156bc3b3ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fa8862f64df460d861796f1e3ee8221cf3dfabfc7637880a7f8b07ae2e0a2aacbe97773b0c78f0d096e7acffd3202128b6654bc4f4d054038710a3708ee2129
|
7
|
+
data.tar.gz: db9a193ba45327ed58cd1c764b8d48871b3a01e9512457c0ce80741844d0776d3babae7c1fc5ebe9337030110d1fff7e13bd1ec77e022fa865d572e548523250
|
data/.github/workflows/macos.yml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
# Auto-generated
|
2
|
-
#
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
3
|
name: macos
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
7
|
branches: [ master ]
|
8
8
|
pull_request:
|
9
|
-
branches: [ '**' ]
|
10
9
|
|
11
10
|
jobs:
|
12
11
|
test-macos:
|
@@ -1,12 +1,11 @@
|
|
1
|
-
# Auto-generated
|
2
|
-
#
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
3
|
name: ubuntu
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
7
|
branches: [ master ]
|
8
8
|
pull_request:
|
9
|
-
branches: [ '**' ]
|
10
9
|
|
11
10
|
jobs:
|
12
11
|
test-linux:
|
@@ -25,7 +24,7 @@ jobs:
|
|
25
24
|
architecture: 'x64'
|
26
25
|
- name: Update gems
|
27
26
|
run: |
|
28
|
-
gem install bundler
|
27
|
+
gem install bundler
|
29
28
|
bundle install --jobs 4 --retry 3
|
30
29
|
- name: Use Node
|
31
30
|
uses: actions/setup-node@v1
|
@@ -1,12 +1,11 @@
|
|
1
|
-
# Auto-generated
|
2
|
-
#
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
3
|
name: windows
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
7
|
branches: [ master ]
|
8
8
|
pull_request:
|
9
|
-
branches: [ '**' ]
|
10
9
|
|
11
10
|
jobs:
|
12
11
|
test-windows:
|
@@ -26,7 +25,7 @@ jobs:
|
|
26
25
|
- name: Update gems
|
27
26
|
shell: pwsh
|
28
27
|
run: |
|
29
|
-
gem install bundler
|
28
|
+
gem install bundler
|
30
29
|
bundle config --local path vendor/bundle
|
31
30
|
bundle update
|
32
31
|
bundle install --jobs 4 --retry 3
|
data/README.adoc
CHANGED
@@ -703,21 +703,11 @@
|
|
703
703
|
</define>
|
704
704
|
<define name="TypedTitleString">
|
705
705
|
<optional>
|
706
|
-
<attribute name="type"
|
707
|
-
<ref name="TitleType"/>
|
708
|
-
</attribute>
|
706
|
+
<attribute name="type"/>
|
709
707
|
</optional>
|
710
708
|
<ref name="FormattedString"/>
|
711
709
|
</define>
|
712
|
-
|
713
|
-
<choice>
|
714
|
-
<value>alternative</value>
|
715
|
-
<value>original</value>
|
716
|
-
<value>unofficial</value>
|
717
|
-
<value>subtitle</value>
|
718
|
-
<value>main</value>
|
719
|
-
</choice>
|
720
|
-
</define>
|
710
|
+
<!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
|
721
711
|
<define name="TypedUri">
|
722
712
|
<optional>
|
723
713
|
<attribute name="type"/>
|
@@ -105,7 +105,7 @@ module Asciidoctor
|
|
105
105
|
pdf_converter(node).convert filename unless node.attr('nodoc')
|
106
106
|
word_converter(node).convert filename unless node.attr('nodoc')
|
107
107
|
end
|
108
|
-
@log.write(@filename + ".err") unless @novalid
|
108
|
+
@log.write(@localdir + @filename + ".err") unless @novalid
|
109
109
|
@files_to_delete.each { |f| FileUtils.rm f }
|
110
110
|
ret
|
111
111
|
end
|
@@ -79,9 +79,10 @@ nav {
|
|
79
79
|
*/
|
80
80
|
|
81
81
|
.document-type-band {
|
82
|
-
@include docBand(2,
|
83
|
-
|
84
|
-
|
82
|
+
@include docBand($order: 2, $offset: 180px);
|
83
|
+
|
84
|
+
.document-type {
|
85
|
+
top: 20px;
|
85
86
|
}
|
86
87
|
}
|
87
88
|
|
@@ -92,7 +93,6 @@ nav {
|
|
92
93
|
}
|
93
94
|
}
|
94
95
|
|
95
|
-
p.document-type,
|
96
96
|
p.document-stage {
|
97
97
|
@include docBandTitle(120px);
|
98
98
|
}
|
data/lib/isodoc/csa/metadata.rb
CHANGED
@@ -7,7 +7,7 @@ module IsoDoc
|
|
7
7
|
# A {Converter} implementation that generates CSA output, and a document
|
8
8
|
# schema encapsulation of the document for validation
|
9
9
|
class Metadata < IsoDoc::Metadata
|
10
|
-
|
10
|
+
def initialize(lang, script, labels)
|
11
11
|
super
|
12
12
|
end
|
13
13
|
|
@@ -24,6 +24,7 @@ module IsoDoc
|
|
24
24
|
set(:tc, "XXXX")
|
25
25
|
tc = isoxml.at(ns("//bibdata/ext/editorialgroup/committee"))
|
26
26
|
set(:tc, tc.text) if tc
|
27
|
+
super
|
27
28
|
end
|
28
29
|
|
29
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.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: 2020-03
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|