sts 0.6.14 → 0.6.15
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/.github/workflows/release.yml +7 -0
- data/lib/sts/iso_sts/bold.rb +3 -0
- data/lib/sts/iso_sts/copyright_statement.rb +6 -0
- data/lib/sts/iso_sts/italic.rb +3 -0
- data/lib/sts/iso_sts/label.rb +5 -1
- data/lib/sts/iso_sts/mixed_citation.rb +3 -0
- data/lib/sts/iso_sts/monospace.rb +6 -0
- data/lib/sts/iso_sts/named_content.rb +30 -0
- data/lib/sts/iso_sts/paragraph.rb +5 -0
- data/lib/sts/iso_sts/preformat.rb +6 -0
- data/lib/sts/iso_sts/sc.rb +6 -0
- data/lib/sts/iso_sts/strike.rb +6 -0
- data/lib/sts/iso_sts/styled_content.rb +3 -0
- data/lib/sts/iso_sts/sub.rb +6 -0
- data/lib/sts/iso_sts/sup.rb +6 -0
- data/lib/sts/iso_sts/td.rb +6 -0
- data/lib/sts/iso_sts/term.rb +5 -1
- data/lib/sts/iso_sts/th.rb +6 -0
- data/lib/sts/iso_sts/title.rb +6 -0
- data/lib/sts/iso_sts/title_compl.rb +6 -0
- data/lib/sts/iso_sts/title_full.rb +6 -0
- data/lib/sts/iso_sts/title_intro.rb +6 -0
- data/lib/sts/iso_sts/title_main.rb +6 -0
- data/lib/sts/iso_sts/underline.rb +6 -0
- data/lib/sts/niso_sts/addr_line.rb +6 -0
- data/lib/sts/niso_sts/aff.rb +6 -0
- data/lib/sts/niso_sts/alt_title.rb +6 -0
- data/lib/sts/niso_sts/article_title.rb +6 -0
- data/lib/sts/niso_sts/attrib.rb +6 -0
- data/lib/sts/niso_sts/award_id.rb +6 -0
- data/lib/sts/niso_sts/chapter_title.rb +6 -0
- data/lib/sts/niso_sts/chem_struct.rb +6 -0
- data/lib/sts/niso_sts/code.rb +3 -0
- data/lib/sts/niso_sts/collab.rb +6 -0
- data/lib/sts/niso_sts/comment.rb +6 -0
- data/lib/sts/niso_sts/compound_kwd_part.rb +6 -0
- data/lib/sts/niso_sts/conf_theme.rb +6 -0
- data/lib/sts/niso_sts/copyright_statement.rb +6 -0
- data/lib/sts/niso_sts/corresp.rb +6 -0
- data/lib/sts/niso_sts/def_head.rb +6 -0
- data/lib/sts/niso_sts/ext_link.rb +6 -0
- data/lib/sts/niso_sts/funding_source.rb +6 -0
- data/lib/sts/niso_sts/funding_statement.rb +6 -0
- data/lib/sts/niso_sts/gov.rb +6 -0
- data/lib/sts/niso_sts/inline_supplementary_material.rb +6 -0
- data/lib/sts/niso_sts/intro.rb +6 -0
- data/lib/sts/niso_sts/kwd.rb +6 -0
- data/lib/sts/niso_sts/label.rb +6 -0
- data/lib/sts/niso_sts/license_p.rb +6 -0
- data/lib/sts/niso_sts/main.rb +6 -0
- data/lib/sts/niso_sts/mixed_citation.rb +6 -0
- data/lib/sts/niso_sts/monospace.rb +6 -0
- data/lib/sts/niso_sts/named_content.rb +18 -0
- data/lib/sts/niso_sts/on_behalf_of.rb +6 -0
- data/lib/sts/niso_sts/overline.rb +6 -0
- data/lib/sts/niso_sts/paragraph.rb +5 -0
- data/lib/sts/niso_sts/preformat.rb +6 -0
- data/lib/sts/niso_sts/product.rb +6 -0
- data/lib/sts/niso_sts/reference_standard.rb +6 -0
- data/lib/sts/niso_sts/related_article.rb +6 -0
- data/lib/sts/niso_sts/related_object.rb +6 -0
- data/lib/sts/niso_sts/roman.rb +6 -0
- data/lib/sts/niso_sts/sans_serif.rb +6 -0
- data/lib/sts/niso_sts/sc.rb +6 -0
- data/lib/sts/niso_sts/see.rb +6 -0
- data/lib/sts/niso_sts/see_also.rb +6 -0
- data/lib/sts/niso_sts/see_also_entry.rb +6 -0
- data/lib/sts/niso_sts/see_entry.rb +6 -0
- data/lib/sts/niso_sts/series.rb +6 -0
- data/lib/sts/niso_sts/series_text.rb +6 -0
- data/lib/sts/niso_sts/series_title.rb +6 -0
- data/lib/sts/niso_sts/sig.rb +6 -0
- data/lib/sts/niso_sts/speaker.rb +6 -0
- data/lib/sts/niso_sts/strike.rb +6 -0
- data/lib/sts/niso_sts/string_conf.rb +6 -0
- data/lib/sts/niso_sts/sub.rb +6 -0
- data/lib/sts/niso_sts/subject.rb +6 -0
- data/lib/sts/niso_sts/subtitle.rb +6 -0
- data/lib/sts/niso_sts/sup.rb +6 -0
- data/lib/sts/niso_sts/supplement.rb +6 -0
- data/lib/sts/niso_sts/target.rb +3 -0
- data/lib/sts/niso_sts/term.rb +3 -0
- data/lib/sts/niso_sts/term_head.rb +6 -0
- data/lib/sts/niso_sts/textual_form.rb +6 -0
- data/lib/sts/niso_sts/title.rb +6 -0
- data/lib/sts/niso_sts/title_full.rb +6 -0
- data/lib/sts/niso_sts/trans_source.rb +6 -0
- data/lib/sts/niso_sts/trans_title.rb +6 -0
- data/lib/sts/niso_sts/underline.rb +6 -0
- data/lib/sts/niso_sts/verse_line.rb +6 -0
- data/lib/sts/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: ecd4e049c4331c74358d89bff22ba27cacaf07e287f8887f71e12c8e61e739e7
|
|
4
|
+
data.tar.gz: 7c32221294bec678bb966876430688a2595029c1585cc1568f480d5d360e7596
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b978e2b0dde60a1cb90735d3143ad113ef636f99042c8ec13c02ea293c0e5df454f16e1410c3fd2cc758d056dc433dc9a14cca0b68f3a5bbad8103be07f91184
|
|
7
|
+
data.tar.gz: 335e1cb03c3d2bca7248aa3cf9bc511e11e9f795c4176cad46cf6e46f799591e77e8334473e4a7ad1667abc241e67de71482a28a3ae54c14e4adab336dc81d5d
|
|
@@ -13,12 +13,19 @@ on:
|
|
|
13
13
|
default: 'skip'
|
|
14
14
|
repository_dispatch:
|
|
15
15
|
types: [ do-release ]
|
|
16
|
+
# The publish leg: when the release PR (head branch release/v*) merges,
|
|
17
|
+
# metanorma/ci tags the merge commit and publishes (metanorma/ci#515).
|
|
18
|
+
# Ordinary PR closes are skipped inside the reusable workflow.
|
|
19
|
+
pull_request:
|
|
20
|
+
types:
|
|
21
|
+
- closed
|
|
16
22
|
|
|
17
23
|
# Least-privilege ceiling for the called rubygems-release.yml: its release job
|
|
18
24
|
# needs contents:write (git tag push) and id-token:write (OIDC Trusted Publishing).
|
|
19
25
|
permissions:
|
|
20
26
|
contents: write
|
|
21
27
|
id-token: write
|
|
28
|
+
pull-requests: write
|
|
22
29
|
|
|
23
30
|
jobs:
|
|
24
31
|
release:
|
data/lib/sts/iso_sts/bold.rb
CHANGED
|
@@ -23,6 +23,8 @@ module Sts
|
|
|
23
23
|
attribute :strike, ::Sts::IsoSts::Strike, collection: true
|
|
24
24
|
attribute :underline, ::Sts::IsoSts::Underline, collection: true
|
|
25
25
|
attribute :fn, ::Sts::IsoSts::Fn, collection: true
|
|
26
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
27
|
+
collection: true
|
|
26
28
|
|
|
27
29
|
xml do
|
|
28
30
|
element "bold"
|
|
@@ -50,6 +52,7 @@ module Sts
|
|
|
50
52
|
map_element "strike", to: :strike
|
|
51
53
|
map_element "underline", to: :underline
|
|
52
54
|
map_element "fn", to: :fn
|
|
55
|
+
map_element "target", to: :target
|
|
53
56
|
end
|
|
54
57
|
end
|
|
55
58
|
end
|
|
@@ -12,6 +12,10 @@ module Sts
|
|
|
12
12
|
attribute :italic, ::Sts::IsoSts::Italic
|
|
13
13
|
attribute :ext_link, ::Sts::IsoSts::ExtLink
|
|
14
14
|
attribute :uri, ::Sts::IsoSts::Uri
|
|
15
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
16
|
+
collection: true
|
|
17
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
18
|
+
collection: true
|
|
15
19
|
|
|
16
20
|
xml do
|
|
17
21
|
element "copyright-statement"
|
|
@@ -26,6 +30,8 @@ module Sts
|
|
|
26
30
|
map_element "italic", to: :italic
|
|
27
31
|
map_element "ext-link", to: :ext_link
|
|
28
32
|
map_element "uri", to: :uri
|
|
33
|
+
map_element "named-content", to: :named_content
|
|
34
|
+
map_element "target", to: :target
|
|
29
35
|
end
|
|
30
36
|
end
|
|
31
37
|
end
|
data/lib/sts/iso_sts/italic.rb
CHANGED
|
@@ -23,6 +23,8 @@ module Sts
|
|
|
23
23
|
attribute :strike, ::Sts::IsoSts::Strike, collection: true
|
|
24
24
|
attribute :underline, ::Sts::IsoSts::Underline, collection: true
|
|
25
25
|
attribute :fn, ::Sts::IsoSts::Fn, collection: true
|
|
26
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
27
|
+
collection: true
|
|
26
28
|
|
|
27
29
|
xml do
|
|
28
30
|
element "italic"
|
|
@@ -50,6 +52,7 @@ module Sts
|
|
|
50
52
|
map_element "strike", to: :strike
|
|
51
53
|
map_element "underline", to: :underline
|
|
52
54
|
map_element "fn", to: :fn
|
|
55
|
+
map_element "target", to: :target
|
|
53
56
|
end
|
|
54
57
|
end
|
|
55
58
|
end
|
data/lib/sts/iso_sts/label.rb
CHANGED
|
@@ -16,7 +16,10 @@ module Sts
|
|
|
16
16
|
attribute :styled_content, ::Sts::IsoSts::StyledContent
|
|
17
17
|
attribute :ext_link, ::Sts::IsoSts::ExtLink
|
|
18
18
|
attribute :uri, ::Sts::IsoSts::Uri
|
|
19
|
-
attribute :named_content, ::Sts::IsoSts::NamedContent
|
|
19
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
20
|
+
collection: true
|
|
21
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
22
|
+
collection: true
|
|
20
23
|
|
|
21
24
|
xml do
|
|
22
25
|
element "label"
|
|
@@ -36,6 +39,7 @@ module Sts
|
|
|
36
39
|
map_element "ext-link", to: :ext_link
|
|
37
40
|
map_element "uri", to: :uri
|
|
38
41
|
map_element "named-content", to: :named_content
|
|
42
|
+
map_element "target", to: :target
|
|
39
43
|
end
|
|
40
44
|
end
|
|
41
45
|
end
|
|
@@ -40,6 +40,8 @@ module Sts
|
|
|
40
40
|
attribute :page_range, ::Sts::IsoSts::PageRange, collection: true
|
|
41
41
|
attribute :publisher, ::Sts::IsoSts::Publisher
|
|
42
42
|
attribute :pub_id, ::Sts::IsoSts::PubId, collection: true
|
|
43
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
44
|
+
collection: true
|
|
43
45
|
|
|
44
46
|
xml do # rubocop:disable Metrics/BlockLength
|
|
45
47
|
element "mixed-citation"
|
|
@@ -84,6 +86,7 @@ module Sts
|
|
|
84
86
|
map_element "page-range", to: :page_range
|
|
85
87
|
map_element "publisher", to: :publisher
|
|
86
88
|
map_element "pub-id", to: :pub_id
|
|
89
|
+
map_element "target", to: :target
|
|
87
90
|
end
|
|
88
91
|
end
|
|
89
92
|
end
|
|
@@ -10,6 +10,10 @@ module Sts
|
|
|
10
10
|
attribute :italic, ::Sts::IsoSts::Italic, collection: true
|
|
11
11
|
attribute :sub, ::Sts::IsoSts::Sub, collection: true
|
|
12
12
|
attribute :sup, ::Sts::IsoSts::Sup, collection: true
|
|
13
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
14
|
+
collection: true
|
|
15
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
16
|
+
collection: true
|
|
13
17
|
|
|
14
18
|
xml do
|
|
15
19
|
element "monospace"
|
|
@@ -22,6 +26,8 @@ module Sts
|
|
|
22
26
|
map_element "italic", to: :italic
|
|
23
27
|
map_element "sub", to: :sub
|
|
24
28
|
map_element "sup", to: :sup
|
|
29
|
+
map_element "named-content", to: :named_content
|
|
30
|
+
map_element "target", to: :target
|
|
25
31
|
end
|
|
26
32
|
end
|
|
27
33
|
end
|
|
@@ -19,6 +19,26 @@ module Sts
|
|
|
19
19
|
attribute :italic, ::Sts::IsoSts::Italic, collection: true
|
|
20
20
|
attribute :sub, ::Sts::IsoSts::Sub, collection: true
|
|
21
21
|
attribute :sup, ::Sts::IsoSts::Sup, collection: true
|
|
22
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
23
|
+
collection: true
|
|
24
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
25
|
+
collection: true
|
|
26
|
+
attribute :xref, ::Sts::TbxIsoTml::Xref,
|
|
27
|
+
collection: true
|
|
28
|
+
attribute :styled_content, ::Sts::IsoSts::StyledContent,
|
|
29
|
+
collection: true
|
|
30
|
+
attribute :std, ::Sts::IsoSts::Std,
|
|
31
|
+
collection: true
|
|
32
|
+
attribute :ext_link, ::Sts::IsoSts::ExtLink,
|
|
33
|
+
collection: true
|
|
34
|
+
attribute :monospace, ::Sts::IsoSts::Monospace,
|
|
35
|
+
collection: true
|
|
36
|
+
attribute :sc, ::Sts::IsoSts::Sc,
|
|
37
|
+
collection: true
|
|
38
|
+
attribute :strike, ::Sts::IsoSts::Strike,
|
|
39
|
+
collection: true
|
|
40
|
+
attribute :underline, ::Sts::IsoSts::Underline,
|
|
41
|
+
collection: true
|
|
22
42
|
|
|
23
43
|
xml do
|
|
24
44
|
element "named-content"
|
|
@@ -40,6 +60,16 @@ module Sts
|
|
|
40
60
|
map_element "italic", to: :italic
|
|
41
61
|
map_element "sub", to: :sub
|
|
42
62
|
map_element "sup", to: :sup
|
|
63
|
+
map_element "target", to: :target
|
|
64
|
+
map_element "named-content", to: :named_content
|
|
65
|
+
map_element "xref", to: :xref
|
|
66
|
+
map_element "styled-content", to: :styled_content
|
|
67
|
+
map_element "std", to: :std
|
|
68
|
+
map_element "ext-link", to: :ext_link
|
|
69
|
+
map_element "monospace", to: :monospace
|
|
70
|
+
map_element "sc", to: :sc
|
|
71
|
+
map_element "strike", to: :strike
|
|
72
|
+
map_element "underline", to: :underline
|
|
43
73
|
end
|
|
44
74
|
end
|
|
45
75
|
end
|
|
@@ -40,6 +40,9 @@ module Sts
|
|
|
40
40
|
attribute :table_wrap, ::Sts::TbxIsoTml::TableWrap, collection: true
|
|
41
41
|
attribute :preformat, ::Sts::IsoSts::Preformat, collection: true
|
|
42
42
|
attribute :term, ::Sts::TbxIsoTml::Term, collection: true
|
|
43
|
+
attribute :target, ::Sts::IsoSts::Target, collection: true
|
|
44
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
45
|
+
collection: true
|
|
43
46
|
|
|
44
47
|
xml do # rubocop:disable Metrics/BlockLength
|
|
45
48
|
element "p"
|
|
@@ -82,6 +85,8 @@ module Sts
|
|
|
82
85
|
map_element "table-wrap", to: :table_wrap
|
|
83
86
|
map_element "preformat", to: :preformat
|
|
84
87
|
map_element "term", to: :term
|
|
88
|
+
map_element "target", to: :target
|
|
89
|
+
map_element "named-content", to: :named_content
|
|
85
90
|
end
|
|
86
91
|
end
|
|
87
92
|
end
|
|
@@ -18,6 +18,10 @@ module Sts
|
|
|
18
18
|
attribute :ext_link, ::Sts::IsoSts::ExtLink, collection: true
|
|
19
19
|
attribute :uri, ::Sts::IsoSts::Uri, collection: true
|
|
20
20
|
attribute :styled_content, ::Sts::IsoSts::StyledContent, collection: true
|
|
21
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
22
|
+
collection: true
|
|
23
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
24
|
+
collection: true
|
|
21
25
|
|
|
22
26
|
xml do
|
|
23
27
|
element "preformat"
|
|
@@ -39,6 +43,8 @@ module Sts
|
|
|
39
43
|
map_element "ext-link", to: :ext_link
|
|
40
44
|
map_element "uri", to: :uri
|
|
41
45
|
map_element "styled-content", to: :styled_content
|
|
46
|
+
map_element "named-content", to: :named_content
|
|
47
|
+
map_element "target", to: :target
|
|
42
48
|
end
|
|
43
49
|
end
|
|
44
50
|
end
|
data/lib/sts/iso_sts/sc.rb
CHANGED
|
@@ -10,6 +10,10 @@ module Sts
|
|
|
10
10
|
attribute :italic, ::Sts::IsoSts::Italic, collection: true
|
|
11
11
|
attribute :sub, ::Sts::IsoSts::Sub, collection: true
|
|
12
12
|
attribute :sup, ::Sts::IsoSts::Sup, collection: true
|
|
13
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
14
|
+
collection: true
|
|
15
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
16
|
+
collection: true
|
|
13
17
|
|
|
14
18
|
xml do
|
|
15
19
|
element "sc"
|
|
@@ -22,6 +26,8 @@ module Sts
|
|
|
22
26
|
map_element "italic", to: :italic
|
|
23
27
|
map_element "sub", to: :sub
|
|
24
28
|
map_element "sup", to: :sup
|
|
29
|
+
map_element "named-content", to: :named_content
|
|
30
|
+
map_element "target", to: :target
|
|
25
31
|
end
|
|
26
32
|
end
|
|
27
33
|
end
|
data/lib/sts/iso_sts/strike.rb
CHANGED
|
@@ -10,6 +10,10 @@ module Sts
|
|
|
10
10
|
attribute :italic, ::Sts::IsoSts::Italic, collection: true
|
|
11
11
|
attribute :sub, ::Sts::IsoSts::Sub, collection: true
|
|
12
12
|
attribute :sup, ::Sts::IsoSts::Sup, collection: true
|
|
13
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
14
|
+
collection: true
|
|
15
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
16
|
+
collection: true
|
|
13
17
|
|
|
14
18
|
xml do
|
|
15
19
|
element "strike"
|
|
@@ -22,6 +26,8 @@ module Sts
|
|
|
22
26
|
map_element "italic", to: :italic
|
|
23
27
|
map_element "sub", to: :sub
|
|
24
28
|
map_element "sup", to: :sup
|
|
29
|
+
map_element "named-content", to: :named_content
|
|
30
|
+
map_element "target", to: :target
|
|
25
31
|
end
|
|
26
32
|
end
|
|
27
33
|
end
|
|
@@ -27,6 +27,8 @@ module Sts
|
|
|
27
27
|
attribute :underline, ::Sts::IsoSts::Underline, collection: true
|
|
28
28
|
attribute :break, ::Sts::IsoSts::Break, collection: true
|
|
29
29
|
attribute :styled_content, ::Sts::IsoSts::StyledContent, collection: true
|
|
30
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
31
|
+
collection: true
|
|
30
32
|
|
|
31
33
|
xml do
|
|
32
34
|
element "styled-content"
|
|
@@ -58,6 +60,7 @@ module Sts
|
|
|
58
60
|
map_element "underline", to: :underline
|
|
59
61
|
map_element "break", to: :break
|
|
60
62
|
map_element "styled-content", to: :styled_content
|
|
63
|
+
map_element "target", to: :target
|
|
61
64
|
end
|
|
62
65
|
end
|
|
63
66
|
end
|
data/lib/sts/iso_sts/sub.rb
CHANGED
|
@@ -7,6 +7,10 @@ module Sts
|
|
|
7
7
|
attribute :arrange, :string
|
|
8
8
|
attribute :specific_use, :string
|
|
9
9
|
attribute :content, :string, collection: true
|
|
10
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
11
|
+
collection: true
|
|
12
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
13
|
+
collection: true
|
|
10
14
|
xml do
|
|
11
15
|
element "sub"
|
|
12
16
|
map_attribute "id", to: :id
|
|
@@ -15,6 +19,8 @@ module Sts
|
|
|
15
19
|
mixed_content
|
|
16
20
|
|
|
17
21
|
map_content to: :content
|
|
22
|
+
map_element "named-content", to: :named_content
|
|
23
|
+
map_element "target", to: :target
|
|
18
24
|
end
|
|
19
25
|
end
|
|
20
26
|
end
|
data/lib/sts/iso_sts/sup.rb
CHANGED
|
@@ -7,6 +7,10 @@ module Sts
|
|
|
7
7
|
attribute :arrange, :string
|
|
8
8
|
attribute :specific_use, :string
|
|
9
9
|
attribute :content, :string, collection: true
|
|
10
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
11
|
+
collection: true
|
|
12
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
13
|
+
collection: true
|
|
10
14
|
xml do
|
|
11
15
|
element "sup"
|
|
12
16
|
map_attribute "id", to: :id
|
|
@@ -15,6 +19,8 @@ module Sts
|
|
|
15
19
|
mixed_content
|
|
16
20
|
|
|
17
21
|
map_content to: :content
|
|
22
|
+
map_element "named-content", to: :named_content
|
|
23
|
+
map_element "target", to: :target
|
|
18
24
|
end
|
|
19
25
|
end
|
|
20
26
|
end
|
data/lib/sts/iso_sts/td.rb
CHANGED
|
@@ -42,6 +42,10 @@ module Sts
|
|
|
42
42
|
attribute :monospace, ::Sts::IsoSts::Monospace, collection: true
|
|
43
43
|
attribute :sc, ::Sts::IsoSts::Sc, collection: true
|
|
44
44
|
attribute :strike, ::Sts::IsoSts::Strike, collection: true
|
|
45
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
46
|
+
collection: true
|
|
47
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
48
|
+
collection: true
|
|
45
49
|
|
|
46
50
|
xml do # rubocop:disable Metrics/BlockLength
|
|
47
51
|
element "td"
|
|
@@ -86,6 +90,8 @@ module Sts
|
|
|
86
90
|
map_element "monospace", to: :monospace
|
|
87
91
|
map_element "sc", to: :sc
|
|
88
92
|
map_element "strike", to: :strike
|
|
93
|
+
map_element "named-content", to: :named_content
|
|
94
|
+
map_element "target", to: :target
|
|
89
95
|
end
|
|
90
96
|
end
|
|
91
97
|
end
|
data/lib/sts/iso_sts/term.rb
CHANGED
|
@@ -15,9 +15,12 @@ module Sts
|
|
|
15
15
|
attribute :xref, ::Sts::TbxIsoTml::Xref
|
|
16
16
|
attribute :ext_link, ::Sts::IsoSts::ExtLink
|
|
17
17
|
attribute :uri, ::Sts::IsoSts::Uri
|
|
18
|
-
attribute :named_content, ::Sts::IsoSts::NamedContent
|
|
18
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
19
|
+
collection: true
|
|
19
20
|
attribute :styled_content, ::Sts::IsoSts::StyledContent
|
|
20
21
|
attribute :math, Mml::V2::Math
|
|
22
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
23
|
+
collection: true
|
|
21
24
|
|
|
22
25
|
xml do
|
|
23
26
|
element "term"
|
|
@@ -40,6 +43,7 @@ module Sts
|
|
|
40
43
|
map_element "named-content", to: :named_content
|
|
41
44
|
map_element "styled-content", to: :styled_content
|
|
42
45
|
map_element "math", to: :math
|
|
46
|
+
map_element "target", to: :target
|
|
43
47
|
end
|
|
44
48
|
end
|
|
45
49
|
end
|
data/lib/sts/iso_sts/th.rb
CHANGED
|
@@ -42,6 +42,10 @@ module Sts
|
|
|
42
42
|
attribute :monospace, ::Sts::IsoSts::Monospace, collection: true
|
|
43
43
|
attribute :sc, ::Sts::IsoSts::Sc, collection: true
|
|
44
44
|
attribute :strike, ::Sts::IsoSts::Strike, collection: true
|
|
45
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
46
|
+
collection: true
|
|
47
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
48
|
+
collection: true
|
|
45
49
|
|
|
46
50
|
xml do # rubocop:disable Metrics/BlockLength
|
|
47
51
|
element "th"
|
|
@@ -86,6 +90,8 @@ module Sts
|
|
|
86
90
|
map_element "monospace", to: :monospace
|
|
87
91
|
map_element "sc", to: :sc
|
|
88
92
|
map_element "strike", to: :strike
|
|
93
|
+
map_element "named-content", to: :named_content
|
|
94
|
+
map_element "target", to: :target
|
|
89
95
|
end
|
|
90
96
|
end
|
|
91
97
|
end
|
data/lib/sts/iso_sts/title.rb
CHANGED
|
@@ -18,6 +18,10 @@ module Sts
|
|
|
18
18
|
attribute :sc, ::Sts::IsoSts::Sc, collection: true
|
|
19
19
|
attribute :inline_formula, ::Sts::IsoSts::InlineFormula, collection: true
|
|
20
20
|
attribute :std, ::Sts::IsoSts::Std, collection: true
|
|
21
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
22
|
+
collection: true
|
|
23
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
24
|
+
collection: true
|
|
21
25
|
|
|
22
26
|
xml do
|
|
23
27
|
element "title"
|
|
@@ -38,6 +42,8 @@ module Sts
|
|
|
38
42
|
map_element "sc", to: :sc
|
|
39
43
|
map_element "inline-formula", to: :inline_formula
|
|
40
44
|
map_element "std", to: :std
|
|
45
|
+
map_element "named-content", to: :named_content
|
|
46
|
+
map_element "target", to: :target
|
|
41
47
|
end
|
|
42
48
|
end
|
|
43
49
|
end
|
|
@@ -8,6 +8,10 @@ module Sts
|
|
|
8
8
|
attribute :bold, ::Sts::IsoSts::Bold
|
|
9
9
|
attribute :italic, ::Sts::IsoSts::Italic
|
|
10
10
|
attribute :xref, ::Sts::TbxIsoTml::Xref
|
|
11
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
12
|
+
collection: true
|
|
13
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
14
|
+
collection: true
|
|
11
15
|
|
|
12
16
|
xml do
|
|
13
17
|
element "compl"
|
|
@@ -18,6 +22,8 @@ module Sts
|
|
|
18
22
|
map_element "bold", to: :bold
|
|
19
23
|
map_element "italic", to: :italic
|
|
20
24
|
map_element "xref", to: :xref
|
|
25
|
+
map_element "named-content", to: :named_content
|
|
26
|
+
map_element "target", to: :target
|
|
21
27
|
end
|
|
22
28
|
end
|
|
23
29
|
end
|
|
@@ -8,6 +8,10 @@ module Sts
|
|
|
8
8
|
attribute :bold, ::Sts::IsoSts::Bold
|
|
9
9
|
attribute :italic, ::Sts::IsoSts::Italic
|
|
10
10
|
attribute :xref, ::Sts::TbxIsoTml::Xref
|
|
11
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
12
|
+
collection: true
|
|
13
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
14
|
+
collection: true
|
|
11
15
|
|
|
12
16
|
xml do
|
|
13
17
|
element "full"
|
|
@@ -18,6 +22,8 @@ module Sts
|
|
|
18
22
|
map_element "bold", to: :bold
|
|
19
23
|
map_element "italic", to: :italic
|
|
20
24
|
map_element "xref", to: :xref
|
|
25
|
+
map_element "named-content", to: :named_content
|
|
26
|
+
map_element "target", to: :target
|
|
21
27
|
end
|
|
22
28
|
end
|
|
23
29
|
end
|
|
@@ -8,6 +8,10 @@ module Sts
|
|
|
8
8
|
attribute :bold, ::Sts::IsoSts::Bold
|
|
9
9
|
attribute :italic, ::Sts::IsoSts::Italic
|
|
10
10
|
attribute :xref, ::Sts::TbxIsoTml::Xref
|
|
11
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
12
|
+
collection: true
|
|
13
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
14
|
+
collection: true
|
|
11
15
|
|
|
12
16
|
xml do
|
|
13
17
|
element "intro"
|
|
@@ -18,6 +22,8 @@ module Sts
|
|
|
18
22
|
map_element "bold", to: :bold
|
|
19
23
|
map_element "italic", to: :italic
|
|
20
24
|
map_element "xref", to: :xref
|
|
25
|
+
map_element "named-content", to: :named_content
|
|
26
|
+
map_element "target", to: :target
|
|
21
27
|
end
|
|
22
28
|
end
|
|
23
29
|
end
|
|
@@ -8,6 +8,10 @@ module Sts
|
|
|
8
8
|
attribute :bold, ::Sts::IsoSts::Bold
|
|
9
9
|
attribute :italic, ::Sts::IsoSts::Italic
|
|
10
10
|
attribute :xref, ::Sts::TbxIsoTml::Xref
|
|
11
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
12
|
+
collection: true
|
|
13
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
14
|
+
collection: true
|
|
11
15
|
|
|
12
16
|
xml do
|
|
13
17
|
element "main"
|
|
@@ -18,6 +22,8 @@ module Sts
|
|
|
18
22
|
map_element "bold", to: :bold
|
|
19
23
|
map_element "italic", to: :italic
|
|
20
24
|
map_element "xref", to: :xref
|
|
25
|
+
map_element "named-content", to: :named_content
|
|
26
|
+
map_element "target", to: :target
|
|
21
27
|
end
|
|
22
28
|
end
|
|
23
29
|
end
|
|
@@ -11,6 +11,10 @@ module Sts
|
|
|
11
11
|
attribute :italic, ::Sts::IsoSts::Italic, collection: true
|
|
12
12
|
attribute :sub, ::Sts::IsoSts::Sub, collection: true
|
|
13
13
|
attribute :sup, ::Sts::IsoSts::Sup, collection: true
|
|
14
|
+
attribute :named_content, ::Sts::IsoSts::NamedContent,
|
|
15
|
+
collection: true
|
|
16
|
+
attribute :target, ::Sts::IsoSts::Target,
|
|
17
|
+
collection: true
|
|
14
18
|
|
|
15
19
|
xml do
|
|
16
20
|
element "underline"
|
|
@@ -24,6 +28,8 @@ module Sts
|
|
|
24
28
|
map_element "italic", to: :italic
|
|
25
29
|
map_element "sub", to: :sub
|
|
26
30
|
map_element "sup", to: :sup
|
|
31
|
+
map_element "named-content", to: :named_content
|
|
32
|
+
map_element "target", to: :target
|
|
27
33
|
end
|
|
28
34
|
end
|
|
29
35
|
end
|
|
@@ -7,6 +7,10 @@ module Sts
|
|
|
7
7
|
attribute :content, :string, collection: true
|
|
8
8
|
attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
|
|
9
9
|
attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
|
|
10
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
11
|
+
collection: true
|
|
12
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
13
|
+
collection: true
|
|
10
14
|
|
|
11
15
|
xml do
|
|
12
16
|
element "addr-line"
|
|
@@ -16,6 +20,8 @@ module Sts
|
|
|
16
20
|
map_content to: :content
|
|
17
21
|
map_element "bold", to: :bold
|
|
18
22
|
map_element "italic", to: :italic
|
|
23
|
+
map_element "named-content", to: :named_content
|
|
24
|
+
map_element "target", to: :target
|
|
19
25
|
end
|
|
20
26
|
end
|
|
21
27
|
end
|
data/lib/sts/niso_sts/aff.rb
CHANGED
|
@@ -21,6 +21,10 @@ module Sts
|
|
|
21
21
|
attribute :fax, ::Sts::NisoSts::Fax
|
|
22
22
|
attribute :email, ::Sts::NisoSts::Email
|
|
23
23
|
attribute :ext_link, ::Sts::NisoSts::ExtLink
|
|
24
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
25
|
+
collection: true
|
|
26
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
27
|
+
collection: true
|
|
24
28
|
|
|
25
29
|
xml do
|
|
26
30
|
element "aff"
|
|
@@ -45,6 +49,8 @@ module Sts
|
|
|
45
49
|
map_element "fax", to: :fax
|
|
46
50
|
map_element "email", to: :email
|
|
47
51
|
map_element "ext-link", to: :ext_link
|
|
52
|
+
map_element "named-content", to: :named_content
|
|
53
|
+
map_element "target", to: :target
|
|
48
54
|
end
|
|
49
55
|
end
|
|
50
56
|
end
|
|
@@ -5,12 +5,18 @@ module Sts
|
|
|
5
5
|
class AltTitle < Lutaml::Model::Serializable
|
|
6
6
|
attribute :id, :string
|
|
7
7
|
attribute :content, :string, collection: true
|
|
8
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
9
|
+
collection: true
|
|
10
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
11
|
+
collection: true
|
|
8
12
|
xml do
|
|
9
13
|
element "alt-title"
|
|
10
14
|
map_attribute "id", to: :id
|
|
11
15
|
mixed_content
|
|
12
16
|
|
|
13
17
|
map_content to: :content
|
|
18
|
+
map_element "named-content", to: :named_content
|
|
19
|
+
map_element "target", to: :target
|
|
14
20
|
end
|
|
15
21
|
end
|
|
16
22
|
end
|
|
@@ -7,6 +7,10 @@ module Sts
|
|
|
7
7
|
attribute :content, :string, collection: true
|
|
8
8
|
attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
|
|
9
9
|
attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
|
|
10
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
11
|
+
collection: true
|
|
12
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
13
|
+
collection: true
|
|
10
14
|
|
|
11
15
|
xml do
|
|
12
16
|
element "article-title"
|
|
@@ -16,6 +20,8 @@ module Sts
|
|
|
16
20
|
map_content to: :content
|
|
17
21
|
map_element "bold", to: :bold
|
|
18
22
|
map_element "italic", to: :italic
|
|
23
|
+
map_element "named-content", to: :named_content
|
|
24
|
+
map_element "target", to: :target
|
|
19
25
|
end
|
|
20
26
|
end
|
|
21
27
|
end
|
data/lib/sts/niso_sts/attrib.rb
CHANGED
|
@@ -5,12 +5,18 @@ module Sts
|
|
|
5
5
|
class Attrib < Lutaml::Model::Serializable
|
|
6
6
|
attribute :id, :string
|
|
7
7
|
attribute :content, :string, collection: true
|
|
8
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
9
|
+
collection: true
|
|
10
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
11
|
+
collection: true
|
|
8
12
|
xml do
|
|
9
13
|
element "attrib"
|
|
10
14
|
map_attribute "id", to: :id
|
|
11
15
|
mixed_content
|
|
12
16
|
|
|
13
17
|
map_content to: :content
|
|
18
|
+
map_element "named-content", to: :named_content
|
|
19
|
+
map_element "target", to: :target
|
|
14
20
|
end
|
|
15
21
|
end
|
|
16
22
|
end
|
|
@@ -9,6 +9,10 @@ module Sts
|
|
|
9
9
|
attribute :specific_use, :string
|
|
10
10
|
attribute :xml_lang, :string
|
|
11
11
|
attribute :content, :string, collection: true
|
|
12
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
13
|
+
collection: true
|
|
14
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
15
|
+
collection: true
|
|
12
16
|
xml do
|
|
13
17
|
element "award-id"
|
|
14
18
|
mixed_content
|
|
@@ -19,6 +23,8 @@ module Sts
|
|
|
19
23
|
map_attribute "specific-use", to: :specific_use
|
|
20
24
|
map_attribute "xml:lang", to: :xml_lang
|
|
21
25
|
map_content to: :content
|
|
26
|
+
map_element "named-content", to: :named_content
|
|
27
|
+
map_element "target", to: :target
|
|
22
28
|
end
|
|
23
29
|
end
|
|
24
30
|
end
|
|
@@ -7,6 +7,10 @@ module Sts
|
|
|
7
7
|
attribute :content, :string, collection: true
|
|
8
8
|
attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
|
|
9
9
|
attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
|
|
10
|
+
attribute :named_content, ::Sts::NisoSts::NamedContent,
|
|
11
|
+
collection: true
|
|
12
|
+
attribute :target, ::Sts::NisoSts::Target,
|
|
13
|
+
collection: true
|
|
10
14
|
|
|
11
15
|
xml do
|
|
12
16
|
element "chapter-title"
|
|
@@ -16,6 +20,8 @@ module Sts
|
|
|
16
20
|
map_content to: :content
|
|
17
21
|
map_element "bold", to: :bold
|
|
18
22
|
map_element "italic", to: :italic
|
|
23
|
+
map_element "named-content", to: :named_content
|
|
24
|
+
map_element "target", to: :target
|
|
19
25
|
end
|
|
20
26
|
end
|
|
21
27
|
end
|