metanorma-cc 1.5.1 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +44 -0
- data/lib/asciidoctor/cc/basicdoc.rng +23 -0
- data/lib/asciidoctor/cc/cc.rng +7 -0
- data/lib/asciidoctor/cc/converter.rb +1 -0
- data/lib/asciidoctor/cc/front.rb +6 -3
- data/lib/asciidoctor/cc/isodoc.rng +125 -58
- data/lib/isodoc/cc/csd.standard.xsl +916 -212
- data/lib/isodoc/cc/html/_coverpage.css +5 -1
- data/lib/isodoc/cc/html/cc.css +16 -4
- data/lib/isodoc/cc/html/cc.scss +18 -4
- data/lib/isodoc/cc/html/htmlstyle.css +10 -2
- data/lib/metanorma/cc/version.rb +1 -1
- data/metanorma-cc.gemspec +1 -1
- metadata +5 -7
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -56
- data/.github/workflows/windows.yml +0 -40
@@ -9,7 +9,7 @@ fieldset, form, label, legend,
|
|
9
9
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
10
|
article, aside, canvas, details, embed,
|
11
11
|
figure, figcaption, footer, header, hgroup,
|
12
|
-
menu,
|
12
|
+
menu, output, ruby, section, summary,
|
13
13
|
time, mark, audio, video {
|
14
14
|
margin: 0;
|
15
15
|
padding: 0; }
|
@@ -104,6 +104,10 @@ b, strong {
|
|
104
104
|
div.document-stage-band, div.document-type-band {
|
105
105
|
background-color: #333333; }
|
106
106
|
|
107
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
108
|
+
content: ", ";
|
109
|
+
vertical-align: super; }
|
110
|
+
|
107
111
|
#standard-band {
|
108
112
|
background-color: #0AC442; }
|
109
113
|
|
data/lib/isodoc/cc/html/cc.css
CHANGED
@@ -670,7 +670,7 @@ div.WordSection2 {
|
|
670
670
|
div.WordSection3 {
|
671
671
|
page: WordSection3; }
|
672
672
|
|
673
|
-
table.MsoISOTable {
|
673
|
+
table.MsoISOTable, table.MsoISOTableBig {
|
674
674
|
mso-style-name: "Table ISO";
|
675
675
|
mso-tstyle-rowband-size: 0;
|
676
676
|
mso-tstyle-colband-size: 0;
|
@@ -691,17 +691,17 @@ table.MsoISOTable {
|
|
691
691
|
font-size: 10.0pt;
|
692
692
|
font-family: {{bodyfont}}; }
|
693
693
|
|
694
|
-
table.MsoISOTable th {
|
694
|
+
table.MsoISOTable th, table.MsoISOTableBig th {
|
695
695
|
border: solid windowtext 1pt;
|
696
696
|
mso-border-alt: solid windowtext 1pt;
|
697
697
|
padding: 0cm 2.85pt 0cm 2.85pt; }
|
698
698
|
|
699
|
-
table.MsoISOTable td {
|
699
|
+
table.MsoISOTable td, table.MsoISOTableBig td {
|
700
700
|
border: solid windowtext 1pt;
|
701
701
|
mso-border-alt: solid windowtext 1pt;
|
702
702
|
padding: 0cm 2.85pt 0cm 2.85pt; }
|
703
703
|
|
704
|
-
table.MsoISOTable p {
|
704
|
+
table.MsoISOTable p, table.MsoISOTableBig p {
|
705
705
|
font-size: 10.0pt; }
|
706
706
|
|
707
707
|
table.MsoTableGrid {
|
@@ -788,8 +788,20 @@ div.example p.MsoListParagraph {
|
|
788
788
|
font-size: 10.0pt; }
|
789
789
|
|
790
790
|
div.Note p.MsoListParagraph {
|
791
|
+
font-size: 10.0pt;
|
792
|
+
margin-left: 1.0cm; }
|
793
|
+
|
794
|
+
div.Note span.stem {
|
791
795
|
font-size: 10.0pt; }
|
792
796
|
|
797
|
+
div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
798
|
+
font-size: 8.0pt;
|
799
|
+
margin-left: 1.0cm; }
|
800
|
+
|
801
|
+
div.Note table.dl {
|
802
|
+
font-size: 10.0pt;
|
803
|
+
margin-left: 1.0cm; }
|
804
|
+
|
793
805
|
span.note_label, span.example_label, td.example_label, td.note_label {
|
794
806
|
font-size: 10.0pt;
|
795
807
|
font-family: {{bodyfont}}; }
|
data/lib/isodoc/cc/html/cc.scss
CHANGED
@@ -633,7 +633,7 @@ div.WordSection2
|
|
633
633
|
mso-paper-source:0;}
|
634
634
|
div.WordSection3
|
635
635
|
{page:WordSection3;}
|
636
|
-
table.MsoISOTable
|
636
|
+
table.MsoISOTable, table.MsoISOTableBig
|
637
637
|
{mso-style-name:"Table ISO";
|
638
638
|
mso-tstyle-rowband-size:0;
|
639
639
|
mso-tstyle-colband-size:0;
|
@@ -653,15 +653,15 @@ table.MsoISOTable
|
|
653
653
|
mso-border-insidev:.75pt solid windowtext;
|
654
654
|
font-size:10.0pt;
|
655
655
|
font-family:$bodyfont;}
|
656
|
-
table.MsoISOTable th
|
656
|
+
table.MsoISOTable th, table.MsoISOTableBig th
|
657
657
|
{border:solid windowtext 1pt;
|
658
658
|
mso-border-alt:solid windowtext 1pt;
|
659
659
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
660
|
-
table.MsoISOTable td
|
660
|
+
table.MsoISOTable td, table.MsoISOTableBig td
|
661
661
|
{border:solid windowtext 1pt;
|
662
662
|
mso-border-alt:solid windowtext 1pt;
|
663
663
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
664
|
-
table.MsoISOTable p
|
664
|
+
table.MsoISOTable p, table.MsoISOTableBig p
|
665
665
|
{font-size:10.0pt; }
|
666
666
|
table.MsoTableGrid
|
667
667
|
{mso-style-name:"Table Grid";
|
@@ -748,6 +748,20 @@ div.example p.MsoListParagraph {
|
|
748
748
|
|
749
749
|
div.Note p.MsoListParagraph {
|
750
750
|
font-size: 10.0pt;
|
751
|
+
margin-left: 1.0cm;
|
752
|
+
}
|
753
|
+
|
754
|
+
div.Note span.stem {
|
755
|
+
font-size: 10.0pt; }
|
756
|
+
|
757
|
+
div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
758
|
+
font-size: 8.0pt;
|
759
|
+
margin-left: 1.0cm;
|
760
|
+
}
|
761
|
+
|
762
|
+
div.Note table.dl {
|
763
|
+
font-size: 10.0pt;
|
764
|
+
margin-left: 1.0cm;
|
751
765
|
}
|
752
766
|
|
753
767
|
span.note_label, span.example_label, td.example_label, td.note_label
|
@@ -9,7 +9,7 @@ fieldset, form, label, legend,
|
|
9
9
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
10
|
article, aside, canvas, details, embed,
|
11
11
|
figure, figcaption, footer, header, hgroup,
|
12
|
-
menu,
|
12
|
+
menu, output, ruby, section, summary,
|
13
13
|
time, mark, audio, video {
|
14
14
|
margin: 0;
|
15
15
|
padding: 0; }
|
@@ -104,6 +104,10 @@ b, strong {
|
|
104
104
|
div.document-stage-band, div.document-type-band {
|
105
105
|
background-color: #333333; }
|
106
106
|
|
107
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
108
|
+
content: ", ";
|
109
|
+
vertical-align: super; }
|
110
|
+
|
107
111
|
#standard-band {
|
108
112
|
background-color: #0AC442; }
|
109
113
|
|
@@ -679,7 +683,7 @@ fieldset, form, label, legend,
|
|
679
683
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
680
684
|
article, aside, canvas, details, embed,
|
681
685
|
figure, figcaption, footer, header, hgroup,
|
682
|
-
menu,
|
686
|
+
menu, output, ruby, section, summary,
|
683
687
|
time, mark, audio, video {
|
684
688
|
margin: 0;
|
685
689
|
padding: 0; }
|
@@ -774,6 +778,10 @@ b, strong {
|
|
774
778
|
div.document-stage-band, div.document-type-band {
|
775
779
|
background-color: #333333; }
|
776
780
|
|
781
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
782
|
+
content: ", ";
|
783
|
+
vertical-align: super; }
|
784
|
+
|
777
785
|
#standard-band {
|
778
786
|
background-color: #0AC442; }
|
779
787
|
|
data/lib/metanorma/cc/version.rb
CHANGED
data/metanorma-cc.gemspec
CHANGED
@@ -28,7 +28,7 @@ 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 "metanorma-standoc", "~> 1.
|
31
|
+
spec.add_dependency "metanorma-standoc", "~> 1.6.0"
|
32
32
|
spec.add_dependency "isodoc", "~> 1.2.0"
|
33
33
|
|
34
34
|
spec.add_development_dependency "byebug", "~> 9.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-cc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.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: 2020-
|
11
|
+
date: 2020-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: isodoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,9 +190,7 @@ executables: []
|
|
190
190
|
extensions: []
|
191
191
|
extra_rdoc_files: []
|
192
192
|
files:
|
193
|
-
- ".github/workflows/
|
194
|
-
- ".github/workflows/ubuntu.yml"
|
195
|
-
- ".github/workflows/windows.yml"
|
193
|
+
- ".github/workflows/rake.yml"
|
196
194
|
- ".gitignore"
|
197
195
|
- ".hound.yml"
|
198
196
|
- ".rubocop.yml"
|
data/.github/workflows/macos.yml
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: macos
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master ]
|
8
|
-
pull_request:
|
9
|
-
paths-ignore:
|
10
|
-
- .github/workflows/ubuntu.yml
|
11
|
-
- .github/workflows/windows.yml
|
12
|
-
|
13
|
-
jobs:
|
14
|
-
test-macos:
|
15
|
-
name: Test on Ruby ${{ matrix.ruby }} macOS
|
16
|
-
runs-on: macos-latest
|
17
|
-
continue-on-error: ${{ matrix.experimental }}
|
18
|
-
strategy:
|
19
|
-
fail-fast: false
|
20
|
-
matrix:
|
21
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
-
experimental: [false]
|
23
|
-
include:
|
24
|
-
- ruby: '2.7'
|
25
|
-
experimental: true
|
26
|
-
steps:
|
27
|
-
- uses: actions/checkout@master
|
28
|
-
- name: Use Ruby
|
29
|
-
uses: actions/setup-ruby@v1
|
30
|
-
with:
|
31
|
-
ruby-version: ${{ matrix.ruby }}
|
32
|
-
- name: Update gems
|
33
|
-
run: |
|
34
|
-
sudo gem install bundler --force
|
35
|
-
bundle install --jobs 4 --retry 3
|
36
|
-
- name: Run specs
|
37
|
-
run: |
|
38
|
-
bundle exec rake
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: ubuntu
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master ]
|
8
|
-
tags:
|
9
|
-
- '*'
|
10
|
-
pull_request:
|
11
|
-
paths-ignore:
|
12
|
-
- .github/workflows/macos.yml
|
13
|
-
- .github/workflows/windows.yml
|
14
|
-
|
15
|
-
jobs:
|
16
|
-
test-linux:
|
17
|
-
name: Test on Ruby ${{ matrix.ruby }} Ubuntu
|
18
|
-
runs-on: ubuntu-latest
|
19
|
-
continue-on-error: ${{ matrix.experimental }}
|
20
|
-
strategy:
|
21
|
-
fail-fast: false
|
22
|
-
matrix:
|
23
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
24
|
-
experimental: [false]
|
25
|
-
include:
|
26
|
-
- ruby: '2.7'
|
27
|
-
experimental: true
|
28
|
-
steps:
|
29
|
-
- uses: actions/checkout@master
|
30
|
-
- name: Use Ruby
|
31
|
-
uses: actions/setup-ruby@v1
|
32
|
-
with:
|
33
|
-
ruby-version: ${{ matrix.ruby }}
|
34
|
-
- name: Update gems
|
35
|
-
run: |
|
36
|
-
gem install bundler
|
37
|
-
bundle install --jobs 4 --retry 3
|
38
|
-
- name: Run specs
|
39
|
-
run: |
|
40
|
-
bundle exec rake
|
41
|
-
- name: Trigger repositories
|
42
|
-
if: matrix.ruby == '2.6'
|
43
|
-
env:
|
44
|
-
GH_USERNAME: metanorma-ci
|
45
|
-
GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
46
|
-
run: |
|
47
|
-
curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
|
48
|
-
[[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
|
49
|
-
CLIENT_PAYLOAD=$(cat <<EOF
|
50
|
-
"{ "ref": "${GITHUB_REF}", "repo": "${GITHUB_REPOSITORY}" }"
|
51
|
-
EOF
|
52
|
-
)
|
53
|
-
for repo in $REPOS
|
54
|
-
do
|
55
|
-
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD"
|
56
|
-
done
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: windows
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master ]
|
8
|
-
pull_request:
|
9
|
-
paths-ignore:
|
10
|
-
- .github/workflows/macos.yml
|
11
|
-
- .github/workflows/ubuntu.yml
|
12
|
-
|
13
|
-
jobs:
|
14
|
-
test-windows:
|
15
|
-
name: Test on Ruby ${{ matrix.ruby }} Windows
|
16
|
-
runs-on: windows-latest
|
17
|
-
continue-on-error: ${{ matrix.experimental }}
|
18
|
-
strategy:
|
19
|
-
fail-fast: false
|
20
|
-
matrix:
|
21
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
-
experimental: [false]
|
23
|
-
include:
|
24
|
-
- ruby: '2.7'
|
25
|
-
experimental: true
|
26
|
-
steps:
|
27
|
-
- uses: actions/checkout@master
|
28
|
-
- name: Use Ruby
|
29
|
-
uses: actions/setup-ruby@v1
|
30
|
-
with:
|
31
|
-
ruby-version: ${{ matrix.ruby }}
|
32
|
-
- name: Update gems
|
33
|
-
shell: pwsh
|
34
|
-
run: |
|
35
|
-
gem install bundler
|
36
|
-
bundle config --local path vendor/bundle
|
37
|
-
bundle install --jobs 4 --retry 3
|
38
|
-
- name: Run specs
|
39
|
-
run: |
|
40
|
-
bundle exec rake
|