metanorma-ribose 2.2.1 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e0702fb65c658a415082116786e4c083e4ea3f0d43348d9435b9359cc51a04
|
4
|
+
data.tar.gz: 981338bdab7169f29bd851c64461519621e45bd7dac927303899cac8f87b22d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3f83c67623e49c698489b21b7f4fd34273b30b7ea1ef5434303a7e7600c27576332638d4dfc6e0017c91778d736d3db9b823a1c34477fa08f165ca91072532d
|
7
|
+
data.tar.gz: 5339fee39a8708b19367e7a9e0b811adaeebae50f6eac854970235f6450182925ee09e1150638f5a48e3759593613f682c64f103706567cfc9a3bd7babcd6163
|
@@ -131,6 +131,35 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
131
131
|
color: red;
|
132
132
|
text-decoration: line-through; }
|
133
133
|
|
134
|
+
/* code highlighting with line numbers */
|
135
|
+
table.rouge-line-table td.rouge-gutter {
|
136
|
+
-moz-user-select: none;
|
137
|
+
-ms-user-select: none;
|
138
|
+
-webkit-user-select: none;
|
139
|
+
user-select: none;
|
140
|
+
padding-right: 1em; }
|
141
|
+
|
142
|
+
table.rouge-line-table td.rouge-code {
|
143
|
+
-moz-user-select: all;
|
144
|
+
-ms-user-select: all;
|
145
|
+
-webkit-user-select: all;
|
146
|
+
user-select: all; }
|
147
|
+
|
148
|
+
table.rouge-line-table,
|
149
|
+
table.rouge-line-table th,
|
150
|
+
table.rouge-line-table td {
|
151
|
+
width: auto;
|
152
|
+
border: none;
|
153
|
+
margin: 0;
|
154
|
+
padding: 0;
|
155
|
+
font-size: 100%; }
|
156
|
+
|
157
|
+
table.rouge-line-table pre {
|
158
|
+
margin: 0;
|
159
|
+
padding: 0;
|
160
|
+
overflow-x: visible;
|
161
|
+
font-size: 100%; }
|
162
|
+
|
134
163
|
#standard-band {
|
135
164
|
background-color: #0AC442; }
|
136
165
|
|
@@ -787,7 +816,7 @@ table {
|
|
787
816
|
table th, table td {
|
788
817
|
padding: 1em; }
|
789
818
|
table td.header {
|
790
|
-
font-
|
819
|
+
font-weight: 400; }
|
791
820
|
|
792
821
|
p.TableTitle {
|
793
822
|
text-align: center;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<xsl:output version="1.0" method="xml" encoding="UTF-8" indent="no"/>
|
4
4
|
|
5
|
-
<xsl:key name="kfn" match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])
|
5
|
+
<xsl:key name="kfn" match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure' or local-name() = 'localized-strings')] and not(ancestor::*[local-name() = 'name']))]" use="@reference"/>
|
6
6
|
|
7
7
|
<xsl:variable name="debug">false</xsl:variable>
|
8
8
|
|
@@ -1259,14 +1259,14 @@
|
|
1259
1259
|
BUT DON'T put any another conditions together with $namespace = '...' (such conditions will be ignored). For another conditions, please use nested xsl:if or xsl:choose -->
|
1260
1260
|
|
1261
1261
|
<!--
|
1262
|
-
<
|
1262
|
+
<metanorma-extension>
|
1263
1263
|
<presentation-metadata>
|
1264
1264
|
<papersize>letter</papersize>
|
1265
1265
|
</presentation-metadata>
|
1266
|
-
</
|
1266
|
+
</metanorma-extension>
|
1267
1267
|
-->
|
1268
1268
|
|
1269
|
-
<xsl:variable name="papersize" select="java:toLowerCase(java:java.lang.String.new(normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = '
|
1269
|
+
<xsl:variable name="papersize" select="java:toLowerCase(java:java.lang.String.new(normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata']/*[local-name() = 'papersize'])))"/>
|
1270
1270
|
<xsl:variable name="papersize_width_">
|
1271
1271
|
<xsl:choose>
|
1272
1272
|
<xsl:when test="$papersize = 'letter'">215.9</xsl:when>
|
@@ -1381,7 +1381,7 @@
|
|
1381
1381
|
<xsl:variable name="titles" select="xalan:nodeset($titles_)"/>
|
1382
1382
|
|
1383
1383
|
<xsl:variable name="title-list-tables">
|
1384
|
-
<xsl:variable name="toc_table_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = '
|
1384
|
+
<xsl:variable name="toc_table_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']"/>
|
1385
1385
|
<xsl:value-of select="$toc_table_title"/>
|
1386
1386
|
<xsl:if test="normalize-space($toc_table_title) = ''">
|
1387
1387
|
<xsl:call-template name="getTitle">
|
@@ -1391,7 +1391,7 @@
|
|
1391
1391
|
</xsl:variable>
|
1392
1392
|
|
1393
1393
|
<xsl:variable name="title-list-figures">
|
1394
|
-
<xsl:variable name="toc_figure_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = '
|
1394
|
+
<xsl:variable name="toc_figure_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']"/>
|
1395
1395
|
<xsl:value-of select="$toc_figure_title"/>
|
1396
1396
|
<xsl:if test="normalize-space($toc_figure_title) = ''">
|
1397
1397
|
<xsl:call-template name="getTitle">
|
@@ -1401,7 +1401,7 @@
|
|
1401
1401
|
</xsl:variable>
|
1402
1402
|
|
1403
1403
|
<xsl:variable name="title-list-recommendations">
|
1404
|
-
<xsl:variable name="toc_requirement_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = '
|
1404
|
+
<xsl:variable name="toc_requirement_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='requirement']/*[local-name() = 'title']"/>
|
1405
1405
|
<xsl:value-of select="$toc_requirement_title"/>
|
1406
1406
|
<xsl:if test="normalize-space($toc_requirement_title) = ''">
|
1407
1407
|
<xsl:call-template name="getTitle">
|
@@ -1475,7 +1475,7 @@
|
|
1475
1475
|
<xsl:variable name="root-style_" select="xalan:nodeset($root-style)"/>
|
1476
1476
|
|
1477
1477
|
<xsl:variable name="additional_fonts_">
|
1478
|
-
<xsl:for-each select="//*[contains(local-name(), '-standard')][1]/*[local-name() = '
|
1478
|
+
<xsl:for-each select="//*[contains(local-name(), '-standard')][1]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'fonts']/*[local-name() = 'value'] | //*[contains(local-name(), '-standard')][1]/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'fonts']/*[local-name() = 'value']">
|
1479
1479
|
<xsl:value-of select="."/><xsl:if test="position() != last()">, </xsl:if>
|
1480
1480
|
</xsl:for-each>
|
1481
1481
|
</xsl:variable>
|
@@ -2617,10 +2617,10 @@
|
|
2617
2617
|
|
2618
2618
|
<xsl:template name="processTablesFigures_Contents">
|
2619
2619
|
<xsl:param name="always"/>
|
2620
|
-
<xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = '
|
2620
|
+
<xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
|
2621
2621
|
<xsl:call-template name="processTables_Contents"/>
|
2622
2622
|
</xsl:if>
|
2623
|
-
<xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = '
|
2623
|
+
<xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
|
2624
2624
|
<xsl:call-template name="processFigures_Contents"/>
|
2625
2625
|
</xsl:if>
|
2626
2626
|
</xsl:template>
|
@@ -2952,6 +2952,8 @@
|
|
2952
2952
|
|
2953
2953
|
<xsl:attribute name="width"><xsl:value-of select="normalize-space($table_width)"/></xsl:attribute>
|
2954
2954
|
|
2955
|
+
<xsl:call-template name="setBordersTableArray"/>
|
2956
|
+
|
2955
2957
|
</xsl:element>
|
2956
2958
|
</xsl:variable>
|
2957
2959
|
|
@@ -3096,6 +3098,10 @@
|
|
3096
3098
|
|
3097
3099
|
</xsl:template>
|
3098
3100
|
|
3101
|
+
<xsl:template name="setBordersTableArray">
|
3102
|
+
|
3103
|
+
</xsl:template>
|
3104
|
+
|
3099
3105
|
<xsl:template match="*[local-name()='table']/*[local-name() = 'name']">
|
3100
3106
|
<xsl:param name="continued"/>
|
3101
3107
|
<xsl:if test="normalize-space() != ''">
|
@@ -3570,6 +3576,8 @@
|
|
3570
3576
|
<fo:table-row>
|
3571
3577
|
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
3572
3578
|
|
3579
|
+
<xsl:call-template name="setBordersTableArray"/>
|
3580
|
+
|
3573
3581
|
<!-- fn will be processed inside 'note' processing -->
|
3574
3582
|
|
3575
3583
|
<!-- for BSI (not PAS) display Notes before footnotes -->
|
@@ -3691,6 +3699,8 @@
|
|
3691
3699
|
<xsl:template match="*[local-name()='thead']/*[local-name()='tr']" priority="2">
|
3692
3700
|
<fo:table-row xsl:use-attribute-sets="table-header-row-style">
|
3693
3701
|
|
3702
|
+
<xsl:call-template name="setBordersTableArray"/>
|
3703
|
+
|
3694
3704
|
<xsl:call-template name="setTableRowAttributes"/>
|
3695
3705
|
|
3696
3706
|
<xsl:apply-templates/>
|
@@ -3714,6 +3724,8 @@
|
|
3714
3724
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
3715
3725
|
</xsl:if>
|
3716
3726
|
|
3727
|
+
<xsl:call-template name="setBordersTableArray"/>
|
3728
|
+
|
3717
3729
|
<xsl:variable name="number"><xsl:number/></xsl:variable>
|
3718
3730
|
<xsl:if test="$number mod 2 = 0">
|
3719
3731
|
<xsl:attribute name="background-color">rgb(254, 247, 228)</xsl:attribute>
|
@@ -3738,6 +3750,8 @@
|
|
3738
3750
|
<xsl:with-param name="default">center</xsl:with-param>
|
3739
3751
|
</xsl:call-template>
|
3740
3752
|
|
3753
|
+
<xsl:call-template name="setBordersTableArray"/>
|
3754
|
+
|
3741
3755
|
<xsl:if test="$lang = 'ar'">
|
3742
3756
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
3743
3757
|
</xsl:if>
|
@@ -3790,6 +3804,8 @@
|
|
3790
3804
|
|
3791
3805
|
<!-- bsi -->
|
3792
3806
|
|
3807
|
+
<xsl:call-template name="setBordersTableArray"/>
|
3808
|
+
|
3793
3809
|
<xsl:if test=".//*[local-name() = 'table']"> <!-- if there is nested table -->
|
3794
3810
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
3795
3811
|
</xsl:if>
|
@@ -3844,7 +3860,7 @@
|
|
3844
3860
|
</fn>
|
3845
3861
|
-->
|
3846
3862
|
<!-- footnotes in text (title, bibliography, main body, table's, figure's names), not for tables, figures -->
|
3847
|
-
<xsl:template match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])
|
3863
|
+
<xsl:template match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))]" priority="2" name="fn">
|
3848
3864
|
|
3849
3865
|
<!-- list of footnotes to calculate actual footnotes number -->
|
3850
3866
|
<xsl:variable name="p_fn_">
|
@@ -3901,8 +3917,7 @@
|
|
3901
3917
|
</fo:basic-link>
|
3902
3918
|
</fo:inline>
|
3903
3919
|
</xsl:variable>
|
3904
|
-
|
3905
|
-
gen_id=<xsl:value-of select="$gen_id"/> -->
|
3920
|
+
|
3906
3921
|
<xsl:choose>
|
3907
3922
|
<xsl:when test="normalize-space(@skip_footnote_body) = 'true'">
|
3908
3923
|
<xsl:copy-of select="$footnote_inline"/>
|
@@ -3957,7 +3972,7 @@
|
|
3957
3972
|
<!-- commented:
|
3958
3973
|
.//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] |
|
3959
3974
|
because 'fn' there is in biblio-tag -->
|
3960
|
-
<xsl:for-each select=".//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure') and not(ancestor::*[local-name() = 'name'])
|
3975
|
+
<xsl:for-each select=".//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
|
3961
3976
|
<!-- copy unique fn -->
|
3962
3977
|
<fn gen_id="{generate-id(.)}">
|
3963
3978
|
<xsl:copy-of select="@*"/>
|
@@ -6522,7 +6537,9 @@
|
|
6522
6537
|
|
6523
6538
|
<xsl:variable name="scale" select="java:org.metanorma.fop.Util.getImageScale($img_src, $width_effective, $height_effective)"/>
|
6524
6539
|
<xsl:if test="number($scale) < 100">
|
6525
|
-
|
6540
|
+
|
6541
|
+
<xsl:attribute name="content-width"><xsl:value-of select="$scale"/>%</xsl:attribute>
|
6542
|
+
|
6526
6543
|
</xsl:if>
|
6527
6544
|
|
6528
6545
|
</xsl:if>
|
@@ -7448,7 +7465,7 @@
|
|
7448
7465
|
<!-- sourcecode -->
|
7449
7466
|
<!-- =============== -->
|
7450
7467
|
|
7451
|
-
<xsl:variable name="source-highlighter-css_" select="//*[contains(local-name(), '-standard')]/*[local-name() = '
|
7468
|
+
<xsl:variable name="source-highlighter-css_" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'source-highlighter-css']"/>
|
7452
7469
|
<xsl:variable name="sourcecode_css_" select="java:org.metanorma.fop.Util.parseCSS($source-highlighter-css_)"/>
|
7453
7470
|
<xsl:variable name="sourcecode_css" select="xalan:nodeset($sourcecode_css_)"/>
|
7454
7471
|
|
@@ -7469,7 +7486,7 @@
|
|
7469
7486
|
</xsl:if> -->
|
7470
7487
|
|
7471
7488
|
<xsl:choose>
|
7472
|
-
<xsl:when test="ancestor::*[local-name() = 'table'][not(
|
7489
|
+
<xsl:when test="ancestor::*[local-name() = 'table'][not(parent::*[local-name() = 'sourcecode'][@linenums = 'true'])]">inherit</xsl:when>
|
7473
7490
|
<xsl:otherwise>95%</xsl:otherwise><!-- 110% -->
|
7474
7491
|
</xsl:choose>
|
7475
7492
|
|
@@ -7556,6 +7573,12 @@
|
|
7556
7573
|
</xsl:if>
|
7557
7574
|
</xsl:if>
|
7558
7575
|
|
7576
|
+
<!-- remove margin between rows in the table with sourcecode line numbers -->
|
7577
|
+
<xsl:if test="ancestor::*[local-name() = 'sourcecode'][@linenums = 'true'] and ancestor::*[local-name() = 'tr'][1]/following-sibling::*[local-name() = 'tr']">
|
7578
|
+
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
7579
|
+
<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
|
7580
|
+
</xsl:if>
|
7581
|
+
|
7559
7582
|
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
7560
7583
|
</fo:block>
|
7561
7584
|
|
@@ -7602,7 +7625,7 @@
|
|
7602
7625
|
</xsl:template>
|
7603
7626
|
|
7604
7627
|
<!-- outer table with line numbers for sourcecode -->
|
7605
|
-
<xsl:template match="*[local-name()='
|
7628
|
+
<xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] | -->
|
7606
7629
|
<fo:block>
|
7607
7630
|
<fo:table width="100%" table-layout="fixed">
|
7608
7631
|
<xsl:copy-of select="@id"/>
|
@@ -7614,16 +7637,16 @@
|
|
7614
7637
|
</fo:table>
|
7615
7638
|
</fo:block>
|
7616
7639
|
</xsl:template>
|
7617
|
-
<xsl:template match="*[local-name()='
|
7640
|
+
<xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']/*[local-name() = 'tbody']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode']/*[local-name() = 'tbody'] | -->
|
7618
7641
|
<xsl:apply-templates/>
|
7619
7642
|
</xsl:template>
|
7620
|
-
<xsl:template match="*[local-name()='
|
7643
|
+
<xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr'] | -->
|
7621
7644
|
<fo:table-row>
|
7622
7645
|
<xsl:apply-templates/>
|
7623
7646
|
</fo:table-row>
|
7624
7647
|
</xsl:template>
|
7625
7648
|
<!-- first td with line numbers -->
|
7626
|
-
<xsl:template match="*[local-name()='
|
7649
|
+
<xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']/*[local-name()='td'][not(preceding-sibling::*)]" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] -->
|
7627
7650
|
<fo:table-cell>
|
7628
7651
|
<fo:block>
|
7629
7652
|
|
@@ -7643,8 +7666,9 @@
|
|
7643
7666
|
</fo:block>
|
7644
7667
|
</fo:table-cell>
|
7645
7668
|
</xsl:template>
|
7669
|
+
|
7646
7670
|
<!-- second td with sourcecode -->
|
7647
|
-
<xsl:template match="*[local-name()='
|
7671
|
+
<xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']/*[local-name()='td'][preceding-sibling::*]" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] -->
|
7648
7672
|
<fo:table-cell>
|
7649
7673
|
<fo:block>
|
7650
7674
|
<xsl:apply-templates/>
|
@@ -7882,7 +7906,25 @@
|
|
7882
7906
|
<xsl:template match="*[local-name()='pre']" name="pre">
|
7883
7907
|
<fo:block xsl:use-attribute-sets="pre-style">
|
7884
7908
|
<xsl:copy-of select="@id"/>
|
7885
|
-
<xsl:
|
7909
|
+
<xsl:choose>
|
7910
|
+
|
7911
|
+
<xsl:when test="ancestor::*[local-name() = 'sourcecode'][@linenums = 'true'] and ancestor::*[local-name()='td'][1][not(preceding-sibling::*)]"> <!-- pre in the first td in the table with @linenums = 'true' -->
|
7912
|
+
<xsl:if test="ancestor::*[local-name() = 'tr'][1]/following-sibling::*[local-name() = 'tr']"> <!-- is current tr isn't last -->
|
7913
|
+
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
7914
|
+
<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
|
7915
|
+
</xsl:if>
|
7916
|
+
<fo:instream-foreign-object fox:alt-text="{.}" content-width="95%">
|
7917
|
+
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
7918
|
+
<mtext><xsl:value-of select="."/></mtext>
|
7919
|
+
</math>
|
7920
|
+
</fo:instream-foreign-object>
|
7921
|
+
</xsl:when>
|
7922
|
+
|
7923
|
+
<xsl:otherwise>
|
7924
|
+
<xsl:apply-templates/>
|
7925
|
+
</xsl:otherwise>
|
7926
|
+
|
7927
|
+
</xsl:choose>
|
7886
7928
|
</fo:block>
|
7887
7929
|
</xsl:template>
|
7888
7930
|
<!-- =============== -->
|
@@ -9498,8 +9540,8 @@
|
|
9498
9540
|
|
9499
9541
|
<xsl:variable name="toc_level">
|
9500
9542
|
<!-- https://www.metanorma.org/author/ref/document-attributes/ -->
|
9501
|
-
<xsl:variable name="htmltoclevels" select="normalize-space(//*[local-name() = '
|
9502
|
-
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = '
|
9543
|
+
<xsl:variable name="htmltoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'HTML TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :htmltoclevels Number of table of contents levels to render in HTML/PDF output; used to override :toclevels:-->
|
9544
|
+
<xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
|
9503
9545
|
<xsl:choose>
|
9504
9546
|
<xsl:when test="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
9505
9547
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
@@ -10491,6 +10533,7 @@
|
|
10491
10533
|
<xsl:choose>
|
10492
10534
|
<xsl:when test="$lang = 'ar' and $align = 'left'">start</xsl:when>
|
10493
10535
|
<xsl:when test="$lang = 'ar' and $align = 'right'">end</xsl:when>
|
10536
|
+
<xsl:when test="$align = 'justified'">justify</xsl:when>
|
10494
10537
|
<xsl:when test="$align != '' and not($align = 'indent')"><xsl:value-of select="$align"/></xsl:when>
|
10495
10538
|
<xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
|
10496
10539
|
<xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
|
@@ -1316,7 +1316,7 @@
|
|
1316
1316
|
<value>commentaryOf</value>
|
1317
1317
|
<value>hasCommentary</value>
|
1318
1318
|
<value>related</value>
|
1319
|
-
<value>
|
1319
|
+
<value>hasComplement</value>
|
1320
1320
|
<value>complementOf</value>
|
1321
1321
|
<value>obsoletes</value>
|
1322
1322
|
<value>obsoletedBy</value>
|
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.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|