metanorma-ogc 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/base_convert.rb +4 -2
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +317 -135
- data/lib/isodoc/ogc/ogc.best-practice.xsl +317 -135
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +317 -135
- data/lib/isodoc/ogc/ogc.community-practice.xsl +317 -135
- data/lib/isodoc/ogc/ogc.community-standard.xsl +317 -135
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +317 -135
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +317 -135
- data/lib/isodoc/ogc/ogc.other.xsl +317 -135
- data/lib/isodoc/ogc/ogc.policy.xsl +317 -135
- data/lib/isodoc/ogc/ogc.reference-model.xsl +317 -135
- data/lib/isodoc/ogc/ogc.release-notes.xsl +317 -135
- data/lib/isodoc/ogc/ogc.standard.xsl +317 -135
- data/lib/isodoc/ogc/ogc.test-suite.xsl +317 -135
- data/lib/isodoc/ogc/ogc.user-guide.xsl +317 -135
- data/lib/isodoc/ogc/ogc.white-paper.xsl +256 -133
- data/lib/isodoc/ogc/reqt.rb +2 -1
- data/lib/isodoc/ogc/xref.rb +11 -4
- data/lib/metanorma/ogc/isodoc.rng +73 -3
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f96712a836ecd61ea5c7c706335c5f5ee895c819a3b65905a0f88b42ad63991
|
4
|
+
data.tar.gz: a177b6bdfbf926afd1946f9891f8ae11f7763595cf73716d7e8457648e5b1d8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4465fc5ab6f9b7994c01db9c7f61f94e7c699c1120bd073e455a42947eb1c62e52ad9f7676f7a9eddbff1b1c11b6f460b19fd41761729176488ba6a22da3f477
|
7
|
+
data.tar.gz: 9e4661b7d45f62b8bcf704ce5ede43462ce05aa3cfc5a5c3b0516480e95794b8c70ae61517bf3a1f73a8fe895f35c6929b790653670d2d73cceb5b82263035d8
|
@@ -129,7 +129,8 @@ module IsoDoc
|
|
129
129
|
end
|
130
130
|
|
131
131
|
def para_class(node)
|
132
|
-
return node["class"] if node["class"]
|
132
|
+
return node["class"] if node["class"] &&
|
133
|
+
node["class"] != "RecommendationLabel"
|
133
134
|
|
134
135
|
super
|
135
136
|
end
|
@@ -139,7 +140,8 @@ module IsoDoc
|
|
139
140
|
node.at(".//ancestor::xmlns:ol[@class = 'steps']")
|
140
141
|
|
141
142
|
idx = node.xpath("./ancestor-or-self::xmlns:ol[@class = 'steps']").size
|
142
|
-
|
143
|
+
styles = %i(arabic alphabet roman alphabet_upper roman_upper)
|
144
|
+
ol_style(styles[(idx - 1) % 5])
|
143
145
|
end
|
144
146
|
end
|
145
147
|
end
|