Projekt

Allgemein

Profil

XMP Meta Data » Historie » Version 10

Patrick Schulz, 07.05.2025 14:04
XMP-Templates geupdatet

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
14 10 Patrick Schulz
* ***"template-ua.xmp":https://redmine.le-tex.de/attachments/31213***
15
* ***"template-a2a.xmp":https://redmine.le-tex.de/attachments/31215***
16
* ***"tempate-x.xmp":https://redmine.le-tex.de/attachments/31214***
17 1 Patrick Schulz
18 5 Patrick Schulz
h2. Meta Data Tags
19 1 Patrick Schulz
20 2 Patrick Schulz
h3. Author
21 1 Patrick Schulz
22
is a list of the document's main authors or edtiors, one per line:
23
<pre><code class="xml">
24
<dc:creator>
25
  <rdf:Seq>
26
    <rdf:li>Firstname Lastname</rdf:li>
27
    <rdf:li>Firstname Lastname</rdf:li>
28
    ...
29
  </rdf:Seq>
30
</dc:creator>
31
</code></pre>
32
33 2 Patrick Schulz
h3. Document Title
34 1 Patrick Schulz
35
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
36
37
<pre><code class="xml">
38
<dc:title>
39
  <rdf:Alt>
40
    <rdf:li xml:lang="x-default">Default title</rdf:li>
41
  </rdf:Alt>
42
</dc:title>
43
</code></pre>
44
45 2 Patrick Schulz
h3. Publisher
46 1 Patrick Schulz
47
<pre><code class="xml">
48
<dc:publisher>
49
  <rdf:Bag>
50
    <rdf:li>Publisher Name</rdf:li>
51
  </rdf:Bag>
52
</dc:publisher>
53
</code></pre>
54
55 2 Patrick Schulz
h3. Chapter authors/Contributors
56 1 Patrick Schulz
57
<pre><code class="xml">
58
<dc:contributor>
59
  <rdf:Bag>
60
    <rdf:li>Firstname Lastname</rdf:li>
61
    <rdf:li>Firstname Midname Lastname</rdf:li>
62
    ...
63
  </rdf:Bag>
64
</dc:contributor>
65
</code></pre>
66
67 2 Patrick Schulz
h3. Abstract
68 1 Patrick Schulz
69
Like @dc:title@, @dc:description@ allows multiple entries for different languages.
70
71
<pre><code class="xml">
72
<dc:description>
73
  <rdf:Alt>
74
    <rdf:li xml:lang="x-default">...</rdf:li>
75
  </rdf:Alt>
76
</dc:description>
77
</code></pre>
78
79 2 Patrick Schulz
h3. Keywords
80 1 Patrick Schulz
81
<pre><code class="xml">
82
<dc:subject>
83
  <rdf:Bag>
84
    <rdf:li>keyword 1</rdf:li>
85
    <rdf:li>keyword 2</rdf:li>
86
    ....
87
  </rdf:Bag>
88
</dc:subject>
89
</code></pre>
90
91
92 2 Patrick Schulz
h3. Copyright
93 1 Patrick Schulz
94
<pre><code class="xml">
95
<dc:rights>
96
  <rdf:Alt>
97
    <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>
98
  </rdf:Alt>
99
</dc:rights>
100
</code></pre>
101
102 2 Patrick Schulz
h3. Other
103 1 Patrick Schulz
104
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.
105
106
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.