metanorma-m3aawg 1.8.5 → 2.0.3

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: 78906078cba5ba9056c4b3ee5595c79e1a78edf0923ab5a3a32083893b89a5c6
4
- data.tar.gz: 246f04fe03f6ed3b482b84af45e52106ff2eb502eac2c5d6eaa8f2b345910cc7
3
+ metadata.gz: 4f127e98f685011f8b56d8d295e15a5e81d83ac697262558b1ab19eeda30685b
4
+ data.tar.gz: c92243391d79830284f0ad9597c3328afc9d4e43e6879f9a4be719b457017a6f
5
5
  SHA512:
6
- metadata.gz: ef47eaf6fb629292bec9f5aad105007f04fa8b2a262446e4f2559154414dba75b8d3bb8b0b03f101a14e5cc4ce592a43d2fbfb157a35ce5883bf3ccda84f9ef1
7
- data.tar.gz: 5e8220678630a3876c4dcd70a58228b00855a2492491e5962cec7a3ebb4f5b9b7bfb1554a25d8a44cb5ae8cb359ecc488b3c65339039c828f6a36d5461acdf4d
6
+ metadata.gz: f9db2e8cebbb4d57f3047972cd0f5d1d26fdd4b44f838f8a21f3d8f3600c89acf61d3719bd5ca1a8b069caf5e6dda888b6629bd47c7e56882fef10f90ef016e5
7
+ data.tar.gz: 00d2ef74110ec8dcef97e96a6a7340e0e556ef3dbf81bb5c1b3d88b8c5dd22ee8d77e86dbe57243c8ef8a451a0aa9aa8d56ebcf0863bc2bb3b963caad7bc6086
@@ -9,35 +9,7 @@ on:
9
9
  pull_request:
10
10
 
11
11
  jobs:
12
- rake:
13
- name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
- runs-on: ${{ matrix.os }}
15
- continue-on-error: ${{ matrix.experimental }}
16
- strategy:
17
- fail-fast: false
18
- matrix:
19
- ruby: [ '3.0', '2.7', '2.6', '2.5' ]
20
- os: [ ubuntu-latest, windows-latest, macos-latest ]
21
- experimental: [ false ]
22
- steps:
23
- - uses: actions/checkout@v2
24
- with:
25
- submodules: true
26
-
27
- - uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: ${{ matrix.ruby }}
30
- bundler-cache: true
31
-
32
- - run: bundle exec rake
33
-
34
- tests-passed:
35
- needs: rake
36
- runs-on: ubuntu-latest
37
- steps:
38
- - uses: peter-evans/repository-dispatch@v1
39
- with:
40
- token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
41
- repository: ${{ github.repository }}
42
- event-type: tests-passed
43
- client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
12
+ notify:
13
+ uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
14
+ secrets:
15
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.gitignore CHANGED
@@ -1,3 +1,14 @@
1
1
  .DS_Store
2
2
 
3
3
  .rubocop-https--*
4
+
5
+ /.rspec_status
6
+ /Gemfile.devel
7
+ /Gemfile.lock
8
+ /coverage/
9
+ /test.doc
10
+ /test.err
11
+ /test.html
12
+ /test.pdf
13
+ /test.presentation.xml
14
+ /test_3644993195a04f77_htmlimages/
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "asciidoctor/m3d"
4
+ require "metanorma-m3aawg"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -261,48 +261,53 @@ main {
261
261
  div.colophon {
262
262
  margin: 0 3em 0 6em; }
263
263
 
264
- #toc {
264
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
265
265
  font-family: {{bodyfont}};
266
266
  font-weight: 400; }
267
- #toc ul {
267
+ #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
268
268
  margin: 0;
269
269
  padding: 0;
270
270
  list-style: none; }
271
- #toc ul li a {
271
+ #toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
272
272
  padding: 5px 10px; }
273
- #toc ul a {
273
+ #toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
274
274
  color: #69C5DC;
275
275
  text-decoration: none;
276
276
  display: block; }
277
- #toc ul a:hover {
277
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
278
278
  box-shadow: none;
279
279
  color: #69C5DC; }
280
- #toc .h2 {
280
+ #toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
281
281
  padding-left: 30px; }
282
- #toc .h3 {
282
+ #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
283
283
  padding-left: 50px; }
284
- #toc .toc-active, #toc li:hover {
284
+ #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
285
285
  background: #69C5DC;
286
286
  box-shadow: inset -5px 0px 10px -5px #69C5DC !important; }
287
- #toc .toc-active a, #toc li:hover a {
287
+ #toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
288
288
  color: #69C5DC; }
289
289
  @media print {
290
- #toc .toc-active, #toc li:hover {
290
+ #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
291
291
  background: white;
292
292
  box-shadow: none !important; }
293
- #toc .toc-active a {
293
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
294
294
  color: #69C5DC; }
295
- #toc li:hover a {
295
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
296
296
  color: black; } }
297
297
  @media screen and (max-width: 768px) {
298
- #toc {
298
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
299
299
  padding: 0 1.5em;
300
300
  overflow: visible; } }
301
- #toc .toc-active a {
301
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
302
302
  color: white; }
303
- #toc ul a:hover {
303
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
304
304
  color: white; }
305
305
 
306
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
307
+ margin-top: 0;
308
+ margin-bottom: 0;
309
+ font-size: 100%; }
310
+
306
311
  @media screen and (min-width: 768px) {
307
312
  nav {
308
313
  position: fixed;
@@ -386,7 +391,7 @@ div.colophon {
386
391
  display: none; }
387
392
  h1.toc-contents {
388
393
  margin-top: 1em; }
389
- ul#toc-list {
394
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
390
395
  padding: 0;
391
396
  margin: 0; }
392
397
  nav {
@@ -32,7 +32,7 @@ div.colophon {
32
32
  margin: 0 3em 0 6em;
33
33
  }
34
34
 
35
- #toc {
35
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
36
36
  @include toc(#69C5DC, #69C5DC, #69C5DC);
37
37
  @include sidebarToc();
38
38
 
@@ -47,6 +47,12 @@ div.colophon {
47
47
  }
48
48
  }
49
49
 
50
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
51
+ margin-top: 0;
52
+ margin-bottom: 0;
53
+ font-size: 100%;
54
+ }
55
+
50
56
  nav {
51
57
  @include sidebarNav(#f7f7f7, 323px, 45px);
52
58
  }
@@ -80,7 +86,7 @@ nav {
80
86
  margin-top: 1em;
81
87
  }
82
88
 
83
- ul#toc-list {
89
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
84
90
  padding: 0;
85
91
  margin: 0;
86
92
  }
@@ -750,8 +750,7 @@ div.example p.MsoListParagraph {
750
750
  font-size: {{smallerfontsize}}; }
751
751
 
752
752
  div.Note p.MsoListParagraph {
753
- font-size: {{smallerfontsize}};
754
- margin-left: 1.0cm; }
753
+ font-size: {{smallerfontsize}}; }
755
754
 
756
755
  div.Note span.stem {
757
756
  font-size: {{smallerfontsize}}; }
@@ -732,7 +732,6 @@ div.example p.MsoListParagraph {
732
732
 
733
733
  div.Note p.MsoListParagraph {
734
734
  font-size: $smallerfontsize;
735
- margin-left: 1.0cm;
736
735
  }
737
736
 
738
737
  div.Note span.stem {