XMP Meta Data » Historie » Version 7
Patrick Schulz, 21.03.2025 11:28
1 | 1 | Patrick Schulz | h1. XMP Meta Data |
---|---|---|---|
2 | |||
3 | 5 | Patrick Schulz | Some PDF standards require an embedded XMP meta data 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 either one of the the attached templates (see below) and include the document specific meta data in place of the comment <pre><!-- INSERT METADATA HERE AND REMOVE COMMENT --></pre>. |
4 | 1 | Patrick Schulz | |
5 | 5 | Patrick Schulz | ***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!*** |
6 | 3 | Patrick Schulz | |
7 | 5 | Patrick Schulz | Also be cautious where to use @rdf:Bag@, @rdf:Alt@ and @rdf:Seq@! |
8 | 3 | Patrick Schulz | |
9 | 6 | Patrick Schulz | The available XML tags for meta data are described below in the [[XMP_Meta_Data#Meta-Data-Tags|Section "Meta Data Tags"]] |
10 | 1 | Patrick Schulz | |
11 | 5 | Patrick Schulz | h2. XMP Templates |
12 | 1 | Patrick Schulz | |
13 | 5 | Patrick Schulz | h3. PDF/UA-1 |
14 | 1 | Patrick Schulz | |
15 | 5 | Patrick Schulz | * ***"template-ua.xmp":https://redmine.le-tex.de/attachments/30479*** |
16 | 1 | Patrick Schulz | |
17 | 3 | Patrick Schulz | h3. for PDF/X-3:2003 |
18 | |||
19 | * ***"":*** |
||
20 | 1 | Patrick Schulz | |
21 | 5 | Patrick Schulz | h2. Meta Data Tags |
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. |