relaton-bib 1.16.4 → 1.16.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_bib/bibtex_parser.rb +3 -3
- data/lib/relaton_bib/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: 9cd83f1b6817d3aff3fb219312882391f32f69a31e1683e6437e48771985b4a2
|
4
|
+
data.tar.gz: ecbc877b14f379f0138470922b4a40feffcec3be4a7d351d50a134108317d73b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04f486d465f35b8214bc0978a15d47678e26fc2e78d72bb6e3875771af2c480bc21f2cef576a3deee9fb99c72ecec40da6a6826c88cbf81607aba51e84757647
|
7
|
+
data.tar.gz: 17a64cd868fa320959cf44a65e0794273aaf8ba992d36d4bf90bd774b66484d4021dde1285144530892a398d84b955f8aba1774ffdcbc7532d56d60ee6c6c738
|
@@ -71,8 +71,8 @@ module RelatonBib
|
|
71
71
|
# @return [RelatonBib::TypedTitleStringCollection]
|
72
72
|
def fetch_title(bibtex)
|
73
73
|
title = []
|
74
|
-
title << { type: "main", content: bibtex.title.to_s } if bibtex["title"]
|
75
|
-
title << { type: "main", content: bibtex.subtitle.to_s } if bibtex["subtitle"]
|
74
|
+
title << { type: "main", content: bibtex.convert(:latex).title.to_s } if bibtex["title"]
|
75
|
+
title << { type: "main", content: bibtex.convert(:latex).subtitle.to_s } if bibtex["subtitle"]
|
76
76
|
TypedTitleStringCollection.new title
|
77
77
|
end
|
78
78
|
|
@@ -240,7 +240,7 @@ module RelatonBib
|
|
240
240
|
# @param bibtex [BibTeX::Entry]
|
241
241
|
# @return [Array<String>]
|
242
242
|
def fetch_keyword(bibtex)
|
243
|
-
bibtex["keywords"]&.split(
|
243
|
+
bibtex["keywords"]&.split(/,\s?/) || []
|
244
244
|
end
|
245
245
|
end
|
246
246
|
end
|
data/lib/relaton_bib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|