summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pdfx/pdfa.xmp
blob: 271cc62d92a959fb86c42fa8288047077140b232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                                 
%%  File: pdfa.xmp   (for pdfx.sty  v1.6)                                      
%% 
%%  Copyright (c) 2018, CV Radhakrishnan <cvr@river-valley.org>,
%%    Han The Thanh <thanh@river-valley.org>,
%%    Ross Moore <ross.moore@mq.edu.au>,
%%    Peter Selinger <selinger@mathstat.dal.ca>
%% 
%%  This file may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.2 of this
%%  license or (at your option) any later version.  The latest version
%%  of this license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%%  and version 1.2 or later is part of all distributions of LaTeX
%%  version 1999/12/01 or later.
%%
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.0-c316 44.253921, Sun Oct 01 2006 17:14:39">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
%            xmlns:pdf       = "http://ns.adobe.com/pdf/1.3/"
%            xmlns:pdfx      = "http://ns.adobe.com/pdfx/1.3/"
%            xmlns:pdfxid="http://www.npes.org/pdfx/ns/id/">
%            xmlns:pdfaid    = "http://www.aiim.org/pdfa/ns/id/"
%            xmlns:xmp       = "http://ns.adobe.com/xap/1.0/"
%            xmlns:xmpRights = "http://ns.adobe.com/xap/1.0/rights/"
%            xmlns:dc        = "http://purl.org/dc/elements/1.1/"
%            xmlns:dcterms   = "http://purl.org/dc/terms/"
%            xmlns:pdfaExtension = "http://www.aiim.org/pdfa/ns/extension/"
%            xmlns:pdfaField     = "http://www.aiim.org/pdfa/ns/field#"
%            xmlns:pdfaProperty  = "http://www.aiim.org/pdfa/ns/property#"
%            xmlns:pdfaSchema    = "http://www.aiim.org/pdfa/ns/schema#"
%            xmlns:pdfaType      = "http://www.aiim.org/pdfa/ns/type#"
%	        xmlns:prism     = "http://prismstandard.org/namespaces/basic/2.2/"
%% RRM: Other possible namespaces.
%% If these are used, then appropriate tags need to be declared, using
%%  pdfaExtension:schemas  similarly to below for  prism:
%	        xmlns:pim       = "http://prismstandard.org/namespaces/pim/2.2/"
%	        xmlns:prl       = "http://prismstandard.org/namespaces/prl/2.1/"
%	        xmlns:pur       = "http://prismstandard.org/namespaces/primusagerights/2.1/"
%      >
  <rdf:Description rdf:about="" 
   xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
   xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
   xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
%%  RRM:  do we really need the following two declarations ?
%                       xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#"
%                       xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#"
    >
   <pdfaExtension:schemas>
   <rdf:Bag>
     <rdf:li rdf:parseType="Resource">
       <pdfaSchema:namespaceURI>http://ns.adobe.com/pdfx/1.3/</pdfaSchema:namespaceURI>
       <pdfaSchema:prefix>pdfx</pdfaSchema:prefix>
       <pdfaSchema:schema>PDF/X Schema</pdfaSchema:schema>
       <pdfaSchema:property><rdf:Seq>
          <rdf:li rdf:parseType="Resource">
            <pdfaProperty:category>external</pdfaProperty:category>
            <pdfaProperty:description>URL to an online version or preprint</pdfaProperty:description>
            <pdfaProperty:name>AuthoritativeDomain</pdfaProperty:name>
            <pdfaProperty:valueType>Text</pdfaProperty:valueType>
          </rdf:li></rdf:Seq>
       </pdfaSchema:property>
   </rdf:li>
%% RRM: this declares the namespace resource for PDF/UA metadata
   <rdf:li rdf:parseType="Resource">
      <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
      <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
      <pdfaSchema:schema>PDF/UA ID Schema</pdfaSchema:schema>
      <pdfaSchema:property><rdf:Seq>
         <rdf:li rdf:parseType="Resource">
            <pdfaProperty:category>internal</pdfaProperty:category>
            <pdfaProperty:description>Part of PDF/UA standard</pdfaProperty:description>
            <pdfaProperty:name>part</pdfaProperty:name>
            <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
         </rdf:li></rdf:Seq>
      </pdfaSchema:property>
   </rdf:li>
%% RRM: this declares the namespace resource for PRISM metadata
   <rdf:li rdf:parseType="Resource">
      <pdfaSchema:schema>PRISM metadata</pdfaSchema:schema>
      <pdfaSchema:namespaceURI>http://prismstandard.org/namespaces/basic/2.2/</pdfaSchema:namespaceURI>
      <pdfaSchema:prefix>prism</pdfaSchema:prefix>
      <pdfaSchema:property><rdf:Seq>
%% RRM: Only need to define the tags that are actually used below. But \ifx ... \fi  must be all on one line.
%% declare prism:aggregationType
%\ifx\xmp@PublicationType\@empty\else     % need at least one field, for validation
        <rdf:li rdf:parseType="Resource">^^J            <pdfaProperty:name>aggregationType</pdfaProperty:name>^^J            <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J            <pdfaProperty:category>external</pdfaProperty:category>^^J            <pdfaProperty:description>The type of publication. If defined, must be one of book, catalog, feed, journal, magazine, manual, newsletter, pamphlet.</pdfaProperty:description>^^J      </rdf:li> %\fi
%% declare prism:issn
\ifx\xmp@Journalnumber\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>issn</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>The ISSN for the publication in which the resource was published</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:volume
\ifx\xmp@Volume\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>volume</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Additional identifier for the publication where the resource appeared, providing the Volume portion of the common Volume, Number scheme</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:number
\ifx\xmp@Issue\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>number</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Number of the Issue within the Volume</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:coverDisplayDate
\ifx\xmp@CoverDisplayDate\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>coverDisplayDate</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Date on the cover of a magazine issue, as a human-readable text string</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:coverDate
\ifx\xmp@CoverDate\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>coverDate</pdfaProperty:name>^^J    <pdfaProperty:valueType>Date</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Date on the cover of a magazine issue, suitable for storing in a database field with a 'date' data type</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:issueName
\ifx\xmp@Journaltitle\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>issueName</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Additional identifier, typically used for major issues of a magazine or other resource</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:pageRange
\ifx\xmp@Firstpage\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>pageRange</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Page range for the published print version of the resource</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:startingPage
\ifx\xmp@Firstpage\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>startingPage</pdfaProperty:name>^^J    <pdfaProperty:valueType>Integer</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>First page number for the published version of the resource</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:endingPage
\ifx\xmp@Lastpage\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>endingPage</pdfaProperty:name>^^J    <pdfaProperty:valueType>Integer</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>The last page number for the printed resource</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:doi
\ifx\xmp@Doi\@empty\else   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>doi</pdfaProperty:name>^^J    <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>Digital Object Identifier, DOI, for the article</pdfaProperty:description>^^J  </rdf:li>\fi
%% declare prism:url
   <rdf:li rdf:parseType="Resource">^^J    <pdfaProperty:name>url</pdfaProperty:name>^^J    <pdfaProperty:valueType>URL</pdfaProperty:valueType>^^J    <pdfaProperty:category>external</pdfaProperty:category>^^J    <pdfaProperty:description>URL for the article or unit of content</pdfaProperty:description>^^J  </rdf:li>
%% RRM: more tags can be declared
%                <rdf:li rdf:parseType="Resource">
%                  <pdfaProperty:name></pdfaProperty:name>
%                  <pdfaProperty:valueType>Text</pdfaProperty:valueType>
%                  <pdfaProperty:category>external</pdfaProperty:category>
%                  <pdfaProperty:description></pdfaProperty:description>
%                </rdf:li>
      </rdf:Seq></pdfaSchema:property>
   </rdf:li>
   </rdf:Bag>
   </pdfaExtension:schemas>
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
   <pdf:Producer>\xmp@Producer</pdf:Producer>
\ifx\xmp@@Keywords\@empty\else   <pdf:Keywords>\xmp@@Keywords</pdf:Keywords>\fi
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
   <dc:format>application/pdf</dc:format>
\ifx\xmp@PublicationType\@empty\else   <dc:type><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@PublicationType>\xmp@PublicationType</rdf:li></rdf:Bag></dc:type>\fi
\ifx\xmp@Title\@empty\else   <dc:title><rdf:Alt><rdf:li\xmp@strictlang\xmp@lang@Title>\xmp@Title</rdf:li></rdf:Alt></dc:title>\fi
\ifx\xmp@@Author\@empty\else   <dc:creator><rdf:Seq><rdf:li\xmp@checklang\xmp@lang@Author>\xmp@@Author</rdf:li></rdf:Seq></dc:creator>\fi
\ifx\xmp@Publisher\@empty\else   <dc:publisher><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Publisher>\xmp@Publisher</rdf:li></rdf:Bag></dc:publisher>\fi
\ifx\xmp@Language\@empty\else   <dc:language><rdf:Bag><rdf:li>\xmp@Language</rdf:li></rdf:Bag></dc:language>\fi
\ifx\xmp@Doi\@empty\else   <dc:identifier>doi:\xmp@Doi</dc:identifier>\fi
\ifx\xmp@ISBN\@empty\else   <dc:identifier>ISBN:\xmp@ISBN</dc:identifier>\fi
\ifx\xmp@URL\@empty\else   <dc:identifier>URL:\xmp@URL</dc:identifier>\fi
\ifx\xmp@Copyright\@empty\else   <dc:rights><rdf:Alt><rdf:li\xmp@strictlang\xmp@lang@Copyright>\xmp@@Copyright</rdf:li></rdf:Alt></dc:rights>\fi
\ifx\xmp@Subject\@empty\else   <dc:description><rdf:Alt><rdf:li\xmp@strictlang\xmp@lang@Subject>\xmp@Subject</rdf:li></rdf:Alt></dc:description>\fi
\ifx\xmp@Keywords\@empty\else   <dc:subject><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Keywords>\xmp@Keywords</rdf:li></rdf:Bag></dc:subject>\fi
\ifx\xmp@Source\@empty\else   <dc:source>\xmp@Source</dc:source>\fi
\ifx\xmp@Coverage\@empty\else   <dc:coverage\xmp@checklang\xmp@lang@Coverage>\xmp@Coverage</dc:coverage>\fi
\ifx\xmp@Date\@empty\else   <dc:date><rdf:Seq><rdf:li>\xmp@Date</rdf:li></rdf:Seq></dc:date>\fi
\ifx\xmp@Contributor\@empty\else   <dc:contributor><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Contributor>\xmp@Contributor</rdf:li></rdf:Bag></dc:contributor>\fi
\ifx\xmp@Relation\@empty\else   <dc:relation><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Relation>\xmp@Relation</rdf:li></rdf:Bag></dc:relation>\fi
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:prism="http://prismstandard.org/namespaces/basic/2.2/">
\ifx\xmp@PublicationType\@empty\else   <prism:aggregationType\xmp@checklang\xmp@lang@PublicationType>\xmp@PublicationType</prism:aggregationType>\fi
\ifx\xmp@Journalnumber\@empty\else   <prism:issn>\xmp@Journalnumber</prism:issn>\fi
\ifx\xmp@Volume\@empty\else   <prism:volume>\xmp@Volume</prism:volume>\fi
\ifx\xmp@Issue\@empty\else   <prism:number>\xmp@Issue</prism:number>\fi
\ifx\xmp@CoverDisplayDate\@empty\else   <prism:coverDisplayDate\xmp@checklang\xmp@lang@CoverDisplayDate>\xmp@CoverDisplayDate</prism:coverDisplayDate>\fi
\ifx\xmp@CoverDate\@empty\else   <prism:coverDate>\xmp@CoverDate</prism:coverDate>\fi
\ifx\xmp@Journaltitle\@empty\else   <prism:issueName\xmp@checklang\xmp@lang@JournalTitle>\xmp@Journaltitle</prism:issueName>\fi
\ifx\xmp@Firstpage\@empty\else   <prism:pageRange>\xmp@Firstpage-\xmp@Lastpage</prism:pageRange>\fi
\ifx\xmp@Firstpage\@empty\else   <prism:startingPage>\xmp@Firstpage</prism:startingPage>\fi
\ifx\xmp@Lastpage\@empty\else   <prism:endingPage>\xmp@Lastpage</prism:endingPage>\fi
\ifx\xmp@Doi\@empty\else   <prism:doi>\xmp@Doi</prism:doi>\fi
\ifx\xmp@Doi\@empty\else   <prism:url>http://dx.doi.org/\xmp@Doi</prism:url>\fi
\ifx\xmp@URL\@empty\else      <prism:url>\xmp@URL</prism:url>\fi
  </rdf:Description>
%% RRM: Is this needed with  PDF/A  or only with  PDF/X ???
  <rdf:Description rdf:about="" xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/">
\ifx\xmp@AuthoritativeDomain\@empty\else<pdfx:AuthoritativeDomain><rdf:Bag><rdf:li>\xmp@AuthoritativeDomain</rdf:li></rdf:Bag></pdfx:AuthoritativeDomain>\fi
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
   <pdfaid:part>\xmp@Part</pdfaid:part>
   <pdfaid:conformance>\xmp@Conformance</pdfaid:conformance>
  </rdf:Description>
\ifx\xmp@PDFUA\@empty\else  <rdf:Description rdf:about="" xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/">^^J   <pdfuaid:part>\xmp@UAlevel</pdfuaid:part>^^J   </rdf:Description>\fi
  <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">
   <xmp:CreatorTool>\xmp@CreatorTool</xmp:CreatorTool>
   <xmp:ModifyDate>\xmp@convDate</xmp:ModifyDate>
   <xmp:CreateDate>\xmp@convDate</xmp:CreateDate>
   <xmp:MetadataDate>\xmp@convDate</xmp:MetadataDate>
\ifx\xmp@Advisory\@empty\else   <xmp:Advisory><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Advisory>\xmp@Advisory</rdf:li></rdf:Bag></xmp:Advisory>\fi
\ifx\xmp@BaseURL\@empty\else   <xmp:BaseURL>\xmp@BaseURL</xmp:BaseURL>\fi
\ifx\xmp@Identifier\@empty\else   <xmp:Identifier><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Identifier>\xmp@Identifier</rdf:li></rdf:Bag></xmp:Identifier>\fi
\ifx\xmp@Nickname\@empty\else   <xmp:Nickname\xmp@checklang\xmp@lang@Nickname>\xmp@Nickname</xmp:Nickname>\fi
\ifx\xmp@Thumbnails\@empty\else   <xmp:Thumbnails><rdf:Alt><rdf:li>\xmp@Thumbnails</rdf:li></rdf:Alt></xmp:Thumbnails>\fi
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:xmpRights = "http://ns.adobe.com/xap/1.0/rights/">
\ifx\xmp@Copyright\@empty\else   <xmpRights:Marked>\ifx\xmp@Copyrighted\@empty True\else\xmp@Copyrighted\fi</xmpRights:Marked>^^J   <xmpRights:UsageTerms><rdf:Alt><rdf:li\xmp@strictlang\xmp@lang@Copyright>\xmp@@Copyright</rdf:li></rdf:Alt></xmpRights:UsageTerms>\fi
\ifx\xmp@CopyrightURL\@empty\else   <xmpRights:WebStatement>\xmp@CopyrightURL</xmpRights:WebStatement>\fi
\ifx\xmp@Owner\@empty\else   <xmpRights:Owner><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Owner>\xmp@Owner</rdf:li></rdf:Bag></xmpRights:Owner>\fi
\ifx\xmp@CertificateURL\@empty\else   <xmpRights:Certificate>\xmp@CertificateURL</xmpRights:Certificate>\fi
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
   <xmpMM:DocumentID>uuid:\xmp@docid</xmpMM:DocumentID>
   <xmpMM:InstanceID>uuid:\xmp@instid</xmpMM:InstanceID>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>
% padding with 512 space characters to allow easier editing within a PDF
\paddingline
\paddingline
\paddingline
\paddingline
%%
%% End of pdfa.xmp
%%
%%