metanorma-csa 2.2.1 → 2.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f685276b592de3a6020087f07bffbe7e6b616a4fe297942b455f48ec609e858
4
- data.tar.gz: af28b9eeffc3381c801ccddd18c31e67a69342938291a0c713bdfd2245418e8c
3
+ metadata.gz: 6247cd1d99f827e1c07acead231cb5905a8a76f65825512adc363bac46887548
4
+ data.tar.gz: 7ca46a311abb4ef7130aa384ecf103a31f1977a6634616010c2ce7f37f073c7b
5
5
  SHA512:
6
- metadata.gz: 1ba656baf21d649630fa8d9cb68050f6156b040f11604856553496ba34c9fac5056aca4bc15b44fc32e9697c744d5c6df19b177c9e0d6aca07855ae0259452a6
7
- data.tar.gz: 7259d9fbef72983e99749dca8eee07bfb09d6d9a02bfd8f5a458c356ed46293385a5a37b6f27853eee0261f2758def49f066e351aa123fbcb87066e386313641
6
+ metadata.gz: 1082cbdd5f25f87d13704d726d9f8968f495cd04700e05f0ce7dda8c7c63161e4e8b85020834086c73ca65867a50bf15700d81edb41adb425c4750f99420d421
7
+ data.tar.gz: 2a25ce7752ed8739b68550acb37783144e6310fe8bc07f28c1fa0fdf027de1fa328ef84ad4565b674cec6ab7e8176e5b4570f1235269b9823019086464e7c46c
@@ -2,7 +2,7 @@
2
2
 
3
3
  <xsl:output version="1.0" method="xml" encoding="UTF-8" indent="yes"/>
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'])])]" use="@reference"/>
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
 
@@ -625,14 +625,14 @@
625
625
  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 -->
626
626
 
627
627
  <!--
628
- <misc-container>
628
+ <metanorma-extension>
629
629
  <presentation-metadata>
630
630
  <papersize>letter</papersize>
631
631
  </presentation-metadata>
632
- </misc-container>
632
+ </metanorma-extension>
633
633
  -->
634
634
 
635
- <xsl:variable name="papersize" select="java:toLowerCase(java:java.lang.String.new(normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'presentation-metadata']/*[local-name() = 'papersize'])))"/>
635
+ <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'])))"/>
636
636
  <xsl:variable name="papersize_width_">
637
637
  <xsl:choose>
638
638
  <xsl:when test="$papersize = 'letter'">215.9</xsl:when>
@@ -749,7 +749,7 @@
749
749
  <xsl:variable name="titles" select="xalan:nodeset($titles_)"/>
750
750
 
751
751
  <xsl:variable name="title-list-tables">
752
- <xsl:variable name="toc_table_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']"/>
752
+ <xsl:variable name="toc_table_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']"/>
753
753
  <xsl:value-of select="$toc_table_title"/>
754
754
  <xsl:if test="normalize-space($toc_table_title) = ''">
755
755
  <xsl:call-template name="getTitle">
@@ -759,7 +759,7 @@
759
759
  </xsl:variable>
760
760
 
761
761
  <xsl:variable name="title-list-figures">
762
- <xsl:variable name="toc_figure_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']"/>
762
+ <xsl:variable name="toc_figure_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']"/>
763
763
  <xsl:value-of select="$toc_figure_title"/>
764
764
  <xsl:if test="normalize-space($toc_figure_title) = ''">
765
765
  <xsl:call-template name="getTitle">
@@ -769,7 +769,7 @@
769
769
  </xsl:variable>
770
770
 
771
771
  <xsl:variable name="title-list-recommendations">
772
- <xsl:variable name="toc_requirement_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'toc'][@type='requirement']/*[local-name() = 'title']"/>
772
+ <xsl:variable name="toc_requirement_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='requirement']/*[local-name() = 'title']"/>
773
773
  <xsl:value-of select="$toc_requirement_title"/>
774
774
  <xsl:if test="normalize-space($toc_requirement_title) = ''">
775
775
  <xsl:call-template name="getTitle">
@@ -841,7 +841,7 @@
841
841
  <xsl:variable name="root-style_" select="xalan:nodeset($root-style)"/>
842
842
 
843
843
  <xsl:variable name="additional_fonts_">
844
- <xsl:for-each select="//*[contains(local-name(), '-standard')][1]/*[local-name() = 'misc-container']/*[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']">
844
+ <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']">
845
845
  <xsl:value-of select="."/><xsl:if test="position() != last()">, </xsl:if>
846
846
  </xsl:for-each>
847
847
  </xsl:variable>
@@ -1903,10 +1903,10 @@
1903
1903
 
1904
1904
  <xsl:template name="processTablesFigures_Contents">
1905
1905
  <xsl:param name="always"/>
1906
- <xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
1906
+ <xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
1907
1907
  <xsl:call-template name="processTables_Contents"/>
1908
1908
  </xsl:if>
1909
- <xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
1909
+ <xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
1910
1910
  <xsl:call-template name="processFigures_Contents"/>
1911
1911
  </xsl:if>
1912
1912
  </xsl:template>
@@ -2241,6 +2241,8 @@
2241
2241
  <xsl:attribute name="margin-right"><xsl:value-of select="$margin-side"/>mm</xsl:attribute>
2242
2242
  </xsl:if>
2243
2243
 
2244
+ <xsl:call-template name="setBordersTableArray"/>
2245
+
2244
2246
  </xsl:element>
2245
2247
  </xsl:variable>
2246
2248
 
@@ -2385,6 +2387,10 @@
2385
2387
 
2386
2388
  </xsl:template>
2387
2389
 
2390
+ <xsl:template name="setBordersTableArray">
2391
+
2392
+ </xsl:template>
2393
+
2388
2394
  <xsl:template match="*[local-name()='table']/*[local-name() = 'name']">
2389
2395
  <xsl:param name="continued"/>
2390
2396
  <xsl:if test="normalize-space() != ''">
@@ -2859,6 +2865,8 @@
2859
2865
  <fo:table-row>
2860
2866
  <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
2861
2867
 
2868
+ <xsl:call-template name="setBordersTableArray"/>
2869
+
2862
2870
  <!-- fn will be processed inside 'note' processing -->
2863
2871
 
2864
2872
  <!-- for BSI (not PAS) display Notes before footnotes -->
@@ -2980,6 +2988,8 @@
2980
2988
  <xsl:template match="*[local-name()='thead']/*[local-name()='tr']" priority="2">
2981
2989
  <fo:table-row xsl:use-attribute-sets="table-header-row-style">
2982
2990
 
2991
+ <xsl:call-template name="setBordersTableArray"/>
2992
+
2983
2993
  <xsl:call-template name="setTableRowAttributes"/>
2984
2994
 
2985
2995
  <xsl:apply-templates/>
@@ -3003,6 +3013,8 @@
3003
3013
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
3004
3014
  </xsl:if>
3005
3015
 
3016
+ <xsl:call-template name="setBordersTableArray"/>
3017
+
3006
3018
  <xsl:call-template name="setTableRowAttributes"/>
3007
3019
  <xsl:apply-templates/>
3008
3020
  </fo:table-row>
@@ -3022,6 +3034,8 @@
3022
3034
  <xsl:with-param name="default">center</xsl:with-param>
3023
3035
  </xsl:call-template>
3024
3036
 
3037
+ <xsl:call-template name="setBordersTableArray"/>
3038
+
3025
3039
  <xsl:if test="$lang = 'ar'">
3026
3040
  <xsl:attribute name="padding-right">1mm</xsl:attribute>
3027
3041
  </xsl:if>
@@ -3074,6 +3088,8 @@
3074
3088
 
3075
3089
  <!-- bsi -->
3076
3090
 
3091
+ <xsl:call-template name="setBordersTableArray"/>
3092
+
3077
3093
  <xsl:if test=".//*[local-name() = 'table']"> <!-- if there is nested table -->
3078
3094
  <xsl:attribute name="padding-right">1mm</xsl:attribute>
3079
3095
  </xsl:if>
@@ -3128,7 +3144,7 @@
3128
3144
  </fn>
3129
3145
  -->
3130
3146
  <!-- footnotes in text (title, bibliography, main body, table's, figure's names), not for tables, figures -->
3131
- <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">
3147
+ <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">
3132
3148
 
3133
3149
  <!-- list of footnotes to calculate actual footnotes number -->
3134
3150
  <xsl:variable name="p_fn_">
@@ -3185,8 +3201,7 @@
3185
3201
  </fo:basic-link>
3186
3202
  </fo:inline>
3187
3203
  </xsl:variable>
3188
- <!-- DEBUG: p_fn=<xsl:copy-of select="$p_fn"/>
3189
- gen_id=<xsl:value-of select="$gen_id"/> -->
3204
+
3190
3205
  <xsl:choose>
3191
3206
  <xsl:when test="normalize-space(@skip_footnote_body) = 'true'">
3192
3207
  <xsl:copy-of select="$footnote_inline"/>
@@ -3241,7 +3256,7 @@
3241
3256
  <!-- commented:
3242
3257
  .//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] |
3243
3258
  because 'fn' there is in biblio-tag -->
3244
- <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])]">
3259
+ <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])]">
3245
3260
  <!-- copy unique fn -->
3246
3261
  <fn gen_id="{generate-id(.)}">
3247
3262
  <xsl:copy-of select="@*"/>
@@ -5783,7 +5798,9 @@
5783
5798
 
5784
5799
  <xsl:variable name="scale" select="java:org.metanorma.fop.Util.getImageScale($img_src, $width_effective, $height_effective)"/>
5785
5800
  <xsl:if test="number($scale) &lt; 100">
5786
- <xsl:attribute name="content-width"><xsl:value-of select="$scale"/>%</xsl:attribute>
5801
+
5802
+ <xsl:attribute name="content-width"><xsl:value-of select="$scale"/>%</xsl:attribute>
5803
+
5787
5804
  </xsl:if>
5788
5805
 
5789
5806
  </xsl:if>
@@ -6709,7 +6726,7 @@
6709
6726
  <!-- sourcecode -->
6710
6727
  <!-- =============== -->
6711
6728
 
6712
- <xsl:variable name="source-highlighter-css_" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'misc-container']/*[local-name() = 'source-highlighter-css']"/>
6729
+ <xsl:variable name="source-highlighter-css_" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'source-highlighter-css']"/>
6713
6730
  <xsl:variable name="sourcecode_css_" select="java:org.metanorma.fop.Util.parseCSS($source-highlighter-css_)"/>
6714
6731
  <xsl:variable name="sourcecode_css" select="xalan:nodeset($sourcecode_css_)"/>
6715
6732
 
@@ -6798,6 +6815,12 @@
6798
6815
  </xsl:attribute>
6799
6816
  </xsl:for-each>
6800
6817
 
6818
+ <!-- remove margin between rows in the table with sourcecode line numbers -->
6819
+ <xsl:if test="ancestor::*[local-name() = 'sourcecode'][@linenums = 'true'] and ancestor::*[local-name() = 'tr'][1]/following-sibling::*[local-name() = 'tr']">
6820
+ <xsl:attribute name="margin-top">0pt</xsl:attribute>
6821
+ <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
6822
+ </xsl:if>
6823
+
6801
6824
  <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
6802
6825
  </fo:block>
6803
6826
 
@@ -6846,7 +6869,7 @@
6846
6869
  </xsl:template>
6847
6870
 
6848
6871
  <!-- outer table with line numbers for sourcecode -->
6849
- <xsl:template match="*[local-name()='table'][@type = 'sourcecode']" priority="2">
6872
+ <xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] | -->
6850
6873
  <fo:block>
6851
6874
  <fo:table width="100%" table-layout="fixed">
6852
6875
  <xsl:copy-of select="@id"/>
@@ -6858,16 +6881,16 @@
6858
6881
  </fo:table>
6859
6882
  </fo:block>
6860
6883
  </xsl:template>
6861
- <xsl:template match="*[local-name()='table'][@type = 'sourcecode']/*[local-name() = 'tbody']" priority="2">
6884
+ <xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']/*[local-name() = 'tbody']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode']/*[local-name() = 'tbody'] | -->
6862
6885
  <xsl:apply-templates/>
6863
6886
  </xsl:template>
6864
- <xsl:template match="*[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr']" priority="2">
6887
+ <xsl:template match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr'] | -->
6865
6888
  <fo:table-row>
6866
6889
  <xsl:apply-templates/>
6867
6890
  </fo:table-row>
6868
6891
  </xsl:template>
6869
6892
  <!-- first td with line numbers -->
6870
- <xsl:template match="*[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr']/*[local-name()='td'][not(preceding-sibling::*)]" priority="2">
6893
+ <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'] -->
6871
6894
  <fo:table-cell>
6872
6895
  <fo:block>
6873
6896
 
@@ -6887,8 +6910,9 @@
6887
6910
  </fo:block>
6888
6911
  </fo:table-cell>
6889
6912
  </xsl:template>
6913
+
6890
6914
  <!-- second td with sourcecode -->
6891
- <xsl:template match="*[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr']/*[local-name()='td'][preceding-sibling::*]" priority="2">
6915
+ <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'] -->
6892
6916
  <fo:table-cell>
6893
6917
  <fo:block>
6894
6918
  <xsl:apply-templates/>
@@ -7126,7 +7150,25 @@
7126
7150
  <xsl:template match="*[local-name()='pre']" name="pre">
7127
7151
  <fo:block xsl:use-attribute-sets="pre-style">
7128
7152
  <xsl:copy-of select="@id"/>
7129
- <xsl:apply-templates/>
7153
+ <xsl:choose>
7154
+
7155
+ <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' -->
7156
+ <xsl:if test="ancestor::*[local-name() = 'tr'][1]/following-sibling::*[local-name() = 'tr']"> <!-- is current tr isn't last -->
7157
+ <xsl:attribute name="margin-top">0pt</xsl:attribute>
7158
+ <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
7159
+ </xsl:if>
7160
+ <fo:instream-foreign-object fox:alt-text="{.}" content-width="95%">
7161
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
7162
+ <mtext><xsl:value-of select="."/></mtext>
7163
+ </math>
7164
+ </fo:instream-foreign-object>
7165
+ </xsl:when>
7166
+
7167
+ <xsl:otherwise>
7168
+ <xsl:apply-templates/>
7169
+ </xsl:otherwise>
7170
+
7171
+ </xsl:choose>
7130
7172
  </fo:block>
7131
7173
  </xsl:template>
7132
7174
  <!-- =============== -->
@@ -8722,8 +8764,8 @@
8722
8764
 
8723
8765
  <xsl:variable name="toc_level">
8724
8766
  <!-- https://www.metanorma.org/author/ref/document-attributes/ -->
8725
- <xsl:variable name="htmltoclevels" select="normalize-space(//*[local-name() = 'misc-container']/*[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:-->
8726
- <xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'misc-container']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
8767
+ <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:-->
8768
+ <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 -->
8727
8769
  <xsl:choose>
8728
8770
  <xsl:when test="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
8729
8771
  <xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
@@ -9711,6 +9753,7 @@
9711
9753
  <xsl:choose>
9712
9754
  <xsl:when test="$lang = 'ar' and $align = 'left'">start</xsl:when>
9713
9755
  <xsl:when test="$lang = 'ar' and $align = 'right'">end</xsl:when>
9756
+ <xsl:when test="$align = 'justified'">justify</xsl:when>
9714
9757
  <xsl:when test="$align != '' and not($align = 'indent')"><xsl:value-of select="$align"/></xsl:when>
9715
9758
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
9716
9759
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
@@ -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
 
@@ -765,7 +794,7 @@ table {
765
794
  table th, table td {
766
795
  padding: 1em; }
767
796
  table td.header {
768
- font-weigth: 400; }
797
+ font-weight: 400; }
769
798
 
770
799
  table,
771
800
  th,
@@ -1316,7 +1316,7 @@
1316
1316
  <value>commentaryOf</value>
1317
1317
  <value>hasCommentary</value>
1318
1318
  <value>related</value>
1319
- <value>complements</value>
1319
+ <value>hasComplement</value>
1320
1320
  <value>complementOf</value>
1321
1321
  <value>obsoletes</value>
1322
1322
  <value>obsoletedBy</value>
@@ -1580,7 +1580,7 @@
1580
1580
  </element>
1581
1581
  </define>
1582
1582
  <define name="misccontainer">
1583
- <element name="misc-container">
1583
+ <element name="metanorma-extension">
1584
1584
  <oneOrMore>
1585
1585
  <ref name="AnyElement"/>
1586
1586
  </oneOrMore>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Csa
3
- VERSION = "2.2.1".freeze
3
+ VERSION = "2.2.3".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-csa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
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: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2023-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic