metanorma-standoc 2.8.9 → 2.8.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/html/htmlstyle.css +9 -1
- data/lib/metanorma/standoc/base.rb +3 -2
- data/lib/metanorma/standoc/basicdoc.rng +840 -419
- data/lib/metanorma/standoc/biblio.rng +26 -27
- data/lib/metanorma/standoc/cleanup.rb +1 -0
- data/lib/metanorma/standoc/cleanup_bibdata.rb +0 -84
- data/lib/metanorma/standoc/cleanup_bibitem.rb +47 -0
- data/lib/metanorma/standoc/cleanup_dochistory.rb +89 -0
- data/lib/metanorma/standoc/cleanup_maths.rb +1 -2
- data/lib/metanorma/standoc/init.rb +2 -0
- data/lib/metanorma/standoc/inline.rb +2 -1
- data/lib/metanorma/standoc/isodoc.rng +351 -510
- data/lib/metanorma/standoc/ref.rb +27 -26
- data/lib/metanorma/standoc/ref_utility.rb +15 -9
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6a03a5dfead99850405d6b949a0103367ff0c280aa22d55e9c637eb34d1fe2c
|
4
|
+
data.tar.gz: '06098dc9ad34cc0fdbd3df1ccaeedd51ef3b79e89a645e0ccb66979f582f82bf'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a35bd65e87ae978c0e34694b94365d364a528168e8aad39aa2733f6e900a14f219a85a38a275f9c24d00001fd0e19b5931a24578063dd1d45d1016066d744677
|
7
|
+
data.tar.gz: 9e8e5215b27ba6b2e11fe50d0a544084afb32aa7d74fabde539844ff38797bd3217c48b8f980e97cfdd93f446bb4ef44e9cd80e610081996d45941cfc10f2357
|
@@ -177,12 +177,15 @@ table.rouge-line-table pre {
|
|
177
177
|
overflow-x: visible;
|
178
178
|
font-size: 100%; }
|
179
179
|
|
180
|
+
/* header § links */
|
180
181
|
a.header {
|
181
182
|
color: inherit;
|
182
183
|
text-decoration: none; }
|
183
184
|
|
184
185
|
a.header:hover {
|
185
|
-
color: #a53221;
|
186
|
+
color: #a53221 !important;
|
187
|
+
background: inherit;
|
188
|
+
box-shadow: none; }
|
186
189
|
|
187
190
|
a.header:visited {
|
188
191
|
color: inherit;
|
@@ -205,6 +208,11 @@ a.anchor::before {
|
|
205
208
|
display: block;
|
206
209
|
padding-top: .1em; }
|
207
210
|
|
211
|
+
a.anchor:hover {
|
212
|
+
color: #a53221;
|
213
|
+
background: inherit;
|
214
|
+
box-shadow: none; }
|
215
|
+
|
208
216
|
h1 > a.anchor:hover,
|
209
217
|
h2 > a.anchor:hover,
|
210
218
|
h3 > a.anchor:hover,
|
@@ -107,8 +107,9 @@ module Metanorma
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def doctype(node)
|
110
|
-
ret = node.attr("doctype")&.gsub(/\s+/, "-")&.downcase ||
|
111
|
-
|
110
|
+
ret = node.attr("doctype")&.gsub(/\s+/, "-")&.downcase ||
|
111
|
+
@default_doctype
|
112
|
+
ret = @default_doctype if ret == "article"
|
112
113
|
ret
|
113
114
|
end
|
114
115
|
|