metanorma-bipm 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/bipm/bipm.brochure.xsl +94 -109
- data/lib/isodoc/bipm/bipm.guide.xsl +94 -109
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +94 -109
- data/lib/isodoc/bipm/bipm.rapport.xsl +94 -109
- data/lib/isodoc/bipm/init.rb +1 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +38 -57
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +2 -2
@@ -164,10 +164,10 @@
|
|
164
164
|
<fo:region-end extent="19mm"/>
|
165
165
|
</fo:simple-page-master>
|
166
166
|
<!-- internal cover page -->
|
167
|
-
<fo:simple-page-master master-name="
|
167
|
+
<fo:simple-page-master master-name="inner-cover-page" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
|
168
168
|
<fo:region-body margin-top="11mm" margin-bottom="21mm" margin-left="25mm" margin-right="19mm"/>
|
169
169
|
<fo:region-before region-name="header" extent="11mm"/>
|
170
|
-
<fo:region-after region-name="
|
170
|
+
<fo:region-after region-name="inner-cover-page-footer" extent="21mm"/>
|
171
171
|
<fo:region-start extent="25mm"/>
|
172
172
|
<fo:region-end extent="19mm"/>
|
173
173
|
</fo:simple-page-master>
|
@@ -253,6 +253,8 @@
|
|
253
253
|
|
254
254
|
<xsl:call-template name="cover-page"/>
|
255
255
|
|
256
|
+
<xsl:call-template name="inner-cover-page"/>
|
257
|
+
|
256
258
|
<xsl:variable name="updated_xml">
|
257
259
|
<xsl:call-template name="updateXML"/>
|
258
260
|
<!-- <xsl:copy-of select="."/> -->
|
@@ -427,9 +429,11 @@
|
|
427
429
|
</fo:block-container>
|
428
430
|
</fo:flow>
|
429
431
|
</fo:page-sequence>
|
432
|
+
</xsl:template> <!-- END: cover-page -->
|
430
433
|
|
431
|
-
|
432
|
-
|
434
|
+
<xsl:template name="inner-cover-page">
|
435
|
+
<fo:page-sequence master-reference="inner-cover-page" force-page-count="no-force">
|
436
|
+
<fo:static-content flow-name="inner-cover-page-footer" font-size="9pt">
|
433
437
|
<!-- example: (c) JCGM 2009— All rights reserved -->
|
434
438
|
<fo:block text-align="right">
|
435
439
|
<xsl:value-of select="$copyrightText"/>
|
@@ -477,8 +481,8 @@
|
|
477
481
|
</xsl:if>
|
478
482
|
</fo:block>
|
479
483
|
</fo:flow>
|
480
|
-
</fo:page-sequence>
|
481
|
-
|
484
|
+
</fo:page-sequence>
|
485
|
+
</xsl:template> <!-- END: inner-cover-page -->
|
482
486
|
|
483
487
|
<xsl:template name="processPrefaceAndMainSectionsJCGM_items">
|
484
488
|
|
@@ -3587,7 +3591,6 @@
|
|
3587
3591
|
</xsl:attribute-set> <!-- feedback-statement-title-style -->
|
3588
3592
|
|
3589
3593
|
<xsl:template name="refine_feedback-statement-title-style">
|
3590
|
-
|
3591
3594
|
</xsl:template>
|
3592
3595
|
|
3593
3596
|
<xsl:attribute-set name="feedback-statement-p-style">
|
@@ -9459,15 +9462,22 @@
|
|
9459
9462
|
<xsl:attribute name="margin-right">7mm</xsl:attribute>
|
9460
9463
|
<xsl:attribute name="font-style">normal</xsl:attribute>
|
9461
9464
|
</xsl:if>
|
9462
|
-
</xsl:template>
|
9465
|
+
</xsl:template> <!-- refine_quote-style -->
|
9463
9466
|
|
9464
9467
|
<xsl:attribute-set name="quote-source-style">
|
9465
9468
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
9466
|
-
</xsl:attribute-set>
|
9469
|
+
</xsl:attribute-set> <!-- quote-source-style -->
|
9467
9470
|
|
9468
9471
|
<xsl:template name="refine_quote-source-style">
|
9469
9472
|
</xsl:template>
|
9470
9473
|
|
9474
|
+
<xsl:attribute-set name="source-style">
|
9475
|
+
</xsl:attribute-set> <!-- source-style -->
|
9476
|
+
|
9477
|
+
<xsl:template name="refine_source-style">
|
9478
|
+
|
9479
|
+
</xsl:template> <!-- refine_source-style -->
|
9480
|
+
|
9471
9481
|
<!-- ====== -->
|
9472
9482
|
<!-- quote -->
|
9473
9483
|
<!-- source -->
|
@@ -9518,7 +9528,9 @@
|
|
9518
9528
|
</xsl:if>
|
9519
9529
|
<xsl:choose>
|
9520
9530
|
<xsl:when test="not(parent::quote)">
|
9521
|
-
<fo:block>
|
9531
|
+
<fo:block xsl:use-attribute-sets="source-style">
|
9532
|
+
<xsl:call-template name="refine_source-style"/>
|
9533
|
+
|
9522
9534
|
<xsl:call-template name="insert_basic_link">
|
9523
9535
|
<xsl:with-param name="element">
|
9524
9536
|
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
|
@@ -11624,7 +11636,7 @@
|
|
11624
11636
|
<xsl:attribute name="baseline-shift">15%</xsl:attribute>
|
11625
11637
|
</xsl:if>
|
11626
11638
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
11627
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
11639
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if><!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'pas'"></xsl:if> -->
|
11628
11640
|
</xsl:template> <!-- refine_fn-reference-style -->
|
11629
11641
|
|
11630
11642
|
<xsl:attribute-set name="fn-style">
|
@@ -11635,6 +11647,7 @@
|
|
11635
11647
|
</xsl:template>
|
11636
11648
|
|
11637
11649
|
<xsl:attribute-set name="fn-num-style">
|
11650
|
+
<xsl:attribute name="role">Reference</xsl:attribute>
|
11638
11651
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
11639
11652
|
<xsl:attribute name="font-size">65%</xsl:attribute>
|
11640
11653
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
@@ -11711,33 +11724,16 @@
|
|
11711
11724
|
<xsl:variable name="ref_id" select="@target"/>
|
11712
11725
|
|
11713
11726
|
<xsl:variable name="footnote_inline">
|
11714
|
-
<fo:inline
|
11715
|
-
|
11716
|
-
<xsl:variable name="fn_styles">
|
11717
|
-
<xsl:choose>
|
11718
|
-
<xsl:when test="ancestor::mn:bibitem">
|
11719
|
-
<fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
|
11720
|
-
<xsl:call-template name="refine_bibitem-note-fn-style"/>
|
11721
|
-
</fn_styles>
|
11722
|
-
</xsl:when>
|
11723
|
-
<xsl:otherwise>
|
11724
|
-
<fn_styles xsl:use-attribute-sets="fn-num-style">
|
11725
|
-
<xsl:call-template name="refine_fn-num-style"/>
|
11726
|
-
</fn_styles>
|
11727
|
-
</xsl:otherwise>
|
11728
|
-
</xsl:choose>
|
11729
|
-
</xsl:variable>
|
11727
|
+
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
11730
11728
|
|
11731
|
-
<xsl:
|
11732
|
-
<xsl:copy-of select="."/>
|
11733
|
-
</xsl:for-each>
|
11729
|
+
<xsl:call-template name="refine_fn-num-style"/>
|
11734
11730
|
|
11735
11731
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
11736
11732
|
<!-- <xsl:if test="following-sibling::node()[normalize-space() != ''][1][self::mn:fn]">
|
11737
11733
|
<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
|
11738
11734
|
</xsl:if> -->
|
11739
11735
|
|
11740
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
11736
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if>
|
11741
11737
|
|
11742
11738
|
<xsl:call-template name="insert_basic_link">
|
11743
11739
|
<xsl:with-param name="element">
|
@@ -12037,32 +12033,6 @@
|
|
12037
12033
|
<xsl:template name="refine_bibitem-non-normative-list-body-style">
|
12038
12034
|
</xsl:template>
|
12039
12035
|
|
12040
|
-
<!-- footnote reference number for bibitem, in the text -->
|
12041
|
-
<xsl:attribute-set name="bibitem-note-fn-style">
|
12042
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
12043
|
-
<xsl:attribute name="font-size">65%</xsl:attribute>
|
12044
|
-
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
12045
|
-
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
12046
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-style -->
|
12047
|
-
|
12048
|
-
<xsl:template name="refine_bibitem-note-fn-style">
|
12049
|
-
</xsl:template>
|
12050
|
-
|
12051
|
-
<!-- footnote number on the page bottom -->
|
12052
|
-
<xsl:attribute-set name="bibitem-note-fn-number-style">
|
12053
|
-
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
12054
|
-
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
12055
|
-
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
12056
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
|
12057
|
-
|
12058
|
-
<!-- footnote body (text) on the page bottom -->
|
12059
|
-
<xsl:attribute-set name="bibitem-note-fn-body-style">
|
12060
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
12061
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
12062
|
-
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
12063
|
-
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
12064
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
|
12065
|
-
|
12066
12036
|
<xsl:attribute-set name="references-non-normative-style">
|
12067
12037
|
</xsl:attribute-set> <!-- references-non-normative-style -->
|
12068
12038
|
|
@@ -14423,6 +14393,17 @@
|
|
14423
14393
|
</xsl:attribute-set>
|
14424
14394
|
|
14425
14395
|
<xsl:template name="refine_clause-style">
|
14396
|
+
<!-- commented for https://github.com/metanorma/metanorma-ribose/issues/421 -->
|
14397
|
+
<!-- <xsl:if test="$namespace = 'rsd'">
|
14398
|
+
<xsl:variable name="level">
|
14399
|
+
<xsl:call-template name="getLevel">
|
14400
|
+
<xsl:with-param name="depth" select="mn:fmt-title/@depth"/>
|
14401
|
+
</xsl:call-template>
|
14402
|
+
</xsl:variable>
|
14403
|
+
<xsl:if test="$level >= 4">
|
14404
|
+
<xsl:attribute name="margin-left">13mm</xsl:attribute>
|
14405
|
+
</xsl:if>
|
14406
|
+
</xsl:if> -->
|
14426
14407
|
</xsl:template>
|
14427
14408
|
|
14428
14409
|
<!-- main sections -->
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
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-generic
|