metanorma-ribose 2.7.8 → 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/ribose.standard.xsl +22 -15
- data/lib/metanorma/ribose/biblio.rng +14 -4
- data/lib/metanorma/ribose/isodoc.rng +1 -1
- 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
|
|
@@ -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>
|
|
@@ -2504,7 +2502,7 @@
|
|
|
2504
2502
|
<xsl:variable name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
|
|
2505
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>
|
|
2506
2504
|
|
|
2507
|
-
<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">
|
|
2508
2506
|
|
|
2509
2507
|
<xsl:variable name="parent" select="local-name(..)"/>
|
|
2510
2508
|
|
|
@@ -8634,9 +8632,15 @@
|
|
|
8634
8632
|
</xsl:attribute-set> <!-- note-style -->
|
|
8635
8633
|
|
|
8636
8634
|
<xsl:template name="refine_note-style">
|
|
8637
|
-
<xsl:if test="ancestor::mn:ul or ancestor::mn:ol
|
|
8638
|
-
<xsl:attribute name="
|
|
8639
|
-
<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>
|
|
8640
8644
|
</xsl:if>
|
|
8641
8645
|
</xsl:template> <!-- refine_note-style -->
|
|
8642
8646
|
|
|
@@ -8646,7 +8650,7 @@
|
|
|
8646
8650
|
<xsl:attribute-set name="note-name-style">
|
|
8647
8651
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
8648
8652
|
<xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
|
|
8649
|
-
<xsl:attribute name="padding-right">
|
|
8653
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
|
8650
8654
|
</xsl:attribute-set> <!-- note-name-style -->
|
|
8651
8655
|
|
|
8652
8656
|
<xsl:template name="refine_note-name-style">
|
|
@@ -11615,9 +11619,9 @@
|
|
|
11615
11619
|
<xsl:if test="normalize-space(translate($biblio_tag_first_part, '[] 1234567890', '')) != ''">
|
|
11616
11620
|
<xsl:attribute name="margin-left">8mm</xsl:attribute>
|
|
11617
11621
|
<xsl:attribute name="text-indent">-8mm</xsl:attribute>
|
|
11618
|
-
<xsl:if test="not(contains($biblio_tag_first_part, '['))">[</xsl:if>
|
|
11622
|
+
<!-- <xsl:if test="not(contains($biblio_tag_first_part, '['))">[</xsl:if> -->
|
|
11619
11623
|
<xsl:value-of select="$biblio_tag_first_part"/>
|
|
11620
|
-
<xsl:if test="not(contains($biblio_tag_first_part, '['))">]</xsl:if>
|
|
11624
|
+
<!-- <xsl:if test="not(contains($biblio_tag_first_part, '['))">]</xsl:if> -->
|
|
11621
11625
|
<xsl:text> </xsl:text>
|
|
11622
11626
|
</xsl:if>
|
|
11623
11627
|
<xsl:apply-templates select="mn:biblio-tag">
|
|
@@ -13283,7 +13287,7 @@
|
|
|
13283
13287
|
<xsl:template match="mn:termnote/mn:fmt-name/mn:tab" priority="2"/>
|
|
13284
13288
|
|
|
13285
13289
|
<xsl:template match="mn:note/mn:fmt-name/mn:tab" mode="tab">
|
|
13286
|
-
<xsl:attribute name="padding-right">
|
|
13290
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
|
13287
13291
|
</xsl:template>
|
|
13288
13292
|
|
|
13289
13293
|
<xsl:template name="insertNonBreakSpaces">
|
|
@@ -13637,9 +13641,12 @@
|
|
|
13637
13641
|
</xsl:template> <!-- refine_title-style -->
|
|
13638
13642
|
|
|
13639
13643
|
<xsl:template name="processPrefaceSectionsDefault">
|
|
13644
|
+
<xsl:param name="num"/>
|
|
13640
13645
|
<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
|
|
13641
13646
|
<xsl:sort select="@displayorder" data-type="number"/>
|
|
13642
|
-
<xsl:apply-templates select="."
|
|
13647
|
+
<xsl:apply-templates select=".">
|
|
13648
|
+
<xsl:with-param name="num" select="$num"/>
|
|
13649
|
+
</xsl:apply-templates>
|
|
13643
13650
|
</xsl:for-each>
|
|
13644
13651
|
</xsl:template>
|
|
13645
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>
|
|
@@ -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>
|
|
@@ -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
|
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
|