Accessibiliy Features » Historie » Version 1
Patrick Schulz, 16.09.2024 12:26
1 | 1 | Patrick Schulz | h1. Accessibiliy Features |
---|---|---|---|
2 | |||
3 | h2. XMP Meta Data |
||
4 | |||
5 | 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 and include the document specific meta data in line 24 instead of the comment. |
||
6 | |||
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 | h3. Author |
||
15 | |||
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 | h3. Document Title |
||
28 | |||
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 | h3. Publisher |
||
40 | |||
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 | h3. Chapter authors/Contributors |
||
50 | |||
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 | h3. Abstract |
||
62 | |||
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 | h3. Keywords |
||
74 | |||
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 | h3. Copyright |
||
87 | |||
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> |