metanorma-bipm 2.4.12 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/bipm/bipm.brochure.xsl +98 -26
- data/lib/isodoc/bipm/bipm.guide.xsl +98 -26
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +98 -26
- data/lib/isodoc/bipm/bipm.rapport.xsl +98 -26
- data/lib/isodoc/bipm/html/htmlstyle.css +40 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +98 -26
- data/lib/isodoc/bipm/pdf_convert.rb +9 -10
- data/lib/metanorma/bipm/basicdoc.rng +71 -6
- data/lib/metanorma/bipm/biblio.rng +3 -1
- data/lib/metanorma/bipm/isodoc.rng +3 -0
- data/lib/metanorma/bipm/processor.rb +0 -19
- data/lib/metanorma/bipm/reqt.rng +3 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +1 -1
- data/metanorma.yml +15 -0
- metadata +4 -4
@@ -3645,13 +3645,35 @@
|
|
3645
3645
|
</xsl:for-each>
|
3646
3646
|
</xsl:element>
|
3647
3647
|
|
3648
|
-
<xsl:call-template name="
|
3648
|
+
<xsl:call-template name="insertAnnexAndBibliographyInSeparatePageSequences"/>
|
3649
3649
|
|
3650
|
-
<xsl:call-template name="insertBibliographyInSeparatePageSequences"/>
|
3650
|
+
<!-- <xsl:call-template name="insertBibliographyInSeparatePageSequences"/> -->
|
3651
3651
|
|
3652
3652
|
<!-- <xsl:call-template name="insertIndexInSeparatePageSequences"/> -->
|
3653
3653
|
</xsl:template> <!-- END: insertMainSectionsInSeparatePageSequences -->
|
3654
3654
|
|
3655
|
+
<xsl:template name="insertAnnexAndBibliographyInSeparatePageSequences">
|
3656
|
+
<xsl:for-each select="/*/*[local-name()='annex'] | /*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]] | /*/*[local-name()='indexsect']">
|
3657
|
+
<xsl:sort select="@displayorder" data-type="number"/>
|
3658
|
+
<xsl:choose>
|
3659
|
+
<xsl:when test="local-name() = 'annex' or local-name() = 'indexsect'">
|
3660
|
+
<xsl:element name="page_sequence" namespace="{$namespace_full}">
|
3661
|
+
<xsl:attribute name="main_page_sequence"/>
|
3662
|
+
<xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
|
3663
|
+
</xsl:element>
|
3664
|
+
</xsl:when>
|
3665
|
+
<xsl:otherwise> <!-- bibliography -->
|
3666
|
+
<xsl:element name="bibliography" namespace="{$namespace_full}"> <!-- save context element -->
|
3667
|
+
<xsl:element name="page_sequence" namespace="{$namespace_full}">
|
3668
|
+
<xsl:attribute name="main_page_sequence"/>
|
3669
|
+
<xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
|
3670
|
+
</xsl:element>
|
3671
|
+
</xsl:element>
|
3672
|
+
</xsl:otherwise>
|
3673
|
+
</xsl:choose>
|
3674
|
+
</xsl:for-each>
|
3675
|
+
</xsl:template>
|
3676
|
+
|
3655
3677
|
<xsl:template name="insertAnnexInSeparatePageSequences">
|
3656
3678
|
<xsl:for-each select="/*/*[local-name()='annex']">
|
3657
3679
|
<xsl:sort select="@displayorder" data-type="number"/>
|
@@ -7912,6 +7934,12 @@
|
|
7912
7934
|
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']">
|
7913
7935
|
<attachment filename="{@name}"/>
|
7914
7936
|
</xsl:for-each>
|
7937
|
+
<xsl:if test="not(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment'])">
|
7938
|
+
<xsl:for-each select="//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment']]">
|
7939
|
+
<xsl:variable name="attachment_path" select="*[local-name() = 'uri'][@type = 'attachment']"/>
|
7940
|
+
<attachment filename="{$attachment_path}"/>
|
7941
|
+
</xsl:for-each>
|
7942
|
+
</xsl:if>
|
7915
7943
|
</xsl:variable>
|
7916
7944
|
<xsl:variable name="pdfAttachmentsList" select="xalan:nodeset($pdfAttachmentsList_)"/>
|
7917
7945
|
|
@@ -7924,7 +7952,7 @@
|
|
7924
7952
|
<xsl:value-of select="concat(normalize-space(@target), '.pdf')"/>
|
7925
7953
|
</xsl:when>
|
7926
7954
|
<!-- link to the PDF attachment -->
|
7927
|
-
<xsl:when test="$pdfAttachmentsList//attachment[@filename = current()/@target]">
|
7955
|
+
<xsl:when test="@attachment = 'true' and $pdfAttachmentsList//attachment[@filename = current()/@target]">
|
7928
7956
|
<xsl:value-of select="concat('url(embedded-file:', @target, ')')"/>
|
7929
7957
|
</xsl:when>
|
7930
7958
|
<!-- <xsl:when test="starts-with($target_normalized, '_') and contains($target_normalized, '_attachments/') and $pdfAttachmentsList//attachment[@filename = $target_attachment_name]">
|
@@ -8573,7 +8601,16 @@
|
|
8573
8601
|
</xsl:variable>
|
8574
8602
|
<xsl:variable name="img_src">
|
8575
8603
|
<xsl:choose>
|
8576
|
-
<xsl:when test="not(starts-with(@src, 'data:'))"
|
8604
|
+
<xsl:when test="not(starts-with(@src, 'data:'))">
|
8605
|
+
<xsl:choose>
|
8606
|
+
<xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
|
8607
|
+
<xsl:value-of select="@src"/>
|
8608
|
+
</xsl:when>
|
8609
|
+
<xsl:otherwise>
|
8610
|
+
<xsl:value-of select="concat($basepath, @src)"/>
|
8611
|
+
</xsl:otherwise>
|
8612
|
+
</xsl:choose>
|
8613
|
+
</xsl:when>
|
8577
8614
|
<xsl:otherwise><xsl:value-of select="@src"/></xsl:otherwise>
|
8578
8615
|
</xsl:choose>
|
8579
8616
|
</xsl:variable>
|
@@ -8586,7 +8623,7 @@
|
|
8586
8623
|
<!-- <xsl:message>width_effective=<xsl:value-of select="$width_effective"/></xsl:message>
|
8587
8624
|
<xsl:message>indent_left=<xsl:value-of select="$indent_left"/></xsl:message>
|
8588
8625
|
<xsl:message>image_width_effective=<xsl:value-of select="$image_width_effective"/> for <xsl:value-of select="ancestor::ogc:p[1]/@id"/></xsl:message> -->
|
8589
|
-
<xsl:variable name="scale" select="java:org.metanorma.fop.
|
8626
|
+
<xsl:variable name="scale" select="java:org.metanorma.fop.utils.ImageUtils.getImageScale($img_src, $image_width_effective, $height_effective)"/>
|
8590
8627
|
<xsl:value-of select="$scale"/>
|
8591
8628
|
</xsl:template>
|
8592
8629
|
|
@@ -8605,7 +8642,14 @@
|
|
8605
8642
|
<xsl:value-of select="concat('url(file:///',$basepath, $src_png, ')')"/>
|
8606
8643
|
</xsl:when>
|
8607
8644
|
<xsl:when test="not(starts-with(@src, 'data:'))">
|
8608
|
-
<xsl:
|
8645
|
+
<xsl:choose>
|
8646
|
+
<xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
|
8647
|
+
<xsl:value-of select="concat('url(file:///', @src, ')')"/>
|
8648
|
+
</xsl:when>
|
8649
|
+
<xsl:otherwise>
|
8650
|
+
<xsl:value-of select="concat('url(file:///',$basepath, @src, ')')"/>
|
8651
|
+
</xsl:otherwise>
|
8652
|
+
</xsl:choose>
|
8609
8653
|
</xsl:when>
|
8610
8654
|
<xsl:otherwise>
|
8611
8655
|
<xsl:value-of select="@src"/>
|
@@ -8627,7 +8671,14 @@
|
|
8627
8671
|
</xsl:when>
|
8628
8672
|
<xsl:when test="not(starts-with(@src, 'data:'))">
|
8629
8673
|
<xsl:variable name="src">
|
8630
|
-
<xsl:
|
8674
|
+
<xsl:choose>
|
8675
|
+
<xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
|
8676
|
+
<xsl:value-of select="concat('url(file:///', @src, ')')"/>
|
8677
|
+
</xsl:when>
|
8678
|
+
<xsl:otherwise>
|
8679
|
+
<xsl:value-of select="concat('url(file:///',$basepath, @src, ')')"/>
|
8680
|
+
</xsl:otherwise>
|
8681
|
+
</xsl:choose>
|
8631
8682
|
</xsl:variable>
|
8632
8683
|
<xsl:variable name="file" select="java:java.io.File.new(@src)"/>
|
8633
8684
|
<xsl:variable name="bufferedImage" select="java:javax.imageio.ImageIO.read($file)"/>
|
@@ -12547,10 +12598,12 @@
|
|
12547
12598
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
12548
12599
|
<xsl:copy>
|
12549
12600
|
<xsl:copy-of select="@*"/>
|
12550
|
-
<xsl:
|
12551
|
-
|
12552
|
-
|
12553
|
-
<xsl:
|
12601
|
+
<xsl:if test="1 = 2"> <!-- remove attachment/text(), because attachments added in the template 'addPDFUAmeta' before applying 'update_xml_step1' -->
|
12602
|
+
<xsl:variable name="name_filepath" select="concat($inputxml_basepath, @name)"/>
|
12603
|
+
<xsl:variable name="file_exists" select="normalize-space(java:exists(java:java.io.File.new($name_filepath)))"/>
|
12604
|
+
<xsl:if test="$file_exists = 'false'"> <!-- copy attachment content only if file on disk doesnt exist -->
|
12605
|
+
<xsl:value-of select="normalize-space(.)"/>
|
12606
|
+
</xsl:if>
|
12554
12607
|
</xsl:if>
|
12555
12608
|
</xsl:copy>
|
12556
12609
|
</xsl:template>
|
@@ -13421,25 +13474,37 @@
|
|
13421
13474
|
</x:xmpmeta>
|
13422
13475
|
<!-- add attachments -->
|
13423
13476
|
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']">
|
13424
|
-
<xsl:
|
13425
|
-
|
13426
|
-
|
13427
|
-
|
13428
|
-
|
13429
|
-
|
13430
|
-
|
13431
|
-
|
13432
|
-
|
13433
|
-
|
13434
|
-
|
13477
|
+
<xsl:variable name="description" select="normalize-space(//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment'] = current()/@name]/*[local-name() = 'formattedref'])"/>
|
13478
|
+
|
13479
|
+
<pdf:embedded-file xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf" filename="{@name}">
|
13480
|
+
<xsl:attribute name="src">
|
13481
|
+
<xsl:choose>
|
13482
|
+
<xsl:when test="normalize-space() != ''">
|
13483
|
+
<xsl:variable name="src_attachment" select="java:replaceAll(java:java.lang.String.new(.),'( | | )', '')"/> <!-- remove line breaks -->
|
13484
|
+
<xsl:value-of select="$src_attachment"/>
|
13485
|
+
</xsl:when>
|
13486
|
+
<xsl:otherwise>
|
13487
|
+
<xsl:variable name="url" select="concat('url(file:///',$inputxml_basepath , @name, ')')"/>
|
13488
|
+
<xsl:value-of select="$url"/>
|
13489
|
+
</xsl:otherwise>
|
13490
|
+
</xsl:choose>
|
13491
|
+
</xsl:attribute>
|
13492
|
+
<xsl:if test="$description != ''">
|
13493
|
+
<xsl:attribute name="description"><xsl:value-of select="$description"/></xsl:attribute>
|
13494
|
+
</xsl:if>
|
13495
|
+
</pdf:embedded-file>
|
13435
13496
|
</xsl:for-each>
|
13436
13497
|
<!-- references to external attachments (no binary-encoded within the Metanorma XML file) -->
|
13437
13498
|
<xsl:if test="not(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment'])">
|
13438
13499
|
<xsl:for-each select="//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment']]">
|
13439
13500
|
<xsl:variable name="attachment_path" select="*[local-name() = 'uri'][@type = 'attachment']"/>
|
13440
|
-
<xsl:variable name="url" select="concat('url(file:///',$
|
13441
|
-
<xsl:variable name="
|
13442
|
-
<pdf:embedded-file xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf" src="{$url}" filename="{$
|
13501
|
+
<xsl:variable name="url" select="concat('url(file:///',$basepath, $attachment_path, ')')"/>
|
13502
|
+
<xsl:variable name="description" select="normalize-space(*[local-name() = 'formattedref'])"/>
|
13503
|
+
<pdf:embedded-file xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf" src="{$url}" filename="{$attachment_path}">
|
13504
|
+
<xsl:if test="$description != ''">
|
13505
|
+
<xsl:attribute name="description"><xsl:value-of select="$description"/></xsl:attribute>
|
13506
|
+
</xsl:if>
|
13507
|
+
</pdf:embedded-file>
|
13443
13508
|
</xsl:for-each>
|
13444
13509
|
</xsl:if>
|
13445
13510
|
</xsl:template> <!-- addPDFUAmeta -->
|
@@ -13817,7 +13882,14 @@
|
|
13817
13882
|
<xsl:value-of select="$src"/>
|
13818
13883
|
</xsl:when>
|
13819
13884
|
<xsl:otherwise>
|
13820
|
-
<xsl:
|
13885
|
+
<xsl:choose>
|
13886
|
+
<xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
|
13887
|
+
<xsl:value-of select="concat('url(file:///', @src, ')')"/>
|
13888
|
+
</xsl:when>
|
13889
|
+
<xsl:otherwise>
|
13890
|
+
<xsl:value-of select="concat('url(file:///',$basepath, $src, ')')"/>
|
13891
|
+
</xsl:otherwise>
|
13892
|
+
</xsl:choose>
|
13821
13893
|
</xsl:otherwise>
|
13822
13894
|
</xsl:choose>
|
13823
13895
|
</xsl:template>
|
@@ -1,22 +1,18 @@
|
|
1
1
|
require "isodoc"
|
2
|
+
require "metanorma-generic"
|
3
|
+
require_relative "base_convert"
|
2
4
|
|
3
5
|
module IsoDoc
|
4
6
|
module BIPM
|
5
|
-
|
6
|
-
# document schema encapsulation of the document for validation
|
7
|
-
class PdfConvert < IsoDoc::XslfoPdfConvert
|
7
|
+
class PdfConvert < IsoDoc::Generic::PdfConvert
|
8
8
|
def initialize(options)
|
9
|
-
@libdir = File.dirname(__FILE__)
|
10
9
|
super
|
11
|
-
|
12
|
-
|
13
|
-
def configuration
|
14
|
-
Metanorma::BIPM.configuration
|
10
|
+
@libdir = File.dirname(__FILE__)
|
15
11
|
end
|
16
12
|
|
17
13
|
def pdf_stylesheet(docxml)
|
18
14
|
docxml&.at(ns("//bibdata/ext/editorialgroup/committee/@acronym"))
|
19
|
-
|
15
|
+
&.value == "JCGM" and
|
20
16
|
return "jcgm.standard.xsl"
|
21
17
|
|
22
18
|
doctype = @doctype
|
@@ -25,7 +21,7 @@ module IsoDoc
|
|
25
21
|
"bipm.#{doctype}.xsl"
|
26
22
|
end
|
27
23
|
|
28
|
-
def pdf_options(docxml)
|
24
|
+
def pdf_options(docxml, filename)
|
29
25
|
n = configuration.document_namespace
|
30
26
|
q = "//m:bipm-standard/m:bibdata/m:language[@current = 'true']"
|
31
27
|
if docxml.root.name == "metanorma-collection" &&
|
@@ -37,6 +33,9 @@ module IsoDoc
|
|
37
33
|
end
|
38
34
|
super
|
39
35
|
end
|
36
|
+
|
37
|
+
include Init
|
38
|
+
include BaseConvert
|
40
39
|
end
|
41
40
|
end
|
42
41
|
end
|
@@ -1000,14 +1000,14 @@
|
|
1000
1000
|
<define name="PureTextElement">
|
1001
1001
|
<choice>
|
1002
1002
|
<text/>
|
1003
|
-
<ref name="
|
1004
|
-
<ref name="
|
1003
|
+
<ref name="pure_em"/>
|
1004
|
+
<ref name="pure_strong"/>
|
1005
1005
|
<ref name="sub"/>
|
1006
1006
|
<ref name="sup"/>
|
1007
|
-
<ref name="
|
1008
|
-
<ref name="
|
1009
|
-
<ref name="
|
1010
|
-
<ref name="
|
1007
|
+
<ref name="pure_tt"/>
|
1008
|
+
<ref name="pure_underline"/>
|
1009
|
+
<ref name="pure_strike"/>
|
1010
|
+
<ref name="pure_smallcap"/>
|
1011
1011
|
<ref name="br"/>
|
1012
1012
|
</choice>
|
1013
1013
|
</define>
|
@@ -1031,6 +1031,13 @@
|
|
1031
1031
|
</zeroOrMore>
|
1032
1032
|
</element>
|
1033
1033
|
</define>
|
1034
|
+
<define name="pure_em">
|
1035
|
+
<element name="em">
|
1036
|
+
<zeroOrMore>
|
1037
|
+
<ref name="PureTextElement"/>
|
1038
|
+
</zeroOrMore>
|
1039
|
+
</element>
|
1040
|
+
</define>
|
1034
1041
|
<define name="strong">
|
1035
1042
|
<element name="strong">
|
1036
1043
|
<zeroOrMore>
|
@@ -1046,6 +1053,13 @@
|
|
1046
1053
|
</zeroOrMore>
|
1047
1054
|
</element>
|
1048
1055
|
</define>
|
1056
|
+
<define name="pure_strong">
|
1057
|
+
<element name="strong">
|
1058
|
+
<zeroOrMore>
|
1059
|
+
<ref name="PureTextElement"/>
|
1060
|
+
</zeroOrMore>
|
1061
|
+
</element>
|
1062
|
+
</define>
|
1049
1063
|
<define name="tt">
|
1050
1064
|
<element name="tt">
|
1051
1065
|
<zeroOrMore>
|
@@ -1060,6 +1074,13 @@
|
|
1060
1074
|
</zeroOrMore>
|
1061
1075
|
</element>
|
1062
1076
|
</define>
|
1077
|
+
<define name="pure_tt">
|
1078
|
+
<element name="tt">
|
1079
|
+
<zeroOrMore>
|
1080
|
+
<ref name="PureTextElement"/>
|
1081
|
+
</zeroOrMore>
|
1082
|
+
</element>
|
1083
|
+
</define>
|
1063
1084
|
<define name="keyword">
|
1064
1085
|
<element name="keyword">
|
1065
1086
|
<zeroOrMore>
|
@@ -1090,13 +1111,42 @@
|
|
1090
1111
|
<zeroOrMore>
|
1091
1112
|
<choice>
|
1092
1113
|
<ref name="PureTextElement"/>
|
1114
|
+
<ref name="stem"/>
|
1115
|
+
<ref name="eref"/>
|
1116
|
+
<ref name="xref"/>
|
1117
|
+
<ref name="hyperlink"/>
|
1093
1118
|
<ref name="index"/>
|
1094
1119
|
<ref name="index-xref"/>
|
1095
1120
|
</choice>
|
1096
1121
|
</zeroOrMore>
|
1097
1122
|
</element>
|
1098
1123
|
</define>
|
1124
|
+
<define name="pure_strike">
|
1125
|
+
<element name="strike">
|
1126
|
+
<zeroOrMore>
|
1127
|
+
<ref name="PureTextElement"/>
|
1128
|
+
</zeroOrMore>
|
1129
|
+
</element>
|
1130
|
+
</define>
|
1099
1131
|
<define name="underline">
|
1132
|
+
<element name="underline">
|
1133
|
+
<optional>
|
1134
|
+
<attribute name="style"/>
|
1135
|
+
</optional>
|
1136
|
+
<zeroOrMore>
|
1137
|
+
<choice>
|
1138
|
+
<ref name="PureTextElement"/>
|
1139
|
+
<ref name="stem"/>
|
1140
|
+
<ref name="eref"/>
|
1141
|
+
<ref name="xref"/>
|
1142
|
+
<ref name="hyperlink"/>
|
1143
|
+
<ref name="index"/>
|
1144
|
+
<ref name="index-xref"/>
|
1145
|
+
</choice>
|
1146
|
+
</zeroOrMore>
|
1147
|
+
</element>
|
1148
|
+
</define>
|
1149
|
+
<define name="pure_underline">
|
1100
1150
|
<element name="underline">
|
1101
1151
|
<optional>
|
1102
1152
|
<attribute name="style"/>
|
@@ -1107,6 +1157,21 @@
|
|
1107
1157
|
</element>
|
1108
1158
|
</define>
|
1109
1159
|
<define name="smallcap">
|
1160
|
+
<element name="smallcap">
|
1161
|
+
<zeroOrMore>
|
1162
|
+
<choice>
|
1163
|
+
<ref name="PureTextElement"/>
|
1164
|
+
<ref name="stem"/>
|
1165
|
+
<ref name="eref"/>
|
1166
|
+
<ref name="xref"/>
|
1167
|
+
<ref name="hyperlink"/>
|
1168
|
+
<ref name="index"/>
|
1169
|
+
<ref name="index-xref"/>
|
1170
|
+
</choice>
|
1171
|
+
</zeroOrMore>
|
1172
|
+
</element>
|
1173
|
+
</define>
|
1174
|
+
<define name="pure_smallcap">
|
1110
1175
|
<element name="smallcap">
|
1111
1176
|
<zeroOrMore>
|
1112
1177
|
<ref name="PureTextElement"/>
|
@@ -14,25 +14,6 @@ module Metanorma
|
|
14
14
|
).tap { |hs| hs.delete(:doc) }
|
15
15
|
end
|
16
16
|
|
17
|
-
def fonts_manifest
|
18
|
-
{
|
19
|
-
"Arial" => nil,
|
20
|
-
"Times New Roman" => nil,
|
21
|
-
"Work Sans" => nil,
|
22
|
-
"Work Sans Black" => nil,
|
23
|
-
"Work Sans ExtraBold" => nil,
|
24
|
-
"Work Sans ExtraLight" => nil,
|
25
|
-
"Work Sans Light" => nil,
|
26
|
-
"Work Sans Medium" => nil,
|
27
|
-
"Work Sans SemiBold" => nil,
|
28
|
-
"Work Sans Thin" => nil,
|
29
|
-
"STIX Two Math" => nil,
|
30
|
-
"Source Han Sans" => nil,
|
31
|
-
"Source Han Sans Normal" => nil,
|
32
|
-
"TeXGyreChorus" => nil,
|
33
|
-
}
|
34
|
-
end
|
35
|
-
|
36
17
|
def version
|
37
18
|
"Metanorma::BIPM #{Metanorma::BIPM::VERSION}"
|
38
19
|
end
|
data/lib/metanorma/bipm/reqt.rng
CHANGED
data/metanorma-bipm.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
|
29
29
|
|
30
|
-
spec.add_dependency "metanorma-generic", "~> 2.
|
30
|
+
spec.add_dependency "metanorma-generic", "~> 2.7.0"
|
31
31
|
spec.add_dependency "metanorma-iso", "~> 2.8.0"
|
32
32
|
|
33
33
|
spec.add_development_dependency "debug"
|
data/metanorma.yml
CHANGED
@@ -116,3 +116,18 @@ metadata_extensions:
|
|
116
116
|
relations:
|
117
117
|
- supersedes
|
118
118
|
- superseded-by
|
119
|
+
fonts_manifest:
|
120
|
+
Arial:
|
121
|
+
Times New Roman:
|
122
|
+
Work Sans:
|
123
|
+
Work Sans Black:
|
124
|
+
Work Sans ExtraBold:
|
125
|
+
Work Sans ExtraLight:
|
126
|
+
Work Sans Light:
|
127
|
+
Work Sans Medium:
|
128
|
+
Work Sans SemiBold:
|
129
|
+
Work Sans Thin:
|
130
|
+
STIX Two Math:
|
131
|
+
Source Han Sans:
|
132
|
+
Source Han Sans Normal:
|
133
|
+
TeXGyreChorus:
|
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.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.7.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: metanorma-iso
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|