Projekt

Allgemein

Profil

Accessibiliy Features » Historie » Version 4

Patrick Schulz, 16.09.2024 12:31

1 1 Patrick Schulz
h1. Accessibiliy Features
2
3
h2. XMP Meta Data
4
5 3 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.
6 1 Patrick Schulz
7
***Important: Don't remove anything in that template, especially not the PIs at the beginning and end, and the blank spaces at the bottom if the template!***
8
9
Also be cautious where to use @rdf:Bag@, @rdf:Alt@ and @rdf:Seq@!
10
11
Use the following XML tags for meta data:
12
13
14 4 Patrick Schulz
h4. Author
15 1 Patrick Schulz
16
is a list of the document's main authors or edtiors, one per line:
17
<pre><code class="xml">
18
<dc:creator>
19
  <rdf:Seq>
20
    <rdf:li>Firstname Lastname</rdf:li>
21
    <rdf:li>Firstname Lastname</rdf:li>
22
    ...
23
  </rdf:Seq>
24
</dc:creator>
25
</code></pre>
26
27 4 Patrick Schulz
h4. Document Title
28 1 Patrick Schulz
29
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
30
31
<pre><code class="xml">
32
<dc:title>
33
  <rdf:Alt>
34
    <rdf:li xml:lang="x-default">Default title</rdf:li>
35
  </rdf:Alt>
36
</dc:title>
37
</code></pre>
38
39 4 Patrick Schulz
h4. Publisher
40 1 Patrick Schulz
41
<pre><code class="xml">
42
<dc:publisher>
43
  <rdf:Bag>
44
    <rdf:li>Publisher Name</rdf:li>
45
  </rdf:Bag>
46
</dc:publisher>
47
</code></pre>
48
49 4 Patrick Schulz
h4. Chapter authors/Contributors
50 1 Patrick Schulz
51
<pre><code class="xml">
52
<dc:contributor>
53
  <rdf:Bag>
54
    <rdf:li>Firstname Lastname</rdf:li>
55
    <rdf:li>Firstname Midname Lastname</rdf:li>
56
    ...
57
  </rdf:Bag>
58
</dc:contributor>
59
</code></pre>
60
61 4 Patrick Schulz
h4. Abstract
62 1 Patrick Schulz
63
Like @dc:title@, @dc:description@ allows multiple entries for different languages.
64
65
<pre><code class="xml">
66
<dc:description>
67
  <rdf:Alt>
68
    <rdf:li xml:lang="x-default">...</rdf:li>
69
  </rdf:Alt>
70
</dc:description>
71
</code></pre>
72
73 4 Patrick Schulz
h4. Keywords
74 1 Patrick Schulz
75
<pre><code class="xml">
76
<dc:subject>
77
  <rdf:Bag>
78
    <rdf:li>keyword 1</rdf:li>
79
    <rdf:li>keyword 2</rdf:li>
80
    ....
81
  </rdf:Bag>
82
</dc:subject>
83
</code></pre>
84
85
86 4 Patrick Schulz
h4. Copyright
87 1 Patrick Schulz
88
<pre><code class="xml">
89
<dc:rights>
90
  <rdf:Alt>
91
    <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>
92
  </rdf:Alt>
93
</dc:rights>
94
</code></pre>
95 4 Patrick Schulz
96
h4. Other
97
98
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.
99
100
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.