isodoc 2.12.4 → 2.12.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/class_utils.rb +4 -2
- data/lib/isodoc/presentation_function/image.rb +1 -2
- data/lib/isodoc/version.rb +1 -1
- data/lib/isodoc/xref/xref_gen_seq.rb +1 -0
- 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: 48457f7d76baef2d4d349f569e3ee43049253bc9955d50f5c6584d9e8fa2367b
|
4
|
+
data.tar.gz: d87899d14231920e9f2709f2ed5101049e3f0132e2f43f76a67e704c82b91309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9f54cf72607cca29215845a2f36ca6de3a74d91a97f002157cf8c09a5baeaf37b2b71dddf2eb91eef3b1ea1c4677ebfc3f3cbfc4fee7bc97cc5d1537b43f925
|
7
|
+
data.tar.gz: f0923719cd684e18c2879de8d1477c17b05fb5b3c5e2597a8189371db49aa59c531a863f96808dcc546b5bd709f3799b3dedac6dc3cf9b96ce5aeef25dda4c19
|
data/lib/isodoc/class_utils.rb
CHANGED
@@ -66,8 +66,10 @@ module IsoDoc
|
|
66
66
|
end
|
67
67
|
|
68
68
|
def nearest_block_parent(node)
|
69
|
-
until %w(p title td th name formula li dt dd sourcecode pre quote
|
70
|
-
note example target clause annex term appendix
|
69
|
+
until %w(p fmt-title td th fmt-name formula li dt dd sourcecode pre quote
|
70
|
+
formattedref note example target clause annex term appendix
|
71
|
+
bibdata references termnote termexample term terms sourcecode
|
72
|
+
figure admonition)
|
71
73
|
.include?(node.name)
|
72
74
|
node = node.parent
|
73
75
|
end
|
@@ -64,9 +64,8 @@ module IsoDoc
|
|
64
64
|
lbl = @xrefs.anchor(elem["id"], :label, false)
|
65
65
|
lbl and a = autonum(elem["id"], lbl)
|
66
66
|
figname = figure_name(elem)
|
67
|
-
|
67
|
+
(elem.parent.name == "figure") && a and
|
68
68
|
a += subfigure_delim
|
69
|
-
end
|
70
69
|
lbl && figure_label?(elem) and s = "#{figname}#{a}"
|
71
70
|
prefix_name(elem, { caption: figure_delim(elem) }, l10n(s&.strip), "name")
|
72
71
|
end
|
data/lib/isodoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isodoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.12.
|
4
|
+
version: 2.12.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|