metanorma-itu 2.7.5 → 2.7.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 +4 -4
- data/lib/isodoc/itu/init.rb +1 -1
- data/lib/isodoc/itu/itu.implementers-guide.xsl +73 -70
- data/lib/isodoc/itu/itu.in-force.xsl +73 -70
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +73 -70
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +73 -70
- data/lib/isodoc/itu/itu.recommendation.xsl +73 -70
- data/lib/isodoc/itu/itu.resolution.xsl +73 -70
- data/lib/isodoc/itu/itu.service-publication.xsl +73 -70
- data/lib/isodoc/itu/itu.technical-paper.xsl +73 -70
- data/lib/isodoc/itu/itu.technical-report.xsl +73 -70
- data/lib/isodoc/itu/presentation_ref.rb +1 -1
- data/lib/isodoc/itu/presentation_xml_convert.rb +2 -2
- data/lib/metanorma/itu/version.rb +1 -1
- metadata +2 -2
@@ -326,6 +326,10 @@
|
|
326
326
|
<xsl:with-param name="num" select="$num"/>
|
327
327
|
</xsl:call-template>
|
328
328
|
|
329
|
+
<xsl:call-template name="inner-cover-page">
|
330
|
+
<xsl:with-param name="num" select="$num"/>
|
331
|
+
</xsl:call-template>
|
332
|
+
|
329
333
|
<!-- <xsl:for-each select="xalan:nodeset($updated_xml)/*"> -->
|
330
334
|
|
331
335
|
<!-- <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma">
|
@@ -588,6 +592,8 @@
|
|
588
592
|
</xsl:for-each>
|
589
593
|
</xsl:for-each>
|
590
594
|
|
595
|
+
<xsl:call-template name="back-page"/>
|
596
|
+
|
591
597
|
</fo:root>
|
592
598
|
</xsl:template>
|
593
599
|
|
@@ -1072,24 +1078,6 @@
|
|
1072
1078
|
</fo:block-container>
|
1073
1079
|
</fo:flow>
|
1074
1080
|
</fo:page-sequence>
|
1075
|
-
<!-- Second cover page -->
|
1076
|
-
<xsl:variable name="secondCoverPageData_">
|
1077
|
-
<xsl:call-template name="insertBackgroundPageImage">
|
1078
|
-
<xsl:with-param name="number">2</xsl:with-param>
|
1079
|
-
</xsl:call-template>
|
1080
|
-
</xsl:variable>
|
1081
|
-
<xsl:variable name="secondCoverPageData" select="xalan:nodeset($secondCoverPageData_)"/>
|
1082
|
-
<fo:page-sequence force-page-count="no-force" master-reference="cover-page_2023">
|
1083
|
-
<xsl:if test="$secondCoverPageData//*[self::fo:instream-foreign-object or self::fo:external-graphic]">
|
1084
|
-
<fo:static-content flow-name="header" role="artifact" id="__internal_layout__coverpage2_header_{$num}_{generate-id()}">
|
1085
|
-
<xsl:copy-of select="$secondCoverPageData"/>
|
1086
|
-
</fo:static-content>
|
1087
|
-
</xsl:if>
|
1088
|
-
<fo:flow flow-name="xsl-region-body">
|
1089
|
-
<fo:block> </fo:block>
|
1090
|
-
</fo:flow>
|
1091
|
-
</fo:page-sequence>
|
1092
|
-
<!-- End: Second cover page -->
|
1093
1081
|
</xsl:when> <!-- $layoutVersion = '2023' -->
|
1094
1082
|
|
1095
1083
|
<xsl:otherwise>
|
@@ -1761,6 +1749,41 @@
|
|
1761
1749
|
<!-- ============================================= -->
|
1762
1750
|
</xsl:template>
|
1763
1751
|
|
1752
|
+
<xsl:template name="inner-cover-page">
|
1753
|
+
<xsl:param name="num"/>
|
1754
|
+
<xsl:variable name="document_scheme" select="normalize-space(/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata[mn:name = 'document-scheme']/mn:value)"/>
|
1755
|
+
<xsl:variable name="layoutVersion_">
|
1756
|
+
<xsl:choose>
|
1757
|
+
<xsl:when test="$document_scheme = '' or $document_scheme = 'current'">2023</xsl:when>
|
1758
|
+
<xsl:otherwise>default</xsl:otherwise>
|
1759
|
+
</xsl:choose>
|
1760
|
+
</xsl:variable>
|
1761
|
+
<xsl:variable name="layoutVersion" select="normalize-space($layoutVersion_)"/>
|
1762
|
+
<xsl:if test="$layoutVersion = '2023'">
|
1763
|
+
<!-- Second cover page -->
|
1764
|
+
<xsl:variable name="secondCoverPageData_">
|
1765
|
+
<xsl:call-template name="insertBackgroundPageImage">
|
1766
|
+
<xsl:with-param name="number">2</xsl:with-param>
|
1767
|
+
</xsl:call-template>
|
1768
|
+
</xsl:variable>
|
1769
|
+
<xsl:variable name="secondCoverPageData" select="xalan:nodeset($secondCoverPageData_)"/>
|
1770
|
+
<fo:page-sequence force-page-count="no-force" master-reference="cover-page_2023">
|
1771
|
+
<xsl:if test="$secondCoverPageData//*[self::fo:instream-foreign-object or self::fo:external-graphic]">
|
1772
|
+
<fo:static-content flow-name="header" role="artifact" id="__internal_layout__coverpage2_header_{$num}_{generate-id()}">
|
1773
|
+
<xsl:copy-of select="$secondCoverPageData"/>
|
1774
|
+
</fo:static-content>
|
1775
|
+
</xsl:if>
|
1776
|
+
<fo:flow flow-name="xsl-region-body">
|
1777
|
+
<fo:block> </fo:block>
|
1778
|
+
</fo:flow>
|
1779
|
+
</fo:page-sequence>
|
1780
|
+
<!-- End: Second cover page -->
|
1781
|
+
</xsl:if>
|
1782
|
+
</xsl:template> <!-- END: inner-cover-page -->
|
1783
|
+
|
1784
|
+
<xsl:template name="back-page">
|
1785
|
+
</xsl:template>
|
1786
|
+
|
1764
1787
|
<xsl:template name="insertMeetingInfo">
|
1765
1788
|
<fo:block><xsl:value-of select="/mn:metanorma/mn:bibdata/mn:ext/mn:meeting"/></fo:block>
|
1766
1789
|
<fo:block>
|
@@ -2345,7 +2368,7 @@
|
|
2345
2368
|
<!-- ====== -->
|
2346
2369
|
|
2347
2370
|
<xsl:template match="mn:legal-statement//mn:p | mn:license-statement//mn:p" priority="2">
|
2348
|
-
<fo:block
|
2371
|
+
<fo:block xsl:use-attribute-sets="legal-statement-p-style">
|
2349
2372
|
<xsl:apply-templates/>
|
2350
2373
|
</fo:block>
|
2351
2374
|
<xsl:if test="not(following-sibling::mn:p)"> <!-- last para -->
|
@@ -4660,6 +4683,7 @@
|
|
4660
4683
|
</xsl:template>
|
4661
4684
|
|
4662
4685
|
<xsl:attribute-set name="license-statement-p-style">
|
4686
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
4663
4687
|
</xsl:attribute-set> <!-- license-statement-p-style -->
|
4664
4688
|
|
4665
4689
|
<xsl:template name="refine_license-statement-p-style">
|
@@ -4682,6 +4706,7 @@
|
|
4682
4706
|
</xsl:template>
|
4683
4707
|
|
4684
4708
|
<xsl:attribute-set name="legal-statement-p-style">
|
4709
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
4685
4710
|
</xsl:attribute-set> <!-- legal-statement-p-style -->
|
4686
4711
|
|
4687
4712
|
<xsl:template name="refine_legal-statement-p-style">
|
@@ -4703,7 +4728,6 @@
|
|
4703
4728
|
</xsl:attribute-set> <!-- feedback-statement-title-style -->
|
4704
4729
|
|
4705
4730
|
<xsl:template name="refine_feedback-statement-title-style">
|
4706
|
-
|
4707
4731
|
</xsl:template>
|
4708
4732
|
|
4709
4733
|
<xsl:attribute-set name="feedback-statement-p-style">
|
@@ -10576,15 +10600,22 @@
|
|
10576
10600
|
</xsl:attribute-set> <!-- quote-style -->
|
10577
10601
|
|
10578
10602
|
<xsl:template name="refine_quote-style">
|
10579
|
-
</xsl:template>
|
10603
|
+
</xsl:template> <!-- refine_quote-style -->
|
10580
10604
|
|
10581
10605
|
<xsl:attribute-set name="quote-source-style">
|
10582
10606
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
10583
|
-
</xsl:attribute-set>
|
10607
|
+
</xsl:attribute-set> <!-- quote-source-style -->
|
10584
10608
|
|
10585
10609
|
<xsl:template name="refine_quote-source-style">
|
10586
10610
|
</xsl:template>
|
10587
10611
|
|
10612
|
+
<xsl:attribute-set name="source-style">
|
10613
|
+
</xsl:attribute-set> <!-- source-style -->
|
10614
|
+
|
10615
|
+
<xsl:template name="refine_source-style">
|
10616
|
+
|
10617
|
+
</xsl:template> <!-- refine_source-style -->
|
10618
|
+
|
10588
10619
|
<!-- ====== -->
|
10589
10620
|
<!-- quote -->
|
10590
10621
|
<!-- source -->
|
@@ -10632,7 +10663,9 @@
|
|
10632
10663
|
</xsl:if>
|
10633
10664
|
<xsl:choose>
|
10634
10665
|
<xsl:when test="not(parent::quote)">
|
10635
|
-
<fo:block>
|
10666
|
+
<fo:block xsl:use-attribute-sets="source-style">
|
10667
|
+
<xsl:call-template name="refine_source-style"/>
|
10668
|
+
|
10636
10669
|
<xsl:call-template name="insert_basic_link">
|
10637
10670
|
<xsl:with-param name="element">
|
10638
10671
|
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
|
@@ -12729,7 +12762,7 @@
|
|
12729
12762
|
|
12730
12763
|
<xsl:template name="refine_fn-reference-style">
|
12731
12764
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
12732
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
12765
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if><!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'pas'"></xsl:if> -->
|
12733
12766
|
</xsl:template> <!-- refine_fn-reference-style -->
|
12734
12767
|
|
12735
12768
|
<xsl:attribute-set name="fn-style">
|
@@ -12740,7 +12773,9 @@
|
|
12740
12773
|
</xsl:template>
|
12741
12774
|
|
12742
12775
|
<xsl:attribute-set name="fn-num-style">
|
12776
|
+
<xsl:attribute name="role">Reference</xsl:attribute>
|
12743
12777
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
12778
|
+
<xsl:attribute name="font-size">65%</xsl:attribute>
|
12744
12779
|
<xsl:attribute name="font-size">60%</xsl:attribute>
|
12745
12780
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
12746
12781
|
</xsl:attribute-set> <!-- fn-num-style -->
|
@@ -12819,33 +12854,16 @@
|
|
12819
12854
|
<xsl:variable name="ref_id" select="@target"/>
|
12820
12855
|
|
12821
12856
|
<xsl:variable name="footnote_inline">
|
12822
|
-
<fo:inline
|
12823
|
-
|
12824
|
-
<xsl:variable name="fn_styles">
|
12825
|
-
<xsl:choose>
|
12826
|
-
<xsl:when test="ancestor::mn:bibitem">
|
12827
|
-
<fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
|
12828
|
-
<xsl:call-template name="refine_bibitem-note-fn-style"/>
|
12829
|
-
</fn_styles>
|
12830
|
-
</xsl:when>
|
12831
|
-
<xsl:otherwise>
|
12832
|
-
<fn_styles xsl:use-attribute-sets="fn-num-style">
|
12833
|
-
<xsl:call-template name="refine_fn-num-style"/>
|
12834
|
-
</fn_styles>
|
12835
|
-
</xsl:otherwise>
|
12836
|
-
</xsl:choose>
|
12837
|
-
</xsl:variable>
|
12857
|
+
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
12838
12858
|
|
12839
|
-
<xsl:
|
12840
|
-
<xsl:copy-of select="."/>
|
12841
|
-
</xsl:for-each>
|
12859
|
+
<xsl:call-template name="refine_fn-num-style"/>
|
12842
12860
|
|
12843
12861
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
12844
12862
|
<!-- <xsl:if test="following-sibling::node()[normalize-space() != ''][1][self::mn:fn]">
|
12845
12863
|
<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
|
12846
12864
|
</xsl:if> -->
|
12847
12865
|
|
12848
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
12866
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if>
|
12849
12867
|
|
12850
12868
|
<xsl:call-template name="insert_basic_link">
|
12851
12869
|
<xsl:with-param name="element">
|
@@ -13154,32 +13172,6 @@
|
|
13154
13172
|
<xsl:template name="refine_bibitem-non-normative-list-body-style">
|
13155
13173
|
</xsl:template>
|
13156
13174
|
|
13157
|
-
<!-- footnote reference number for bibitem, in the text -->
|
13158
|
-
<xsl:attribute-set name="bibitem-note-fn-style">
|
13159
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
13160
|
-
<xsl:attribute name="font-size">65%</xsl:attribute>
|
13161
|
-
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
13162
|
-
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
13163
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-style -->
|
13164
|
-
|
13165
|
-
<xsl:template name="refine_bibitem-note-fn-style">
|
13166
|
-
</xsl:template>
|
13167
|
-
|
13168
|
-
<!-- footnote number on the page bottom -->
|
13169
|
-
<xsl:attribute-set name="bibitem-note-fn-number-style">
|
13170
|
-
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
13171
|
-
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
13172
|
-
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
13173
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
|
13174
|
-
|
13175
|
-
<!-- footnote body (text) on the page bottom -->
|
13176
|
-
<xsl:attribute-set name="bibitem-note-fn-body-style">
|
13177
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
13178
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
13179
|
-
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
13180
|
-
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
13181
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
|
13182
|
-
|
13183
13175
|
<xsl:attribute-set name="references-non-normative-style">
|
13184
13176
|
</xsl:attribute-set> <!-- references-non-normative-style -->
|
13185
13177
|
|
@@ -15586,6 +15578,17 @@
|
|
15586
15578
|
</xsl:attribute-set>
|
15587
15579
|
|
15588
15580
|
<xsl:template name="refine_clause-style">
|
15581
|
+
<!-- commented for https://github.com/metanorma/metanorma-ribose/issues/421 -->
|
15582
|
+
<!-- <xsl:if test="$namespace = 'rsd'">
|
15583
|
+
<xsl:variable name="level">
|
15584
|
+
<xsl:call-template name="getLevel">
|
15585
|
+
<xsl:with-param name="depth" select="mn:fmt-title/@depth"/>
|
15586
|
+
</xsl:call-template>
|
15587
|
+
</xsl:variable>
|
15588
|
+
<xsl:if test="$level >= 4">
|
15589
|
+
<xsl:attribute name="margin-left">13mm</xsl:attribute>
|
15590
|
+
</xsl:if>
|
15591
|
+
</xsl:if> -->
|
15589
15592
|
</xsl:template>
|
15590
15593
|
|
15591
15594
|
<!-- main sections -->
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.6
|
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-09-
|
11
|
+
date: 2025-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|