XMP Meta Data » Historie » Version 4
Patrick Schulz, 21.03.2025 10:31
1 | 1 | Patrick Schulz | h1. XMP Meta Data |
---|---|---|---|
2 | |||
3 | 3 | Patrick Schulz | h2. XMP Templates |
4 | 1 | Patrick Schulz | |
5 | 3 | Patrick Schulz | h3. PDF/UA-1 |
6 | |||
7 | 4 | Patrick Schulz | * ***"template-ua.xmp":https://redmine.le-tex.de/attachments/30479*** |
8 | 3 | Patrick Schulz | |
9 | 1 | Patrick Schulz | PDF/UA requires meta data to be embedded into the PDF file. CoCoTeX provides two ways to do that: If the TeX run does not find a xmp file that has the same basename as the .tex document, it generates one from the data in the tpMeta environment. If there is a .xmp file (either because it was there from the beginning, or it was generated during a previous tex run), it includes that one. If the xmp file is to be generated by the converter, make sure to use the "attached template.xmp":https://redmine.le-tex.de/attachments/27865 (see below) and include the document specific meta data in line 24 instead of the comment. |
10 | |||
11 | ***Important: Don't remove anything in that template, especially not the PIs at the beginning and end, and the blank spaces at the bottom of the template!*** |
||
12 | |||
13 | Also be cautious where to use @rdf:Bag@, @rdf:Alt@ and @rdf:Seq@! |
||
14 | |||
15 | Use the following XML tags for meta data: |
||
16 | 3 | Patrick Schulz | |
17 | h3. for PDF/X-3:2003 |
||
18 | |||
19 | * ***"":*** |
||
20 | 1 | Patrick Schulz | |
21 | 2 | Patrick Schulz | h2. Meta Data to fill in |
22 | 1 | Patrick Schulz | |
23 | 2 | Patrick Schulz | h3. Author |
24 | 1 | Patrick Schulz | |
25 | is a list of the document's main authors or edtiors, one per line: |
||
26 | <pre><code class="xml"> |
||
27 | <dc:creator> |
||
28 | <rdf:Seq> |
||
29 | <rdf:li>Firstname Lastname</rdf:li> |
||
30 | <rdf:li>Firstname Lastname</rdf:li> |
||
31 | ... |
||
32 | </rdf:Seq> |
||
33 | </dc:creator> |
||
34 | </code></pre> |
||
35 | |||
36 | 2 | Patrick Schulz | h3. Document Title |
37 | 1 | Patrick Schulz | |
38 | There can be more than one document title for various languages. The displayed title (e.g. in the pdf viewer window's top line) depends on the selected system language |
||
39 | |||
40 | <pre><code class="xml"> |
||
41 | <dc:title> |
||
42 | <rdf:Alt> |
||
43 | <rdf:li xml:lang="x-default">Default title</rdf:li> |
||
44 | </rdf:Alt> |
||
45 | </dc:title> |
||
46 | </code></pre> |
||
47 | |||
48 | 2 | Patrick Schulz | h3. Publisher |
49 | 1 | Patrick Schulz | |
50 | <pre><code class="xml"> |
||
51 | <dc:publisher> |
||
52 | <rdf:Bag> |
||
53 | <rdf:li>Publisher Name</rdf:li> |
||
54 | </rdf:Bag> |
||
55 | </dc:publisher> |
||
56 | </code></pre> |
||
57 | |||
58 | 2 | Patrick Schulz | h3. Chapter authors/Contributors |
59 | 1 | Patrick Schulz | |
60 | <pre><code class="xml"> |
||
61 | <dc:contributor> |
||
62 | <rdf:Bag> |
||
63 | <rdf:li>Firstname Lastname</rdf:li> |
||
64 | <rdf:li>Firstname Midname Lastname</rdf:li> |
||
65 | ... |
||
66 | </rdf:Bag> |
||
67 | </dc:contributor> |
||
68 | </code></pre> |
||
69 | |||
70 | 2 | Patrick Schulz | h3. Abstract |
71 | 1 | Patrick Schulz | |
72 | Like @dc:title@, @dc:description@ allows multiple entries for different languages. |
||
73 | |||
74 | <pre><code class="xml"> |
||
75 | <dc:description> |
||
76 | <rdf:Alt> |
||
77 | <rdf:li xml:lang="x-default">...</rdf:li> |
||
78 | </rdf:Alt> |
||
79 | </dc:description> |
||
80 | </code></pre> |
||
81 | |||
82 | 2 | Patrick Schulz | h3. Keywords |
83 | 1 | Patrick Schulz | |
84 | <pre><code class="xml"> |
||
85 | <dc:subject> |
||
86 | <rdf:Bag> |
||
87 | <rdf:li>keyword 1</rdf:li> |
||
88 | <rdf:li>keyword 2</rdf:li> |
||
89 | .... |
||
90 | </rdf:Bag> |
||
91 | </dc:subject> |
||
92 | </code></pre> |
||
93 | |||
94 | |||
95 | 2 | Patrick Schulz | h3. Copyright |
96 | 1 | Patrick Schulz | |
97 | <pre><code class="xml"> |
||
98 | <dc:rights> |
||
99 | <rdf:Alt> |
||
100 | <rdf:li xml:lang="x-default">Unless otherwise indicated, this work is licensed under a Creative Commons License Attribution 4.0 International. This does not apply to quoted content and works based on other permissions.</rdf:li> |
||
101 | </rdf:Alt> |
||
102 | </dc:rights> |
||
103 | </code></pre> |
||
104 | |||
105 | 2 | Patrick Schulz | h3. Other |
106 | 1 | Patrick Schulz | |
107 | If you must, you can _alter_ the values of @<pdf:Producer>@ and @<xmp:CreatorTool>@, where @pdf:Producer@ is the tool that generated the PDF, and @xmp:CreatorTool@ is the Tool with which the original manuscript was created prior to any conversions or transformations. |
||
108 | |||
109 | The values of @xmp:ModifyDate@ and @xmp:CreateDate@ are generated and overwritten during the tex run by the ltpdfa package, so you can leave those fields as they are. |