metanorma-ogc 2.8.4 → 2.8.6

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: b2aad826f9661d5781bd1e872196cd554ec20130e9eac612fef253761e883618
4
- data.tar.gz: 79a6aab4493044a5ca744e0c369bc0f1db8e68989f9a4377c64319f8259d216b
3
+ metadata.gz: e96a0bba82cd792469b0623663da25dadffef72401489f192bbc43329c980cf9
4
+ data.tar.gz: 67ecd76b9ae85894bfc00b45e7450c86fea6e9507411dbf4f0aff989d7011f66
5
5
  SHA512:
6
- metadata.gz: 876c893712449f502f934d6e39bb874655636fb3bdf25c91cb8c6af4ef94e60ae8534744ab1127dba79f7c51791ed779e30d905b98d82ff79f95eabffddfac8c
7
- data.tar.gz: 7c0310ad8f9d78c95e3189a19c35d0f3bf41e543b503331d3e5bec0bbd3590105a575b49861bfdd44aa25c954fd5f263fc9dd0cba5af2bc212eca626ce216db8
6
+ metadata.gz: e2dd5eae51fb779d1a32f42cead8159ba854d3c43372c09a365b4c3e0544867ecbb502900165ae9921d37ce1c62a4bb7b53cbbf029c46f55c786b14b1339586e
7
+ data.tar.gz: 6145ccf952b49d5d8ccc9dcca2d2d1d524d470ec7b8ca9dc401775e3db79a99ad8552d7f9eb72fc6fc967220e5b2b9089e8d16995ce8b5b7c2616b15dbf8cb81
@@ -21,8 +21,8 @@ module IsoDoc
21
21
  end
22
22
 
23
23
  def bibrenderer(options = {})
24
- ::Relaton::Render::Ogc::General.new(options.merge(language: @lang,
25
- i18nhash: @i18n.get))
24
+ ::Relaton::Render::Ogc::General.new(options
25
+ .merge(language: @lang, script: @script, i18nhash: @i18n.get))
26
26
  end
27
27
 
28
28
  def fileloc(loc)
@@ -30,7 +30,9 @@ module IsoDoc
30
30
  end
31
31
 
32
32
  def submittingorgs_path
33
- "//bibdata/contributor[role/@type = 'author']/organization/name"
33
+ "//xmlns:bibdata/xmlns:contributor[xmlns:role/@type = 'author']/" \
34
+ "xmlns:organization[xmlns:name != 'Open Geospatial Consortium' and " \
35
+ "(not(xmlns:abbreviation) or xmlns:abbreviation != 'OGC')]/xmlns:name"
34
36
  end
35
37
  end
36
38
  end
@@ -27,8 +27,8 @@
27
27
 
28
28
  <xsl:variable name="layoutVersion_">
29
29
  <xsl:choose>
30
- <xsl:when test="$document_scheme = '' or $document_scheme = 'current'">2022</xsl:when>
31
- <xsl:otherwise>default</xsl:otherwise>
30
+ <xsl:when test="$document_scheme = '' or $document_scheme = '2022'">2022</xsl:when>
31
+ <xsl:otherwise>2018</xsl:otherwise>
32
32
  </xsl:choose>
33
33
  </xsl:variable>
34
34
  <xsl:variable name="layoutVersion" select="normalize-space($layoutVersion_)"/>
@@ -156,67 +156,70 @@
156
156
  </xsl:variable>
157
157
 
158
158
  <xsl:variable name="toc_recommendations_">
159
- <xsl:for-each select="//mn:table[.//mn:p[@class = 'RecommendationTitle']]">
160
- <xsl:variable name="table_id" select="@id"/>
161
- <recommendation alt-text="{.//mn:p[@class = 'RecommendationTitle'][1]}">
162
- <xsl:copy-of select="@id"/>
163
- <xsl:variable name="title">
164
- <xsl:apply-templates select=".//mn:p[@class = 'RecommendationTitle'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name/node()"/>
165
- <xsl:if test=".//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/node()">
166
- <xsl:text>: </xsl:text>
167
- <xsl:variable name="recommendationLabel">
168
- <tt><xsl:copy-of select=".//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name/node()"/></tt>
169
- </xsl:variable>
170
- <xsl:apply-templates select="xalan:nodeset($recommendationLabel)/node()"/>
171
- </xsl:if>
172
- </xsl:variable>
173
- <xsl:variable name="bookmark">
174
- <xsl:value-of select="normalize-space(.//mn:p[@class = 'RecommendationTitle'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name)"/>
175
- <xsl:if test=".//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/node()">
176
- <xsl:text>: </xsl:text>
177
- <xsl:value-of select="normalize-space(.//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name)"/>
178
- </xsl:if>
179
- </xsl:variable>
180
- <xsl:variable name="regex_str" select="'^([^0-9]+) (\d+).*'"/>
181
- <xsl:variable name="class" select="java:replaceAll(java:java.lang.String.new($bookmark), $regex_str, '$1')"/>
182
- <xsl:variable name="num" select="java:replaceAll(java:java.lang.String.new($bookmark), $regex_str, '$2')"/>
183
- <xsl:variable name="class_lc" select="java:toLowerCase(java:java.lang.String.new($class))"/>
184
- <!-- <xsl:attribute name="class_str">
185
- <xsl:value-of select="$class"/>
186
- </xsl:attribute> -->
187
- <xsl:attribute name="class">
188
- <xsl:choose>
189
- <xsl:when test="$class_lc = 'requirements class'">1</xsl:when>
190
- <xsl:when test="$class_lc = 'requirement'">2</xsl:when>
191
- <xsl:when test="$class_lc = 'recommendation'">3</xsl:when>
192
- <xsl:when test="$class_lc = 'permission'">4</xsl:when>
193
- <xsl:when test="$class_lc = 'conformance class'">5</xsl:when>
194
- <xsl:when test="$class_lc = 'abstract test'">6</xsl:when>
195
- <xsl:when test="$class_lc = 'requirement test'">7</xsl:when>
196
- <xsl:when test="$class_lc = 'recommendation test'">8</xsl:when>
197
- <xsl:when test="$class_lc = 'permission test'">9</xsl:when>
198
- <xsl:otherwise>9999</xsl:otherwise>
199
- </xsl:choose>
200
- </xsl:attribute>
201
- <xsl:attribute name="num">
202
- <xsl:value-of select="$num"/>
203
- </xsl:attribute>
204
- <title>
205
- <xsl:copy-of select="$title"/>
206
- </title>
207
- <bookmark>
208
- <xsl:value-of select="$bookmark"/>
209
- </bookmark>
210
- </recommendation>
211
- </xsl:for-each>
159
+ <xsl:if test="//mn:metanorma/mn:metanorma-extension/mn:toc[@type='recommendation']/mn:title">
160
+ <xsl:for-each select="//mn:table[.//mn:p[@class = 'RecommendationTitle']]">
161
+ <xsl:variable name="table_id" select="@id"/>
162
+ <recommendation alt-text="{.//mn:p[@class = 'RecommendationTitle'][1]}">
163
+ <xsl:copy-of select="@id"/>
164
+ <xsl:variable name="title">
165
+ <xsl:apply-templates select=".//mn:p[@class = 'RecommendationTitle'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name/node()"/>
166
+ <xsl:if test=".//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/node()">
167
+ <xsl:text>: </xsl:text>
168
+ <xsl:variable name="recommendationLabel">
169
+ <tt><xsl:copy-of select=".//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name/node()"/></tt>
170
+ </xsl:variable>
171
+ <xsl:apply-templates select="xalan:nodeset($recommendationLabel)/node()"/>
172
+ </xsl:if>
173
+ </xsl:variable>
174
+ <xsl:variable name="bookmark">
175
+ <xsl:value-of select="normalize-space(.//mn:p[@class = 'RecommendationTitle'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name)"/>
176
+ <xsl:if test=".//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/node()">
177
+ <xsl:text>: </xsl:text>
178
+ <xsl:value-of select="normalize-space(.//mn:p[@class = 'RecommendationLabel'][ancestor::mn:table[1][@id= $table_id]]/mn:fmt-name)"/>
179
+ </xsl:if>
180
+ </xsl:variable>
181
+ <xsl:variable name="regex_str" select="'^([^0-9]+) (\d+).*'"/>
182
+ <xsl:variable name="class" select="java:replaceAll(java:java.lang.String.new($bookmark), $regex_str, '$1')"/>
183
+ <xsl:variable name="num" select="java:replaceAll(java:java.lang.String.new($bookmark), $regex_str, '$2')"/>
184
+ <xsl:variable name="class_lc" select="java:toLowerCase(java:java.lang.String.new($class))"/>
185
+ <!-- <xsl:attribute name="class_str">
186
+ <xsl:value-of select="$class"/>
187
+ </xsl:attribute> -->
188
+ <xsl:attribute name="class">
189
+ <xsl:choose>
190
+ <xsl:when test="$class_lc = 'requirements class'">1</xsl:when>
191
+ <xsl:when test="$class_lc = 'requirement'">2</xsl:when>
192
+ <xsl:when test="$class_lc = 'recommendation'">3</xsl:when>
193
+ <xsl:when test="$class_lc = 'permission'">4</xsl:when>
194
+ <xsl:when test="$class_lc = 'conformance class'">5</xsl:when>
195
+ <xsl:when test="$class_lc = 'abstract test'">6</xsl:when>
196
+ <xsl:when test="$class_lc = 'requirement test'">7</xsl:when>
197
+ <xsl:when test="$class_lc = 'recommendation test'">8</xsl:when>
198
+ <xsl:when test="$class_lc = 'permission test'">9</xsl:when>
199
+ <xsl:otherwise>9999</xsl:otherwise>
200
+ </xsl:choose>
201
+ </xsl:attribute>
202
+ <xsl:attribute name="num">
203
+ <xsl:value-of select="$num"/>
204
+ </xsl:attribute>
205
+ <title>
206
+ <xsl:copy-of select="$title"/>
207
+ </title>
208
+ <bookmark>
209
+ <xsl:value-of select="$bookmark"/>
210
+ </bookmark>
211
+ </recommendation>
212
+ </xsl:for-each>
213
+ </xsl:if>
212
214
  </xsl:variable>
213
- <xsl:variable name="toc_recommendations">
215
+ <xsl:variable name="toc_recommendations__">
214
216
  <xsl:for-each select="xalan:nodeset($toc_recommendations_)/*">
215
217
  <xsl:sort select="@class" data-type="number"/>
216
218
  <xsl:sort select="@num" data-type="number"/>
217
219
  <xsl:copy-of select="."/>
218
220
  </xsl:for-each>
219
221
  </xsl:variable>
222
+ <xsl:variable name="toc_recommendations" select="xalan:nodeset($toc_recommendations__)"/>
220
223
 
221
224
  <xsl:variable name="contents_">
222
225
  <mnx:contents>
@@ -226,9 +229,9 @@
226
229
  <xsl:call-template name="processMainSectionsDefault_Contents"/>
227
230
  <xsl:apply-templates select="//mn:indexsect" mode="contents"/>
228
231
 
229
- <xsl:call-template name="processTablesFigures_Contents">
230
- <xsl:with-param name="always">true</xsl:with-param>
231
- </xsl:call-template>
232
+ <xsl:call-template name="processTablesFigures_Contents"/>
233
+ <!-- <xsl:with-param name="always">true</xsl:with-param>
234
+ </xsl:call-template> -->
232
235
  </mnx:contents>
233
236
  </xsl:variable>
234
237
  <xsl:variable name="contents" select="xalan:nodeset($contents_)"/>
@@ -298,7 +301,7 @@
298
301
  <xsl:call-template name="addBookmarks">
299
302
  <xsl:with-param name="contents" select="$contents"/>
300
303
  <xsl:with-param name="contents_addon">
301
- <xsl:if test="$contents//mnx:tables/mnx:table or $contents//mnx:figures/mnx:figure or //mn:table[.//mn:p[@class = 'RecommendationTitle']]">
304
+ <xsl:if test="$contents//mnx:tables/mnx:table or $contents//mnx:figures/mnx:figure or $toc_recommendations/*[normalize-space(@id) != '']">
302
305
  <fo:bookmark internal-destination="empty_bookmark">
303
306
  <fo:bookmark-title>—————</fo:bookmark-title>
304
307
  </fo:bookmark>
@@ -336,12 +339,12 @@
336
339
  </fo:bookmark>
337
340
  </xsl:if>
338
341
 
339
- <xsl:if test="//mn:table[.//mn:p[@class = 'RecommendationTitle']]">
342
+ <xsl:if test="$toc_recommendations/*[normalize-space(@id) != '']">
340
343
  <fo:bookmark internal-destination="empty_bookmark" starting-state="hide">
341
344
  <fo:bookmark-title>
342
345
  <xsl:value-of select="$title-list-recommendations"/>
343
346
  </fo:bookmark-title>
344
- <xsl:for-each select="xalan:nodeset($toc_recommendations)/*">
347
+ <xsl:for-each select="$toc_recommendations/*[normalize-space(@id) != '']">
345
348
  <fo:bookmark internal-destination="{@id}">
346
349
  <fo:bookmark-title><xsl:value-of select="bookmark"/></fo:bookmark-title>
347
350
  </fo:bookmark>
@@ -353,6 +356,8 @@
353
356
 
354
357
  <xsl:call-template name="cover-page"/>
355
358
 
359
+ <xsl:call-template name="inner-cover-page"/>
360
+
356
361
  <!-- Copyright, Content, Foreword, etc. pages -->
357
362
  <fo:page-sequence master-reference="preface" initial-page-number="2" format="i" force-page-count="no-force">
358
363
  <xsl:call-template name="insertFootnoteSeparator"/>
@@ -527,6 +532,8 @@
527
532
 
528
533
  </xsl:for-each>
529
534
 
535
+ <xsl:call-template name="back-page"/>
536
+
530
537
  </fo:root>
531
538
 
532
539
  </xsl:template>
@@ -781,6 +788,12 @@
781
788
  </fo:page-sequence>
782
789
  </xsl:template> <!-- END: cover-page -->
783
790
 
791
+ <xsl:template name="inner-cover-page">
792
+ </xsl:template>
793
+
794
+ <xsl:template name="back-page">
795
+ </xsl:template>
796
+
784
797
  <xsl:template name="processPrefaceAndMainSectionsOGC_items">
785
798
  <xsl:variable name="updated_xml_step_move_pagebreak">
786
799
 
@@ -967,12 +980,12 @@
967
980
  </xsl:if>
968
981
 
969
982
  <!-- List of Recommendations -->
970
- <xsl:if test="//mn:table[.//mn:p[@class = 'RecommendationTitle']]">
983
+ <xsl:if test="$toc_recommendations/*[normalize-space(@id) != '']">
971
984
  <xsl:call-template name="insertListOf_Title">
972
985
  <xsl:with-param name="title" select="$title-list-recommendations"/>
973
986
  </xsl:call-template>
974
987
  <fo:block-container line-height="130%" role="TOC">
975
- <xsl:for-each select="xalan:nodeset($toc_recommendations)/*[normalize-space(@id) != '']">
988
+ <xsl:for-each select="$toc_recommendations/*[normalize-space(@id) != '']">
976
989
  <fo:block text-align-last="justify" margin-top="6pt" role="TOCI">
977
990
  <fo:basic-link internal-destination="{@id}">
978
991
  <xsl:call-template name="setAltText">
@@ -1624,6 +1637,17 @@
1624
1637
  </xsl:template>
1625
1638
 
1626
1639
  <xsl:template name="insertHeaderFooter">
1640
+ <xsl:param name="color" select="$color_text_title"/>
1641
+ <xsl:call-template name="insertHeader"/>
1642
+ <xsl:call-template name="insertFooter">
1643
+ <xsl:with-param name="color" select="$color"/>
1644
+ </xsl:call-template>
1645
+ </xsl:template>
1646
+
1647
+ <xsl:template name="insertHeader">
1648
+ </xsl:template>
1649
+
1650
+ <xsl:template name="insertFooter">
1627
1651
  <xsl:param name="color" select="$color_text_title"/>
1628
1652
  <fo:static-content flow-name="footer" role="artifact">
1629
1653
  <fo:block-container font-size="8pt" color="{$color}" padding-top="6mm">
@@ -3581,7 +3605,6 @@
3581
3605
  </xsl:attribute-set> <!-- feedback-statement-title-style -->
3582
3606
 
3583
3607
  <xsl:template name="refine_feedback-statement-title-style">
3584
-
3585
3608
  </xsl:template>
3586
3609
 
3587
3610
  <xsl:attribute-set name="feedback-statement-p-style">
@@ -9503,16 +9526,23 @@
9503
9526
  </xsl:attribute-set> <!-- quote-style -->
9504
9527
 
9505
9528
  <xsl:template name="refine_quote-style">
9506
- </xsl:template>
9529
+ </xsl:template> <!-- refine_quote-style -->
9507
9530
 
9508
9531
  <xsl:attribute-set name="quote-source-style">
9509
9532
  <xsl:attribute name="text-align">right</xsl:attribute>
9510
9533
  <xsl:attribute name="margin-right">25mm</xsl:attribute>
9511
- </xsl:attribute-set>
9534
+ </xsl:attribute-set> <!-- quote-source-style -->
9512
9535
 
9513
9536
  <xsl:template name="refine_quote-source-style">
9514
9537
  </xsl:template>
9515
9538
 
9539
+ <xsl:attribute-set name="source-style">
9540
+ </xsl:attribute-set> <!-- source-style -->
9541
+
9542
+ <xsl:template name="refine_source-style">
9543
+
9544
+ </xsl:template> <!-- refine_source-style -->
9545
+
9516
9546
  <!-- ====== -->
9517
9547
  <!-- quote -->
9518
9548
  <!-- source -->
@@ -9560,7 +9590,9 @@
9560
9590
  </xsl:if>
9561
9591
  <xsl:choose>
9562
9592
  <xsl:when test="not(parent::quote)">
9563
- <fo:block>
9593
+ <fo:block xsl:use-attribute-sets="source-style">
9594
+ <xsl:call-template name="refine_source-style"/>
9595
+
9564
9596
  <xsl:call-template name="insert_basic_link">
9565
9597
  <xsl:with-param name="element">
9566
9598
  <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
@@ -11680,7 +11712,7 @@
11680
11712
 
11681
11713
  <xsl:template name="refine_fn-reference-style">
11682
11714
  <!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
11683
- <xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">,</xsl:if>
11715
+ <xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if><!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'pas'"></xsl:if> -->
11684
11716
  </xsl:template> <!-- refine_fn-reference-style -->
11685
11717
 
11686
11718
  <xsl:attribute-set name="fn-style">
@@ -11691,6 +11723,7 @@
11691
11723
  </xsl:template>
11692
11724
 
11693
11725
  <xsl:attribute-set name="fn-num-style">
11726
+ <xsl:attribute name="role">Reference</xsl:attribute>
11694
11727
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
11695
11728
  <xsl:attribute name="font-size">65%</xsl:attribute>
11696
11729
  <xsl:attribute name="vertical-align">super</xsl:attribute>
@@ -11767,33 +11800,16 @@
11767
11800
  <xsl:variable name="ref_id" select="@target"/>
11768
11801
 
11769
11802
  <xsl:variable name="footnote_inline">
11770
- <fo:inline role="Reference">
11803
+ <fo:inline xsl:use-attribute-sets="fn-num-style">
11771
11804
 
11772
- <xsl:variable name="fn_styles">
11773
- <xsl:choose>
11774
- <xsl:when test="ancestor::mn:bibitem">
11775
- <fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
11776
- <xsl:call-template name="refine_bibitem-note-fn-style"/>
11777
- </fn_styles>
11778
- </xsl:when>
11779
- <xsl:otherwise>
11780
- <fn_styles xsl:use-attribute-sets="fn-num-style">
11781
- <xsl:call-template name="refine_fn-num-style"/>
11782
- </fn_styles>
11783
- </xsl:otherwise>
11784
- </xsl:choose>
11785
- </xsl:variable>
11786
-
11787
- <xsl:for-each select="xalan:nodeset($fn_styles)/fn_styles/@*">
11788
- <xsl:copy-of select="."/>
11789
- </xsl:for-each>
11805
+ <xsl:call-template name="refine_fn-num-style"/>
11790
11806
 
11791
11807
  <!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
11792
11808
  <!-- <xsl:if test="following-sibling::node()[normalize-space() != ''][1][self::mn:fn]">
11793
11809
  <xsl:attribute name="padding-right">0.5mm</xsl:attribute>
11794
11810
  </xsl:if> -->
11795
11811
 
11796
- <xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">,</xsl:if>
11812
+ <xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if>
11797
11813
 
11798
11814
  <xsl:call-template name="insert_basic_link">
11799
11815
  <xsl:with-param name="element">
@@ -12109,30 +12125,6 @@
12109
12125
  <xsl:template name="refine_bibitem-non-normative-list-body-style">
12110
12126
  </xsl:template>
12111
12127
 
12112
- <!-- footnote reference number for bibitem, in the text -->
12113
- <xsl:attribute-set name="bibitem-note-fn-style">
12114
- <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
12115
- <xsl:attribute name="font-size">65%</xsl:attribute>
12116
- <xsl:attribute name="vertical-align">super</xsl:attribute>
12117
- </xsl:attribute-set> <!-- bibitem-note-fn-style -->
12118
-
12119
- <xsl:template name="refine_bibitem-note-fn-style">
12120
- </xsl:template>
12121
-
12122
- <!-- footnote number on the page bottom -->
12123
- <xsl:attribute-set name="bibitem-note-fn-number-style">
12124
- <xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
12125
- <xsl:attribute name="font-size">60%</xsl:attribute>
12126
- <xsl:attribute name="vertical-align">super</xsl:attribute>
12127
- </xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
12128
-
12129
- <!-- footnote body (text) on the page bottom -->
12130
- <xsl:attribute-set name="bibitem-note-fn-body-style">
12131
- <xsl:attribute name="font-size">10pt</xsl:attribute>
12132
- <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
12133
- <xsl:attribute name="start-indent">0pt</xsl:attribute>
12134
- </xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
12135
-
12136
12128
  <xsl:attribute-set name="references-non-normative-style">
12137
12129
  <xsl:attribute name="line-height">120%</xsl:attribute>
12138
12130
  </xsl:attribute-set> <!-- references-non-normative-style -->
@@ -14467,6 +14459,17 @@
14467
14459
  </xsl:attribute-set>
14468
14460
 
14469
14461
  <xsl:template name="refine_clause-style">
14462
+ <!-- commented for https://github.com/metanorma/metanorma-ribose/issues/421 -->
14463
+ <!-- <xsl:if test="$namespace = 'rsd'">
14464
+ <xsl:variable name="level">
14465
+ <xsl:call-template name="getLevel">
14466
+ <xsl:with-param name="depth" select="mn:fmt-title/@depth"/>
14467
+ </xsl:call-template>
14468
+ </xsl:variable>
14469
+ <xsl:if test="$level &gt;= 4">
14470
+ <xsl:attribute name="margin-left">13mm</xsl:attribute>
14471
+ </xsl:if>
14472
+ </xsl:if> -->
14470
14473
  </xsl:template>
14471
14474
 
14472
14475
  <!-- main sections -->