metanorma-nist 1.2.15 → 1.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/nist/nist.csts.xsl +34 -46
- data/lib/isodoc/nist/nist.cswp.xsl +34 -46
- data/lib/isodoc/nist/nist.sp.xsl +45 -5
- data/lib/metanorma/nist/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4580e1420646d3ff63309546c46de0031750698c6cf68930dd67a360f0201484
|
4
|
+
data.tar.gz: 859aeab56c957b83de78147e3c721a579ae6b65a2d10f69f62ebfa653f338a95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcb49ab1eab50871f69e6a5b824235a509dce74c48796555843daf636ad5177fa1b475b9f8a972494ac2656df209f737c91c9b549db01feb1b3429f4fadb46c4
|
7
|
+
data.tar.gz: 2120dbc9485b036496155fcc93275e4ae95f35f11b2f29f21c530fae9b7944e643b3aac4c329263796cae6bf52da01dc5565719fa751b5a8bcd9c8a8f497bed5
|
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
<xsl:param name="svg_images"/>
|
8
|
+
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
8
9
|
<xsl:variable name="images" select="document($svg_images)"/>
|
9
10
|
|
10
11
|
|
@@ -92,7 +93,9 @@
|
|
92
93
|
|
93
94
|
</fo:layout-master-set>
|
94
95
|
|
95
|
-
<
|
96
|
+
<fo:declarations>
|
97
|
+
<xsl:call-template name="addPDFUAmeta"/>
|
98
|
+
</fo:declarations>
|
96
99
|
|
97
100
|
<xsl:call-template name="addBookmarks">
|
98
101
|
<xsl:with-param name="contents" select="$contents"/>
|
@@ -234,52 +237,28 @@
|
|
234
237
|
<fo:block margin-top="18pt">
|
235
238
|
|
236
239
|
<!-- Abstract -->
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
</xsl:variable>
|
243
|
-
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-bottom="12pt"><xsl:value-of select="$title-abstract"/></fo:block>
|
244
|
-
<xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:abstract"/>
|
245
|
-
</xsl:if>
|
240
|
+
<!-- Keywords -->
|
241
|
+
<!-- Acknowledgements -->
|
242
|
+
<xsl:apply-templates select="/nist:nist-standard/nist:preface/*"/>
|
243
|
+
|
244
|
+
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:abstract"/> -->
|
246
245
|
|
246
|
+
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:acknowledgements"/> -->
|
247
|
+
|
247
248
|
<!-- Keywords -->
|
248
|
-
<xsl:if test="/nist:nist-standard/nist:bibdata/nist:keyword">
|
249
|
+
<!-- <xsl:if test="/nist:nist-standard/nist:bibdata/nist:keyword">
|
249
250
|
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-bottom="12pt">
|
250
|
-
<xsl:
|
251
|
-
<xsl:
|
252
|
-
|
253
|
-
</xsl:call-template>
|
254
|
-
</xsl:variable>
|
255
|
-
<xsl:value-of select="$title-keywords"/>
|
251
|
+
<xsl:call-template name="getLocalizedString">
|
252
|
+
<xsl:with-param name="key">keywords</xsl:with-param>
|
253
|
+
</xsl:call-template>
|
256
254
|
</fo:block>
|
257
255
|
<fo:block margin-bottom="12pt" text-align="justify">
|
258
256
|
<xsl:call-template name="insertKeywords">
|
259
|
-
<xsl:with-param name="charAtEnd"
|
257
|
+
<xsl:with-param name="charAtEnd"></xsl:with-param>
|
260
258
|
<xsl:with-param name="charDelim">; </xsl:with-param>
|
261
259
|
</xsl:call-template>
|
262
|
-
<!-- <xsl:for-each select="/nist:nist-standard/nist:bibdata//nist:keyword">
|
263
|
-
<xsl:sort data-type="text" order="ascending"/>
|
264
|
-
<xsl:apply-templates/>
|
265
|
-
<xsl:choose>
|
266
|
-
<xsl:when test="position() != last()">; </xsl:when>
|
267
|
-
<xsl:otherwise></xsl:otherwise>
|
268
|
-
</xsl:choose>
|
269
|
-
</xsl:for-each> -->
|
270
260
|
</fo:block>
|
271
|
-
</xsl:if>
|
272
|
-
|
273
|
-
<xsl:if test="/nist:nist-standard/nist:preface/nist:acknowledgements">
|
274
|
-
<xsl:variable name="title-acknowledgements">
|
275
|
-
<xsl:call-template name="getTitle">
|
276
|
-
<xsl:with-param name="name" select="'title-acknowledgements'"/>
|
277
|
-
</xsl:call-template>
|
278
|
-
</xsl:variable>
|
279
|
-
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-top="18pt" margin-bottom="12pt"><xsl:value-of select="$title-acknowledgements"/></fo:block>
|
280
|
-
<xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:acknowledgements"/>
|
281
|
-
</xsl:if>
|
282
|
-
|
261
|
+
</xsl:if> -->
|
283
262
|
|
284
263
|
<!-- Disclaimer -->
|
285
264
|
<!-- Additional Information -->
|
@@ -291,8 +270,9 @@
|
|
291
270
|
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-bottom="12pt">Feedback</fo:block>
|
292
271
|
<xsl:text>Feedback on this publication is welcome, and can be sent to: code-signing@nist.gov.</xsl:text>
|
293
272
|
|
294
|
-
|
295
|
-
|
273
|
+
<!-- Keywords -->
|
274
|
+
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:clause"/> -->
|
275
|
+
|
296
276
|
<fo:block break-after="page"/>
|
297
277
|
|
298
278
|
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:foreword"/> -->
|
@@ -422,7 +402,7 @@
|
|
422
402
|
<xsl:apply-templates select="/nist:nist-standard/nist:annex"/>
|
423
403
|
|
424
404
|
<!-- Bibliography -->
|
425
|
-
<xsl:apply-templates select="/nist:nist-standard/nist:bibliography
|
405
|
+
<xsl:apply-templates select="/nist:nist-standard/nist:bibliography"/>
|
426
406
|
|
427
407
|
</fo:block>
|
428
408
|
|
@@ -621,13 +601,13 @@
|
|
621
601
|
<!-- ====== -->
|
622
602
|
|
623
603
|
<xsl:template match="nist:legal-statement//nist:title">
|
624
|
-
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" margin-bottom="12pt" color="{$color}">
|
604
|
+
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" margin-bottom="12pt" color="{$color}" keep-with-next="always">
|
625
605
|
<xsl:apply-templates/>
|
626
606
|
</fo:block>
|
627
607
|
</xsl:template>
|
628
608
|
|
629
609
|
<xsl:template match="nist:executivesummary//nist:title">
|
630
|
-
<fo:block-container color="white" background-color="black" margin-bottom="12pt">
|
610
|
+
<fo:block-container color="white" background-color="black" margin-bottom="12pt" keep-with-next="always">
|
631
611
|
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="left" margin-left="4mm" padding-top="1mm">
|
632
612
|
<xsl:apply-templates/>
|
633
613
|
</fo:block>
|
@@ -635,11 +615,19 @@
|
|
635
615
|
</xsl:template>
|
636
616
|
|
637
617
|
<xsl:template match="nist:preface//nist:title" priority="3">
|
638
|
-
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" space-before="12pt" margin-bottom="12pt" color="{$color}">
|
618
|
+
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" space-before="12pt" margin-bottom="12pt" color="{$color}" keep-with-next="always">
|
619
|
+
<xsl:if test="local-name(..) = 'acknowledgements'">
|
620
|
+
<xsl:attribute name="space-before">18pt</xsl:attribute>
|
621
|
+
</xsl:if>
|
639
622
|
<xsl:apply-templates/>
|
640
623
|
</fo:block>
|
641
624
|
</xsl:template>
|
642
625
|
|
626
|
+
<xsl:template match="/nist:nist-standard/nist:bibliography">
|
627
|
+
<fo:block break-after="page"/>
|
628
|
+
<xsl:apply-templates/>
|
629
|
+
</xsl:template>
|
630
|
+
|
643
631
|
<xsl:template match="nist:references">
|
644
632
|
<fo:block id="{@id}">
|
645
633
|
<xsl:apply-templates/>
|
@@ -4573,8 +4561,8 @@
|
|
4573
4561
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
4574
4562
|
<xsl:apply-templates/>
|
4575
4563
|
</fo:block>
|
4576
|
-
</xsl:template><xsl:template match="*[local-name() = 'bookmark']">
|
4577
|
-
<fo:inline id="{@id}"/>
|
4564
|
+
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
4565
|
+
<fo:inline id="{@id}" font-size="1pt"/>
|
4578
4566
|
</xsl:template><xsl:template match="*[local-name() = 'errata']">
|
4579
4567
|
<!-- <row>
|
4580
4568
|
<date>05-07-2013</date>
|
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
<xsl:param name="svg_images"/>
|
8
|
+
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
8
9
|
<xsl:variable name="images" select="document($svg_images)"/>
|
9
10
|
|
10
11
|
|
@@ -92,7 +93,9 @@
|
|
92
93
|
|
93
94
|
</fo:layout-master-set>
|
94
95
|
|
95
|
-
<
|
96
|
+
<fo:declarations>
|
97
|
+
<xsl:call-template name="addPDFUAmeta"/>
|
98
|
+
</fo:declarations>
|
96
99
|
|
97
100
|
<xsl:call-template name="addBookmarks">
|
98
101
|
<xsl:with-param name="contents" select="$contents"/>
|
@@ -234,52 +237,28 @@
|
|
234
237
|
<fo:block margin-top="18pt">
|
235
238
|
|
236
239
|
<!-- Abstract -->
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
</xsl:variable>
|
243
|
-
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-bottom="12pt"><xsl:value-of select="$title-abstract"/></fo:block>
|
244
|
-
<xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:abstract"/>
|
245
|
-
</xsl:if>
|
240
|
+
<!-- Keywords -->
|
241
|
+
<!-- Acknowledgements -->
|
242
|
+
<xsl:apply-templates select="/nist:nist-standard/nist:preface/*"/>
|
243
|
+
|
244
|
+
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:abstract"/> -->
|
246
245
|
|
246
|
+
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:acknowledgements"/> -->
|
247
|
+
|
247
248
|
<!-- Keywords -->
|
248
|
-
<xsl:if test="/nist:nist-standard/nist:bibdata/nist:keyword">
|
249
|
+
<!-- <xsl:if test="/nist:nist-standard/nist:bibdata/nist:keyword">
|
249
250
|
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-bottom="12pt">
|
250
|
-
<xsl:
|
251
|
-
<xsl:
|
252
|
-
|
253
|
-
</xsl:call-template>
|
254
|
-
</xsl:variable>
|
255
|
-
<xsl:value-of select="$title-keywords"/>
|
251
|
+
<xsl:call-template name="getLocalizedString">
|
252
|
+
<xsl:with-param name="key">keywords</xsl:with-param>
|
253
|
+
</xsl:call-template>
|
256
254
|
</fo:block>
|
257
255
|
<fo:block margin-bottom="12pt" text-align="justify">
|
258
256
|
<xsl:call-template name="insertKeywords">
|
259
|
-
<xsl:with-param name="charAtEnd"
|
257
|
+
<xsl:with-param name="charAtEnd"></xsl:with-param>
|
260
258
|
<xsl:with-param name="charDelim">; </xsl:with-param>
|
261
259
|
</xsl:call-template>
|
262
|
-
<!-- <xsl:for-each select="/nist:nist-standard/nist:bibdata//nist:keyword">
|
263
|
-
<xsl:sort data-type="text" order="ascending"/>
|
264
|
-
<xsl:apply-templates/>
|
265
|
-
<xsl:choose>
|
266
|
-
<xsl:when test="position() != last()">; </xsl:when>
|
267
|
-
<xsl:otherwise></xsl:otherwise>
|
268
|
-
</xsl:choose>
|
269
|
-
</xsl:for-each> -->
|
270
260
|
</fo:block>
|
271
|
-
</xsl:if>
|
272
|
-
|
273
|
-
<xsl:if test="/nist:nist-standard/nist:preface/nist:acknowledgements">
|
274
|
-
<xsl:variable name="title-acknowledgements">
|
275
|
-
<xsl:call-template name="getTitle">
|
276
|
-
<xsl:with-param name="name" select="'title-acknowledgements'"/>
|
277
|
-
</xsl:call-template>
|
278
|
-
</xsl:variable>
|
279
|
-
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-top="18pt" margin-bottom="12pt"><xsl:value-of select="$title-acknowledgements"/></fo:block>
|
280
|
-
<xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:acknowledgements"/>
|
281
|
-
</xsl:if>
|
282
|
-
|
261
|
+
</xsl:if> -->
|
283
262
|
|
284
263
|
<!-- Disclaimer -->
|
285
264
|
<!-- Additional Information -->
|
@@ -291,8 +270,9 @@
|
|
291
270
|
<fo:block font-family="Arial" text-align="center" font-weight="bold" color="{$color}" margin-bottom="12pt">Feedback</fo:block>
|
292
271
|
<xsl:text>Feedback on this publication is welcome, and can be sent to: code-signing@nist.gov.</xsl:text>
|
293
272
|
|
294
|
-
|
295
|
-
|
273
|
+
<!-- Keywords -->
|
274
|
+
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:clause"/> -->
|
275
|
+
|
296
276
|
<fo:block break-after="page"/>
|
297
277
|
|
298
278
|
<!-- <xsl:apply-templates select="/nist:nist-standard/nist:preface/nist:foreword"/> -->
|
@@ -422,7 +402,7 @@
|
|
422
402
|
<xsl:apply-templates select="/nist:nist-standard/nist:annex"/>
|
423
403
|
|
424
404
|
<!-- Bibliography -->
|
425
|
-
<xsl:apply-templates select="/nist:nist-standard/nist:bibliography
|
405
|
+
<xsl:apply-templates select="/nist:nist-standard/nist:bibliography"/>
|
426
406
|
|
427
407
|
</fo:block>
|
428
408
|
|
@@ -621,13 +601,13 @@
|
|
621
601
|
<!-- ====== -->
|
622
602
|
|
623
603
|
<xsl:template match="nist:legal-statement//nist:title">
|
624
|
-
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" margin-bottom="12pt" color="{$color}">
|
604
|
+
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" margin-bottom="12pt" color="{$color}" keep-with-next="always">
|
625
605
|
<xsl:apply-templates/>
|
626
606
|
</fo:block>
|
627
607
|
</xsl:template>
|
628
608
|
|
629
609
|
<xsl:template match="nist:executivesummary//nist:title">
|
630
|
-
<fo:block-container color="white" background-color="black" margin-bottom="12pt">
|
610
|
+
<fo:block-container color="white" background-color="black" margin-bottom="12pt" keep-with-next="always">
|
631
611
|
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="left" margin-left="4mm" padding-top="1mm">
|
632
612
|
<xsl:apply-templates/>
|
633
613
|
</fo:block>
|
@@ -635,11 +615,19 @@
|
|
635
615
|
</xsl:template>
|
636
616
|
|
637
617
|
<xsl:template match="nist:preface//nist:title" priority="3">
|
638
|
-
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" space-before="12pt" margin-bottom="12pt" color="{$color}">
|
618
|
+
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" text-align="center" space-before="12pt" margin-bottom="12pt" color="{$color}" keep-with-next="always">
|
619
|
+
<xsl:if test="local-name(..) = 'acknowledgements'">
|
620
|
+
<xsl:attribute name="space-before">18pt</xsl:attribute>
|
621
|
+
</xsl:if>
|
639
622
|
<xsl:apply-templates/>
|
640
623
|
</fo:block>
|
641
624
|
</xsl:template>
|
642
625
|
|
626
|
+
<xsl:template match="/nist:nist-standard/nist:bibliography">
|
627
|
+
<fo:block break-after="page"/>
|
628
|
+
<xsl:apply-templates/>
|
629
|
+
</xsl:template>
|
630
|
+
|
643
631
|
<xsl:template match="nist:references">
|
644
632
|
<fo:block id="{@id}">
|
645
633
|
<xsl:apply-templates/>
|
@@ -4573,8 +4561,8 @@
|
|
4573
4561
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
4574
4562
|
<xsl:apply-templates/>
|
4575
4563
|
</fo:block>
|
4576
|
-
</xsl:template><xsl:template match="*[local-name() = 'bookmark']">
|
4577
|
-
<fo:inline id="{@id}"/>
|
4564
|
+
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
4565
|
+
<fo:inline id="{@id}" font-size="1pt"/>
|
4578
4566
|
</xsl:template><xsl:template match="*[local-name() = 'errata']">
|
4579
4567
|
<!-- <row>
|
4580
4568
|
<date>05-07-2013</date>
|
data/lib/isodoc/nist/nist.sp.xsl
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
<xsl:param name="svg_images"/>
|
8
|
+
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
8
9
|
<xsl:variable name="images" select="document($svg_images)"/>
|
9
10
|
|
10
11
|
|
@@ -86,7 +87,9 @@
|
|
86
87
|
</fo:simple-page-master>
|
87
88
|
</fo:layout-master-set>
|
88
89
|
|
89
|
-
<
|
90
|
+
<fo:declarations>
|
91
|
+
<xsl:call-template name="addPDFUAmeta"/>
|
92
|
+
</fo:declarations>
|
90
93
|
|
91
94
|
<xsl:call-template name="addBookmarks">
|
92
95
|
<xsl:with-param name="contents" select="$contents"/>
|
@@ -1470,7 +1473,7 @@
|
|
1470
1473
|
</fo:block>
|
1471
1474
|
</xsl:when>
|
1472
1475
|
<xsl:when test="ancestor-or-self::nist:annex and $level >= 2">
|
1473
|
-
<fo:block font-family="Arial" font-size="12pt" font-weight="bold"
|
1476
|
+
<fo:block font-family="Arial" font-size="12pt" font-weight="bold" margin-top="3pt" margin-bottom="12pt" keep-with-next="always"> <!-- text-align="center" -->
|
1474
1477
|
<xsl:apply-templates/>
|
1475
1478
|
</fo:block>
|
1476
1479
|
</xsl:when>
|
@@ -1545,6 +1548,7 @@
|
|
1545
1548
|
<fo:list-block>
|
1546
1549
|
<xsl:attribute name="space-after">
|
1547
1550
|
<xsl:choose>
|
1551
|
+
<xsl:when test="ancestor::nist:figure and not(following-sibling::*)">0pt</xsl:when>
|
1548
1552
|
<xsl:when test="$margin != ''"><xsl:value-of select="$margin"/></xsl:when>
|
1549
1553
|
<xsl:otherwise>12pt</xsl:otherwise>
|
1550
1554
|
</xsl:choose>
|
@@ -1681,7 +1685,8 @@
|
|
1681
1685
|
<fo:table-body>
|
1682
1686
|
<fo:table-row>
|
1683
1687
|
<fo:table-cell>
|
1684
|
-
<fo:block text-align="left" margin-left="7mm">
|
1688
|
+
<!-- <fo:block text-align="left" margin-left="7mm"> -->
|
1689
|
+
<fo:block text-align="center" margin-left="7mm">
|
1685
1690
|
<xsl:apply-templates/>
|
1686
1691
|
</fo:block>
|
1687
1692
|
</fo:table-cell>
|
@@ -1794,6 +1799,10 @@
|
|
1794
1799
|
</fo:block>
|
1795
1800
|
</xsl:template>
|
1796
1801
|
|
1802
|
+
<xsl:template match="nist:figure[@class='pseudocode']//nist:dd//nist:stem[count(ancestor::nist:dd/nist:p) = 1 and normalize-space(ancestor::nist:dd/nist:p/text()) = '']" priority="2">
|
1803
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1804
|
+
</xsl:template>
|
1805
|
+
|
1797
1806
|
<xsl:template match="nist:dd//nist:stem[count(ancestor::nist:dd/nist:p) = 1 and normalize-space(ancestor::nist:dd/nist:p/text()) = '']">
|
1798
1807
|
<fo:block text-align="center">
|
1799
1808
|
<xsl:apply-templates/>
|
@@ -1806,6 +1815,37 @@
|
|
1806
1815
|
</fo:block>
|
1807
1816
|
</xsl:template>
|
1808
1817
|
|
1818
|
+
<xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']" priority="2">
|
1819
|
+
<fo:block-container id="{@id}" border="1pt solid black" background-color="rgb(230, 230, 230)" padding="1.5mm" space-before="6pt" space-after="6pt">
|
1820
|
+
<xsl:apply-templates/>
|
1821
|
+
</fo:block-container>
|
1822
|
+
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
|
1823
|
+
</xsl:template>
|
1824
|
+
|
1825
|
+
<xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']//*[local-name()='dl']" priority="2">
|
1826
|
+
<fo:block-container id="{@id}">
|
1827
|
+
<xsl:apply-templates/>
|
1828
|
+
</fo:block-container>
|
1829
|
+
</xsl:template>
|
1830
|
+
|
1831
|
+
<xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']//*[local-name()='dt']" priority="2">
|
1832
|
+
<fo:block>
|
1833
|
+
<xsl:if test="following-sibling::*[local-name()='dt'] or ancestor::*[local-name()='dd']/following-sibling::*[local-name()='dt']">
|
1834
|
+
<xsl:attribute name="margin-bottom">2pt</xsl:attribute>
|
1835
|
+
</xsl:if>
|
1836
|
+
<xsl:if test="preceding-sibling::*[local-name()='dt'] or ancestor::*[local-name()='dd']/preceding-sibling::*[local-name()='dt']">
|
1837
|
+
<xsl:attribute name="margin-top">2pt</xsl:attribute>
|
1838
|
+
</xsl:if>
|
1839
|
+
<xsl:apply-templates/>
|
1840
|
+
<fo:inline>: </fo:inline>
|
1841
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
1842
|
+
</fo:block>
|
1843
|
+
</xsl:template>
|
1844
|
+
|
1845
|
+
<xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']//*[local-name()='dd']/*[local-name()='p']" priority="2">
|
1846
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1847
|
+
</xsl:template>
|
1848
|
+
|
1809
1849
|
<!-- <xsl:template match="nist:dl[@type = 'glossary']" priority="2">
|
1810
1850
|
<xsl:apply-templates />
|
1811
1851
|
</xsl:template>
|
@@ -5636,8 +5676,8 @@
|
|
5636
5676
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
5637
5677
|
<xsl:apply-templates/>
|
5638
5678
|
</fo:block>
|
5639
|
-
</xsl:template><xsl:template match="*[local-name() = 'bookmark']">
|
5640
|
-
<fo:inline id="{@id}"/>
|
5679
|
+
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
5680
|
+
<fo:inline id="{@id}" font-size="1pt"/>
|
5641
5681
|
</xsl:template><xsl:template match="*[local-name() = 'errata']">
|
5642
5682
|
<!-- <row>
|
5643
5683
|
<date>05-07-2013</date>
|