metanorma-mpfd 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec1ff06462b4ba997c1633e1ee3e0d9b97691f1a29e7ea29e8884d04b4cd6be1
|
4
|
+
data.tar.gz: b6ab1fd59e16b5e732d87d59b5b56e452cfe0757cfa48ca2bef1e046af68c0aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8127483942c5bd271e86b4b667451cc41410250553ff84442c2272c34bc1a203577d2ffe4d426a41e172a560bf4008c1c7906619fafc9c1e8e1e4d52fda0d9d9
|
7
|
+
data.tar.gz: 89ebb41872f5baff594b5a166b43d0cc3c45288aeaf65fec7b92c3e57d4b931099b034febeb8b598595d275ab82e056953ce3263a400d7497aff8458736c70be
|
@@ -47,6 +47,8 @@ module Asciidoctor
|
|
47
47
|
elsif @biblio then bibliography_parse(a, xml, node)
|
48
48
|
elsif node.attr("style") == "bibliography" && node.level == 1
|
49
49
|
bibliography_parse(a, xml, node)
|
50
|
+
elsif node.attr("style") == "abstract"
|
51
|
+
abstract_parse(a, xml, node)
|
50
52
|
elsif node.attr("style") == "appendix" && node.level == 1
|
51
53
|
annex_parse(a, xml, node)
|
52
54
|
else
|
@@ -74,7 +76,7 @@ module Asciidoctor
|
|
74
76
|
end
|
75
77
|
|
76
78
|
def make_preface(x, s)
|
77
|
-
if x.at("//foreword | //introduction | //terms | //clause[@preface]")
|
79
|
+
if x.at("//foreword | //introduction | //terms | //abstract | //clause[@preface]")
|
78
80
|
preface = s.add_previous_sibling("<preface/>").first
|
79
81
|
move_sections_into_preface(x, preface)
|
80
82
|
end
|
@@ -1235,3 +1235,10 @@ a.anchorjs-link:hover {
|
|
1235
1235
|
}
|
1236
1236
|
|
1237
1237
|
}
|
1238
|
+
|
1239
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
1240
|
+
.main-section h1 {margin-left:14px;}
|
1241
|
+
.main-section h2, h3, h4, ol, ul, p, .ms-table-wrap {margin-left:75px;}
|
1242
|
+
.main-section li p {margin-left:5px;}
|
1243
|
+
.main-section li {margin-left:25px;}
|
1244
|
+
}
|
@@ -80,3 +80,12 @@ $('#toggle').on('click', function(){
|
|
80
80
|
anchors.add('h1, h2, h3, h4');
|
81
81
|
</script>
|
82
82
|
|
83
|
+
<!--IE fix patch: start -->
|
84
|
+
<script>
|
85
|
+
if (navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > -1) {
|
86
|
+
$(document).ready(function() {
|
87
|
+
$('table', '.main-section').wrap('<div class="ms-table-wrap"></div>');
|
88
|
+
});
|
89
|
+
};
|
90
|
+
</script>
|
91
|
+
<!--IE fix patch: end -->
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-mpfd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|