metanorma-ieee 1.7.0 → 1.7.1.pre.alpha.2
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/.gitignore +8 -0
- data/Gemfile +28 -3
- data/lib/isodoc/ieee/base_convert.rb +15 -0
- data/lib/isodoc/ieee/i18n-en.yaml +2 -0
- data/lib/isodoc/ieee/ieee.amendment.xsl +574 -315
- data/lib/isodoc/ieee/ieee.standard.xsl +574 -315
- data/lib/isodoc/ieee/init.rb +3 -1
- data/lib/isodoc/ieee/metadata.rb +23 -1
- data/lib/isodoc/ieee/presentation_bibitem.rb +6 -8
- data/lib/isodoc/ieee/word_cleanup_blocks.rb +1 -0
- data/lib/metanorma/ieee/boilerplate.adoc +0 -18
- data/lib/metanorma/ieee/boilerplate_wp.adoc +0 -6
- data/lib/metanorma/ieee/citation_style.rb +40 -0
- data/lib/metanorma/ieee/cleanup_boilerplate.rb +27 -4
- data/lib/metanorma/ieee/document/metadata/ieee_bib_data_extension_type.rb +18 -0
- data/lib/metanorma/ieee/document/metadata/ieee_bibliographic_item.rb +20 -0
- data/lib/metanorma/ieee/document/metadata/ieee_structured_identifier.rb +25 -0
- data/lib/metanorma/ieee/document/metadata.rb +14 -0
- data/lib/metanorma/ieee/document/root.rb +30 -0
- data/lib/metanorma/ieee/document/sections/ieee_sections.rb +31 -0
- data/lib/metanorma/ieee/document/sections.rb +9 -0
- data/lib/metanorma/ieee/document.rb +56 -0
- data/lib/metanorma/ieee/front.rb +106 -5
- data/lib/metanorma/ieee/html/renderer.rb +30 -0
- data/lib/metanorma/ieee/html.rb +14 -0
- data/lib/metanorma/ieee/ieee-style.yml +86 -0
- data/lib/metanorma/ieee/ieee.rng +1 -1
- data/lib/metanorma/ieee/ieee_elements.rb +37 -0
- data/lib/metanorma/ieee/registers.rb +28 -0
- data/lib/metanorma/ieee/{isodoc.rng → standoc.rng} +2 -2
- data/lib/metanorma/ieee/version.rb +1 -1
- data/lib/metanorma/ieee.rb +3 -0
- data/metanorma-ieee.gemspec +2 -2
- metadata +30 -20
- data/lib/isodoc/ieee/html/htmlstyle.css +0 -1579
- data/lib/isodoc/ieee/html/ieee.css +0 -3759
- data/lib/isodoc/ieee/html/ieee_wp.css +0 -3515
- data/lib/isodoc/ieee/html/wordstyle.css +0 -5591
- data/lib/isodoc/ieee/html/wordstyle_wp.css +0 -6057
- data/lib/relaton/render/config.yml +0 -54
- data/lib/relaton/render/general.rb +0 -19
- data/lib/relaton/render/parse.rb +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e30d6f56faebc7392e2ca7d50266967e648063e663dae3bf002f94607bd2578
|
|
4
|
+
data.tar.gz: 5c204ca32f700274f9e0bf644eefef4edbb0343d2fa26dafb4d4f1952e7c44fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20f745193c3494845fd55736ba6e0c41d090dad80d51888fbf97d33539ede637404372761b5f48165db9a0be093e391f267b48222fe6a2819aef75f1357f0500
|
|
7
|
+
data.tar.gz: ea6ff96790320afefb6e7e6e4d0c7cc18588d5cfc3501c8833316fa56b001b600469b6a153733f6c22cc57efcd0304c15d664ff0940415344f743451b77c0834
|
data/.gitignore
ADDED
data/Gemfile
CHANGED
|
@@ -1,9 +1,34 @@
|
|
|
1
|
-
Encoding.default_external = Encoding::UTF_8
|
|
2
|
-
Encoding.default_internal = Encoding::UTF_8
|
|
3
|
-
|
|
4
1
|
source "https://rubygems.org"
|
|
2
|
+
gem "relaton-render", "= 3.0.0.pre.alpha.43" # canonical ieee-sa pack; delta merge, edition precedence, named ieee_* rules
|
|
3
|
+
# the lockfile is not tracked; without an exact pin CI floats the monogem
|
|
4
|
+
# to newer alphas whose rendering differs, flipping fixture baselines
|
|
5
|
+
gem "relaton", "~> 3.0.0.pre.alpha" # prerelease line: alpha.17 carries the singular_tolerance declarations
|
|
6
|
+
# leptris 1.9.359 drops Leptris::XML::Declaration#to_xml (blocks_spec);
|
|
7
|
+
# 1.9.356 is the last rendering-green line until leptris restores it
|
|
8
|
+
|
|
5
9
|
git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
6
10
|
|
|
7
11
|
gemspec
|
|
12
|
+
gem "metanorma-mirror", "~> 1.0"
|
|
13
|
+
|
|
14
|
+
# TEMPORARY: cross-PR branch pins so CI can resolve the in-flight
|
|
15
|
+
# metanorma-standoc namespace rename (Metanorma::Standoc::Document)
|
|
16
|
+
# and the pubid-2 / relaton-bib 2.2 / metanorma-document 0.5 chain.
|
|
17
|
+
# Revert each pin once the corresponding PR merges:
|
|
18
|
+
# - https://github.com/metanorma/metanorma-standoc/pull/1232
|
|
19
|
+
# - https://github.com/metanorma/metanorma-document/pull/45
|
|
20
|
+
gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
|
|
21
|
+
# released plugin-lutaml 0.7.50 dropped the preprocessor names standoc
|
|
22
|
+
# registers (LutamlDataPreprocessor); main carries them (generic#133)
|
|
23
|
+
gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
|
|
24
|
+
gem "metanorma-document", github: "metanorma/metanorma-document", branch: "main" # TEMPORARY audit chain
|
|
25
|
+
gem "isodoc", github: "metanorma/isodoc", branch: "main" # merged as #825
|
|
26
|
+
gem "relaton-bib", "2.2.0.pre.alpha.1"
|
|
27
|
+
gem "pubid", github: "pubid/pubid", branch: "main"
|
|
8
28
|
|
|
9
29
|
eval_gemfile("Gemfile.devel") rescue nil
|
|
30
|
+
gem "metanorma-iso", github: "metanorma/metanorma-iso", branch: "main"
|
|
31
|
+
gem "metanorma-core", github: "metanorma/metanorma-core", branch: "feat/flavor-table" # TEMPORARY audit chain
|
|
32
|
+
# moxml 0.5.138's leptris adapter references Leptris::XML::Declaration,
|
|
33
|
+
# which only exists in leptris 1.9.359 (the to_xml regression pair,
|
|
34
|
+
# leptris#1733); pin the coherent 1.9.356-era moxml line
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
require "isodoc"
|
|
2
2
|
require "fileutils"
|
|
3
3
|
|
|
4
|
+
# isodoc 3.7.x introduced fmt-clause-delim for clause title delimiters but
|
|
5
|
+
# omitted it from SPAN_UNWRAP_CLASSES, so the span leaks into HTML/DOC output.
|
|
6
|
+
# Fold it into the unwrap list.
|
|
7
|
+
module IsoDoc
|
|
8
|
+
module Function
|
|
9
|
+
module Inline
|
|
10
|
+
remove_const(:SPAN_UNWRAP_CLASSES) if const_defined?(:SPAN_UNWRAP_CLASSES, false)
|
|
11
|
+
SPAN_UNWRAP_CLASSES =
|
|
12
|
+
(%w[fmt-caption-label fmt-label-delim fmt-caption-delim fmt-autonum-delim
|
|
13
|
+
fmt-element-name fmt-conn fmt-comma fmt-enum-comma fmt-obligation
|
|
14
|
+
fmt-xref-container fmt-designation-field fmt-clause-delim]).freeze
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
4
19
|
module IsoDoc
|
|
5
20
|
module Ieee
|
|
6
21
|
module BaseConvert
|