isodoc 2.1.5 → 2.2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/isodoc.gemspec +5 -5
- data/lib/isodoc/class_utils.rb +1 -4
- data/lib/isodoc/convert.rb +56 -42
- data/lib/isodoc/function/inline.rb +12 -7
- data/lib/isodoc/function/references.rb +1 -1
- data/lib/isodoc/function/reqt.rb +17 -88
- data/lib/isodoc/function/section_titles.rb +3 -3
- data/lib/isodoc/function/table.rb +1 -1
- data/lib/isodoc/function/to_word_html.rb +7 -6
- data/lib/isodoc/function/utils.rb +4 -0
- data/lib/isodoc/init.rb +20 -0
- data/lib/isodoc/presentation_function/block.rb +23 -6
- data/lib/isodoc/presentation_function/image.rb +68 -19
- data/lib/isodoc/presentation_function/refs.rb +102 -0
- data/lib/isodoc/presentation_function/section.rb +1 -80
- data/lib/isodoc/presentation_function/terms.rb +9 -13
- data/lib/isodoc/presentation_xml_convert.rb +1 -0
- data/lib/isodoc/version.rb +1 -1
- data/lib/isodoc/word_function/postprocess.rb +1 -1
- data/lib/isodoc/xref/xref_counter.rb +12 -0
- data/lib/isodoc/xref/xref_gen.rb +17 -5
- data/lib/isodoc/xref/xref_gen_seq.rb +106 -81
- data/lib/isodoc/xref.rb +6 -0
- data/lib/isodoc-yaml/i18n-ar.yaml +0 -2
- data/lib/isodoc-yaml/i18n-de.yaml +0 -2
- data/lib/isodoc-yaml/i18n-en.yaml +9 -2
- data/lib/isodoc-yaml/i18n-es.yaml +0 -2
- data/lib/isodoc-yaml/i18n-fr.yaml +0 -2
- data/lib/isodoc-yaml/i18n-ru.yaml +0 -2
- data/lib/isodoc-yaml/i18n-zh-Hans.yaml +0 -2
- data/lib/relaton/render/general.rb +1 -18
- metadata +34 -26
- data/lib/isodoc/base_style/all.css +0 -227
- data/lib/isodoc/base_style/blocks.css +0 -0
- data/lib/isodoc/base_style/coverpage.css +0 -0
- data/lib/isodoc/base_style/defaults.css +0 -0
- data/lib/isodoc/base_style/metanorma_word.css +0 -47
- data/lib/isodoc/base_style/nav.css +0 -0
- data/lib/isodoc/base_style/reset.css +0 -125
- data/lib/isodoc/base_style/typography.css +0 -0
@@ -1,227 +0,0 @@
|
|
1
|
-
html, body, div, span, applet, object, iframe,
|
2
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
-
a, abbr, acronym, address, big, cite, code,
|
4
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
5
|
-
small, strike, strong, sub, sup, tt, var,
|
6
|
-
b, u, i, center,
|
7
|
-
ol, ul, li,
|
8
|
-
fieldset, form, label, legend,
|
9
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
|
-
article, aside, canvas, details, embed,
|
11
|
-
figure, figcaption, footer, header, hgroup,
|
12
|
-
menu, output, ruby, section, summary,
|
13
|
-
time, mark, audio, video {
|
14
|
-
margin: 0;
|
15
|
-
padding: 0; }
|
16
|
-
|
17
|
-
html, body, div, span, applet, object, iframe,
|
18
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
19
|
-
a, abbr, acronym, address, big, cite, code,
|
20
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
21
|
-
small, strike, strong, sub, sup, tt, var,
|
22
|
-
b, u, i, center,
|
23
|
-
dl, dt, dd, ol, ul, li,
|
24
|
-
fieldset, form, label, legend,
|
25
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
26
|
-
article, aside, canvas, details, embed,
|
27
|
-
figure, figcaption, footer, header, hgroup,
|
28
|
-
menu, nav, output, ruby, section, summary,
|
29
|
-
time, mark, audio, video {
|
30
|
-
border: 0;
|
31
|
-
font-size: 100%; }
|
32
|
-
|
33
|
-
html, body, div, span, applet, object, iframe,
|
34
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
35
|
-
a, abbr, acronym, address, big, cite, code,
|
36
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
37
|
-
small, strike, strong, tt, var,
|
38
|
-
b, u, i, center,
|
39
|
-
dl, dd, ol, ul, li,
|
40
|
-
fieldset, form, label, legend,
|
41
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
42
|
-
article, aside, canvas, details, embed,
|
43
|
-
figure, figcaption, footer, header, hgroup,
|
44
|
-
menu, nav, output, ruby, section, summary,
|
45
|
-
time, mark, audio, video {
|
46
|
-
vertical-align: baseline; }
|
47
|
-
|
48
|
-
html, body, div, span, applet, object, iframe,
|
49
|
-
p, blockquote,
|
50
|
-
a, abbr, acronym, address, big, cite,
|
51
|
-
del, dfn, em, img, ins, q, s,
|
52
|
-
small, strike, strong, sub, sup, var,
|
53
|
-
b, u, i, center,
|
54
|
-
dl, dt, dd, ol, ul, li,
|
55
|
-
fieldset, form, label, legend,
|
56
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
57
|
-
article, aside, canvas, details, embed,
|
58
|
-
figure, figcaption, footer, header, hgroup,
|
59
|
-
menu, nav, output, ruby, section, summary,
|
60
|
-
time, mark, audio, video {
|
61
|
-
font-family: {{bodyfont}}; }
|
62
|
-
|
63
|
-
code, pre, tt, kbd, samp {
|
64
|
-
font-family: {{monospacefont}};
|
65
|
-
font-variant-ligatures: none; }
|
66
|
-
|
67
|
-
code *, pre *, tt *, kbd *, samp * {
|
68
|
-
font-family: {{monospacefont}} !important;
|
69
|
-
font-variant-ligatures: none; }
|
70
|
-
|
71
|
-
p code, dt code, li code, label code, legend code, caption code, th code, td code,
|
72
|
-
p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
|
73
|
-
p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
|
74
|
-
p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
|
75
|
-
font-size: {{monospacefontsize}}; }
|
76
|
-
|
77
|
-
article, aside, details, figcaption, figure,
|
78
|
-
footer, header, hgroup, menu, nav, section {
|
79
|
-
display: block; }
|
80
|
-
|
81
|
-
table {
|
82
|
-
border-collapse: collapse;
|
83
|
-
border-spacing: 0; }
|
84
|
-
|
85
|
-
h1, h2, h3, h4, h5, h6 {
|
86
|
-
font-family: {{headerfont}}; }
|
87
|
-
|
88
|
-
.h1, .h2, .h3, .h4, .h5, .h6 {
|
89
|
-
font-family: {{headerfont}}; }
|
90
|
-
|
91
|
-
blockquote, q {
|
92
|
-
quotes: none; }
|
93
|
-
blockquote:before, blockquote:after, q:before, q:after {
|
94
|
-
content: '';
|
95
|
-
content: none; }
|
96
|
-
|
97
|
-
.h2Annex {
|
98
|
-
font-family: {{headerfont}}; }
|
99
|
-
|
100
|
-
dl {
|
101
|
-
display: grid;
|
102
|
-
grid-template-columns: max-content auto; }
|
103
|
-
dl dt p, dl dd p {
|
104
|
-
margin-top: 0; }
|
105
|
-
dl dt {
|
106
|
-
grid-column-start: 1; }
|
107
|
-
dl dd {
|
108
|
-
grid-column-start: 2; }
|
109
|
-
|
110
|
-
b, strong {
|
111
|
-
font-weight: bold; }
|
112
|
-
|
113
|
-
div.document-stage-band, div.document-type-band {
|
114
|
-
background-color: #333333; }
|
115
|
-
|
116
|
-
a.FootnoteRef + a.FootnoteRef:before {
|
117
|
-
content: ", ";
|
118
|
-
vertical-align: super; }
|
119
|
-
|
120
|
-
.addition {
|
121
|
-
color: blue; }
|
122
|
-
|
123
|
-
.deletion {
|
124
|
-
color: red;
|
125
|
-
text-decoration: line-through; }
|
126
|
-
|
127
|
-
#standard-band {
|
128
|
-
background-color: #0AC442; }
|
129
|
-
|
130
|
-
#standard {
|
131
|
-
border-bottom: solid 3px #0AC442; }
|
132
|
-
|
133
|
-
#directive-band {
|
134
|
-
background-color: #540D6E; }
|
135
|
-
|
136
|
-
#directive {
|
137
|
-
border-bottom: solid 3px #540D6E; }
|
138
|
-
|
139
|
-
#guide-band {
|
140
|
-
background-color: #D183C9; }
|
141
|
-
|
142
|
-
#guide {
|
143
|
-
border-bottom: solid 3px #D183C9; }
|
144
|
-
|
145
|
-
#specification-band {
|
146
|
-
background-color: #65AFFF; }
|
147
|
-
|
148
|
-
#specification {
|
149
|
-
border-bottom: solid 3px #65AFFF; }
|
150
|
-
|
151
|
-
#report-band {
|
152
|
-
background-color: #3A405A; }
|
153
|
-
|
154
|
-
#report {
|
155
|
-
border-bottom: solid 3px #3A405A; }
|
156
|
-
|
157
|
-
#amendment-band {
|
158
|
-
background-color: #F26430; }
|
159
|
-
|
160
|
-
#amendment {
|
161
|
-
border-bottom: solid 3px #F26430; }
|
162
|
-
|
163
|
-
#corrigendum-band {
|
164
|
-
background-color: #C84630; }
|
165
|
-
|
166
|
-
#corrigendum {
|
167
|
-
border-bottom: solid 3px #C84630; }
|
168
|
-
|
169
|
-
#administrative-band {
|
170
|
-
background-color: #BFAE48; }
|
171
|
-
|
172
|
-
#administrative {
|
173
|
-
border-bottom: solid 3px #BFAE48; }
|
174
|
-
|
175
|
-
#advisory-band {
|
176
|
-
background-color: #BD9391; }
|
177
|
-
|
178
|
-
#advisory {
|
179
|
-
border-bottom: solid 3px #BD9391; }
|
180
|
-
|
181
|
-
#proposal-band {
|
182
|
-
background-color: #39A0ED; }
|
183
|
-
|
184
|
-
#proposal {
|
185
|
-
border-bottom: solid 3px #39A0ED; }
|
186
|
-
|
187
|
-
#working-draft-band {
|
188
|
-
background-color: #2D7393; }
|
189
|
-
|
190
|
-
#working-draft {
|
191
|
-
border-bottom: solid 3px #2D7393; }
|
192
|
-
|
193
|
-
#committee-draft-band {
|
194
|
-
background-color: #2A6B7C; }
|
195
|
-
|
196
|
-
#committee-draft {
|
197
|
-
border-bottom: solid 3px #2A6B7C; }
|
198
|
-
|
199
|
-
#draft-standard-band {
|
200
|
-
background-color: #1C7F7A; }
|
201
|
-
|
202
|
-
#draft-standard {
|
203
|
-
border-bottom: solid 3px #1C7F7A; }
|
204
|
-
|
205
|
-
#final-draft-band {
|
206
|
-
background-color: #53C170; }
|
207
|
-
|
208
|
-
#final-draft {
|
209
|
-
border-bottom: solid 3px #53C170; }
|
210
|
-
|
211
|
-
#published-band {
|
212
|
-
background-color: #069E2D; }
|
213
|
-
|
214
|
-
#published {
|
215
|
-
border-bottom: solid 3px #069E2D; }
|
216
|
-
|
217
|
-
#withdrawn-band {
|
218
|
-
background-color: #004E64; }
|
219
|
-
|
220
|
-
#withdrawn {
|
221
|
-
border-bottom: solid 3px #004E64; }
|
222
|
-
|
223
|
-
#cancelled-band {
|
224
|
-
background-color: #2E382E; }
|
225
|
-
|
226
|
-
#cancelled {
|
227
|
-
border-bottom: solid 3px #2E382E; }
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,47 +0,0 @@
|
|
1
|
-
div.table_container {
|
2
|
-
margin-bottom: 14pt; }
|
3
|
-
|
4
|
-
ol {
|
5
|
-
margin-bottom: 0cm; }
|
6
|
-
|
7
|
-
ul {
|
8
|
-
margin-bottom: 0cm; }
|
9
|
-
|
10
|
-
table.MsoISOTable tr {
|
11
|
-
page-break-inside: avoid; }
|
12
|
-
|
13
|
-
td {
|
14
|
-
page-break-inside: avoid; }
|
15
|
-
|
16
|
-
tr {
|
17
|
-
page-break-after: avoid; }
|
18
|
-
|
19
|
-
table.MsoISOTableBig tr {
|
20
|
-
page-break-inside: auto; }
|
21
|
-
|
22
|
-
table.MsoISOTableBig td {
|
23
|
-
page-break-inside: auto; }
|
24
|
-
|
25
|
-
span.stem {
|
26
|
-
font-family: "Cambria Math",serif;
|
27
|
-
mso-ascii-font-family: "Cambria Math";
|
28
|
-
font-style: italic; }
|
29
|
-
|
30
|
-
dt {
|
31
|
-
page-break-inside: avoid;
|
32
|
-
page-break-after: avoid; }
|
33
|
-
|
34
|
-
br.section {
|
35
|
-
page-break-before: always;
|
36
|
-
mso-break-type: section-break; }
|
37
|
-
|
38
|
-
br.pagebreak {
|
39
|
-
page-break-before: always;
|
40
|
-
mso-special-character: line-break; }
|
41
|
-
|
42
|
-
span.addition {
|
43
|
-
color: blue; }
|
44
|
-
|
45
|
-
span.deletion {
|
46
|
-
color: red;
|
47
|
-
text-decoration: line-through; }
|
File without changes
|
@@ -1,125 +0,0 @@
|
|
1
|
-
html, body, div, span, applet, object, iframe,
|
2
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
-
a, abbr, acronym, address, big, cite, code,
|
4
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
5
|
-
small, strike, strong, sub, sup, tt, var,
|
6
|
-
b, u, i, center,
|
7
|
-
ol, ul, li,
|
8
|
-
fieldset, form, label, legend,
|
9
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
|
-
article, aside, canvas, details, embed,
|
11
|
-
figure, figcaption, footer, header, hgroup,
|
12
|
-
menu, output, ruby, section, summary,
|
13
|
-
time, mark, audio, video {
|
14
|
-
margin: 0;
|
15
|
-
padding: 0; }
|
16
|
-
|
17
|
-
html, body, div, span, applet, object, iframe,
|
18
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
19
|
-
a, abbr, acronym, address, big, cite, code,
|
20
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
21
|
-
small, strike, strong, sub, sup, tt, var,
|
22
|
-
b, u, i, center,
|
23
|
-
dl, dt, dd, ol, ul, li,
|
24
|
-
fieldset, form, label, legend,
|
25
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
26
|
-
article, aside, canvas, details, embed,
|
27
|
-
figure, figcaption, footer, header, hgroup,
|
28
|
-
menu, nav, output, ruby, section, summary,
|
29
|
-
time, mark, audio, video {
|
30
|
-
border: 0;
|
31
|
-
font-size: 100%; }
|
32
|
-
|
33
|
-
html, body, div, span, applet, object, iframe,
|
34
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
35
|
-
a, abbr, acronym, address, big, cite, code,
|
36
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
37
|
-
small, strike, strong, tt, var,
|
38
|
-
b, u, i, center,
|
39
|
-
dl, dd, ol, ul, li,
|
40
|
-
fieldset, form, label, legend,
|
41
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
42
|
-
article, aside, canvas, details, embed,
|
43
|
-
figure, figcaption, footer, header, hgroup,
|
44
|
-
menu, nav, output, ruby, section, summary,
|
45
|
-
time, mark, audio, video {
|
46
|
-
vertical-align: baseline; }
|
47
|
-
|
48
|
-
html, body, div, span, applet, object, iframe,
|
49
|
-
p, blockquote,
|
50
|
-
a, abbr, acronym, address, big, cite,
|
51
|
-
del, dfn, em, img, ins, q, s,
|
52
|
-
small, strike, strong, sub, sup, var,
|
53
|
-
b, u, i, center,
|
54
|
-
dl, dt, dd, ol, ul, li,
|
55
|
-
fieldset, form, label, legend,
|
56
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
57
|
-
article, aside, canvas, details, embed,
|
58
|
-
figure, figcaption, footer, header, hgroup,
|
59
|
-
menu, nav, output, ruby, section, summary,
|
60
|
-
time, mark, audio, video {
|
61
|
-
font-family: {{bodyfont}}; }
|
62
|
-
|
63
|
-
code, pre, tt, kbd, samp {
|
64
|
-
font-family: {{monospacefont}};
|
65
|
-
font-variant-ligatures: none; }
|
66
|
-
|
67
|
-
code *, pre *, tt *, kbd *, samp * {
|
68
|
-
font-family: {{monospacefont}} !important;
|
69
|
-
font-variant-ligatures: none; }
|
70
|
-
|
71
|
-
p code, dt code, li code, label code, legend code, caption code, th code, td code,
|
72
|
-
p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
|
73
|
-
p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
|
74
|
-
p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
|
75
|
-
font-size: {{monospacefontsize}}; }
|
76
|
-
|
77
|
-
article, aside, details, figcaption, figure,
|
78
|
-
footer, header, hgroup, menu, nav, section {
|
79
|
-
display: block; }
|
80
|
-
|
81
|
-
table {
|
82
|
-
border-collapse: collapse;
|
83
|
-
border-spacing: 0; }
|
84
|
-
|
85
|
-
h1, h2, h3, h4, h5, h6 {
|
86
|
-
font-family: {{headerfont}}; }
|
87
|
-
|
88
|
-
.h1, .h2, .h3, .h4, .h5, .h6 {
|
89
|
-
font-family: {{headerfont}}; }
|
90
|
-
|
91
|
-
blockquote, q {
|
92
|
-
quotes: none; }
|
93
|
-
blockquote:before, blockquote:after, q:before, q:after {
|
94
|
-
content: '';
|
95
|
-
content: none; }
|
96
|
-
|
97
|
-
.h2Annex {
|
98
|
-
font-family: {{headerfont}}; }
|
99
|
-
|
100
|
-
dl {
|
101
|
-
display: grid;
|
102
|
-
grid-template-columns: max-content auto; }
|
103
|
-
dl dt p, dl dd p {
|
104
|
-
margin-top: 0; }
|
105
|
-
dl dt {
|
106
|
-
grid-column-start: 1; }
|
107
|
-
dl dd {
|
108
|
-
grid-column-start: 2; }
|
109
|
-
|
110
|
-
b, strong {
|
111
|
-
font-weight: bold; }
|
112
|
-
|
113
|
-
div.document-stage-band, div.document-type-band {
|
114
|
-
background-color: #333333; }
|
115
|
-
|
116
|
-
a.FootnoteRef + a.FootnoteRef:before {
|
117
|
-
content: ", ";
|
118
|
-
vertical-align: super; }
|
119
|
-
|
120
|
-
.addition {
|
121
|
-
color: blue; }
|
122
|
-
|
123
|
-
.deletion {
|
124
|
-
color: red;
|
125
|
-
text-decoration: line-through; }
|
File without changes
|