metanorma-ieee 1.5.1 → 1.5.3
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/README.adoc +1 -1
- data/lib/isodoc/ieee/html/htmlstyle.css +10 -0
- data/lib/isodoc/ieee/html/htmlstyle.scss +11 -0
- data/lib/isodoc/ieee/html_convert.rb +4 -1
- data/lib/isodoc/ieee/ieee.amendment.xsl +263 -111
- data/lib/isodoc/ieee/ieee.standard.xsl +263 -111
- data/lib/isodoc/ieee/metadata.rb +12 -10
- data/lib/isodoc/ieee/presentation_ref.rb +11 -8
- data/lib/isodoc/ieee/presentation_terms.rb +18 -14
- data/lib/isodoc/ieee/presentation_xml_convert.rb +10 -0
- data/lib/isodoc/ieee/word_authority.rb +1 -1
- data/lib/isodoc/ieee/word_convert.rb +3 -3
- data/lib/metanorma/ieee/basicdoc.rng +1 -1
- data/lib/metanorma/ieee/biblio-standoc.rng +0 -49
- data/lib/metanorma/ieee/biblio.rng +11 -1
- data/lib/metanorma/ieee/boilerplate.adoc +1 -1
- data/lib/metanorma/ieee/cleanup_boilerplate.rb +17 -6
- data/lib/metanorma/ieee/cleanup_ref.rb +12 -4
- data/lib/metanorma/ieee/front.rb +36 -11
- data/lib/metanorma/ieee/ieee-footnotes.yaml +18 -18
- data/lib/metanorma/ieee/isodoc.rng +7 -60
- data/lib/metanorma/ieee/relaton-ieee.rng +6 -43
- data/lib/metanorma/ieee/version.rb +1 -1
- data/metanorma-ieee.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68972c5486baf914108170d5e90570275fde3b68634a6f76fa2401516d5ed116
|
4
|
+
data.tar.gz: de708600107ef15b24b1547ccc26492ab6a1b18d2ae911ceee26aae41a02e84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a8260fa922d5323a746be177bb4fc3bb31229bc8313d1a72bd029439788fffc300fe44ac6bfe7050883ad4b5f65aab94232857b8ef9ce6605c9eca07b4e980d
|
7
|
+
data.tar.gz: c2a4c59b10dd5bdb6f2ff0eff2006e7a5b9c4e55bea816b6d6651a01f4612b87347eb96fb0de8ce636a500c5216aabb3fd1e29a773a4d9d2684bd0350d796303
|
data/README.adoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-ieee.svg["Gem Version", link="https://rubygems.org/gems/metanorma-ieee"]
|
4
4
|
image:https://github.com/metanorma/metanorma-ieee/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-ieee/actions?workflow=rake"]
|
5
|
-
image:https://codeclimate.com/github/metanorma/metanorma-ieee/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ieee"]
|
5
|
+
// image:https://codeclimate.com/github/metanorma/metanorma-ieee/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ieee"]
|
6
6
|
image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-ieee.svg["Pull Requests", link="https://github.com/metanorma/metanorma-ieee/pulls"]
|
7
7
|
image:https://img.shields.io/github/commits-since/metanorma/metanorma-ieee/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-ieee/releases"]
|
8
8
|
|
@@ -1410,6 +1410,16 @@ div.zzHelp {
|
|
1410
1410
|
text-align: left;
|
1411
1411
|
}
|
1412
1412
|
|
1413
|
+
/* Boilerplate */
|
1414
|
+
p.officeholder {
|
1415
|
+
margin: 0px;
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
/* Target the first p.officeholder in a series - when it's NOT preceded by another p.officeholder */
|
1419
|
+
p.officeholder:not(p.officeholder + p.officeholder) {
|
1420
|
+
margin-bottom: 0px;
|
1421
|
+
}
|
1422
|
+
|
1413
1423
|
/* Collapse TOC */
|
1414
1424
|
.collapse-group {
|
1415
1425
|
display: flex;
|
@@ -717,6 +717,17 @@ div.zzHelp {
|
|
717
717
|
text-align: left;
|
718
718
|
}
|
719
719
|
|
720
|
+
/* Boilerplate */
|
721
|
+
|
722
|
+
p.officeholder {
|
723
|
+
margin: 0px;
|
724
|
+
}
|
725
|
+
|
726
|
+
/* Target the first p.officeholder in a series - when it's NOT preceded by another p.officeholder */
|
727
|
+
p.officeholder:not(p.officeholder + p.officeholder) {
|
728
|
+
margin-bottom: 0px;
|
729
|
+
}
|
730
|
+
|
720
731
|
/* Collapse TOC */
|
721
732
|
|
722
733
|
.collapse-group {
|
@@ -41,7 +41,10 @@ module IsoDoc
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def para_type_strip(html)
|
44
|
-
html.xpath("//p[@type]").each
|
44
|
+
html.xpath("//p[@type]").each do |p|
|
45
|
+
p["type"] == "officeholder" and p["class"] = "officeholder"
|
46
|
+
p.delete("type")
|
47
|
+
end
|
45
48
|
html
|
46
49
|
end
|
47
50
|
|