isodoc 1.8.1 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/isodoc.gemspec +1 -1
- data/lib/isodoc/class_utils.rb +1 -1
- data/lib/isodoc/function/cleanup.rb +1 -11
- data/lib/isodoc/function/inline.rb +3 -3
- data/lib/isodoc/function/terms.rb +0 -3
- data/lib/isodoc/function/utils.rb +10 -5
- data/lib/isodoc/i18n.rb +31 -10
- data/lib/isodoc/presentation_function/block.rb +2 -3
- data/lib/isodoc/presentation_function/image.rb +2 -2
- data/lib/isodoc/presentation_function/terms.rb +95 -30
- data/lib/isodoc/presentation_xml_convert.rb +2 -1
- data/lib/isodoc/version.rb +1 -1
- data/lib/isodoc/xref/xref_gen.rb +10 -7
- data/lib/isodoc/xref/xref_gen_seq.rb +159 -148
- data/lib/isodoc/xref/xref_sect_gen.rb +5 -10
- data/lib/isodoc/xref.rb +2 -0
- data/lib/isodoc/xslfo_convert.rb +23 -1
- data/lib/isodoc-yaml/i18n-ar.yaml +3 -0
- data/lib/isodoc-yaml/i18n-de.yaml +3 -0
- data/lib/isodoc-yaml/i18n-en.yaml +8 -5
- data/lib/isodoc-yaml/i18n-es.yaml +3 -0
- data/lib/isodoc-yaml/i18n-fr.yaml +3 -0
- data/lib/isodoc-yaml/i18n-ru.yaml +3 -0
- data/lib/isodoc-yaml/i18n-zh-Hans.yaml +3 -0
- data/spec/isodoc/cleanup_spec.rb +0 -129
- data/spec/isodoc/i18n_spec.rb +53 -10
- data/spec/isodoc/inline_spec.rb +33 -43
- data/spec/isodoc/lists_spec.rb +64 -64
- data/spec/isodoc/postproc_spec.rb +0 -73
- data/spec/isodoc/section_spec.rb +12 -12
- data/spec/isodoc/terms_spec.rb +317 -303
- data/spec/isodoc/xref_spec.rb +80 -9
- data/spec/isodoc/xslfo_convert_spec.rb +35 -0
- data/spec/spec_helper.rb +1 -1
- metadata +8 -8
data/spec/isodoc/section_spec.rb
CHANGED
@@ -328,7 +328,7 @@ RSpec.describe IsoDoc do
|
|
328
328
|
<title depth='2'>3.1.<tab/>Normal Terms</title>
|
329
329
|
<term id='J'>
|
330
330
|
<name>3.1.1.</name>
|
331
|
-
<preferred>Term2</preferred>
|
331
|
+
<preferred><strong>Term2</strong></preferred>
|
332
332
|
</term>
|
333
333
|
</terms>
|
334
334
|
<definitions id='K'>
|
@@ -473,7 +473,7 @@ RSpec.describe IsoDoc do
|
|
473
473
|
<div id="I">
|
474
474
|
<h2>3.1.  Normal Terms</h2>
|
475
475
|
<p class="TermNum" id="J">3.1.1.</p>
|
476
|
-
<p class="Terms" style="text-align:left;">Term2</p>
|
476
|
+
<p class="Terms" style="text-align:left;"><b>Term2</b></p>
|
477
477
|
</div><div id="K"><h2>3.2.  Definitions</h2>
|
478
478
|
<dl><dt><p>Symbol</p></dt><dd>Definition</dd></dl>
|
479
479
|
</div></div>
|
@@ -628,7 +628,7 @@ RSpec.describe IsoDoc do
|
|
628
628
|
|
629
629
|
<p class="TermNum" id="J">3.1.1.</p>
|
630
630
|
|
631
|
-
<p class="Terms" style="text-align:left;">Term2</p>
|
631
|
+
<p class="Terms" style="text-align:left;"><b>Term2</b></p>
|
632
632
|
|
633
633
|
</div>
|
634
634
|
<div id="K"><h2>3.2.<span style="mso-tab-count:1">  </span>Definitions</h2>
|
@@ -925,7 +925,7 @@ RSpec.describe IsoDoc do
|
|
925
925
|
Variant 1
|
926
926
|
</h2>
|
927
927
|
<p class='TermNum' id='J'>3.1.1.</p>
|
928
|
-
<p class='Terms' style='text-align:left;'>Term2</p>
|
928
|
+
<p class='Terms' style='text-align:left;'><b>Term2</b></p>
|
929
929
|
</div>
|
930
930
|
<div id='K'>
|
931
931
|
<h2>
|
@@ -1187,7 +1187,7 @@ RSpec.describe IsoDoc do
|
|
1187
1187
|
Variant 1
|
1188
1188
|
</h2>
|
1189
1189
|
<p class='TermNum' id='J'>3.1.1.</p>
|
1190
|
-
<p class='Terms' style='text-align:left;'>Term2</p>
|
1190
|
+
<p class='Terms' style='text-align:left;'><b>Term2</b></p>
|
1191
1191
|
</div>
|
1192
1192
|
<div id='K'>
|
1193
1193
|
<h2>
|
@@ -1431,7 +1431,7 @@ RSpec.describe IsoDoc do
|
|
1431
1431
|
<title depth='2'>Normal Terms</title>
|
1432
1432
|
<term id='J'>
|
1433
1433
|
<name>3.1.1.</name>
|
1434
|
-
<preferred>Term2</preferred>
|
1434
|
+
<preferred><strong>Term2</strong></preferred>
|
1435
1435
|
</term>
|
1436
1436
|
</terms>
|
1437
1437
|
<definitions id='K'>
|
@@ -1540,7 +1540,7 @@ RSpec.describe IsoDoc do
|
|
1540
1540
|
<title depth='1'>1.<tab/>Terms, Definitions, Symbols and Abbreviated Terms</title>
|
1541
1541
|
<term id='J'>
|
1542
1542
|
<name>1.1.</name>
|
1543
|
-
<preferred>Term2</preferred>
|
1543
|
+
<preferred><strong>Term2</strong></preferred>
|
1544
1544
|
</term>
|
1545
1545
|
</terms>
|
1546
1546
|
</sections>
|
@@ -1552,7 +1552,7 @@ RSpec.describe IsoDoc do
|
|
1552
1552
|
<p class="zzSTDTitle1"/>
|
1553
1553
|
<div id="H"><h1>1.  Terms, Definitions, Symbols and Abbreviated Terms</h1>
|
1554
1554
|
<p class="TermNum" id="J">1.1.</p>
|
1555
|
-
<p class="Terms" style="text-align:left;">Term2</p>
|
1555
|
+
<p class="Terms" style="text-align:left;"><b>Term2</b></p>
|
1556
1556
|
</div>
|
1557
1557
|
</div>
|
1558
1558
|
</body>
|
@@ -1835,7 +1835,7 @@ RSpec.describe IsoDoc do
|
|
1835
1835
|
<title>A.</title>
|
1836
1836
|
<term id='term-glossary'>
|
1837
1837
|
<name>A.1.</name>
|
1838
|
-
<preferred>Glossary</preferred>
|
1838
|
+
<preferred><strong>Glossary</strong></preferred>
|
1839
1839
|
</term>
|
1840
1840
|
</terms>
|
1841
1841
|
</annex>
|
@@ -1856,7 +1856,7 @@ RSpec.describe IsoDoc do
|
|
1856
1856
|
</title>
|
1857
1857
|
<term id='term-term-1'>
|
1858
1858
|
<name>B.1.1.</name>
|
1859
|
-
<preferred>Term</preferred>
|
1859
|
+
<preferred><strong>Term</strong></preferred>
|
1860
1860
|
</term>
|
1861
1861
|
</terms>
|
1862
1862
|
<terms id='QQ2' obligation='normative'>
|
@@ -1867,7 +1867,7 @@ RSpec.describe IsoDoc do
|
|
1867
1867
|
</title>
|
1868
1868
|
<term id='term-term-2'>
|
1869
1869
|
<name>B.2.1.</name>
|
1870
|
-
<preferred>Term</preferred>
|
1870
|
+
<preferred><strong>Term</strong></preferred>
|
1871
1871
|
</term>
|
1872
1872
|
</terms>
|
1873
1873
|
</annex>
|
@@ -1888,7 +1888,7 @@ RSpec.describe IsoDoc do
|
|
1888
1888
|
</title>
|
1889
1889
|
<term id='term-term-3'>
|
1890
1890
|
<name>C.1.1.</name>
|
1891
|
-
<preferred>Term</preferred>
|
1891
|
+
<preferred><strong>Term</strong></preferred>
|
1892
1892
|
</term>
|
1893
1893
|
</terms>
|
1894
1894
|
<references id='RR2' obligation='normative'>
|