metanorma-ieee 1.2.3 → 1.2.4
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/ieee.amendment.xsl +66 -9
- data/lib/isodoc/ieee/ieee.standard.xsl +66 -9
- data/lib/isodoc/ieee/init.rb +5 -0
- data/lib/isodoc/ieee/presentation_ref.rb +1 -6
- data/lib/metanorma/ieee/biblio.rng +28 -25
- data/lib/metanorma/ieee/version.rb +1 -1
- data/metanorma-ieee.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8b1f4904f4b2049efc0b0a1786712a872c4204531fffc6529f29613a263a3af
|
4
|
+
data.tar.gz: 4d64adf5b036e464822e056ce7a05be31a67c9ea564b86ee42d32d3fafabadb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 974fe9794e8b27cbd26f259e45ec7b652cec4c56ee716e6df6562c40acc3d747b8b5efd395d9e33602cbf5e94d8fa242e94e738e8b124d9c5fe69627d48a18de
|
7
|
+
data.tar.gz: d7de6c724d06d8544b9e36c8f658f5d5f47194cf3767cffc5bb7e0b93abe51e90f8d964498fcd0de83d7560658632f96b7f051e0e0d9e836fed592b5073bfb33
|
@@ -3804,6 +3804,8 @@
|
|
3804
3804
|
<xsl:param name="svg_images"/> <!-- svg images array -->
|
3805
3805
|
<xsl:variable name="images" select="document($svg_images)"/>
|
3806
3806
|
<xsl:param name="basepath"/> <!-- base path for images -->
|
3807
|
+
<xsl:param name="inputxml_basepath"/> <!-- input xml file path -->
|
3808
|
+
<xsl:param name="inputxml_filename"/> <!-- input xml file name -->
|
3807
3809
|
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
3808
3810
|
<xsl:param name="syntax-highlight">false</xsl:param> <!-- syntax highlighting feature, default - off -->
|
3809
3811
|
<xsl:param name="add_math_as_text">true</xsl:param> <!-- add math in text behind svg formula, to copy-paste formula from PDF as text -->
|
@@ -3856,6 +3858,20 @@
|
|
3856
3858
|
<xsl:call-template name="getLang"/>
|
3857
3859
|
</xsl:variable>
|
3858
3860
|
|
3861
|
+
<xsl:variable name="inputxml_filename_prefix">
|
3862
|
+
<xsl:choose>
|
3863
|
+
<xsl:when test="contains($inputxml_filename, '.presentation.xml')">
|
3864
|
+
<xsl:value-of select="substring-before($inputxml_filename, '.presentation.xml')"/>
|
3865
|
+
</xsl:when>
|
3866
|
+
<xsl:when test="contains($inputxml_filename, '.xml')">
|
3867
|
+
<xsl:value-of select="substring-before($inputxml_filename, '.xml')"/>
|
3868
|
+
</xsl:when>
|
3869
|
+
<xsl:otherwise>
|
3870
|
+
<xsl:value-of select="$inputxml_filename"/>
|
3871
|
+
</xsl:otherwise>
|
3872
|
+
</xsl:choose>
|
3873
|
+
</xsl:variable>
|
3874
|
+
|
3859
3875
|
<!-- Note 1: Each xslt has declated variable `namespace` that allows to set some properties, processing logic, etc. for concrete xslt.
|
3860
3876
|
You can put such conditions by using xslt construction `xsl:if test="..."` or <xsl:choose><xsl:when test=""></xsl:when><xsl:otherwiste></xsl:otherwiste></xsl:choose>,
|
3861
3877
|
BUT DON'T put any another conditions together with $namespace = '...' (such conditions will be ignored). For another conditions, please use nested xsl:if or xsl:choose -->
|
@@ -4826,6 +4842,10 @@
|
|
4826
4842
|
|
4827
4843
|
</xsl:attribute-set>
|
4828
4844
|
|
4845
|
+
<xsl:template name="refine_figure-block-style">
|
4846
|
+
|
4847
|
+
</xsl:template>
|
4848
|
+
|
4829
4849
|
<xsl:attribute-set name="figure-style">
|
4830
4850
|
|
4831
4851
|
</xsl:attribute-set>
|
@@ -5755,7 +5775,7 @@
|
|
5755
5775
|
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)/*/tr[1]/td)"/>
|
5756
5776
|
|
5757
5777
|
<xsl:variable name="colwidths">
|
5758
|
-
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
|
5778
|
+
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col']) and not(@class = 'dl')">
|
5759
5779
|
<xsl:call-template name="calculate-column-widths">
|
5760
5780
|
<xsl:with-param name="cols-count" select="$cols-count"/>
|
5761
5781
|
<xsl:with-param name="table" select="$simple-table"/>
|
@@ -5874,6 +5894,11 @@
|
|
5874
5894
|
<fo:table-column column-width="{@width}"/>
|
5875
5895
|
</xsl:for-each>
|
5876
5896
|
</xsl:when>
|
5897
|
+
<xsl:when test="@class = 'dl'">
|
5898
|
+
<xsl:for-each select=".//*[local-name()='tr'][1]/*">
|
5899
|
+
<fo:table-column column-width="{@width}"/>
|
5900
|
+
</xsl:for-each>
|
5901
|
+
</xsl:when>
|
5877
5902
|
<xsl:otherwise>
|
5878
5903
|
<xsl:call-template name="insertTableColumnWidth">
|
5879
5904
|
<xsl:with-param name="colwidths" select="$colwidths"/>
|
@@ -7175,6 +7200,7 @@
|
|
7175
7200
|
<!-- ===================== -->
|
7176
7201
|
<!-- Definition List -->
|
7177
7202
|
<!-- ===================== -->
|
7203
|
+
|
7178
7204
|
<xsl:template match="*[local-name()='dl']">
|
7179
7205
|
<xsl:variable name="isAdded" select="@added"/>
|
7180
7206
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
@@ -7387,10 +7413,21 @@
|
|
7387
7413
|
</xsl:variable>
|
7388
7414
|
|
7389
7415
|
<xsl:variable name="colwidths">
|
7390
|
-
<xsl:
|
7391
|
-
|
7392
|
-
<xsl:
|
7393
|
-
|
7416
|
+
<xsl:choose>
|
7417
|
+
<!-- dl from table[@class='dl'] -->
|
7418
|
+
<xsl:when test="*[local-name() = 'colgroup']">
|
7419
|
+
<autolayout/>
|
7420
|
+
<xsl:for-each select="*[local-name() = 'colgroup']/*[local-name() = 'col']">
|
7421
|
+
<column><xsl:value-of select="translate(@width,'%m','')"/></column>
|
7422
|
+
</xsl:for-each>
|
7423
|
+
</xsl:when>
|
7424
|
+
<xsl:otherwise>
|
7425
|
+
<xsl:call-template name="calculate-column-widths">
|
7426
|
+
<xsl:with-param name="cols-count" select="2"/>
|
7427
|
+
<xsl:with-param name="table" select="$simple-table"/>
|
7428
|
+
</xsl:call-template>
|
7429
|
+
</xsl:otherwise>
|
7430
|
+
</xsl:choose>
|
7394
7431
|
</xsl:variable>
|
7395
7432
|
|
7396
7433
|
<!-- <xsl:text disable-output-escaping="yes"><!- -</xsl:text>
|
@@ -9486,6 +9523,12 @@
|
|
9486
9523
|
<xsl:when test="@updatetype = 'true'">
|
9487
9524
|
<xsl:value-of select="concat(normalize-space(@target), '.pdf')"/>
|
9488
9525
|
</xsl:when>
|
9526
|
+
<xsl:when test="contains(@target, concat('_', $inputxml_filename_prefix, '_attachments'))">
|
9527
|
+
<!-- link to the PDF attachment -->
|
9528
|
+
<xsl:variable name="target_" select="translate(@target, '\', '/')"/>
|
9529
|
+
<xsl:variable name="target__" select="substring-after($target_, concat('_', $inputxml_filename_prefix, '_attachments', '/'))"/>
|
9530
|
+
<xsl:value-of select="concat('url(embedded-file:', $target__, ')')"/>
|
9531
|
+
</xsl:when>
|
9489
9532
|
<xsl:otherwise>
|
9490
9533
|
<xsl:value-of select="normalize-space(@target)"/>
|
9491
9534
|
</xsl:otherwise>
|
@@ -9895,6 +9938,7 @@
|
|
9895
9938
|
<xsl:variable name="isAdded" select="@added"/>
|
9896
9939
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
9897
9940
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="figure-block-style">
|
9941
|
+
<xsl:call-template name="refine_figure-block-style"/>
|
9898
9942
|
|
9899
9943
|
<xsl:call-template name="setTrackChangesStyles">
|
9900
9944
|
<xsl:with-param name="isAdded" select="$isAdded"/>
|
@@ -14408,10 +14452,10 @@
|
|
14408
14452
|
|
14409
14453
|
<xsl:template name="addPDFUAmeta">
|
14410
14454
|
<pdf:catalog>
|
14411
|
-
|
14412
|
-
|
14413
|
-
|
14414
|
-
|
14455
|
+
<pdf:dictionary type="normal" key="ViewerPreferences">
|
14456
|
+
<pdf:boolean key="DisplayDocTitle">true</pdf:boolean>
|
14457
|
+
</pdf:dictionary>
|
14458
|
+
</pdf:catalog>
|
14415
14459
|
<x:xmpmeta xmlns:x="adobe:ns:meta/">
|
14416
14460
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
14417
14461
|
<rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
|
@@ -14461,6 +14505,19 @@
|
|
14461
14505
|
</rdf:Description>
|
14462
14506
|
</rdf:RDF>
|
14463
14507
|
</x:xmpmeta>
|
14508
|
+
<!-- add attachments -->
|
14509
|
+
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']">
|
14510
|
+
<xsl:choose>
|
14511
|
+
<xsl:when test="normalize-space() != ''">
|
14512
|
+
<pdf:embedded-file src="{.}" filename="{@name}"/>
|
14513
|
+
</xsl:when>
|
14514
|
+
<xsl:otherwise>
|
14515
|
+
<!-- _{filename}_attachments -->
|
14516
|
+
<xsl:variable name="url" select="concat('url(file:///',$inputxml_basepath, '_', $inputxml_filename_prefix, '_attachments', '/', @name, ')')"/>
|
14517
|
+
<pdf:embedded-file src="{$url}" filename="{@name}"/>
|
14518
|
+
</xsl:otherwise>
|
14519
|
+
</xsl:choose>
|
14520
|
+
</xsl:for-each>
|
14464
14521
|
</xsl:template> <!-- addPDFUAmeta -->
|
14465
14522
|
|
14466
14523
|
<xsl:template name="getId">
|
@@ -3804,6 +3804,8 @@
|
|
3804
3804
|
<xsl:param name="svg_images"/> <!-- svg images array -->
|
3805
3805
|
<xsl:variable name="images" select="document($svg_images)"/>
|
3806
3806
|
<xsl:param name="basepath"/> <!-- base path for images -->
|
3807
|
+
<xsl:param name="inputxml_basepath"/> <!-- input xml file path -->
|
3808
|
+
<xsl:param name="inputxml_filename"/> <!-- input xml file name -->
|
3807
3809
|
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
3808
3810
|
<xsl:param name="syntax-highlight">false</xsl:param> <!-- syntax highlighting feature, default - off -->
|
3809
3811
|
<xsl:param name="add_math_as_text">true</xsl:param> <!-- add math in text behind svg formula, to copy-paste formula from PDF as text -->
|
@@ -3856,6 +3858,20 @@
|
|
3856
3858
|
<xsl:call-template name="getLang"/>
|
3857
3859
|
</xsl:variable>
|
3858
3860
|
|
3861
|
+
<xsl:variable name="inputxml_filename_prefix">
|
3862
|
+
<xsl:choose>
|
3863
|
+
<xsl:when test="contains($inputxml_filename, '.presentation.xml')">
|
3864
|
+
<xsl:value-of select="substring-before($inputxml_filename, '.presentation.xml')"/>
|
3865
|
+
</xsl:when>
|
3866
|
+
<xsl:when test="contains($inputxml_filename, '.xml')">
|
3867
|
+
<xsl:value-of select="substring-before($inputxml_filename, '.xml')"/>
|
3868
|
+
</xsl:when>
|
3869
|
+
<xsl:otherwise>
|
3870
|
+
<xsl:value-of select="$inputxml_filename"/>
|
3871
|
+
</xsl:otherwise>
|
3872
|
+
</xsl:choose>
|
3873
|
+
</xsl:variable>
|
3874
|
+
|
3859
3875
|
<!-- Note 1: Each xslt has declated variable `namespace` that allows to set some properties, processing logic, etc. for concrete xslt.
|
3860
3876
|
You can put such conditions by using xslt construction `xsl:if test="..."` or <xsl:choose><xsl:when test=""></xsl:when><xsl:otherwiste></xsl:otherwiste></xsl:choose>,
|
3861
3877
|
BUT DON'T put any another conditions together with $namespace = '...' (such conditions will be ignored). For another conditions, please use nested xsl:if or xsl:choose -->
|
@@ -4826,6 +4842,10 @@
|
|
4826
4842
|
|
4827
4843
|
</xsl:attribute-set>
|
4828
4844
|
|
4845
|
+
<xsl:template name="refine_figure-block-style">
|
4846
|
+
|
4847
|
+
</xsl:template>
|
4848
|
+
|
4829
4849
|
<xsl:attribute-set name="figure-style">
|
4830
4850
|
|
4831
4851
|
</xsl:attribute-set>
|
@@ -5755,7 +5775,7 @@
|
|
5755
5775
|
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)/*/tr[1]/td)"/>
|
5756
5776
|
|
5757
5777
|
<xsl:variable name="colwidths">
|
5758
|
-
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
|
5778
|
+
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col']) and not(@class = 'dl')">
|
5759
5779
|
<xsl:call-template name="calculate-column-widths">
|
5760
5780
|
<xsl:with-param name="cols-count" select="$cols-count"/>
|
5761
5781
|
<xsl:with-param name="table" select="$simple-table"/>
|
@@ -5874,6 +5894,11 @@
|
|
5874
5894
|
<fo:table-column column-width="{@width}"/>
|
5875
5895
|
</xsl:for-each>
|
5876
5896
|
</xsl:when>
|
5897
|
+
<xsl:when test="@class = 'dl'">
|
5898
|
+
<xsl:for-each select=".//*[local-name()='tr'][1]/*">
|
5899
|
+
<fo:table-column column-width="{@width}"/>
|
5900
|
+
</xsl:for-each>
|
5901
|
+
</xsl:when>
|
5877
5902
|
<xsl:otherwise>
|
5878
5903
|
<xsl:call-template name="insertTableColumnWidth">
|
5879
5904
|
<xsl:with-param name="colwidths" select="$colwidths"/>
|
@@ -7175,6 +7200,7 @@
|
|
7175
7200
|
<!-- ===================== -->
|
7176
7201
|
<!-- Definition List -->
|
7177
7202
|
<!-- ===================== -->
|
7203
|
+
|
7178
7204
|
<xsl:template match="*[local-name()='dl']">
|
7179
7205
|
<xsl:variable name="isAdded" select="@added"/>
|
7180
7206
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
@@ -7387,10 +7413,21 @@
|
|
7387
7413
|
</xsl:variable>
|
7388
7414
|
|
7389
7415
|
<xsl:variable name="colwidths">
|
7390
|
-
<xsl:
|
7391
|
-
|
7392
|
-
<xsl:
|
7393
|
-
|
7416
|
+
<xsl:choose>
|
7417
|
+
<!-- dl from table[@class='dl'] -->
|
7418
|
+
<xsl:when test="*[local-name() = 'colgroup']">
|
7419
|
+
<autolayout/>
|
7420
|
+
<xsl:for-each select="*[local-name() = 'colgroup']/*[local-name() = 'col']">
|
7421
|
+
<column><xsl:value-of select="translate(@width,'%m','')"/></column>
|
7422
|
+
</xsl:for-each>
|
7423
|
+
</xsl:when>
|
7424
|
+
<xsl:otherwise>
|
7425
|
+
<xsl:call-template name="calculate-column-widths">
|
7426
|
+
<xsl:with-param name="cols-count" select="2"/>
|
7427
|
+
<xsl:with-param name="table" select="$simple-table"/>
|
7428
|
+
</xsl:call-template>
|
7429
|
+
</xsl:otherwise>
|
7430
|
+
</xsl:choose>
|
7394
7431
|
</xsl:variable>
|
7395
7432
|
|
7396
7433
|
<!-- <xsl:text disable-output-escaping="yes"><!- -</xsl:text>
|
@@ -9486,6 +9523,12 @@
|
|
9486
9523
|
<xsl:when test="@updatetype = 'true'">
|
9487
9524
|
<xsl:value-of select="concat(normalize-space(@target), '.pdf')"/>
|
9488
9525
|
</xsl:when>
|
9526
|
+
<xsl:when test="contains(@target, concat('_', $inputxml_filename_prefix, '_attachments'))">
|
9527
|
+
<!-- link to the PDF attachment -->
|
9528
|
+
<xsl:variable name="target_" select="translate(@target, '\', '/')"/>
|
9529
|
+
<xsl:variable name="target__" select="substring-after($target_, concat('_', $inputxml_filename_prefix, '_attachments', '/'))"/>
|
9530
|
+
<xsl:value-of select="concat('url(embedded-file:', $target__, ')')"/>
|
9531
|
+
</xsl:when>
|
9489
9532
|
<xsl:otherwise>
|
9490
9533
|
<xsl:value-of select="normalize-space(@target)"/>
|
9491
9534
|
</xsl:otherwise>
|
@@ -9895,6 +9938,7 @@
|
|
9895
9938
|
<xsl:variable name="isAdded" select="@added"/>
|
9896
9939
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
9897
9940
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="figure-block-style">
|
9941
|
+
<xsl:call-template name="refine_figure-block-style"/>
|
9898
9942
|
|
9899
9943
|
<xsl:call-template name="setTrackChangesStyles">
|
9900
9944
|
<xsl:with-param name="isAdded" select="$isAdded"/>
|
@@ -14408,10 +14452,10 @@
|
|
14408
14452
|
|
14409
14453
|
<xsl:template name="addPDFUAmeta">
|
14410
14454
|
<pdf:catalog>
|
14411
|
-
|
14412
|
-
|
14413
|
-
|
14414
|
-
|
14455
|
+
<pdf:dictionary type="normal" key="ViewerPreferences">
|
14456
|
+
<pdf:boolean key="DisplayDocTitle">true</pdf:boolean>
|
14457
|
+
</pdf:dictionary>
|
14458
|
+
</pdf:catalog>
|
14415
14459
|
<x:xmpmeta xmlns:x="adobe:ns:meta/">
|
14416
14460
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
14417
14461
|
<rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
|
@@ -14461,6 +14505,19 @@
|
|
14461
14505
|
</rdf:Description>
|
14462
14506
|
</rdf:RDF>
|
14463
14507
|
</x:xmpmeta>
|
14508
|
+
<!-- add attachments -->
|
14509
|
+
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']">
|
14510
|
+
<xsl:choose>
|
14511
|
+
<xsl:when test="normalize-space() != ''">
|
14512
|
+
<pdf:embedded-file src="{.}" filename="{@name}"/>
|
14513
|
+
</xsl:when>
|
14514
|
+
<xsl:otherwise>
|
14515
|
+
<!-- _{filename}_attachments -->
|
14516
|
+
<xsl:variable name="url" select="concat('url(file:///',$inputxml_basepath, '_', $inputxml_filename_prefix, '_attachments', '/', @name, ')')"/>
|
14517
|
+
<pdf:embedded-file src="{$url}" filename="{@name}"/>
|
14518
|
+
</xsl:otherwise>
|
14519
|
+
</xsl:choose>
|
14520
|
+
</xsl:for-each>
|
14464
14521
|
</xsl:template> <!-- addPDFUAmeta -->
|
14465
14522
|
|
14466
14523
|
<xsl:template name="getId">
|
data/lib/isodoc/ieee/init.rb
CHANGED
@@ -34,11 +34,6 @@ module IsoDoc
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
-
def bibrenderer
|
38
|
-
::Relaton::Render::IEEE::General.new(language: @lang,
|
39
|
-
i18nhash: @i18n.get)
|
40
|
-
end
|
41
|
-
|
42
37
|
def citestyle
|
43
38
|
"author-date"
|
44
39
|
end
|
@@ -62,7 +57,7 @@ module IsoDoc
|
|
62
57
|
.new(language: @lang, i18nhash: @i18n.get,
|
63
58
|
template: { (bibitem["type"] || "misc").to_sym =>
|
64
59
|
"{{ creatornames }}" })
|
65
|
-
.
|
60
|
+
.render1(RelatonBib::XMLParser.from_xml(bibitem.to_xml))
|
66
61
|
end
|
67
62
|
|
68
63
|
def bibliography_bibitem_number1(bibitem, idx)
|
@@ -338,29 +338,32 @@
|
|
338
338
|
</define>
|
339
339
|
<define name="organization">
|
340
340
|
<element name="organization">
|
341
|
-
<
|
342
|
-
<ref name="orgname"/>
|
343
|
-
</oneOrMore>
|
344
|
-
<zeroOrMore>
|
345
|
-
<ref name="subdivision"/>
|
346
|
-
</zeroOrMore>
|
347
|
-
<optional>
|
348
|
-
<ref name="abbreviation"/>
|
349
|
-
</optional>
|
350
|
-
<zeroOrMore>
|
351
|
-
<ref name="uri"/>
|
352
|
-
</zeroOrMore>
|
353
|
-
<zeroOrMore>
|
354
|
-
<ref name="org-identifier"/>
|
355
|
-
</zeroOrMore>
|
356
|
-
<zeroOrMore>
|
357
|
-
<ref name="contact"/>
|
358
|
-
</zeroOrMore>
|
359
|
-
<optional>
|
360
|
-
<ref name="logo"/>
|
361
|
-
</optional>
|
341
|
+
<ref name="OrganizationType"/>
|
362
342
|
</element>
|
363
343
|
</define>
|
344
|
+
<define name="OrganizationType">
|
345
|
+
<oneOrMore>
|
346
|
+
<ref name="orgname"/>
|
347
|
+
</oneOrMore>
|
348
|
+
<zeroOrMore>
|
349
|
+
<ref name="subdivision"/>
|
350
|
+
</zeroOrMore>
|
351
|
+
<optional>
|
352
|
+
<ref name="abbreviation"/>
|
353
|
+
</optional>
|
354
|
+
<zeroOrMore>
|
355
|
+
<ref name="uri"/>
|
356
|
+
</zeroOrMore>
|
357
|
+
<zeroOrMore>
|
358
|
+
<ref name="org-identifier"/>
|
359
|
+
</zeroOrMore>
|
360
|
+
<zeroOrMore>
|
361
|
+
<ref name="contact"/>
|
362
|
+
</zeroOrMore>
|
363
|
+
<optional>
|
364
|
+
<ref name="logo"/>
|
365
|
+
</optional>
|
366
|
+
</define>
|
364
367
|
<define name="orgname">
|
365
368
|
<element name="name">
|
366
369
|
<choice>
|
@@ -371,10 +374,10 @@
|
|
371
374
|
</define>
|
372
375
|
<define name="subdivision">
|
373
376
|
<element name="subdivision">
|
374
|
-
<
|
375
|
-
<
|
376
|
-
|
377
|
-
|
377
|
+
<optional>
|
378
|
+
<attribute name="type"/>
|
379
|
+
</optional>
|
380
|
+
<ref name="OrganizationType"/>
|
378
381
|
</element>
|
379
382
|
</define>
|
380
383
|
<define name="logo">
|
data/metanorma-ieee.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
27
27
|
|
28
|
-
spec.add_dependency "metanorma-standoc", "~> 2.8.
|
28
|
+
spec.add_dependency "metanorma-standoc", "~> 2.8.4"
|
29
29
|
spec.add_dependency "mnconvert", "~> 1.20"
|
30
30
|
spec.add_dependency "pubid-ieee"
|
31
31
|
#spec.add_dependency "pubid-iso", "~> 0.5.3"
|
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.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.8.
|
19
|
+
version: 2.8.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.8.
|
26
|
+
version: 2.8.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mnconvert
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|