metanorma-ieee 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ieee/presentation_ref.rb +7 -1
- data/lib/metanorma/ieee/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: 90d330287ff84b473fc19ddd7e820b60973e520789c53e7100c9a50650310515
|
4
|
+
data.tar.gz: '0181ffc0475563ff448ba6cd557073932941cb4b7b2bfe0359673b582a63bd58'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9db9b5c3460c575231a344b5dd657f2440164c6d03f424073ded04f1382e7a3193ee447d55e7146f56cdcc4c3c5c456bd9f09c854a59be7f7d12b0bbf3778576
|
7
|
+
data.tar.gz: 1870478859699a333f013f25e7abf3286ddd837a9fb3f3b8bedf4b85c1be7cc170b3e44590778f20bcd1c2ee3358555d9ceee2bee5dd1753b557ca001bca3bca
|
@@ -72,12 +72,18 @@ module IsoDoc
|
|
72
72
|
end
|
73
73
|
unless bibliography_bibitem_number_skip(bibitem)
|
74
74
|
idx += 1
|
75
|
-
bibitem
|
75
|
+
docidentifier_insert_pt(bibitem).next =
|
76
76
|
"<docidentifier type='metanorma-ordinal'>[B#{idx}]</docidentifier>"
|
77
77
|
end
|
78
78
|
idx
|
79
79
|
end
|
80
80
|
|
81
|
+
def docidentifier_insert_pt(bibitem)
|
82
|
+
bibitem.at(ns(".//docidentifier"))&.previous ||
|
83
|
+
bibitem.at(ns(".//title")) ||
|
84
|
+
bibitem.at(ns(".//formattedref"))
|
85
|
+
end
|
86
|
+
|
81
87
|
def expand_citeas(text)
|
82
88
|
std_docid_semantic(super)
|
83
89
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ieee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|