isodoc 1.8.2 → 1.8.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/presentation_function/terms.rb +2 -2
- data/lib/isodoc/version.rb +1 -1
- data/spec/isodoc/inline_spec.rb +1 -1
- data/spec/isodoc/terms_spec.rb +3 -3
- 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: dee14fd22318290ef7a79cd3dff9b69c65bb5f9ea22160255d81c6f34fb6ac82
|
4
|
+
data.tar.gz: 879a52fc92753e7311f102963a3eb2db76115e6ec5add68edf9a4733dbab954e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e345be88c816bbebe4ec66aaf9e7dcc9273c4f539152c77b6500dd14a12db3cd61befc9d2702feef2c6e4d43c158ca23cab8621452ed815b1cfd6aa3197e023
|
7
|
+
data.tar.gz: 3fb800c7c1b9ec54faec69ef936b95bfdf64f9d5de2b02177edf5422bd05d0f379aed55dabe4cd2ee12ac2eb29052d761ec3b4d00984d03052e9e02083d556b1
|
@@ -121,8 +121,8 @@ module IsoDoc
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def designation_annotate(desgn, name)
|
124
|
-
designation_boldface(desgn)
|
125
124
|
designation_field(desgn, name)
|
125
|
+
designation_boldface(desgn)
|
126
126
|
g = desgn.at(ns("./expression/grammar")) and
|
127
127
|
name << ", #{designation_grammar(g).join(', ')}"
|
128
128
|
designation_localization(desgn, name)
|
@@ -141,7 +141,7 @@ module IsoDoc
|
|
141
141
|
&.map { |u| u.children.to_xml }&.join(", ")
|
142
142
|
return nil if f&.empty?
|
143
143
|
|
144
|
-
name << ",
|
144
|
+
name << ", <#{f}>"
|
145
145
|
end
|
146
146
|
|
147
147
|
def designation_grammar(grammar)
|
data/lib/isodoc/version.rb
CHANGED
data/spec/isodoc/inline_spec.rb
CHANGED
@@ -671,7 +671,7 @@ RSpec.describe IsoDoc do
|
|
671
671
|
<title depth='1'>1.<tab/>Terms and definitions</title>
|
672
672
|
<term id='second'>
|
673
673
|
<name>1.1.</name>
|
674
|
-
<preferred><strong>Second Term
|
674
|
+
<preferred><strong>Second Term, <Field, Usage Info 1></strong></preferred>
|
675
675
|
<definition>Definition 1</definition>
|
676
676
|
</term>
|
677
677
|
<term id='C'>
|
data/spec/isodoc/terms_spec.rb
CHANGED
@@ -80,7 +80,7 @@ RSpec.describe IsoDoc do
|
|
80
80
|
<title depth='1'>1.<tab/>Terms and Definitions</title>
|
81
81
|
<p>For the purposes of this document, the following terms and definitions apply.</p>
|
82
82
|
<term id='paddy1'><name>1.1.</name>
|
83
|
-
<preferred><strong>paddy
|
83
|
+
<preferred><strong>paddy, <in agriculture, dated></strong></preferred>
|
84
84
|
<termsource status='modified'>
|
85
85
|
<origin bibitemid='ISO7301' type='inline' citeas='ISO 7301:2011'><locality type='clause'>
|
86
86
|
<referenceFrom>3.1</referenceFrom>
|
@@ -168,7 +168,7 @@ RSpec.describe IsoDoc do
|
|
168
168
|
<h1>1.  Terms and Definitions</h1>
|
169
169
|
<p>For the purposes of this document,
|
170
170
|
the following terms and definitions apply.</p>
|
171
|
-
<p class="TermNum" id="paddy1">1.1.</p><p class="Terms" style="text-align:left;"><b>paddy
|
171
|
+
<p class="TermNum" id="paddy1">1.1.</p><p class="Terms" style="text-align:left;"><b>paddy, <in agriculture, dated></b></p>
|
172
172
|
<p>[TERMREF]
|
173
173
|
<a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>
|
174
174
|
[MODIFICATION]The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here
|
@@ -213,7 +213,7 @@ RSpec.describe IsoDoc do
|
|
213
213
|
<p class="zzSTDTitle1"/>
|
214
214
|
<div id="_terms_and_definitions"><h1>1.<span style="mso-tab-count:1">  </span>Terms and Definitions</h1><p>For the purposes of this document,
|
215
215
|
the following terms and definitions apply.</p>
|
216
|
-
<p class="TermNum" id="paddy1">1.1.</p><p class="Terms" style="text-align:left;"><b>paddy
|
216
|
+
<p class="TermNum" id="paddy1">1.1.</p><p class="Terms" style="text-align:left;"><b>paddy, <in agriculture, dated></b></p>
|
217
217
|
<p>[TERMREF]
|
218
218
|
<a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>
|
219
219
|
[MODIFICATION]The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here
|