isodoc 3.7.43 → 3.7.44
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/lib/isodoc/metadata.rb +1 -0
- data/lib/isodoc/presentation_function/title.rb +6 -1
- data/lib/isodoc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 384902d2d9a123eee433ef9cf58daaf323c7ec41768833e08b7ca1dcc8236e77
|
|
4
|
+
data.tar.gz: e0bce6bc7b6b42f0249b9bd3198d21f2347a03137352aa226d8de9f6cfa18f42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 073cac586e2cac44c4381027d260bf8b61250a520013acc5e3b6ca7ebcadd12568536758eeacfe19906c4461130153b630bb2d0915c951e88febbc746c2960a6
|
|
7
|
+
data.tar.gz: 9c34b0ecebb9cbfe0c36178f3f125b7b2205ba16426d1ef03e82e508a780b19c8d60e4951fedc5d3b525dd01c36443b04763dbdd09d3bd8504973e41fc765a94
|
data/lib/isodoc/metadata.rb
CHANGED
|
@@ -192,6 +192,7 @@ module IsoDoc
|
|
|
192
192
|
|
|
193
193
|
def url(xml, _out)
|
|
194
194
|
(a = xml.at(ns("//bibdata/uri[not(@type)]"))) && set(:url, a.text)
|
|
195
|
+
(a = xml.at(ns("//bibdata/uri[@type = 'doi']"))) && set(:doi, a.text)
|
|
195
196
|
(a = xml.at(ns("//bibdata/uri[@type = 'html']"))) && set(:html, a.text)
|
|
196
197
|
(a = xml.at(ns("//bibdata/uri[@type = 'xml']"))) && set(:xml, a.text)
|
|
197
198
|
(a = xml.at(ns("//bibdata/uri[@type = 'pdf']"))) && set(:pdf, a.text)
|
|
@@ -72,9 +72,14 @@ module IsoDoc
|
|
|
72
72
|
lang
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
+
# Short titles in CJK take the letter-spaced form in the
|
|
76
|
+
# presentation slots: the fmt-titles of clauses and the floating
|
|
77
|
+
# titles. The bibdata title stays as authored — the spacing is a
|
|
78
|
+
# convention of the rendered heading, not a property of the title,
|
|
79
|
+
# and a cover that sets it does so in its own stylesheet.
|
|
75
80
|
def cjk_extended_title(doc)
|
|
76
81
|
l = cjk_search
|
|
77
|
-
doc.xpath(ns("//
|
|
82
|
+
doc.xpath(ns("//floating-title[#{l}] | " \
|
|
78
83
|
"//fmt-title[@depth = '1' or not(@depth)][#{l}]"))
|
|
79
84
|
.each do |t|
|
|
80
85
|
t.text.size < 4 or next
|
data/lib/isodoc/version.rb
CHANGED