metanorma-iso 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/html/style-human.css +6 -0
- data/lib/isodoc/iso/html/style-iso.css +6 -0
- data/lib/isodoc/iso/html/wordstyle-dis.css +150 -0
- data/lib/isodoc/iso/html/wordstyle-dis.scss +144 -0
- data/lib/isodoc/iso/html/wordstyle.css +150 -0
- data/lib/isodoc/iso/html/wordstyle.scss +144 -0
- data/lib/isodoc/iso/iso.amendment.xsl +1452 -1170
- data/lib/isodoc/iso/iso.international-standard.xsl +1452 -1170
- data/lib/isodoc/iso/word_dis_cleanup.rb +6 -5
- data/lib/isodoc/iso/word_dis_convert.rb +1 -1
- data/lib/metanorma/iso/isodoc.rng +1 -1
- data/lib/metanorma/iso/validate.rb +2 -2
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +2 -2
@@ -10,7 +10,7 @@ module IsoDoc
|
|
10
10
|
admonition: "Admonition",
|
11
11
|
admonitiontitle: "AdmonitionTitle",
|
12
12
|
sourcetitle: "SourceTitle",
|
13
|
-
|
13
|
+
TableTitle: "Tabletitle",
|
14
14
|
titlepagesbhead: "TablePageSubhead",
|
15
15
|
NormRef: "RefNorm",
|
16
16
|
Biblio: "BiblioEntry",
|
@@ -240,12 +240,13 @@ module IsoDoc
|
|
240
240
|
end
|
241
241
|
end
|
242
242
|
|
243
|
-
def
|
244
|
-
|
243
|
+
def table_toc_class
|
244
|
+
["Table title", "Tabletitle", "Annex Table Title", "AnnexTableTitle"] +
|
245
|
+
super
|
245
246
|
end
|
246
247
|
|
247
|
-
def
|
248
|
-
|
248
|
+
def figure_toc_class
|
249
|
+
["Figure Title", "Annex Figure Title", "AnnexFigureTitle"] + super
|
249
250
|
end
|
250
251
|
end
|
251
252
|
end
|
@@ -36,10 +36,10 @@ module Metanorma
|
|
36
36
|
/\b(see| refer to)\s*\Z/mi.match(preceding)
|
37
37
|
|
38
38
|
(target = root.at("//*[@id = '#{t['target']}']")) || next
|
39
|
-
|
39
|
+
target.at("./ancestor-or-self::*[@obligation = 'normative']") &&
|
40
|
+
!target.at("./ancestor::sections") and
|
40
41
|
@log.add("Style", t,
|
41
42
|
"'see #{t['target']}' is pointing to a normative section")
|
42
|
-
end
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
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: 2.2.
|
4
|
+
version: 2.2.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: 2022-11-
|
11
|
+
date: 2022-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|