metanorma-ribose 2.7.7 → 2.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/ribose/html/htmlstyle.css +18 -14
- data/lib/isodoc/ribose/html/htmlstyle.scss +14 -10
- data/lib/isodoc/ribose/ribose.standard.xsl +40 -18
- data/lib/metanorma/ribose/biblio.rng +18 -8
- data/lib/metanorma/ribose/isodoc.rng +27 -10
- data/lib/metanorma/ribose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7905a07814702213dd4ba17720dd1b43326c98d59f621e70fa5c2606d189ddd
|
|
4
|
+
data.tar.gz: 93580473607817bea2d37253ea5dc1da52cb6b692167d2a8a499d13ae1c2f198
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff6f0b1e75d0a7864b1770305dfad316a105e1c38b0ed29b7c49c171b4f75d9bc91f182a151f69363938001e9f1be32790ca1101561fc5291dac2bc0ef06c2aa
|
|
7
|
+
data.tar.gz: 3bd6f619078bd0df33c2d5b4fd8b8fe2b3fec7c87e46492b029d2b17b29797bdb37355f8e4b8158a798ca6b7ab53e4af89802d6a61648738273b609b119afa61
|
|
@@ -455,6 +455,10 @@ svg {
|
|
|
455
455
|
border-bottom: solid 3px #2E382E;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
+
:root {
|
|
459
|
+
--ribose-primary-color: #1661AD;
|
|
460
|
+
}
|
|
461
|
+
|
|
458
462
|
body {
|
|
459
463
|
margin-left: auto;
|
|
460
464
|
margin-right: auto;
|
|
@@ -506,8 +510,8 @@ main {
|
|
|
506
510
|
padding-left: 110px;
|
|
507
511
|
}
|
|
508
512
|
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
|
509
|
-
background:
|
|
510
|
-
box-shadow: inset -5px 0px 10px -5px
|
|
513
|
+
background: var(--ribose-primary-color);
|
|
514
|
+
box-shadow: inset -5px 0px 10px -5px var(--ribose-primary-color) !important;
|
|
511
515
|
}
|
|
512
516
|
#toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
|
513
517
|
color: #485094;
|
|
@@ -581,7 +585,7 @@ main {
|
|
|
581
585
|
position: fixed;
|
|
582
586
|
height: 100%;
|
|
583
587
|
width: 30px;
|
|
584
|
-
background-color:
|
|
588
|
+
background-color: var(--ribose-primary-color);
|
|
585
589
|
color: white !important;
|
|
586
590
|
cursor: pointer;
|
|
587
591
|
z-index: 100;
|
|
@@ -865,7 +869,7 @@ h5,
|
|
|
865
869
|
h6,
|
|
866
870
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
867
871
|
font-family: {{headerfont}};
|
|
868
|
-
color:
|
|
872
|
+
color: var(--ribose-primary-color);
|
|
869
873
|
font-weight: 300;
|
|
870
874
|
margin-top: 1.6em;
|
|
871
875
|
margin-bottom: 0.3em;
|
|
@@ -898,7 +902,7 @@ h3, .h3 {
|
|
|
898
902
|
}
|
|
899
903
|
|
|
900
904
|
.TermNum, .Terms, .AltTerms {
|
|
901
|
-
color:
|
|
905
|
+
color: var(--ribose-primary-color);
|
|
902
906
|
}
|
|
903
907
|
|
|
904
908
|
h2.TermNum {
|
|
@@ -936,17 +940,17 @@ a, a:visited {
|
|
|
936
940
|
|
|
937
941
|
a:hover {
|
|
938
942
|
color: white;
|
|
939
|
-
background:
|
|
940
|
-
box-shadow: 3px 0 0
|
|
943
|
+
background: var(--ribose-primary-color);
|
|
944
|
+
box-shadow: 3px 0 0 var(--ribose-primary-color), -3px 0 0 var(--ribose-primary-color);
|
|
941
945
|
}
|
|
942
946
|
|
|
943
947
|
*::selection {
|
|
944
|
-
background:
|
|
948
|
+
background: var(--ribose-primary-color);
|
|
945
949
|
color: white;
|
|
946
950
|
}
|
|
947
951
|
|
|
948
952
|
*::-moz-selection {
|
|
949
|
-
background:
|
|
953
|
+
background: var(--ribose-primary-color);
|
|
950
954
|
color: white;
|
|
951
955
|
}
|
|
952
956
|
|
|
@@ -1192,14 +1196,14 @@ a.footnote-number {
|
|
|
1192
1196
|
margin-top: 5em;
|
|
1193
1197
|
width: 250px;
|
|
1194
1198
|
text-align: left;
|
|
1195
|
-
border:
|
|
1196
|
-
color:
|
|
1199
|
+
border: var(--ribose-primary-color) solid 2px;
|
|
1200
|
+
color: var(--ribose-primary-color) !important;
|
|
1197
1201
|
border-radius: 25px;
|
|
1198
1202
|
}
|
|
1199
1203
|
|
|
1200
1204
|
.contact-info a,
|
|
1201
1205
|
.contact-info a:hover {
|
|
1202
|
-
color:
|
|
1206
|
+
color: var(--ribose-primary-color);
|
|
1203
1207
|
}
|
|
1204
1208
|
|
|
1205
1209
|
.contact-info p,
|
|
@@ -1252,7 +1256,7 @@ h2 p, .h2 p {
|
|
|
1252
1256
|
}
|
|
1253
1257
|
|
|
1254
1258
|
.wrapper-top {
|
|
1255
|
-
background: linear-gradient(200deg, #0f365e,
|
|
1259
|
+
background: linear-gradient(200deg, #0f365e, var(--ribose-primary-color));
|
|
1256
1260
|
color: #ffffff;
|
|
1257
1261
|
padding: 2em 0;
|
|
1258
1262
|
width: 100%;
|
|
@@ -1261,7 +1265,7 @@ h2 p, .h2 p {
|
|
|
1261
1265
|
.wrapper-top-bottom {
|
|
1262
1266
|
width: 0;
|
|
1263
1267
|
height: 0;
|
|
1264
|
-
border-top: 100px solid
|
|
1268
|
+
border-top: 100px solid var(--ribose-primary-color);
|
|
1265
1269
|
border-right: 100px solid transparent;
|
|
1266
1270
|
position: absolute;
|
|
1267
1271
|
}
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
@use 'base_style/all' as *;
|
|
11
11
|
|
|
12
|
+
:root {
|
|
13
|
+
--ribose-primary-color: #1661AD;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
body {
|
|
13
17
|
@include bodyStyle1($normalfontsize, 1.4em, #1d1d1d, #ffffff, 300);
|
|
14
18
|
// @include sidebarNavContainer(323px);
|
|
@@ -19,7 +23,7 @@ main {
|
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
|
22
|
-
@include toc(#485094,
|
|
26
|
+
@include toc(#485094, var(--ribose-primary-color), #485094);
|
|
23
27
|
@include sidebarToc();
|
|
24
28
|
|
|
25
29
|
.toc-active a {
|
|
@@ -49,7 +53,7 @@ nav {
|
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
#toggle {
|
|
52
|
-
@include sidebarNavToggle(white,
|
|
56
|
+
@include sidebarNavToggle(white, var(--ribose-primary-color))
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
#myBtn {
|
|
@@ -217,7 +221,7 @@ h5,
|
|
|
217
221
|
h6,
|
|
218
222
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
219
223
|
font-family: $headerfont;
|
|
220
|
-
color:
|
|
224
|
+
color: var(--ribose-primary-color);
|
|
221
225
|
font-weight: 300;
|
|
222
226
|
margin-top: 1.6em;
|
|
223
227
|
margin-bottom: 0.3em;
|
|
@@ -250,7 +254,7 @@ h3, .h3 {
|
|
|
250
254
|
}
|
|
251
255
|
|
|
252
256
|
.TermNum, .Terms, .AltTerms {
|
|
253
|
-
color:
|
|
257
|
+
color: var(--ribose-primary-color);
|
|
254
258
|
}
|
|
255
259
|
|
|
256
260
|
h2.TermNum {
|
|
@@ -281,7 +285,7 @@ p.AltTerms {
|
|
|
281
285
|
/*
|
|
282
286
|
3.2 Links
|
|
283
287
|
*/
|
|
284
|
-
@include elementStyles(#485094,
|
|
288
|
+
@include elementStyles(#485094, var(--ribose-primary-color), white);
|
|
285
289
|
|
|
286
290
|
/*
|
|
287
291
|
3.3 Lists
|
|
@@ -468,15 +472,15 @@ a.footnote-number {
|
|
|
468
472
|
width: 250px;
|
|
469
473
|
|
|
470
474
|
text-align: left;
|
|
471
|
-
border:
|
|
472
|
-
color:
|
|
475
|
+
border: var(--ribose-primary-color) solid 2px;
|
|
476
|
+
color: var(--ribose-primary-color) !important;
|
|
473
477
|
border-radius: 25px;
|
|
474
478
|
|
|
475
479
|
}
|
|
476
480
|
|
|
477
481
|
.contact-info a,
|
|
478
482
|
.contact-info a:hover {
|
|
479
|
-
color:
|
|
483
|
+
color: var(--ribose-primary-color);
|
|
480
484
|
}
|
|
481
485
|
|
|
482
486
|
.contact-info p,
|
|
@@ -533,7 +537,7 @@ h2 p, .h2 p {
|
|
|
533
537
|
}
|
|
534
538
|
|
|
535
539
|
.wrapper-top {
|
|
536
|
-
background: linear-gradient(200deg, #0f365e,
|
|
540
|
+
background: linear-gradient(200deg, #0f365e, var(--ribose-primary-color));
|
|
537
541
|
color: #ffffff;
|
|
538
542
|
padding: 2em 0;
|
|
539
543
|
width: 100%;
|
|
@@ -542,7 +546,7 @@ h2 p, .h2 p {
|
|
|
542
546
|
.wrapper-top-bottom {
|
|
543
547
|
width: 0;
|
|
544
548
|
height: 0;
|
|
545
|
-
border-top: 100px solid
|
|
549
|
+
border-top: 100px solid var(--ribose-primary-color);
|
|
546
550
|
border-right: 100px solid transparent;
|
|
547
551
|
position: absolute;
|
|
548
552
|
}
|
|
@@ -943,15 +943,13 @@
|
|
|
943
943
|
</xsl:template>
|
|
944
944
|
|
|
945
945
|
<xsl:template match="mn:ul/mn:note | mn:ol/mn:note" priority="2">
|
|
946
|
-
<fo:list-item
|
|
947
|
-
<xsl:
|
|
948
|
-
|
|
949
|
-
</xsl:if>
|
|
946
|
+
<fo:list-item xsl:use-attribute-sets="note-style">
|
|
947
|
+
<xsl:call-template name="refine_note-style"/>
|
|
948
|
+
|
|
950
949
|
<fo:list-item-label><fo:block/></fo:list-item-label>
|
|
951
950
|
<fo:list-item-body>
|
|
952
951
|
<fo:block>
|
|
953
|
-
<xsl:
|
|
954
|
-
<xsl:apply-templates select="node()[not(parent::mn:fmt-name)]"/>
|
|
952
|
+
<xsl:call-template name="note"/>
|
|
955
953
|
</fo:block>
|
|
956
954
|
</fo:list-item-body>
|
|
957
955
|
</fo:list-item>
|
|
@@ -1009,7 +1007,8 @@
|
|
|
1009
1007
|
<!-- repeat table header on each page -->
|
|
1010
1008
|
<fo:table-row role="SKIP">
|
|
1011
1009
|
<fo:table-cell text-align="left" role="SKIP">
|
|
1012
|
-
<fo:block xsl:use-attribute-sets="
|
|
1010
|
+
<fo:block xsl:use-attribute-sets="title-style"> <!-- Bibliography section title -->
|
|
1011
|
+
<xsl:call-template name="refine_title-style"/>
|
|
1013
1012
|
<xsl:apply-templates select="mn:fmt-title/node()"/>
|
|
1014
1013
|
</fo:block>
|
|
1015
1014
|
</fo:table-cell>
|
|
@@ -2503,7 +2502,7 @@
|
|
|
2503
2502
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
2504
2503
|
<xsl:variable name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>
|
|
2505
2504
|
|
|
2506
|
-
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
2505
|
+
<xsl:template match="text()[not(ancestor::mn:bibdata or ancestor::mn:fmt-link[not(contains(normalize-space(),' '))] or ancestor::mn:sourcecode or (ancestor::mn:tt and ancestor::mn:table and string-length() > 20) or ancestor::*[local-name() = 'math'] or ancestor::*[local-name() = 'svg'] or ancestor::mn:name or ancestor::mn:fmt-name or starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">
|
|
2507
2506
|
|
|
2508
2507
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
2509
2508
|
|
|
@@ -8633,9 +8632,15 @@
|
|
|
8633
8632
|
</xsl:attribute-set> <!-- note-style -->
|
|
8634
8633
|
|
|
8635
8634
|
<xsl:template name="refine_note-style">
|
|
8636
|
-
<xsl:if test="ancestor::mn:ul or ancestor::mn:ol
|
|
8637
|
-
<xsl:attribute name="
|
|
8638
|
-
<xsl:
|
|
8635
|
+
<xsl:if test="ancestor::mn:ul or ancestor::mn:ol">
|
|
8636
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
|
8637
|
+
<xsl:if test="ancestor::mn:table">
|
|
8638
|
+
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
|
8639
|
+
</xsl:if>
|
|
8640
|
+
<xsl:if test="not(ancestor::mn:note[1]/following-sibling::*)">
|
|
8641
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
|
8642
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
|
8643
|
+
</xsl:if>
|
|
8639
8644
|
</xsl:if>
|
|
8640
8645
|
</xsl:template> <!-- refine_note-style -->
|
|
8641
8646
|
|
|
@@ -8645,7 +8650,7 @@
|
|
|
8645
8650
|
<xsl:attribute-set name="note-name-style">
|
|
8646
8651
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
8647
8652
|
<xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
|
|
8648
|
-
<xsl:attribute name="padding-right">
|
|
8653
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
|
8649
8654
|
</xsl:attribute-set> <!-- note-name-style -->
|
|
8650
8655
|
|
|
8651
8656
|
<xsl:template name="refine_note-name-style">
|
|
@@ -11411,17 +11416,18 @@
|
|
|
11411
11416
|
<!-- END Admonition -->
|
|
11412
11417
|
<!-- ================ -->
|
|
11413
11418
|
|
|
11414
|
-
<xsl:attribute-set name="
|
|
11419
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
11415
11420
|
<xsl:attribute name="margin-left">-15mm</xsl:attribute>
|
|
11416
11421
|
<xsl:attribute name="role">H1</xsl:attribute>
|
|
11417
11422
|
<xsl:attribute name="font-size">22pt</xsl:attribute>
|
|
11418
11423
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
11424
|
+
<xsl:attribute name="space-before">0pt</xsl:attribute>
|
|
11419
11425
|
<xsl:attribute name="margin-bottom">16pt</xsl:attribute>
|
|
11420
11426
|
<xsl:attribute name="color">black</xsl:attribute>
|
|
11421
11427
|
<xsl:attribute name="line-height">125%</xsl:attribute>
|
|
11422
11428
|
</xsl:attribute-set>
|
|
11423
11429
|
|
|
11424
|
-
<xsl:template name="
|
|
11430
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
11425
11431
|
</xsl:template>
|
|
11426
11432
|
|
|
11427
11433
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -11613,9 +11619,9 @@
|
|
|
11613
11619
|
<xsl:if test="normalize-space(translate($biblio_tag_first_part, '[] 1234567890', '')) != ''">
|
|
11614
11620
|
<xsl:attribute name="margin-left">8mm</xsl:attribute>
|
|
11615
11621
|
<xsl:attribute name="text-indent">-8mm</xsl:attribute>
|
|
11616
|
-
<xsl:if test="not(contains($biblio_tag_first_part, '['))">[</xsl:if>
|
|
11622
|
+
<!-- <xsl:if test="not(contains($biblio_tag_first_part, '['))">[</xsl:if> -->
|
|
11617
11623
|
<xsl:value-of select="$biblio_tag_first_part"/>
|
|
11618
|
-
<xsl:if test="not(contains($biblio_tag_first_part, '['))">]</xsl:if>
|
|
11624
|
+
<!-- <xsl:if test="not(contains($biblio_tag_first_part, '['))">]</xsl:if> -->
|
|
11619
11625
|
<xsl:text> </xsl:text>
|
|
11620
11626
|
</xsl:if>
|
|
11621
11627
|
<xsl:apply-templates select="mn:biblio-tag">
|
|
@@ -13281,7 +13287,7 @@
|
|
|
13281
13287
|
<xsl:template match="mn:termnote/mn:fmt-name/mn:tab" priority="2"/>
|
|
13282
13288
|
|
|
13283
13289
|
<xsl:template match="mn:note/mn:fmt-name/mn:tab" mode="tab">
|
|
13284
|
-
<xsl:attribute name="padding-right">
|
|
13290
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
|
13285
13291
|
</xsl:template>
|
|
13286
13292
|
|
|
13287
13293
|
<xsl:template name="insertNonBreakSpaces">
|
|
@@ -13551,6 +13557,7 @@
|
|
|
13551
13557
|
<!-- ===================================== -->
|
|
13552
13558
|
|
|
13553
13559
|
<xsl:attribute-set name="annex-title-style">
|
|
13560
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
13554
13561
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
13555
13562
|
|
|
13556
13563
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -13617,14 +13624,29 @@
|
|
|
13617
13624
|
<xsl:attribute name="space-before">8pt</xsl:attribute>
|
|
13618
13625
|
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
|
13619
13626
|
</xsl:if>
|
|
13627
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
13628
|
+
<xsl:variable name="annex_title_styles">
|
|
13629
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
13630
|
+
</xsl:variable>
|
|
13631
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
13632
|
+
</xsl:if>
|
|
13633
|
+
<xsl:if test="self::mn:references[not(@normative='true')]">
|
|
13634
|
+
<xsl:variable name="bibliography_title_styles">
|
|
13635
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
13636
|
+
</xsl:variable>
|
|
13637
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
13638
|
+
</xsl:if>
|
|
13620
13639
|
<!-- $namespace = 'rsd' -->
|
|
13621
13640
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
13622
13641
|
</xsl:template> <!-- refine_title-style -->
|
|
13623
13642
|
|
|
13624
13643
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
13644
|
+
<xsl:param name="num"/>
|
|
13625
13645
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
13626
13646
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
13627
|
-
<xsl:apply-templates select="."
|
|
13647
|
+
<xsl:apply-templates select=".">
|
|
13648
|
+
<xsl:with-param name="num" select="$num"/>
|
|
13649
|
+
</xsl:apply-templates>
|
|
13628
13650
|
</xsl:for-each>
|
|
13629
13651
|
</xsl:template>
|
|
13630
13652
|
|
|
@@ -466,11 +466,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
|
|
|
466
466
|
<a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
|
|
467
467
|
</ref>
|
|
468
468
|
</optional>
|
|
469
|
-
<
|
|
469
|
+
<zeroOrMore>
|
|
470
470
|
<ref name="logo">
|
|
471
471
|
<a:documentation>A logo for the organization</a:documentation>
|
|
472
472
|
</ref>
|
|
473
|
-
</
|
|
473
|
+
</zeroOrMore>
|
|
474
474
|
</define>
|
|
475
475
|
<define name="orgname">
|
|
476
476
|
<element name="name">
|
|
@@ -502,6 +502,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
|
|
|
502
502
|
</define>
|
|
503
503
|
<define name="logo">
|
|
504
504
|
<element name="logo">
|
|
505
|
+
<optional>
|
|
506
|
+
<attribute name="type">
|
|
507
|
+
<a:documentation>The type of logo</a:documentation>
|
|
508
|
+
</attribute>
|
|
509
|
+
</optional>
|
|
505
510
|
<ref name="image-no-id"/>
|
|
506
511
|
</element>
|
|
507
512
|
</define>
|
|
@@ -513,6 +518,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
|
|
|
513
518
|
<a:documentation>Description of what is being depicted</a:documentation>
|
|
514
519
|
</attribute>
|
|
515
520
|
</optional>
|
|
521
|
+
<optional>
|
|
522
|
+
<attribute name="type">
|
|
523
|
+
<a:documentation>Description of what kind of depiction this</a:documentation>
|
|
524
|
+
</attribute>
|
|
525
|
+
</optional>
|
|
516
526
|
<zeroOrMore>
|
|
517
527
|
<ref name="image-no-id">
|
|
518
528
|
<a:documentation>A visual depiction of the bibliographic item</a:documentation>
|
|
@@ -690,7 +700,7 @@ Examples include GRID, LEI, CrossRef, and Ringgold</a:documentation>
|
|
|
690
700
|
<define name="CitationType">
|
|
691
701
|
<attribute name="bibitemid">
|
|
692
702
|
<a:documentation>Bibliographic item that the citation applies to, referenced as the anchor of a bibliographic description</a:documentation>
|
|
693
|
-
<
|
|
703
|
+
<ref name="IdRefType"/>
|
|
694
704
|
</attribute>
|
|
695
705
|
<choice>
|
|
696
706
|
<zeroOrMore>
|
|
@@ -1236,9 +1246,9 @@ Refer to `BibliographicItem` for definitions</a:documentation>
|
|
|
1236
1246
|
<optional>
|
|
1237
1247
|
<ref name="validity"/>
|
|
1238
1248
|
</optional>
|
|
1239
|
-
<
|
|
1249
|
+
<zeroOrMore>
|
|
1240
1250
|
<ref name="depiction"/>
|
|
1241
|
-
</
|
|
1251
|
+
</zeroOrMore>
|
|
1242
1252
|
</define>
|
|
1243
1253
|
<define name="btitle">
|
|
1244
1254
|
<a:documentation>A title of a bibliographic item, associated with a type of title</a:documentation>
|
|
@@ -1296,17 +1306,17 @@ for which this claim of validity is made, if applicable</a:documentation>
|
|
|
1296
1306
|
</define>
|
|
1297
1307
|
<define name="validityBegins">
|
|
1298
1308
|
<element name="validityBegins">
|
|
1299
|
-
<ref name="
|
|
1309
|
+
<ref name="ISO8601DateTime"/>
|
|
1300
1310
|
</element>
|
|
1301
1311
|
</define>
|
|
1302
1312
|
<define name="validityEnds">
|
|
1303
1313
|
<element name="validityEnds">
|
|
1304
|
-
<ref name="
|
|
1314
|
+
<ref name="ISO8601DateTime"/>
|
|
1305
1315
|
</element>
|
|
1306
1316
|
</define>
|
|
1307
1317
|
<define name="validityRevision">
|
|
1308
1318
|
<element name="revision">
|
|
1309
|
-
<ref name="
|
|
1319
|
+
<ref name="ISO8601DateTime"/>
|
|
1310
1320
|
</element>
|
|
1311
1321
|
</define>
|
|
1312
1322
|
<define name="TypedTitleString">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
|
-
<!-- VERSION v2.1.
|
|
3
|
+
<!-- VERSION v2.1.5 -->
|
|
4
4
|
|
|
5
5
|
<!--
|
|
6
6
|
ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
|
|
@@ -905,15 +905,32 @@ titlecase, or lowercase</a:documentation>
|
|
|
905
905
|
</element>
|
|
906
906
|
</define>
|
|
907
907
|
<define name="image" combine="choice">
|
|
908
|
-
<
|
|
909
|
-
<
|
|
910
|
-
|
|
911
|
-
<
|
|
912
|
-
|
|
913
|
-
<
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
908
|
+
<choice>
|
|
909
|
+
<element name="image">
|
|
910
|
+
<ref name="RequiredId"/>
|
|
911
|
+
<ref name="ImageAttributes"/>
|
|
912
|
+
<optional>
|
|
913
|
+
<element name="svg">
|
|
914
|
+
<a:documentation>Allow svg in image/svg, for consistency</a:documentation>
|
|
915
|
+
<oneOrMore>
|
|
916
|
+
<choice>
|
|
917
|
+
<text/>
|
|
918
|
+
<ref name="AnyElement"/>
|
|
919
|
+
</choice>
|
|
920
|
+
</oneOrMore>
|
|
921
|
+
</element>
|
|
922
|
+
</optional>
|
|
923
|
+
</element>
|
|
924
|
+
<element name="svg">
|
|
925
|
+
<a:documentation>Add svg mark up to image</a:documentation>
|
|
926
|
+
<oneOrMore>
|
|
927
|
+
<choice>
|
|
928
|
+
<text/>
|
|
929
|
+
<ref name="AnyElement"/>
|
|
930
|
+
</choice>
|
|
931
|
+
</oneOrMore>
|
|
932
|
+
</element>
|
|
933
|
+
</choice>
|
|
917
934
|
</define>
|
|
918
935
|
<define name="ParagraphFnBody" combine="interleave">
|
|
919
936
|
<ref name="BlockSource">
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-ribose
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-generic
|