metanorma-m3aawg 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/m3aawg/basicdoc.rng +4 -11
- data/lib/asciidoctor/m3aawg/isodoc.rng +13 -6
- data/lib/asciidoctor/m3aawg/m3d.rng +7 -0
- data/lib/isodoc/m3aawg/m3d.report.xsl +167 -33
- data/lib/metanorma/m3aawg/version.rb +1 -1
- data/metanorma-m3d.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98cdf846b857079130e1681bbfd8954ca38163afbf4b96203f0eff9610ba396e
|
4
|
+
data.tar.gz: cef14e0686896ed1aa1f09d103c224b14abd45d4165898b08b993d3f23fbb589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0f848d676b1d8ffa7897af520facd064c12c2976733c5e390c9cf9504ddc13f5faeebbe8ef801ad6de303da78fd398fbe5dd6a04611f84056fcea177bea6a7
|
7
|
+
data.tar.gz: 5c05d7dd3fc2e616cccdf928fb5b32ca059b5e8f33d2af3e2b0f124aaa33182e99f7563fcb1d936cb6d814632219cbb2aa962ed07d62cb0dc347fb53fb93463d
|
@@ -158,17 +158,7 @@
|
|
158
158
|
<data type="ID"/>
|
159
159
|
</attribute>
|
160
160
|
<oneOrMore>
|
161
|
-
<
|
162
|
-
<ref name="formula"/>
|
163
|
-
<ref name="ul"/>
|
164
|
-
<ref name="ol"/>
|
165
|
-
<ref name="dl"/>
|
166
|
-
<ref name="quote"/>
|
167
|
-
<ref name="sourcecode"/>
|
168
|
-
<ref name="paragraph"/>
|
169
|
-
<ref name="table"/>
|
170
|
-
<ref name="figure"/>
|
171
|
-
</choice>
|
161
|
+
<ref name="paragraph"/>
|
172
162
|
</oneOrMore>
|
173
163
|
</element>
|
174
164
|
</define>
|
@@ -1028,6 +1018,9 @@
|
|
1028
1018
|
<value>alphabet_upper</value>
|
1029
1019
|
</choice>
|
1030
1020
|
</attribute>
|
1021
|
+
<optional>
|
1022
|
+
<attribute name="start"/>
|
1023
|
+
</optional>
|
1031
1024
|
<oneOrMore>
|
1032
1025
|
<ref name="li"/>
|
1033
1026
|
</oneOrMore>
|
@@ -64,6 +64,11 @@
|
|
64
64
|
</choice>
|
65
65
|
</attribute>
|
66
66
|
</optional>
|
67
|
+
<optional>
|
68
|
+
<attribute name="droploc">
|
69
|
+
<data type="boolean"/>
|
70
|
+
</attribute>
|
71
|
+
</optional>
|
67
72
|
<text/>
|
68
73
|
</element>
|
69
74
|
</define>
|
@@ -859,6 +864,13 @@
|
|
859
864
|
</define>
|
860
865
|
<define name="standard-document">
|
861
866
|
<element name="standard-document">
|
867
|
+
<attribute name="version"/>
|
868
|
+
<attribute name="type">
|
869
|
+
<choice>
|
870
|
+
<value>semantic</value>
|
871
|
+
<value>presentation</value>
|
872
|
+
</choice>
|
873
|
+
</attribute>
|
862
874
|
<ref name="bibdata"/>
|
863
875
|
<optional>
|
864
876
|
<ref name="boilerplate"/>
|
@@ -880,7 +892,7 @@
|
|
880
892
|
<oneOrMore>
|
881
893
|
<choice>
|
882
894
|
<ref name="content"/>
|
883
|
-
<ref name="
|
895
|
+
<ref name="abstract"/>
|
884
896
|
<ref name="foreword"/>
|
885
897
|
<ref name="introduction"/>
|
886
898
|
<ref name="acknowledgements"/>
|
@@ -1481,11 +1493,6 @@
|
|
1481
1493
|
</optional>
|
1482
1494
|
</element>
|
1483
1495
|
</define>
|
1484
|
-
<define name="preface_abstract">
|
1485
|
-
<element name="abstract">
|
1486
|
-
<ref name="Basic-Section"/>
|
1487
|
-
</element>
|
1488
|
-
</define>
|
1489
1496
|
<define name="term-clause">
|
1490
1497
|
<element name="clause">
|
1491
1498
|
<optional>
|
@@ -89,6 +89,13 @@
|
|
89
89
|
</define>
|
90
90
|
<define name="m3d-standard">
|
91
91
|
<element name="m3d-standard">
|
92
|
+
<attribute name="version"/>
|
93
|
+
<attribute name="type">
|
94
|
+
<choice>
|
95
|
+
<value>semantic</value>
|
96
|
+
<value>presentation</value>
|
97
|
+
</choice>
|
98
|
+
</attribute>
|
92
99
|
<ref name="bibdata"/>
|
93
100
|
<zeroOrMore>
|
94
101
|
<ref name="termdocsource"/>
|
@@ -75,6 +75,10 @@
|
|
75
75
|
|
76
76
|
<xsl:call-template name="addPDFUAmeta"/>
|
77
77
|
|
78
|
+
<xsl:call-template name="addBookmarks">
|
79
|
+
<xsl:with-param name="contents" select="$contents"/>
|
80
|
+
</xsl:call-template>
|
81
|
+
|
78
82
|
<fo:page-sequence master-reference="document" force-page-count="no-force">
|
79
83
|
|
80
84
|
<fo:static-content flow-name="cover-header">
|
@@ -218,17 +222,17 @@
|
|
218
222
|
<fo:table-column column-width="25mm"/>
|
219
223
|
<fo:table-column column-width="155mm"/>
|
220
224
|
<fo:table-body>
|
221
|
-
<xsl:for-each select="xalan:nodeset($contents)//item
|
225
|
+
<xsl:for-each select="xalan:nodeset($contents)//item[@display = 'true']"><!-- [not(@level = 2 and starts-with(@section, '0'))] skip clause from preface -->
|
222
226
|
<fo:table-row height="6mm">
|
223
227
|
<fo:table-cell>
|
224
228
|
<fo:block font-weight="bold">
|
225
|
-
<fo:basic-link internal-destination="{@id}" fox:alt-text="{
|
229
|
+
<fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">
|
226
230
|
<xsl:choose>
|
227
231
|
<xsl:when test="@section = ''">
|
228
|
-
<xsl:apply-templates/>
|
232
|
+
<xsl:apply-templates select="title"/>
|
229
233
|
</xsl:when>
|
230
234
|
<xsl:when test="@type = 'references' and @section = ''">
|
231
|
-
<xsl:apply-templates/>
|
235
|
+
<xsl:apply-templates select="title"/>
|
232
236
|
</xsl:when>
|
233
237
|
<xsl:when test="@level = 1">
|
234
238
|
<xsl:value-of select="@section"/>
|
@@ -243,12 +247,12 @@
|
|
243
247
|
<xsl:if test="@level = 1">
|
244
248
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
245
249
|
</xsl:if>
|
246
|
-
<fo:basic-link internal-destination="{@id}" fox:alt-text="{
|
250
|
+
<fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">
|
247
251
|
<xsl:choose>
|
248
252
|
<xsl:when test="@section = ''"/>
|
249
253
|
<xsl:when test="@type = 'references' and @section = ''"/>
|
250
254
|
<xsl:otherwise>
|
251
|
-
<xsl:apply-templates/>
|
255
|
+
<xsl:apply-templates select="title"/>
|
252
256
|
</xsl:otherwise>
|
253
257
|
</xsl:choose>
|
254
258
|
|
@@ -314,9 +318,7 @@
|
|
314
318
|
</xsl:variable>
|
315
319
|
|
316
320
|
<xsl:variable name="display">
|
317
|
-
<xsl:choose>
|
318
|
-
<xsl:when test="ancestor-or-self::m3d:bibitem">false</xsl:when>
|
319
|
-
<xsl:when test="ancestor-or-self::m3d:term">false</xsl:when>
|
321
|
+
<xsl:choose>
|
320
322
|
<xsl:when test="ancestor-or-self::m3d:preface and $level >= 2">false</xsl:when>
|
321
323
|
<xsl:when test="ancestor::m3d:annex and $level >= 3">false</xsl:when>
|
322
324
|
<xsl:when test="$level <= 3">true</xsl:when>
|
@@ -324,8 +326,15 @@
|
|
324
326
|
</xsl:choose>
|
325
327
|
</xsl:variable>
|
326
328
|
|
329
|
+
<xsl:variable name="skip">
|
330
|
+
<xsl:choose>
|
331
|
+
<xsl:when test="ancestor-or-self::m3d:bibitem">true</xsl:when>
|
332
|
+
<xsl:when test="ancestor-or-self::m3d:term">true</xsl:when>
|
333
|
+
<xsl:otherwise>false</xsl:otherwise>
|
334
|
+
</xsl:choose>
|
335
|
+
</xsl:variable>
|
327
336
|
|
328
|
-
<xsl:if test="$
|
337
|
+
<xsl:if test="$skip = 'false'">
|
329
338
|
|
330
339
|
<xsl:variable name="section">
|
331
340
|
<xsl:call-template name="getSection"/>
|
@@ -339,12 +348,13 @@
|
|
339
348
|
<xsl:value-of select="local-name()"/>
|
340
349
|
</xsl:variable>
|
341
350
|
|
342
|
-
<item id="{@id}" level="{$level}" section="{$section}" type="{$type}">
|
343
|
-
<
|
351
|
+
<item id="{@id}" level="{$level}" section="{$section}" type="{$type}" display="{$display}">
|
352
|
+
<title>
|
353
|
+
<xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item"/>
|
354
|
+
</title>
|
355
|
+
<xsl:apply-templates mode="contents"/>
|
344
356
|
</item>
|
345
|
-
<xsl:apply-templates mode="contents"/>
|
346
357
|
</xsl:if>
|
347
|
-
|
348
358
|
</xsl:template>
|
349
359
|
|
350
360
|
|
@@ -859,6 +869,12 @@
|
|
859
869
|
|
860
870
|
</title-edition>
|
861
871
|
|
872
|
+
<title-edition lang="fr">
|
873
|
+
|
874
|
+
<xsl:text>Édition </xsl:text>
|
875
|
+
|
876
|
+
</title-edition>
|
877
|
+
|
862
878
|
|
863
879
|
<title-toc lang="en">
|
864
880
|
|
@@ -967,7 +983,9 @@
|
|
967
983
|
<xsl:value-of select="$titles/*[local-name() = $name][@lang = 'en']"/>
|
968
984
|
</xsl:otherwise>
|
969
985
|
</xsl:choose>
|
970
|
-
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable name="linebreak" select="'
'"/><xsl:attribute-set name="
|
986
|
+
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable name="linebreak" select="'
'"/><xsl:attribute-set name="root-style">
|
987
|
+
|
988
|
+
</xsl:attribute-set><xsl:attribute-set name="link-style">
|
971
989
|
|
972
990
|
<xsl:attribute name="color">blue</xsl:attribute>
|
973
991
|
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
@@ -2891,12 +2909,101 @@
|
|
2891
2909
|
|
2892
2910
|
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style"/>
|
2893
2911
|
</fo:block>
|
2894
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
|
2912
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
|
2895
2913
|
<xsl:apply-templates mode="contents"/>
|
2896
2914
|
<xsl:text> </xsl:text>
|
2897
|
-
</xsl:template><xsl:template match="
|
2915
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="bookmarks">
|
2916
|
+
<xsl:apply-templates mode="bookmarks"/>
|
2917
|
+
<xsl:text> </xsl:text>
|
2918
|
+
</xsl:template><xsl:template match="*[local-name() = 'name']/text()" mode="contents" priority="2">
|
2898
2919
|
<xsl:value-of select="."/>
|
2899
|
-
</xsl:template><xsl:template match="*[local-name() = '
|
2920
|
+
</xsl:template><xsl:template match="*[local-name() = 'name']/text()" mode="bookmarks" priority="2">
|
2921
|
+
<xsl:value-of select="."/>
|
2922
|
+
</xsl:template><xsl:template match="node()" mode="contents">
|
2923
|
+
<xsl:apply-templates mode="contents"/>
|
2924
|
+
</xsl:template><xsl:template match="node()" mode="bookmarks">
|
2925
|
+
<xsl:apply-templates mode="bookmarks"/>
|
2926
|
+
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="contents">
|
2927
|
+
<xsl:apply-templates select="."/>
|
2928
|
+
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
2929
|
+
<xsl:apply-templates mode="bookmarks"/>
|
2930
|
+
</xsl:template><xsl:template name="addBookmarks">
|
2931
|
+
<xsl:param name="contents"/>
|
2932
|
+
<xsl:if test="xalan:nodeset($contents)//item">
|
2933
|
+
<fo:bookmark-tree>
|
2934
|
+
<xsl:choose>
|
2935
|
+
<xsl:when test="xalan:nodeset($contents)/doc">
|
2936
|
+
<xsl:choose>
|
2937
|
+
<xsl:when test="count(xalan:nodeset($contents)/doc) > 1">
|
2938
|
+
<xsl:for-each select="xalan:nodeset($contents)/doc">
|
2939
|
+
<fo:bookmark internal-destination="{contents/item[1]/@id}" starting-state="hide">
|
2940
|
+
<fo:bookmark-title>
|
2941
|
+
<xsl:variable name="bookmark-title_">
|
2942
|
+
<xsl:choose>
|
2943
|
+
<xsl:when test="@lang = 'en'">
|
2944
|
+
|
2945
|
+
|
2946
|
+
</xsl:when>
|
2947
|
+
<xsl:when test="@lang = 'fr'">
|
2948
|
+
|
2949
|
+
|
2950
|
+
</xsl:when>
|
2951
|
+
<xsl:when test="@lang = 'de'">Deutsche</xsl:when>
|
2952
|
+
<xsl:otherwise><xsl:value-of select="@lang"/> version</xsl:otherwise>
|
2953
|
+
</xsl:choose>
|
2954
|
+
</xsl:variable>
|
2955
|
+
<xsl:choose>
|
2956
|
+
<xsl:when test="normalize-space($bookmark-title_) != ''">
|
2957
|
+
<xsl:value-of select="normalize-space($bookmark-title_)"/>
|
2958
|
+
</xsl:when>
|
2959
|
+
<xsl:otherwise>
|
2960
|
+
<xsl:choose>
|
2961
|
+
<xsl:when test="@lang = 'en'">English</xsl:when>
|
2962
|
+
<xsl:when test="@lang = 'fr'">Français</xsl:when>
|
2963
|
+
<xsl:when test="@lang = 'de'">Deutsche</xsl:when>
|
2964
|
+
<xsl:otherwise><xsl:value-of select="@lang"/> version</xsl:otherwise>
|
2965
|
+
</xsl:choose>
|
2966
|
+
</xsl:otherwise>
|
2967
|
+
</xsl:choose>
|
2968
|
+
</fo:bookmark-title>
|
2969
|
+
<xsl:apply-templates select="contents/item" mode="bookmark"/>
|
2970
|
+
</fo:bookmark>
|
2971
|
+
|
2972
|
+
</xsl:for-each>
|
2973
|
+
</xsl:when>
|
2974
|
+
<xsl:otherwise>
|
2975
|
+
<xsl:for-each select="xalan:nodeset($contents)/doc">
|
2976
|
+
<xsl:apply-templates select="contents/item" mode="bookmark"/>
|
2977
|
+
</xsl:for-each>
|
2978
|
+
</xsl:otherwise>
|
2979
|
+
</xsl:choose>
|
2980
|
+
</xsl:when>
|
2981
|
+
<xsl:otherwise>
|
2982
|
+
<xsl:apply-templates select="xalan:nodeset($contents)/contents/item" mode="bookmark"/>
|
2983
|
+
</xsl:otherwise>
|
2984
|
+
</xsl:choose>
|
2985
|
+
|
2986
|
+
|
2987
|
+
|
2988
|
+
|
2989
|
+
|
2990
|
+
|
2991
|
+
|
2992
|
+
|
2993
|
+
</fo:bookmark-tree>
|
2994
|
+
</xsl:if>
|
2995
|
+
</xsl:template><xsl:template match="item" mode="bookmark">
|
2996
|
+
<fo:bookmark internal-destination="{@id}" starting-state="hide">
|
2997
|
+
<fo:bookmark-title>
|
2998
|
+
<xsl:if test="@section != ''">
|
2999
|
+
<xsl:value-of select="@section"/>
|
3000
|
+
<xsl:text> </xsl:text>
|
3001
|
+
</xsl:if>
|
3002
|
+
<xsl:value-of select="normalize-space(title)"/>
|
3003
|
+
</fo:bookmark-title>
|
3004
|
+
<xsl:apply-templates mode="bookmark"/>
|
3005
|
+
</fo:bookmark>
|
3006
|
+
</xsl:template><xsl:template match="title" mode="bookmark"/><xsl:template match="text()" mode="bookmark"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'image']/*[local-name() = 'name']" mode="presentation">
|
2900
3007
|
<xsl:if test="normalize-space() != ''">
|
2901
3008
|
<fo:block xsl:use-attribute-sets="figure-name-style">
|
2902
3009
|
|
@@ -2954,7 +3061,7 @@
|
|
2954
3061
|
<xsl:apply-templates/>
|
2955
3062
|
</xsl:otherwise>
|
2956
3063
|
</xsl:choose>
|
2957
|
-
</xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
3064
|
+
</xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="bookmarks"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
|
2958
3065
|
<xsl:text> </xsl:text>
|
2959
3066
|
</xsl:template><xsl:template match="*[local-name() = 'strong']" mode="contents_item">
|
2960
3067
|
<xsl:copy>
|
@@ -3558,20 +3665,29 @@
|
|
3558
3665
|
<!-- 0xA0 to space replacement -->
|
3559
3666
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
|
3560
3667
|
</xsl:template><xsl:template match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
|
3561
|
-
<
|
3562
|
-
<xsl:
|
3563
|
-
<
|
3564
|
-
<xsl:
|
3565
|
-
<xsl:
|
3566
|
-
|
3567
|
-
|
3568
|
-
|
3569
|
-
|
3570
|
-
|
3571
|
-
|
3572
|
-
|
3573
|
-
|
3574
|
-
|
3668
|
+
<xsl:choose>
|
3669
|
+
<xsl:when test="parent::*[local-name() = 'note']">
|
3670
|
+
<fo:block-container>
|
3671
|
+
<xsl:attribute name="margin-left">
|
3672
|
+
<xsl:choose>
|
3673
|
+
<xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
|
3674
|
+
<xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
|
3675
|
+
</xsl:choose>
|
3676
|
+
</xsl:attribute>
|
3677
|
+
|
3678
|
+
<fo:block-container margin-left="0mm">
|
3679
|
+
<fo:block>
|
3680
|
+
<xsl:apply-templates select="." mode="ul_ol"/>
|
3681
|
+
</fo:block>
|
3682
|
+
</fo:block-container>
|
3683
|
+
</fo:block-container>
|
3684
|
+
</xsl:when>
|
3685
|
+
<xsl:otherwise>
|
3686
|
+
<fo:block>
|
3687
|
+
<xsl:apply-templates select="." mode="ul_ol"/>
|
3688
|
+
</fo:block>
|
3689
|
+
</xsl:otherwise>
|
3690
|
+
</xsl:choose>
|
3575
3691
|
</xsl:template><xsl:template match="*[local-name() = 'errata']">
|
3576
3692
|
<!-- <row>
|
3577
3693
|
<date>05-07-2013</date>
|
@@ -3867,6 +3983,7 @@
|
|
3867
3983
|
|
3868
3984
|
|
3869
3985
|
|
3986
|
+
|
3870
3987
|
</xsl:variable>
|
3871
3988
|
<xsl:if test="$documentNS != $XSLNS">
|
3872
3989
|
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
@@ -3892,4 +4009,21 @@
|
|
3892
4009
|
</xsl:otherwise>
|
3893
4010
|
</xsl:choose>
|
3894
4011
|
</xsl:attribute>
|
4012
|
+
</xsl:template><xsl:template name="add-letter-spacing">
|
4013
|
+
<xsl:param name="text"/>
|
4014
|
+
<xsl:param name="letter-spacing" select="'0.15'"/>
|
4015
|
+
<xsl:if test="string-length($text) > 0">
|
4016
|
+
<xsl:variable name="char" select="substring($text, 1, 1)"/>
|
4017
|
+
<fo:inline padding-right="{$letter-spacing}mm">
|
4018
|
+
<xsl:if test="$char = '®'">
|
4019
|
+
<xsl:attribute name="font-size">58%</xsl:attribute>
|
4020
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
4021
|
+
</xsl:if>
|
4022
|
+
<xsl:value-of select="$char"/>
|
4023
|
+
</fo:inline>
|
4024
|
+
<xsl:call-template name="add-letter-spacing">
|
4025
|
+
<xsl:with-param name="text" select="substring($text, 2)"/>
|
4026
|
+
<xsl:with-param name="letter-spacing" select="$letter-spacing"/>
|
4027
|
+
</xsl:call-template>
|
4028
|
+
</xsl:if>
|
3895
4029
|
</xsl:template></xsl:stylesheet>
|
data/metanorma-m3d.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
32
32
|
spec.add_dependency "thread_safe"
|
33
33
|
|
34
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
34
|
+
spec.add_dependency "metanorma-standoc", "~> 1.6.0"
|
35
35
|
spec.add_dependency "isodoc", "~> 1.2.0"
|
36
36
|
|
37
37
|
spec.add_development_dependency "byebug", "~> 9.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-m3aawg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
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-09-
|
11
|
+
date: 2020-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.6.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.6.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: isodoc
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|