metanorma-iso 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/iso/reqt.rng +15 -4
- data/lib/isodoc/iso/iso.amendment.xsl +56 -27
- data/lib/isodoc/iso/iso.international-standard.xsl +56 -27
- data/lib/metanorma/iso/processor.rb +1 -1
- data/lib/metanorma/iso/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: b67209d73be23ff04c3933a086c5e9de18463c17472b535305642a81df58820c
|
4
|
+
data.tar.gz: e13a27804003551fd7da54476f27b61d98f7a23234a3e5eafc6900fe22265a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73714b546a1f6a7680400be13c4672e33c38f897688409258085972dc593c0dd45c8327b4340c4d9b535c4f32d0c8b0ea4d58db1855659162b7b9a6eb26d9dca
|
7
|
+
data.tar.gz: 3289bacc2f84c35c53f98e6950aafa0530189293340be023eff84a81b917c6287a7f9df48295bad57e617e0de610a54f14b5c8aff394680abfdb41d7e5f29a46
|
@@ -64,9 +64,9 @@
|
|
64
64
|
<optional>
|
65
65
|
<ref name="label"/>
|
66
66
|
</optional>
|
67
|
-
<
|
67
|
+
<zeroOrMore>
|
68
68
|
<ref name="subject"/>
|
69
|
-
</
|
69
|
+
</zeroOrMore>
|
70
70
|
<zeroOrMore>
|
71
71
|
<ref name="reqinherit"/>
|
72
72
|
</zeroOrMore>
|
@@ -80,6 +80,7 @@
|
|
80
80
|
<ref name="verification"/>
|
81
81
|
<ref name="import"/>
|
82
82
|
<ref name="description"/>
|
83
|
+
<ref name="component"/>
|
83
84
|
</choice>
|
84
85
|
</zeroOrMore>
|
85
86
|
<optional>
|
@@ -105,12 +106,16 @@
|
|
105
106
|
</define>
|
106
107
|
<define name="subject">
|
107
108
|
<element name="subject">
|
108
|
-
<
|
109
|
+
<oneOrMore>
|
110
|
+
<ref name="TextElement"/>
|
111
|
+
</oneOrMore>
|
109
112
|
</element>
|
110
113
|
</define>
|
111
114
|
<define name="reqinherit">
|
112
115
|
<element name="inherit">
|
113
|
-
<
|
116
|
+
<oneOrMore>
|
117
|
+
<ref name="TextElement"/>
|
118
|
+
</oneOrMore>
|
114
119
|
</element>
|
115
120
|
</define>
|
116
121
|
<define name="measurementtarget">
|
@@ -138,6 +143,12 @@
|
|
138
143
|
<ref name="RequirementSubpart"/>
|
139
144
|
</element>
|
140
145
|
</define>
|
146
|
+
<define name="component">
|
147
|
+
<element name="component">
|
148
|
+
<attribute name="class"/>
|
149
|
+
<ref name="RequirementSubpart"/>
|
150
|
+
</element>
|
151
|
+
</define>
|
141
152
|
<define name="reqt_references">
|
142
153
|
<element name="references">
|
143
154
|
<oneOrMore>
|
@@ -2327,7 +2327,7 @@
|
|
2327
2327
|
<xsl:attribute name="white-space">pre</xsl:attribute>
|
2328
2328
|
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
|
2329
2329
|
|
2330
|
-
<xsl:attribute name="font-family">Courier</xsl:attribute>
|
2330
|
+
<xsl:attribute name="font-family">Courier New</xsl:attribute>
|
2331
2331
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2332
2332
|
|
2333
2333
|
|
@@ -2418,6 +2418,7 @@
|
|
2418
2418
|
|
2419
2419
|
|
2420
2420
|
|
2421
|
+
|
2421
2422
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2422
2423
|
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
2423
2424
|
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
@@ -2665,7 +2666,7 @@
|
|
2665
2666
|
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
2666
2667
|
|
2667
2668
|
|
2668
|
-
<xsl:attribute name="font-family">Courier</xsl:attribute>
|
2669
|
+
<xsl:attribute name="font-family">Courier New</xsl:attribute>
|
2669
2670
|
|
2670
2671
|
|
2671
2672
|
</xsl:attribute-set><xsl:attribute-set name="sourcecode-name-style">
|
@@ -2914,6 +2915,8 @@
|
|
2914
2915
|
<xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
|
2915
2916
|
</xsl:if>
|
2916
2917
|
|
2918
|
+
|
2919
|
+
|
2917
2920
|
<xsl:choose>
|
2918
2921
|
<xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
|
2919
2922
|
<xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
|
@@ -3209,9 +3212,13 @@
|
|
3209
3212
|
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']" mode="presentation">
|
3210
3213
|
<xsl:with-param name="continued">true</xsl:with-param>
|
3211
3214
|
</xsl:apply-templates>
|
3212
|
-
|
3213
|
-
|
3214
|
-
|
3215
|
+
|
3216
|
+
|
3217
|
+
<xsl:for-each select="ancestor::*[local-name()='table'][1]">
|
3218
|
+
<xsl:call-template name="fn_name_display"/>
|
3219
|
+
</xsl:for-each>
|
3220
|
+
|
3221
|
+
|
3215
3222
|
|
3216
3223
|
<fo:block text-align="right" font-style="italic">
|
3217
3224
|
<xsl:text> </xsl:text>
|
@@ -3300,7 +3307,11 @@
|
|
3300
3307
|
|
3301
3308
|
<xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
|
3302
3309
|
|
3303
|
-
<xsl:
|
3310
|
+
<xsl:variable name="isNoteOrFnExistShowAfterTable">
|
3311
|
+
|
3312
|
+
</xsl:variable>
|
3313
|
+
|
3314
|
+
<xsl:if test="$isNoteOrFnExist = 'true' or normalize-space($isNoteOrFnExistShowAfterTable) = 'true'">
|
3304
3315
|
|
3305
3316
|
<xsl:variable name="cols-count">
|
3306
3317
|
<xsl:choose>
|
@@ -3462,10 +3473,13 @@
|
|
3462
3473
|
|
3463
3474
|
<fo:table-row height="0" keep-with-next.within-page="always">
|
3464
3475
|
<fo:table-cell>
|
3476
|
+
|
3477
|
+
|
3465
3478
|
|
3466
3479
|
|
3467
3480
|
<fo:marker marker-class-name="table_continued"/>
|
3468
3481
|
|
3482
|
+
|
3469
3483
|
<fo:block/>
|
3470
3484
|
</fo:table-cell>
|
3471
3485
|
</fo:table-row>
|
@@ -3485,6 +3499,19 @@
|
|
3485
3499
|
|
3486
3500
|
</fo:table-body>
|
3487
3501
|
|
3502
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']/text()[1]" priority="2" mode="presentation_name">
|
3503
|
+
<xsl:choose>
|
3504
|
+
<xsl:when test="substring-after(., '—') != ''">
|
3505
|
+
<xsl:text>—</xsl:text><xsl:value-of select="substring-after(., '—')"/>
|
3506
|
+
</xsl:when>
|
3507
|
+
<xsl:otherwise>
|
3508
|
+
<xsl:value-of select="."/>
|
3509
|
+
</xsl:otherwise>
|
3510
|
+
</xsl:choose>
|
3511
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']" mode="presentation_name">
|
3512
|
+
<xsl:apply-templates mode="presentation_name"/>
|
3513
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']/node()" mode="presentation_name">
|
3514
|
+
<xsl:apply-templates select="."/>
|
3488
3515
|
</xsl:template><xsl:template match="*[local-name()='tr']">
|
3489
3516
|
<xsl:variable name="parent-name" select="local-name(..)"/>
|
3490
3517
|
<!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
|
@@ -3687,14 +3714,12 @@
|
|
3687
3714
|
<xsl:apply-templates/>
|
3688
3715
|
</xsl:template><xsl:template name="fn_display">
|
3689
3716
|
<xsl:variable name="references">
|
3717
|
+
|
3690
3718
|
<xsl:for-each select="..//*[local-name()='fn'][local-name(..) != 'name']">
|
3691
|
-
<
|
3692
|
-
|
3693
|
-
|
3694
|
-
<xsl:apply-templates/>
|
3695
|
-
</fn>
|
3719
|
+
<xsl:call-template name="create_fn"/>
|
3696
3720
|
</xsl:for-each>
|
3697
3721
|
</xsl:variable>
|
3722
|
+
|
3698
3723
|
<xsl:for-each select="xalan:nodeset($references)//fn">
|
3699
3724
|
<xsl:variable name="reference" select="@reference"/>
|
3700
3725
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
@@ -3733,6 +3758,12 @@
|
|
3733
3758
|
</fo:block>
|
3734
3759
|
</xsl:if>
|
3735
3760
|
</xsl:for-each>
|
3761
|
+
</xsl:template><xsl:template name="create_fn">
|
3762
|
+
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
3763
|
+
|
3764
|
+
|
3765
|
+
<xsl:apply-templates/>
|
3766
|
+
</fn>
|
3736
3767
|
</xsl:template><xsl:template name="fn_name_display">
|
3737
3768
|
<!-- <xsl:variable name="references">
|
3738
3769
|
<xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
|
@@ -3861,7 +3892,7 @@
|
|
3861
3892
|
|
3862
3893
|
|
3863
3894
|
|
3864
|
-
<xsl:if test="ancestor::*[local-name()='
|
3895
|
+
<xsl:if test="ancestor::*[local-name()='table']">
|
3865
3896
|
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
3866
3897
|
<!-- <xsl:attribute name="alignment-baseline">hanging</xsl:attribute> -->
|
3867
3898
|
<xsl:attribute name="baseline-shift">15%</xsl:attribute>
|
@@ -4760,19 +4791,6 @@
|
|
4760
4791
|
<!-- replace start and end spaces to non-break space -->
|
4761
4792
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'(^ )|( $)',' ')"/>
|
4762
4793
|
</xsl:copy>
|
4763
|
-
</xsl:template><xsl:template match="mathml:mi[. = ',' and not(following-sibling::*[1][local-name() = 'mtext' and text() = ' '])]" mode="mathml">
|
4764
|
-
<xsl:copy>
|
4765
|
-
<xsl:apply-templates select="@*|node()" mode="mathml"/>
|
4766
|
-
</xsl:copy>
|
4767
|
-
<xsl:choose>
|
4768
|
-
<!-- if in msub, then don't add space -->
|
4769
|
-
<xsl:when test="ancestor::mathml:mrow[parent::mathml:msub and preceding-sibling::*[1][self::mathml:mrow]]"/>
|
4770
|
-
<!-- if next char in digit, don't add space -->
|
4771
|
-
<xsl:when test="translate(substring(following-sibling::*[1]/text(),1,1),'0123456789','') = ''"/>
|
4772
|
-
<xsl:otherwise>
|
4773
|
-
<mathml:mspace width="0.5ex"/>
|
4774
|
-
</xsl:otherwise>
|
4775
|
-
</xsl:choose>
|
4776
4794
|
</xsl:template><xsl:template match="mathml:math/*[local-name()='unit']" mode="mathml"/><xsl:template match="mathml:math/*[local-name()='prefix']" mode="mathml"/><xsl:template match="mathml:math/*[local-name()='dimension']" mode="mathml"/><xsl:template match="mathml:math/*[local-name()='quantity']" mode="mathml"/><xsl:template match="*[local-name()='localityStack']"/><xsl:template match="*[local-name()='link']" name="link">
|
4777
4795
|
<xsl:variable name="target">
|
4778
4796
|
<xsl:choose>
|
@@ -5954,7 +5972,19 @@
|
|
5954
5972
|
</fo:inline>
|
5955
5973
|
</xsl:if>
|
5956
5974
|
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
|
5957
|
-
<
|
5975
|
+
<xsl:variable name="element">inline
|
5976
|
+
|
5977
|
+
</xsl:variable>
|
5978
|
+
<xsl:choose>
|
5979
|
+
<xsl:when test="contains($element, 'block')">
|
5980
|
+
<fo:block xsl:use-attribute-sets="example-p-style">
|
5981
|
+
<xsl:apply-templates/>
|
5982
|
+
</fo:block>
|
5983
|
+
</xsl:when>
|
5984
|
+
<xsl:otherwise>
|
5985
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5986
|
+
</xsl:otherwise>
|
5987
|
+
</xsl:choose>
|
5958
5988
|
</xsl:template><xsl:template match="*[local-name() = 'example']">
|
5959
5989
|
<fo:block id="{@id}" xsl:use-attribute-sets="example-style">
|
5960
5990
|
|
@@ -6540,7 +6570,6 @@
|
|
6540
6570
|
</xsl:template><xsl:template name="processBibitem">
|
6541
6571
|
|
6542
6572
|
|
6543
|
-
<!-- end BIPM bibitem processing-->
|
6544
6573
|
|
6545
6574
|
|
6546
6575
|
|
@@ -2327,7 +2327,7 @@
|
|
2327
2327
|
<xsl:attribute name="white-space">pre</xsl:attribute>
|
2328
2328
|
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
|
2329
2329
|
|
2330
|
-
<xsl:attribute name="font-family">Courier</xsl:attribute>
|
2330
|
+
<xsl:attribute name="font-family">Courier New</xsl:attribute>
|
2331
2331
|
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
2332
2332
|
|
2333
2333
|
|
@@ -2418,6 +2418,7 @@
|
|
2418
2418
|
|
2419
2419
|
|
2420
2420
|
|
2421
|
+
|
2421
2422
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2422
2423
|
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
2423
2424
|
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
@@ -2665,7 +2666,7 @@
|
|
2665
2666
|
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
2666
2667
|
|
2667
2668
|
|
2668
|
-
<xsl:attribute name="font-family">Courier</xsl:attribute>
|
2669
|
+
<xsl:attribute name="font-family">Courier New</xsl:attribute>
|
2669
2670
|
|
2670
2671
|
|
2671
2672
|
</xsl:attribute-set><xsl:attribute-set name="sourcecode-name-style">
|
@@ -2914,6 +2915,8 @@
|
|
2914
2915
|
<xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
|
2915
2916
|
</xsl:if>
|
2916
2917
|
|
2918
|
+
|
2919
|
+
|
2917
2920
|
<xsl:choose>
|
2918
2921
|
<xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
|
2919
2922
|
<xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
|
@@ -3209,9 +3212,13 @@
|
|
3209
3212
|
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']" mode="presentation">
|
3210
3213
|
<xsl:with-param name="continued">true</xsl:with-param>
|
3211
3214
|
</xsl:apply-templates>
|
3212
|
-
|
3213
|
-
|
3214
|
-
|
3215
|
+
|
3216
|
+
|
3217
|
+
<xsl:for-each select="ancestor::*[local-name()='table'][1]">
|
3218
|
+
<xsl:call-template name="fn_name_display"/>
|
3219
|
+
</xsl:for-each>
|
3220
|
+
|
3221
|
+
|
3215
3222
|
|
3216
3223
|
<fo:block text-align="right" font-style="italic">
|
3217
3224
|
<xsl:text> </xsl:text>
|
@@ -3300,7 +3307,11 @@
|
|
3300
3307
|
|
3301
3308
|
<xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
|
3302
3309
|
|
3303
|
-
<xsl:
|
3310
|
+
<xsl:variable name="isNoteOrFnExistShowAfterTable">
|
3311
|
+
|
3312
|
+
</xsl:variable>
|
3313
|
+
|
3314
|
+
<xsl:if test="$isNoteOrFnExist = 'true' or normalize-space($isNoteOrFnExistShowAfterTable) = 'true'">
|
3304
3315
|
|
3305
3316
|
<xsl:variable name="cols-count">
|
3306
3317
|
<xsl:choose>
|
@@ -3462,10 +3473,13 @@
|
|
3462
3473
|
|
3463
3474
|
<fo:table-row height="0" keep-with-next.within-page="always">
|
3464
3475
|
<fo:table-cell>
|
3476
|
+
|
3477
|
+
|
3465
3478
|
|
3466
3479
|
|
3467
3480
|
<fo:marker marker-class-name="table_continued"/>
|
3468
3481
|
|
3482
|
+
|
3469
3483
|
<fo:block/>
|
3470
3484
|
</fo:table-cell>
|
3471
3485
|
</fo:table-row>
|
@@ -3485,6 +3499,19 @@
|
|
3485
3499
|
|
3486
3500
|
</fo:table-body>
|
3487
3501
|
|
3502
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']/text()[1]" priority="2" mode="presentation_name">
|
3503
|
+
<xsl:choose>
|
3504
|
+
<xsl:when test="substring-after(., '—') != ''">
|
3505
|
+
<xsl:text>—</xsl:text><xsl:value-of select="substring-after(., '—')"/>
|
3506
|
+
</xsl:when>
|
3507
|
+
<xsl:otherwise>
|
3508
|
+
<xsl:value-of select="."/>
|
3509
|
+
</xsl:otherwise>
|
3510
|
+
</xsl:choose>
|
3511
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']" mode="presentation_name">
|
3512
|
+
<xsl:apply-templates mode="presentation_name"/>
|
3513
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']/node()" mode="presentation_name">
|
3514
|
+
<xsl:apply-templates select="."/>
|
3488
3515
|
</xsl:template><xsl:template match="*[local-name()='tr']">
|
3489
3516
|
<xsl:variable name="parent-name" select="local-name(..)"/>
|
3490
3517
|
<!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
|
@@ -3687,14 +3714,12 @@
|
|
3687
3714
|
<xsl:apply-templates/>
|
3688
3715
|
</xsl:template><xsl:template name="fn_display">
|
3689
3716
|
<xsl:variable name="references">
|
3717
|
+
|
3690
3718
|
<xsl:for-each select="..//*[local-name()='fn'][local-name(..) != 'name']">
|
3691
|
-
<
|
3692
|
-
|
3693
|
-
|
3694
|
-
<xsl:apply-templates/>
|
3695
|
-
</fn>
|
3719
|
+
<xsl:call-template name="create_fn"/>
|
3696
3720
|
</xsl:for-each>
|
3697
3721
|
</xsl:variable>
|
3722
|
+
|
3698
3723
|
<xsl:for-each select="xalan:nodeset($references)//fn">
|
3699
3724
|
<xsl:variable name="reference" select="@reference"/>
|
3700
3725
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
@@ -3733,6 +3758,12 @@
|
|
3733
3758
|
</fo:block>
|
3734
3759
|
</xsl:if>
|
3735
3760
|
</xsl:for-each>
|
3761
|
+
</xsl:template><xsl:template name="create_fn">
|
3762
|
+
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
3763
|
+
|
3764
|
+
|
3765
|
+
<xsl:apply-templates/>
|
3766
|
+
</fn>
|
3736
3767
|
</xsl:template><xsl:template name="fn_name_display">
|
3737
3768
|
<!-- <xsl:variable name="references">
|
3738
3769
|
<xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
|
@@ -3861,7 +3892,7 @@
|
|
3861
3892
|
|
3862
3893
|
|
3863
3894
|
|
3864
|
-
<xsl:if test="ancestor::*[local-name()='
|
3895
|
+
<xsl:if test="ancestor::*[local-name()='table']">
|
3865
3896
|
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
3866
3897
|
<!-- <xsl:attribute name="alignment-baseline">hanging</xsl:attribute> -->
|
3867
3898
|
<xsl:attribute name="baseline-shift">15%</xsl:attribute>
|
@@ -4760,19 +4791,6 @@
|
|
4760
4791
|
<!-- replace start and end spaces to non-break space -->
|
4761
4792
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'(^ )|( $)',' ')"/>
|
4762
4793
|
</xsl:copy>
|
4763
|
-
</xsl:template><xsl:template match="mathml:mi[. = ',' and not(following-sibling::*[1][local-name() = 'mtext' and text() = ' '])]" mode="mathml">
|
4764
|
-
<xsl:copy>
|
4765
|
-
<xsl:apply-templates select="@*|node()" mode="mathml"/>
|
4766
|
-
</xsl:copy>
|
4767
|
-
<xsl:choose>
|
4768
|
-
<!-- if in msub, then don't add space -->
|
4769
|
-
<xsl:when test="ancestor::mathml:mrow[parent::mathml:msub and preceding-sibling::*[1][self::mathml:mrow]]"/>
|
4770
|
-
<!-- if next char in digit, don't add space -->
|
4771
|
-
<xsl:when test="translate(substring(following-sibling::*[1]/text(),1,1),'0123456789','') = ''"/>
|
4772
|
-
<xsl:otherwise>
|
4773
|
-
<mathml:mspace width="0.5ex"/>
|
4774
|
-
</xsl:otherwise>
|
4775
|
-
</xsl:choose>
|
4776
4794
|
</xsl:template><xsl:template match="mathml:math/*[local-name()='unit']" mode="mathml"/><xsl:template match="mathml:math/*[local-name()='prefix']" mode="mathml"/><xsl:template match="mathml:math/*[local-name()='dimension']" mode="mathml"/><xsl:template match="mathml:math/*[local-name()='quantity']" mode="mathml"/><xsl:template match="*[local-name()='localityStack']"/><xsl:template match="*[local-name()='link']" name="link">
|
4777
4795
|
<xsl:variable name="target">
|
4778
4796
|
<xsl:choose>
|
@@ -5954,7 +5972,19 @@
|
|
5954
5972
|
</fo:inline>
|
5955
5973
|
</xsl:if>
|
5956
5974
|
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
|
5957
|
-
<
|
5975
|
+
<xsl:variable name="element">inline
|
5976
|
+
|
5977
|
+
</xsl:variable>
|
5978
|
+
<xsl:choose>
|
5979
|
+
<xsl:when test="contains($element, 'block')">
|
5980
|
+
<fo:block xsl:use-attribute-sets="example-p-style">
|
5981
|
+
<xsl:apply-templates/>
|
5982
|
+
</fo:block>
|
5983
|
+
</xsl:when>
|
5984
|
+
<xsl:otherwise>
|
5985
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5986
|
+
</xsl:otherwise>
|
5987
|
+
</xsl:choose>
|
5958
5988
|
</xsl:template><xsl:template match="*[local-name() = 'example']">
|
5959
5989
|
<fo:block id="{@id}" xsl:use-attribute-sets="example-style">
|
5960
5990
|
|
@@ -6540,7 +6570,6 @@
|
|
6540
6570
|
</xsl:template><xsl:template name="processBibitem">
|
6541
6571
|
|
6542
6572
|
|
6543
|
-
<!-- end BIPM bibitem processing-->
|
6544
6573
|
|
6545
6574
|
|
6546
6575
|
|
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: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: isodoc
|