metanorma-taste 0.1.3 → 0.1.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/README.adoc +106 -46
- data/data/csa/config.yaml +25 -23
- data/data/csa/csa.standard.xsl +58 -76
- data/data/elf/config.yaml +10 -8
- data/data/enosema/config.yaml +10 -8
- data/data/icc/config.yaml +14 -12
- data/data/mbxif/config.yaml +26 -0
- data/data/mbxif/copyright.adoc +36 -0
- data/data/mbxif/i18n.yaml +4 -0
- data/data/mbxif/mbxif-back-cover.pdf +3504 -7
- data/data/mbxif/mbxif-front-cover.pdf +54968 -16
- data/data/mbxif/mbxif-logos.pdf +11330 -46
- data/data/mbxif/mbxif-logos_caeif.svg +1 -0
- data/data/mbxif/mbxif-logos_caxif.svg +1 -0
- data/data/mbxif/mbxif-logos_ewisif.svg +1 -0
- data/data/mbxif/mbxif-logos_jtif.svg +1 -0
- data/data/mbxif/mbxif-logos_lotar.svg +1 -0
- data/data/mbxif/mbxif-logos_mbxif.svg +1 -0
- data/data/mbxif/mbxif-logos_pdmif.svg +1 -0
- data/data/mbxif/mbxif.xsl +361 -0
- data/data/pdfa/config.yaml +16 -14
- data/data/pdfa/i18n.yaml +2 -4
- data/data/pdfa/pdfa-logo.emf +0 -0
- data/data/pdfa/pdfa-logo.svg +1 -1
- data/data/pdfa/pdfa.xsl +47 -10
- data/data/swf/config.yaml +14 -8
- data/data/swf/copyright.adoc +3 -4
- data/data/swf/swf-back-cover.pdf +3504 -7
- data/data/swf/swf-front-cover.pdf +3472 -3
- data/data/swf/swf-logo-with-graphic.svg +1 -0
- data/data/swf/swf-logo.svg +1 -0
- data/data/swf/swf.xsl +361 -0
- data/lib/metanorma/taste/base.rb +23 -19
- data/lib/metanorma/taste/base_override.rb +7 -47
- data/lib/metanorma/taste/filename_attributes.rb +53 -0
- data/lib/metanorma/taste/taste_config.rb +0 -34
- data/lib/metanorma/taste/value_attributes.rb +59 -0
- data/lib/metanorma/taste/version.rb +1 -1
- data/lib/metanorma/taste_register.rb +6 -6
- metadata +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dac3951f0ecd001d25c14c8dd038a0791003678a4aebc43b7219039a6baa9f53
|
4
|
+
data.tar.gz: b29b383bd4b5c87865f34de13e5b62df26e55fc66990141745f3f86ce4a2929f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89c8094961e1a59fd64ea25fca6bdf86243fe8fbac756fda96e3e62828098f5956d37fbe20bc9089787adff3f6d2918f4814c9be17a8bda353c156001bf3a163
|
7
|
+
data.tar.gz: ce5d4346fcd89bda667022ef984d2b93be8c49aeedf7adc4f5447e3f87fb4e5a33f35c12fead17a31da08ecd79fccd33e2a9af0e09282f872d04ace5942e07e4
|
data/README.adoc
CHANGED
@@ -152,12 +152,12 @@ currently available:
|
|
152
152
|
|`icc`
|
153
153
|
|International Color Consortium
|
154
154
|
|`iso`
|
155
|
-
|
|
155
|
+
|International Color Consortium specifications and standards with ICC branding and copyright
|
156
156
|
|
157
157
|
|`elf`
|
158
158
|
|Express Language Foundation
|
159
159
|
|`iso`
|
160
|
-
|
|
160
|
+
|Express Language Foundation specifications and standards with ELF branding and copyright
|
161
161
|
|
162
162
|
|`enosema`
|
163
163
|
|Enosema Foundation
|
@@ -166,8 +166,23 @@ currently available:
|
|
166
166
|
|
167
167
|
|`csa`
|
168
168
|
|Cloud Security Alliance
|
169
|
-
|`
|
169
|
+
|`generic`
|
170
170
|
|Cloud Security Alliance specifications and standards with CSA branding and copyright
|
171
|
+
|
172
|
+
|`pdfa`
|
173
|
+
|PDF Association
|
174
|
+
|`ribose`
|
175
|
+
|PDF Association specifications and standards with PDFA branding and copyright
|
176
|
+
|
177
|
+
|`swf`
|
178
|
+
|Spatial Web Foundation
|
179
|
+
|`ribose`
|
180
|
+
|Spatial Web Foundation specifications and standards with SWF branding and copyright
|
181
|
+
|
182
|
+
|`mbxif`
|
183
|
+
|MBx Interoperability Forum
|
184
|
+
|`ribose`
|
185
|
+
|MBx Interoperability Forum specifications and standards with MBx-IF branding and copyright
|
171
186
|
|===
|
172
187
|
|
173
188
|
|
@@ -220,32 +235,36 @@ The main configuration file for each taste:
|
|
220
235
|
flavor: string # The name of the custom flavor (e.g., "icc")
|
221
236
|
owner: string # Organization name (e.g., "International Color Consortium")
|
222
237
|
base-flavor: string # Base Metanorma flavor to extend (e.g., "iso")
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
htmlstylesheet
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
wordstylesheet
|
235
|
-
|
236
|
-
standardstylesheet
|
237
|
-
|
238
|
-
|
239
|
-
pdf-stylesheet
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
238
|
+
base-override: # Document attributes to override from base flavor
|
239
|
+
filename-attributes: # Metanorma document attributes that contain filenames
|
240
|
+
copyright-notice: string # Path to boilerplate file (e.g., "copyright.adoc")
|
241
|
+
i18n-dictionary: string # Path to internationalization dictionary (e.g., "i18n.yaml")
|
242
|
+
publisher-logo: string # Path to publisher logo (e.g., "icc.png")
|
243
|
+
htmlcoverpage: string # HTML output cover page
|
244
|
+
htmlintropage: string # HTML output introductory page
|
245
|
+
htmlstylesheet: string # HTML output CSS stylesheet
|
246
|
+
htmlstylesheet-override: string # HTML output CSS stylesheet, overriding base flavor stylesheet
|
247
|
+
wordcoverpage: string # Word output cover page
|
248
|
+
wordintropage: string # Word output introductory page
|
249
|
+
wordstylesheet: string # Word output CSS stylesheet
|
250
|
+
wordstylesheet-override: string # Word output CSS stylesheet, overriding base flavor stylesheet
|
251
|
+
standardstylesheet: string # Word output secondary CSS stylesheet
|
252
|
+
standardstylesheet-override: string # Word output secondary CSS stylesheet, overriding base flavor stylesheet
|
253
|
+
header: string # Word output header and footer content
|
254
|
+
pdf-stylesheet: string # PDF output XSLT stylesheet
|
255
|
+
pdf-stylesheet-override: string # PDF output XSLT stylesheet, overriding base flavor stylesheet
|
256
|
+
customize: string # Path to custom metanorma configuration file
|
257
|
+
coverpage-image: string # Path to coverpage image file
|
258
|
+
backpage-image: string # Path to backpage image file
|
259
|
+
value-attributes: # Metanorma document attributes that contain values
|
260
|
+
publisher: string # Publisher name override
|
261
|
+
publisher_abbr: string # Publisher abbreviation
|
262
|
+
body-font: string # Default font to use in HTML and Word stylesheets
|
263
|
+
header-font: string # Header font to use in HTML and Word stylesheets
|
264
|
+
monospace-font: string # Monospace font to use in HTML and Word stylesheets
|
265
|
+
fonts: string # Comma-delimited listing of fonts to retrieve for the taste from Fontist
|
266
|
+
output-extensions: string # Comma-delimited listing of output formats to support (subset of base flavor's)
|
267
|
+
presentation-metadata-*: # Template style attributes for presentation
|
249
268
|
doctypes: # Array of doctypes built over base flavour doctypes
|
250
269
|
- taste: # taste-specific machine-readable doctype name
|
251
270
|
base: # Base Metanorma flavor corresponding machine-readable doctype name
|
@@ -260,13 +279,21 @@ doctypes: # Array of doctypes built over base flavour doctypes
|
|
260
279
|
flavor: icc
|
261
280
|
owner: International Color Consortium
|
262
281
|
base-flavor: iso
|
263
|
-
copyright-notice: copyright.adoc
|
264
|
-
i18n-dictionary: i18n.yaml
|
265
282
|
base-override:
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
283
|
+
filename-attributes:
|
284
|
+
copyright-notice: copyright.adoc
|
285
|
+
i18n-dictionary: i18n.yaml
|
286
|
+
publisher-logo: icc-full.svg
|
287
|
+
htmlcoverpage: htmlcoverpage.html
|
288
|
+
htmlstylesheet-override: htmlstylesheet-override.scss
|
289
|
+
value-attributes:
|
290
|
+
publisher: International Color Consortium
|
291
|
+
publisher_abbr: ICC
|
292
|
+
presentation-metadata-color-secondary: '#376795'
|
293
|
+
presentation-metadata-backcover-text: color.org
|
294
|
+
body-font: Arial, 'Helvetica Neue', Helvetica, sans-serif
|
295
|
+
header-font: Arial, 'Helvetica Neue', Helvetica, sans-serif
|
296
|
+
output-extensions: xml,html,pdf,doc
|
270
297
|
doctypes:
|
271
298
|
- taste: specification # Specification # The name goes into i18n.yaml
|
272
299
|
base: international-standard
|
@@ -342,24 +369,48 @@ on the metaorma.org site.
|
|
342
369
|
|
343
370
|
=== Base-Override configuration
|
344
371
|
|
345
|
-
The `base-override` section allows customization of
|
346
|
-
supported by the base flavor
|
372
|
+
The `base-override` section allows customization of document attributes
|
373
|
+
supported by the base flavor through two nested categories:
|
374
|
+
|
375
|
+
==== Filename Attributes (`filename-attributes`)
|
376
|
+
|
377
|
+
These are Metanorma document attributes that contain filenames and file paths:
|
347
378
|
|
348
|
-
|
379
|
+
* `copyright-notice`: Path to boilerplate file containing copyright, license, and legal notices
|
380
|
+
* `i18n-dictionary`: Path to internationalization dictionary
|
381
|
+
* `publisher-logo`: Path to organization logo file
|
382
|
+
* `htmlcoverpage`, `htmlintropage`: HTML output page templates
|
383
|
+
* `htmlstylesheet`, `htmlstylesheet-override`: HTML CSS stylesheets
|
384
|
+
* `wordcoverpage`, `wordintropage`: Word output page templates
|
385
|
+
* `wordstylesheet`, `wordstylesheet-override`: Word CSS stylesheets
|
386
|
+
* `standardstylesheet`, `standardstylesheet-override`: Secondary Word CSS stylesheets
|
387
|
+
* `header`: Word output header and footer content
|
388
|
+
* `pdf-stylesheet`, `pdf-stylesheet-override`: PDF XSLT stylesheets
|
389
|
+
* `customize`: Path to custom metanorma configuration file
|
390
|
+
* `coverpage-image`, `backpage-image`: Cover and back page image files
|
349
391
|
|
350
|
-
|
392
|
+
==== Value Attributes (`value-attributes`)
|
393
|
+
|
394
|
+
These are Metanorma document attributes that contain values (not filenames):
|
351
395
|
|
352
396
|
* `publisher`: Organization name
|
353
397
|
* `publisher_abbr`: Organization abbreviation
|
354
|
-
* `
|
398
|
+
* `body-font`, `header-font`, `monospace-font`: Typography settings
|
399
|
+
* `fonts`: Comma-delimited list of fonts to retrieve from Fontist
|
400
|
+
* `output-extensions`: Comma-delimited list of supported output formats
|
401
|
+
* `presentation-metadata-*`: Visual styling attributes for presentation, including:
|
402
|
+
** `presentation-metadata-color-secondary`: Secondary color for styling
|
403
|
+
** `presentation-metadata-backcover-text`: Text for document back cover
|
404
|
+
** `presentation-metadata-ul-label-list`: Unordered list label formatting
|
405
|
+
** `presentation-metadata-annex-delim`: Annex delimiter formatting
|
406
|
+
** `presentation-metadata-middle-title`: Middle title formatting
|
407
|
+
** `presentation-metadata-ol-label-template-alphabet`: Ordered list alphabet template
|
408
|
+
** `presentation-metadata-ol-label-template-alphabet_upper`: Ordered list uppercase alphabet template
|
409
|
+
** `presentation-metadata-ol-label-template-roman`: Ordered list roman numeral template
|
410
|
+
** `presentation-metadata-ol-label-template-roman_upper`: Ordered list uppercase roman numeral template
|
411
|
+
** `presentation-metadata-ol-label-template-arabic`: Ordered list arabic numeral template
|
355
412
|
* Custom organization-specific attributes
|
356
413
|
|
357
|
-
Template style attributes:
|
358
|
-
|
359
|
-
* `presentation-metadata-*`: Visual styling attributes
|
360
|
-
* Color schemes, logos, layout preferences
|
361
|
-
* Typography and formatting options
|
362
|
-
|
363
414
|
The availability of these attributes depends on the base flavor's supported
|
364
415
|
document attributes and template system.
|
365
416
|
|
@@ -368,6 +419,15 @@ For example, the ISO flavor supports specific presentation metadata attributes.
|
|
368
419
|
Other flavors may have different customization options. Please check the base
|
369
420
|
flavor documentation for available attributes.
|
370
421
|
|
422
|
+
== Mappings of structures from taste to base flavours
|
423
|
+
|
424
|
+
The taste configuration includes various document classifications which need to be
|
425
|
+
mapped between values specific to the taste, and corresponding values in the base flavor.
|
426
|
+
The document will actually be compiled with the base flavor settings, but it will be
|
427
|
+
rendered using the taste's corresponding values. These includes
|
428
|
+
|
429
|
+
* `doctype`: mapping of taste doctypes to native base flavor doctypes
|
430
|
+
* `stage`: mapping of taste stages to native base flavor stages
|
371
431
|
|
372
432
|
== Data model
|
373
433
|
|
data/data/csa/config.yaml
CHANGED
@@ -2,30 +2,32 @@
|
|
2
2
|
flavor: csa
|
3
3
|
owner: Cloud Security Alliance
|
4
4
|
base-flavor: generic
|
5
|
-
customize: metanorma.yml
|
6
|
-
copyright-notice: boilerplate.adoc
|
7
|
-
i18n-dictionary: i18n.yaml
|
8
|
-
publisher-logo: logo.svg
|
9
|
-
htmlcoverpage: html_csa_titlepage.html
|
10
|
-
htmlstylesheet: htmlstyle.scss
|
11
|
-
htmlintropage: html_csa_intro.html
|
12
|
-
wordcoverpage: word_csa_titlepage.html
|
13
|
-
standardstylesheet: csa.scss
|
14
|
-
wordstylesheet: wordstyle.scss
|
15
|
-
wordintropage: word_csa_intro.html
|
16
|
-
header: header.html
|
17
|
-
pdf-stylesheet: csa.standard.xsl
|
18
5
|
base-override:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
6
|
+
filename-attributes:
|
7
|
+
customize: metanorma.yml
|
8
|
+
copyright-notice: boilerplate.adoc
|
9
|
+
i18n-dictionary: i18n.yaml
|
10
|
+
publisher-logo: logo.svg
|
11
|
+
htmlcoverpage: html_csa_titlepage.html
|
12
|
+
htmlstylesheet: htmlstyle.scss
|
13
|
+
htmlintropage: html_csa_intro.html
|
14
|
+
wordcoverpage: word_csa_titlepage.html
|
15
|
+
standardstylesheet: csa.scss
|
16
|
+
wordstylesheet: wordstyle.scss
|
17
|
+
wordintropage: word_csa_intro.html
|
18
|
+
header: header.html
|
19
|
+
pdf-stylesheet: csa.standard.xsl
|
20
|
+
value-attributes:
|
21
|
+
publisher: Cloud Security Alliance
|
22
|
+
publisher_abbr: CSA
|
23
|
+
body-font: Lato,"Source Sans Pro",sans-serif
|
24
|
+
header-font: Lato,"Source Sans Pro",sans-serif
|
25
|
+
monospace-font: '"Source Code Pro",monospace'
|
26
|
+
presentation-metadata-ul-label-list: "•, -, o"
|
27
|
+
presentation_metadata_annex_delim: "<br/>"
|
28
|
+
presentation_metadata_middle_title: ""
|
29
|
+
presentation_metadata_ol_label_template_alphabet_upper: "%<span class='fmt-label-delim'>)</span>"
|
30
|
+
output-extensions: xml,html,pdf,doc
|
29
31
|
doctypes:
|
30
32
|
- taste: standard
|
31
33
|
base: standard
|
data/data/csa/csa.standard.xsl
CHANGED
@@ -72,36 +72,21 @@
|
|
72
72
|
|
73
73
|
<xsl:call-template name="cover-page"/>
|
74
74
|
|
75
|
-
|
76
|
-
|
75
|
+
<xsl:call-template name="inner-cover-page"/>
|
76
|
+
|
77
|
+
<xsl:if test="$debug = 'true'">
|
78
|
+
<redirect:write file="contents_.xml"> <!-- {java:getTime(java:java.util.Date.new())} -->
|
79
|
+
<xsl:copy-of select="$contents"/>
|
80
|
+
</redirect:write>
|
81
|
+
</xsl:if>
|
82
|
+
|
83
|
+
<!-- Content, Foreword, etc. pages -->
|
84
|
+
<fo:page-sequence master-reference="document" format="1" force-page-count="no-force">
|
77
85
|
|
78
86
|
<xsl:call-template name="insertFootnoteSeparatorCommon"/>
|
79
87
|
<xsl:call-template name="insertHeaderFooter"/>
|
80
88
|
<fo:flow flow-name="xsl-region-body">
|
81
89
|
|
82
|
-
<xsl:if test="$debug = 'true'">
|
83
|
-
<redirect:write file="contents_.xml"> <!-- {java:getTime(java:java.util.Date.new())} -->
|
84
|
-
<xsl:copy-of select="$contents"/>
|
85
|
-
</redirect:write>
|
86
|
-
</xsl:if>
|
87
|
-
|
88
|
-
<fo:block>
|
89
|
-
<fo:block>The permanent and official location for Cloud Security Alliance DevSecOps is</fo:block>
|
90
|
-
<fo:block color="rgb(33, 94, 159)" text-decoration="underline">https://cloudsecurityalliance.org/group/DevSecOps/</fo:block>
|
91
|
-
</fo:block>
|
92
|
-
|
93
|
-
<fo:block-container absolute-position="fixed" left="25mm" top="152mm" width="165mm" height="100mm" display-align="after" color="rgb(165, 169, 172)" line-height="145%">
|
94
|
-
<fo:block>© <xsl:value-of select="/mn:metanorma/mn:bibdata/mn:copyright/mn:from"/> Cloud Security Alliance – All Rights Reserved. You may download, store, display on your
|
95
|
-
computer, view, print, and link to the Cloud Security Alliance at <fo:inline text-decoration="underline">https://cloudsecurityalliance.org</fo:inline>
|
96
|
-
subject to the following: (a) the draft may be used solely for your personal, informational, noncommercial
|
97
|
-
use; (b) the draft may not be modified or altered in any way; (c) the draft may not be
|
98
|
-
redistributed; and (d) the trademark, copyright or other notices may not be removed. You may quote
|
99
|
-
portions of the draft as permitted by the Fair Use provisions of the United States Copyright Act,
|
100
|
-
provided that you attribute the portions to the Cloud Security Alliance.</fo:block>
|
101
|
-
</fo:block-container>
|
102
|
-
|
103
|
-
<fo:block break-after="page"/>
|
104
|
-
|
105
90
|
<fo:block font-size="26pt" margin-bottom="18pt" role="H1">
|
106
91
|
<xsl:call-template name="getLocalizedString">
|
107
92
|
<xsl:with-param name="key">acknowledgements</xsl:with-param>
|
@@ -218,6 +203,8 @@
|
|
218
203
|
|
219
204
|
<!-- End Document Pages -->
|
220
205
|
|
206
|
+
<xsl:call-template name="back-page"/>
|
207
|
+
|
221
208
|
</fo:root>
|
222
209
|
</xsl:template>
|
223
210
|
|
@@ -259,6 +246,35 @@
|
|
259
246
|
</fo:page-sequence>
|
260
247
|
</xsl:template> <!-- END: cover-page -->
|
261
248
|
|
249
|
+
<xsl:template name="inner-cover-page">
|
250
|
+
<!-- Copyright -->
|
251
|
+
<fo:page-sequence master-reference="document" initial-page-number="2" format="1" force-page-count="no-force">
|
252
|
+
|
253
|
+
<xsl:call-template name="insertFootnoteSeparatorCommon"/>
|
254
|
+
<xsl:call-template name="insertHeaderFooter"/>
|
255
|
+
<fo:flow flow-name="xsl-region-body">
|
256
|
+
|
257
|
+
<fo:block>
|
258
|
+
<fo:block>The permanent and official location for Cloud Security Alliance DevSecOps is</fo:block>
|
259
|
+
<fo:block color="rgb(33, 94, 159)" text-decoration="underline">https://cloudsecurityalliance.org/group/DevSecOps/</fo:block>
|
260
|
+
</fo:block>
|
261
|
+
|
262
|
+
<fo:block-container absolute-position="fixed" left="25mm" top="152mm" width="165mm" height="100mm" display-align="after" color="rgb(165, 169, 172)" line-height="145%">
|
263
|
+
<fo:block>© <xsl:value-of select="/mn:metanorma/mn:bibdata/mn:copyright/mn:from"/> Cloud Security Alliance – All Rights Reserved. You may download, store, display on your
|
264
|
+
computer, view, print, and link to the Cloud Security Alliance at <fo:inline text-decoration="underline">https://cloudsecurityalliance.org</fo:inline>
|
265
|
+
subject to the following: (a) the draft may be used solely for your personal, informational, noncommercial
|
266
|
+
use; (b) the draft may not be modified or altered in any way; (c) the draft may not be
|
267
|
+
redistributed; and (d) the trademark, copyright or other notices may not be removed. You may quote
|
268
|
+
portions of the draft as permitted by the Fair Use provisions of the United States Copyright Act,
|
269
|
+
provided that you attribute the portions to the Cloud Security Alliance.</fo:block>
|
270
|
+
</fo:block-container>
|
271
|
+
</fo:flow>
|
272
|
+
</fo:page-sequence>
|
273
|
+
</xsl:template> <!-- inner-cover-page -->
|
274
|
+
|
275
|
+
<xsl:template name="back-page">
|
276
|
+
</xsl:template>
|
277
|
+
|
262
278
|
<xsl:template name="insertListOf_Title">
|
263
279
|
<xsl:param name="title"/>
|
264
280
|
<fo:block role="TOCI" keep-with-next="always">
|
@@ -2272,7 +2288,6 @@
|
|
2272
2288
|
</xsl:attribute-set> <!-- feedback-statement-title-style -->
|
2273
2289
|
|
2274
2290
|
<xsl:template name="refine_feedback-statement-title-style">
|
2275
|
-
|
2276
2291
|
</xsl:template>
|
2277
2292
|
|
2278
2293
|
<xsl:attribute-set name="feedback-statement-p-style">
|
@@ -8041,16 +8056,23 @@
|
|
8041
8056
|
</xsl:attribute-set> <!-- quote-style -->
|
8042
8057
|
|
8043
8058
|
<xsl:template name="refine_quote-style">
|
8044
|
-
</xsl:template>
|
8059
|
+
</xsl:template> <!-- refine_quote-style -->
|
8045
8060
|
|
8046
8061
|
<xsl:attribute-set name="quote-source-style">
|
8047
8062
|
<xsl:attribute name="text-align">right</xsl:attribute>
|
8048
8063
|
<xsl:attribute name="margin-right">25mm</xsl:attribute>
|
8049
|
-
</xsl:attribute-set>
|
8064
|
+
</xsl:attribute-set> <!-- quote-source-style -->
|
8050
8065
|
|
8051
8066
|
<xsl:template name="refine_quote-source-style">
|
8052
8067
|
</xsl:template>
|
8053
8068
|
|
8069
|
+
<xsl:attribute-set name="source-style">
|
8070
|
+
</xsl:attribute-set> <!-- source-style -->
|
8071
|
+
|
8072
|
+
<xsl:template name="refine_source-style">
|
8073
|
+
|
8074
|
+
</xsl:template> <!-- refine_source-style -->
|
8075
|
+
|
8054
8076
|
<!-- ====== -->
|
8055
8077
|
<!-- quote -->
|
8056
8078
|
<!-- source -->
|
@@ -8098,7 +8120,9 @@
|
|
8098
8120
|
</xsl:if>
|
8099
8121
|
<xsl:choose>
|
8100
8122
|
<xsl:when test="not(parent::quote)">
|
8101
|
-
<fo:block>
|
8123
|
+
<fo:block xsl:use-attribute-sets="source-style">
|
8124
|
+
<xsl:call-template name="refine_source-style"/>
|
8125
|
+
|
8102
8126
|
<xsl:call-template name="insert_basic_link">
|
8103
8127
|
<xsl:with-param name="element">
|
8104
8128
|
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
|
@@ -10191,7 +10215,7 @@
|
|
10191
10215
|
|
10192
10216
|
<xsl:template name="refine_fn-reference-style">
|
10193
10217
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
10194
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
10218
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if><!-- <xsl:if test="$namespace = 'bsi' or $namespace = 'pas'"></xsl:if> -->
|
10195
10219
|
</xsl:template> <!-- refine_fn-reference-style -->
|
10196
10220
|
|
10197
10221
|
<xsl:attribute-set name="fn-style">
|
@@ -10202,6 +10226,7 @@
|
|
10202
10226
|
</xsl:template>
|
10203
10227
|
|
10204
10228
|
<xsl:attribute-set name="fn-num-style">
|
10229
|
+
<xsl:attribute name="role">Reference</xsl:attribute>
|
10205
10230
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
10206
10231
|
<xsl:attribute name="font-size">65%</xsl:attribute>
|
10207
10232
|
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
@@ -10278,33 +10303,16 @@
|
|
10278
10303
|
<xsl:variable name="ref_id" select="@target"/>
|
10279
10304
|
|
10280
10305
|
<xsl:variable name="footnote_inline">
|
10281
|
-
<fo:inline
|
10306
|
+
<fo:inline xsl:use-attribute-sets="fn-num-style">
|
10282
10307
|
|
10283
|
-
<xsl:
|
10284
|
-
<xsl:choose>
|
10285
|
-
<xsl:when test="ancestor::mn:bibitem">
|
10286
|
-
<fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">
|
10287
|
-
<xsl:call-template name="refine_bibitem-note-fn-style"/>
|
10288
|
-
</fn_styles>
|
10289
|
-
</xsl:when>
|
10290
|
-
<xsl:otherwise>
|
10291
|
-
<fn_styles xsl:use-attribute-sets="fn-num-style">
|
10292
|
-
<xsl:call-template name="refine_fn-num-style"/>
|
10293
|
-
</fn_styles>
|
10294
|
-
</xsl:otherwise>
|
10295
|
-
</xsl:choose>
|
10296
|
-
</xsl:variable>
|
10297
|
-
|
10298
|
-
<xsl:for-each select="xalan:nodeset($fn_styles)/fn_styles/@*">
|
10299
|
-
<xsl:copy-of select="."/>
|
10300
|
-
</xsl:for-each>
|
10308
|
+
<xsl:call-template name="refine_fn-num-style"/>
|
10301
10309
|
|
10302
10310
|
<!-- https://github.com/metanorma/metanorma-ieee/issues/595 -->
|
10303
10311
|
<!-- <xsl:if test="following-sibling::node()[normalize-space() != ''][1][self::mn:fn]">
|
10304
10312
|
<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
|
10305
10313
|
</xsl:if> -->
|
10306
10314
|
|
10307
|
-
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]"
|
10315
|
+
<xsl:if test="preceding-sibling::node()[normalize-space() != ''][1][self::mn:fn]">, </xsl:if>
|
10308
10316
|
|
10309
10317
|
<xsl:call-template name="insert_basic_link">
|
10310
10318
|
<xsl:with-param name="element">
|
@@ -10607,32 +10615,6 @@
|
|
10607
10615
|
<xsl:template name="refine_bibitem-non-normative-list-body-style">
|
10608
10616
|
</xsl:template>
|
10609
10617
|
|
10610
|
-
<!-- footnote reference number for bibitem, in the text -->
|
10611
|
-
<xsl:attribute-set name="bibitem-note-fn-style">
|
10612
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
10613
|
-
<xsl:attribute name="font-size">65%</xsl:attribute>
|
10614
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
10615
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-style -->
|
10616
|
-
|
10617
|
-
<xsl:template name="refine_bibitem-note-fn-style">
|
10618
|
-
</xsl:template>
|
10619
|
-
|
10620
|
-
<!-- footnote number on the page bottom -->
|
10621
|
-
<xsl:attribute-set name="bibitem-note-fn-number-style">
|
10622
|
-
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
10623
|
-
<xsl:attribute name="font-size">60%</xsl:attribute>
|
10624
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
10625
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-number-style -->
|
10626
|
-
|
10627
|
-
<!-- footnote body (text) on the page bottom -->
|
10628
|
-
<xsl:attribute-set name="bibitem-note-fn-body-style">
|
10629
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
10630
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
10631
|
-
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
10632
|
-
<xsl:attribute name="font-family">Azo Sans Lt</xsl:attribute>
|
10633
|
-
<xsl:attribute name="color">rgb(168, 170, 173)</xsl:attribute>
|
10634
|
-
</xsl:attribute-set> <!-- bibitem-note-fn-body-style -->
|
10635
|
-
|
10636
10618
|
<xsl:attribute-set name="references-non-normative-style">
|
10637
10619
|
<xsl:attribute name="line-height">145%</xsl:attribute>
|
10638
10620
|
</xsl:attribute-set> <!-- references-non-normative-style -->
|
data/data/elf/config.yaml
CHANGED
@@ -2,15 +2,17 @@
|
|
2
2
|
flavor: elf
|
3
3
|
owner: EXPRESS Language Foundation
|
4
4
|
base-flavor: iso
|
5
|
-
copyright-notice: copyright.adoc
|
6
|
-
i18n-dictionary: i18n.yaml
|
7
|
-
publisher-logo: logo.svg
|
8
5
|
base-override:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
filename-attributes:
|
7
|
+
copyright-notice: copyright.adoc
|
8
|
+
i18n-dictionary: i18n.yaml
|
9
|
+
publisher-logo: logo.svg
|
10
|
+
value-attributes:
|
11
|
+
publisher: EXPRESS Language Foundation
|
12
|
+
publisher_abbr: ELF
|
13
|
+
presentation-metadata-color-secondary: '#3f65a2'
|
14
|
+
presentation-metadata-backcover-text: expresslang.org
|
15
|
+
output-extensions: xml,html,pdf,doc
|
14
16
|
doctypes:
|
15
17
|
- taste: standard
|
16
18
|
base: international-standard
|
data/data/enosema/config.yaml
CHANGED
@@ -2,15 +2,17 @@
|
|
2
2
|
flavor: enosema
|
3
3
|
owner: Enosema Foundation
|
4
4
|
base-flavor: iso
|
5
|
-
copyright-notice: copyright.adoc
|
6
|
-
i18n-dictionary: i18n.yaml
|
7
|
-
publisher-logo: logo.svg
|
8
5
|
base-override:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
filename-attributes:
|
7
|
+
copyright-notice: copyright.adoc
|
8
|
+
i18n-dictionary: i18n.yaml
|
9
|
+
publisher-logo: logo.svg
|
10
|
+
value-attributes:
|
11
|
+
publisher: Enosema Foundation
|
12
|
+
publisher_abbr: EFS
|
13
|
+
presentation-metadata-color-secondary: '#007724'
|
14
|
+
presentation-metadata-backcover-text: enosema.org
|
15
|
+
output-extensions: xml,html,pdf,doc
|
14
16
|
doctypes:
|
15
17
|
- taste: standard
|
16
18
|
base: international-standard
|
data/data/icc/config.yaml
CHANGED
@@ -2,19 +2,21 @@
|
|
2
2
|
flavor: icc
|
3
3
|
owner: International Color Consortium
|
4
4
|
base-flavor: iso
|
5
|
-
copyright-notice: copyright.adoc
|
6
|
-
i18n-dictionary: i18n.yaml
|
7
|
-
publisher-logo: icc-full.svg
|
8
|
-
htmlcoverpage: htmlcoverpage.html
|
9
|
-
htmlstylesheet-override: htmlstylesheet-override.scss
|
10
5
|
base-override:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
6
|
+
filename-attributes:
|
7
|
+
copyright-notice: copyright.adoc
|
8
|
+
i18n-dictionary: i18n.yaml
|
9
|
+
publisher-logo: icc-full.svg
|
10
|
+
htmlcoverpage: htmlcoverpage.html
|
11
|
+
htmlstylesheet-override: htmlstylesheet-override.scss
|
12
|
+
value-attributes:
|
13
|
+
publisher: International Color Consortium
|
14
|
+
publisher_abbr: ICC
|
15
|
+
presentation-metadata-color-secondary: '#376795'
|
16
|
+
presentation-metadata-backcover-text: color.org
|
17
|
+
body-font: Arial, 'Helvetica Neue', Helvetica, sans-serif
|
18
|
+
header-font: Arial, 'Helvetica Neue', Helvetica, sans-serif
|
19
|
+
output-extensions: xml,html,pdf,doc
|
18
20
|
doctypes:
|
19
21
|
- taste: specification # Specification # The name goes into i18n.yaml
|
20
22
|
base: international-standard
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
flavor: mbxif
|
3
|
+
owner: MBx Interoperability Forum
|
4
|
+
base-flavor: ribose
|
5
|
+
base-override:
|
6
|
+
filename-attributes:
|
7
|
+
copyright-notice: copyright.adoc
|
8
|
+
i18n-dictionary: i18n.yaml
|
9
|
+
publisher-logo: mbxif-logos_mbxif.svg
|
10
|
+
pdfstylesheet-override: mbxif.xsl
|
11
|
+
coverpage-image: mbxif-front-cover.pdf
|
12
|
+
backpage-image: mbxif-back-cover.pdf
|
13
|
+
value-attributes:
|
14
|
+
publisher: MBx Interoperability Forum
|
15
|
+
publisher_abbr: MBx-IF
|
16
|
+
presentation-metadata-color-secondary: '#007724'
|
17
|
+
presentation-metadata-backcover-text: https://www.mbx-if.org
|
18
|
+
fonts: Nacelle;Nacelle SemiBold;Nacelle Light
|
19
|
+
output-extensions: xml,html,pdf,doc
|
20
|
+
doctypes:
|
21
|
+
- taste: recommended-practices
|
22
|
+
base: standard
|
23
|
+
- taste: general-guidelines
|
24
|
+
base: report
|
25
|
+
- taste: test-suite
|
26
|
+
base: report
|
@@ -0,0 +1,36 @@
|
|
1
|
+
== copyright-statement
|
2
|
+
=== {blank}
|
3
|
+
(c) {{ docyear }} MBx Interoperability Forum.
|
4
|
+
|
5
|
+
All rights reserved. Unless otherwise specified, or required in the context of
|
6
|
+
its implementation, no part of this publication may be reproduced or utilized
|
7
|
+
otherwise in any form or by any means, electronic or mechanical, including
|
8
|
+
photocopying, or posting on the internet or an intranet, without prior written
|
9
|
+
permission. Permission can be requested from the MBx Interoperability Forum.
|
10
|
+
|
11
|
+
== feedback-statement
|
12
|
+
|
13
|
+
=== {blank}
|
14
|
+
prostep ivip Association +
|
15
|
+
Dolivostrasse 11 +
|
16
|
+
D-64293 Darmstadt, Germany +
|
17
|
+
Phone: +49-6151-9287-446 +
|
18
|
+
Fax: +49-6151-9287-326 +
|
19
|
+
Email: mailto:psev@prostep.com[] +
|
20
|
+
Internet: https://www.prostep.org[www.prostep.org]
|
21
|
+
|
22
|
+
AFNeT +
|
23
|
+
30 Rue de Miromesnil +
|
24
|
+
75008 Paris, France +
|
25
|
+
Email: mailto:team@afnet.fr[] +
|
26
|
+
Internet: http://www.afnet.fr/ +
|
27
|
+
|
28
|
+
PDES, Inc. +
|
29
|
+
125 King Charles Circle +
|
30
|
+
Summerville, SC 29485, USA +
|
31
|
+
Phone: +1-843-847-9807 +
|
32
|
+
Contact: https://pdesinc.org/contact/[https://pdesinc.org/contact/] +
|
33
|
+
Internet: https://pdesinc.org[pdesinc.org]
|
34
|
+
|
35
|
+
// [align=center]
|
36
|
+
// [css color:#007724]#**Connecting the physical and digital worlds**#
|