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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +8 -0
  3. data/Gemfile +28 -3
  4. data/lib/isodoc/ieee/base_convert.rb +15 -0
  5. data/lib/isodoc/ieee/i18n-en.yaml +2 -0
  6. data/lib/isodoc/ieee/ieee.amendment.xsl +574 -315
  7. data/lib/isodoc/ieee/ieee.standard.xsl +574 -315
  8. data/lib/isodoc/ieee/init.rb +3 -1
  9. data/lib/isodoc/ieee/metadata.rb +23 -1
  10. data/lib/isodoc/ieee/presentation_bibitem.rb +6 -8
  11. data/lib/isodoc/ieee/word_cleanup_blocks.rb +1 -0
  12. data/lib/metanorma/ieee/boilerplate.adoc +0 -18
  13. data/lib/metanorma/ieee/boilerplate_wp.adoc +0 -6
  14. data/lib/metanorma/ieee/citation_style.rb +40 -0
  15. data/lib/metanorma/ieee/cleanup_boilerplate.rb +27 -4
  16. data/lib/metanorma/ieee/document/metadata/ieee_bib_data_extension_type.rb +18 -0
  17. data/lib/metanorma/ieee/document/metadata/ieee_bibliographic_item.rb +20 -0
  18. data/lib/metanorma/ieee/document/metadata/ieee_structured_identifier.rb +25 -0
  19. data/lib/metanorma/ieee/document/metadata.rb +14 -0
  20. data/lib/metanorma/ieee/document/root.rb +30 -0
  21. data/lib/metanorma/ieee/document/sections/ieee_sections.rb +31 -0
  22. data/lib/metanorma/ieee/document/sections.rb +9 -0
  23. data/lib/metanorma/ieee/document.rb +56 -0
  24. data/lib/metanorma/ieee/front.rb +106 -5
  25. data/lib/metanorma/ieee/html/renderer.rb +30 -0
  26. data/lib/metanorma/ieee/html.rb +14 -0
  27. data/lib/metanorma/ieee/ieee-style.yml +86 -0
  28. data/lib/metanorma/ieee/ieee.rng +1 -1
  29. data/lib/metanorma/ieee/ieee_elements.rb +37 -0
  30. data/lib/metanorma/ieee/registers.rb +28 -0
  31. data/lib/metanorma/ieee/{isodoc.rng → standoc.rng} +2 -2
  32. data/lib/metanorma/ieee/version.rb +1 -1
  33. data/lib/metanorma/ieee.rb +3 -0
  34. data/metanorma-ieee.gemspec +2 -2
  35. metadata +30 -20
  36. data/lib/isodoc/ieee/html/htmlstyle.css +0 -1579
  37. data/lib/isodoc/ieee/html/ieee.css +0 -3759
  38. data/lib/isodoc/ieee/html/ieee_wp.css +0 -3515
  39. data/lib/isodoc/ieee/html/wordstyle.css +0 -5591
  40. data/lib/isodoc/ieee/html/wordstyle_wp.css +0 -6057
  41. data/lib/relaton/render/config.yml +0 -54
  42. data/lib/relaton/render/general.rb +0 -19
  43. data/lib/relaton/render/parse.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4412f3b17954158a79151cf0bf81dd02c6f34f4c2f1f52be861d54123cf607f
4
- data.tar.gz: 00daa0b5d2ce9b49d78807c8bba302f35c00fa9a5ed9b6f48c5539bfdf0cbd73
3
+ metadata.gz: 0e30d6f56faebc7392e2ca7d50266967e648063e663dae3bf002f94607bd2578
4
+ data.tar.gz: 5c204ca32f700274f9e0bf644eefef4edbb0343d2fa26dafb4d4f1952e7c44fe
5
5
  SHA512:
6
- metadata.gz: c7b934db6f62bfd67c85a42da763bb549d8c0efe57fe065bd70771722782de13466e54293662ec68f00c710eaa2bca7b6d6ae3861728bc8d9ee2f11b239ccd08
7
- data.tar.gz: bd1b6c92f0ce7df4ce28ca5f64fca72121c3315691dfa08f3357decaa6dbdb051b1d3dbf0caa89e137d906696aff1b711dcec4a1f325a9d1ee153bb2574107aa
6
+ metadata.gz: 20f745193c3494845fd55736ba6e0c41d090dad80d51888fbf97d33539ede637404372761b5f48165db9a0be093e391f267b48222fe6a2819aef75f1357f0500
7
+ data.tar.gz: ea6ff96790320afefb6e7e6e4d0c7cc18588d5cfc3501c8833316fa56b001b600469b6a153733f6c22cc57efcd0304c15d664ff0940415344f743451b77c0834
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ .DS_Store
2
+ .byebug_history
3
+ .rspec_status
4
+ coverage/
5
+
6
+ .rubocop-https--*
7
+
8
+ /Gemfile.lock
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
@@ -11,6 +11,8 @@ termnote: "<span class='fmt-element-name'>NOTE</span> %"
11
11
  example: Example
12
12
  table_of_contents: Contents
13
13
  viewed: accessed
14
+ in: in
15
+ in_document: in
14
16
  adapted_from: "adapted from "
15
17
  references: References
16
18
  no_identifier: null