metanorma-bipm 2.7.4 → 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/bipm/bipm.brochure.xsl +134 -112
- data/lib/isodoc/bipm/bipm.guide.xsl +134 -112
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +134 -112
- data/lib/isodoc/bipm/bipm.rapport.xsl +134 -112
- data/lib/isodoc/bipm/html/htmlstyle.css +27 -31
- data/lib/isodoc/bipm/init.rb +1 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +80 -62
- data/lib/isodoc/bipm/presentation_footnotes.rb +2 -5
- data/lib/metanorma/bipm/front.rb +2 -8
- data/lib/metanorma/bipm/isodoc.rng +26 -19
- data/lib/metanorma/bipm/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: 07c83f660d900dfe3cc97c6ed6a86c21232380ea523e5bce91bb04dfab3c3443
|
4
|
+
data.tar.gz: 75f8c0356896f8887c50db6c15ef4d648367a629655606489bdf06255a43bd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e01a981665cf4e4b277bdd5c9e233175bbe688de67d1855d7aaac35719b10f8a9bffbe829bad8c773b9ecdfd824c4edd781e660ead70cc1ae5398b790c9ccf2
|
7
|
+
data.tar.gz: d4931f41c73f104c35903bfc3f5563f42585ac407f0a636135ac38fd11e05a649b32b3aa9c2afde5674875a77d5a52dbf5872ec8afc46348cad819a6bace7294
|
@@ -409,6 +409,8 @@
|
|
409
409
|
|
410
410
|
<xsl:call-template name="cover-page"/>
|
411
411
|
|
412
|
+
<xsl:call-template name="inner-cover-page"/>
|
413
|
+
|
412
414
|
<xsl:choose>
|
413
415
|
<xsl:when test="$root-element = 'metanorma-collection'">
|
414
416
|
|
@@ -597,6 +599,8 @@
|
|
597
599
|
</xsl:otherwise>
|
598
600
|
</xsl:choose>
|
599
601
|
|
602
|
+
<xsl:call-template name="back-page"/>
|
603
|
+
|
600
604
|
</fo:root>
|
601
605
|
</xsl:template>
|
602
606
|
|
@@ -1385,7 +1389,6 @@
|
|
1385
1389
|
</xsl:when>
|
1386
1390
|
<xsl:when test="$independentAppendix = ''">
|
1387
1391
|
<xsl:call-template name="insertCoverPage"/>
|
1388
|
-
<xsl:call-template name="insertInnerCoverPage"/>
|
1389
1392
|
</xsl:when>
|
1390
1393
|
<xsl:when test="$independentAppendix != ''">
|
1391
1394
|
<xsl:call-template name="insertCoverPageAppendix"/>
|
@@ -1760,77 +1763,79 @@
|
|
1760
1763
|
</fo:block-container>
|
1761
1764
|
</xsl:template>
|
1762
1765
|
|
1763
|
-
<xsl:template name="
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
<fo:page-sequence master-reference="title-page" format="1" initial-page-number="1" force-page-count="even">
|
1766
|
+
<xsl:template name="inner-cover-page">
|
1767
|
+
<xsl:if test="$independentAppendix = ''">
|
1768
|
+
<xsl:if test="(//mn:metanorma)[1]/mn:bibdata/mn:title[@type='title-cover']">
|
1768
1769
|
|
1769
|
-
<
|
1770
|
+
<fo:page-sequence master-reference="title-page" format="1" initial-page-number="1" force-page-count="even">
|
1770
1771
|
|
1771
|
-
|
1772
|
+
<xsl:call-template name="insertHeaderDraftWatermark"/>
|
1772
1773
|
|
1773
|
-
<
|
1774
|
-
<xsl:
|
1775
|
-
|
1774
|
+
<fo:flow flow-name="xsl-region-body" font-family="Arial">
|
1775
|
+
<xsl:variable name="languages">
|
1776
|
+
<xsl:call-template name="getLanguages"/>
|
1777
|
+
</xsl:variable>
|
1776
1778
|
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1779
|
+
<xsl:variable name="titles">
|
1780
|
+
<xsl:for-each select="(//mn:metanorma)[1]/mn:bibdata/mn:title">
|
1781
|
+
<xsl:copy-of select="."/>
|
1782
|
+
</xsl:for-each>
|
1783
|
+
</xsl:variable>
|
1782
1784
|
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
<xsl:call-template name="add-letter-spacing">
|
1811
|
-
<xsl:with-param name="text" select="normalize-space($lang_version)"/>
|
1812
|
-
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1813
|
-
</xsl:call-template>
|
1814
|
-
</fo:block>
|
1815
|
-
<fo:block-container font-size="12pt" font-weight="bold" border-top="0.5pt solid black" padding-top="2mm" width="45mm">
|
1816
|
-
<fo:block role="H1">
|
1785
|
+
<xsl:for-each select="xalan:nodeset($languages)/lang">
|
1786
|
+
<xsl:variable name="curr_lang" select="."/>
|
1787
|
+
<xsl:variable name="title" select="xalan:nodeset($titles)//mn:title[@language = $curr_lang and @type='title-cover']"/>
|
1788
|
+
<xsl:choose>
|
1789
|
+
<xsl:when test="position() = 1">
|
1790
|
+
<fo:block-container font-size="12pt" font-weight="bold" width="55mm">
|
1791
|
+
<fo:block>
|
1792
|
+
<xsl:call-template name="add-letter-spacing">
|
1793
|
+
<xsl:with-param name="text" select="$title"/>
|
1794
|
+
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1795
|
+
</xsl:call-template>
|
1796
|
+
</fo:block>
|
1797
|
+
<fo:block font-size="10pt">
|
1798
|
+
<fo:block margin-bottom="6pt"> </fo:block>
|
1799
|
+
<fo:block margin-bottom="6pt"> </fo:block>
|
1800
|
+
<fo:block margin-bottom="6pt"> </fo:block>
|
1801
|
+
<fo:block margin-bottom="6pt" line-height="2.4"> </fo:block>
|
1802
|
+
</fo:block>
|
1803
|
+
</fo:block-container>
|
1804
|
+
</xsl:when>
|
1805
|
+
<xsl:otherwise>
|
1806
|
+
<fo:block font-size="10pt" margin-bottom="3pt">
|
1807
|
+
<xsl:variable name="lang_version">
|
1808
|
+
<xsl:call-template name="getLangVersion">
|
1809
|
+
<xsl:with-param name="lang" select="$curr_lang"/>
|
1810
|
+
</xsl:call-template>
|
1811
|
+
</xsl:variable>
|
1817
1812
|
<xsl:call-template name="add-letter-spacing">
|
1818
|
-
<xsl:with-param name="text" select="$
|
1813
|
+
<xsl:with-param name="text" select="normalize-space($lang_version)"/>
|
1819
1814
|
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1820
1815
|
</xsl:call-template>
|
1821
1816
|
</fo:block>
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1817
|
+
<fo:block-container font-size="12pt" font-weight="bold" border-top="0.5pt solid black" padding-top="2mm" width="45mm">
|
1818
|
+
<fo:block role="H1">
|
1819
|
+
<xsl:call-template name="add-letter-spacing">
|
1820
|
+
<xsl:with-param name="text" select="$title"/>
|
1821
|
+
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1822
|
+
</xsl:call-template>
|
1823
|
+
</fo:block>
|
1824
|
+
</fo:block-container>
|
1825
|
+
</xsl:otherwise>
|
1827
1826
|
|
1828
|
-
|
1829
|
-
|
1827
|
+
</xsl:choose>
|
1828
|
+
</xsl:for-each>
|
1829
|
+
</fo:flow>
|
1830
|
+
</fo:page-sequence>
|
1831
|
+
</xsl:if>
|
1830
1832
|
</xsl:if>
|
1831
|
-
</xsl:template>
|
1833
|
+
</xsl:template> <!-- END: inner-cover-page -->
|
1832
1834
|
<!-- End Cover Pages -->
|
1833
1835
|
|
1836
|
+
<xsl:template name="back-page">
|
1837
|
+
</xsl:template>
|
1838
|
+
|
1834
1839
|
<xsl:template match="mn:metanorma/mn:bibdata/mn:title[@language = 'en']/text()" priority="3">
|
1835
1840
|
<xsl:variable name="mep_text" select="'Mise en pratique'"/>
|
1836
1841
|
<xsl:choose>
|
@@ -2273,7 +2278,7 @@
|
|
2273
2278
|
</xsl:template>
|
2274
2279
|
|
2275
2280
|
<xsl:template match="mn:feedback-statement//mn:p" priority="2">
|
2276
|
-
<fo:block
|
2281
|
+
<fo:block xsl:use-attribute-sets="feedback-statement-p-style">
|
2277
2282
|
<xsl:variable name="p_num"><xsl:number/></xsl:variable>
|
2278
2283
|
<xsl:if test="$p_num = 1">Édité par le </xsl:if>
|
2279
2284
|
<xsl:apply-templates/>
|
@@ -4290,6 +4295,7 @@
|
|
4290
4295
|
<xsl:variable name="en_dash">–</xsl:variable>
|
4291
4296
|
<xsl:variable name="em_dash">—</xsl:variable>
|
4292
4297
|
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
4298
|
+
<xsl:variable name="nonbreak_space_em_dash"> —</xsl:variable>
|
4293
4299
|
<xsl:variable name="cr"> </xsl:variable>
|
4294
4300
|
<xsl:variable name="lf">
|
4295
4301
|
</xsl:variable>
|
@@ -4832,6 +4838,7 @@
|
|
4832
4838
|
<xsl:template match="mn:title[following-sibling::*[1][self::mn:fmt-title]]" mode="update_xml_step1"/>
|
4833
4839
|
<xsl:template match="mn:name[following-sibling::*[1][self::mn:fmt-name]]" mode="update_xml_step1"/>
|
4834
4840
|
<xsl:template match="mn:section-title[following-sibling::*[1][self::mn:p][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
|
4841
|
+
<xsl:template match="mn:floating-title[following-sibling::*[1][self::mn:p][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
|
4835
4842
|
<!-- <xsl:template match="mn:preferred[following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
|
4836
4843
|
<xsl:template match="mn:preferred" mode="update_xml_step1"/>
|
4837
4844
|
<!-- <xsl:template match="mn:admitted[following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
|
@@ -4846,10 +4853,10 @@
|
|
4846
4853
|
|
4847
4854
|
<xsl:template match="mn:term[@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
|
4848
4855
|
|
4849
|
-
<xsl:template match="mn:p[@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][self::mn:section-title]]" mode="update_xml_step1">
|
4856
|
+
<xsl:template match="mn:p[@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][self::mn:section-title or self::mn:floating-title]]" mode="update_xml_step1">
|
4850
4857
|
<xsl:copy>
|
4851
4858
|
<xsl:apply-templates select="@*" mode="update_xml_step1"/>
|
4852
|
-
<xsl:copy-of select="preceding-sibling::*[1][self::mn:section-title]/@depth"/>
|
4859
|
+
<xsl:copy-of select="preceding-sibling::*[1][self::mn:section-title or self::mn:floating-title]/@depth"/>
|
4853
4860
|
<xsl:apply-templates select="node()" mode="update_xml_step1"/>
|
4854
4861
|
</xsl:copy>
|
4855
4862
|
</xsl:template>
|
@@ -5699,10 +5706,10 @@
|
|
5699
5706
|
</xsl:attribute-set> <!-- feedback-statement-title-style -->
|
5700
5707
|
|
5701
5708
|
<xsl:template name="refine_feedback-statement-title-style">
|
5702
|
-
|
5703
5709
|
</xsl:template>
|
5704
5710
|
|
5705
5711
|
<xsl:attribute-set name="feedback-statement-p-style">
|
5712
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
5706
5713
|
</xsl:attribute-set> <!-- feedback-statement-p-style -->
|
5707
5714
|
|
5708
5715
|
<xsl:template name="refine_feedback-statement-p-style">
|
@@ -5960,6 +5967,12 @@
|
|
5960
5967
|
<xsl:template name="refine_sourcecode-style">
|
5961
5968
|
</xsl:template> <!-- refine_sourcecode-style -->
|
5962
5969
|
|
5970
|
+
<xsl:attribute-set name="sourcecode-number-style">
|
5971
|
+
</xsl:attribute-set>
|
5972
|
+
|
5973
|
+
<xsl:template name="refine_sourcecode-number-style">
|
5974
|
+
</xsl:template>
|
5975
|
+
|
5963
5976
|
<xsl:attribute-set name="sourcecode-name-style">
|
5964
5977
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
5965
5978
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
@@ -7344,6 +7357,12 @@
|
|
7344
7357
|
<xsl:template name="refine_term-name-style">
|
7345
7358
|
</xsl:template>
|
7346
7359
|
|
7360
|
+
<xsl:attribute-set name="preferred-style">
|
7361
|
+
</xsl:attribute-set> <!-- preferred-style -->
|
7362
|
+
|
7363
|
+
<xsl:template name="refine_preferred-style">
|
7364
|
+
</xsl:template>
|
7365
|
+
|
7347
7366
|
<xsl:attribute-set name="preferred-block-style">
|
7348
7367
|
</xsl:attribute-set> <!-- preferred-block-style -->
|
7349
7368
|
|
@@ -7978,6 +7997,12 @@
|
|
7978
7997
|
<xsl:call-template name="setBordersTableArray"/>
|
7979
7998
|
</xsl:template> <!-- refine_table-style -->
|
7980
7999
|
|
8000
|
+
<xsl:attribute-set name="table-number-style">
|
8001
|
+
</xsl:attribute-set>
|
8002
|
+
|
8003
|
+
<xsl:template name="refine_table-number-style">
|
8004
|
+
</xsl:template>
|
8005
|
+
|
7981
8006
|
<xsl:attribute-set name="table-name-style">
|
7982
8007
|
<xsl:attribute name="role">Caption</xsl:attribute>
|
7983
8008
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
@@ -11538,15 +11563,22 @@
|
|
11538
11563
|
</xsl:attribute-set> <!-- quote-style -->
|
11539
11564
|
|
11540
11565
|
<xsl:template name="refine_quote-style">
|
11541
|
-
</xsl:template>
|
11566
|
+
</xsl:template> <!-- refine_quote-style -->
|
11542
11567
|
|
11543
11568
|
<xsl:attribute-set name="quote-source-style">
|
11544
11569
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
11545
|
-
</xsl:attribute-set>
|
11570
|
+
</xsl:attribute-set> <!-- quote-source-style -->
|
11546
11571
|
|
11547
11572
|
<xsl:template name="refine_quote-source-style">
|
11548
11573
|
</xsl:template>
|
11549
11574
|
|
11575
|
+
<xsl:attribute-set name="source-style">
|
11576
|
+
</xsl:attribute-set> <!-- source-style -->
|
11577
|
+
|
11578
|
+
<xsl:template name="refine_source-style">
|
11579
|
+
|
11580
|
+
</xsl:template> <!-- refine_source-style -->
|
11581
|
+
|
11550
11582
|
<!-- ====== -->
|
11551
11583
|
<!-- quote -->
|
11552
11584
|
<!-- source -->
|
@@ -11594,7 +11626,9 @@
|
|
11594
11626
|
</xsl:if>
|
11595
11627
|
<xsl:choose>
|
11596
11628
|
<xsl:when test="not(parent::quote)">
|
11597
|
-
<fo:block>
|
11629
|
+
<fo:block xsl:use-attribute-sets="source-style">
|
11630
|
+
<xsl:call-template name="refine_source-style"/>
|
11631
|
+
|
11598
11632
|
<xsl:call-template name="insert_basic_link">
|
11599
11633
|
<xsl:with-param name="element">
|
11600
11634
|
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
|
@@ -11643,6 +11677,12 @@
|
|
11643
11677
|
<xsl:template name="refine_figure-style">
|
11644
11678
|
</xsl:template>
|
11645
11679
|
|
11680
|
+
<xsl:attribute-set name="figure-number-style">
|
11681
|
+
</xsl:attribute-set>
|
11682
|
+
|
11683
|
+
<xsl:template name="refine_figure-number-style">
|
11684
|
+
</xsl:template>
|
11685
|
+
|
11646
11686
|
<xsl:attribute-set name="figure-name-style">
|
11647
11687
|
<xsl:attribute name="role">Caption</xsl:attribute>
|
11648
11688
|
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
@@ -13717,7 +13757,7 @@
|
|
13717
13757
|
|
13718
13758
|
<xsl:template name="refine_fn-reference-style">
|
13719
13759
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
13720
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
13760
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if><!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'pas'"></xsl:if> -->
|
13721
13761
|
</xsl:template> <!-- refine_fn-reference-style -->
|
13722
13762
|
|
13723
13763
|
<xsl:attribute-set name="fn-style">
|
@@ -13728,6 +13768,7 @@
|
|
13728
13768
|
</xsl:template>
|
13729
13769
|
|
13730
13770
|
<xsl:attribute-set name="fn-num-style">
|
13771
|
+
<xsl:attribute name="role">Reference</xsl:attribute>
|
13731
13772
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
13732
13773
|
<xsl:attribute name="font-size">65%</xsl:attribute>
|
13733
13774
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
@@ -13804,33 +13845,16 @@
|
|
13804
13845
|
<xsl:variable name="ref_id" select="@target"/>
|
13805
13846
|
|
13806
13847
|
<xsl:variable name="footnote_inline">
|
13807
|
-
<fo:inline
|
13808
|
-
|
13809
|
-
<xsl:variable name="fn_styles">
|
13810
|
-
<xsl:choose>
|
13811
|
-
<xsl:when test="ancestor::mn:bibitem">
|
13812
|
-
<fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
|
13813
|
-
<xsl:call-template name="refine_bibitem-note-fn-style"/>
|
13814
|
-
</fn_styles>
|
13815
|
-
</xsl:when>
|
13816
|
-
<xsl:otherwise>
|
13817
|
-
<fn_styles xsl:use-attribute-sets="fn-num-style">
|
13818
|
-
<xsl:call-template name="refine_fn-num-style"/>
|
13819
|
-
</fn_styles>
|
13820
|
-
</xsl:otherwise>
|
13821
|
-
</xsl:choose>
|
13822
|
-
</xsl:variable>
|
13848
|
+
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
13823
13849
|
|
13824
|
-
<xsl:
|
13825
|
-
<xsl:copy-of select="."/>
|
13826
|
-
</xsl:for-each>
|
13850
|
+
<xsl:call-template name="refine_fn-num-style"/>
|
13827
13851
|
|
13828
13852
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
13829
13853
|
<!-- <xsl:if test="following-sibling::node()[normalize-space() != ''][1][self::mn:fn]">
|
13830
13854
|
<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
|
13831
13855
|
</xsl:if> -->
|
13832
13856
|
|
13833
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
13857
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if>
|
13834
13858
|
|
13835
13859
|
<xsl:call-template name="insert_basic_link">
|
13836
13860
|
<xsl:with-param name="element">
|
@@ -14139,30 +14163,6 @@
|
|
14139
14163
|
<xsl:template name="refine_bibitem-non-normative-list-body-style">
|
14140
14164
|
</xsl:template>
|
14141
14165
|
|
14142
|
-
<!-- footnote reference number for bibitem, in the text -->
|
14143
|
-
<xsl:attribute-set name="bibitem-note-fn-style">
|
14144
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
14145
|
-
<xsl:attribute name="font-size">65%</xsl:attribute>
|
14146
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
14147
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-style -->
|
14148
|
-
|
14149
|
-
<xsl:template name="refine_bibitem-note-fn-style">
|
14150
|
-
</xsl:template>
|
14151
|
-
|
14152
|
-
<!-- footnote number on the page bottom -->
|
14153
|
-
<xsl:attribute-set name="bibitem-note-fn-number-style">
|
14154
|
-
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
14155
|
-
<xsl:attribute name="font-size">60%</xsl:attribute>
|
14156
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
14157
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
|
14158
|
-
|
14159
|
-
<!-- footnote body (text) on the page bottom -->
|
14160
|
-
<xsl:attribute-set name="bibitem-note-fn-body-style">
|
14161
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
14162
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
14163
|
-
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
14164
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
|
14165
|
-
|
14166
14166
|
<xsl:attribute-set name="references-non-normative-style">
|
14167
14167
|
<xsl:attribute name="line-height">120%</xsl:attribute>
|
14168
14168
|
</xsl:attribute-set> <!-- references-non-normative-style -->
|
@@ -16565,10 +16565,28 @@
|
|
16565
16565
|
</xsl:choose>
|
16566
16566
|
</xsl:template>
|
16567
16567
|
|
16568
|
+
<xsl:attribute-set name="clause-style">
|
16569
|
+
|
16570
|
+
</xsl:attribute-set>
|
16571
|
+
|
16572
|
+
<xsl:template name="refine_clause-style">
|
16573
|
+
<!-- commented for https://github.com/metanorma/metanorma-ribose/issues/421 -->
|
16574
|
+
<!-- <xsl:if test="$namespace = 'rsd'">
|
16575
|
+
<xsl:variable name="level">
|
16576
|
+
<xsl:call-template name="getLevel">
|
16577
|
+
<xsl:with-param name="depth" select="mn:fmt-title/@depth"/>
|
16578
|
+
</xsl:call-template>
|
16579
|
+
</xsl:variable>
|
16580
|
+
<xsl:if test="$level >= 4">
|
16581
|
+
<xsl:attribute name="margin-left">13mm</xsl:attribute>
|
16582
|
+
</xsl:if>
|
16583
|
+
</xsl:if> -->
|
16584
|
+
</xsl:template>
|
16585
|
+
|
16568
16586
|
<!-- main sections -->
|
16569
16587
|
<xsl:template match="/*/mn:sections/*" name="sections_node" priority="2">
|
16570
16588
|
<xsl:call-template name="setNamedDestination"/>
|
16571
|
-
<fo:block>
|
16589
|
+
<fo:block role="Sect">
|
16572
16590
|
<xsl:call-template name="setId"/>
|
16573
16591
|
|
16574
16592
|
<xsl:call-template name="sections_element_style"/>
|
@@ -16693,6 +16711,10 @@
|
|
16693
16711
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
16694
16712
|
</xsl:template>
|
16695
16713
|
|
16714
|
+
<!-- for case when update_xml_step1 (common.updatexml.xsl) doesn't apply when $table_if = 'true' -->
|
16715
|
+
<xsl:template match="mn:title[following-sibling::*[1][self::mn:fmt-title]]"/>
|
16716
|
+
<xsl:template match="mn:name[following-sibling::*[1][self::mn:fmt-name]]"/>
|
16717
|
+
|
16696
16718
|
<!-- insert fo:basic-link, if external-destination or internal-destination is non-empty, otherwise insert fo:inline -->
|
16697
16719
|
<xsl:template name="insert_basic_link">
|
16698
16720
|
<xsl:param name="element"/>
|