metanorma-standoc 2.8.9 → 2.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc9017c5129df1275eedf83ba8816e29b96fc63ebef771adc4061ff2d3b12dc8
|
4
|
+
data.tar.gz: c318ba163f24eb061288262ea1045bb01604ff8dbe0f464985ec225fb37290e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4484712af3ccd71b9910e2f702a62afcd63a3bcd29534679e576259b4f9d577ae18d1a98c03004de1a71cee21766ba33729c6167fd55d6cdc2ddadf45dc7c30b
|
7
|
+
data.tar.gz: 9f5cfeff766498b8b723d0f66292903cb7d9fee7297cfdcab952b9b2aa7e6db0820c6064358f4486aace8f25607a9569d870a068945d51c17e7bde1617eca822
|
@@ -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
|
|