metanorma-iso 1.9.0.1 → 1.9.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,14 @@ RSpec.describe IsoDoc do
52
52
  <origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
53
53
  </termsource>
54
54
  </term>
55
+ <term id="A">
56
+ <preferred>term1</preferred>
57
+ <definition>term1 definition</definition>
58
+ <term id="B">
59
+ <preferred>term2</preferred>
60
+ <definition>term2 definition</definition>
61
+ </term>
62
+ </term>
55
63
  </terms>
56
64
  </sections>
57
65
  </iso-standard>
@@ -119,6 +127,16 @@ RSpec.describe IsoDoc do
119
127
  <origin bibitemid='ISO7301' type='inline' citeas='ISO 7301:2011'><locality type='clause'><referenceFrom>3.1</referenceFrom></locality>ISO 7301:2011, 3.1</origin>
120
128
  </termsource>
121
129
  </term>
130
+ <term id='A'>
131
+ <name>1.3</name>
132
+ <preferred>term1</preferred>
133
+ <definition>term1 definition</definition>
134
+ <term id='B'>
135
+ <name>1.3.1</name>
136
+ <preferred>term2</preferred>
137
+ <definition>term2 definition</definition>
138
+ </term>
139
+ </term>
122
140
  </terms>
123
141
  </sections>
124
142
  </iso-standard>
@@ -175,6 +193,12 @@ RSpec.describe IsoDoc do
175
193
  </div>
176
194
  <p>[TERMREF]<a href="#ISO7301">ISO 7301:2011, 3.1</a>
177
195
  [/TERMREF]</p>
196
+ <p class='TermNum' id='A'>1.3</p>
197
+ <p class='Terms' style='text-align:left;'>term1</p>
198
+ term1 definition
199
+ <p class='TermNum' id='B'>1.3.1</p>
200
+ <p class='Terms' style='text-align:left;'>term2</p>
201
+ term2 definition
178
202
  </div>
179
203
  </div>
180
204
  </body>
@@ -212,6 +236,12 @@ RSpec.describe IsoDoc do
212
236
  <div id='_671a1994-4783-40d0-bc81-987d06ffb74f' class="Note"><p class="Note">Note 2 to entry: <ul><li>A</li></ul><p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></p></div>
213
237
  <p class="Source">[TERMREF]<a href="#ISO7301">ISO 7301:2011, 3.1</a>
214
238
  [/TERMREF]</p>
239
+ <p class='TermNum' id='A'>1.3</p>
240
+ <p class='Terms' style='text-align:left;'>term1</p>
241
+ term1 definition
242
+ <p class='TermNum' id='B'>1.3.1</p>
243
+ <p class='Terms' style='text-align:left;'>term2</p>
244
+ term2 definition
215
245
  </div>
216
246
  OUTPUT
217
247
  expect(xmlpp(IsoDoc::Iso::PresentationXMLConvert.new({})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iso
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0.1
4
+ version: 1.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: isodoc