metanorma-taste 0.1.2 → 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/Gemfile +9 -14
 - data/README.adoc +109 -27
 - data/data/csa/boilerplate.adoc +35 -0
 - data/data/csa/config.yaml +63 -0
 - data/data/csa/csa.scss +782 -0
 - data/data/csa/csa.standard.xsl +14577 -0
 - data/data/csa/header.html +246 -0
 - data/data/csa/html_csa_intro.html +7 -0
 - data/data/csa/html_csa_titlepage.html +94 -0
 - data/data/csa/htmlstyle.scss +820 -0
 - data/data/csa/i18n-en.yaml +10 -0
 - data/data/csa/logo.svg +1 -0
 - data/data/csa/metanorma.yml +70 -0
 - data/data/csa/word_csa_intro.html +11 -0
 - data/data/csa/word_csa_titlepage.html +75 -0
 - data/data/csa/wordstyle.scss +1343 -0
 - data/data/elf/config.yaml +10 -7
 - data/data/enosema/config.yaml +10 -7
 - data/data/icc/config.yaml +14 -11
 - data/data/icc/icc-full.emf +0 -0
 - data/data/icc/icc-small.emf +0 -0
 - 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 +38 -0
 - data/data/pdfa/copyright-de.adoc +39 -0
 - data/data/pdfa/copyright.adoc +45 -0
 - data/data/pdfa/coverpage.pdf +0 -0
 - data/data/pdfa/htmlcoverpage.html +18 -0
 - data/data/pdfa/htmlstylesheet-override.scss +14 -0
 - data/data/pdfa/i18n.yaml +11 -0
 - data/data/pdfa/inside-cover.pdf +0 -0
 - data/data/pdfa/pdfa-logo.emf +0 -0
 - data/data/pdfa/pdfa-logo.svg +1 -0
 - data/data/pdfa/pdfa.xsl +288 -0
 - data/data/swf/config.yaml +24 -0
 - data/data/swf/copyright.adoc +28 -0
 - data/data/swf/i18n.yaml +3 -0
 - data/data/swf/swf-back-cover.pdf +3504 -7
 - data/data/swf/swf-front-cover.pdf +3472 -3
 - data/data/swf/swf-full.svg +1 -0
 - data/data/swf/swf-icon.svg +1 -0
 - data/data/swf/swf-logo-with-graphic.svg +1 -0
 - data/data/swf/swf-logo.pdf +3590 -13
 - data/data/swf/swf-logo.svg +1 -0
 - data/data/swf/swf.xsl +361 -0
 - data/lib/metanorma/taste/base.rb +40 -21
 - data/lib/metanorma/taste/base_override.rb +7 -16
 - data/lib/metanorma/taste/filename_attributes.rb +53 -0
 - data/lib/metanorma/taste/stage_config.rb +20 -0
 - data/lib/metanorma/taste/taste_config.rb +2 -26
 - data/lib/metanorma/taste/value_attributes.rb +59 -0
 - data/lib/metanorma/taste/version.rb +1 -1
 - data/lib/metanorma/taste_register.rb +18 -0
 - data/metanorma-taste.gemspec +20 -0
 - metadata +323 -2
 
    
        data/data/pdfa/pdfa.xsl
    ADDED
    
    | 
         @@ -0,0 +1,288 @@ 
     | 
|
| 
      
 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:attribute-set name="root-style">
         
     | 
| 
      
 7 
     | 
    
         
            +
            		<xsl:attribute name="font-family">Source Sans 3, STIX Two Math, <xsl:value-of select="$font_noto_sans"/></xsl:attribute>
         
     | 
| 
      
 8 
     | 
    
         
            +
            		<xsl:attribute name="font-size">11pt</xsl:attribute>
         
     | 
| 
      
 9 
     | 
    
         
            +
            		<xsl:attribute name="color">black</xsl:attribute>
         
     | 
| 
      
 10 
     | 
    
         
            +
            	</xsl:attribute-set>
         
     | 
| 
      
 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="17.5mm" margin-bottom="17.5mm" margin-left="17.5mm" margin-right="17.5mm"/>
         
     | 
| 
      
 16 
     | 
    
         
            +
            			</fo:simple-page-master>
         
     | 
| 
      
 17 
     | 
    
         
            +
            			
         
     | 
| 
      
 18 
     | 
    
         
            +
            			<fo:simple-page-master master-name="copyright-page" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
         
     | 
| 
      
 19 
     | 
    
         
            +
            				<fo:region-body margin-top="20mm" margin-bottom="35mm" margin-left="18mm" margin-right="18mm"/>
         
     | 
| 
      
 20 
     | 
    
         
            +
            			</fo:simple-page-master>
         
     | 
| 
      
 21 
     | 
    
         
            +
            		</fo:layout-master-set>
         
     | 
| 
      
 22 
     | 
    
         
            +
            	</xsl:template>
         
     | 
| 
      
 23 
     | 
    
         
            +
            		
         
     | 
| 
      
 24 
     | 
    
         
            +
            	<xsl:variable name="cover_page_color_box1">rgb(202,152,49)</xsl:variable>
         
     | 
| 
      
 25 
     | 
    
         
            +
            	<xsl:variable name="cover_page_color_box2">rgb(139,152,91)</xsl:variable>
         
     | 
| 
      
 26 
     | 
    
         
            +
            	<xsl:variable name="cover_page_color_box3">rgb(208,63,78)</xsl:variable>
         
     | 
| 
      
 27 
     | 
    
         
            +
            	<xsl:variable name="cover_page_color_box4">rgb(72,145,175)</xsl:variable>
         
     | 
| 
      
 28 
     | 
    
         
            +
            	<xsl:variable name="cover_page_color_box_border_width">2.5pt</xsl:variable>
         
     | 
| 
      
 29 
     | 
    
         
            +
            	<xsl:variable name="cover_page_color_box_height">57mm</xsl:variable>
         
     | 
| 
      
 30 
     | 
    
         
            +
            	
         
     | 
| 
      
 31 
     | 
    
         
            +
            	<xsl:attribute-set name="cover_page_box">
         
     | 
| 
      
 32 
     | 
    
         
            +
            		<xsl:attribute name="padding-left">0.5mm</xsl:attribute>
         
     | 
| 
      
 33 
     | 
    
         
            +
            		<xsl:attribute name="padding-right">0.5mm</xsl:attribute>
         
     | 
| 
      
 34 
     | 
    
         
            +
            		<xsl:attribute name="padding-top">-0.5mm</xsl:attribute>
         
     | 
| 
      
 35 
     | 
    
         
            +
            		<xsl:attribute name="padding-bottom">-0.5mm</xsl:attribute>
         
     | 
| 
      
 36 
     | 
    
         
            +
            	</xsl:attribute-set>
         
     | 
| 
      
 37 
     | 
    
         
            +
            	
         
     | 
| 
      
 38 
     | 
    
         
            +
            	<xsl:template name="cover-page">
         
     | 
| 
      
 39 
     | 
    
         
            +
            		<fo:page-sequence master-reference="cover-page" force-page-count="no-force">
         
     | 
| 
      
 40 
     | 
    
         
            +
            			<fo:flow flow-name="xsl-region-body" font-family="Source Sans 3">
         
     | 
| 
      
 41 
     | 
    
         
            +
            				
         
     | 
| 
      
 42 
     | 
    
         
            +
            				<fo:block margin-top="-3mm" role="SKIP"> <!-- -3mm because there is a space before image in the source SVG -->
         
     | 
| 
      
 43 
     | 
    
         
            +
            					<fo:inline-container width="47mm" role="SKIP">
         
     | 
| 
      
 44 
     | 
    
         
            +
            						<fo:block font-size="0pt">
         
     | 
| 
      
 45 
     | 
    
         
            +
            							<xsl:for-each select="/mn:metanorma/mn:bibdata/mn:copyright/mn:owner/mn:organization">
         
     | 
| 
      
 46 
     | 
    
         
            +
            								<xsl:apply-templates select="mn:logo/mn:image"/>
         
     | 
| 
      
 47 
     | 
    
         
            +
            							</xsl:for-each>
         
     | 
| 
      
 48 
     | 
    
         
            +
            						</fo:block>
         
     | 
| 
      
 49 
     | 
    
         
            +
            					</fo:inline-container>
         
     | 
| 
      
 50 
     | 
    
         
            +
            				</fo:block>
         
     | 
| 
      
 51 
     | 
    
         
            +
            				
         
     | 
| 
      
 52 
     | 
    
         
            +
            				<!-- Type of document:
         
     | 
| 
      
 53 
     | 
    
         
            +
            					Specification, Best Practice Guide, Application Note, Technical Note, Extension -->
         
     | 
| 
      
 54 
     | 
    
         
            +
            				<fo:block font-size="29pt" font-weight="bold" text-align="right" margin-top="4mm">
         
     | 
| 
      
 55 
     | 
    
         
            +
            					<xsl:value-of select="/mn:metanorma/mn:bibdata/mn:ext/mn:doctype[normalize-space(@language) != '']"/>
         
     | 
| 
      
 56 
     | 
    
         
            +
            				</fo:block>
         
     | 
| 
      
 57 
     | 
    
         
            +
            				
         
     | 
| 
      
 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 
     | 
    
         
            +
            					
         
     | 
| 
      
 82 
     | 
    
         
            +
            				</fo:block-container>
         
     | 
| 
      
 83 
     | 
    
         
            +
            				
         
     | 
| 
      
 84 
     | 
    
         
            +
            				<fo:block-container absolute-position="fixed" top="95mm" left="17.5mm" font-size="20pt">
         
     | 
| 
      
 85 
     | 
    
         
            +
            					<fo:table table-layout="fixed" width="174mm">
         
     | 
| 
      
 86 
     | 
    
         
            +
            						<fo:table-column column-width="proportional-column-width(1)"/>
         
     | 
| 
      
 87 
     | 
    
         
            +
            						<fo:table-column column-width="proportional-column-width(1)"/>
         
     | 
| 
      
 88 
     | 
    
         
            +
            						<fo:table-column column-width="proportional-column-width(1)"/>
         
     | 
| 
      
 89 
     | 
    
         
            +
            						<fo:table-body>
         
     | 
| 
      
 90 
     | 
    
         
            +
            							<fo:table-row>
         
     | 
| 
      
 91 
     | 
    
         
            +
            								<fo:table-cell><fo:block> </fo:block></fo:table-cell>
         
     | 
| 
      
 92 
     | 
    
         
            +
            								<fo:table-cell><fo:block> </fo:block></fo:table-cell>
         
     | 
| 
      
 93 
     | 
    
         
            +
            								<fo:table-cell text-align="right" display-align="after" xsl:use-attribute-sets="cover_page_box"> <!-- padding-left="5mm" padding-right="5mm" -->
         
     | 
| 
      
 94 
     | 
    
         
            +
            									<fo:block-container width="100%" height="{$cover_page_color_box_height}" border="{$cover_page_color_box_border_width} solid {$cover_page_color_box1}">
         
     | 
| 
      
 95 
     | 
    
         
            +
            										<fo:block margin-left="5mm" margin-right="5mm">
         
     | 
| 
      
 96 
     | 
    
         
            +
            											<fo:block>
         
     | 
| 
      
 97 
     | 
    
         
            +
            												<!-- Status / Version.
         
     | 
| 
      
 98 
     | 
    
         
            +
            														e.g. "Draft Release Candidate 1.2", or just a version -->
         
     | 
| 
      
 99 
     | 
    
         
            +
            												<xsl:variable name="status" select="/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata/mn:status"/>
         
     | 
| 
      
 100 
     | 
    
         
            +
            												<xsl:choose>
         
     | 
| 
      
 101 
     | 
    
         
            +
            													<xsl:when test="normalize-space($status) != ''">
         
     | 
| 
      
 102 
     | 
    
         
            +
            														<xsl:value-of select="$status"/>
         
     | 
| 
      
 103 
     | 
    
         
            +
            													</xsl:when>
         
     | 
| 
      
 104 
     | 
    
         
            +
            													<xsl:otherwise> <!-- just a version -->
         
     | 
| 
      
 105 
     | 
    
         
            +
            														<xsl:variable name="i18n_version"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">version</xsl:with-param></xsl:call-template></xsl:variable>
         
     | 
| 
      
 106 
     | 
    
         
            +
            														<xsl:call-template name="capitalize">
         
     | 
| 
      
 107 
     | 
    
         
            +
            															<xsl:with-param name="str" select="$i18n_version"/>
         
     | 
| 
      
 108 
     | 
    
         
            +
            														</xsl:call-template>
         
     | 
| 
      
 109 
     | 
    
         
            +
            														<xsl:text> </xsl:text>
         
     | 
| 
      
 110 
     | 
    
         
            +
            														<xsl:variable name="edition" select="/mn:metanorma/mn:bibdata/mn:edition[normalize-space(@language) = '']"/>
         
     | 
| 
      
 111 
     | 
    
         
            +
            														<xsl:value-of select="$edition"/>
         
     | 
| 
      
 112 
     | 
    
         
            +
            														<xsl:if test="not(contains($edition, '.'))">.0</xsl:if>
         
     | 
| 
      
 113 
     | 
    
         
            +
            													</xsl:otherwise>
         
     | 
| 
      
 114 
     | 
    
         
            +
            												</xsl:choose>
         
     | 
| 
      
 115 
     | 
    
         
            +
            											</fo:block>
         
     | 
| 
      
 116 
     | 
    
         
            +
            											<fo:block margin-bottom="2mm">
         
     | 
| 
      
 117 
     | 
    
         
            +
            												<xsl:value-of select="substring(/mn:metanorma/mn:bibdata/mn:version/mn:revision-date, 1, 7)"/>
         
     | 
| 
      
 118 
     | 
    
         
            +
            											</fo:block>
         
     | 
| 
      
 119 
     | 
    
         
            +
            										</fo:block>
         
     | 
| 
      
 120 
     | 
    
         
            +
            									</fo:block-container>
         
     | 
| 
      
 121 
     | 
    
         
            +
            								</fo:table-cell>
         
     | 
| 
      
 122 
     | 
    
         
            +
            							</fo:table-row>
         
     | 
| 
      
 123 
     | 
    
         
            +
            							<fo:table-row>
         
     | 
| 
      
 124 
     | 
    
         
            +
            								<fo:table-cell><fo:block> </fo:block></fo:table-cell>
         
     | 
| 
      
 125 
     | 
    
         
            +
            								<fo:table-cell text-align="center" display-align="center" xsl:use-attribute-sets="cover_page_box">
         
     | 
| 
      
 126 
     | 
    
         
            +
            									<fo:block-container width="100%" height="{$cover_page_color_box_height}" border="{$cover_page_color_box_border_width} solid {$cover_page_color_box2}">
         
     | 
| 
      
 127 
     | 
    
         
            +
            										<fo:block font-size="0pt">
         
     | 
| 
      
 128 
     | 
    
         
            +
            											<!-- set context node to the cover page image -->
         
     | 
| 
      
 129 
     | 
    
         
            +
            											<xsl:for-each select="/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata[mn:name = 'coverpage-image'][1]/mn:value/mn:image[1]">
         
     | 
| 
      
 130 
     | 
    
         
            +
            												<xsl:call-template name="insertPageImage">
         
     | 
| 
      
 131 
     | 
    
         
            +
            													<xsl:with-param name="svg_content_height">53</xsl:with-param> <!-- this parameter is using for SVG images -->
         
     | 
| 
      
 132 
     | 
    
         
            +
            													<xsl:with-param name="bitmap_width">53</xsl:with-param> <!-- this parameter is using for bitmap images -->
         
     | 
| 
      
 133 
     | 
    
         
            +
            												</xsl:call-template>
         
     | 
| 
      
 134 
     | 
    
         
            +
            											</xsl:for-each>
         
     | 
| 
      
 135 
     | 
    
         
            +
            										</fo:block>
         
     | 
| 
      
 136 
     | 
    
         
            +
            									</fo:block-container>
         
     | 
| 
      
 137 
     | 
    
         
            +
            								</fo:table-cell>
         
     | 
| 
      
 138 
     | 
    
         
            +
            								<fo:table-cell><fo:block> </fo:block></fo:table-cell>
         
     | 
| 
      
 139 
     | 
    
         
            +
            							</fo:table-row>
         
     | 
| 
      
 140 
     | 
    
         
            +
            							<fo:table-row>
         
     | 
| 
      
 141 
     | 
    
         
            +
            								<fo:table-cell display-align="after" xsl:use-attribute-sets="cover_page_box">
         
     | 
| 
      
 142 
     | 
    
         
            +
            									<fo:block-container width="100%" height="{$cover_page_color_box_height}" border="{$cover_page_color_box_border_width} solid {$cover_page_color_box3}">
         
     | 
| 
      
 143 
     | 
    
         
            +
            										<!-- the group that authored the doc -->
         
     | 
| 
      
 144 
     | 
    
         
            +
            										<!-- Example: EA-PDF LWG -->
         
     | 
| 
      
 145 
     | 
    
         
            +
            										<fo:block margin-left="5mm" margin-right="5mm" margin-bottom="3mm">
         
     | 
| 
      
 146 
     | 
    
         
            +
            											<xsl:value-of select="/mn:metanorma/mn:bibdata/mn:contributor[mn:role[@type = 'author' and 
         
     | 
| 
      
 147 
     | 
    
         
            +
            											(mn:description[normalize-space(@language) = ''] = 'Technical committee' or mn:description[normalize-space(@language) = ''] = 'committee')]]/
         
     | 
| 
      
 148 
     | 
    
         
            +
            											mn:organization/mn:subdivision[@type = 'Technical committee' or @type = 'Committee']/mn:name"/>
         
     | 
| 
      
 149 
     | 
    
         
            +
            										</fo:block>
         
     | 
| 
      
 150 
     | 
    
         
            +
            									</fo:block-container>
         
     | 
| 
      
 151 
     | 
    
         
            +
            								</fo:table-cell>
         
     | 
| 
      
 152 
     | 
    
         
            +
            								<fo:table-cell><fo:block> </fo:block></fo:table-cell>
         
     | 
| 
      
 153 
     | 
    
         
            +
            								<fo:table-cell display-align="after" xsl:use-attribute-sets="cover_page_box">
         
     | 
| 
      
 154 
     | 
    
         
            +
            									<fo:block-container width="100%" height="{$cover_page_color_box_height}" border="{$cover_page_color_box_border_width} solid {$cover_page_color_box4}">
         
     | 
| 
      
 155 
     | 
    
         
            +
            										<fo:block margin-left="2mm">
         
     | 
| 
      
 156 
     | 
    
         
            +
            											<!-- Example: © 2025 PDF Association – pdfa.org -->
         
     | 
| 
      
 157 
     | 
    
         
            +
            											<fo:block font-size="9.9pt">
         
     | 
| 
      
 158 
     | 
    
         
            +
            												<xsl:text>© </xsl:text>
         
     | 
| 
      
 159 
     | 
    
         
            +
            												<xsl:value-of select="/mn:metanorma/mn:bibdata/mn:copyright/mn:from"/>
         
     | 
| 
      
 160 
     | 
    
         
            +
            												<xsl:text> </xsl:text>
         
     | 
| 
      
 161 
     | 
    
         
            +
            												<xsl:value-of select="/mn:metanorma/mn:bibdata/mn:copyright/mn:owner/mn:organization/mn:name"/>
         
     | 
| 
      
 162 
     | 
    
         
            +
            												<xsl:text> – </xsl:text>
         
     | 
| 
      
 163 
     | 
    
         
            +
            												<fo:inline text-decoration="underline">
         
     | 
| 
      
 164 
     | 
    
         
            +
            													<fo:basic-link fox:alt-text="PDF association" external-destination="https://pdfa.org/">pdfa.org</fo:basic-link>
         
     | 
| 
      
 165 
     | 
    
         
            +
            												</fo:inline>
         
     | 
| 
      
 166 
     | 
    
         
            +
            											</fo:block>
         
     | 
| 
      
 167 
     | 
    
         
            +
            											<fo:block font-size="8pt" margin-bottom="2mm">
         
     | 
| 
      
 168 
     | 
    
         
            +
            												<xsl:text>This work is licensed under CC-BY-4.0 </xsl:text>
         
     | 
| 
      
 169 
     | 
    
         
            +
            												<!-- Note: the error occurs [Fatal Error] :1621:113: Character reference "�" is an invalid XML character. -->
         
     | 
| 
      
 170 
     | 
    
         
            +
            												<!-- Circled CC -->
         
     | 
| 
      
 171 
     | 
    
         
            +
            												<!-- <fo:inline font-size="10pt"><xsl:call-template name="getCharByCodePoint"><xsl:with-param name="codepoint">1f16d</xsl:with-param></xsl:call-template></fo:inline>
         
     | 
| 
      
 172 
     | 
    
         
            +
            												<xsl:text> </xsl:text> -->
         
     | 
| 
      
 173 
     | 
    
         
            +
            												<!-- Circled Human Figure -->
         
     | 
| 
      
 174 
     | 
    
         
            +
            												<!-- <fo:inline font-size="10pt"><xsl:call-template name="getCharByCodePoint"><xsl:with-param name="codepoint">1f16f</xsl:with-param></xsl:call-template></fo:inline> -->
         
     | 
| 
      
 175 
     | 
    
         
            +
            												<!-- Characters replaced to SVG To prevent warning:
         
     | 
| 
      
 176 
     | 
    
         
            +
            																										PDF isn't valid PDF/UA-1:
         
     | 
| 
      
 177 
     | 
    
         
            +
            														ValidationResult [flavour=ua1, totalAssertions=112627, assertions=[
         
     | 
| 
      
 178 
     | 
    
         
            +
            														TestAssertion [ruleId=RuleId [specification=ISO 14289-1:2014, clause=7.21.7, testNumber=1], status=failed,
         
     | 
| 
      
 179 
     | 
    
         
            +
            														message=The Font dictionary of all fonts shall define the map of all used character codes to Unicode values, either via a ToUnicode entry, or other mechanisms as defined in ISO 14289-1, 7.21.7,
         
     | 
| 
      
 180 
     | 
    
         
            +
            														location=Location [level=CosDocument, context=root/document[0]/pages[0](919 0 obj PDPage)/contentStream[0](947 0 obj PDSemanticContentStream)/operators[1391]/usedGlyphs[0](EAAAAB+SourceSans3-Regular EAAAAB+SourceSans3-Regular 43 0 2124645278 0 true)], locationContext=null, errorMessage=null]], isCompliant=false]
         
     | 
| 
      
 181 
     | 
    
         
            +
            												-->
         
     | 
| 
      
 182 
     | 
    
         
            +
            												<fo:inline baseline-shift="-50%" padding-left="0.5mm">
         
     | 
| 
      
 183 
     | 
    
         
            +
            												<fo:instream-foreign-object content-width="5.6mm" fox:alt-text="Circled Chars">
         
     | 
| 
      
 184 
     | 
    
         
            +
            													<xsl:copy-of select="$circledChars"/>
         
     | 
| 
      
 185 
     | 
    
         
            +
            												</fo:instream-foreign-object>
         
     | 
| 
      
 186 
     | 
    
         
            +
            												</fo:inline>
         
     | 
| 
      
 187 
     | 
    
         
            +
            											</fo:block>
         
     | 
| 
      
 188 
     | 
    
         
            +
            										</fo:block>
         
     | 
| 
      
 189 
     | 
    
         
            +
            									</fo:block-container>
         
     | 
| 
      
 190 
     | 
    
         
            +
            								</fo:table-cell>
         
     | 
| 
      
 191 
     | 
    
         
            +
            							</fo:table-row>
         
     | 
| 
      
 192 
     | 
    
         
            +
            						</fo:table-body>
         
     | 
| 
      
 193 
     | 
    
         
            +
            					</fo:table>
         
     | 
| 
      
 194 
     | 
    
         
            +
            				</fo:block-container>
         
     | 
| 
      
 195 
     | 
    
         
            +
            			</fo:flow>
         
     | 
| 
      
 196 
     | 
    
         
            +
            		</fo:page-sequence>
         
     | 
| 
      
 197 
     | 
    
         
            +
            	</xsl:template> <!-- END cover-page -->
         
     | 
| 
      
 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 
     | 
    
         
            +
             
     | 
| 
      
 218 
     | 
    
         
            +
            	<xsl:variable name="circledChars">
         
     | 
| 
      
 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"
         
     | 
| 
      
 220 
     | 
    
         
            +
            			 viewBox="0 0 16 6.6" style="enable-background:new 0 0 16 6.6;" xml:space="preserve">
         
     | 
| 
      
 221 
     | 
    
         
            +
            			<style type="text/css">
         
     | 
| 
      
 222 
     | 
    
         
            +
            				.st0{fill:#010101;}
         
     | 
| 
      
 223 
     | 
    
         
            +
            			</style>
         
     | 
| 
      
 224 
     | 
    
         
            +
            			<path class="st0" d="M0,3.3C0,1.3,1.5,0,3.2,0C5,0,6.5,1.3,6.5,3.3c0,2-1.5,3.3-3.2,3.3C1.5,6.6,0,5.3,0,3.3z M6,3.3
         
     | 
| 
      
 225 
     | 
    
         
            +
            				c0-1.7-1.2-2.8-2.7-2.8c-1.5,0-2.7,1.1-2.7,2.8c0,1.7,1.2,2.9,2.7,2.9C4.7,6.2,6,5,6,3.3z M1,3.3c0-1.2,0.6-1.8,1.3-1.8
         
     | 
| 
      
 226 
     | 
    
         
            +
            				c0.4,0,0.6,0.2,0.8,0.4L2.7,2.3C2.6,2.2,2.5,2.1,2.4,2.1C2,2.1,1.7,2.6,1.7,3.3c0,0.8,0.2,1.2,0.6,1.2c0.2,0,0.3-0.1,0.5-0.2
         
     | 
| 
      
 227 
     | 
    
         
            +
            				l0.3,0.4C2.9,4.9,2.7,5.1,2.3,5.1C1.6,5.1,1,4.5,1,3.3z M3.1,3.3c0-1.2,0.6-1.8,1.3-1.8c0.4,0,0.6,0.2,0.8,0.4L4.8,2.3
         
     | 
| 
      
 228 
     | 
    
         
            +
            				C4.7,2.2,4.7,2.1,4.5,2.1c-0.3,0-0.6,0.5-0.6,1.2c0,0.8,0.2,1.2,0.6,1.2c0.2,0,0.3-0.1,0.5-0.2l0.3,0.4C5.1,4.9,4.8,5.1,4.4,5.1
         
     | 
| 
      
 229 
     | 
    
         
            +
            				C3.7,5.1,3.1,4.5,3.1,3.3z M9.5,3.3c0-2,1.5-3.3,3.2-3.3S16,1.3,16,3.3c0,2-1.5,3.3-3.2,3.3S9.5,5.3,9.5,3.3z M15.4,3.3
         
     | 
| 
      
 230 
     | 
    
         
            +
            				c0-1.7-1.2-2.8-2.7-2.8c-1.5,0-2.7,1.1-2.7,2.8c0,1.7,1.2,2.9,2.7,2.9C14.2,6.2,15.4,5,15.4,3.3z M12.1,5.7c0-0.5-0.1-0.9-0.1-1.4v0
         
     | 
| 
      
 231 
     | 
    
         
            +
            				c-0.3,0-0.5-0.2-0.5-0.5c0-0.3,0-0.7,0.1-1c0.1-0.3,0.2-0.4,0.4-0.5c0.1,0,0.3,0,0.6,0c0.3,0,0.5,0,0.6,0c0.2,0.1,0.4,0.2,0.4,0.5
         
     | 
| 
      
 232 
     | 
    
         
            +
            				c0.1,0.3,0.1,0.7,0.1,1c0,0.3-0.2,0.5-0.5,0.5v0c0,0.6,0,1-0.1,1.4H12.1z M12.1,1.4c0-0.3,0.3-0.6,0.6-0.6s0.6,0.2,0.6,0.6
         
     | 
| 
      
 233 
     | 
    
         
            +
            				C13.3,1.7,13,2,12.7,2C12.4,2,12.1,1.7,12.1,1.4z"/>
         
     | 
| 
      
 234 
     | 
    
         
            +
            		</svg>
         
     | 
| 
      
 235 
     | 
    
         
            +
            	</xsl:variable>
         
     | 
| 
      
 236 
     | 
    
         
            +
             
     | 
| 
      
 237 
     | 
    
         
            +
            	<!-- empty back-page to omit back cover -->
         
     | 
| 
      
 238 
     | 
    
         
            +
            	<xsl:template name="back-page">
         
     | 
| 
      
 239 
     | 
    
         
            +
            		<!-- put the back page layout -->
         
     | 
| 
      
 240 
     | 
    
         
            +
            	</xsl:template>
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
            	<xsl:template match="mn:copyright-statement" priority="2">
         
     | 
| 
      
 243 
     | 
    
         
            +
            		<xsl:apply-templates />
         
     | 
| 
      
 244 
     | 
    
         
            +
            	</xsl:template>
         
     | 
| 
      
 245 
     | 
    
         
            +
            	
         
     | 
| 
      
 246 
     | 
    
         
            +
            	
         
     | 
| 
      
 247 
     | 
    
         
            +
            	<xsl:attribute-set name="link-style">
         
     | 
| 
      
 248 
     | 
    
         
            +
            		<xsl:attribute name="color">rgb(14,85,117)</xsl:attribute>
         
     | 
| 
      
 249 
     | 
    
         
            +
            		<xsl:attribute name="text-decoration">underline</xsl:attribute>
         
     | 
| 
      
 250 
     | 
    
         
            +
            	</xsl:attribute-set>
         
     | 
| 
      
 251 
     | 
    
         
            +
             
     | 
| 
      
 252 
     | 
    
         
            +
            	<xsl:template name="insertHeaderFooter">
         
     | 
| 
      
 253 
     | 
    
         
            +
            		<xsl:call-template name="insertFooter"/>
         
     | 
| 
      
 254 
     | 
    
         
            +
            	</xsl:template>
         
     | 
| 
      
 255 
     | 
    
         
            +
             
     | 
| 
      
 256 
     | 
    
         
            +
            	<xsl:template name="insertFooter">
         
     | 
| 
      
 257 
     | 
    
         
            +
            		<!-- <xsl:param name="invert"/> -->
         
     | 
| 
      
 258 
     | 
    
         
            +
            		<xsl:variable name="footerText"> 
         
     | 
| 
      
 259 
     | 
    
         
            +
            			<xsl:text>PDF Association</xsl:text>
         
     | 
| 
      
 260 
     | 
    
         
            +
            			<xsl:text> </xsl:text>
         
     | 
| 
      
 261 
     | 
    
         
            +
            			<xsl:call-template name="capitalizeWords">
         
     | 
| 
      
 262 
     | 
    
         
            +
            				<xsl:with-param name="str">
         
     | 
| 
      
 263 
     | 
    
         
            +
            					<xsl:choose>
         
     | 
| 
      
 264 
     | 
    
         
            +
            						<xsl:when test="/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata/mn:doctype-alias">
         
     | 
| 
      
 265 
     | 
    
         
            +
            							<xsl:value-of select="/mn:metanorma/mn:metanorma-extension/mn:presentation-metadata/mn:doctype-alias"/>
         
     | 
| 
      
 266 
     | 
    
         
            +
            						</xsl:when>
         
     | 
| 
      
 267 
     | 
    
         
            +
            						<xsl:otherwise>
         
     | 
| 
      
 268 
     | 
    
         
            +
            							<xsl:value-of select="/mn:metanorma/mn:bibdata/mn:ext/mn:doctype"/>
         
     | 
| 
      
 269 
     | 
    
         
            +
            						</xsl:otherwise>
         
     | 
| 
      
 270 
     | 
    
         
            +
            					</xsl:choose>
         
     | 
| 
      
 271 
     | 
    
         
            +
            				</xsl:with-param>
         
     | 
| 
      
 272 
     | 
    
         
            +
            			</xsl:call-template>
         
     | 
| 
      
 273 
     | 
    
         
            +
            		</xsl:variable>
         
     | 
| 
      
 274 
     | 
    
         
            +
            		<xsl:call-template name="insertFooterOdd">
         
     | 
| 
      
 275 
     | 
    
         
            +
            			<xsl:with-param name="footerText" select="$footerText"/>
         
     | 
| 
      
 276 
     | 
    
         
            +
            		</xsl:call-template>
         
     | 
| 
      
 277 
     | 
    
         
            +
            		<xsl:call-template name="insertFooterEven">
         
     | 
| 
      
 278 
     | 
    
         
            +
            			<xsl:with-param name="footerText" select="$footerText"/>
         
     | 
| 
      
 279 
     | 
    
         
            +
            		</xsl:call-template>
         
     | 
| 
      
 280 
     | 
    
         
            +
            	</xsl:template>
         
     | 
| 
      
 281 
     | 
    
         
            +
             
     | 
| 
      
 282 
     | 
    
         
            +
            	<xsl:template name="refine_strong_style">
         
     | 
| 
      
 283 
     | 
    
         
            +
            		<xsl:if test="ancestor::*['preferred']">
         
     | 
| 
      
 284 
     | 
    
         
            +
            			<xsl:attribute name="role">SKIP</xsl:attribute>
         
     | 
| 
      
 285 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 286 
     | 
    
         
            +
            	</xsl:template>
         
     | 
| 
      
 287 
     | 
    
         
            +
            	
         
     | 
| 
      
 288 
     | 
    
         
            +
            </xsl:stylesheet>
         
     | 
| 
         @@ -0,0 +1,24 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            flavor: swf
         
     | 
| 
      
 3 
     | 
    
         
            +
            owner: Spatial Web Foundation
         
     | 
| 
      
 4 
     | 
    
         
            +
            base-flavor: ribose
         
     | 
| 
      
 5 
     | 
    
         
            +
            base-override:
         
     | 
| 
      
 6 
     | 
    
         
            +
              filename-attributes:
         
     | 
| 
      
 7 
     | 
    
         
            +
                copyright-notice: copyright.adoc
         
     | 
| 
      
 8 
     | 
    
         
            +
                i18n-dictionary: i18n.yaml
         
     | 
| 
      
 9 
     | 
    
         
            +
                publisher-logo: swf-logo.svg
         
     | 
| 
      
 10 
     | 
    
         
            +
                pdfstylesheet-override: swf.xsl
         
     | 
| 
      
 11 
     | 
    
         
            +
                coverpage-image: swf-front-cover.pdf
         
     | 
| 
      
 12 
     | 
    
         
            +
                backpage-image: swf-back-cover.pdf
         
     | 
| 
      
 13 
     | 
    
         
            +
              value-attributes:
         
     | 
| 
      
 14 
     | 
    
         
            +
                publisher: Spatial Web Foundation
         
     | 
| 
      
 15 
     | 
    
         
            +
                publisher_abbr: SWF
         
     | 
| 
      
 16 
     | 
    
         
            +
                presentation-metadata-color-secondary: '#007724'
         
     | 
| 
      
 17 
     | 
    
         
            +
                presentation-metadata-backcover-text: spatialwebfoundation.org
         
     | 
| 
      
 18 
     | 
    
         
            +
                fonts: Nacelle;Nacelle SemiBold;Nacelle Light
         
     | 
| 
      
 19 
     | 
    
         
            +
                output-extensions: xml,html,pdf,doc
         
     | 
| 
      
 20 
     | 
    
         
            +
            doctypes:
         
     | 
| 
      
 21 
     | 
    
         
            +
            - taste: standard
         
     | 
| 
      
 22 
     | 
    
         
            +
              base: standard
         
     | 
| 
      
 23 
     | 
    
         
            +
            - taste: guide
         
     | 
| 
      
 24 
     | 
    
         
            +
              base: report
         
     | 
| 
         @@ -0,0 +1,28 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            == copyright-statement
         
     | 
| 
      
 2 
     | 
    
         
            +
            === {blank}
         
     | 
| 
      
 3 
     | 
    
         
            +
            (c) {{ docyear }} The Spatial Web Foundation, Inc.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            SPATIAL WEB™ standard is a Hyperspatial Transaction Protocol, Hyperspatial
         
     | 
| 
      
 6 
     | 
    
         
            +
            Modeling Language, and Hyperspatial Architecture for Hyperspatial Transactions
         
     | 
| 
      
 7 
     | 
    
         
            +
            that enables users to implement it in accordance with a standard being created
         
     | 
| 
      
 8 
     | 
    
         
            +
            with the IEEE. SPATIAL WEB™ is a trademark of the Spatial Web Foundation.
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            All rights reserved. Unless otherwise specified, or required in the context of
         
     | 
| 
      
 11 
     | 
    
         
            +
            its implementation, no part of this publication may be reproduced or utilized
         
     | 
| 
      
 12 
     | 
    
         
            +
            otherwise in any form or by any means, electronic or mechanical, including
         
     | 
| 
      
 13 
     | 
    
         
            +
            photocopying, or posting on the internet or an intranet, without prior written
         
     | 
| 
      
 14 
     | 
    
         
            +
            permission. Permission can be requested from the Spatial Web Foundation.
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            == feedback-statement
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            === {blank}
         
     | 
| 
      
 19 
     | 
    
         
            +
            Spatial Web Foundation +
         
     | 
| 
      
 20 
     | 
    
         
            +
            5877 Obama Blvd +
         
     | 
| 
      
 21 
     | 
    
         
            +
            Los Angeles, CA 90016 +
         
     | 
| 
      
 22 
     | 
    
         
            +
            USA
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            E-mail: link:mailto:info@spatialwebfoundation.org[info@spatialwebfoundation.org]
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            // [align=center]
         
     | 
| 
      
 28 
     | 
    
         
            +
            // [css color:#007724]#**Connecting the physical and digital worlds**#
         
     | 
    
        data/data/swf/i18n.yaml
    ADDED