metanorma-csand 1.1.3 → 1.1.4

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: af08d3ed4c3516e625ef80cbf3a1b48dbded2282ea51c0990d610ac07d10aaef
4
- data.tar.gz: e100e4c262f46515f1ef59e1922acbfb4a3c08a05d79e5b6ca8346c31678d56b
3
+ metadata.gz: 28e3f3576dfbf07e2b300d70185217923feaf6b16bd7c79090d59a2200c44837
4
+ data.tar.gz: 896354198a1ae335f15d95cc4cd726d96b2af155e2f3d0f8894db98adf51cc76
5
5
  SHA512:
6
- metadata.gz: 6bf591357a2356b8c5c6d2712ff25bb2dc1a7d5fe20802e283167e6d866e5df6f0b29a0fbd3ece2796c13def36825a64439291b22ac6e8e48c3755fe52009b9b
7
- data.tar.gz: 626e579087e81dce5d35314df29591470a46cabf12326fea0410e42acc047acf7910694164e6859f0cd07c0d9b9a724776c58ca83a0966ed7965a0ad855561fa
6
+ metadata.gz: 9e511fb54ee8a778f03fdf4ecf4718ab67c2b79399d35019ce2b4b3191092ba8cd0f924f0733d69cbbbf7ba669e1efab7fc299b2a65fa3b35f732272a3924409
7
+ data.tar.gz: 849212f69a73c1cd284f731f81819b72ff11c68f1e3653d9bb874e505f97c5a5d92cc2996e3fc13b90d3638851d9077d9cf037b7103d36812fd05b04afe04012
@@ -837,26 +837,29 @@
837
837
  <ref name="ContributorInfo"/>
838
838
  </element>
839
839
  </define>
840
+ <define name="DocRelationType">
841
+ <choice>
842
+ <value>obsoletes</value>
843
+ <value>updates</value>
844
+ <value>updatedBy</value>
845
+ <value>complements</value>
846
+ <value>derivedFrom</value>
847
+ <value>translatedFrom</value>
848
+ <value>adoptedFrom</value>
849
+ <value>equivalent</value>
850
+ <value>identical</value>
851
+ <value>nonequivalent</value>
852
+ <value>includedIn</value>
853
+ <value>includes</value>
854
+ <value>instance</value>
855
+ <value>partOf</value>
856
+ <value>hasDraft</value>
857
+ </choice>
858
+ </define>
840
859
  <define name="docrelation">
841
860
  <element name="relation">
842
861
  <attribute name="type">
843
- <choice>
844
- <value>obsoletes</value>
845
- <value>updates</value>
846
- <value>updatedBy</value>
847
- <value>complements</value>
848
- <value>derivedFrom</value>
849
- <value>translatedFrom</value>
850
- <value>adoptedFrom</value>
851
- <value>equivalent</value>
852
- <value>identical</value>
853
- <value>nonequivalent</value>
854
- <value>includedIn</value>
855
- <value>includes</value>
856
- <value>instance</value>
857
- <value>partOf</value>
858
- <value>hasDraft</value>
859
- </choice>
862
+ <ref name="DocRelationType"/>
860
863
  </attribute>
861
864
  <element name="bibitem">
862
865
  <ref name="BibliographicItem"/>
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  //TOC generation
3
3
  $('#toc').toc({
4
- 'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
4
+ 'selectors': toclevel(), //elements to use as headings
5
5
  'container': 'main', //element to find all selectors in
6
6
  'smoothScrolling': true, //enable or disable smooth scrolling on click
7
7
  'prefix': 'toc', //prefix for anchor tags and class names
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  //TOC generation
3
3
  $('#toc').toc({
4
- 'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
4
+ 'selectors': toclevel(), //elements to use as headings
5
5
  'container': 'main', //element to find all selectors in
6
6
  'smoothScrolling': true, //enable or disable smooth scrolling on click
7
7
  'prefix': 'toc', //prefix for anchor tags and class names
@@ -55,24 +55,12 @@ module IsoDoc
55
55
  @annex_lbl = "Appendix"
56
56
  end
57
57
 
58
- def html_head()
58
+ def googlefonts()
59
59
  <<~HEAD.freeze
60
- <title>{{ doctitle }}</title>
61
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
62
-
63
- <!--TOC script import-->
64
- <script type="text/javascript" src="https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js"></script>
65
-
66
- <!--Google fonts-->
67
60
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
68
61
  <link href="https://fonts.googleapis.com/css?family=Rubik:300,300i,500" rel="stylesheet">
69
62
  <link href="https://fonts.googleapis.com/css?family=Overpass:100,300,300i,600,900" rel="stylesheet">
70
-
71
63
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,700,900" rel="stylesheet">
72
- <!--Font awesome import for the link icon-->
73
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" integrity="sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk" crossorigin="anonymous">
74
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous">
75
- <style class="anchorjs"></style>
76
64
  HEAD
77
65
  end
78
66
 
@@ -55,24 +55,12 @@ module IsoDoc
55
55
  @annex_lbl = "Appendix"
56
56
  end
57
57
 
58
- def html_head()
58
+ def googlefonts()
59
59
  <<~HEAD.freeze
60
- <title>{{ doctitle }}</title>
61
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
62
-
63
- <!--TOC script import-->
64
- <script type="text/javascript" src="https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js"></script>
65
-
66
- <!--Google fonts-->
67
60
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
68
61
  <link href="https://fonts.googleapis.com/css?family=Rubik:300,300i,500" rel="stylesheet">
69
62
  <link href="https://fonts.googleapis.com/css?family=Overpass:100,300,300i,600,900" rel="stylesheet">
70
-
71
63
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,700,900" rel="stylesheet">
72
- <!--Font awesome import for the link icon-->
73
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" integrity="sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk" crossorigin="anonymous">
74
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous">
75
- <style class="anchorjs"></style>
76
64
  HEAD
77
65
  end
78
66
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Csand
3
- VERSION = "1.1.3"
3
+ VERSION = "1.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-csand
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
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-03-23 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor