metanorma-jis 0.4.4 → 0.4.5

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: 5c784b76a6c9e7e168e3d5b6538fad7ef2cff2a44b0a42e4c6623439e93f6d55
4
- data.tar.gz: 8b9f329596bdcc698de66015cf540c825efd2fcd9dfbe4c71059587e4de9c243
3
+ metadata.gz: 22d96124c9e4fc24d870feb8468d5a189c91db7ec2cc09defdbef1e5aea95c1a
4
+ data.tar.gz: 71e3c4e32970bdb780959c39bcb4df6f0ed1ba372e400ba112a71bdc5413ba7d
5
5
  SHA512:
6
- metadata.gz: 7dd69a3ab82bf22acb5cecf56e1a12935ae7eb33d6d47cd6a52dd87c4e94e19756118996d643ba7b65c74a061baf75ff68d2f52ffdfc5a89253eb418df9a40b8
7
- data.tar.gz: 4d52dcf866a974a29494388496c7fbb3e200ff128d0d329620b2751d48a180c3de5cfbaf6b74902f4dd35855cb026a420e7d129c6b0fe94895c58fd7494310b3
6
+ metadata.gz: 545df234a6cd22ec2d9391b171813ab7fa55804f2c8ef8ca4263f445b387154efcd937a512168b61e6026b243abed2697f13b2faa58f562e6a6adbc954eeae61
7
+ data.tar.gz: d8ce7d6270574ad2f26a9db44d221f24c1d64c8cf10bbed86921b8b3c91fd256d058e44aa89c605cc1248be2a6c35bc5b402a2f9b98efaab49221c30bc352a72
@@ -4,22 +4,6 @@ require "metanorma-iso"
4
4
  module IsoDoc
5
5
  module Jis
6
6
  module BaseConvert
7
- # KILL
8
- def termnote_parsex(node, out)
9
- name = node.at(ns("./name"))&.remove
10
- out.div **note_attrs(node) do |div|
11
- div.p do |p|
12
- if name
13
- p.span class: "note_label" do |s|
14
- name.children.each { |n| parse(n, s) }
15
- end
16
- p << " "
17
- end
18
- para_then_remainder(node.first_element_child, node, p, div)
19
- end
20
- end
21
- end
22
-
23
7
  def make_tr_attr(cell, row, totalrows, header, bordered)
24
8
  cell["border"] == "0" and bordered = false
25
9
  super
@@ -11,6 +11,13 @@
11
11
  <xsl:variable name="vertical_layout" select="normalize-space(/*/jis:metanorma-extension/jis:presentation-metadata/jis:vertical-layout)"/>
12
12
  <xsl:variable name="vertical_layout_rotate_clause_numbers" select="normalize-space(/*/jis:metanorma-extension/jis:presentation-metadata/jis:vertical-layout-rotate-clause-numbers)"/>
13
13
 
14
+ <xsl:variable name="autonumbering_style" select="normalize-space(/*/jis:metanorma-extension/jis:presentation-metadata/jis:autonumbering-style)"/>
15
+
16
+ <xsl:variable name="numbers_japanese_">
17
+ <xsl:copy-of select="/*/jis:localized-strings/jis:localized-string[starts-with(@key,'0') or starts-with(@key,'1') or starts-with(@key,'2') or starts-with(@key,'3') or starts-with(@key,'4') or starts-with(@key,'5') or starts-with(@key,'6') or starts-with(@key,'7') or starts-with(@key,'8') or starts-with(@key,'9')]"/>
18
+ </xsl:variable>
19
+ <xsl:variable name="numbers_japanese" select="xalan:nodeset($numbers_japanese_)"/>
20
+
14
21
  <xsl:variable name="contents_">
15
22
  <xsl:variable name="bundle" select="count(//jis:jis-standard) &gt; 1"/>
16
23
 
@@ -428,9 +435,9 @@
428
435
  </xsl:if>
429
436
 
430
437
  <xsl:variable name="updated_xml_step0">
431
- <xsl:if test="$vertical_layout = 'true'">
432
- <xsl:apply-templates mode="update_xml_step0"/>
433
- </xsl:if>
438
+ <!-- <xsl:if test="$vertical_layout = 'true'"> -->
439
+ <xsl:apply-templates mode="update_xml_step0"/>
440
+ <!-- </xsl:if> -->
434
441
  </xsl:variable>
435
442
  <xsl:if test="$debug = 'true'">
436
443
  <redirect:write file="update_xml_step0.xml">
@@ -439,14 +446,15 @@
439
446
  </xsl:if>
440
447
 
441
448
  <xsl:variable name="updated_xml_step1">
442
- <xsl:choose>
449
+ <!-- <xsl:choose>
443
450
  <xsl:when test="$vertical_layout = 'true'">
444
451
  <xsl:apply-templates select="xalan:nodeset($updated_xml_step0)" mode="update_xml_step1"/>
445
452
  </xsl:when>
446
453
  <xsl:otherwise>
447
454
  <xsl:apply-templates mode="update_xml_step1"/>
448
455
  </xsl:otherwise>
449
- </xsl:choose>
456
+ </xsl:choose> -->
457
+ <xsl:apply-templates select="xalan:nodeset($updated_xml_step0)" mode="update_xml_step1"/>
450
458
  </xsl:variable>
451
459
  <!-- DEBUG: updated_xml_step1=<xsl:copy-of select="$updated_xml_step1"/> -->
452
460
  <xsl:if test="$debug = 'true'">
@@ -492,13 +500,18 @@
492
500
  <xsl:apply-templates select="xalan:nodeset($docidentifier__)/node()"/>
493
501
  </xsl:variable>
494
502
 
495
- <xsl:variable name="copyrightText">
496
- <xsl:call-template name="getLocalizedString">
497
- <xsl:with-param name="key">permission_footer</xsl:with-param>
498
- <xsl:with-param name="formatted" select="$vertical_layout"/> <!-- $vertical_layout = 'true' -->
499
- <xsl:with-param name="bibdata_updated" select="/*/jis:bibdata"/> <!-- $vertical_layout = 'true' -->
500
- </xsl:call-template>
503
+ <xsl:variable name="copyrightText_">
504
+ <xsl:variable name="backpage_boilerplate_text" select="normalize-space(/*/jis:metanorma-extension/jis:presentation-metadata/jis:backpage-boilerplate-text)"/>
505
+ <xsl:value-of select="$backpage_boilerplate_text"/>
506
+ <xsl:if test="$backpage_boilerplate_text = ''">
507
+ <xsl:call-template name="getLocalizedString">
508
+ <xsl:with-param name="key">permission_footer</xsl:with-param>
509
+ <xsl:with-param name="formatted" select="$vertical_layout"/> <!-- $vertical_layout = 'true' -->
510
+ <xsl:with-param name="bibdata_updated" select="/*/jis:bibdata"/> <!-- $vertical_layout = 'true' -->
511
+ </xsl:call-template>
512
+ </xsl:if>
501
513
  </xsl:variable>
514
+ <xsl:variable name="copyrightText" select="normalize-space($copyrightText_)"/>
502
515
 
503
516
  <xsl:variable name="doctype" select="/*/jis:bibdata/jis:ext/jis:doctype"/>
504
517
 
@@ -1121,7 +1134,7 @@
1121
1134
 
1122
1135
  <xsl:template name="insertTocItem">
1123
1136
  <fo:block text-align-last="justify" role="SKIP">
1124
- <fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">
1137
+ <fo:basic-link internal-destination="{@id}" fox:alt-text="{normalize-space(title)}">
1125
1138
  <fo:inline>
1126
1139
  <xsl:if test="$vertical_layout = 'true'">
1127
1140
  <xsl:attribute name="padding-right">7.5mm</xsl:attribute>
@@ -1273,7 +1286,15 @@
1273
1286
  </fo:page-sequence>
1274
1287
  </xsl:template> <!-- insertCoverPageJSA -->
1275
1288
 
1276
- <xsl:variable name="i18n_JIS"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">JIS</xsl:with-param></xsl:call-template></xsl:variable>
1289
+ <xsl:variable name="i18n_JIS_">
1290
+ <xsl:variable name="coverpage_header" select="normalize-space(/*/jis:metanorma-extension/jis:presentation-metadata/jis:coverpage-header)"/>
1291
+ <xsl:value-of select="$coverpage_header"/>
1292
+ <xsl:if test="$coverpage_header = ''">
1293
+ <xsl:call-template name="getLocalizedString"><xsl:with-param name="key">JIS</xsl:with-param></xsl:call-template>
1294
+ </xsl:if>
1295
+ </xsl:variable>
1296
+ <xsl:variable name="i18n_JIS" select="normalize-space($i18n_JIS_)"/>
1297
+
1277
1298
  <xsl:template name="insertCoverPage2024">
1278
1299
  <xsl:param name="num"/>
1279
1300
  <xsl:param name="docidentifier_jis"/>
@@ -1343,23 +1364,25 @@
1343
1364
  <fo:table-column column-width="proportional-column-width(3)"/>
1344
1365
  <fo:table-column column-width="proportional-column-width(2.2)"/>
1345
1366
  <fo:table-column column-width="proportional-column-width(3)"/>
1367
+ <xsl:variable name="publisher" select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'publisher']/jis:organization/jis:name/jis:variant[@language = 'ja']"/>
1368
+ <xsl:variable name="authorizer" select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'authorizer']//jis:organization/jis:name"/>
1346
1369
  <fo:table-body>
1347
1370
  <fo:table-row height="50mm">
1348
1371
  <fo:table-cell>
1349
- <fo:block><xsl:value-of select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'publisher']/jis:organization/jis:name/jis:variant[@language = 'ja']"/></fo:block>
1372
+ <fo:block><xsl:value-of select="$publisher"/></fo:block>
1350
1373
  </fo:table-cell>
1351
1374
  <fo:table-cell><fo:block> </fo:block></fo:table-cell>
1352
1375
  <fo:table-cell>
1353
- <fo:block><xsl:value-of select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'authorizer']//jis:organization/jis:name"/></fo:block>
1376
+ <fo:block><xsl:value-of select="$authorizer"/></fo:block>
1354
1377
  </fo:table-cell>
1355
1378
  </fo:table-row>
1356
1379
  <fo:table-row>
1357
1380
  <fo:table-cell>
1358
- <fo:block>発行</fo:block>
1381
+ <fo:block><xsl:if test="normalize-space($publisher) != ''">発行</xsl:if></fo:block>
1359
1382
  </fo:table-cell>
1360
1383
  <fo:table-cell><fo:block> </fo:block></fo:table-cell>
1361
1384
  <fo:table-cell>
1362
- <fo:block>審議</fo:block>
1385
+ <fo:block><xsl:if test="normalize-space($authorizer) != ''">審議</xsl:if></fo:block>
1363
1386
  </fo:table-cell>
1364
1387
  </fo:table-row>
1365
1388
  </fo:table-body>
@@ -1448,7 +1471,8 @@
1448
1471
  </fo:block>
1449
1472
 
1450
1473
  <fo:block margin-top="6.5mm" font-size="8pt" font-weight="500">
1451
- <fo:inline padding-right="5mm"><xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'published']/text()"/></fo:inline>改正
1474
+ <xsl:variable name="revised_date"><xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'revised']/text()"/></xsl:variable>
1475
+ <xsl:if test="normalize-space($revised_date) != ''"><fo:inline padding-right="5mm"><xsl:copy-of select="$revised_date"/></fo:inline>改正</xsl:if>
1452
1476
  </fo:block>
1453
1477
 
1454
1478
  </fo:flow>
@@ -1477,19 +1501,31 @@
1477
1501
  <fo:flow flow-name="xsl-region-body">
1478
1502
  <!-- publication date -->
1479
1503
  <fo:block font-size="8pt" margin-left="90mm" text-align-last="justify" letter-spacing="0.5mm">
1480
- <xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'published']/text()"/>
1481
- <fo:inline keep-together.within-line="always">
1482
- <fo:leader leader-pattern="space"/>
1483
- <xsl:text>発行</xsl:text>
1484
- </fo:inline>
1504
+ <xsl:variable name="date_published"><xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'published']/text()"/></xsl:variable>
1505
+ <xsl:copy-of select="$date_published"/>
1506
+ <xsl:choose>
1507
+ <xsl:when test="normalize-space($date_published) != ''">
1508
+ <fo:inline keep-together.within-line="always">
1509
+ <fo:leader leader-pattern="space"/>
1510
+ <xsl:text>発行</xsl:text>
1511
+ </fo:inline>
1512
+ </xsl:when>
1513
+ <xsl:otherwise> </xsl:otherwise>
1514
+ </xsl:choose>
1485
1515
  </fo:block>
1486
1516
  <!-- revision date -->
1487
1517
  <fo:block font-size="8pt" margin-left="90mm" text-align-last="justify" letter-spacing="0.5mm">
1488
- <xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'revised']/text()"/>
1489
- <fo:inline keep-together.within-line="always">
1490
- <fo:leader leader-pattern="space"/>
1491
- <xsl:text>改正</xsl:text>
1492
- </fo:inline>
1518
+ <xsl:variable name="date_revised"><xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'revised']/text()"/></xsl:variable>
1519
+ <xsl:copy-of select="$date_revised"/>
1520
+ <xsl:choose>
1521
+ <xsl:when test="normalize-space($date_revised) != ''">
1522
+ <fo:inline keep-together.within-line="always">
1523
+ <fo:leader leader-pattern="space"/>
1524
+ <xsl:text>改正</xsl:text>
1525
+ </fo:inline>
1526
+ </xsl:when>
1527
+ <xsl:otherwise> </xsl:otherwise>
1528
+ </xsl:choose>
1493
1529
  </fo:block>
1494
1530
  <fo:block font-size="12pt" margin-top="7mm" text-align="right">
1495
1531
  <!-- <xsl:value-of select="$copyrightText"/> -->
@@ -2441,58 +2477,78 @@
2441
2477
  <xsl:value-of select="$text10"/>
2442
2478
  </xsl:template>
2443
2479
 
2480
+ <!-- enclose surrogate pair characters into the tag 'spair' -->
2481
+ <xsl:variable name="element_name_spair">spair</xsl:variable>
2482
+ <xsl:variable name="tag_spair_open">###<xsl:value-of select="$element_name_spair"/>###</xsl:variable>
2483
+ <xsl:variable name="tag_spair_close">###/<xsl:value-of select="$element_name_spair"/>###</xsl:variable>
2484
+
2444
2485
  <!-- replace horizontal to vertical oriented character -->
2445
2486
  <xsl:template match="text()" mode="update_xml_step0" name="replace_horizontal_to_vertical_form">
2446
2487
  <xsl:param name="text" select="."/>
2447
- <xsl:choose>
2448
- <xsl:when test="$isGenerateTableIF = 'false'">
2449
- <!-- from https://github.com/metanorma/docs/blob/main/109.adoc -->
2450
- <!--
2451
- U+3001 IDEOGRAPHIC COMMA (、)
2452
- to
2453
- U+FE11 PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA (︑)
2454
-
2455
- U+FE50 SMALL COMMA (﹐)
2456
- to
2457
- U+FE10 PRESENTATION FORM FOR VERTICAL COMMA (︐)
2458
-
2459
- U+FE51 SMALL IDEOGRAPHIC COMMA (﹑)
2460
- to
2461
- U+FE11 PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA (︑)
2462
-
2463
- U+FF0C FULLWIDTH COMMA (,)
2464
- to
2465
- U+FE10 PRESENTATION FORM FOR VERTICAL COMMA (︐)
2466
- -->
2467
- <xsl:variable name="text1" select="translate($text,'、﹐﹑,','︑︐︑︐')"/>
2488
+ <xsl:variable name="text_replaced">
2489
+ <xsl:choose>
2490
+ <xsl:when test="$vertical_layout = 'true' and $isGenerateTableIF = 'false'">
2491
+ <!-- from https://github.com/metanorma/docs/blob/main/109.adoc -->
2492
+ <!--
2493
+ U+3001 IDEOGRAPHIC COMMA (、)
2494
+ to
2495
+ U+FE11 PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA (︑)
2496
+
2497
+ U+FE50 SMALL COMMA (﹐)
2498
+ to
2499
+ U+FE10 PRESENTATION FORM FOR VERTICAL COMMA (︐)
2500
+
2501
+ U+FE51 SMALL IDEOGRAPHIC COMMA (﹑)
2502
+ to
2503
+ U+FE11 PRESENTATION FORM FOR VERTICAL IDEOGRAPHIC COMMA (︑)
2504
+
2505
+ U+FF0C FULLWIDTH COMMA (,)
2506
+ to
2507
+ U+FE10 PRESENTATION FORM FOR VERTICAL COMMA (︐)
2508
+ -->
2509
+ <xsl:variable name="text1" select="translate($text,'、﹐﹑,','︑︐︑︐')"/>
2468
2510
 
2469
- <!--
2470
- U+FF1A FULLWIDTH COLON (:)
2471
- to
2472
- U+FE13 PRESENTATION FORM FOR VERTICAL COLON (︓)
2473
-
2474
- U+FF1B FULLWIDTH SEMICOLON (;)
2475
- to
2476
- U+FE14 PRESENTATION FORM FOR VERTICAL SEMICOLON (︔)
2477
- -->
2478
- <xsl:variable name="text2" select="translate($text1,':;','︓︔')"/>
2511
+ <!--
2512
+ U+FF1A FULLWIDTH COLON (:)
2513
+ to
2514
+ U+FE13 PRESENTATION FORM FOR VERTICAL COLON (︓)
2515
+
2516
+ U+FF1B FULLWIDTH SEMICOLON (;)
2517
+ to
2518
+ U+FE14 PRESENTATION FORM FOR VERTICAL SEMICOLON (︔)
2519
+ -->
2520
+ <xsl:variable name="text2" select="translate($text1,':;','︓︔')"/>
2521
+
2522
+ <!--
2523
+ U+FF01 FULLWIDTH EXCLAMATION MARK (!)
2524
+ to
2525
+ U+FE15 PRESENTATION FORM FOR VERTICAL EXCLAMATION MARK (︕)
2526
+
2527
+ U+FF1F FULLWIDTH QUESTION MARK (?)
2528
+ to
2529
+ U+FE16 PRESENTATION FORM FOR VERTICAL QUESTION MARK (︖)
2530
+ -->
2531
+ <xsl:variable name="text3" select="translate($text2,'!?','︕︖')"/>
2532
+ <xsl:value-of select="$text3"/>
2533
+ </xsl:when>
2534
+ <xsl:otherwise>
2535
+ <xsl:value-of select="$text"/>
2536
+ </xsl:otherwise>
2537
+ </xsl:choose>
2538
+ </xsl:variable>
2539
+
2540
+ <xsl:variable name="text_spair_" select="java:replaceAll(java:java.lang.String.new($text_replaced), $regex_surrogate_pairs, concat($tag_spair_open,'$1',$tag_spair_close))"/>
2541
+ <xsl:variable name="text_spair">
2542
+ <xsl:element name="text" namespace="{$namespace_full}">
2543
+ <xsl:call-template name="replace_text_tags">
2544
+ <xsl:with-param name="tag_open" select="$tag_spair_open"/>
2545
+ <xsl:with-param name="tag_close" select="$tag_spair_close"/>
2546
+ <xsl:with-param name="text" select="$text_spair_"/>
2547
+ </xsl:call-template>
2548
+ </xsl:element>
2549
+ </xsl:variable>
2550
+ <xsl:copy-of select="xalan:nodeset($text_spair)/*[local-name() = 'text']/node()"/>
2479
2551
 
2480
- <!--
2481
- U+FF01 FULLWIDTH EXCLAMATION MARK (!)
2482
- to
2483
- U+FE15 PRESENTATION FORM FOR VERTICAL EXCLAMATION MARK (︕)
2484
-
2485
- U+FF1F FULLWIDTH QUESTION MARK (?)
2486
- to
2487
- U+FE16 PRESENTATION FORM FOR VERTICAL QUESTION MARK (︖)
2488
- -->
2489
- <xsl:variable name="text3" select="translate($text2,'!?','︕︖')"/>
2490
- <xsl:value-of select="$text3"/>
2491
- </xsl:when>
2492
- <xsl:otherwise>
2493
- <xsl:value-of select="$text"/>
2494
- </xsl:otherwise>
2495
- </xsl:choose>
2496
2552
  </xsl:template>
2497
2553
 
2498
2554
  <!-- =========================================================================== -->
@@ -2610,8 +2666,12 @@
2610
2666
  <xsl:copy-of select="."/>
2611
2667
  </xsl:template>
2612
2668
 
2669
+ <!-- https://github.com/metanorma/laozi/issues/8 -->
2670
+ <xsl:variable name="surrogate_pairs">\ud800\udc00-\udbff\udfff\ud800-\udfff</xsl:variable>
2671
+ <xsl:variable name="regex_surrogate_pairs">([<xsl:value-of select="$surrogate_pairs"/>])</xsl:variable>
2672
+
2613
2673
  <!-- if vertical_layout = 'true', then font_en and font_en_bold are using for text rotation -->
2614
- <xsl:variable name="regex_en_base">\u00A0\u2002-\u200B\u3000-\u9FFF\uF900-\uFFFF</xsl:variable>
2674
+ <xsl:variable name="regex_en_base">\u00A0\u2002-\u200B\u3000-\u9FFF\uF900-\uFFFF<xsl:value-of select="$surrogate_pairs"/></xsl:variable>
2615
2675
  <xsl:variable name="regex_en_">
2616
2676
  <xsl:choose>
2617
2677
  <!-- ( ) [ ] _ { } U+FF08 FULLWIDTH LEFT PARENTHESIS U+FF09 FULLWIDTH RIGHT PARENTHESIS-->
@@ -3051,6 +3111,10 @@
3051
3111
  <!-- END: Allocate non-Japanese text -->
3052
3112
  <!-- ========================= -->
3053
3113
 
3114
+ <xsl:template match="*[local-name() = 'spair'][normalize-space() != '']">
3115
+ <fo:inline><xsl:apply-templates/></fo:inline>
3116
+ </xsl:template>
3117
+
3054
3118
  <!-- patch for correct list-item-label rendering: enclose each char in inline-container -->
3055
3119
  <xsl:template match="*[local-name() = 'note' or local-name() = 'example']/*[local-name() = 'name']/text()" priority="3">
3056
3120
  <xsl:choose>
@@ -6735,6 +6799,9 @@
6735
6799
 
6736
6800
  </xsl:attribute-set>
6737
6801
 
6802
+ <xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
6803
+ </xsl:attribute-set>
6804
+
6738
6805
  <xsl:attribute-set name="definition-style">
6739
6806
 
6740
6807
  <xsl:attribute name="space-before">2pt</xsl:attribute>
@@ -6892,6 +6959,10 @@
6892
6959
  <xsl:if test="not($vertical_layout = 'true')">
6893
6960
  <xsl:attribute name="font-family">Times New Roman</xsl:attribute>
6894
6961
  </xsl:if>
6962
+ <xsl:if test="$vertical_layout = 'true'">
6963
+ <xsl:attribute name="vertical-align">baseline</xsl:attribute>
6964
+ <xsl:attribute name="font-size">100%</xsl:attribute>
6965
+ </xsl:if>
6895
6966
 
6896
6967
  </xsl:template> <!-- refine_fn-body-num-style -->
6897
6968
 
@@ -8925,9 +8996,14 @@
8925
8996
  </xsl:variable>
8926
8997
  <xsl:variable name="current_fn_number_text">
8927
8998
 
8928
- <xsl:value-of select="$current_fn_number"/>
8929
-
8930
- <fo:inline font-weight="normal">)</fo:inline>
8999
+ <xsl:choose>
9000
+ <xsl:when test="$autonumbering_style = 'japanese'">
9001
+ <xsl:text></xsl:text>
9002
+ <xsl:value-of select="$numbers_japanese//jis:localized-string[@key = $current_fn_number]"/>
9003
+ <xsl:text> </xsl:text>
9004
+ </xsl:when>
9005
+ <xsl:otherwise><xsl:value-of select="$current_fn_number"/><fo:inline font-weight="normal">)</fo:inline></xsl:otherwise>
9006
+ </xsl:choose>
8931
9007
 
8932
9008
  </xsl:variable>
8933
9009
 
@@ -8959,6 +9035,11 @@
8959
9035
  <xsl:if test="not($vertical_layout = 'true')">
8960
9036
  <xsl:attribute name="font-family">Times New Roman</xsl:attribute>
8961
9037
  </xsl:if>
9038
+ <xsl:if test="$vertical_layout = 'true'">
9039
+ <xsl:attribute name="vertical-align">baseline</xsl:attribute>
9040
+ <xsl:attribute name="font-size">80%</xsl:attribute>
9041
+ <xsl:attribute name="baseline-shift">20%</xsl:attribute>
9042
+ </xsl:if>
8962
9043
 
8963
9044
  </fn_styles>
8964
9045
  </xsl:otherwise>
@@ -8977,7 +9058,18 @@
8977
9058
  <xsl:with-param name="element">
8978
9059
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}"> <!-- note: role="Lbl" removed in https://github.com/metanorma/mn2pdf/issues/291 -->
8979
9060
  <fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
9061
+
9062
+ <xsl:attribute name="keep-together.within-line">always</xsl:attribute>
9063
+ <xsl:call-template name="insertVerticalChar">
9064
+ <xsl:with-param name="str" select="'〔'"/>
9065
+ </xsl:call-template>
9066
+
8980
9067
  <xsl:copy-of select="$current_fn_number_text"/>
9068
+
9069
+ <xsl:call-template name="insertVerticalChar">
9070
+ <xsl:with-param name="str" select="'〕'"/>
9071
+ </xsl:call-template>
9072
+
8981
9073
  </fo:inline>
8982
9074
  </fo:basic-link>
8983
9075
  </xsl:with-param>
@@ -8996,8 +9088,7 @@
8996
9088
 
8997
9089
  <fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
8998
9090
 
8999
- <fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
9000
-
9091
+ <xsl:variable name="fn_block">
9001
9092
  <xsl:call-template name="refine_fn-body-style"/>
9002
9093
 
9003
9094
  <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
@@ -9005,9 +9096,51 @@
9005
9096
  <xsl:call-template name="refine_fn-body-num-style"/>
9006
9097
 
9007
9098
  <xsl:value-of select="$current_fn_number_text"/>
9099
+
9008
9100
  </fo:inline>
9009
9101
  <xsl:apply-templates/>
9010
- </fo:block>
9102
+ </xsl:variable>
9103
+
9104
+ <xsl:choose>
9105
+ <xsl:when test="$vertical_layout = 'true'">
9106
+ <fo:list-block xsl:use-attribute-sets="fn-body-style" role="SKIP" provisional-distance-between-starts="25mm">
9107
+ <xsl:call-template name="refine_fn-body-style"/>
9108
+ <fo:list-item role="SKIP">
9109
+ <fo:list-item-label start-indent="{$text_indent}mm" end-indent="label-end()" role="SKIP">
9110
+ <fo:block role="SKIP">
9111
+ <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
9112
+
9113
+ <xsl:call-template name="refine_fn-body-num-style"/>
9114
+
9115
+ <xsl:call-template name="insertVerticalChar">
9116
+ <xsl:with-param name="str" select="'〔'"/>
9117
+ </xsl:call-template>
9118
+
9119
+ <xsl:value-of select="$current_fn_number_text"/>
9120
+
9121
+ <xsl:call-template name="insertVerticalChar">
9122
+ <xsl:with-param name="str" select="'〕'"/>
9123
+ </xsl:call-template>
9124
+
9125
+ </fo:inline>
9126
+ </fo:block>
9127
+ </fo:list-item-label>
9128
+ <fo:list-item-body start-indent="body-start()" xsl:use-attribute-sets="table-fn-body-style" role="SKIP">
9129
+ <fo:block role="SKIP">
9130
+ <xsl:apply-templates/>
9131
+ </fo:block>
9132
+ </fo:list-item-body>
9133
+ </fo:list-item>
9134
+ </fo:list-block>
9135
+ </xsl:when>
9136
+ <xsl:otherwise>
9137
+ <fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
9138
+ <xsl:copy-of select="$fn_block"/>
9139
+ </fo:block>
9140
+ </xsl:otherwise>
9141
+ </xsl:choose>
9142
+ <!-- jis -->
9143
+
9011
9144
  </fo:block-container>
9012
9145
  </fo:footnote-body>
9013
9146
  </fo:footnote>
@@ -15061,14 +15194,17 @@
15061
15194
  </fo:block>
15062
15195
  </xsl:template>
15063
15196
 
15064
- <xsl:template match="*[local-name() = 'domain']">
15197
+ <!-- <xsl:template match="*[local-name() = 'domain']"> -->
15065
15198
  <!-- https://github.com/metanorma/isodoc/issues/607
15066
15199
  <fo:inline xsl:use-attribute-sets="domain-style">&lt;<xsl:apply-templates/>&gt;</fo:inline>
15067
15200
  <xsl:text> </xsl:text> -->
15068
- <xsl:if test="not(@hidden = 'true')">
15201
+ <!-- <xsl:if test="not(@hidden = 'true')">
15069
15202
  <xsl:apply-templates/>
15070
15203
  </xsl:if>
15071
- </xsl:template>
15204
+ </xsl:template> -->
15205
+
15206
+ <!-- https://github.com/metanorma/isodoc/issues/632#issuecomment-2567163931 -->
15207
+ <xsl:template match="*[local-name() = 'domain']"/>
15072
15208
 
15073
15209
  <xsl:template match="*[local-name() = 'admitted']">
15074
15210
  <fo:block xsl:use-attribute-sets="admitted-style">
@@ -15083,9 +15219,11 @@
15083
15219
  </xsl:template>
15084
15220
 
15085
15221
  <xsl:template name="setStyle_preferred">
15086
- <xsl:if test="*[local-name() = 'strong']">
15087
- <xsl:attribute name="font-weight">normal</xsl:attribute>
15088
- </xsl:if>
15222
+
15223
+ <xsl:if test="*[local-name() = 'strong']">
15224
+ <xsl:attribute name="font-weight">normal</xsl:attribute>
15225
+ </xsl:if>
15226
+
15089
15227
  </xsl:template>
15090
15228
 
15091
15229
  <!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
@@ -15095,6 +15233,17 @@
15095
15233
  </xsl:template>
15096
15234
  <!-- End Preferred, admitted, deprecated -->
15097
15235
 
15236
+ <xsl:template match="*[local-name() = 'fmt-related']">
15237
+ <fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
15238
+ <xsl:apply-templates/>
15239
+ </fo:block>
15240
+ </xsl:template>
15241
+ <xsl:template match="*[local-name() = 'fmt-related']/*[local-name() = 'p']" priority="4">
15242
+ <fo:block>
15243
+ <xsl:apply-templates/>
15244
+ </fo:block>
15245
+ </xsl:template>
15246
+
15098
15247
  <!-- ========== -->
15099
15248
  <!-- definition -->
15100
15249
  <!-- ========== -->
@@ -16035,6 +16184,7 @@
16035
16184
 
16036
16185
  <!-- Normative references -->
16037
16186
  <xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
16187
+ <xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
16038
16188
 
16039
16189
  <fo:block-container margin-left="6mm" role="SKIP">
16040
16190
  <fo:block-container margin-left="0mm" role="SKIP">
@@ -16756,7 +16906,8 @@
16756
16906
  <!-- add @id - first element with @id plus '_element_name' -->
16757
16907
  <xsl:variable name="prefix_id_" select="(.//*[@id])[1]/@id"/>
16758
16908
  <xsl:variable name="prefix_id"><xsl:value-of select="$prefix_id_"/><xsl:if test="normalize-space($prefix_id_) = ''"><xsl:value-of select="generate-id()"/></xsl:if></xsl:variable>
16759
- <xsl:attribute name="id"><xsl:value-of select="$prefix_id"/>_<xsl:value-of select="local-name()"/></xsl:attribute>
16909
+ <xsl:variable name="document_suffix" select="ancestor::*[contains(local-name(), '-standard')]/@document_suffix"/>
16910
+ <xsl:attribute name="id"><xsl:value-of select="concat($prefix_id, '_', local-name(), '_', $document_suffix)"/></xsl:attribute>
16760
16911
  </xsl:if>
16761
16912
  </xsl:template>
16762
16913
 
@@ -16813,6 +16964,31 @@
16813
16964
  <xsl:template match="*[local-name() = 'name'][following-sibling::*[1][local-name() = 'fmt-name']]" mode="update_xml_pres"/>
16814
16965
  <xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
16815
16966
  <xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_pres"/>
16967
+ <!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
16968
+ <xsl:template match="*[local-name() = 'preferred']" mode="update_xml_step1"/>
16969
+ <!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_pres"/> -->
16970
+ <xsl:template match="*[local-name() = 'preferred']" mode="update_xml_pres"/>
16971
+ <!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
16972
+ <xsl:template match="*[local-name() = 'admitted']" mode="update_xml_step1"/>
16973
+ <!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_pres"/> -->
16974
+ <xsl:template match="*[local-name() = 'admitted']" mode="update_xml_pres"/>
16975
+ <!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_step1"/> -->
16976
+ <xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_step1"/>
16977
+ <xsl:template match="*[local-name() = 'related']" mode="update_xml_step1"/>
16978
+ <!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_pres"/> -->
16979
+ <xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_pres"/>
16980
+ <xsl:template match="*[local-name() = 'related']" mode="update_xml_pres"/>
16981
+ <!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_step1"/> -->
16982
+ <xsl:template match="*[local-name() = 'definition']" mode="update_xml_step1"/>
16983
+ <!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_pres"/> -->
16984
+ <xsl:template match="*[local-name() = 'definition']" mode="update_xml_pres"/>
16985
+ <!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_step1"/> -->
16986
+ <xsl:template match="*[local-name() = 'termsource']" mode="update_xml_step1"/>
16987
+ <!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_pres"/> -->
16988
+ <xsl:template match="*[local-name() = 'termsource']" mode="update_xml_pres"/>
16989
+
16990
+ <xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
16991
+ <xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_pres"/>
16816
16992
 
16817
16993
  <xsl:template match="*[local-name() = 'p'][@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][local-name() = 'section-title']]" mode="update_xml_step1">
16818
16994
  <xsl:copy>
@@ -16857,6 +17033,94 @@
16857
17033
  </xsl:element>
16858
17034
  </xsl:template>
16859
17035
 
17036
+ <xsl:template match="*[local-name() = 'fmt-preferred']"/>
17037
+ <xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_step1">
17038
+ <xsl:apply-templates mode="update_xml_step1"/>
17039
+ </xsl:template>
17040
+ <xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_step1">
17041
+ <xsl:element name="preferred" namespace="{$namespace_full}">
17042
+ <xsl:copy-of select="@*"/>
17043
+ <xsl:apply-templates mode="update_xml_step1"/>
17044
+ </xsl:element>
17045
+ </xsl:template>
17046
+ <xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_pres">
17047
+ <xsl:apply-templates mode="update_xml_pres"/>
17048
+ </xsl:template>
17049
+ <xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_pres">
17050
+ <xsl:element name="preferred" namespace="{$namespace_full}">
17051
+ <xsl:copy-of select="@*"/>
17052
+ <xsl:apply-templates mode="update_xml_pres"/>
17053
+ </xsl:element>
17054
+ </xsl:template>
17055
+
17056
+ <xsl:template match="*[local-name() = 'fmt-admitted']"/>
17057
+ <xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_step1">
17058
+ <xsl:apply-templates mode="update_xml_step1"/>
17059
+ </xsl:template>
17060
+ <xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_step1">
17061
+ <xsl:element name="admitted" namespace="{$namespace_full}">
17062
+ <xsl:copy-of select="@*"/>
17063
+ <xsl:apply-templates mode="update_xml_step1"/>
17064
+ </xsl:element>
17065
+ </xsl:template>
17066
+ <xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_pres">
17067
+ <xsl:apply-templates mode="update_xml_pres"/>
17068
+ </xsl:template>
17069
+ <xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_pres">
17070
+ <xsl:element name="admitted" namespace="{$namespace_full}">
17071
+ <xsl:copy-of select="@*"/>
17072
+ <xsl:apply-templates mode="update_xml_pres"/>
17073
+ </xsl:element>
17074
+ </xsl:template>
17075
+
17076
+ <xsl:template match="*[local-name() = 'fmt-deprecates']"/>
17077
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_step1">
17078
+ <xsl:apply-templates mode="update_xml_step1"/>
17079
+ </xsl:template>
17080
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_step1">
17081
+ <xsl:element name="deprecates" namespace="{$namespace_full}">
17082
+ <xsl:copy-of select="@*"/>
17083
+ <xsl:apply-templates mode="update_xml_step1"/>
17084
+ </xsl:element>
17085
+ </xsl:template>
17086
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_pres">
17087
+ <xsl:apply-templates mode="update_xml_pres"/>
17088
+ </xsl:template>
17089
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_pres">
17090
+ <xsl:element name="deprecates" namespace="{$namespace_full}">
17091
+ <xsl:copy-of select="@*"/>
17092
+ <xsl:apply-templates mode="update_xml_pres"/>
17093
+ </xsl:element>
17094
+ </xsl:template>
17095
+
17096
+ <xsl:template match="*[local-name() = 'fmt-definition']"/>
17097
+ <xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_step1">
17098
+ <xsl:element name="definition" namespace="{$namespace_full}">
17099
+ <xsl:copy-of select="@*"/>
17100
+ <xsl:apply-templates mode="update_xml_step1"/>
17101
+ </xsl:element>
17102
+ </xsl:template>
17103
+ <xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_pres">
17104
+ <xsl:element name="definition" namespace="{$namespace_full}">
17105
+ <xsl:copy-of select="@*"/>
17106
+ <xsl:apply-templates mode="update_xml_pres"/>
17107
+ </xsl:element>
17108
+ </xsl:template>
17109
+
17110
+ <xsl:template match="*[local-name() = 'fmt-termsource']"/>
17111
+ <xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_step1">
17112
+ <xsl:element name="termsource" namespace="{$namespace_full}">
17113
+ <xsl:copy-of select="@*"/>
17114
+ <xsl:apply-templates mode="update_xml_step1"/>
17115
+ </xsl:element>
17116
+ </xsl:template>
17117
+ <xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_pres">
17118
+ <xsl:element name="termsource" namespace="{$namespace_full}">
17119
+ <xsl:copy-of select="@*"/>
17120
+ <xsl:apply-templates mode="update_xml_pres"/>
17121
+ </xsl:element>
17122
+ </xsl:template>
17123
+
16860
17124
  <xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
16861
17125
  <xsl:apply-templates mode="update_xml_step1"/>
16862
17126
  </xsl:template>
@@ -18102,7 +18366,7 @@
18102
18366
  </xsl:template>
18103
18367
 
18104
18368
  <xsl:template name="namespaceCheck">
18105
- <xsl:variable name="documentNS" select="namespace-uri(/*)"/>
18369
+ <xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
18106
18370
  <xsl:variable name="XSLNS">
18107
18371
 
18108
18372
  </xsl:variable>
@@ -18190,6 +18454,9 @@
18190
18454
  <xsl:when test="$formatted = 'true' and string-length($bibdata_updated) != ''">
18191
18455
  <xsl:apply-templates select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
18192
18456
  </xsl:when>
18457
+ <xsl:when test="string-length($bibdata_updated) != ''">
18458
+ <xsl:value-of select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
18459
+ </xsl:when>
18193
18460
  <xsl:when test="$formatted = 'true'">
18194
18461
  <xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
18195
18462
  </xsl:when>
@@ -42,7 +42,10 @@ module IsoDoc
42
42
  end
43
43
 
44
44
  def admits(elem)
45
- elem.children.first.previous = @i18n.l10n("#{@i18n.admitted}: ")
45
+ #elem.children.first.previous = @i18n.l10n("#{@i18n.admitted}: ")
46
+ elem.xpath(ns(".//semx[@element = 'admitted']")).each do |t|
47
+ t.previous = @i18n.l10n("#{@i18n.admitted}: ")
48
+ end
46
49
  end
47
50
 
48
51
  def dl(docxml)
@@ -127,6 +130,7 @@ module IsoDoc
127
130
  "<tr><td border='0' colspan='#{cols}'>#{elem}</td></tr>"
128
131
  end
129
132
 
133
+ # KILL
130
134
  def tablesource(elem)
131
135
  while elem&.next_element&.name == "source"
132
136
  elem << "; #{to_xml(elem.next_element.remove.children)}"
@@ -134,6 +138,20 @@ module IsoDoc
134
138
  elem.children = l10n("#{@i18n.source}: #{to_xml(elem.children).strip}")
135
139
  end
136
140
 
141
+ # TODO preserve original Semantic XML source
142
+ def tablesource(elem)
143
+ ret = [semx_fmt_dup(elem)]
144
+ while elem&.next_element&.name == "source"
145
+ ret << semx_fmt_dup(elem.next_element.remove)
146
+ end
147
+ s = ret.map { |x| to_xml(x) }.map(&:strip).join("; ")
148
+ tablesource_label(elem, s)
149
+ end
150
+
151
+ def tablesource_label(elem, sources)
152
+ elem.children = l10n("#{@i18n.source}: #{sources}")
153
+ end
154
+
137
155
  def table_fn1(_table, fnote, _idx)
138
156
  fnote["reference"] += ")"
139
157
  end
@@ -1277,17 +1277,17 @@ for which this claim of validity is made, if applicable</a:documentation>
1277
1277
  </define>
1278
1278
  <define name="validityBegins">
1279
1279
  <element name="validityBegins">
1280
- <ref name="ISO8601DateTime"/>
1280
+ <ref name="ISO8601Date"/>
1281
1281
  </element>
1282
1282
  </define>
1283
1283
  <define name="validityEnds">
1284
1284
  <element name="validityEnds">
1285
- <ref name="ISO8601DateTime"/>
1285
+ <ref name="ISO8601Date"/>
1286
1286
  </element>
1287
1287
  </define>
1288
1288
  <define name="validityRevision">
1289
1289
  <element name="revision">
1290
- <ref name="ISO8601DateTime"/>
1290
+ <ref name="ISO8601Date"/>
1291
1291
  </element>
1292
1292
  </define>
1293
1293
  <define name="TypedTitleString">
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Jis
3
- VERSION = "0.4.4".freeze
3
+ VERSION = "0.4.5".freeze
4
4
  end
5
5
  end
6
6
 
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.4.4
4
+ version: 0.4.5
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-01-07 00:00:00.000000000 Z
11
+ date: 2025-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: japanese_calendar