metanorma-standoc 2.8.8 → 2.8.10
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 +52 -0
- 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_image.rb +1 -6
- data/lib/metanorma/standoc/cleanup_inline.rb +1 -6
- 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 +2 -2
- metadata +8 -7
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,6 +177,58 @@ table.rouge-line-table pre {
|
|
177
177
|
overflow-x: visible;
|
178
178
|
font-size: 100%; }
|
179
179
|
|
180
|
+
/* header § links */
|
181
|
+
a.header {
|
182
|
+
color: inherit;
|
183
|
+
text-decoration: none; }
|
184
|
+
|
185
|
+
a.header:hover {
|
186
|
+
color: #a53221 !important;
|
187
|
+
background: inherit;
|
188
|
+
box-shadow: none; }
|
189
|
+
|
190
|
+
a.header:visited {
|
191
|
+
color: inherit;
|
192
|
+
text-decoration: none; }
|
193
|
+
|
194
|
+
a.anchor {
|
195
|
+
position: absolute;
|
196
|
+
z-index: 1001;
|
197
|
+
width: 1.5ex;
|
198
|
+
margin-left: -1.5ex;
|
199
|
+
display: block;
|
200
|
+
text-decoration: none !important;
|
201
|
+
visibility: hidden;
|
202
|
+
text-align: center;
|
203
|
+
font-weight: 400; }
|
204
|
+
|
205
|
+
a.anchor::before {
|
206
|
+
content: "\00A7";
|
207
|
+
font-size: .85em;
|
208
|
+
display: block;
|
209
|
+
padding-top: .1em; }
|
210
|
+
|
211
|
+
a.anchor:hover {
|
212
|
+
color: #a53221;
|
213
|
+
background: inherit;
|
214
|
+
box-shadow: none; }
|
215
|
+
|
216
|
+
h1 > a.anchor:hover,
|
217
|
+
h2 > a.anchor:hover,
|
218
|
+
h3 > a.anchor:hover,
|
219
|
+
h4 > a.anchor:hover,
|
220
|
+
h5 > a.anchor:hover,
|
221
|
+
h6 > a.anchor:hover,
|
222
|
+
.inline-header > a.anchor:hover,
|
223
|
+
h1:hover > a.anchor,
|
224
|
+
h2:hover > a.anchor,
|
225
|
+
h3:hover > a.anchor,
|
226
|
+
h4:hover > a.anchor,
|
227
|
+
h5:hover > a.anchor,
|
228
|
+
h6:hover > a.anchor,
|
229
|
+
.inline-header:hover > a.anchor {
|
230
|
+
visibility: visible; }
|
231
|
+
|
180
232
|
#brochure-band {
|
181
233
|
background-color: #0AC442; }
|
182
234
|
|
@@ -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
|
|