metanorma-ieee 1.5.1 → 1.5.2
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/README.adoc +1 -1
- data/lib/isodoc/ieee/ieee.amendment.xsl +83 -63
- data/lib/isodoc/ieee/ieee.standard.xsl +83 -63
- data/lib/metanorma/ieee/basicdoc.rng +1 -1
- data/lib/metanorma/ieee/isodoc.rng +1 -59
- data/lib/metanorma/ieee/version.rb +1 -1
- data/metanorma-ieee.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1f3bd984e4cf3c4cbfee3938fbd76e32aefa2143de7da149590c4af00e622f6
|
4
|
+
data.tar.gz: 6df88d7475cff636f3a36c25726379dfe9934eeb973b1220c5f97b119d096439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: badd50b4e680f74803f501bc8203cc26ea7845947af04a1c0daf4157812d530ad0fce25b3432b3391cfc71d19bfb7f65c157712c61c7c0b01c90620852a59e2f
|
7
|
+
data.tar.gz: 91366936d455a1b7ec2b06a1e11cb42146f73d53e6d56388b0413df33c7bfa96ae2ad540967b9de80557e65dd93fffb3a9eedc8b7de80f4efd2de6c61aa41550
|
data/README.adoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-ieee.svg["Gem Version", link="https://rubygems.org/gems/metanorma-ieee"]
|
4
4
|
image:https://github.com/metanorma/metanorma-ieee/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-ieee/actions?workflow=rake"]
|
5
|
-
image:https://codeclimate.com/github/metanorma/metanorma-ieee/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ieee"]
|
5
|
+
// image:https://codeclimate.com/github/metanorma/metanorma-ieee/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ieee"]
|
6
6
|
image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-ieee.svg["Pull Requests", link="https://github.com/metanorma/metanorma-ieee/pulls"]
|
7
7
|
image:https://img.shields.io/github/commits-since/metanorma/metanorma-ieee/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-ieee/releases"]
|
8
8
|
|
@@ -1229,7 +1229,7 @@
|
|
1229
1229
|
<xsl:apply-templates select="mnx:title"/>
|
1230
1230
|
|
1231
1231
|
<fo:inline keep-together.within-line="always">
|
1232
|
-
<fo:leader
|
1232
|
+
<fo:leader xsl:use-attribute-sets="toc-leader-style"/>
|
1233
1233
|
<fo:inline>
|
1234
1234
|
<fo:page-number-citation ref-id="{@id}"/>
|
1235
1235
|
</fo:inline>
|
@@ -1241,24 +1241,24 @@
|
|
1241
1241
|
</xsl:for-each>
|
1242
1242
|
|
1243
1243
|
<!-- List of Tables -->
|
1244
|
-
<xsl:
|
1245
|
-
<xsl:
|
1246
|
-
<xsl:
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
</xsl:
|
1244
|
+
<xsl:for-each select="$contents//mnx:tables/mnx:table">
|
1245
|
+
<xsl:if test="position() = 1">
|
1246
|
+
<xsl:call-template name="insertListOf_Title">
|
1247
|
+
<xsl:with-param name="title" select="$title-list-tables"/>
|
1248
|
+
</xsl:call-template>
|
1249
|
+
</xsl:if>
|
1250
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1251
|
+
</xsl:for-each>
|
1252
1252
|
|
1253
1253
|
<!-- List of Figures -->
|
1254
|
-
<xsl:
|
1255
|
-
<xsl:
|
1256
|
-
<xsl:
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
</xsl:
|
1254
|
+
<xsl:for-each select="$contents//mnx:figures/mnx:figure">
|
1255
|
+
<xsl:if test="position() = 1">
|
1256
|
+
<xsl:call-template name="insertListOf_Title">
|
1257
|
+
<xsl:with-param name="title" select="$title-list-figures"/>
|
1258
|
+
</xsl:call-template>
|
1259
|
+
</xsl:if>
|
1260
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1261
|
+
</xsl:for-each>
|
1262
1262
|
|
1263
1263
|
</xsl:when> <!-- $stage = 'draft' -->
|
1264
1264
|
|
@@ -1298,7 +1298,7 @@
|
|
1298
1298
|
<xsl:apply-templates select="mnx:title"/>
|
1299
1299
|
|
1300
1300
|
<fo:inline keep-together.within-line="always">
|
1301
|
-
<fo:leader
|
1301
|
+
<fo:leader xsl:use-attribute-sets="toc-leader-style"/>
|
1302
1302
|
<fo:inline>
|
1303
1303
|
<fo:page-number-citation ref-id="{@id}"/>
|
1304
1304
|
</fo:inline>
|
@@ -1313,26 +1313,26 @@
|
|
1313
1313
|
</xsl:for-each>
|
1314
1314
|
|
1315
1315
|
<!-- List of Figures -->
|
1316
|
-
<xsl:
|
1317
|
-
<
|
1318
|
-
|
1319
|
-
<xsl:
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
</xsl:
|
1316
|
+
<xsl:for-each select="$contents//mnx:figures/mnx:figure">
|
1317
|
+
<xsl:if test="position() = 1">
|
1318
|
+
<fo:block break-after="page"/>
|
1319
|
+
<xsl:call-template name="insertListOf_Title">
|
1320
|
+
<xsl:with-param name="title" select="'Figures'"/>
|
1321
|
+
</xsl:call-template>
|
1322
|
+
</xsl:if>
|
1323
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1324
|
+
</xsl:for-each>
|
1325
1325
|
|
1326
1326
|
<!-- List of Tables -->
|
1327
|
-
<xsl:
|
1328
|
-
<
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
</xsl:
|
1327
|
+
<xsl:for-each select="$contents//mnx:tables/mnx:table">
|
1328
|
+
<xsl:if test="position() = 1">
|
1329
|
+
<fo:block break-after="page"/>
|
1330
|
+
<xsl:call-template name="insertListOf_Title">
|
1331
|
+
<xsl:with-param name="title" select="'Tables'"/>
|
1332
|
+
</xsl:call-template>
|
1333
|
+
</xsl:if>
|
1334
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1335
|
+
</xsl:for-each>
|
1336
1336
|
|
1337
1337
|
</xsl:when> <!-- $stage = 'published' or 'approved' -->
|
1338
1338
|
</xsl:choose>
|
@@ -1407,24 +1407,17 @@
|
|
1407
1407
|
</xsl:if>
|
1408
1408
|
</xsl:template>
|
1409
1409
|
|
1410
|
-
<xsl:template match="mn:preface/mn:clause[@type = 'toc']/mn:fmt-title" priority="3">
|
1410
|
+
<xsl:template match="mn:preface/mn:clause[@type = 'toc']/mn:fmt-title" name="toc" priority="3">
|
1411
1411
|
<xsl:choose>
|
1412
|
-
<xsl:when test="$current_template = 'standard' or $current_template = 'draft'">
|
1413
|
-
<fo:block font-family="Arial" font-size="12pt" role="H1" font-weight="bold" margin-top="12pt" margin-bottom="24pt">
|
1414
|
-
<xsl:if test="$stage = 'published' or $stage = 'approved'">
|
1415
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1416
|
-
</xsl:if>
|
1417
|
-
<!-- Contents -->
|
1418
|
-
<!-- <xsl:call-template name="getLocalizedString">
|
1419
|
-
<xsl:with-param name="key">table_of_contents</xsl:with-param>
|
1420
|
-
</xsl:call-template> -->
|
1421
|
-
<xsl:apply-templates/>
|
1422
|
-
</fo:block>
|
1423
|
-
</xsl:when>
|
1424
1412
|
<xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
|
1413
|
+
<!-- no title -->
|
1425
1414
|
</xsl:when>
|
1426
1415
|
<xsl:otherwise>
|
1427
|
-
<fo:block
|
1416
|
+
<fo:block xsl:use-attribute-sets="toc-title-style">
|
1417
|
+
<xsl:if test="($current_template = 'standard' or $current_template = 'draft') and ($stage = 'published' or $stage = 'approved')">
|
1418
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1419
|
+
</xsl:if>
|
1420
|
+
<!-- Contents -->
|
1428
1421
|
<xsl:apply-templates/>
|
1429
1422
|
</fo:block>
|
1430
1423
|
</xsl:otherwise>
|
@@ -1965,13 +1958,10 @@
|
|
1965
1958
|
|
1966
1959
|
<xsl:template name="insertListOf_Title">
|
1967
1960
|
<xsl:param name="title"/>
|
1968
|
-
<fo:block
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
1973
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1974
|
-
</xsl:if>
|
1961
|
+
<fo:block xsl:use-attribute-sets="toc-listof-title-style">
|
1962
|
+
|
1963
|
+
<xsl:call-template name="refine_toc-listof-title-style"/>
|
1964
|
+
|
1975
1965
|
<xsl:value-of select="$title"/>
|
1976
1966
|
</fo:block>
|
1977
1967
|
</xsl:template>
|
@@ -1980,8 +1970,7 @@
|
|
1980
1970
|
|
1981
1971
|
<xsl:choose>
|
1982
1972
|
<xsl:when test="$current_template = 'standard'">
|
1983
|
-
<fo:list-block
|
1984
|
-
|
1973
|
+
<fo:list-block xsl:use-attribute-sets="toc-listof-item-style">
|
1985
1974
|
<fo:list-item>
|
1986
1975
|
<fo:list-item-label end-indent="label-end()">
|
1987
1976
|
<fo:block>
|
@@ -2006,8 +1995,8 @@
|
|
2006
1995
|
</fo:list-item-body>
|
2007
1996
|
</fo:list-item>
|
2008
1997
|
</fo:list-block>
|
2009
|
-
|
2010
1998
|
</xsl:when>
|
1999
|
+
|
2011
2000
|
<xsl:otherwise>
|
2012
2001
|
<fo:block role="TOCI" font-weight="normal" text-align-last="justify" margin-left="12mm">
|
2013
2002
|
<fo:basic-link internal-destination="{@id}">
|
@@ -13453,7 +13442,7 @@
|
|
13453
13442
|
|
13454
13443
|
<xsl:template name="insertFootnoteSeparatorCommon">
|
13455
13444
|
<xsl:param name="leader_length">30%</xsl:param>
|
13456
|
-
<fo:static-content flow-name="xsl-footnote-separator">
|
13445
|
+
<fo:static-content flow-name="xsl-footnote-separator" role="artifact">
|
13457
13446
|
<fo:block>
|
13458
13447
|
<fo:leader leader-pattern="rule" leader-length="{$leader_length}"/>
|
13459
13448
|
</fo:block>
|
@@ -14371,11 +14360,23 @@
|
|
14371
14360
|
</xsl:template>
|
14372
14361
|
|
14373
14362
|
<xsl:attribute-set name="toc-title-style">
|
14363
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
14364
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
14365
|
+
<xsl:attribute name="role">H1</xsl:attribute>
|
14366
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
14367
|
+
<xsl:attribute name="margin-top">12pt</xsl:attribute>
|
14368
|
+
<xsl:attribute name="margin-bottom">24pt</xsl:attribute>
|
14374
14369
|
</xsl:attribute-set>
|
14375
14370
|
|
14371
|
+
<xsl:template name="refine_toc-title-style">
|
14372
|
+
</xsl:template>
|
14373
|
+
|
14376
14374
|
<xsl:attribute-set name="toc-title-page-style">
|
14377
14375
|
</xsl:attribute-set> <!-- toc-title-page-style -->
|
14378
14376
|
|
14377
|
+
<xsl:template name="refine_toc-title-page-style">
|
14378
|
+
</xsl:template>
|
14379
|
+
|
14379
14380
|
<xsl:attribute-set name="toc-item-block-style">
|
14380
14381
|
</xsl:attribute-set>
|
14381
14382
|
|
@@ -14390,6 +14391,9 @@
|
|
14390
14391
|
</xsl:template> <!-- END: refine_toc-item-style -->
|
14391
14392
|
|
14392
14393
|
<xsl:attribute-set name="toc-leader-style">
|
14394
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
14395
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
14396
|
+
<xsl:attribute name="leader-pattern">dots</xsl:attribute>
|
14393
14397
|
</xsl:attribute-set> <!-- END: toc-leader-style -->
|
14394
14398
|
|
14395
14399
|
<xsl:attribute-set name="toc-pagenumber-style">
|
@@ -14397,13 +14401,29 @@
|
|
14397
14401
|
|
14398
14402
|
<!-- List of Figures, Tables -->
|
14399
14403
|
<xsl:attribute-set name="toc-listof-title-style">
|
14404
|
+
<xsl:attribute name="role">TOCI</xsl:attribute>
|
14405
|
+
<xsl:attribute name="space-before">12pt</xsl:attribute>
|
14406
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
14400
14407
|
</xsl:attribute-set>
|
14401
14408
|
|
14409
|
+
<xsl:template name="refine_toc-listof-title-style">
|
14410
|
+
<xsl:if test="$current_template = 'standard'">
|
14411
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
14412
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
14413
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
14414
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
14415
|
+
</xsl:if>
|
14416
|
+
</xsl:template>
|
14417
|
+
|
14402
14418
|
<xsl:attribute-set name="toc-listof-item-block-style">
|
14403
14419
|
</xsl:attribute-set>
|
14404
14420
|
|
14405
14421
|
<xsl:attribute-set name="toc-listof-item-style">
|
14406
14422
|
<xsl:attribute name="role">TOCI</xsl:attribute>
|
14423
|
+
<xsl:attribute name="provisional-distance-between-starts">22.5mm</xsl:attribute>
|
14424
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
14425
|
+
<xsl:attribute name="role">TOCI</xsl:attribute>
|
14426
|
+
<xsl:attribute name="margin-left">2mm</xsl:attribute>
|
14407
14427
|
</xsl:attribute-set>
|
14408
14428
|
|
14409
14429
|
<xsl:template name="processPrefaceSectionsDefault_Contents">
|
@@ -14743,7 +14763,7 @@
|
|
14743
14763
|
</xsl:if>
|
14744
14764
|
|
14745
14765
|
<xsl:for-each select="$contents_nodes/mnx:doc">
|
14746
|
-
<fo:bookmark internal-destination="{contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
|
14766
|
+
<fo:bookmark internal-destination="{mnx:contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
|
14747
14767
|
<xsl:if test="@bundle = 'true'">
|
14748
14768
|
<xsl:attribute name="internal-destination"><xsl:value-of select="@firstpage_id"/></xsl:attribute>
|
14749
14769
|
</xsl:if>
|
@@ -14777,7 +14797,7 @@
|
|
14777
14797
|
</xsl:choose>
|
14778
14798
|
</fo:bookmark-title>
|
14779
14799
|
|
14780
|
-
<xsl:apply-templates select="contents/mnx:item" mode="bookmark"/>
|
14800
|
+
<xsl:apply-templates select="mnx:contents/mnx:item" mode="bookmark"/>
|
14781
14801
|
|
14782
14802
|
<xsl:call-template name="insertFigureBookmarks">
|
14783
14803
|
<xsl:with-param name="contents" select="mnx:contents"/>
|
@@ -1229,7 +1229,7 @@
|
|
1229
1229
|
<xsl:apply-templates select="mnx:title"/>
|
1230
1230
|
|
1231
1231
|
<fo:inline keep-together.within-line="always">
|
1232
|
-
<fo:leader
|
1232
|
+
<fo:leader xsl:use-attribute-sets="toc-leader-style"/>
|
1233
1233
|
<fo:inline>
|
1234
1234
|
<fo:page-number-citation ref-id="{@id}"/>
|
1235
1235
|
</fo:inline>
|
@@ -1241,24 +1241,24 @@
|
|
1241
1241
|
</xsl:for-each>
|
1242
1242
|
|
1243
1243
|
<!-- List of Tables -->
|
1244
|
-
<xsl:
|
1245
|
-
<xsl:
|
1246
|
-
<xsl:
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
</xsl:
|
1244
|
+
<xsl:for-each select="$contents//mnx:tables/mnx:table">
|
1245
|
+
<xsl:if test="position() = 1">
|
1246
|
+
<xsl:call-template name="insertListOf_Title">
|
1247
|
+
<xsl:with-param name="title" select="$title-list-tables"/>
|
1248
|
+
</xsl:call-template>
|
1249
|
+
</xsl:if>
|
1250
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1251
|
+
</xsl:for-each>
|
1252
1252
|
|
1253
1253
|
<!-- List of Figures -->
|
1254
|
-
<xsl:
|
1255
|
-
<xsl:
|
1256
|
-
<xsl:
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
</xsl:
|
1254
|
+
<xsl:for-each select="$contents//mnx:figures/mnx:figure">
|
1255
|
+
<xsl:if test="position() = 1">
|
1256
|
+
<xsl:call-template name="insertListOf_Title">
|
1257
|
+
<xsl:with-param name="title" select="$title-list-figures"/>
|
1258
|
+
</xsl:call-template>
|
1259
|
+
</xsl:if>
|
1260
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1261
|
+
</xsl:for-each>
|
1262
1262
|
|
1263
1263
|
</xsl:when> <!-- $stage = 'draft' -->
|
1264
1264
|
|
@@ -1298,7 +1298,7 @@
|
|
1298
1298
|
<xsl:apply-templates select="mnx:title"/>
|
1299
1299
|
|
1300
1300
|
<fo:inline keep-together.within-line="always">
|
1301
|
-
<fo:leader
|
1301
|
+
<fo:leader xsl:use-attribute-sets="toc-leader-style"/>
|
1302
1302
|
<fo:inline>
|
1303
1303
|
<fo:page-number-citation ref-id="{@id}"/>
|
1304
1304
|
</fo:inline>
|
@@ -1313,26 +1313,26 @@
|
|
1313
1313
|
</xsl:for-each>
|
1314
1314
|
|
1315
1315
|
<!-- List of Figures -->
|
1316
|
-
<xsl:
|
1317
|
-
<
|
1318
|
-
|
1319
|
-
<xsl:
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
</xsl:
|
1316
|
+
<xsl:for-each select="$contents//mnx:figures/mnx:figure">
|
1317
|
+
<xsl:if test="position() = 1">
|
1318
|
+
<fo:block break-after="page"/>
|
1319
|
+
<xsl:call-template name="insertListOf_Title">
|
1320
|
+
<xsl:with-param name="title" select="'Figures'"/>
|
1321
|
+
</xsl:call-template>
|
1322
|
+
</xsl:if>
|
1323
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1324
|
+
</xsl:for-each>
|
1325
1325
|
|
1326
1326
|
<!-- List of Tables -->
|
1327
|
-
<xsl:
|
1328
|
-
<
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
</xsl:
|
1327
|
+
<xsl:for-each select="$contents//mnx:tables/mnx:table">
|
1328
|
+
<xsl:if test="position() = 1">
|
1329
|
+
<fo:block break-after="page"/>
|
1330
|
+
<xsl:call-template name="insertListOf_Title">
|
1331
|
+
<xsl:with-param name="title" select="'Tables'"/>
|
1332
|
+
</xsl:call-template>
|
1333
|
+
</xsl:if>
|
1334
|
+
<xsl:call-template name="insertListOf_Item"/>
|
1335
|
+
</xsl:for-each>
|
1336
1336
|
|
1337
1337
|
</xsl:when> <!-- $stage = 'published' or 'approved' -->
|
1338
1338
|
</xsl:choose>
|
@@ -1407,24 +1407,17 @@
|
|
1407
1407
|
</xsl:if>
|
1408
1408
|
</xsl:template>
|
1409
1409
|
|
1410
|
-
<xsl:template match="mn:preface/mn:clause[@type = 'toc']/mn:fmt-title" priority="3">
|
1410
|
+
<xsl:template match="mn:preface/mn:clause[@type = 'toc']/mn:fmt-title" name="toc" priority="3">
|
1411
1411
|
<xsl:choose>
|
1412
|
-
<xsl:when test="$current_template = 'standard' or $current_template = 'draft'">
|
1413
|
-
<fo:block font-family="Arial" font-size="12pt" role="H1" font-weight="bold" margin-top="12pt" margin-bottom="24pt">
|
1414
|
-
<xsl:if test="$stage = 'published' or $stage = 'approved'">
|
1415
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1416
|
-
</xsl:if>
|
1417
|
-
<!-- Contents -->
|
1418
|
-
<!-- <xsl:call-template name="getLocalizedString">
|
1419
|
-
<xsl:with-param name="key">table_of_contents</xsl:with-param>
|
1420
|
-
</xsl:call-template> -->
|
1421
|
-
<xsl:apply-templates/>
|
1422
|
-
</fo:block>
|
1423
|
-
</xsl:when>
|
1424
1412
|
<xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
|
1413
|
+
<!-- no title -->
|
1425
1414
|
</xsl:when>
|
1426
1415
|
<xsl:otherwise>
|
1427
|
-
<fo:block
|
1416
|
+
<fo:block xsl:use-attribute-sets="toc-title-style">
|
1417
|
+
<xsl:if test="($current_template = 'standard' or $current_template = 'draft') and ($stage = 'published' or $stage = 'approved')">
|
1418
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1419
|
+
</xsl:if>
|
1420
|
+
<!-- Contents -->
|
1428
1421
|
<xsl:apply-templates/>
|
1429
1422
|
</fo:block>
|
1430
1423
|
</xsl:otherwise>
|
@@ -1965,13 +1958,10 @@
|
|
1965
1958
|
|
1966
1959
|
<xsl:template name="insertListOf_Title">
|
1967
1960
|
<xsl:param name="title"/>
|
1968
|
-
<fo:block
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
1973
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1974
|
-
</xsl:if>
|
1961
|
+
<fo:block xsl:use-attribute-sets="toc-listof-title-style">
|
1962
|
+
|
1963
|
+
<xsl:call-template name="refine_toc-listof-title-style"/>
|
1964
|
+
|
1975
1965
|
<xsl:value-of select="$title"/>
|
1976
1966
|
</fo:block>
|
1977
1967
|
</xsl:template>
|
@@ -1980,8 +1970,7 @@
|
|
1980
1970
|
|
1981
1971
|
<xsl:choose>
|
1982
1972
|
<xsl:when test="$current_template = 'standard'">
|
1983
|
-
<fo:list-block
|
1984
|
-
|
1973
|
+
<fo:list-block xsl:use-attribute-sets="toc-listof-item-style">
|
1985
1974
|
<fo:list-item>
|
1986
1975
|
<fo:list-item-label end-indent="label-end()">
|
1987
1976
|
<fo:block>
|
@@ -2006,8 +1995,8 @@
|
|
2006
1995
|
</fo:list-item-body>
|
2007
1996
|
</fo:list-item>
|
2008
1997
|
</fo:list-block>
|
2009
|
-
|
2010
1998
|
</xsl:when>
|
1999
|
+
|
2011
2000
|
<xsl:otherwise>
|
2012
2001
|
<fo:block role="TOCI" font-weight="normal" text-align-last="justify" margin-left="12mm">
|
2013
2002
|
<fo:basic-link internal-destination="{@id}">
|
@@ -13453,7 +13442,7 @@
|
|
13453
13442
|
|
13454
13443
|
<xsl:template name="insertFootnoteSeparatorCommon">
|
13455
13444
|
<xsl:param name="leader_length">30%</xsl:param>
|
13456
|
-
<fo:static-content flow-name="xsl-footnote-separator">
|
13445
|
+
<fo:static-content flow-name="xsl-footnote-separator" role="artifact">
|
13457
13446
|
<fo:block>
|
13458
13447
|
<fo:leader leader-pattern="rule" leader-length="{$leader_length}"/>
|
13459
13448
|
</fo:block>
|
@@ -14371,11 +14360,23 @@
|
|
14371
14360
|
</xsl:template>
|
14372
14361
|
|
14373
14362
|
<xsl:attribute-set name="toc-title-style">
|
14363
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
14364
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
14365
|
+
<xsl:attribute name="role">H1</xsl:attribute>
|
14366
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
14367
|
+
<xsl:attribute name="margin-top">12pt</xsl:attribute>
|
14368
|
+
<xsl:attribute name="margin-bottom">24pt</xsl:attribute>
|
14374
14369
|
</xsl:attribute-set>
|
14375
14370
|
|
14371
|
+
<xsl:template name="refine_toc-title-style">
|
14372
|
+
</xsl:template>
|
14373
|
+
|
14376
14374
|
<xsl:attribute-set name="toc-title-page-style">
|
14377
14375
|
</xsl:attribute-set> <!-- toc-title-page-style -->
|
14378
14376
|
|
14377
|
+
<xsl:template name="refine_toc-title-page-style">
|
14378
|
+
</xsl:template>
|
14379
|
+
|
14379
14380
|
<xsl:attribute-set name="toc-item-block-style">
|
14380
14381
|
</xsl:attribute-set>
|
14381
14382
|
|
@@ -14390,6 +14391,9 @@
|
|
14390
14391
|
</xsl:template> <!-- END: refine_toc-item-style -->
|
14391
14392
|
|
14392
14393
|
<xsl:attribute-set name="toc-leader-style">
|
14394
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
14395
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
14396
|
+
<xsl:attribute name="leader-pattern">dots</xsl:attribute>
|
14393
14397
|
</xsl:attribute-set> <!-- END: toc-leader-style -->
|
14394
14398
|
|
14395
14399
|
<xsl:attribute-set name="toc-pagenumber-style">
|
@@ -14397,13 +14401,29 @@
|
|
14397
14401
|
|
14398
14402
|
<!-- List of Figures, Tables -->
|
14399
14403
|
<xsl:attribute-set name="toc-listof-title-style">
|
14404
|
+
<xsl:attribute name="role">TOCI</xsl:attribute>
|
14405
|
+
<xsl:attribute name="space-before">12pt</xsl:attribute>
|
14406
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
14400
14407
|
</xsl:attribute-set>
|
14401
14408
|
|
14409
|
+
<xsl:template name="refine_toc-listof-title-style">
|
14410
|
+
<xsl:if test="$current_template = 'standard'">
|
14411
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
14412
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
14413
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
14414
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
14415
|
+
</xsl:if>
|
14416
|
+
</xsl:template>
|
14417
|
+
|
14402
14418
|
<xsl:attribute-set name="toc-listof-item-block-style">
|
14403
14419
|
</xsl:attribute-set>
|
14404
14420
|
|
14405
14421
|
<xsl:attribute-set name="toc-listof-item-style">
|
14406
14422
|
<xsl:attribute name="role">TOCI</xsl:attribute>
|
14423
|
+
<xsl:attribute name="provisional-distance-between-starts">22.5mm</xsl:attribute>
|
14424
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
14425
|
+
<xsl:attribute name="role">TOCI</xsl:attribute>
|
14426
|
+
<xsl:attribute name="margin-left">2mm</xsl:attribute>
|
14407
14427
|
</xsl:attribute-set>
|
14408
14428
|
|
14409
14429
|
<xsl:template name="processPrefaceSectionsDefault_Contents">
|
@@ -14743,7 +14763,7 @@
|
|
14743
14763
|
</xsl:if>
|
14744
14764
|
|
14745
14765
|
<xsl:for-each select="$contents_nodes/mnx:doc">
|
14746
|
-
<fo:bookmark internal-destination="{contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
|
14766
|
+
<fo:bookmark internal-destination="{mnx:contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
|
14747
14767
|
<xsl:if test="@bundle = 'true'">
|
14748
14768
|
<xsl:attribute name="internal-destination"><xsl:value-of select="@firstpage_id"/></xsl:attribute>
|
14749
14769
|
</xsl:if>
|
@@ -14777,7 +14797,7 @@
|
|
14777
14797
|
</xsl:choose>
|
14778
14798
|
</fo:bookmark-title>
|
14779
14799
|
|
14780
|
-
<xsl:apply-templates select="contents/mnx:item" mode="bookmark"/>
|
14800
|
+
<xsl:apply-templates select="mnx:contents/mnx:item" mode="bookmark"/>
|
14781
14801
|
|
14782
14802
|
<xsl:call-template name="insertFigureBookmarks">
|
14783
14803
|
<xsl:with-param name="contents" select="mnx:contents"/>
|
@@ -1291,13 +1291,13 @@ Restricted recursively to contain only other such inline elements with no identi
|
|
1291
1291
|
<ref name="pure_strike"/>
|
1292
1292
|
<ref name="pure_smallcap"/>
|
1293
1293
|
<ref name="br"/>
|
1294
|
+
<ref name="stem"/>
|
1294
1295
|
</choice>
|
1295
1296
|
</define>
|
1296
1297
|
<define name="NestedTextElement">
|
1297
1298
|
<a:documentation>Contents of TextElement tags: leaves out tags that should occur only at top level of block: bookmark image hr pagebreak</a:documentation>
|
1298
1299
|
<choice>
|
1299
1300
|
<ref name="PureTextElement"/>
|
1300
|
-
<ref name="stem"/>
|
1301
1301
|
<ref name="eref"/>
|
1302
1302
|
<ref name="xref"/>
|
1303
1303
|
<ref name="hyperlink"/>
|
@@ -42,36 +42,6 @@ All IdRefType instances point not to `@id` in Semantic XML, which is the Content
|
|
42
42
|
but to `@anchor`, the user-supplied cross-reference</a:documentation>
|
43
43
|
<text/>
|
44
44
|
</define>
|
45
|
-
<define name="index-primary">
|
46
|
-
<element name="primary">
|
47
|
-
<oneOrMore>
|
48
|
-
<choice>
|
49
|
-
<ref name="PureTextElement"/>
|
50
|
-
<ref name="stem"/>
|
51
|
-
</choice>
|
52
|
-
</oneOrMore>
|
53
|
-
</element>
|
54
|
-
</define>
|
55
|
-
<define name="index-secondary">
|
56
|
-
<element name="secondary">
|
57
|
-
<oneOrMore>
|
58
|
-
<choice>
|
59
|
-
<ref name="PureTextElement"/>
|
60
|
-
<ref name="stem"/>
|
61
|
-
</choice>
|
62
|
-
</oneOrMore>
|
63
|
-
</element>
|
64
|
-
</define>
|
65
|
-
<define name="index-tertiary">
|
66
|
-
<element name="tertiary">
|
67
|
-
<oneOrMore>
|
68
|
-
<choice>
|
69
|
-
<ref name="PureTextElement"/>
|
70
|
-
<ref name="stem"/>
|
71
|
-
</choice>
|
72
|
-
</oneOrMore>
|
73
|
-
</element>
|
74
|
-
</define>
|
75
45
|
<define name="review">
|
76
46
|
<a:documentation>Generalise BasicDoc element from just review comments, to general annotations;
|
77
47
|
the type attribute defaults to `review` for reviews</a:documentation>
|
@@ -592,28 +562,6 @@ normative or informative references, some split references into sections organiz
|
|
592
562
|
</oneOrMore>
|
593
563
|
</element>
|
594
564
|
</define>
|
595
|
-
<define name="sub">
|
596
|
-
<a:documentation>Subscript text. Corresponds to HTML `sub</a:documentation>
|
597
|
-
<element name="sub">
|
598
|
-
<zeroOrMore>
|
599
|
-
<choice>
|
600
|
-
<ref name="PureTextElement"/>
|
601
|
-
<ref name="stem"/>
|
602
|
-
</choice>
|
603
|
-
</zeroOrMore>
|
604
|
-
</element>
|
605
|
-
</define>
|
606
|
-
<define name="sup">
|
607
|
-
<a:documentation>Superscript text. Corresponds to HTML `sup`</a:documentation>
|
608
|
-
<element name="sup">
|
609
|
-
<zeroOrMore>
|
610
|
-
<choice>
|
611
|
-
<ref name="PureTextElement"/>
|
612
|
-
<ref name="stem"/>
|
613
|
-
</choice>
|
614
|
-
</zeroOrMore>
|
615
|
-
</element>
|
616
|
-
</define>
|
617
565
|
<define name="pagebreak">
|
618
566
|
<a:documentation>Page break. Only applicable in paged layouts (e.g. PDF, Word), and not flow layouts (e.g. HTML)</a:documentation>
|
619
567
|
<element name="pagebreak">
|
@@ -1094,7 +1042,6 @@ That concept may be defined as a term within the current document, or it may be
|
|
1094
1042
|
<zeroOrMore>
|
1095
1043
|
<choice>
|
1096
1044
|
<ref name="PureTextElement"/>
|
1097
|
-
<ref name="stem"/>
|
1098
1045
|
<ref name="index"/>
|
1099
1046
|
<ref name="index-xref"/>
|
1100
1047
|
</choice>
|
@@ -1107,7 +1054,6 @@ That concept may be defined as a term within the current document, or it may be
|
|
1107
1054
|
<zeroOrMore>
|
1108
1055
|
<choice>
|
1109
1056
|
<ref name="PureTextElement"/>
|
1110
|
-
<ref name="stem"/>
|
1111
1057
|
<ref name="index"/>
|
1112
1058
|
<ref name="index-xref"/>
|
1113
1059
|
</choice>
|
@@ -2025,10 +1971,7 @@ used in document amendments</a:documentation>
|
|
2025
1971
|
<element name="name">
|
2026
1972
|
<a:documentation>The symbolic form of the designation</a:documentation>
|
2027
1973
|
<oneOrMore>
|
2028
|
-
<
|
2029
|
-
<ref name="PureTextElement"/>
|
2030
|
-
<ref name="stem"/>
|
2031
|
-
</choice>
|
1974
|
+
<ref name="PureTextElement"/>
|
2032
1975
|
</oneOrMore>
|
2033
1976
|
</element>
|
2034
1977
|
</element>
|
@@ -2081,7 +2024,6 @@ used in document amendments</a:documentation>
|
|
2081
2024
|
<zeroOrMore>
|
2082
2025
|
<choice>
|
2083
2026
|
<ref name="PureTextElement"/>
|
2084
|
-
<ref name="stem"/>
|
2085
2027
|
<ref name="index"/>
|
2086
2028
|
<ref name="index-xref"/>
|
2087
2029
|
</choice>
|
data/metanorma-ieee.gemspec
CHANGED
@@ -41,5 +41,5 @@ spec.add_development_dependency "rubocop-performance"
|
|
41
41
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
42
42
|
spec.add_development_dependency "timecop", "~> 0.9"
|
43
43
|
spec.add_development_dependency "webmock"
|
44
|
-
spec.add_development_dependency "
|
44
|
+
spec.add_development_dependency "canon"
|
45
45
|
end
|
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.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -221,7 +221,7 @@ dependencies:
|
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
224
|
+
name: canon
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - ">="
|