metanorma-ieee 1.0.5 → 1.0.6
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/ieee/html/htmlstyle.css +4 -0
- data/lib/isodoc/ieee/html/htmlstyle.scss +7 -0
- data/lib/isodoc/ieee/ieee.amendment.xsl +137 -43
- data/lib/isodoc/ieee/ieee.standard.xsl +137 -43
- data/lib/metanorma/ieee/biblio.rng +11 -1
- data/lib/metanorma/ieee/front.rb +2 -2
- data/lib/metanorma/ieee/isodoc.rng +10 -0
- data/lib/metanorma/ieee/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0e77b3ab3de3ca673830115226fbcb513099163dc9eda80e99690e52b6d9769
|
4
|
+
data.tar.gz: 90c72649f406b2e1ee198a01de3f27a90283ddabee9ffd83f4757e83e2fd2244
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 780a030d7c17d733585f58998322a0c0cddf9d3874205f312c487078787eb4f78db508f524cb247183f682365cbd0198726698dedc9b6aa4bb3f5a77191d0784
|
7
|
+
data.tar.gz: 806b01577fd868581ce8555a155060a7b3b673120393c187be9b22b214d7fe362c3288bb74dfb9c3483b0155b6f38649057083b2bfdfe36b80e995b39e584bb1
|
@@ -5420,6 +5420,7 @@
|
|
5420
5420
|
|
5421
5421
|
<xsl:choose>
|
5422
5422
|
<xsl:when test="ancestor::*[local-name() = 'feedback-statement']">50%</xsl:when>
|
5423
|
+
<xsl:when test="@width = 'full-page-width' or @width = 'text-width'">100%</xsl:when>
|
5423
5424
|
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
5424
5425
|
<xsl:otherwise><xsl:value-of select="$table_width_default"/></xsl:otherwise>
|
5425
5426
|
</xsl:choose>
|
@@ -5543,7 +5544,7 @@
|
|
5543
5544
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
5544
5545
|
|
5545
5546
|
<xsl:choose>
|
5546
|
-
<xsl:when test="@width">
|
5547
|
+
<xsl:when test="@width and @width != 'full-page-width' and @width != 'text-width'">
|
5547
5548
|
|
5548
5549
|
<!-- centered table when table name is centered (see table-name-style) -->
|
5549
5550
|
|
@@ -5845,6 +5846,7 @@
|
|
5845
5846
|
This makes columns with large differences between minimum and maximum widths wider than columns with smaller differences. -->
|
5846
5847
|
<xsl:when test="(@width_max > $page_width and @width_min < $page_width) or (@width_min >= $page_width)">
|
5847
5848
|
<!-- difference between the available space and the minimum table width -->
|
5849
|
+
<_width_min><xsl:value-of select="@width_min"/></_width_min>
|
5848
5850
|
<xsl:variable name="W" select="$page_width - @width_min"/>
|
5849
5851
|
<W><xsl:value-of select="$W"/></W>
|
5850
5852
|
<!-- difference between maximum and minimum width of the table -->
|
@@ -6542,17 +6544,20 @@
|
|
6542
6544
|
<xsl:for-each select="xalan:nodeset($references)//fn">
|
6543
6545
|
<xsl:variable name="reference" select="@reference"/>
|
6544
6546
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
6545
|
-
<fo:block xsl:use-attribute-sets="table-fn-style">
|
6546
6547
|
|
6547
|
-
|
6548
|
+
<fo:block xsl:use-attribute-sets="table-fn-style">
|
6548
6549
|
|
6549
|
-
|
6550
|
+
<fo:inline id="{@id}" xsl:use-attribute-sets="table-fn-number-style">
|
6551
|
+
|
6552
|
+
<xsl:value-of select="@reference"/>
|
6553
|
+
|
6554
|
+
</fo:inline>
|
6555
|
+
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
|
6556
|
+
<xsl:copy-of select="./node()"/>
|
6557
|
+
</fo:inline>
|
6558
|
+
|
6559
|
+
</fo:block>
|
6550
6560
|
|
6551
|
-
</fo:inline>
|
6552
|
-
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
|
6553
|
-
<xsl:copy-of select="./node()"/>
|
6554
|
-
</fo:inline>
|
6555
|
-
</fo:block>
|
6556
6561
|
</xsl:if>
|
6557
6562
|
</xsl:for-each>
|
6558
6563
|
</xsl:template>
|
@@ -7488,12 +7493,12 @@
|
|
7488
7493
|
<xsl:param name="value"/>
|
7489
7494
|
<xsl:variable name="add_width" select="string-length($value) * 20"/>
|
7490
7495
|
<xsl:variable name="maxwidth" select="60 + $add_width"/>
|
7491
|
-
<fo:instream-foreign-object fox:alt-text="OpeningTag" baseline-shift="-
|
7492
|
-
<xsl:attribute name="height">5mm</xsl:attribute>
|
7496
|
+
<fo:instream-foreign-object fox:alt-text="OpeningTag" baseline-shift="-10%"><!-- alignment-baseline="middle" -->
|
7497
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute> <!-- 5mm -->
|
7493
7498
|
<xsl:attribute name="content-width">100%</xsl:attribute>
|
7494
7499
|
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
7495
7500
|
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
7496
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
|
7501
|
+
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
|
7497
7502
|
<g>
|
7498
7503
|
<xsl:if test="$type = 'closing' or $type = 'end'">
|
7499
7504
|
<xsl:attribute name="transform">scale(-1 1) translate(-<xsl:value-of select="$maxwidth + 32"/>,0)</xsl:attribute>
|
@@ -7507,6 +7512,27 @@
|
|
7507
7512
|
</xsl:if>
|
7508
7513
|
<xsl:value-of select="$kind"/><tspan dy="10" font-size="30pt"><xsl:value-of select="$value"/></tspan>
|
7509
7514
|
</text>
|
7515
|
+
</svg> -->
|
7516
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
|
7517
|
+
<g>
|
7518
|
+
<xsl:if test="$type = 'closing' or $type = 'end'">
|
7519
|
+
<xsl:attribute name="transform">scale(-1 1) translate(-<xsl:value-of select="$maxwidth + 32"/>,0)</xsl:attribute>
|
7520
|
+
</xsl:if>
|
7521
|
+
<polyline points="0,2.5 {$maxwidth},2.5 {$maxwidth + 20},40 {$maxwidth},77.5 0,77.5" stroke="black" stroke-width="5" fill="white"/>
|
7522
|
+
<line x1="9.5" y1="0" x2="9.5" y2="80" stroke="black" stroke-width="19"/>
|
7523
|
+
</g>
|
7524
|
+
<xsl:variable name="text_x">
|
7525
|
+
<xsl:choose>
|
7526
|
+
<xsl:when test="$type = 'closing' or $type = 'end'">28</xsl:when>
|
7527
|
+
<xsl:otherwise>22</xsl:otherwise>
|
7528
|
+
</xsl:choose>
|
7529
|
+
</xsl:variable>
|
7530
|
+
<text font-family="Arial" x="{$text_x}" y="50" font-size="40pt">
|
7531
|
+
<xsl:value-of select="$kind"/>
|
7532
|
+
</text>
|
7533
|
+
<text font-family="Arial" x="{$text_x + 33}" y="65" font-size="38pt">
|
7534
|
+
<xsl:value-of select="$value"/>
|
7535
|
+
</text>
|
7510
7536
|
</svg>
|
7511
7537
|
</fo:instream-foreign-object>
|
7512
7538
|
</xsl:template>
|
@@ -7761,18 +7787,23 @@
|
|
7761
7787
|
|
7762
7788
|
<xsl:template name="add-zero-spaces-java">
|
7763
7789
|
<xsl:param name="text" select="."/>
|
7764
|
-
|
7765
|
-
|
7790
|
+
|
7791
|
+
<!-- add zero-width space (#x200B) after dot with next non-digit -->
|
7792
|
+
<xsl:variable name="text1" select="java:replaceAll(java:java.lang.String.new($text),'(\.)([^\d\s])','$1$2')"/>
|
7793
|
+
<!-- add zero-width space (#x200B) after characters: dash, equal, underscore, em dash, thin space, arrow right -->
|
7794
|
+
<xsl:variable name="text2" select="java:replaceAll(java:java.lang.String.new($text1),'(-|=|_|—| |→)','$1')"/>
|
7795
|
+
<!-- add zero-width space (#x200B) after characters: colon, if there aren't digits after -->
|
7796
|
+
<xsl:variable name="text3" select="java:replaceAll(java:java.lang.String.new($text2),'(:)(\D)','$1$2')"/>
|
7766
7797
|
<!-- add zero-width space (#x200B) after characters: 'great than' -->
|
7767
|
-
<xsl:variable name="
|
7798
|
+
<xsl:variable name="text4" select="java:replaceAll(java:java.lang.String.new($text3), '(\u003e)(?!\u003e)', '$1')"/><!-- negative lookahead: 'great than' not followed by 'great than' -->
|
7768
7799
|
<!-- add zero-width space (#x200B) before characters: 'less than' -->
|
7769
|
-
<xsl:variable name="
|
7800
|
+
<xsl:variable name="text5" select="java:replaceAll(java:java.lang.String.new($text4), '(?<!\u003c)(\u003c)', '$1')"/> <!-- (?<!\u003c)(\u003c) --> <!-- negative lookbehind: 'less than' not preceeded by 'less than' -->
|
7770
7801
|
<!-- add zero-width space (#x200B) before character: { -->
|
7771
|
-
<xsl:variable name="
|
7802
|
+
<xsl:variable name="text6" select="java:replaceAll(java:java.lang.String.new($text5), '(?<!\W)(\{)', '$1')"/> <!-- negative lookbehind: '{' not preceeded by 'punctuation char' -->
|
7772
7803
|
<!-- add zero-width space (#x200B) after character: , -->
|
7773
|
-
<xsl:variable name="
|
7804
|
+
<xsl:variable name="text7" select="java:replaceAll(java:java.lang.String.new($text6), '(\,)(?!\d)', '$1')"/> <!-- negative lookahead: ',' not followed by digit -->
|
7774
7805
|
|
7775
|
-
<xsl:value-of select="$
|
7806
|
+
<xsl:value-of select="$text7"/>
|
7776
7807
|
</xsl:template>
|
7777
7808
|
|
7778
7809
|
<xsl:template name="add-zero-spaces-link-java">
|
@@ -7781,7 +7812,9 @@
|
|
7781
7812
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$1')"/> <!-- http://. https:// or www. -->
|
7782
7813
|
<xsl:variable name="url_continue" select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$2')"/>
|
7783
7814
|
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space -->
|
7784
|
-
<xsl:
|
7815
|
+
<xsl:variable name="url" select="java:replaceAll(java:java.lang.String.new($url_continue),'(-|\.|:|=|_|—| |,|/)','$1')"/>
|
7816
|
+
<!-- remove zero-width space at the end -->
|
7817
|
+
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($url), '$', '')"/>
|
7785
7818
|
</xsl:template>
|
7786
7819
|
|
7787
7820
|
<!-- add zero space after dash character (for table's entries) -->
|
@@ -7918,7 +7951,7 @@
|
|
7918
7951
|
</xsl:copy>
|
7919
7952
|
</xsl:template>
|
7920
7953
|
|
7921
|
-
<xsl:template match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p']) and not(*[local-name()='sourcecode'])]" mode="table-without-br">
|
7954
|
+
<xsl:template match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p']) and not(*[local-name()='sourcecode']) and not(*[local-name()='ul']) and not(*[local-name()='ol'])]" mode="table-without-br">
|
7922
7955
|
<xsl:copy>
|
7923
7956
|
<xsl:copy-of select="@*"/>
|
7924
7957
|
<p>
|
@@ -7994,6 +8027,14 @@
|
|
7994
8027
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($text),' {2,}',' ')"/>
|
7995
8028
|
</xsl:template>
|
7996
8029
|
|
8030
|
+
<xsl:template match="*[local-name()='th' or local-name()='td']//*[local-name() = 'ol' or local-name() = 'ul']" mode="table-without-br">
|
8031
|
+
<xsl:apply-templates mode="table-without-br"/>
|
8032
|
+
</xsl:template>
|
8033
|
+
|
8034
|
+
<xsl:template match="*[local-name()='th' or local-name()='td']//*[local-name() = 'li']" mode="table-without-br">
|
8035
|
+
<xsl:apply-templates mode="table-without-br"/>
|
8036
|
+
</xsl:template>
|
8037
|
+
|
7997
8038
|
<!-- mode="table-without-br" -->
|
7998
8039
|
<!-- ================================== -->
|
7999
8040
|
<!-- END: Step 0. replace <br/> to <p>...</p> -->
|
@@ -8821,7 +8862,7 @@
|
|
8821
8862
|
|
8822
8863
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style">
|
8823
8864
|
|
8824
|
-
<fo:block-container margin-left="0mm">
|
8865
|
+
<fo:block-container margin-left="0mm" margin-right="0mm">
|
8825
8866
|
|
8826
8867
|
<fo:block>
|
8827
8868
|
|
@@ -9001,11 +9042,14 @@
|
|
9001
9042
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
9002
9043
|
</xsl:call-template>
|
9003
9044
|
|
9045
|
+
<!-- Example: Dimensions in millimeters -->
|
9046
|
+
<xsl:apply-templates select="*[local-name() = 'note'][@type = 'units']"/>
|
9047
|
+
|
9004
9048
|
<fo:block xsl:use-attribute-sets="figure-style">
|
9005
|
-
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
9049
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note' and @type = 'units')]"/>
|
9006
9050
|
</fo:block>
|
9007
9051
|
<xsl:call-template name="fn_display_figure"/>
|
9008
|
-
<xsl:for-each select="*[local-name() = 'note']">
|
9052
|
+
<xsl:for-each select="*[local-name() = 'note'][not(@type = 'units')]">
|
9009
9053
|
<xsl:call-template name="note"/>
|
9010
9054
|
</xsl:for-each>
|
9011
9055
|
|
@@ -9262,24 +9306,47 @@
|
|
9262
9306
|
|
9263
9307
|
</xsl:when>
|
9264
9308
|
<xsl:otherwise>
|
9265
|
-
|
9266
|
-
|
9267
|
-
|
9268
|
-
<xsl:
|
9269
|
-
|
9270
|
-
|
9271
|
-
<xsl:
|
9272
|
-
|
9273
|
-
|
9274
|
-
|
9275
|
-
|
9276
|
-
|
9277
|
-
|
9278
|
-
|
9279
|
-
|
9280
|
-
|
9281
|
-
|
9282
|
-
|
9309
|
+
|
9310
|
+
<xsl:variable name="element">
|
9311
|
+
<xsl:choose>
|
9312
|
+
<xsl:when test="ancestor::*[local-name() = 'tr'] and $isGenerateTableIF = 'true'">
|
9313
|
+
<fo:inline xsl:use-attribute-sets="image-style" text-align="left"/>
|
9314
|
+
</xsl:when>
|
9315
|
+
<xsl:otherwise>
|
9316
|
+
<fo:block xsl:use-attribute-sets="image-style">
|
9317
|
+
<xsl:if test="ancestor::*[local-name() = 'dt']">
|
9318
|
+
<xsl:attribute name="text-align">left</xsl:attribute>
|
9319
|
+
</xsl:if>
|
9320
|
+
</fo:block>
|
9321
|
+
</xsl:otherwise>
|
9322
|
+
</xsl:choose>
|
9323
|
+
</xsl:variable>
|
9324
|
+
|
9325
|
+
<xsl:for-each select="xalan:nodeset($element)/*">
|
9326
|
+
<xsl:copy>
|
9327
|
+
<xsl:copy-of select="@*"/>
|
9328
|
+
<!-- <fo:block xsl:use-attribute-sets="image-style"> -->
|
9329
|
+
<fo:instream-foreign-object fox:alt-text="{$alt-text}">
|
9330
|
+
<xsl:if test="$isGenerateTableIF = 'false'">
|
9331
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
9332
|
+
</xsl:if>
|
9333
|
+
<xsl:attribute name="content-height">100%</xsl:attribute>
|
9334
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
9335
|
+
<xsl:variable name="svg_width" select="xalan:nodeset($svg_content)/*/@width"/>
|
9336
|
+
<xsl:variable name="svg_height" select="xalan:nodeset($svg_content)/*/@height"/>
|
9337
|
+
<!-- effective height 297 - 27.4 - 13 = 256.6 -->
|
9338
|
+
<!-- effective width 210 - 12.5 - 25 = 172.5 -->
|
9339
|
+
<!-- effective height / width = 1.48, 1.4 - with title -->
|
9340
|
+
<xsl:if test="$svg_height > ($svg_width * 1.4)"> <!-- for images with big height -->
|
9341
|
+
<xsl:variable name="width" select="(($svg_width * 1.4) div $svg_height) * 100"/>
|
9342
|
+
<xsl:attribute name="width"><xsl:value-of select="$width"/>%</xsl:attribute>
|
9343
|
+
</xsl:if>
|
9344
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
9345
|
+
<xsl:copy-of select="$svg_content"/>
|
9346
|
+
</fo:instream-foreign-object>
|
9347
|
+
<!-- </fo:block> -->
|
9348
|
+
</xsl:copy>
|
9349
|
+
</xsl:for-each>
|
9283
9350
|
</xsl:otherwise>
|
9284
9351
|
</xsl:choose>
|
9285
9352
|
</xsl:template>
|
@@ -9371,6 +9438,13 @@
|
|
9371
9438
|
</xsl:for-each>
|
9372
9439
|
</xsl:template>
|
9373
9440
|
|
9441
|
+
<!-- For the structures like: <dt><image src="" mimetype="image/svg+xml" height="" width=""><svg xmlns="http://www.w3.org/2000/svg" ... -->
|
9442
|
+
<xsl:template match="*[local-name() != 'figure']/*[local-name() = 'image'][*[local-name() = 'svg']]" priority="3">
|
9443
|
+
<xsl:for-each select="*[local-name() = 'svg']">
|
9444
|
+
<xsl:call-template name="image_svg"/>
|
9445
|
+
</xsl:for-each>
|
9446
|
+
</xsl:template>
|
9447
|
+
|
9374
9448
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'image'][@mimetype = 'image/svg+xml' and @src[not(starts-with(., 'data:image/'))]]" priority="2">
|
9375
9449
|
<xsl:variable name="svg_content" select="document(@src)"/>
|
9376
9450
|
<xsl:variable name="name" select="ancestor::*[local-name() = 'figure']/*[local-name() = 'name']"/>
|
@@ -9509,6 +9583,8 @@
|
|
9509
9583
|
<xsl:value-of select="."/>
|
9510
9584
|
</xsl:template>
|
9511
9585
|
|
9586
|
+
<xsl:template match="*[local-name() = 'add'][starts-with(., $ace_tag)]/text()" mode="bookmarks" priority="3"/>
|
9587
|
+
|
9512
9588
|
<xsl:template match="node()" mode="contents">
|
9513
9589
|
<xsl:apply-templates mode="contents"/>
|
9514
9590
|
</xsl:template>
|
@@ -9816,7 +9892,15 @@
|
|
9816
9892
|
<xsl:value-of select="@section"/>
|
9817
9893
|
<xsl:text> </xsl:text>
|
9818
9894
|
</xsl:if>
|
9819
|
-
<xsl:
|
9895
|
+
<xsl:variable name="title">
|
9896
|
+
<xsl:for-each select="title/node()">
|
9897
|
+
<xsl:choose>
|
9898
|
+
<xsl:when test="local-name() = 'add' and starts-with(., $ace_tag)"><!-- skip --></xsl:when>
|
9899
|
+
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
9900
|
+
</xsl:choose>
|
9901
|
+
</xsl:for-each>
|
9902
|
+
</xsl:variable>
|
9903
|
+
<xsl:value-of select="normalize-space($title)"/>
|
9820
9904
|
</fo:bookmark-title>
|
9821
9905
|
<xsl:apply-templates mode="bookmark"/>
|
9822
9906
|
</fo:bookmark>
|
@@ -9847,6 +9931,12 @@
|
|
9847
9931
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
9848
9932
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']"/>
|
9849
9933
|
|
9934
|
+
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note'][@type = 'units'] | *[local-name() = 'image']/*[local-name() = 'note'][@type = 'units']" priority="2">
|
9935
|
+
<fo:block text-align="right" keep-with-next="always">
|
9936
|
+
<xsl:apply-templates/>
|
9937
|
+
</fo:block>
|
9938
|
+
</xsl:template>
|
9939
|
+
|
9850
9940
|
<!-- ====== -->
|
9851
9941
|
<!-- ====== -->
|
9852
9942
|
<xsl:template match="*[local-name() = 'title']" mode="contents_item">
|
@@ -9996,6 +10086,10 @@
|
|
9996
10086
|
</xsl:for-each>
|
9997
10087
|
</xsl:template>
|
9998
10088
|
|
10089
|
+
<xsl:template match="*[local-name() = 'add'][starts-with(., $ace_tag)]/text()" mode="contents_item" priority="2">
|
10090
|
+
<xsl:value-of select="."/>
|
10091
|
+
</xsl:template>
|
10092
|
+
|
9999
10093
|
<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
|
10000
10094
|
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
|
10001
10095
|
<xsl:apply-templates mode="contents_item"/>
|
@@ -5420,6 +5420,7 @@
|
|
5420
5420
|
|
5421
5421
|
<xsl:choose>
|
5422
5422
|
<xsl:when test="ancestor::*[local-name() = 'feedback-statement']">50%</xsl:when>
|
5423
|
+
<xsl:when test="@width = 'full-page-width' or @width = 'text-width'">100%</xsl:when>
|
5423
5424
|
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
5424
5425
|
<xsl:otherwise><xsl:value-of select="$table_width_default"/></xsl:otherwise>
|
5425
5426
|
</xsl:choose>
|
@@ -5543,7 +5544,7 @@
|
|
5543
5544
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
5544
5545
|
|
5545
5546
|
<xsl:choose>
|
5546
|
-
<xsl:when test="@width">
|
5547
|
+
<xsl:when test="@width and @width != 'full-page-width' and @width != 'text-width'">
|
5547
5548
|
|
5548
5549
|
<!-- centered table when table name is centered (see table-name-style) -->
|
5549
5550
|
|
@@ -5845,6 +5846,7 @@
|
|
5845
5846
|
This makes columns with large differences between minimum and maximum widths wider than columns with smaller differences. -->
|
5846
5847
|
<xsl:when test="(@width_max > $page_width and @width_min < $page_width) or (@width_min >= $page_width)">
|
5847
5848
|
<!-- difference between the available space and the minimum table width -->
|
5849
|
+
<_width_min><xsl:value-of select="@width_min"/></_width_min>
|
5848
5850
|
<xsl:variable name="W" select="$page_width - @width_min"/>
|
5849
5851
|
<W><xsl:value-of select="$W"/></W>
|
5850
5852
|
<!-- difference between maximum and minimum width of the table -->
|
@@ -6542,17 +6544,20 @@
|
|
6542
6544
|
<xsl:for-each select="xalan:nodeset($references)//fn">
|
6543
6545
|
<xsl:variable name="reference" select="@reference"/>
|
6544
6546
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
6545
|
-
<fo:block xsl:use-attribute-sets="table-fn-style">
|
6546
6547
|
|
6547
|
-
|
6548
|
+
<fo:block xsl:use-attribute-sets="table-fn-style">
|
6548
6549
|
|
6549
|
-
|
6550
|
+
<fo:inline id="{@id}" xsl:use-attribute-sets="table-fn-number-style">
|
6551
|
+
|
6552
|
+
<xsl:value-of select="@reference"/>
|
6553
|
+
|
6554
|
+
</fo:inline>
|
6555
|
+
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
|
6556
|
+
<xsl:copy-of select="./node()"/>
|
6557
|
+
</fo:inline>
|
6558
|
+
|
6559
|
+
</fo:block>
|
6550
6560
|
|
6551
|
-
</fo:inline>
|
6552
|
-
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
|
6553
|
-
<xsl:copy-of select="./node()"/>
|
6554
|
-
</fo:inline>
|
6555
|
-
</fo:block>
|
6556
6561
|
</xsl:if>
|
6557
6562
|
</xsl:for-each>
|
6558
6563
|
</xsl:template>
|
@@ -7488,12 +7493,12 @@
|
|
7488
7493
|
<xsl:param name="value"/>
|
7489
7494
|
<xsl:variable name="add_width" select="string-length($value) * 20"/>
|
7490
7495
|
<xsl:variable name="maxwidth" select="60 + $add_width"/>
|
7491
|
-
<fo:instream-foreign-object fox:alt-text="OpeningTag" baseline-shift="-
|
7492
|
-
<xsl:attribute name="height">5mm</xsl:attribute>
|
7496
|
+
<fo:instream-foreign-object fox:alt-text="OpeningTag" baseline-shift="-10%"><!-- alignment-baseline="middle" -->
|
7497
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute> <!-- 5mm -->
|
7493
7498
|
<xsl:attribute name="content-width">100%</xsl:attribute>
|
7494
7499
|
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
7495
7500
|
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
7496
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
|
7501
|
+
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
|
7497
7502
|
<g>
|
7498
7503
|
<xsl:if test="$type = 'closing' or $type = 'end'">
|
7499
7504
|
<xsl:attribute name="transform">scale(-1 1) translate(-<xsl:value-of select="$maxwidth + 32"/>,0)</xsl:attribute>
|
@@ -7507,6 +7512,27 @@
|
|
7507
7512
|
</xsl:if>
|
7508
7513
|
<xsl:value-of select="$kind"/><tspan dy="10" font-size="30pt"><xsl:value-of select="$value"/></tspan>
|
7509
7514
|
</text>
|
7515
|
+
</svg> -->
|
7516
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
|
7517
|
+
<g>
|
7518
|
+
<xsl:if test="$type = 'closing' or $type = 'end'">
|
7519
|
+
<xsl:attribute name="transform">scale(-1 1) translate(-<xsl:value-of select="$maxwidth + 32"/>,0)</xsl:attribute>
|
7520
|
+
</xsl:if>
|
7521
|
+
<polyline points="0,2.5 {$maxwidth},2.5 {$maxwidth + 20},40 {$maxwidth},77.5 0,77.5" stroke="black" stroke-width="5" fill="white"/>
|
7522
|
+
<line x1="9.5" y1="0" x2="9.5" y2="80" stroke="black" stroke-width="19"/>
|
7523
|
+
</g>
|
7524
|
+
<xsl:variable name="text_x">
|
7525
|
+
<xsl:choose>
|
7526
|
+
<xsl:when test="$type = 'closing' or $type = 'end'">28</xsl:when>
|
7527
|
+
<xsl:otherwise>22</xsl:otherwise>
|
7528
|
+
</xsl:choose>
|
7529
|
+
</xsl:variable>
|
7530
|
+
<text font-family="Arial" x="{$text_x}" y="50" font-size="40pt">
|
7531
|
+
<xsl:value-of select="$kind"/>
|
7532
|
+
</text>
|
7533
|
+
<text font-family="Arial" x="{$text_x + 33}" y="65" font-size="38pt">
|
7534
|
+
<xsl:value-of select="$value"/>
|
7535
|
+
</text>
|
7510
7536
|
</svg>
|
7511
7537
|
</fo:instream-foreign-object>
|
7512
7538
|
</xsl:template>
|
@@ -7761,18 +7787,23 @@
|
|
7761
7787
|
|
7762
7788
|
<xsl:template name="add-zero-spaces-java">
|
7763
7789
|
<xsl:param name="text" select="."/>
|
7764
|
-
|
7765
|
-
|
7790
|
+
|
7791
|
+
<!-- add zero-width space (#x200B) after dot with next non-digit -->
|
7792
|
+
<xsl:variable name="text1" select="java:replaceAll(java:java.lang.String.new($text),'(\.)([^\d\s])','$1$2')"/>
|
7793
|
+
<!-- add zero-width space (#x200B) after characters: dash, equal, underscore, em dash, thin space, arrow right -->
|
7794
|
+
<xsl:variable name="text2" select="java:replaceAll(java:java.lang.String.new($text1),'(-|=|_|—| |→)','$1')"/>
|
7795
|
+
<!-- add zero-width space (#x200B) after characters: colon, if there aren't digits after -->
|
7796
|
+
<xsl:variable name="text3" select="java:replaceAll(java:java.lang.String.new($text2),'(:)(\D)','$1$2')"/>
|
7766
7797
|
<!-- add zero-width space (#x200B) after characters: 'great than' -->
|
7767
|
-
<xsl:variable name="
|
7798
|
+
<xsl:variable name="text4" select="java:replaceAll(java:java.lang.String.new($text3), '(\u003e)(?!\u003e)', '$1')"/><!-- negative lookahead: 'great than' not followed by 'great than' -->
|
7768
7799
|
<!-- add zero-width space (#x200B) before characters: 'less than' -->
|
7769
|
-
<xsl:variable name="
|
7800
|
+
<xsl:variable name="text5" select="java:replaceAll(java:java.lang.String.new($text4), '(?<!\u003c)(\u003c)', '$1')"/> <!-- (?<!\u003c)(\u003c) --> <!-- negative lookbehind: 'less than' not preceeded by 'less than' -->
|
7770
7801
|
<!-- add zero-width space (#x200B) before character: { -->
|
7771
|
-
<xsl:variable name="
|
7802
|
+
<xsl:variable name="text6" select="java:replaceAll(java:java.lang.String.new($text5), '(?<!\W)(\{)', '$1')"/> <!-- negative lookbehind: '{' not preceeded by 'punctuation char' -->
|
7772
7803
|
<!-- add zero-width space (#x200B) after character: , -->
|
7773
|
-
<xsl:variable name="
|
7804
|
+
<xsl:variable name="text7" select="java:replaceAll(java:java.lang.String.new($text6), '(\,)(?!\d)', '$1')"/> <!-- negative lookahead: ',' not followed by digit -->
|
7774
7805
|
|
7775
|
-
<xsl:value-of select="$
|
7806
|
+
<xsl:value-of select="$text7"/>
|
7776
7807
|
</xsl:template>
|
7777
7808
|
|
7778
7809
|
<xsl:template name="add-zero-spaces-link-java">
|
@@ -7781,7 +7812,9 @@
|
|
7781
7812
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$1')"/> <!-- http://. https:// or www. -->
|
7782
7813
|
<xsl:variable name="url_continue" select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$2')"/>
|
7783
7814
|
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space -->
|
7784
|
-
<xsl:
|
7815
|
+
<xsl:variable name="url" select="java:replaceAll(java:java.lang.String.new($url_continue),'(-|\.|:|=|_|—| |,|/)','$1')"/>
|
7816
|
+
<!-- remove zero-width space at the end -->
|
7817
|
+
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($url), '$', '')"/>
|
7785
7818
|
</xsl:template>
|
7786
7819
|
|
7787
7820
|
<!-- add zero space after dash character (for table's entries) -->
|
@@ -7918,7 +7951,7 @@
|
|
7918
7951
|
</xsl:copy>
|
7919
7952
|
</xsl:template>
|
7920
7953
|
|
7921
|
-
<xsl:template match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p']) and not(*[local-name()='sourcecode'])]" mode="table-without-br">
|
7954
|
+
<xsl:template match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p']) and not(*[local-name()='sourcecode']) and not(*[local-name()='ul']) and not(*[local-name()='ol'])]" mode="table-without-br">
|
7922
7955
|
<xsl:copy>
|
7923
7956
|
<xsl:copy-of select="@*"/>
|
7924
7957
|
<p>
|
@@ -7994,6 +8027,14 @@
|
|
7994
8027
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($text),' {2,}',' ')"/>
|
7995
8028
|
</xsl:template>
|
7996
8029
|
|
8030
|
+
<xsl:template match="*[local-name()='th' or local-name()='td']//*[local-name() = 'ol' or local-name() = 'ul']" mode="table-without-br">
|
8031
|
+
<xsl:apply-templates mode="table-without-br"/>
|
8032
|
+
</xsl:template>
|
8033
|
+
|
8034
|
+
<xsl:template match="*[local-name()='th' or local-name()='td']//*[local-name() = 'li']" mode="table-without-br">
|
8035
|
+
<xsl:apply-templates mode="table-without-br"/>
|
8036
|
+
</xsl:template>
|
8037
|
+
|
7997
8038
|
<!-- mode="table-without-br" -->
|
7998
8039
|
<!-- ================================== -->
|
7999
8040
|
<!-- END: Step 0. replace <br/> to <p>...</p> -->
|
@@ -8821,7 +8862,7 @@
|
|
8821
8862
|
|
8822
8863
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style">
|
8823
8864
|
|
8824
|
-
<fo:block-container margin-left="0mm">
|
8865
|
+
<fo:block-container margin-left="0mm" margin-right="0mm">
|
8825
8866
|
|
8826
8867
|
<fo:block>
|
8827
8868
|
|
@@ -9001,11 +9042,14 @@
|
|
9001
9042
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
9002
9043
|
</xsl:call-template>
|
9003
9044
|
|
9045
|
+
<!-- Example: Dimensions in millimeters -->
|
9046
|
+
<xsl:apply-templates select="*[local-name() = 'note'][@type = 'units']"/>
|
9047
|
+
|
9004
9048
|
<fo:block xsl:use-attribute-sets="figure-style">
|
9005
|
-
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
9049
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note' and @type = 'units')]"/>
|
9006
9050
|
</fo:block>
|
9007
9051
|
<xsl:call-template name="fn_display_figure"/>
|
9008
|
-
<xsl:for-each select="*[local-name() = 'note']">
|
9052
|
+
<xsl:for-each select="*[local-name() = 'note'][not(@type = 'units')]">
|
9009
9053
|
<xsl:call-template name="note"/>
|
9010
9054
|
</xsl:for-each>
|
9011
9055
|
|
@@ -9262,24 +9306,47 @@
|
|
9262
9306
|
|
9263
9307
|
</xsl:when>
|
9264
9308
|
<xsl:otherwise>
|
9265
|
-
|
9266
|
-
|
9267
|
-
|
9268
|
-
<xsl:
|
9269
|
-
|
9270
|
-
|
9271
|
-
<xsl:
|
9272
|
-
|
9273
|
-
|
9274
|
-
|
9275
|
-
|
9276
|
-
|
9277
|
-
|
9278
|
-
|
9279
|
-
|
9280
|
-
|
9281
|
-
|
9282
|
-
|
9309
|
+
|
9310
|
+
<xsl:variable name="element">
|
9311
|
+
<xsl:choose>
|
9312
|
+
<xsl:when test="ancestor::*[local-name() = 'tr'] and $isGenerateTableIF = 'true'">
|
9313
|
+
<fo:inline xsl:use-attribute-sets="image-style" text-align="left"/>
|
9314
|
+
</xsl:when>
|
9315
|
+
<xsl:otherwise>
|
9316
|
+
<fo:block xsl:use-attribute-sets="image-style">
|
9317
|
+
<xsl:if test="ancestor::*[local-name() = 'dt']">
|
9318
|
+
<xsl:attribute name="text-align">left</xsl:attribute>
|
9319
|
+
</xsl:if>
|
9320
|
+
</fo:block>
|
9321
|
+
</xsl:otherwise>
|
9322
|
+
</xsl:choose>
|
9323
|
+
</xsl:variable>
|
9324
|
+
|
9325
|
+
<xsl:for-each select="xalan:nodeset($element)/*">
|
9326
|
+
<xsl:copy>
|
9327
|
+
<xsl:copy-of select="@*"/>
|
9328
|
+
<!-- <fo:block xsl:use-attribute-sets="image-style"> -->
|
9329
|
+
<fo:instream-foreign-object fox:alt-text="{$alt-text}">
|
9330
|
+
<xsl:if test="$isGenerateTableIF = 'false'">
|
9331
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
9332
|
+
</xsl:if>
|
9333
|
+
<xsl:attribute name="content-height">100%</xsl:attribute>
|
9334
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
9335
|
+
<xsl:variable name="svg_width" select="xalan:nodeset($svg_content)/*/@width"/>
|
9336
|
+
<xsl:variable name="svg_height" select="xalan:nodeset($svg_content)/*/@height"/>
|
9337
|
+
<!-- effective height 297 - 27.4 - 13 = 256.6 -->
|
9338
|
+
<!-- effective width 210 - 12.5 - 25 = 172.5 -->
|
9339
|
+
<!-- effective height / width = 1.48, 1.4 - with title -->
|
9340
|
+
<xsl:if test="$svg_height > ($svg_width * 1.4)"> <!-- for images with big height -->
|
9341
|
+
<xsl:variable name="width" select="(($svg_width * 1.4) div $svg_height) * 100"/>
|
9342
|
+
<xsl:attribute name="width"><xsl:value-of select="$width"/>%</xsl:attribute>
|
9343
|
+
</xsl:if>
|
9344
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
9345
|
+
<xsl:copy-of select="$svg_content"/>
|
9346
|
+
</fo:instream-foreign-object>
|
9347
|
+
<!-- </fo:block> -->
|
9348
|
+
</xsl:copy>
|
9349
|
+
</xsl:for-each>
|
9283
9350
|
</xsl:otherwise>
|
9284
9351
|
</xsl:choose>
|
9285
9352
|
</xsl:template>
|
@@ -9371,6 +9438,13 @@
|
|
9371
9438
|
</xsl:for-each>
|
9372
9439
|
</xsl:template>
|
9373
9440
|
|
9441
|
+
<!-- For the structures like: <dt><image src="" mimetype="image/svg+xml" height="" width=""><svg xmlns="http://www.w3.org/2000/svg" ... -->
|
9442
|
+
<xsl:template match="*[local-name() != 'figure']/*[local-name() = 'image'][*[local-name() = 'svg']]" priority="3">
|
9443
|
+
<xsl:for-each select="*[local-name() = 'svg']">
|
9444
|
+
<xsl:call-template name="image_svg"/>
|
9445
|
+
</xsl:for-each>
|
9446
|
+
</xsl:template>
|
9447
|
+
|
9374
9448
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'image'][@mimetype = 'image/svg+xml' and @src[not(starts-with(., 'data:image/'))]]" priority="2">
|
9375
9449
|
<xsl:variable name="svg_content" select="document(@src)"/>
|
9376
9450
|
<xsl:variable name="name" select="ancestor::*[local-name() = 'figure']/*[local-name() = 'name']"/>
|
@@ -9509,6 +9583,8 @@
|
|
9509
9583
|
<xsl:value-of select="."/>
|
9510
9584
|
</xsl:template>
|
9511
9585
|
|
9586
|
+
<xsl:template match="*[local-name() = 'add'][starts-with(., $ace_tag)]/text()" mode="bookmarks" priority="3"/>
|
9587
|
+
|
9512
9588
|
<xsl:template match="node()" mode="contents">
|
9513
9589
|
<xsl:apply-templates mode="contents"/>
|
9514
9590
|
</xsl:template>
|
@@ -9816,7 +9892,15 @@
|
|
9816
9892
|
<xsl:value-of select="@section"/>
|
9817
9893
|
<xsl:text> </xsl:text>
|
9818
9894
|
</xsl:if>
|
9819
|
-
<xsl:
|
9895
|
+
<xsl:variable name="title">
|
9896
|
+
<xsl:for-each select="title/node()">
|
9897
|
+
<xsl:choose>
|
9898
|
+
<xsl:when test="local-name() = 'add' and starts-with(., $ace_tag)"><!-- skip --></xsl:when>
|
9899
|
+
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
9900
|
+
</xsl:choose>
|
9901
|
+
</xsl:for-each>
|
9902
|
+
</xsl:variable>
|
9903
|
+
<xsl:value-of select="normalize-space($title)"/>
|
9820
9904
|
</fo:bookmark-title>
|
9821
9905
|
<xsl:apply-templates mode="bookmark"/>
|
9822
9906
|
</fo:bookmark>
|
@@ -9847,6 +9931,12 @@
|
|
9847
9931
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
9848
9932
|
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']"/>
|
9849
9933
|
|
9934
|
+
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note'][@type = 'units'] | *[local-name() = 'image']/*[local-name() = 'note'][@type = 'units']" priority="2">
|
9935
|
+
<fo:block text-align="right" keep-with-next="always">
|
9936
|
+
<xsl:apply-templates/>
|
9937
|
+
</fo:block>
|
9938
|
+
</xsl:template>
|
9939
|
+
|
9850
9940
|
<!-- ====== -->
|
9851
9941
|
<!-- ====== -->
|
9852
9942
|
<xsl:template match="*[local-name() = 'title']" mode="contents_item">
|
@@ -9996,6 +10086,10 @@
|
|
9996
10086
|
</xsl:for-each>
|
9997
10087
|
</xsl:template>
|
9998
10088
|
|
10089
|
+
<xsl:template match="*[local-name() = 'add'][starts-with(., $ace_tag)]/text()" mode="contents_item" priority="2">
|
10090
|
+
<xsl:value-of select="."/>
|
10091
|
+
</xsl:template>
|
10092
|
+
|
9999
10093
|
<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
|
10000
10094
|
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
|
10001
10095
|
<xsl:apply-templates mode="contents_item"/>
|
@@ -216,6 +216,9 @@
|
|
216
216
|
<optional>
|
217
217
|
<ref name="fullname"/>
|
218
218
|
</optional>
|
219
|
+
<zeroOrMore>
|
220
|
+
<ref name="credential"/>
|
221
|
+
</zeroOrMore>
|
219
222
|
<zeroOrMore>
|
220
223
|
<ref name="affiliation"/>
|
221
224
|
</zeroOrMore>
|
@@ -232,6 +235,11 @@
|
|
232
235
|
<ref name="FullNameType"/>
|
233
236
|
</element>
|
234
237
|
</define>
|
238
|
+
<define name="credential">
|
239
|
+
<element name="credential">
|
240
|
+
<text/>
|
241
|
+
</element>
|
242
|
+
</define>
|
235
243
|
<define name="FullNameType">
|
236
244
|
<choice>
|
237
245
|
<group>
|
@@ -305,7 +313,9 @@
|
|
305
313
|
<zeroOrMore>
|
306
314
|
<ref name="affiliationdescription"/>
|
307
315
|
</zeroOrMore>
|
308
|
-
<
|
316
|
+
<optional>
|
317
|
+
<ref name="organization"/>
|
318
|
+
</optional>
|
309
319
|
</element>
|
310
320
|
</define>
|
311
321
|
<define name="affiliationname">
|
data/lib/metanorma/ieee/front.rb
CHANGED
@@ -26,7 +26,7 @@ module Metanorma
|
|
26
26
|
|
27
27
|
def metadata_id(node, xml)
|
28
28
|
id = node.attr("docnumber") || ""
|
29
|
-
xml.docidentifier id, type: "IEEE"
|
29
|
+
xml.docidentifier (node.attr("docidentifier") || id), type: "IEEE"
|
30
30
|
id = node.attr("stdid-pdf") and
|
31
31
|
xml.docidentifier id, type: "IEEE", scope: "PDF"
|
32
32
|
id = node.attr("stdid-print") and
|
@@ -38,7 +38,7 @@ module Metanorma
|
|
38
38
|
publishers = node.attr("publisher") || "IEEE"
|
39
39
|
csv_split(publishers).each do |p|
|
40
40
|
xml.contributor do |c|
|
41
|
-
c.role
|
41
|
+
c.role type: "publisher"
|
42
42
|
c.organization do |a|
|
43
43
|
organization(a, p, true, node, !node.attr("publisher"))
|
44
44
|
end
|
@@ -1578,6 +1578,9 @@
|
|
1578
1578
|
<zeroOrMore>
|
1579
1579
|
<ref name="indexsect"/>
|
1580
1580
|
</zeroOrMore>
|
1581
|
+
<optional>
|
1582
|
+
<ref name="colophon"/>
|
1583
|
+
</optional>
|
1581
1584
|
</element>
|
1582
1585
|
</define>
|
1583
1586
|
<define name="misccontainer">
|
@@ -1600,6 +1603,13 @@
|
|
1600
1603
|
</oneOrMore>
|
1601
1604
|
</element>
|
1602
1605
|
</define>
|
1606
|
+
<define name="colophon">
|
1607
|
+
<element name="colophon">
|
1608
|
+
<oneOrMore>
|
1609
|
+
<ref name="content"/>
|
1610
|
+
</oneOrMore>
|
1611
|
+
</element>
|
1612
|
+
</define>
|
1603
1613
|
<define name="foreword">
|
1604
1614
|
<element name="foreword">
|
1605
1615
|
<ref name="Content-Section"/>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ieee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|