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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +106 -46
  3. data/data/csa/config.yaml +25 -23
  4. data/data/csa/csa.standard.xsl +58 -76
  5. data/data/elf/config.yaml +10 -8
  6. data/data/enosema/config.yaml +10 -8
  7. data/data/icc/config.yaml +14 -12
  8. data/data/mbxif/config.yaml +26 -0
  9. data/data/mbxif/copyright.adoc +36 -0
  10. data/data/mbxif/i18n.yaml +4 -0
  11. data/data/mbxif/mbxif-back-cover.pdf +3504 -7
  12. data/data/mbxif/mbxif-front-cover.pdf +54968 -16
  13. data/data/mbxif/mbxif-logos.pdf +11330 -46
  14. data/data/mbxif/mbxif-logos_caeif.svg +1 -0
  15. data/data/mbxif/mbxif-logos_caxif.svg +1 -0
  16. data/data/mbxif/mbxif-logos_ewisif.svg +1 -0
  17. data/data/mbxif/mbxif-logos_jtif.svg +1 -0
  18. data/data/mbxif/mbxif-logos_lotar.svg +1 -0
  19. data/data/mbxif/mbxif-logos_mbxif.svg +1 -0
  20. data/data/mbxif/mbxif-logos_pdmif.svg +1 -0
  21. data/data/mbxif/mbxif.xsl +361 -0
  22. data/data/pdfa/config.yaml +16 -14
  23. data/data/pdfa/i18n.yaml +2 -4
  24. data/data/pdfa/pdfa-logo.emf +0 -0
  25. data/data/pdfa/pdfa-logo.svg +1 -1
  26. data/data/pdfa/pdfa.xsl +47 -10
  27. data/data/swf/config.yaml +14 -8
  28. data/data/swf/copyright.adoc +3 -4
  29. data/data/swf/swf-back-cover.pdf +3504 -7
  30. data/data/swf/swf-front-cover.pdf +3472 -3
  31. data/data/swf/swf-logo-with-graphic.svg +1 -0
  32. data/data/swf/swf-logo.svg +1 -0
  33. data/data/swf/swf.xsl +361 -0
  34. data/lib/metanorma/taste/base.rb +23 -19
  35. data/lib/metanorma/taste/base_override.rb +7 -47
  36. data/lib/metanorma/taste/filename_attributes.rb +53 -0
  37. data/lib/metanorma/taste/taste_config.rb +0 -34
  38. data/lib/metanorma/taste/value_attributes.rb +59 -0
  39. data/lib/metanorma/taste/version.rb +1 -1
  40. data/lib/metanorma/taste_register.rb +6 -6
  41. metadata +23 -2
@@ -0,0 +1,361 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:mn="https://www.metanorma.org/ns/standoc" xmlns:mnx="https://www.metanorma.org/ns/xslt" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:java="http://xml.apache.org/xalan/java" xmlns:barcode="http://barcode4j.krysalis.org/ns" xmlns:redirect="http://xml.apache.org/xalan/redirect" exclude-result-prefixes="java" extension-element-prefixes="redirect" version="1.0">
2
+
3
+ <xsl:variable name="pageWidth">210</xsl:variable>
4
+ <xsl:variable name="pageHeight">297</xsl:variable>
5
+
6
+ <xsl:variable name="marginTop">25</xsl:variable>
7
+ <xsl:variable name="marginBottom">25</xsl:variable>
8
+
9
+ <xsl:variable name="color_black">rgb(30, 25, 29)</xsl:variable>
10
+ <xsl:variable name="color_header_background">rgb(240, 234, 219)</xsl:variable>
11
+
12
+ <xsl:template name="layout-master-set">
13
+ <fo:layout-master-set>
14
+ <fo:simple-page-master master-name="cover-page" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
15
+ <fo:region-body margin-top="60mm" margin-bottom="30mm" margin-left="19mm" margin-right="20mm"/>
16
+ <fo:region-before region-name="header" extent="10mm"/>
17
+ <fo:region-after region-name="footer" extent="20mm"/>
18
+ </fo:simple-page-master>
19
+
20
+ <fo:simple-page-master master-name="even" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
21
+ <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm"/>
22
+ <fo:region-before region-name="header-even" extent="20mm"/>
23
+ <fo:region-after region-name="footer-even" extent="20mm"/>
24
+ <fo:region-start region-name="left-region" extent="13mm"/>
25
+ <fo:region-end region-name="right-region" extent="12mm"/>
26
+ </fo:simple-page-master>
27
+ <fo:simple-page-master master-name="odd" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
28
+ <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm"/>
29
+ <fo:region-before region-name="header-odd" extent="20mm"/>
30
+ <fo:region-after region-name="footer-odd" extent="20mm"/>
31
+ <fo:region-start region-name="left-region" extent="13mm"/>
32
+ <fo:region-end region-name="right-region" extent="12mm"/>
33
+ </fo:simple-page-master>
34
+ <fo:page-sequence-master master-name="document">
35
+ <fo:repeatable-page-master-alternatives>
36
+ <fo:conditional-page-master-reference odd-or-even="even" master-reference="even"/>
37
+ <fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd"/>
38
+ </fo:repeatable-page-master-alternatives>
39
+ </fo:page-sequence-master>
40
+
41
+
42
+ <fo:simple-page-master master-name="even-landscape" page-width="{$pageHeight}mm" page-height="{$pageWidth}mm">
43
+ <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm"/>
44
+ <fo:region-before region-name="header-even" extent="20mm"/>
45
+ <fo:region-after region-name="footer-even" extent="20mm"/>
46
+ <fo:region-start region-name="left-region" extent="13mm"/>
47
+ <fo:region-end region-name="right-region" extent="12mm"/>
48
+ </fo:simple-page-master>
49
+ <fo:simple-page-master master-name="odd-landscape" page-width="{$pageHeight}mm" page-height="{$pageWidth}mm">
50
+ <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm"/>
51
+ <fo:region-before region-name="header-odd" extent="20mm"/>
52
+ <fo:region-after region-name="footer-odd" extent="20mm"/>
53
+ <fo:region-start region-name="left-region" extent="13mm"/>
54
+ <fo:region-end region-name="right-region" extent="12mm"/>
55
+ </fo:simple-page-master>
56
+ <fo:page-sequence-master master-name="document-landscape">
57
+ <fo:repeatable-page-master-alternatives>
58
+ <fo:conditional-page-master-reference odd-or-even="even" master-reference="even-landscape"/>
59
+ <fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd-landscape"/>
60
+ </fo:repeatable-page-master-alternatives>
61
+ </fo:page-sequence-master>
62
+
63
+ </fo:layout-master-set>
64
+ </xsl:template>
65
+
66
+
67
+ <xsl:variable name="copyright_year" select="/mn:metanorma/mn:bibdata/mn:copyright/mn:from"/>
68
+ <xsl:variable name="copyright_holder" select="normalize-space(/mn:metanorma/mn:bibdata/mn:copyright/mn:owner/mn:organization/mn:name)"/>
69
+ <xsl:variable name="copyrightText">
70
+ <xsl:text>© </xsl:text>
71
+ <xsl:value-of select="$copyright_year"/>
72
+ <xsl:text>. The </xsl:text>
73
+ <xsl:value-of select="$copyright_holder"/>
74
+ <xsl:text>, Inc. </xsl:text>
75
+ <xsl:variable name="all_rights_reserved">
76
+ <xsl:call-template name="getLocalizedString">
77
+ <xsl:with-param name="key">all_rights_reserved</xsl:with-param>
78
+ </xsl:call-template>
79
+ </xsl:variable>
80
+ <xsl:value-of select="$all_rights_reserved"/>
81
+ <xsl:text>.</xsl:text>
82
+ </xsl:variable>
83
+
84
+ <xsl:template name="cover-page">
85
+ <fo:page-sequence master-reference="cover-page" force-page-count="no-force" font-family="Nacelle" >
86
+ <fo:static-content flow-name="header">
87
+ <xsl:call-template name="insertBackgroundPageImage"/>
88
+ </fo:static-content>
89
+
90
+ <fo:static-content flow-name="footer">
91
+ <fo:block-container height="20mm" display-align="center">
92
+ <fo:block font-size="12pt" font-weight="300" color="white" margin-left="11.3mm">
93
+ <xsl:value-of select="$copyrightText"/>
94
+ </fo:block>
95
+ </fo:block-container>
96
+ </fo:static-content>
97
+
98
+ <fo:flow flow-name="xsl-region-body" color="{$color_black}">
99
+
100
+ <fo:block-container margin-right="30mm">
101
+ <fo:block-container margin-right="0mm">
102
+
103
+ <fo:block font-size="20pt" font-weight="600" margin-left="1mm">
104
+ <xsl:value-of select="/mn:metanorma/mn:bibdata/mn:docidentifier"/>
105
+ </fo:block>
106
+
107
+ <xsl:variable name="titles">
108
+ <xsl:copy-of select="/mn:metanorma/mn:bibdata/mn:title[@language = $lang and (@type = 'intro' or not(@type))]"/>
109
+ <xsl:copy-of select="/mn:metanorma/mn:bibdata/mn:title[@language = $lang and @type = 'main'][last()]"/>
110
+ </xsl:variable>
111
+
112
+ <xsl:for-each select="xalan:nodeset($titles)/mn:title">
113
+ <fo:block font-size="21pt" font-weight="600" margin-top="6mm" role="H1">
114
+ <xsl:if test="position() = 1">
115
+ <xsl:attribute name="font-size">22pt</xsl:attribute>
116
+ <xsl:attribute name="margin-top">17mm</xsl:attribute>
117
+ </xsl:if>
118
+ <xsl:apply-templates />
119
+ </fo:block>
120
+ </xsl:for-each>
121
+
122
+ <xsl:variable name="title_part">
123
+ <xsl:copy-of select="/mn:metanorma/mn:bibdata/mn:title[@language = $lang and @type = 'part']"/>
124
+ </xsl:variable>
125
+ <xsl:for-each select="xalan:nodeset($title_part)/mn:title">
126
+ <fo:block font-size="21pt" font-weight="600" margin-top="9mm">
127
+ <xsl:apply-templates />
128
+ </fo:block>
129
+ </xsl:for-each>
130
+
131
+ <fo:block font-size="14pt" font-weight="normal" margin-top="17mm">
132
+ <xsl:call-template name="convertDate">
133
+ <xsl:with-param name="date" select="/mn:metanorma/mn:bibdata/mn:version/mn:revision-date"/>
134
+ <xsl:with-param name="format">full</xsl:with-param>
135
+ </xsl:call-template>
136
+ </fo:block>
137
+ </fo:block-container>
138
+ </fo:block-container>
139
+ </fo:flow>
140
+ </fo:page-sequence>
141
+ </xsl:template> <!-- END cover-page -->
142
+
143
+
144
+ <xsl:template name="back-page">
145
+ <fo:page-sequence master-reference="cover-page" force-page-count="no-force" font-family="Nacelle" >
146
+ <fo:static-content flow-name="header">
147
+ <xsl:call-template name="insertBackgroundPageImage">
148
+ <xsl:with-param name="name">backpage-image</xsl:with-param>
149
+ <xsl:with-param name="suffix">back</xsl:with-param>
150
+ </xsl:call-template>
151
+ </fo:static-content>
152
+
153
+ <fo:static-content flow-name="footer">
154
+ <fo:block-container height="20mm" display-align="center">
155
+ <fo:block font-size="12pt" font-weight="300" color="white" margin-left="11.3mm">
156
+ <xsl:value-of select="$copyrightText"/>
157
+ </fo:block>
158
+ </fo:block-container>
159
+ </fo:static-content>
160
+
161
+ <fo:flow flow-name="xsl-region-body" color="{$color_black}">
162
+ <fo:block-container margin-left="1mm" margin-right="5mm">
163
+ <fo:block-container margin-left="0mm">
164
+
165
+ <xsl:variable name="contributors_">
166
+ <xsl:for-each select="/mn:metanorma/mn:bibdata/mn:contributor[mn:role[@type = 'author' and normalize-space(mn:description) != 'leadership']]/mn:person/mn:name/mn:completename">
167
+ <xsl:copy-of select="."/>
168
+ </xsl:for-each>
169
+ </xsl:variable>
170
+ <xsl:variable name="contributors" select="xalan:nodeset($contributors_)"/>
171
+
172
+ <xsl:if test="$contributors/*">
173
+ <fo:block font-size="14pt" font-weight="600">Document contributors</fo:block>
174
+ <fo:block font-size="12pt" font-weight="300" margin-top="5.5mm">
175
+ <xsl:for-each select="$contributors/*">
176
+ <fo:inline keep-together.within-line="always"><xsl:value-of select="."/></fo:inline><xsl:if test="position() != last()">, </xsl:if>
177
+ </xsl:for-each>
178
+ </fo:block>
179
+ </xsl:if>
180
+
181
+ <xsl:variable name="leadership_">
182
+ <xsl:for-each select="/mn:metanorma/mn:bibdata/mn:contributor[mn:role[@type = 'author' and mn:description = 'leadership']]/mn:person">
183
+ <xsl:copy-of select="."/>
184
+ </xsl:for-each>
185
+ </xsl:variable>
186
+ <xsl:variable name="leadership" select="xalan:nodeset($leadership_)"/>
187
+
188
+ <xsl:if test="$leadership/*">
189
+ <fo:block font-size="14pt" font-weight="600" margin-top="11mm">Spatial Web Foundation leadership</fo:block>
190
+
191
+ <fo:block font-size="12pt" font-weight="300" margin-top="5.5mm">
192
+ <fo:table table-layout="fixed" width="100%">
193
+ <fo:table-column column-width="51mm"/>
194
+ <fo:table-column column-width="90mm"/>
195
+ <fo:table-body>
196
+ <xsl:for-each select="$leadership/*">
197
+ <fo:table-row>
198
+ <fo:table-cell>
199
+ <fo:block font-weight="600">
200
+ <xsl:value-of select="mn:name/mn:completename"/>
201
+ </fo:block>
202
+ </fo:table-cell>
203
+ <fo:table-cell>
204
+ <fo:block font-weight="300">
205
+ <xsl:value-of select="mn:affiliation"/>
206
+ </fo:block>
207
+ </fo:table-cell>
208
+ </fo:table-row>
209
+ </xsl:for-each>
210
+ </fo:table-body>
211
+ </fo:table>
212
+ </fo:block>
213
+ </xsl:if>
214
+
215
+
216
+ <fo:block font-size="12pt" font-weight="300" margin-top="15mm">
217
+ <xsl:text>Comments about this document can be sent to</xsl:text>
218
+ <xsl:value-of select="$linebreak"/>
219
+ <xsl:text>the MBx Interoperability Forum at info@mbx-if.org</xsl:text>
220
+ </fo:block>
221
+ </fo:block-container>
222
+ </fo:block-container>
223
+ </fo:flow>
224
+ </fo:page-sequence>
225
+ </xsl:template> <!-- Ena back-page -->
226
+
227
+
228
+ <xsl:template name="insertHeaderFooter">
229
+ <xsl:call-template name="insertHeader"/>
230
+ <xsl:call-template name="insertFooter"/>
231
+ </xsl:template>
232
+
233
+ <xsl:template name="insertHeader">
234
+ <xsl:variable name="docidentifier" select="/mn:metanorma/mn:bibdata/mn:docidentifier"/>
235
+ <xsl:call-template name="insertHeaderOdd">
236
+ <xsl:with-param name="text" select="$docidentifier"/>
237
+ </xsl:call-template>
238
+ <xsl:call-template name="insertHeaderEven">
239
+ <xsl:with-param name="text" select="$docidentifier"/>
240
+ </xsl:call-template>
241
+ </xsl:template>
242
+
243
+ <xsl:attribute-set name="header-style">
244
+ <xsl:attribute name="absolute-position">fixed</xsl:attribute>
245
+ <xsl:attribute name="left">0mm</xsl:attribute>
246
+ <xsl:attribute name="top">0mm</xsl:attribute>
247
+ <xsl:attribute name="width"><xsl:value-of select="$pageWidth"/>mm</xsl:attribute>
248
+ <xsl:attribute name="font-family">Nacelle</xsl:attribute>
249
+ <xsl:attribute name="font-size">12pt</xsl:attribute>
250
+ <xsl:attribute name="font-weight">300</xsl:attribute>
251
+ <xsl:attribute name="height">20mm</xsl:attribute>
252
+ <xsl:attribute name="color"><xsl:value-of select="$color_black"/></xsl:attribute>
253
+ <xsl:attribute name="background-color"><xsl:value-of select="$color_header_background"/></xsl:attribute>
254
+ <xsl:attribute name="display-align">center</xsl:attribute>
255
+ </xsl:attribute-set>
256
+
257
+ <xsl:template name="insertHeaderOdd">
258
+ <xsl:param name="text"/>
259
+ <fo:static-content flow-name="header-odd" role="artifact">
260
+ <fo:block-container xsl:use-attribute-sets="header-style" id="__internal_layout__headerodd_{generate-id()}_{.//*[@id][1]/@id}">
261
+ <fo:block text-align="right" margin-right="7mm">
262
+ <xsl:value-of select="$text"/>
263
+ </fo:block>
264
+ </fo:block-container>
265
+ </fo:static-content>
266
+ </xsl:template>
267
+
268
+ <xsl:template name="insertHeaderEven">
269
+ <xsl:param name="text"/>
270
+ <fo:static-content flow-name="header-even" role="artifact">
271
+ <fo:block-container xsl:use-attribute-sets="header-style" id="__internal_layout__headereven_{generate-id()}_{.//*[@id][1]/@id}">
272
+ <fo:block margin-left="10mm">
273
+ <xsl:value-of select="$text"/>
274
+ </fo:block>
275
+ </fo:block-container>
276
+ </fo:static-content>
277
+ </xsl:template>
278
+
279
+ <xsl:attribute-set name="footer-style">
280
+ <xsl:attribute name="absolute-position">fixed</xsl:attribute>
281
+ <xsl:attribute name="left">0mm</xsl:attribute>
282
+ <xsl:attribute name="top"><xsl:value-of select="$pageHeight - 20"/>mm</xsl:attribute>
283
+ <xsl:attribute name="width"><xsl:value-of select="$pageWidth"/>mm</xsl:attribute>
284
+ <xsl:attribute name="font-family">Nacelle</xsl:attribute>
285
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
286
+ <xsl:attribute name="font-weight">normal</xsl:attribute>
287
+ <xsl:attribute name="height">20mm</xsl:attribute>
288
+ <xsl:attribute name="color">white</xsl:attribute>
289
+ <xsl:attribute name="background-color"><xsl:value-of select="$color_black"/></xsl:attribute>
290
+ <xsl:attribute name="display-align">center</xsl:attribute>
291
+ </xsl:attribute-set>
292
+
293
+ <xsl:template name="insertFooter">
294
+ <xsl:variable name="titles_">
295
+ <xsl:copy-of select="/mn:metanorma/mn:bibdata/mn:title[@language = $lang and (@type = 'intro' or not(@type))]"/>
296
+ <xsl:copy-of select="/mn:metanorma/mn:bibdata/mn:title[@language = $lang and @type = 'main'][last()]"/>
297
+ <xsl:copy-of select="/mn:metanorma/mn:bibdata/mn:title[@language = $lang and @type = 'part']"/>
298
+ </xsl:variable>
299
+ <xsl:variable name="titles">
300
+ <xsl:for-each select="xalan:nodeset($titles_)/mn:title">
301
+ <xsl:apply-templates />
302
+ <xsl:if test="position() != last()"> — </xsl:if>
303
+ </xsl:for-each>
304
+ </xsl:variable>
305
+ <xsl:call-template name="insertFooterOdd">
306
+ <xsl:with-param name="text" select="$titles"/>
307
+ </xsl:call-template>
308
+ <xsl:call-template name="insertFooterEven">
309
+ <xsl:with-param name="text" select="$titles"/>
310
+ </xsl:call-template>
311
+ </xsl:template>
312
+
313
+ <xsl:template name="insertFooterOdd">
314
+ <xsl:param name="text"/>
315
+ <fo:static-content flow-name="footer-odd" role="artifact">
316
+ <fo:block-container xsl:use-attribute-sets="footer-style" id="__internal_layout__footerodd_{generate-id()}_{.//*[@id][1]/@id}">
317
+ <fo:table table-layout="fixed" width="100%">
318
+ <fo:table-column column-width="proportional-column-width(9)"/>
319
+ <fo:table-column column-width="proportional-column-width(1)"/>
320
+ <fo:table-body>
321
+ <fo:table-row>
322
+ <fo:table-cell padding-left="7mm">
323
+ <fo:block>
324
+ <xsl:copy-of select="$text"/>
325
+ </fo:block>
326
+ </fo:table-cell>
327
+ <fo:table-cell text-align="right" padding-right="7mm">
328
+ <fo:block><fo:page-number/></fo:block>
329
+ </fo:table-cell>
330
+ </fo:table-row>
331
+ </fo:table-body>
332
+ </fo:table>
333
+ </fo:block-container>
334
+ </fo:static-content>
335
+ </xsl:template>
336
+
337
+ <xsl:template name="insertFooterEven">
338
+ <xsl:param name="text"/>
339
+ <fo:static-content flow-name="footer-even" role="artifact">
340
+ <fo:block-container xsl:use-attribute-sets="footer-style" id="__internal_layout__footereven_{generate-id()}_{.//*[@id][1]/@id}">
341
+ <fo:table table-layout="fixed" width="100%">
342
+ <fo:table-column column-width="proportional-column-width(1)"/>
343
+ <fo:table-column column-width="proportional-column-width(9)"/>
344
+ <fo:table-body>
345
+ <fo:table-row>
346
+ <fo:table-cell padding-left="10mm">
347
+ <fo:block><fo:page-number/></fo:block>
348
+ </fo:table-cell>
349
+ <fo:table-cell text-align="right" padding-right="9mm">
350
+ <fo:block>
351
+ <xsl:copy-of select="$text"/>
352
+ </fo:block>
353
+ </fo:table-cell>
354
+ </fo:table-row>
355
+ </fo:table-body>
356
+ </fo:table>
357
+ </fo:block-container>
358
+ </fo:static-content>
359
+ </xsl:template>
360
+
361
+ </xsl:stylesheet>
@@ -2,21 +2,23 @@
2
2
  flavor: pdfa
3
3
  owner: PDF Association Inc.
4
4
  base-flavor: ribose
5
- copyright-notice: copyright.adoc
6
- i18n-dictionary: i18n.yaml
7
- publisher-logo: pdfa-logo.svg
8
- htmlcoverpage: htmlcoverpage.html
9
- htmlstylesheet-override: htmlstylesheet-override.scss
10
- pdf-stylesheet-override: pdfa.xsl
11
5
  base-override:
12
- publisher: PDF Association
13
- publisher_abbr: PDF Association
14
- presentation-metadata-color-secondary: '#d03f4e'
15
- presentation-metadata-backcover-text: pdfa.org
16
- body-font: "'Source Sans Pro', 'Helvetica Neue', Helvetica, sans-serif"
17
- header-font: "'Source Sans Pro', 'Helvetica Neue', Helvetica, sans-serif"
18
- fonts: Source Sans 3;Source Sans Pro
19
- output-extensions: xml,html,pdf
6
+ filename-attributes:
7
+ copyright-notice: copyright.adoc
8
+ i18n-dictionary: i18n.yaml
9
+ publisher-logo: pdfa-logo.svg
10
+ htmlcoverpage: htmlcoverpage.html
11
+ htmlstylesheet-override: htmlstylesheet-override.scss
12
+ pdfstylesheet-override: pdfa.xsl
13
+ value-attributes:
14
+ publisher: PDF Association
15
+ publisher_abbr: PDF Association
16
+ presentation-metadata-color-secondary: '#d03f4e'
17
+ presentation-metadata-backcover-text: pdfa.org
18
+ body-font: "'Source Sans Pro', 'Helvetica Neue', Helvetica, sans-serif"
19
+ header-font: "'Source Sans Pro', 'Helvetica Neue', Helvetica, sans-serif"
20
+ fonts: Source Sans 3;Source Sans Pro
21
+ output-extensions: xml,html,pdf
20
22
  doctypes:
21
23
  - taste: specification # Specification # The name goes into i18n.yaml
22
24
  base: standard
data/data/pdfa/i18n.yaml CHANGED
@@ -3,11 +3,9 @@ doctype_dict:
3
3
  application-note: Application Note
4
4
  best-practice-guide: Best Practice Guide
5
5
  technical-note: Technical Note
6
- international-standard: International Standard
7
- international-technical-specification: International Technical Specification
8
6
  term_def_boilerplate: |
9
7
  PDF Association maintains terminology databases for use in describing the
10
8
  Portable Document Format at the following addresses:
11
9
 
12
- * Glossary of PDF terms: available at https://pdfa.org/glossary-of-pdf-terms/[]
13
- * Glossary of accessibility terminology in PDF: available at https://pdfa.org/resource/glossary-of-accessibility-terminology-in-pdf/[]
10
+ * Glossary of general PDF terms: available at https://pdfa.org/glossary-of-pdf-terms/[]
11
+ * Glossary of PDF accessibility terminology: available at https://pdfa.org/resource/glossary-of-accessibility-terminology-in-pdf/[]
Binary file
@@ -1 +1 @@
1
- <?xml version="1.0" encoding="UTF-8"?><svg id="uuid-8b673f40-f57e-4e06-b5b6-523fcea8d253" xmlns="http://www.w3.org/2000/svg" width="242.64mm" height="134.03mm" viewBox="0 0 687.81 379.92"><g style="isolation:isolate;"><g style="isolation:isolate;"><path d="M224,44.5h59.5c8.83,0,17.12.88,24.88,2.62s14.5,4.67,20.25,8.75c5.75,4.09,10.29,9.5,13.62,16.25,3.33,6.75,5,15.04,5,24.88s-1.71,17.75-5.12,24.75c-3.42,7-8.04,12.75-13.88,17.25-5.84,4.5-12.59,7.84-20.25,10-7.67,2.17-15.84,3.25-24.5,3.25h-22.5v55.25h-37V44.5ZM281.25,123c20,0,30-8.66,30-26,0-8.5-2.54-14.5-7.62-18-5.09-3.5-12.54-5.25-22.38-5.25h-20.25v49.25h20.25Z" style="fill:#231f20;"/><path d="M375.25,44.5h46c12.5,0,23.79,1.59,33.88,4.75,10.08,3.17,18.71,8.04,25.88,14.62,7.16,6.59,12.66,14.96,16.5,25.12,3.83,10.17,5.75,22.25,5.75,36.25s-1.92,26.17-5.75,36.5c-3.84,10.34-9.25,18.88-16.25,25.62s-15.38,11.79-25.12,15.12c-9.75,3.34-20.62,5-32.62,5h-48.25V44.5ZM419.25,177.75c6.83,0,13.08-.91,18.75-2.75,5.66-1.83,10.54-4.79,14.62-8.88s7.25-9.46,9.5-16.12c2.25-6.66,3.38-14.91,3.38-24.75s-1.12-17.79-3.38-24.38c-2.25-6.58-5.42-11.83-9.5-15.75-4.09-3.91-8.96-6.71-14.62-8.38-5.67-1.66-11.92-2.5-18.75-2.5h-7v103.5h7Z" style="fill:#231f20;"/><path d="M533.75,44.5h103v31h-66v37.75h56.25v31h-56.25v63.25h-37V44.5Z" style="fill:#231f20;"/></g></g><g style="isolation:isolate;"><g style="isolation:isolate;"><path d="M7.28,312.02c0-7.37,3.22-13.07,9.66-17.08,6.44-4.01,16.71-6.81,30.8-8.4,0-1.77-.23-3.48-.7-5.11-.47-1.63-1.19-3.08-2.17-4.34s-2.24-2.24-3.78-2.94c-1.54-.7-3.48-1.05-5.81-1.05-3.45,0-6.79.65-10.01,1.96-3.22,1.31-6.32,2.89-9.31,4.76l-5.88-10.78c3.83-2.43,8.1-4.53,12.81-6.3,4.71-1.77,9.82-2.66,15.33-2.66,8.68,0,15.12,2.54,19.32,7.63,4.2,5.09,6.3,12.44,6.3,22.05v40.74h-13.16l-1.26-7.56h-.42c-3.08,2.61-6.37,4.81-9.87,6.58-3.5,1.77-7.3,2.66-11.41,2.66-6.07,0-10.99-1.84-14.77-5.53-3.78-3.69-5.67-8.56-5.67-14.63ZM22.96,310.76c0,3.08.91,5.32,2.73,6.72,1.82,1.4,4.18,2.1,7.07,2.1s5.37-.65,7.7-1.96c2.33-1.31,4.76-3.17,7.28-5.6v-15.4c-4.67.56-8.59,1.31-11.76,2.24-3.17.93-5.72,1.98-7.63,3.15-1.91,1.17-3.29,2.5-4.13,3.99-.84,1.49-1.26,3.08-1.26,4.76Z" style="fill:#231f20;"/><path d="M84.14,312.3c3.08,2.43,6.14,4.32,9.17,5.67,3.03,1.35,6.32,2.03,9.87,2.03,3.73,0,6.49-.77,8.26-2.31,1.77-1.54,2.66-3.52,2.66-5.95,0-1.4-.42-2.64-1.26-3.71-.84-1.07-1.96-2.03-3.36-2.87-1.4-.84-2.99-1.61-4.76-2.31-1.77-.7-3.55-1.42-5.32-2.17-2.24-.84-4.53-1.82-6.86-2.94-2.33-1.12-4.41-2.47-6.23-4.06-1.82-1.59-3.31-3.43-4.48-5.53-1.17-2.1-1.75-4.6-1.75-7.49,0-6.07,2.24-11.01,6.72-14.84,4.48-3.83,10.59-5.74,18.34-5.74,4.76,0,9.05.84,12.88,2.52,3.83,1.68,7.14,3.59,9.94,5.74l-7.42,9.8c-2.43-1.77-4.88-3.2-7.35-4.27-2.47-1.07-5.06-1.61-7.77-1.61-3.45,0-6,.72-7.63,2.17-1.63,1.45-2.45,3.24-2.45,5.39,0,1.31.4,2.45,1.19,3.43.79.98,1.84,1.87,3.15,2.66,1.31.79,2.82,1.52,4.55,2.17,1.73.65,3.52,1.31,5.39,1.96,2.33.84,4.67,1.8,7,2.87,2.33,1.07,4.46,2.4,6.37,3.99,1.91,1.59,3.45,3.52,4.62,5.81,1.17,2.29,1.75,5.02,1.75,8.19,0,2.99-.58,5.76-1.75,8.33-1.17,2.57-2.87,4.81-5.11,6.72-2.24,1.91-5.04,3.43-8.4,4.55-3.36,1.12-7.19,1.68-11.48,1.68-4.76,0-9.45-.91-14.07-2.73-4.62-1.82-8.61-4.08-11.97-6.79l7.56-10.36Z" style="fill:#231f20;"/><path d="M144.48,312.3c3.08,2.43,6.14,4.32,9.17,5.67,3.03,1.35,6.32,2.03,9.87,2.03,3.73,0,6.49-.77,8.26-2.31,1.77-1.54,2.66-3.52,2.66-5.95,0-1.4-.42-2.64-1.26-3.71-.84-1.07-1.96-2.03-3.36-2.87-1.4-.84-2.99-1.61-4.76-2.31-1.77-.7-3.55-1.42-5.32-2.17-2.24-.84-4.53-1.82-6.86-2.94-2.33-1.12-4.41-2.47-6.23-4.06-1.82-1.59-3.31-3.43-4.48-5.53-1.17-2.1-1.75-4.6-1.75-7.49,0-6.07,2.24-11.01,6.72-14.84,4.48-3.83,10.59-5.74,18.34-5.74,4.76,0,9.05.84,12.88,2.52,3.83,1.68,7.14,3.59,9.94,5.74l-7.42,9.8c-2.43-1.77-4.88-3.2-7.35-4.27-2.47-1.07-5.06-1.61-7.77-1.61-3.45,0-6,.72-7.63,2.17-1.63,1.45-2.45,3.24-2.45,5.39,0,1.31.4,2.45,1.19,3.43.79.98,1.84,1.87,3.15,2.66,1.31.79,2.82,1.52,4.55,2.17,1.73.65,3.52,1.31,5.39,1.96,2.33.84,4.67,1.8,7,2.87,2.33,1.07,4.46,2.4,6.37,3.99,1.91,1.59,3.45,3.52,4.62,5.81,1.17,2.29,1.75,5.02,1.75,8.19,0,2.99-.58,5.76-1.75,8.33-1.17,2.57-2.87,4.81-5.11,6.72-2.24,1.91-5.04,3.43-8.4,4.55-3.36,1.12-7.19,1.68-11.48,1.68-4.76,0-9.45-.91-14.07-2.73-4.62-1.82-8.61-4.08-11.97-6.79l7.56-10.36Z" style="fill:#231f20;"/><path d="M199.64,296.2c0-5.69.89-10.78,2.66-15.26,1.77-4.48,4.18-8.26,7.21-11.34,3.03-3.08,6.51-5.44,10.43-7.07,3.92-1.63,8.03-2.45,12.32-2.45s8.42.82,12.39,2.45c3.97,1.63,7.44,3.99,10.43,7.07,2.99,3.08,5.39,6.86,7.21,11.34,1.82,4.48,2.73,9.57,2.73,15.26s-.91,10.78-2.73,15.26c-1.82,4.48-4.22,8.26-7.21,11.34-2.99,3.08-6.46,5.41-10.43,7-3.97,1.59-8.1,2.38-12.39,2.38s-8.4-.79-12.32-2.38-7.4-3.92-10.43-7c-3.03-3.08-5.44-6.86-7.21-11.34-1.77-4.48-2.66-9.57-2.66-15.26ZM216.16,296.2c0,6.91,1.42,12.44,4.27,16.59,2.85,4.15,6.79,6.23,11.83,6.23s9.01-2.08,11.9-6.23c2.89-4.15,4.34-9.68,4.34-16.59s-1.45-12.58-4.34-16.73c-2.89-4.15-6.86-6.23-11.9-6.23s-8.98,2.08-11.83,6.23c-2.85,4.15-4.27,9.73-4.27,16.73Z" style="fill:#231f20;"/><path d="M276.5,296.2c0-5.69.93-10.78,2.8-15.26,1.87-4.48,4.39-8.26,7.56-11.34,3.17-3.08,6.84-5.44,10.99-7.07,4.15-1.63,8.52-2.45,13.09-2.45s8.38.77,11.69,2.31c3.31,1.54,6.14,3.43,8.47,5.67l-7.7,10.22c-1.87-1.59-3.73-2.82-5.6-3.71-1.87-.89-3.87-1.33-6.02-1.33-5.6,0-10.13,2.08-13.58,6.23-3.45,4.15-5.18,9.73-5.18,16.73s1.7,12.44,5.11,16.59c3.41,4.15,7.82,6.23,13.23,6.23,2.8,0,5.39-.58,7.77-1.75,2.38-1.17,4.5-2.54,6.37-4.13l6.72,10.22c-3.27,2.89-6.86,5.09-10.78,6.58-3.92,1.49-7.84,2.24-11.76,2.24-4.67,0-9.03-.79-13.09-2.38-4.06-1.59-7.58-3.92-10.57-7-2.99-3.08-5.32-6.86-7-11.34-1.68-4.48-2.52-9.57-2.52-15.26Z" style="fill:#231f20;"/><path d="M353.78,249.72c-2.89,0-5.27-.84-7.14-2.52-1.87-1.68-2.8-3.87-2.8-6.58s.93-4.92,2.8-6.65c1.87-1.73,4.25-2.59,7.14-2.59s5.27.86,7.14,2.59c1.87,1.73,2.8,3.94,2.8,6.65s-.93,4.9-2.8,6.58c-1.87,1.68-4.25,2.52-7.14,2.52ZM345.66,261.76h16.1v68.74h-16.1v-68.74Z" style="fill:#231f20;"/><path d="M379.4,312.02c0-7.37,3.22-13.07,9.66-17.08,6.44-4.01,16.71-6.81,30.8-8.4,0-1.77-.23-3.48-.7-5.11-.47-1.63-1.19-3.08-2.17-4.34-.98-1.26-2.24-2.24-3.78-2.94-1.54-.7-3.48-1.05-5.81-1.05-3.45,0-6.79.65-10.01,1.96-3.22,1.31-6.32,2.89-9.31,4.76l-5.88-10.78c3.83-2.43,8.1-4.53,12.81-6.3,4.71-1.77,9.82-2.66,15.33-2.66,8.68,0,15.12,2.54,19.32,7.63,4.2,5.09,6.3,12.44,6.3,22.05v40.74h-13.16l-1.26-7.56h-.42c-3.08,2.61-6.37,4.81-9.87,6.58-3.5,1.77-7.3,2.66-11.41,2.66-6.07,0-10.99-1.84-14.77-5.53-3.78-3.69-5.67-8.56-5.67-14.63ZM395.08,310.76c0,3.08.91,5.32,2.73,6.72,1.82,1.4,4.18,2.1,7.07,2.1s5.37-.65,7.7-1.96c2.33-1.31,4.76-3.17,7.28-5.6v-15.4c-4.67.56-8.59,1.31-11.76,2.24-3.17.93-5.72,1.98-7.63,3.15-1.91,1.17-3.29,2.5-4.13,3.99-.84,1.49-1.26,3.08-1.26,4.76Z" style="fill:#231f20;"/><path d="M457.94,274.5h-9.8v-12.04l10.64-.7,1.96-18.76h13.44v18.76h17.5v12.74h-17.5v32.76c0,8.03,3.22,12.04,9.66,12.04,1.21,0,2.45-.14,3.71-.42s2.4-.65,3.43-1.12l2.8,11.9c-1.87.65-3.99,1.24-6.37,1.75-2.38.51-4.92.77-7.63.77-4.01,0-7.4-.61-10.15-1.82-2.75-1.21-4.99-2.92-6.72-5.11-1.73-2.19-2.99-4.81-3.78-7.84-.79-3.03-1.19-6.42-1.19-10.15v-32.76Z" style="fill:#231f20;"/><path d="M514.21,249.72c-2.89,0-5.27-.84-7.14-2.52-1.87-1.68-2.8-3.87-2.8-6.58s.93-4.92,2.8-6.65c1.87-1.73,4.25-2.59,7.14-2.59s5.27.86,7.14,2.59c1.87,1.73,2.8,3.94,2.8,6.65s-.93,4.9-2.8,6.58c-1.87,1.68-4.25,2.52-7.14,2.52ZM506.09,261.76h16.1v68.74h-16.1v-68.74Z" style="fill:#231f20;"/><path d="M538.29,296.2c0-5.69.89-10.78,2.66-15.26,1.77-4.48,4.18-8.26,7.21-11.34,3.03-3.08,6.51-5.44,10.43-7.07,3.92-1.63,8.03-2.45,12.32-2.45s8.42.82,12.39,2.45c3.97,1.63,7.44,3.99,10.43,7.07,2.99,3.08,5.39,6.86,7.21,11.34,1.82,4.48,2.73,9.57,2.73,15.26s-.91,10.78-2.73,15.26c-1.82,4.48-4.22,8.26-7.21,11.34-2.99,3.08-6.46,5.41-10.43,7-3.97,1.59-8.1,2.38-12.39,2.38s-8.4-.79-12.32-2.38-7.4-3.92-10.43-7c-3.03-3.08-5.44-6.86-7.21-11.34-1.77-4.48-2.66-9.57-2.66-15.26ZM554.81,296.2c0,6.91,1.42,12.44,4.27,16.59,2.85,4.15,6.79,6.23,11.83,6.23s9.01-2.08,11.9-6.23c2.89-4.15,4.34-9.68,4.34-16.59s-1.45-12.58-4.34-16.73c-2.89-4.15-6.86-6.23-11.9-6.23s-8.98,2.08-11.83,6.23c-2.85,4.15-4.27,9.73-4.27,16.73Z" style="fill:#231f20;"/><path d="M619.63,261.76h13.3l1.12,9.24h.56c3.08-2.99,6.42-5.55,10.01-7.7,3.59-2.15,7.77-3.22,12.53-3.22,7.37,0,12.74,2.36,16.1,7.07,3.36,4.71,5.04,11.46,5.04,20.23v43.12h-16.1v-41.02c0-5.69-.84-9.71-2.52-12.04-1.68-2.33-4.43-3.5-8.26-3.5-2.99,0-5.62.72-7.91,2.17-2.29,1.45-4.88,3.57-7.77,6.37v48.02h-16.1v-68.74Z" style="fill:#231f20;"/></g></g><rect x="128" y="28.5" width="60" height="60" style="fill:#ca9831;"/><rect x="68" y="88.5" width="60" height="60" style="fill:#8b985b;"/><rect x="8" y="148.5" width="60" height="60" style="fill:#d03f4e;"/><rect x="128" y="148.5" width="60" height="60" style="fill:#4891af;"/></svg>
1
+ <?xml version="1.0" encoding="UTF-8"?><svg id="uuid-83dec88d-c5ba-4f4d-bfd8-f63a7292f259" xmlns="http://www.w3.org/2000/svg" width="282.22mm" height="176.39mm" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 500"><defs><clipPath id="uuid-873d8e9d-e16c-4c95-a7d0-77db2eb96663"><rect y="0" width="800" height="500" style="fill:none;"/></clipPath></defs><g style="clip-path:url(#uuid-873d8e9d-e16c-4c95-a7d0-77db2eb96663);"><path d="M298.28,277.86V98.55h61.6c9.9,0,19.16.96,27.78,2.89,8.62,1.92,16.13,5.13,22.55,9.62,6.42,4.5,11.5,10.45,15.26,17.88,3.76,7.42,5.64,16.55,5.64,27.36s-1.88,19.52-5.64,27.23c-3.76,7.7-8.85,14.02-15.26,18.98-6.42,4.95-13.84,8.62-22.28,11-8.43,2.39-17.42,3.57-26.95,3.57h-22.28v60.78h-40.43.01ZM338.71,184.91h19.8c22,0,33-9.53,33-28.6,0-9.35-2.94-15.95-8.8-19.8-5.87-3.85-14.3-5.77-25.3-5.77h-18.7v54.18h0Z" style="fill:#231f20;"/><path d="M451.19,277.86V98.55h50.6c13.75,0,26.13,1.74,37.13,5.23,11,3.48,20.44,8.85,28.33,16.09,7.88,7.25,13.93,16.46,18.15,27.64,4.22,11.19,6.33,24.48,6.33,39.88s-2.11,28.79-6.33,40.15c-4.22,11.37-10.17,20.76-17.88,28.19-7.7,7.43-16.91,12.97-27.64,16.64-10.73,3.67-22.69,5.5-35.89,5.5h-52.8ZM491.62,245.14h7.7c7.7,0,14.67-1,20.9-3.02,6.23-2.02,11.55-5.27,15.95-9.77,4.4-4.49,7.84-10.4,10.31-17.74,2.48-7.33,3.71-16.41,3.71-27.23s-1.24-19.57-3.71-26.81c-2.47-7.24-5.91-13.02-10.31-17.33s-9.72-7.38-15.95-9.21c-6.24-1.83-13.2-2.75-20.9-2.75h-7.7v113.86h0Z" style="fill:#231f20;"/><polygon points="617.02 277.86 617.02 98.55 730.05 98.55 730.05 132.66 657.45 132.66 657.45 174.18 719.6 174.18 719.6 208.28 657.45 208.28 657.45 277.86 617.02 277.86" style="fill:#231f20;"/><path d="M91.33,400.17c-6.05,0-10.93-1.84-14.65-5.51s-5.58-8.53-5.58-14.58c0-3.63.77-6.86,2.3-9.7,1.54-2.84,3.95-5.28,7.26-7.33,3.3-2.05,7.49-3.77,12.56-5.16,5.07-1.4,11.14-2.46,18.21-3.21-.09-1.77-.35-3.46-.77-5.09-.42-1.62-1.12-3.07-2.09-4.32-.98-1.26-2.26-2.24-3.84-2.93-1.58-.7-3.54-1.05-5.86-1.05-3.35,0-6.63.65-9.84,1.95-3.21,1.3-6.35,2.88-9.42,4.75l-5.86-10.75c3.81-2.42,8.09-4.51,12.84-6.28s9.86-2.65,15.35-2.65c8.56,0,14.95,2.54,19.19,7.61,4.23,5.07,6.35,12.4,6.35,21.98v40.61h-13.26l-1.12-7.54h-.56c-3.07,2.61-6.35,4.79-9.84,6.56s-7.28,2.65-11.37,2.65M96.49,387.61c2.79,0,5.33-.65,7.6-1.96,2.28-1.3,4.72-3.16,7.33-5.58v-15.35c-4.65.56-8.56,1.3-11.72,2.23-3.16.93-5.72,1.98-7.68,3.14-1.95,1.16-3.35,2.49-4.19,3.98-.84,1.49-1.26,3.07-1.26,4.75,0,3.07.93,5.3,2.79,6.7,1.86,1.4,4.24,2.09,7.12,2.09" style="fill:#231f20;"/><path d="M164.46,400.17c-4.75,0-9.42-.91-14.03-2.72s-8.58-4.07-11.93-6.77l7.54-10.33c3.07,2.42,6.12,4.3,9.14,5.65s6.3,2.02,9.84,2.02c3.72,0,6.46-.77,8.23-2.3,1.77-1.53,2.65-3.51,2.65-5.93,0-1.4-.42-2.63-1.26-3.7s-1.96-2.02-3.35-2.86c-1.4-.84-2.98-1.61-4.74-2.3-1.77-.7-3.54-1.42-5.3-2.16-2.23-.84-4.52-1.81-6.84-2.93-2.33-1.12-4.4-2.46-6.21-4.05-1.82-1.58-3.3-3.42-4.47-5.51-1.16-2.09-1.74-4.58-1.74-7.46,0-6.05,2.23-10.98,6.7-14.79s10.56-5.72,18.28-5.72c4.74,0,9.02.84,12.84,2.51,3.81,1.67,7.12,3.58,9.91,5.72l-7.4,9.77c-2.42-1.77-4.86-3.19-7.33-4.26s-5.05-1.61-7.75-1.61c-3.44,0-5.98.72-7.6,2.16-1.63,1.45-2.44,3.24-2.44,5.37,0,1.39.39,2.58,1.19,3.56.79.98,1.84,1.84,3.14,2.58,1.3.75,2.81,1.44,4.54,2.09,1.72.65,3.51,1.31,5.37,1.96,2.32.84,4.65,1.79,6.98,2.86,2.32,1.07,4.44,2.4,6.35,3.98,1.91,1.58,3.44,3.51,4.61,5.79,1.16,2.28,1.75,5,1.75,8.16,0,2.98-.58,5.75-1.75,8.31-1.16,2.56-2.86,4.79-5.1,6.7-2.23,1.91-5.02,3.42-8.37,4.54-3.35,1.12-7.16,1.67-11.44,1.67" style="fill:#231f20;"/><path d="M224.61,400.17c-4.75,0-9.42-.91-14.03-2.72s-8.58-4.07-11.93-6.77l7.54-10.33c3.07,2.42,6.12,4.3,9.14,5.65s6.3,2.02,9.84,2.02c3.72,0,6.46-.77,8.23-2.3,1.77-1.53,2.65-3.51,2.65-5.93,0-1.4-.42-2.63-1.26-3.7s-1.96-2.02-3.35-2.86c-1.4-.84-2.98-1.61-4.74-2.3-1.77-.7-3.54-1.42-5.3-2.16-2.23-.84-4.52-1.81-6.84-2.93-2.33-1.12-4.39-2.46-6.21-4.05-1.81-1.58-3.3-3.42-4.47-5.51s-1.74-4.58-1.74-7.46c0-6.05,2.23-10.98,6.7-14.79s10.56-5.72,18.28-5.72c4.74,0,9.02.84,12.84,2.51,3.81,1.67,7.12,3.58,9.91,5.72l-7.4,9.77c-2.42-1.77-4.86-3.19-7.33-4.26s-5.05-1.61-7.75-1.61c-3.44,0-5.98.72-7.6,2.16-1.63,1.45-2.44,3.24-2.44,5.37,0,1.39.39,2.58,1.19,3.56.79.98,1.83,1.84,3.14,2.58,1.3.75,2.81,1.44,4.54,2.09,1.72.65,3.51,1.31,5.37,1.96,2.32.84,4.65,1.79,6.98,2.86,2.32,1.07,4.44,2.4,6.35,3.98,1.91,1.58,3.44,3.51,4.61,5.79,1.16,2.28,1.75,5,1.75,8.16,0,2.98-.58,5.75-1.75,8.31-1.16,2.56-2.86,4.79-5.1,6.7-2.23,1.91-5.02,3.42-8.37,4.54-3.35,1.12-7.16,1.67-11.44,1.67" style="fill:#231f20;"/><path d="M292.16,400.17c-4.28,0-8.37-.79-12.28-2.37s-7.38-3.91-10.4-6.98-5.42-6.84-7.19-11.31c-1.77-4.46-2.65-9.54-2.65-15.21s.88-10.75,2.65-15.21,4.16-8.23,7.19-11.3c3.02-3.07,6.49-5.42,10.4-7.05,3.91-1.63,8-2.44,12.28-2.44s8.39.81,12.35,2.44c3.95,1.63,7.42,3.98,10.4,7.05,2.98,3.07,5.37,6.84,7.19,11.3,1.81,4.47,2.72,9.54,2.72,15.21s-.91,10.75-2.72,15.21c-1.81,4.47-4.21,8.24-7.19,11.31s-6.44,5.39-10.4,6.98c-3.96,1.58-8.07,2.37-12.35,2.37M292.16,387.05c5.02,0,8.98-2.07,11.86-6.21,2.88-4.14,4.33-9.65,4.33-16.54s-1.44-12.54-4.33-16.68c-2.88-4.14-6.84-6.21-11.86-6.21s-8.96,2.07-11.79,6.21c-2.84,4.14-4.26,9.7-4.26,16.68s1.42,12.4,4.26,16.54,6.77,6.21,11.79,6.21" style="fill:#231f20;"/><path d="M367.8,400.17c-4.65,0-9-.79-13.05-2.37s-7.56-3.91-10.54-6.98-5.3-6.84-6.98-11.31c-1.67-4.46-2.51-9.54-2.51-15.21s.93-10.75,2.79-15.21c1.86-4.46,4.37-8.23,7.54-11.3,3.16-3.07,6.81-5.42,10.96-7.05,4.14-1.63,8.49-2.44,13.05-2.44s8.3.75,11.51,2.23c3.21,1.49,6.07,3.3,8.58,5.44l-7.81,10.47c-1.86-1.58-3.7-2.81-5.52-3.7-1.81-.88-3.79-1.33-5.93-1.33-5.58,0-10.1,2.07-13.54,6.21-3.44,4.14-5.16,9.7-5.16,16.68s1.7,12.4,5.09,16.54c3.39,4.14,7.79,6.21,13.19,6.21,2.7,0,5.23-.58,7.61-1.75,2.37-1.16,4.53-2.53,6.49-4.12l6.56,10.61c-3.26,2.79-6.82,4.89-10.68,6.28-3.86,1.4-7.74,2.1-11.65,2.1" style="fill:#231f20;"/><path d="M410.23,317.96c-2.89,0-5.26-.84-7.12-2.51s-2.79-3.86-2.79-6.56.93-4.91,2.79-6.63c1.86-1.72,4.23-2.58,7.12-2.58s5.26.86,7.12,2.58,2.79,3.93,2.79,6.63-.93,4.88-2.79,6.56c-1.86,1.68-4.23,2.51-7.12,2.51M402.13,329.96h16.05v68.53h-16.05v-68.53Z" style="fill:#231f20;"/><path d="M453.91,400.17c-6.05,0-10.94-1.84-14.66-5.51s-5.58-8.53-5.58-14.58c0-3.63.77-6.86,2.3-9.7,1.54-2.84,3.95-5.28,7.26-7.33,3.3-2.05,7.49-3.77,12.56-5.16,5.07-1.4,11.14-2.46,18.21-3.21-.09-1.77-.35-3.46-.77-5.09-.42-1.62-1.12-3.07-2.09-4.32-.98-1.26-2.26-2.24-3.84-2.93-1.58-.7-3.54-1.05-5.86-1.05-3.35,0-6.63.65-9.84,1.95-3.21,1.3-6.35,2.88-9.42,4.75l-5.86-10.75c3.81-2.42,8.09-4.51,12.84-6.28s9.86-2.65,15.35-2.65c8.56,0,14.96,2.54,19.19,7.61,4.23,5.07,6.35,12.4,6.35,21.98v40.61h-13.26l-1.12-7.54h-.56c-3.07,2.61-6.35,4.79-9.84,6.56s-7.28,2.65-11.37,2.65M459.07,387.61c2.79,0,5.33-.65,7.61-1.96,2.28-1.3,4.72-3.16,7.33-5.58v-15.35c-4.65.56-8.56,1.3-11.72,2.23-3.16.93-5.72,1.98-7.68,3.14-1.95,1.16-3.35,2.49-4.19,3.98-.84,1.49-1.26,3.07-1.26,4.75,0,3.07.93,5.3,2.79,6.7,1.86,1.4,4.23,2.09,7.12,2.09" style="fill:#231f20;"/><path d="M531.22,400.17c-4,0-7.37-.6-10.12-1.81s-4.98-2.91-6.7-5.1c-1.72-2.18-2.98-4.79-3.77-7.81-.79-3.03-1.19-6.4-1.19-10.12v-32.66h-9.77v-12l10.61-.7,1.96-18.7h13.4v18.7h17.45v12.7h-17.45v32.66c0,8,3.21,12,9.63,12,1.21,0,2.44-.14,3.7-.41,1.25-.28,2.39-.65,3.42-1.12l2.79,11.86c-1.86.65-3.98,1.23-6.35,1.75-2.37.51-4.91.77-7.61.77" style="fill:#231f20;"/><path d="M565.56,317.96c-2.89,0-5.26-.84-7.12-2.51s-2.79-3.86-2.79-6.56.93-4.91,2.79-6.63,4.23-2.58,7.12-2.58,5.25.86,7.12,2.58c1.86,1.72,2.79,3.93,2.79,6.63s-.93,4.88-2.79,6.56-4.23,2.51-7.12,2.51M557.46,329.96h16.05v68.53h-16.05v-68.53Z" style="fill:#231f20;"/><path d="M620.68,400.17c-4.28,0-8.37-.79-12.28-2.37-3.91-1.58-7.38-3.91-10.4-6.98s-5.42-6.84-7.19-11.31c-1.77-4.46-2.65-9.54-2.65-15.21s.88-10.75,2.65-15.21c1.76-4.46,4.16-8.23,7.19-11.3,3.02-3.07,6.49-5.42,10.4-7.05,3.91-1.63,8-2.44,12.28-2.44s8.4.81,12.35,2.44c3.96,1.63,7.42,3.98,10.4,7.05,2.98,3.07,5.37,6.84,7.19,11.3,1.81,4.47,2.72,9.54,2.72,15.21s-.91,10.75-2.72,15.21c-1.82,4.47-4.21,8.24-7.19,11.31s-6.44,5.39-10.4,6.98c-3.96,1.58-8.07,2.37-12.35,2.37M620.68,387.05c5.02,0,8.98-2.07,11.86-6.21,2.88-4.14,4.33-9.65,4.33-16.54s-1.44-12.54-4.33-16.68c-2.89-4.14-6.84-6.21-11.86-6.21s-8.96,2.07-11.79,6.21c-2.84,4.14-4.26,9.7-4.26,16.68s1.42,12.4,4.26,16.54,6.77,6.21,11.79,6.21" style="fill:#231f20;"/><path d="M666.04,398.49v-68.53h13.26l1.12,9.21h.56c3.07-2.98,6.4-5.54,9.98-7.68,3.58-2.14,7.75-3.21,12.49-3.21,7.35,0,12.7,2.35,16.05,7.05,3.35,4.7,5.02,11.42,5.02,20.16v42.99h-16.05v-40.89c0-5.67-.84-9.68-2.51-12-1.68-2.32-4.42-3.49-8.23-3.49-2.98,0-5.61.72-7.88,2.16-2.28,1.44-4.86,3.56-7.75,6.35v47.87h-16.06Z" style="fill:#231f20;"/><rect x="189.68" y="98.8" width="59.81" height="59.81" style="fill:#c99831;"/><rect x="129.87" y="158.62" width="59.81" height="59.81" style="fill:#8c985b;"/><rect x="70.06" y="218.43" width="59.81" height="59.81" style="fill:#d03f4e;"/><rect x="189.68" y="218.43" width="59.81" height="59.81" style="fill:#4a92b0;"/></g></svg>
data/data/pdfa/pdfa.xsl CHANGED
@@ -1,5 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:mn="https://www.metanorma.org/ns/standoc" xmlns:mnx="https://www.metanorma.org/ns/xslt" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:java="http://xml.apache.org/xalan/java" xmlns:barcode="http://barcode4j.krysalis.org/ns" xmlns:redirect="http://xml.apache.org/xalan/redirect" exclude-result-prefixes="java" extension-element-prefixes="redirect" version="1.0">
2
2
 
3
+ <xsl:variable name="pageWidth">210</xsl:variable>
4
+ <xsl:variable name="pageHeight">297</xsl:variable>
5
+
3
6
  <xsl:attribute-set name="root-style">
4
7
  <xsl:attribute name="font-family">Source Sans 3, STIX Two Math, <xsl:value-of select="$font_noto_sans"/></xsl:attribute>
5
8
  <xsl:attribute name="font-size">11pt</xsl:attribute>
@@ -52,15 +55,30 @@
52
55
  <xsl:value-of select="/mn:metanorma/mn:bibdata/mn:ext/mn:doctype[normalize-space(@language) != '']"/>
53
56
  </fo:block>
54
57
 
55
- <fo:block-container width="112mm" line-height="1.2" margin-top="4mm">
56
- <!-- Main title of doc -->
57
- <fo:block font-size="32pt" font-weight="bold">
58
- <fo:block><xsl:apply-templates select="/mn:metanorma/mn:bibdata/mn:title[@type = 'intro']/node()"/></fo:block>
59
- </fo:block>
60
- <!-- Subtitle of doc -->
61
- <fo:block font-size="30pt">
62
- <fo:block><xsl:apply-templates select="/mn:metanorma/mn:bibdata/mn:title[@type = 'main'][last()]/node()"/></fo:block>
63
- </fo:block>
58
+ <fo:block-container width="112mm" height="98mm" line-height="1.2" margin-top="4mm" fox:shrink-to-fit="true">
59
+
60
+ <xsl:call-template name="insertCoverPageTitles"/>
61
+
62
+ <!-- Example: title-intro fr -->
63
+ <!-- <xsl:variable name="lang_other">
64
+ <xsl:for-each select="/mn:metanorma/mn:bibdata/mn:title[@language != $lang]">
65
+ <xsl:if test="not(preceding-sibling::mn:title[@language = current()/@language])">
66
+ <xsl:element name="lang" namespace="{$namespace_mn_xsl}"><xsl:value-of select="@language"/></xsl:element>
67
+ </xsl:if>
68
+ </xsl:for-each>
69
+ </xsl:variable>
70
+
71
+ <xsl:for-each select="xalan:nodeset($lang_other)/mnx:lang">
72
+ <xsl:variable name="lang_other" select="."/>
73
+ <fo:block font-size="4pt" role="SKIP"><xsl:value-of select="$linebreak"/></fo:block>
74
+ <fo:block font-style="italic" role="SKIP">
75
+ <xsl:call-template name="insertCoverPageTitles">
76
+ <xsl:with-param name="curr_lang" select="$lang_other"/>
77
+ <xsl:with-param name="font_size">28</xsl:with-param>
78
+ </xsl:call-template>
79
+ </fo:block>
80
+ </xsl:for-each> -->
81
+
64
82
  </fo:block-container>
65
83
 
66
84
  <fo:block-container absolute-position="fixed" top="95mm" left="17.5mm" font-size="20pt">
@@ -178,6 +196,25 @@
178
196
  </fo:page-sequence>
179
197
  </xsl:template> <!-- END cover-page -->
180
198
 
199
+ <xsl:template name="insertCoverPageTitles">
200
+ <xsl:param name="curr_lang" select="$lang"/>
201
+ <xsl:param name="font_size">32</xsl:param>
202
+ <xsl:param name="font_style">normal</xsl:param>
203
+ <!-- Main title of doc -->
204
+ <fo:block font-size="{$font_size}pt" font-weight="bold" font-style="{$font_style}">
205
+ <fo:block role="H1"><xsl:apply-templates select="xalan:nodeset($bibdata)//mn:bibdata/mn:title[@type = 'intro' and @language = $curr_lang]/node()"/></fo:block>
206
+ </fo:block>
207
+ <!-- Subtitle of doc -->
208
+ <fo:block font-size="{$font_size - 2}pt" font-style="{$font_style}">
209
+ <fo:block role="H1"><xsl:apply-templates select="xalan:nodeset($bibdata)//mn:bibdata/mn:title[@type = 'main' and @language = $curr_lang][last()]/node()"/></fo:block>
210
+ </fo:block>
211
+ <!-- Part title -->
212
+ <fo:block font-size="{$font_size - 8}pt" font-style="{$font_style}">
213
+ <fo:block role="H1"><xsl:apply-templates select="xalan:nodeset($bibdata)//mn:bibdata/mn:title[@type = 'part' and @language = $curr_lang]/node()"/></fo:block>
214
+ </fo:block>
215
+ </xsl:template>
216
+
217
+
181
218
  <xsl:variable name="circledChars">
182
219
  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
183
220
  viewBox="0 0 16 6.6" style="enable-background:new 0 0 16 6.6;" xml:space="preserve">
@@ -219,7 +256,7 @@
219
256
  <xsl:template name="insertFooter">
220
257
  <!-- <xsl:param name="invert"/> -->
221
258
  <xsl:variable name="footerText">
222
- <xsl:text>PDFa</xsl:text>
259
+ <xsl:text>PDF Association</xsl:text>
223
260
  <xsl:text>&#xA0;</xsl:text>
224
261
  <xsl:call-template name="capitalizeWords">
225
262
  <xsl:with-param name="str">