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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7beaadad2ce059090b24bf939644ec265a7361be6b4a2aaa17edcc4ad36c251f
4
- data.tar.gz: ac53a66be91eb817f61ef6c9ca6f575cf710058cc51303b3822c230164bbabd5
3
+ metadata.gz: 384902d2d9a123eee433ef9cf58daaf323c7ec41768833e08b7ca1dcc8236e77
4
+ data.tar.gz: e0bce6bc7b6b42f0249b9bd3198d21f2347a03137352aa226d8de9f6cfa18f42
5
5
  SHA512:
6
- metadata.gz: 130cf7523eed87bc02db3815464b259e76921cab95837609328acf051baf9c7db998adf7787d0a912b7a5b5c6ed71bf5d8d06e6aedc1099cff752df76a441601
7
- data.tar.gz: 0d251358757d277fcc02afbe0c422f0206c34c6e1bd977ae1ca91d69cb5cb5de4cd9c84925fefc1b6e8f542f26eb612c9cd69e62e91a5eb6e96d75062d790791
6
+ metadata.gz: 073cac586e2cac44c4381027d260bf8b61250a520013acc5e3b6ca7ebcadd12568536758eeacfe19906c4461130153b630bb2d0915c951e88febbc746c2960a6
7
+ data.tar.gz: 9c34b0ecebb9cbfe0c36178f3f125b7b2205ba16426d1ef03e82e508a780b19c8d60e4951fedc5d3b525dd01c36443b04763dbdd09d3bd8504973e41fc765a94
@@ -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("//bibdata/title[#{l}] | //floating-title[#{l}] | " \
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
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "3.7.43".freeze
2
+ VERSION = "3.7.44".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.43
4
+ version: 3.7.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.