metanorma-iho 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 513e82e7a645309759e5d909c752a93a0e2fd50c6cbec13720f40e1bc0917300
4
- data.tar.gz: e92beaf75f5e06b5b891d7b65b73a61d1c002661e4f6eea25735d8043a97da57
3
+ metadata.gz: 69c27cc6a8527a59360a770e49deea1fe9f0a6872066e78deabebb782340093d
4
+ data.tar.gz: 9365b1d5ee9e87e3686b23578e23eddecd7753892d195ea2fafee9c8ae224112
5
5
  SHA512:
6
- metadata.gz: 9ddf83a4a809b163cfd8b4d2468bb9a08a237fb76a65dfa69103d23122454eb0348edf0397ada178bcafeee54e950a8676f370ff932bd696946c5de864fda314
7
- data.tar.gz: 32987352ccaf4104e96ebba3b7b8960bf3e8e8c44f46a2f270cb33c861c336298525e7b7950edc95ceb1454e4f1146d734afacabb6c1f1922317f1977ecc371d
6
+ metadata.gz: 9de8fea2a2b6298a624936452844dbda153f0c1c28fe36a71350770dbdbafde7e1fbe47e289c95bf7e4bdca6ea3e98b920927af68d760e3c661c9a6fbc9cef9e
7
+ data.tar.gz: 3c108832d1c736ba8b50ce07c1aa155e134ddffba55c19af31189ecb2ded9d5c5ae35c8b89661779b85d3f74b168da15f8d0a683060876107f20f6de3ee788cb
@@ -596,6 +596,7 @@
596
596
  <ref name="bookmark"/>
597
597
  <ref name="image"/>
598
598
  <ref name="index"/>
599
+ <ref name="index-xref"/>
599
600
  </choice>
600
601
  </define>
601
602
  <define name="PureTextElement">
@@ -737,6 +738,37 @@
737
738
  </optional>
738
739
  </element>
739
740
  </define>
741
+ <define name="index-xref">
742
+ <element name="index-xref">
743
+ <attribute name="also">
744
+ <data type="boolean"/>
745
+ </attribute>
746
+ <element name="primary">
747
+ <oneOrMore>
748
+ <ref name="PureTextElement"/>
749
+ </oneOrMore>
750
+ </element>
751
+ <optional>
752
+ <element name="secondary">
753
+ <oneOrMore>
754
+ <ref name="PureTextElement"/>
755
+ </oneOrMore>
756
+ </element>
757
+ </optional>
758
+ <optional>
759
+ <element name="tertiary">
760
+ <oneOrMore>
761
+ <ref name="PureTextElement"/>
762
+ </oneOrMore>
763
+ </element>
764
+ </optional>
765
+ <element name="target">
766
+ <oneOrMore>
767
+ <ref name="PureTextElement"/>
768
+ </oneOrMore>
769
+ </element>
770
+ </element>
771
+ </define>
740
772
  <!-- bare ID element, used for referencing arbitrary spans of text -->
741
773
  <define name="bookmark">
742
774
  <element name="bookmark">
@@ -246,6 +246,9 @@
246
246
  <data type="boolean"/>
247
247
  </attribute>
248
248
  </optional>
249
+ <optional>
250
+ <ref name="colgroup"/>
251
+ </optional>
249
252
  <optional>
250
253
  <ref name="tname"/>
251
254
  </optional>
@@ -764,6 +767,18 @@
764
767
  </define>
765
768
  </include>
766
769
  <!-- end overrides -->
770
+ <define name="colgroup">
771
+ <element name="colgroup">
772
+ <oneOrMore>
773
+ <ref name="col"/>
774
+ </oneOrMore>
775
+ </element>
776
+ </define>
777
+ <define name="col">
778
+ <element name="col">
779
+ <attribute name="width"/>
780
+ </element>
781
+ </define>
767
782
  <define name="TextElement" combine="choice">
768
783
  <ref name="concept"/>
769
784
  </define>
@@ -38,7 +38,7 @@
38
38
  <xsl:template match="/">
39
39
 
40
40
  <xsl:variable name="xslfo">
41
- <fo:root font-family="Helvetica Neue, Cambria Math" font-size="12pt" xml:lang="{$lang}">
41
+ <fo:root font-family="Arial, Cambria Math" font-size="12pt" xml:lang="{$lang}">
42
42
  <fo:layout-master-set>
43
43
  <!-- cover page -->
44
44
  <fo:simple-page-master master-name="cover" page-width="{$pageWidth}" page-height="{$pageHeight}">
@@ -862,10 +862,10 @@
862
862
  <xsl:otherwise> <!-- for ordered lists -->
863
863
  <xsl:choose>
864
864
  <xsl:when test="../@type = 'arabic'">
865
- <xsl:number format="a)"/>
865
+ <xsl:number format="a)" lang="en"/>
866
866
  </xsl:when>
867
867
  <xsl:when test="../@type = 'alphabet'">
868
- <xsl:number format="a)"/>
868
+ <xsl:number format="a)" lang="en"/>
869
869
  </xsl:when>
870
870
  <xsl:otherwise>
871
871
  <xsl:number format="1."/>
@@ -1125,7 +1125,7 @@
1125
1125
 
1126
1126
 
1127
1127
 
1128
- <xsl:attribute name="font-family">SF Mono</xsl:attribute>
1128
+ <xsl:attribute name="font-family">Fira Code</xsl:attribute>
1129
1129
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1130
1130
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
1131
1131
  <xsl:attribute name="line-height">113%</xsl:attribute>
@@ -1532,10 +1532,12 @@
1532
1532
 
1533
1533
 
1534
1534
  <xsl:variable name="colwidths">
1535
- <xsl:call-template name="calculate-column-widths">
1536
- <xsl:with-param name="cols-count" select="$cols-count"/>
1537
- <xsl:with-param name="table" select="$simple-table"/>
1538
- </xsl:call-template>
1535
+ <xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
1536
+ <xsl:call-template name="calculate-column-widths">
1537
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1538
+ <xsl:with-param name="table" select="$simple-table"/>
1539
+ </xsl:call-template>
1540
+ </xsl:if>
1539
1541
  </xsl:variable>
1540
1542
  <!-- colwidths=<xsl:copy-of select="$colwidths"/> -->
1541
1543
 
@@ -1610,16 +1612,25 @@
1610
1612
  <xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
1611
1613
  </xsl:if>
1612
1614
 
1613
- <xsl:for-each select="xalan:nodeset($colwidths)//column">
1614
- <xsl:choose>
1615
- <xsl:when test=". = 1 or . = 0">
1616
- <fo:table-column column-width="proportional-column-width(2)"/>
1617
- </xsl:when>
1618
- <xsl:otherwise>
1619
- <fo:table-column column-width="proportional-column-width({.})"/>
1620
- </xsl:otherwise>
1621
- </xsl:choose>
1622
- </xsl:for-each>
1615
+ <xsl:choose>
1616
+ <xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
1617
+ <xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
1618
+ <fo:table-column column-width="{@width}"/>
1619
+ </xsl:for-each>
1620
+ </xsl:when>
1621
+ <xsl:otherwise>
1622
+ <xsl:for-each select="xalan:nodeset($colwidths)//column">
1623
+ <xsl:choose>
1624
+ <xsl:when test=". = 1 or . = 0">
1625
+ <fo:table-column column-width="proportional-column-width(2)"/>
1626
+ </xsl:when>
1627
+ <xsl:otherwise>
1628
+ <fo:table-column column-width="proportional-column-width({.})"/>
1629
+ </xsl:otherwise>
1630
+ </xsl:choose>
1631
+ </xsl:for-each>
1632
+ </xsl:otherwise>
1633
+ </xsl:choose>
1623
1634
 
1624
1635
  <xsl:choose>
1625
1636
  <xsl:when test="not(*[local-name()='tbody']) and *[local-name()='thead']">
@@ -1632,10 +1643,12 @@
1632
1643
 
1633
1644
  </fo:table>
1634
1645
 
1646
+ <xsl:variable name="colgroup" select="*[local-name()='colgroup']"/>
1635
1647
  <xsl:for-each select="*[local-name()='tbody']"><!-- select context to tbody -->
1636
1648
  <xsl:call-template name="insertTableFooterInSeparateTable">
1637
1649
  <xsl:with-param name="table_attributes" select="$table_attributes"/>
1638
1650
  <xsl:with-param name="colwidths" select="$colwidths"/>
1651
+ <xsl:with-param name="colgroup" select="$colgroup"/>
1639
1652
  </xsl:call-template>
1640
1653
  </xsl:for-each>
1641
1654
 
@@ -1889,12 +1902,22 @@
1889
1902
  </xsl:template><xsl:template name="insertTableFooterInSeparateTable">
1890
1903
  <xsl:param name="table_attributes"/>
1891
1904
  <xsl:param name="colwidths"/>
1905
+ <xsl:param name="colgroup"/>
1892
1906
 
1893
1907
  <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
1894
1908
 
1895
1909
  <xsl:if test="$isNoteOrFnExist = 'true'">
1896
1910
 
1897
- <xsl:variable name="cols-count" select="count(xalan:nodeset($colwidths)//column)"/>
1911
+ <xsl:variable name="cols-count">
1912
+ <xsl:choose>
1913
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
1914
+ <xsl:value-of select="count(xalan:nodeset($colgroup)//*[local-name()='col'])"/>
1915
+ </xsl:when>
1916
+ <xsl:otherwise>
1917
+ <xsl:value-of select="count(xalan:nodeset($colwidths)//column)"/>
1918
+ </xsl:otherwise>
1919
+ </xsl:choose>
1920
+ </xsl:variable>
1898
1921
 
1899
1922
  <fo:table keep-with-previous="always">
1900
1923
  <xsl:for-each select="xalan:nodeset($table_attributes)/attribute">
@@ -1912,16 +1935,25 @@
1912
1935
  </xsl:choose>
1913
1936
  </xsl:for-each>
1914
1937
 
1915
- <xsl:for-each select="xalan:nodeset($colwidths)//column">
1916
- <xsl:choose>
1917
- <xsl:when test=". = 1 or . = 0">
1918
- <fo:table-column column-width="proportional-column-width(2)"/>
1919
- </xsl:when>
1920
- <xsl:otherwise>
1921
- <fo:table-column column-width="proportional-column-width({.})"/>
1922
- </xsl:otherwise>
1923
- </xsl:choose>
1924
- </xsl:for-each>
1938
+ <xsl:choose>
1939
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
1940
+ <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
1941
+ <fo:table-column column-width="{@width}"/>
1942
+ </xsl:for-each>
1943
+ </xsl:when>
1944
+ <xsl:otherwise>
1945
+ <xsl:for-each select="xalan:nodeset($colwidths)//column">
1946
+ <xsl:choose>
1947
+ <xsl:when test=". = 1 or . = 0">
1948
+ <fo:table-column column-width="proportional-column-width(2)"/>
1949
+ </xsl:when>
1950
+ <xsl:otherwise>
1951
+ <fo:table-column column-width="proportional-column-width({.})"/>
1952
+ </xsl:otherwise>
1953
+ </xsl:choose>
1954
+ </xsl:for-each>
1955
+ </xsl:otherwise>
1956
+ </xsl:choose>
1925
1957
 
1926
1958
  <fo:table-body>
1927
1959
  <fo:table-row>
@@ -4119,7 +4151,8 @@
4119
4151
  <fo:table-column column-width="107mm"/>
4120
4152
  <fo:table-column column-width="15mm"/>
4121
4153
  <fo:table-body>
4122
- <fo:table-row font-family="Arial" text-align="center" font-weight="bold" background-color="black" color="white">
4154
+ <fo:table-row text-align="center" font-weight="bold" background-color="black" color="white">
4155
+
4123
4156
  <fo:table-cell border="1pt solid black"><fo:block>Date</fo:block></fo:table-cell>
4124
4157
  <fo:table-cell border="1pt solid black"><fo:block>Type</fo:block></fo:table-cell>
4125
4158
  <fo:table-cell border="1pt solid black"><fo:block>Change</fo:block></fo:table-cell>
@@ -4137,6 +4170,10 @@
4137
4170
  <fo:block><xsl:apply-templates/></fo:block>
4138
4171
  </fo:table-cell>
4139
4172
  </xsl:template><xsl:template name="processBibitem">
4173
+
4174
+
4175
+ <!-- end BIPM bibitem processing-->
4176
+
4140
4177
 
4141
4178
 
4142
4179
 
@@ -38,7 +38,7 @@
38
38
  <xsl:template match="/">
39
39
 
40
40
  <xsl:variable name="xslfo">
41
- <fo:root font-family="Helvetica Neue, Cambria Math" font-size="12pt" xml:lang="{$lang}">
41
+ <fo:root font-family="Arial, Cambria Math" font-size="12pt" xml:lang="{$lang}">
42
42
  <fo:layout-master-set>
43
43
  <!-- cover page -->
44
44
  <fo:simple-page-master master-name="cover" page-width="{$pageWidth}" page-height="{$pageHeight}">
@@ -862,10 +862,10 @@
862
862
  <xsl:otherwise> <!-- for ordered lists -->
863
863
  <xsl:choose>
864
864
  <xsl:when test="../@type = 'arabic'">
865
- <xsl:number format="a)"/>
865
+ <xsl:number format="a)" lang="en"/>
866
866
  </xsl:when>
867
867
  <xsl:when test="../@type = 'alphabet'">
868
- <xsl:number format="a)"/>
868
+ <xsl:number format="a)" lang="en"/>
869
869
  </xsl:when>
870
870
  <xsl:otherwise>
871
871
  <xsl:number format="1."/>
@@ -1125,7 +1125,7 @@
1125
1125
 
1126
1126
 
1127
1127
 
1128
- <xsl:attribute name="font-family">SF Mono</xsl:attribute>
1128
+ <xsl:attribute name="font-family">Fira Code</xsl:attribute>
1129
1129
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1130
1130
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
1131
1131
  <xsl:attribute name="line-height">113%</xsl:attribute>
@@ -1532,10 +1532,12 @@
1532
1532
 
1533
1533
 
1534
1534
  <xsl:variable name="colwidths">
1535
- <xsl:call-template name="calculate-column-widths">
1536
- <xsl:with-param name="cols-count" select="$cols-count"/>
1537
- <xsl:with-param name="table" select="$simple-table"/>
1538
- </xsl:call-template>
1535
+ <xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
1536
+ <xsl:call-template name="calculate-column-widths">
1537
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1538
+ <xsl:with-param name="table" select="$simple-table"/>
1539
+ </xsl:call-template>
1540
+ </xsl:if>
1539
1541
  </xsl:variable>
1540
1542
  <!-- colwidths=<xsl:copy-of select="$colwidths"/> -->
1541
1543
 
@@ -1610,16 +1612,25 @@
1610
1612
  <xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
1611
1613
  </xsl:if>
1612
1614
 
1613
- <xsl:for-each select="xalan:nodeset($colwidths)//column">
1614
- <xsl:choose>
1615
- <xsl:when test=". = 1 or . = 0">
1616
- <fo:table-column column-width="proportional-column-width(2)"/>
1617
- </xsl:when>
1618
- <xsl:otherwise>
1619
- <fo:table-column column-width="proportional-column-width({.})"/>
1620
- </xsl:otherwise>
1621
- </xsl:choose>
1622
- </xsl:for-each>
1615
+ <xsl:choose>
1616
+ <xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
1617
+ <xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
1618
+ <fo:table-column column-width="{@width}"/>
1619
+ </xsl:for-each>
1620
+ </xsl:when>
1621
+ <xsl:otherwise>
1622
+ <xsl:for-each select="xalan:nodeset($colwidths)//column">
1623
+ <xsl:choose>
1624
+ <xsl:when test=". = 1 or . = 0">
1625
+ <fo:table-column column-width="proportional-column-width(2)"/>
1626
+ </xsl:when>
1627
+ <xsl:otherwise>
1628
+ <fo:table-column column-width="proportional-column-width({.})"/>
1629
+ </xsl:otherwise>
1630
+ </xsl:choose>
1631
+ </xsl:for-each>
1632
+ </xsl:otherwise>
1633
+ </xsl:choose>
1623
1634
 
1624
1635
  <xsl:choose>
1625
1636
  <xsl:when test="not(*[local-name()='tbody']) and *[local-name()='thead']">
@@ -1632,10 +1643,12 @@
1632
1643
 
1633
1644
  </fo:table>
1634
1645
 
1646
+ <xsl:variable name="colgroup" select="*[local-name()='colgroup']"/>
1635
1647
  <xsl:for-each select="*[local-name()='tbody']"><!-- select context to tbody -->
1636
1648
  <xsl:call-template name="insertTableFooterInSeparateTable">
1637
1649
  <xsl:with-param name="table_attributes" select="$table_attributes"/>
1638
1650
  <xsl:with-param name="colwidths" select="$colwidths"/>
1651
+ <xsl:with-param name="colgroup" select="$colgroup"/>
1639
1652
  </xsl:call-template>
1640
1653
  </xsl:for-each>
1641
1654
 
@@ -1889,12 +1902,22 @@
1889
1902
  </xsl:template><xsl:template name="insertTableFooterInSeparateTable">
1890
1903
  <xsl:param name="table_attributes"/>
1891
1904
  <xsl:param name="colwidths"/>
1905
+ <xsl:param name="colgroup"/>
1892
1906
 
1893
1907
  <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
1894
1908
 
1895
1909
  <xsl:if test="$isNoteOrFnExist = 'true'">
1896
1910
 
1897
- <xsl:variable name="cols-count" select="count(xalan:nodeset($colwidths)//column)"/>
1911
+ <xsl:variable name="cols-count">
1912
+ <xsl:choose>
1913
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
1914
+ <xsl:value-of select="count(xalan:nodeset($colgroup)//*[local-name()='col'])"/>
1915
+ </xsl:when>
1916
+ <xsl:otherwise>
1917
+ <xsl:value-of select="count(xalan:nodeset($colwidths)//column)"/>
1918
+ </xsl:otherwise>
1919
+ </xsl:choose>
1920
+ </xsl:variable>
1898
1921
 
1899
1922
  <fo:table keep-with-previous="always">
1900
1923
  <xsl:for-each select="xalan:nodeset($table_attributes)/attribute">
@@ -1912,16 +1935,25 @@
1912
1935
  </xsl:choose>
1913
1936
  </xsl:for-each>
1914
1937
 
1915
- <xsl:for-each select="xalan:nodeset($colwidths)//column">
1916
- <xsl:choose>
1917
- <xsl:when test=". = 1 or . = 0">
1918
- <fo:table-column column-width="proportional-column-width(2)"/>
1919
- </xsl:when>
1920
- <xsl:otherwise>
1921
- <fo:table-column column-width="proportional-column-width({.})"/>
1922
- </xsl:otherwise>
1923
- </xsl:choose>
1924
- </xsl:for-each>
1938
+ <xsl:choose>
1939
+ <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
1940
+ <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
1941
+ <fo:table-column column-width="{@width}"/>
1942
+ </xsl:for-each>
1943
+ </xsl:when>
1944
+ <xsl:otherwise>
1945
+ <xsl:for-each select="xalan:nodeset($colwidths)//column">
1946
+ <xsl:choose>
1947
+ <xsl:when test=". = 1 or . = 0">
1948
+ <fo:table-column column-width="proportional-column-width(2)"/>
1949
+ </xsl:when>
1950
+ <xsl:otherwise>
1951
+ <fo:table-column column-width="proportional-column-width({.})"/>
1952
+ </xsl:otherwise>
1953
+ </xsl:choose>
1954
+ </xsl:for-each>
1955
+ </xsl:otherwise>
1956
+ </xsl:choose>
1925
1957
 
1926
1958
  <fo:table-body>
1927
1959
  <fo:table-row>
@@ -4119,7 +4151,8 @@
4119
4151
  <fo:table-column column-width="107mm"/>
4120
4152
  <fo:table-column column-width="15mm"/>
4121
4153
  <fo:table-body>
4122
- <fo:table-row font-family="Arial" text-align="center" font-weight="bold" background-color="black" color="white">
4154
+ <fo:table-row text-align="center" font-weight="bold" background-color="black" color="white">
4155
+
4123
4156
  <fo:table-cell border="1pt solid black"><fo:block>Date</fo:block></fo:table-cell>
4124
4157
  <fo:table-cell border="1pt solid black"><fo:block>Type</fo:block></fo:table-cell>
4125
4158
  <fo:table-cell border="1pt solid black"><fo:block>Change</fo:block></fo:table-cell>
@@ -4137,6 +4170,10 @@
4137
4170
  <fo:block><xsl:apply-templates/></fo:block>
4138
4171
  </fo:table-cell>
4139
4172
  </xsl:template><xsl:template name="processBibitem">
4173
+
4174
+
4175
+ <!-- end BIPM bibitem processing-->
4176
+
4140
4177
 
4141
4178
 
4142
4179
 
@@ -5,3 +5,4 @@ Source Serif Pro:
5
5
  Source Code Pro:
6
6
  - Light
7
7
  Source Han Sans:
8
+ FiraCode:
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IHO
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
4
4
  end
5
5
  end
@@ -13,11 +13,13 @@ i18nyaml: lib/isodoc/iho/i18n-en.yaml
13
13
  htmlcoverpage: lib/isodoc/iho/html/html_iho_titlepage.html
14
14
  htmlintropage: lib/isodoc/iho/html/html_iho_intro.html
15
15
  htmlstylesheet: lib/isodoc/iho/html/htmlstyle.scss
16
- html_bodyfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
17
- html_headerfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
18
- html_monospacefont: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
16
+ html_bodyfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
17
+ html_headerfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
18
+ html_monospacefont: '"Fira Code",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
19
19
  html_normalfontsize: "15px"
20
20
  html_footnotefontsize: "0.9em"
21
+ webfont:
22
+ - "https://fonts.googleapis.com/css2?family=Fira+Code&display=swap"
21
23
  scripts: lib/isodoc/iho/html/scripts.html
22
24
  scripts_pdf: lib/isodoc/iho/html/scripts.pdf.html
23
25
  standardstylesheet: lib/isodoc/iho/html/iho.scss
@@ -25,9 +27,9 @@ header: lib/isodoc/iho/html/header.html
25
27
  wordcoverpage: lib/isodoc/iho/html/word_iho_titlepage.html
26
28
  wordintropage: lib/isodoc/iho/html/word_iho_intro.html
27
29
  wordstylesheet: lib/isodoc/iho/html/wordstyle.scss
28
- word_bodyfont: '"Helvetica Neue",Arial,sans-serif'
29
- word_headerfont: '"Helvetica Neue",Arial,sans-serif'
30
- word_monospacefont: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
30
+ word_bodyfont: 'Arial,sans-serif'
31
+ word_headerfont: 'Arial,sans-serif'
32
+ word_monospacefont: '"Fira Code",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
31
33
  word_normalfontsize: "12.0pt"
32
34
  word_smallerfontsize: "11.0pt"
33
35
  word_monospacefontsize: "10.0pt"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-30 00:00:00.000000000 Z
11
+ date: 2020-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities