metanorma-jis 0.6.5 → 0.6.7
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/jis/html/style-human.css +1 -1
- data/lib/isodoc/jis/html/style-human.scss +1 -1
- data/lib/isodoc/jis/init.rb +1 -1
- data/lib/isodoc/jis/jis.international-standard.xsl +160 -151
- data/lib/isodoc/jis/presentation_xml_convert.rb +37 -5
- data/lib/isodoc/jis/xref.rb +14 -2
- data/lib/metanorma/jis/biblio.rng +1 -1
- data/lib/metanorma/jis/isodoc.rng +35 -10
- data/lib/metanorma/jis/version.rb +1 -1
- data/metanorma-jis.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc35660a3519ecd96fc405bb9b779a5faa4e0beec0c5c8e9f3d10b097ec59383
|
|
4
|
+
data.tar.gz: 338cc7fa6625b69488b162d8d9d859c4def0715213b6bbe6d8312df083b5c6cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 940badc26918dc33e357b8d7e3ae290f5f4ba9f4ac2adc21893d6e4af347125171ceeb498c72ecb045a1d4ef620d1efac8adf1f45f25c11a81a8d344e26ba68c
|
|
7
|
+
data.tar.gz: 04fb252ad1bab143b1c08be8121e4859ef26e33d79d97515aadb149e023b2c0c3f7a89ae8a487dbd7c4e5de19177fafeaacf1ce432224fec21724284d270b226
|
data/lib/isodoc/jis/init.rb
CHANGED
|
@@ -534,6 +534,8 @@
|
|
|
534
534
|
<xsl:with-param name="docidentifier" select="$docidentifier"/>
|
|
535
535
|
</xsl:call-template>
|
|
536
536
|
|
|
537
|
+
<xsl:call-template name="inner-cover-page"/>
|
|
538
|
+
|
|
537
539
|
<!-- ========================== -->
|
|
538
540
|
<!-- Contents and preface pages -->
|
|
539
541
|
<!-- ========================== -->
|
|
@@ -987,41 +989,51 @@
|
|
|
987
989
|
<xsl:template name="cover-page">
|
|
988
990
|
<xsl:param name="num"/>
|
|
989
991
|
<xsl:param name="docidentifier"/>
|
|
990
|
-
<xsl:
|
|
991
|
-
<xsl:
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
<xsl:
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
<xsl:call-template name="
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
992
|
+
<xsl:choose>
|
|
993
|
+
<xsl:when test="/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata[mn:name = 'coverpage-image']/mn:value/mn:image and normalize-space(/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata/mn:full-coverpage-replacement) = 'true'">
|
|
994
|
+
<xsl:call-template name="insertCoverPageFullImage"/>
|
|
995
|
+
</xsl:when>
|
|
996
|
+
<xsl:otherwise>
|
|
997
|
+
<xsl:if test="$isGenerateTableIF = 'false'">
|
|
998
|
+
<xsl:variable name="doctype"><xsl:call-template name="get_doctype"/></xsl:variable>
|
|
999
|
+
<xsl:variable name="docidentifier_JIS"><xsl:call-template name="get_docidentifier_JIS"/></xsl:variable>
|
|
1000
|
+
<xsl:variable name="doclang"><xsl:call-template name="getLang"/></xsl:variable>
|
|
1001
|
+
<xsl:variable name="copyrightText"><xsl:call-template name="get_copyrightText"/></xsl:variable>
|
|
1002
|
+
<xsl:choose>
|
|
1003
|
+
<xsl:when test="$vertical_layout = 'true'">
|
|
1004
|
+
<xsl:call-template name="insertCoverPageVerticalLayout">
|
|
1005
|
+
<xsl:with-param name="num" select="$num"/>
|
|
1006
|
+
<xsl:with-param name="docidentifier_jis" select="$docidentifier_JIS"/>
|
|
1007
|
+
</xsl:call-template>
|
|
1008
|
+
</xsl:when>
|
|
1009
|
+
<xsl:when test="$doctype = 'technical-specification'">
|
|
1010
|
+
<xsl:call-template name="insertCoverPageJSA">
|
|
1011
|
+
<xsl:with-param name="num" select="$num"/>
|
|
1012
|
+
<xsl:with-param name="doclang" select="$doclang"/>
|
|
1013
|
+
<xsl:with-param name="docidentifier_jis" select="$docidentifier_JIS"/>
|
|
1014
|
+
</xsl:call-template>
|
|
1015
|
+
</xsl:when>
|
|
1016
|
+
<xsl:otherwise>
|
|
1017
|
+
<xsl:call-template name="insertCoverPage">
|
|
1018
|
+
<xsl:with-param name="num" select="$num"/>
|
|
1019
|
+
<xsl:with-param name="copyrightText" select="$copyrightText"/>
|
|
1020
|
+
<xsl:with-param name="docidentifier_jis" select="$docidentifier_JIS"/>
|
|
1021
|
+
</xsl:call-template>
|
|
1022
|
+
</xsl:otherwise>
|
|
1023
|
+
</xsl:choose>
|
|
1017
1024
|
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
+
<xsl:if test="not($vertical_layout = 'true')">
|
|
1026
|
+
<xsl:call-template name="insertInnerCoverPage">
|
|
1027
|
+
<xsl:with-param name="docidentifier" select="$docidentifier"/>
|
|
1028
|
+
<xsl:with-param name="copyrightText" select="$copyrightText"/>
|
|
1029
|
+
</xsl:call-template>
|
|
1030
|
+
</xsl:if>
|
|
1031
|
+
</xsl:if>
|
|
1032
|
+
</xsl:otherwise>
|
|
1033
|
+
</xsl:choose>
|
|
1034
|
+
</xsl:template>
|
|
1035
|
+
|
|
1036
|
+
<xsl:template name="inner-cover-page">
|
|
1025
1037
|
</xsl:template>
|
|
1026
1038
|
|
|
1027
1039
|
<xsl:template match="mn:references[not(@hidden = 'true')]" mode="linear_xml" priority="2">
|
|
@@ -2869,7 +2881,7 @@
|
|
|
2869
2881
|
<!-- mn:term/mn:preferred2//text() | -->
|
|
2870
2882
|
|
|
2871
2883
|
<!-- <name>注記 1</name> to <name>注記<font_en> 1</font_en></name> -->
|
|
2872
|
-
<xsl:template match="mn:title/text() | mn:fmt-title/text() | mn:term/mn:name/text() | mn:term/mn:fmt-name/text() | mn:note/mn:name/text() | mn:note/mn:fmt-name/text() | mn:termnote/mn:name/text() |mn:termnote/mn:fmt-name/text() | mn:table/mn:name/text() |mn:table/mn:fmt-name/text() | mn:figure/mn:name/text() |mn:figure/mn:fmt-name/text() | mn:termexample/mn:name/text() |mn:termexample/mn:fmtname/text() | mn:xref//text() | mn:fmt-xref//text() | mn:origin/text() | mn:fmt-origin/text()" mode="update_xml_step1">
|
|
2884
|
+
<xsl:template match="mn:title/text() | mn:fmt-title/text() | mn:term/mn:name/text() | mn:term/mn:fmt-name/text() | mn:note/mn:name/text() | mn:note/mn:fmt-name/text() | mn:termnote/mn:name/text() |mn:termnote/mn:fmt-name/text() | mn:table/mn:name/text() |mn:table/mn:fmt-name/text() | mn:figure/mn:name/text() |mn:figure/mn:fmt-name/text() | mn:termexample/mn:name/text() |mn:termexample/mn:fmtname/text() | mn:xref//text() | mn:fmt-xref//text() | mn:origin/text() | mn:fmt-origin/text() | mn:fmt-link/text()" mode="update_xml_step1">
|
|
2873
2885
|
<xsl:choose>
|
|
2874
2886
|
<xsl:when test="$vertical_layout = 'true'">
|
|
2875
2887
|
<xsl:choose>
|
|
@@ -3255,6 +3267,23 @@
|
|
|
3255
3267
|
<xsl:param name="section"/>
|
|
3256
3268
|
<xsl:param name="copyrightText"/>
|
|
3257
3269
|
<xsl:param name="section_title"/>
|
|
3270
|
+
|
|
3271
|
+
<xsl:call-template name="insertHeader">
|
|
3272
|
+
<xsl:with-param name="docidentifier" select="$docidentifier"/>
|
|
3273
|
+
<xsl:with-param name="section" select="$section"/>
|
|
3274
|
+
<xsl:with-param name="section_title" select="$section_title"/>
|
|
3275
|
+
</xsl:call-template>
|
|
3276
|
+
|
|
3277
|
+
<xsl:call-template name="insertFooter">
|
|
3278
|
+
<xsl:with-param name="section" select="$section"/>
|
|
3279
|
+
<xsl:with-param name="copyrightText" select="$copyrightText"/>
|
|
3280
|
+
</xsl:call-template>
|
|
3281
|
+
</xsl:template>
|
|
3282
|
+
|
|
3283
|
+
<xsl:template name="insertHeader">
|
|
3284
|
+
<xsl:param name="docidentifier"/>
|
|
3285
|
+
<xsl:param name="section"/>
|
|
3286
|
+
<xsl:param name="section_title"/>
|
|
3258
3287
|
<fo:static-content flow-name="header-odd-first" role="artifact">
|
|
3259
3288
|
<fo:block-container font-family="Arial" font-size="9pt" height="26mm" display-align="after" text-align="right">
|
|
3260
3289
|
<xsl:if test="$vertical_layout = 'true'">
|
|
@@ -3310,11 +3339,6 @@
|
|
|
3310
3339
|
<fo:block> </fo:block>
|
|
3311
3340
|
</fo:block-container>
|
|
3312
3341
|
</fo:static-content>
|
|
3313
|
-
|
|
3314
|
-
<xsl:call-template name="insertFooter">
|
|
3315
|
-
<xsl:with-param name="section" select="$section"/>
|
|
3316
|
-
<xsl:with-param name="copyrightText" select="$copyrightText"/>
|
|
3317
|
-
</xsl:call-template>
|
|
3318
3342
|
</xsl:template>
|
|
3319
3343
|
|
|
3320
3344
|
<xsl:template name="insertFooter">
|
|
@@ -3322,9 +3346,9 @@
|
|
|
3322
3346
|
<xsl:param name="copyrightText"/>
|
|
3323
3347
|
<fo:static-content flow-name="footer">
|
|
3324
3348
|
<fo:block-container height="24mm" display-align="after">
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3349
|
+
<xsl:if test="$section = 'commentary'">
|
|
3350
|
+
<xsl:attribute name="height">24.5mm</xsl:attribute>
|
|
3351
|
+
</xsl:if>
|
|
3328
3352
|
<xsl:if test="$section = 'preface'">
|
|
3329
3353
|
<fo:block font-size="9pt" text-align="center" space-after="10pt">(<fo:inline font-family="Times New Roman"><fo:page-number/></fo:inline>)</fo:block>
|
|
3330
3354
|
</xsl:if>
|
|
@@ -7324,7 +7348,6 @@
|
|
|
7324
7348
|
</xsl:attribute-set> <!-- feedback-statement-title-style -->
|
|
7325
7349
|
|
|
7326
7350
|
<xsl:template name="refine_feedback-statement-title-style">
|
|
7327
|
-
|
|
7328
7351
|
</xsl:template>
|
|
7329
7352
|
|
|
7330
7353
|
<xsl:attribute-set name="feedback-statement-p-style">
|
|
@@ -8968,95 +8991,89 @@
|
|
|
8968
8991
|
<xsl:template name="refine_term-style">
|
|
8969
8992
|
</xsl:template>
|
|
8970
8993
|
|
|
8971
|
-
<xsl:attribute-set name="term-
|
|
8994
|
+
<xsl:attribute-set name="term-number-style">
|
|
8972
8995
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
8973
8996
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
8974
8997
|
<xsl:attribute name="space-after">2pt</xsl:attribute>
|
|
8975
8998
|
</xsl:attribute-set> <!-- term-name-style -->
|
|
8976
8999
|
|
|
8977
|
-
<xsl:template name="refine_term-
|
|
9000
|
+
<xsl:template name="refine_term-number-style">
|
|
8978
9001
|
<xsl:if test="not($vertical_layout = 'true')">
|
|
8979
9002
|
<xsl:attribute name="font-family">Times New Roman</xsl:attribute>
|
|
8980
9003
|
</xsl:if>
|
|
8981
9004
|
</xsl:template>
|
|
8982
9005
|
|
|
8983
|
-
<xsl:attribute-set name="preferred-style">
|
|
8984
|
-
</xsl:attribute-set> <!-- preferred-style -->
|
|
8985
|
-
|
|
8986
|
-
<xsl:template name="refine_preferred-style">
|
|
8987
|
-
</xsl:template>
|
|
8988
|
-
|
|
8989
|
-
<xsl:attribute-set name="preferred-block-style">
|
|
9006
|
+
<xsl:attribute-set name="term-preferred-block-style">
|
|
8990
9007
|
</xsl:attribute-set> <!-- preferred-block-style -->
|
|
8991
9008
|
|
|
8992
|
-
<xsl:template name="
|
|
9009
|
+
<xsl:template name="refine_term-preferred-block-style">
|
|
8993
9010
|
<xsl:if test="$vertical_layout = 'true'">
|
|
8994
9011
|
<xsl:attribute name="letter-spacing">1mm</xsl:attribute>
|
|
8995
9012
|
<xsl:attribute name="margin-left">-6mm</xsl:attribute>
|
|
8996
9013
|
</xsl:if>
|
|
8997
9014
|
</xsl:template>
|
|
8998
9015
|
|
|
8999
|
-
<xsl:attribute-set name="preferred-
|
|
9016
|
+
<xsl:attribute-set name="term-preferred-style">
|
|
9000
9017
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
9001
9018
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
9002
9019
|
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
|
9003
9020
|
</xsl:attribute-set> <!-- preferred-term-style -->
|
|
9004
9021
|
|
|
9005
|
-
<xsl:template name="
|
|
9022
|
+
<xsl:template name="refine_term-preferred-style">
|
|
9006
9023
|
<xsl:if test="mn:strong">
|
|
9007
9024
|
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
|
9008
9025
|
</xsl:if>
|
|
9009
9026
|
</xsl:template>
|
|
9010
9027
|
|
|
9011
|
-
<xsl:attribute-set name="domain-style">
|
|
9012
|
-
</xsl:attribute-set> <!-- domain-style -->
|
|
9028
|
+
<xsl:attribute-set name="term-domain-style">
|
|
9029
|
+
</xsl:attribute-set> <!-- term-domain-style -->
|
|
9013
9030
|
|
|
9014
|
-
<xsl:template name="
|
|
9031
|
+
<xsl:template name="refine_term-domain-style">
|
|
9015
9032
|
</xsl:template>
|
|
9016
9033
|
|
|
9017
|
-
<xsl:attribute-set name="admitted-style">
|
|
9018
|
-
</xsl:attribute-set> <!-- admitted-style -->
|
|
9034
|
+
<xsl:attribute-set name="term-admitted-style">
|
|
9035
|
+
</xsl:attribute-set> <!-- term-admitted-style -->
|
|
9019
9036
|
|
|
9020
|
-
<xsl:template name="
|
|
9037
|
+
<xsl:template name="refine_term-admitted-style">
|
|
9021
9038
|
</xsl:template>
|
|
9022
9039
|
|
|
9023
|
-
<xsl:attribute-set name="deprecates-style">
|
|
9024
|
-
</xsl:attribute-set> <!-- deprecates-style -->
|
|
9040
|
+
<xsl:attribute-set name="term-deprecates-style">
|
|
9041
|
+
</xsl:attribute-set> <!-- term-deprecates-style -->
|
|
9025
9042
|
|
|
9026
|
-
<xsl:template name="
|
|
9043
|
+
<xsl:template name="refine_term-deprecates-style">
|
|
9027
9044
|
</xsl:template>
|
|
9028
9045
|
|
|
9029
|
-
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
|
9046
|
+
<xsl:attribute-set name="term-related-block-style" use-attribute-sets="term-preferred-block-style">
|
|
9030
9047
|
</xsl:attribute-set>
|
|
9031
9048
|
|
|
9032
|
-
<xsl:template name="
|
|
9049
|
+
<xsl:template name="refine_term-related-block-style">
|
|
9033
9050
|
</xsl:template>
|
|
9034
9051
|
|
|
9035
|
-
<xsl:attribute-set name="definition-style">
|
|
9052
|
+
<xsl:attribute-set name="term-definition-style">
|
|
9036
9053
|
<xsl:attribute name="space-before">2pt</xsl:attribute>
|
|
9037
9054
|
<xsl:attribute name="space-after">2pt</xsl:attribute>
|
|
9038
|
-
</xsl:attribute-set> <!-- definition-style -->
|
|
9055
|
+
</xsl:attribute-set> <!-- term-definition-style -->
|
|
9039
9056
|
|
|
9040
|
-
<xsl:template name="
|
|
9057
|
+
<xsl:template name="refine_term-definition-style">
|
|
9041
9058
|
</xsl:template>
|
|
9042
9059
|
|
|
9043
|
-
<xsl:attribute-set name="termsource-style">
|
|
9060
|
+
<xsl:attribute-set name="term-termsource-style">
|
|
9044
9061
|
<xsl:attribute name="margin-left">6mm</xsl:attribute>
|
|
9045
|
-
</xsl:attribute-set> <!-- termsource-style -->
|
|
9062
|
+
</xsl:attribute-set> <!-- term-termsource-style -->
|
|
9046
9063
|
|
|
9047
|
-
<xsl:template name="
|
|
9048
|
-
</xsl:template> <!--
|
|
9064
|
+
<xsl:template name="refine_term-termsource-style">
|
|
9065
|
+
</xsl:template> <!-- refine_term-termsource-style -->
|
|
9049
9066
|
|
|
9050
|
-
<xsl:attribute-set name="termsource-text-style">
|
|
9051
|
-
</xsl:attribute-set> <!-- termsource-text-style -->
|
|
9067
|
+
<xsl:attribute-set name="term-termsource-text-style">
|
|
9068
|
+
</xsl:attribute-set> <!-- term-termsource-text-style -->
|
|
9052
9069
|
|
|
9053
|
-
<xsl:template name="
|
|
9070
|
+
<xsl:template name="refine_term-termsource-text-style">
|
|
9054
9071
|
</xsl:template>
|
|
9055
9072
|
|
|
9056
|
-
<xsl:attribute-set name="origin-style">
|
|
9057
|
-
</xsl:attribute-set> <!-- origin-style -->
|
|
9073
|
+
<xsl:attribute-set name="term-origin-style">
|
|
9074
|
+
</xsl:attribute-set> <!-- term-origin-style -->
|
|
9058
9075
|
|
|
9059
|
-
<xsl:template name="
|
|
9076
|
+
<xsl:template name="refine_term-origin-style">
|
|
9060
9077
|
</xsl:template>
|
|
9061
9078
|
|
|
9062
9079
|
<!-- ====== -->
|
|
@@ -9100,9 +9117,9 @@
|
|
|
9100
9117
|
<!-- modification -->
|
|
9101
9118
|
<!-- ====== -->
|
|
9102
9119
|
<xsl:template match="mn:fmt-termsource" name="termsource">
|
|
9103
|
-
<fo:block xsl:use-attribute-sets="termsource-style">
|
|
9120
|
+
<fo:block xsl:use-attribute-sets="term-termsource-style">
|
|
9104
9121
|
|
|
9105
|
-
<xsl:call-template name="
|
|
9122
|
+
<xsl:call-template name="refine_term-termsource-style"/>
|
|
9106
9123
|
|
|
9107
9124
|
<!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
|
|
9108
9125
|
<xsl:variable name="termsource_text">
|
|
@@ -9150,8 +9167,8 @@
|
|
|
9150
9167
|
|
|
9151
9168
|
<!-- text SOURCE: -->
|
|
9152
9169
|
<xsl:template match="mn:fmt-termsource/mn:strong[1][following-sibling::*[1][self::mn:fmt-origin]]/text()">
|
|
9153
|
-
<fo:inline xsl:use-attribute-sets="termsource-text-style">
|
|
9154
|
-
<xsl:call-template name="
|
|
9170
|
+
<fo:inline xsl:use-attribute-sets="term-termsource-text-style">
|
|
9171
|
+
<xsl:call-template name="refine_term-termsource-text-style"/>
|
|
9155
9172
|
<xsl:value-of select="."/>
|
|
9156
9173
|
</fo:inline>
|
|
9157
9174
|
</xsl:template>
|
|
@@ -9163,8 +9180,8 @@
|
|
|
9163
9180
|
<xsl:if test="normalize-space(@citeas) = ''">
|
|
9164
9181
|
<xsl:attribute name="fox:alt-text"><xsl:value-of select="@bibitemid"/></xsl:attribute>
|
|
9165
9182
|
</xsl:if>
|
|
9166
|
-
<fo:inline xsl:use-attribute-sets="origin-style">
|
|
9167
|
-
<xsl:call-template name="
|
|
9183
|
+
<fo:inline xsl:use-attribute-sets="term-origin-style">
|
|
9184
|
+
<xsl:call-template name="refine_term-origin-style"/>
|
|
9168
9185
|
<xsl:apply-templates/>
|
|
9169
9186
|
</fo:inline>
|
|
9170
9187
|
</fo:basic-link>
|
|
@@ -9212,14 +9229,14 @@
|
|
|
9212
9229
|
<xsl:variable name="levelTerm">
|
|
9213
9230
|
<xsl:call-template name="getLevelTermName"/>
|
|
9214
9231
|
</xsl:variable>
|
|
9215
|
-
<fo:block font-size="{normalize-space($font-size)}" role="H{$levelTerm}" xsl:use-attribute-sets="preferred-block-style">
|
|
9232
|
+
<fo:block font-size="{normalize-space($font-size)}" role="H{$levelTerm}" xsl:use-attribute-sets="term-preferred-block-style">
|
|
9216
9233
|
|
|
9217
|
-
<xsl:call-template name="
|
|
9234
|
+
<xsl:call-template name="refine_term-preferred-block-style"/>
|
|
9218
9235
|
|
|
9219
9236
|
<xsl:if test="parent::mn:term and not(preceding-sibling::mn:fmt-preferred)"> <!-- if first preffered in term, then display term's name -->
|
|
9220
9237
|
|
|
9221
|
-
<fo:block xsl:use-attribute-sets="term-
|
|
9222
|
-
<xsl:call-template name="refine_term-
|
|
9238
|
+
<fo:block xsl:use-attribute-sets="term-number-style" role="SKIP">
|
|
9239
|
+
<xsl:call-template name="refine_term-number-style"/>
|
|
9223
9240
|
|
|
9224
9241
|
<xsl:for-each select="ancestor::mn:term[1]/mn:fmt-name"><!-- change context -->
|
|
9225
9242
|
<xsl:call-template name="setIDforNamedDestination"/>
|
|
@@ -9229,8 +9246,8 @@
|
|
|
9229
9246
|
</fo:block>
|
|
9230
9247
|
</xsl:if>
|
|
9231
9248
|
|
|
9232
|
-
<fo:block xsl:use-attribute-sets="preferred-
|
|
9233
|
-
<xsl:call-template name="
|
|
9249
|
+
<fo:block xsl:use-attribute-sets="term-preferred-style" role="SKIP">
|
|
9250
|
+
<xsl:call-template name="refine_term-preferred-style"/>
|
|
9234
9251
|
<xsl:if test="$vertical_layout = 'true'">
|
|
9235
9252
|
<xsl:attribute name="margin-left">6mm</xsl:attribute>
|
|
9236
9253
|
<xsl:attribute name="font-family">Noto Sans JP</xsl:attribute>
|
|
@@ -9258,15 +9275,15 @@
|
|
|
9258
9275
|
<xsl:template match="mn:domain"/>
|
|
9259
9276
|
|
|
9260
9277
|
<xsl:template match="mn:fmt-admitted">
|
|
9261
|
-
<fo:block xsl:use-attribute-sets="admitted-style">
|
|
9262
|
-
<xsl:call-template name="
|
|
9278
|
+
<fo:block xsl:use-attribute-sets="term-admitted-style">
|
|
9279
|
+
<xsl:call-template name="refine_term-admitted-style"/>
|
|
9263
9280
|
<xsl:apply-templates/>
|
|
9264
9281
|
</fo:block>
|
|
9265
9282
|
</xsl:template>
|
|
9266
9283
|
|
|
9267
9284
|
<xsl:template match="mn:fmt-deprecates">
|
|
9268
|
-
<fo:block xsl:use-attribute-sets="deprecates-style">
|
|
9269
|
-
<xsl:call-template name="
|
|
9285
|
+
<fo:block xsl:use-attribute-sets="term-deprecates-style">
|
|
9286
|
+
<xsl:call-template name="refine_term-deprecates-style"/>
|
|
9270
9287
|
<xsl:apply-templates/>
|
|
9271
9288
|
</fo:block>
|
|
9272
9289
|
</xsl:template>
|
|
@@ -9279,8 +9296,8 @@
|
|
|
9279
9296
|
<!-- End Preferred, admitted, deprecated -->
|
|
9280
9297
|
|
|
9281
9298
|
<xsl:template match="mn:fmt-related">
|
|
9282
|
-
<fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
|
|
9283
|
-
<xsl:call-template name="
|
|
9299
|
+
<fo:block role="SKIP" xsl:use-attribute-sets="term-related-block-style">
|
|
9300
|
+
<xsl:call-template name="refine_term-related-block-style"/>
|
|
9284
9301
|
<xsl:apply-templates/>
|
|
9285
9302
|
</fo:block>
|
|
9286
9303
|
</xsl:template>
|
|
@@ -9294,8 +9311,8 @@
|
|
|
9294
9311
|
<!-- definition -->
|
|
9295
9312
|
<!-- ========== -->
|
|
9296
9313
|
<xsl:template match="mn:fmt-definition">
|
|
9297
|
-
<fo:block xsl:use-attribute-sets="definition-style" role="SKIP">
|
|
9298
|
-
<xsl:call-template name="
|
|
9314
|
+
<fo:block xsl:use-attribute-sets="term-definition-style" role="SKIP">
|
|
9315
|
+
<xsl:call-template name="refine_term-definition-style"/>
|
|
9299
9316
|
<xsl:apply-templates/>
|
|
9300
9317
|
</fo:block>
|
|
9301
9318
|
</xsl:template>
|
|
@@ -13148,15 +13165,22 @@
|
|
|
13148
13165
|
<xsl:if test="ancestor::mn:li">
|
|
13149
13166
|
<xsl:attribute name="margin-left">7.5mm</xsl:attribute>
|
|
13150
13167
|
</xsl:if>
|
|
13151
|
-
</xsl:template>
|
|
13168
|
+
</xsl:template> <!-- refine_quote-style -->
|
|
13152
13169
|
|
|
13153
13170
|
<xsl:attribute-set name="quote-source-style">
|
|
13154
13171
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
|
13155
|
-
</xsl:attribute-set>
|
|
13172
|
+
</xsl:attribute-set> <!-- quote-source-style -->
|
|
13156
13173
|
|
|
13157
13174
|
<xsl:template name="refine_quote-source-style">
|
|
13158
13175
|
</xsl:template>
|
|
13159
13176
|
|
|
13177
|
+
<xsl:attribute-set name="source-style">
|
|
13178
|
+
</xsl:attribute-set> <!-- source-style -->
|
|
13179
|
+
|
|
13180
|
+
<xsl:template name="refine_source-style">
|
|
13181
|
+
|
|
13182
|
+
</xsl:template> <!-- refine_source-style -->
|
|
13183
|
+
|
|
13160
13184
|
<!-- ====== -->
|
|
13161
13185
|
<!-- quote -->
|
|
13162
13186
|
<!-- source -->
|
|
@@ -13208,7 +13232,9 @@
|
|
|
13208
13232
|
</xsl:if>
|
|
13209
13233
|
<xsl:choose>
|
|
13210
13234
|
<xsl:when test="not(parent::quote)">
|
|
13211
|
-
<fo:block>
|
|
13235
|
+
<fo:block xsl:use-attribute-sets="source-style">
|
|
13236
|
+
<xsl:call-template name="refine_source-style"/>
|
|
13237
|
+
|
|
13212
13238
|
<xsl:call-template name="insert_basic_link">
|
|
13213
13239
|
<xsl:with-param name="element">
|
|
13214
13240
|
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
|
|
@@ -15427,7 +15453,7 @@
|
|
|
15427
15453
|
<xsl:attribute name="font-family">Times New Roman</xsl:attribute>
|
|
15428
15454
|
</xsl:if>
|
|
15429
15455
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
|
15430
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
|
15456
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if><!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'pas'"></xsl:if> -->
|
|
15431
15457
|
</xsl:template> <!-- refine_fn-reference-style -->
|
|
15432
15458
|
|
|
15433
15459
|
<xsl:attribute-set name="fn-style">
|
|
@@ -15438,7 +15464,9 @@
|
|
|
15438
15464
|
</xsl:template>
|
|
15439
15465
|
|
|
15440
15466
|
<xsl:attribute-set name="fn-num-style">
|
|
15467
|
+
<xsl:attribute name="role">Reference</xsl:attribute>
|
|
15441
15468
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
|
15469
|
+
<xsl:attribute name="font-size">65%</xsl:attribute>
|
|
15442
15470
|
<xsl:attribute name="font-size">67%</xsl:attribute>
|
|
15443
15471
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
15444
15472
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
|
@@ -15537,33 +15565,16 @@
|
|
|
15537
15565
|
<xsl:variable name="ref_id" select="@target"/>
|
|
15538
15566
|
|
|
15539
15567
|
<xsl:variable name="footnote_inline">
|
|
15540
|
-
<fo:inline
|
|
15568
|
+
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
|
15541
15569
|
|
|
15542
|
-
<xsl:
|
|
15543
|
-
<xsl:choose>
|
|
15544
|
-
<xsl:when test="ancestor::mn:bibitem">
|
|
15545
|
-
<fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
|
|
15546
|
-
<xsl:call-template name="refine_bibitem-note-fn-style"/>
|
|
15547
|
-
</fn_styles>
|
|
15548
|
-
</xsl:when>
|
|
15549
|
-
<xsl:otherwise>
|
|
15550
|
-
<fn_styles xsl:use-attribute-sets="fn-num-style">
|
|
15551
|
-
<xsl:call-template name="refine_fn-num-style"/>
|
|
15552
|
-
</fn_styles>
|
|
15553
|
-
</xsl:otherwise>
|
|
15554
|
-
</xsl:choose>
|
|
15555
|
-
</xsl:variable>
|
|
15556
|
-
|
|
15557
|
-
<xsl:for-each select="xalan:nodeset($fn_styles)/fn_styles/@*">
|
|
15558
|
-
<xsl:copy-of select="."/>
|
|
15559
|
-
</xsl:for-each>
|
|
15570
|
+
<xsl:call-template name="refine_fn-num-style"/>
|
|
15560
15571
|
|
|
15561
15572
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
|
15562
15573
|
<!-- <xsl:if test="following-sibling::node()[normalize-space() != ''][1][self::mn:fn]">
|
|
15563
15574
|
<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
|
|
15564
15575
|
</xsl:if> -->
|
|
15565
15576
|
|
|
15566
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
|
15577
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if>
|
|
15567
15578
|
|
|
15568
15579
|
<xsl:call-template name="insert_basic_link">
|
|
15569
15580
|
<xsl:with-param name="element">
|
|
@@ -15902,33 +15913,6 @@
|
|
|
15902
15913
|
<xsl:template name="refine_bibitem-non-normative-list-body-style">
|
|
15903
15914
|
</xsl:template>
|
|
15904
15915
|
|
|
15905
|
-
<!-- footnote reference number for bibitem, in the text -->
|
|
15906
|
-
<xsl:attribute-set name="bibitem-note-fn-style">
|
|
15907
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
|
15908
|
-
<xsl:attribute name="font-size">65%</xsl:attribute>
|
|
15909
|
-
<xsl:attribute name="font-size">67%</xsl:attribute>
|
|
15910
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
15911
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
|
15912
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-style -->
|
|
15913
|
-
|
|
15914
|
-
<xsl:template name="refine_bibitem-note-fn-style">
|
|
15915
|
-
<xsl:if test="not($vertical_layout = 'true')">
|
|
15916
|
-
<xsl:attribute name="font-family">Times New Roman</xsl:attribute>
|
|
15917
|
-
</xsl:if>
|
|
15918
|
-
</xsl:template>
|
|
15919
|
-
|
|
15920
|
-
<!-- footnote number on the page bottom -->
|
|
15921
|
-
<xsl:attribute-set name="bibitem-note-fn-number-style">
|
|
15922
|
-
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
|
15923
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
|
|
15924
|
-
|
|
15925
|
-
<!-- footnote body (text) on the page bottom -->
|
|
15926
|
-
<xsl:attribute-set name="bibitem-note-fn-body-style">
|
|
15927
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
|
15928
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
|
15929
|
-
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
|
15930
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
|
|
15931
|
-
|
|
15932
15916
|
<xsl:attribute-set name="references-non-normative-style">
|
|
15933
15917
|
</xsl:attribute-set> <!-- references-non-normative-style -->
|
|
15934
15918
|
|
|
@@ -18316,6 +18300,17 @@
|
|
|
18316
18300
|
</xsl:attribute-set>
|
|
18317
18301
|
|
|
18318
18302
|
<xsl:template name="refine_clause-style">
|
|
18303
|
+
<!-- commented for https://github.com/metanorma/metanorma-ribose/issues/421 -->
|
|
18304
|
+
<!-- <xsl:if test="$namespace = 'rsd'">
|
|
18305
|
+
<xsl:variable name="level">
|
|
18306
|
+
<xsl:call-template name="getLevel">
|
|
18307
|
+
<xsl:with-param name="depth" select="mn:fmt-title/@depth"/>
|
|
18308
|
+
</xsl:call-template>
|
|
18309
|
+
</xsl:variable>
|
|
18310
|
+
<xsl:if test="$level >= 4">
|
|
18311
|
+
<xsl:attribute name="margin-left">13mm</xsl:attribute>
|
|
18312
|
+
</xsl:if>
|
|
18313
|
+
</xsl:if> -->
|
|
18319
18314
|
</xsl:template>
|
|
18320
18315
|
|
|
18321
18316
|
<!-- main sections -->
|
|
@@ -19398,6 +19393,20 @@
|
|
|
19398
19393
|
</fo:block-container>
|
|
19399
19394
|
</xsl:template>
|
|
19400
19395
|
|
|
19396
|
+
<!-- for https://github.com/metanorma/mn-native-pdf/issues/845 -->
|
|
19397
|
+
<xsl:template name="insertCoverPageFullImage">
|
|
19398
|
+
<xsl:param name="name">coverpage-image</xsl:param>
|
|
19399
|
+
<xsl:for-each select="//mn:metanorma/mn:metanorma-extension/mn:presentation-metadata[mn:name = $name][1]/mn:value/mn:image">
|
|
19400
|
+
<fo:page-sequence master-reference="cover-page" force-page-count="no-force">
|
|
19401
|
+
<fo:flow flow-name="xsl-region-body">
|
|
19402
|
+
<xsl:call-template name="insertBackgroundPageImage">
|
|
19403
|
+
<xsl:with-param name="number" select="position()"/>
|
|
19404
|
+
</xsl:call-template>
|
|
19405
|
+
</fo:flow>
|
|
19406
|
+
</fo:page-sequence>
|
|
19407
|
+
</xsl:for-each>
|
|
19408
|
+
</xsl:template>
|
|
19409
|
+
|
|
19401
19410
|
<xsl:template name="insertPageImage">
|
|
19402
19411
|
<xsl:param name="svg_content_height" select="$pageHeight"/>
|
|
19403
19412
|
<xsl:param name="bitmap_width" select="$pageWidth"/>
|
|
@@ -48,11 +48,13 @@ module IsoDoc
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def source1_label(elem, sources, ancestor)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
elem.children = if ancestor == :table
|
|
52
|
+
l10n("#{@i18n.source}: #{sources}")
|
|
53
|
+
elsif /\(.+\)/.match?(sources)
|
|
54
|
+
l10n("[#{@i18n.source}: #{sources}]")
|
|
55
|
+
else
|
|
56
|
+
l10n("(#{@i18n.source}: #{sources})")
|
|
57
|
+
end
|
|
56
58
|
end
|
|
57
59
|
|
|
58
60
|
def bibdata_i18n(bibdata)
|
|
@@ -147,6 +149,36 @@ module IsoDoc
|
|
|
147
149
|
docxml.xpath(ns("//table//fn"))
|
|
148
150
|
end
|
|
149
151
|
|
|
152
|
+
# if termsource xref has no SDO identifier, cite instead by full reference
|
|
153
|
+
def citeas(xmldoc)
|
|
154
|
+
super
|
|
155
|
+
xmldoc.xpath(ns("//fmt-origin")).each do |e|
|
|
156
|
+
fmt_origin_cite_full?(e) or next
|
|
157
|
+
bibitem = @bibitem_lookup[e["bibitemid"]]
|
|
158
|
+
cit = bibitem.at(ns("./formattedref")) or next
|
|
159
|
+
e["citeas"] = citeas_cleanup(to_xml(cit.children).strip)
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
def fmt_origin_cite_full?(elem)
|
|
164
|
+
sem_xml_descendant?(elem) and return
|
|
165
|
+
id = elem["bibitemid"] or return
|
|
166
|
+
b = @bibitem_lookup[id] or return
|
|
167
|
+
!b.at(ns(<<~XPATH))
|
|
168
|
+
./docidentifier[not(#{SKIP_DOCID} or @scope = 'biblio-tag' or @type = 'metanorma' or @type = 'metanorma-ordinal' or @type='title')]
|
|
169
|
+
XPATH
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
def termsource_join_delim(_elem)
|
|
173
|
+
@lang == "ja" ? "、" : "; "
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
def source_join_delim(_elem)
|
|
177
|
+
@lang == "ja" ? "、" : "; "
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
def bracketed_refs_processing(docxml); end
|
|
181
|
+
|
|
150
182
|
include Init
|
|
151
183
|
end
|
|
152
184
|
end
|
data/lib/isodoc/jis/xref.rb
CHANGED
|
@@ -69,8 +69,9 @@ module IsoDoc
|
|
|
69
69
|
)
|
|
70
70
|
if elem["unnumbered"] != "true"
|
|
71
71
|
x = semx(elem, sublabel)
|
|
72
|
+
p = elem.at("./ancestor::xmlns:figure")
|
|
72
73
|
@anchors[elem["id"]][:label] = x
|
|
73
|
-
@anchors[elem["id"]][:xref] = @anchors[
|
|
74
|
+
@anchors[elem["id"]][:xref] = @anchors[p["id"]][:xref] +
|
|
74
75
|
subfigure_separator(markup: true) + x + delim_wrap(subfigure_delim)
|
|
75
76
|
end
|
|
76
77
|
end
|
|
@@ -171,12 +172,23 @@ module IsoDoc
|
|
|
171
172
|
label = counter.increment(entry).listlabel(entry.parent, depth)
|
|
172
173
|
s = semx(entry, label)
|
|
173
174
|
base = @c.decode(opts[:prev_label].gsub(%r{<[^>]+>}, "")).split(/\)\s*/) # List a) 1.1.1
|
|
174
|
-
label = "#{base[-1].sub(/^の/,'')}
|
|
175
|
+
label = "#{base[-1].sub(/^の/,'')}<esc>#{clausesep}</esc>#{label}"
|
|
175
176
|
[label, opts[:prev_label] + delim_wrap(clausesep) + s]
|
|
176
177
|
else
|
|
177
178
|
super
|
|
178
179
|
end
|
|
179
180
|
end
|
|
181
|
+
|
|
182
|
+
def hierarchical_figure_names(clause, num)
|
|
183
|
+
#require "debug"; binding.b
|
|
184
|
+
super
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
def localise_anchors(type = nil)
|
|
188
|
+
#require "debug"; binding.b
|
|
189
|
+
super
|
|
190
|
+
end
|
|
191
|
+
|
|
180
192
|
end
|
|
181
193
|
end
|
|
182
194
|
end
|
|
@@ -869,7 +869,7 @@ depending on whether the items exist as independent documents, or are parts of a
|
|
|
869
869
|
</zeroOrMore>
|
|
870
870
|
</element>
|
|
871
871
|
</define>
|
|
872
|
-
<define name="BibItemType"
|
|
872
|
+
<define name="BibItemType">
|
|
873
873
|
<a:documentation>Type of bibliographic item.
|
|
874
874
|
The value list complies with the types provided in ISO 690:2021.
|
|
875
875
|
NOTE: These values represent a strict superset to BibTeX
|
|
@@ -311,17 +311,28 @@ and is intended to be referenced by a callout within the source code</a:document
|
|
|
311
311
|
</ref>
|
|
312
312
|
</optional>
|
|
313
313
|
<choice>
|
|
314
|
-
<a:documentation>Content of the figure</a:documentation>
|
|
315
|
-
<ref name="image"
|
|
314
|
+
<a:documentation>Content of the figure </a:documentation>
|
|
315
|
+
<ref name="image">
|
|
316
|
+
<a:documentation>by default the content of a figure is a media file</a:documentation>
|
|
317
|
+
</ref>
|
|
316
318
|
<ref name="video"/>
|
|
317
319
|
<ref name="audio"/>
|
|
318
|
-
<ref name="pre"
|
|
320
|
+
<ref name="pre">
|
|
321
|
+
<a:documentation>figures can contain ASCII art</a:documentation>
|
|
322
|
+
</ref>
|
|
319
323
|
<oneOrMore>
|
|
320
|
-
<ref name="paragraph-with-footnote"
|
|
324
|
+
<ref name="paragraph-with-footnote">
|
|
325
|
+
<a:documentation>figures can contain discursive art</a:documentation>
|
|
326
|
+
</ref>
|
|
321
327
|
</oneOrMore>
|
|
322
328
|
<zeroOrMore>
|
|
323
|
-
<ref name="figure"
|
|
329
|
+
<ref name="figure">
|
|
330
|
+
<a:documentation>subfigures, nested directly within a figure</a:documentation>
|
|
331
|
+
</ref>
|
|
324
332
|
</zeroOrMore>
|
|
333
|
+
<ref name="table">
|
|
334
|
+
<a:documentation>Table is understood in this context to be a tabular arrangement of subfigures</a:documentation>
|
|
335
|
+
</ref>
|
|
325
336
|
</choice>
|
|
326
337
|
<zeroOrMore>
|
|
327
338
|
<ref name="fn">
|
|
@@ -354,17 +365,28 @@ and is intended to be referenced by a callout within the source code</a:document
|
|
|
354
365
|
</ref>
|
|
355
366
|
</optional>
|
|
356
367
|
<choice>
|
|
357
|
-
<a:documentation>Content of the figure</a:documentation>
|
|
358
|
-
<ref name="image-no-id"
|
|
368
|
+
<a:documentation>Content of the figure </a:documentation>
|
|
369
|
+
<ref name="image-no-id">
|
|
370
|
+
<a:documentation>by default the content of a figure is a media file</a:documentation>
|
|
371
|
+
</ref>
|
|
359
372
|
<ref name="video-no-id"/>
|
|
360
373
|
<ref name="audio-no-id"/>
|
|
361
|
-
<ref name="pre-no-id"
|
|
374
|
+
<ref name="pre-no-id">
|
|
375
|
+
<a:documentation>figures can contain ASCII art</a:documentation>
|
|
376
|
+
</ref>
|
|
362
377
|
<oneOrMore>
|
|
363
|
-
<ref name="paragraph-with-footnote-no-id"
|
|
378
|
+
<ref name="paragraph-with-footnote-no-id">
|
|
379
|
+
<a:documentation>figures can contain discursive art</a:documentation>
|
|
380
|
+
</ref>
|
|
364
381
|
</oneOrMore>
|
|
365
382
|
<zeroOrMore>
|
|
366
|
-
<ref name="figure-no-id"
|
|
383
|
+
<ref name="figure-no-id">
|
|
384
|
+
<a:documentation>subfigures, nested directly within a figure</a:documentation>
|
|
385
|
+
</ref>
|
|
367
386
|
</zeroOrMore>
|
|
387
|
+
<ref name="table-no-id">
|
|
388
|
+
<a:documentation>Table is understood in this context to be a tabular arrangement of subfigures</a:documentation>
|
|
389
|
+
</ref>
|
|
368
390
|
</choice>
|
|
369
391
|
<zeroOrMore>
|
|
370
392
|
<ref name="fn">
|
|
@@ -876,6 +898,9 @@ titlecase, or lowercase</a:documentation>
|
|
|
876
898
|
<data type="boolean"/>
|
|
877
899
|
</attribute>
|
|
878
900
|
</optional>
|
|
901
|
+
<ref name="LocalizedStringAttributes">
|
|
902
|
+
<a:documentation>Specify language of bibitem, can be used to render it with language-specific bibliographic style</a:documentation>
|
|
903
|
+
</ref>
|
|
879
904
|
<ref name="ReducedBibliographicItem"/>
|
|
880
905
|
</element>
|
|
881
906
|
</define>
|
data/metanorma-jis.gemspec
CHANGED
|
@@ -47,5 +47,5 @@ Gem::Specification.new do |spec|
|
|
|
47
47
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
|
48
48
|
spec.add_development_dependency "timecop", "~> 0.9"
|
|
49
49
|
spec.add_development_dependency "webmock"
|
|
50
|
-
spec.add_development_dependency "canon"
|
|
50
|
+
spec.add_development_dependency "canon", "= 0.1.3"
|
|
51
51
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-jis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-10-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: japanese_calendar
|
|
@@ -238,16 +238,16 @@ dependencies:
|
|
|
238
238
|
name: canon
|
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
|
240
240
|
requirements:
|
|
241
|
-
- -
|
|
241
|
+
- - '='
|
|
242
242
|
- !ruby/object:Gem::Version
|
|
243
|
-
version:
|
|
243
|
+
version: 0.1.3
|
|
244
244
|
type: :development
|
|
245
245
|
prerelease: false
|
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
|
247
247
|
requirements:
|
|
248
|
-
- -
|
|
248
|
+
- - '='
|
|
249
249
|
- !ruby/object:Gem::Version
|
|
250
|
-
version:
|
|
250
|
+
version: 0.1.3
|
|
251
251
|
description: |
|
|
252
252
|
metanorma-jis lets you write JIS standards in AsciiDoc syntax.
|
|
253
253
|
|