XMP Meta Data » Historie » Revision 14
Revision 13 (Patrick Schulz, 09.07.2025 13:42) → Revision 14/15 (Patrick Schulz, 09.07.2025 13:42)
h1. XMP Meta Data 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>. ***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!*** Also be cautious where to use @rdf:Bag@, @rdf:Alt@ and @rdf:Seq@! The available XML tags for meta data are described below in the [[XMP_Meta_Data#Meta-Data-Tags|Section "Meta Data Tags"]] h2. XMP Templates * ***"template-ua.xmp":https://redmine.le-tex.de/attachments/31213*** * ***"template-a2a.xmp":https://redmine.le-tex.de/attachments/31215*** * ***"tempate-x.xmp":https://redmine.le-tex.de/attachments/31214*** h2. Meta Data Tags h3. Author is a list of the document's main authors or edtiors, one per line: <pre><code class="xml"> <dc:creator> <rdf:Seq> <rdf:li>Firstname Lastname</rdf:li> <rdf:li>Firstname Lastname</rdf:li> ... </rdf:Seq> </dc:creator> </code></pre> h3. Document Title The document title can be given for multiple languages. language. The displayed title (e.g. in the pdf viewer window's top line) depends on the selected system language <pre><code class="xml"> <dc:title> <rdf:Alt> <rdf:li xml:lang="x-default">Default title</rdf:li> </rdf:Alt> </dc:title> </code></pre> h3. Publisher <pre><code class="xml"> <dc:publisher> <rdf:Bag> <rdf:li>Publisher Name</rdf:li> </rdf:Bag> </dc:publisher> </code></pre> h3. Chapter authors/Contributors <pre><code class="xml"> <dc:contributor> <rdf:Bag> <rdf:li>Firstname Lastname</rdf:li> <rdf:li>Firstname Midname Lastname</rdf:li> ... </rdf:Bag> </dc:contributor> </code></pre> h3. Abstract Like @dc:title@, @dc:description@ allows multiple entries for different languages. <pre><code class="xml"> <dc:description> <rdf:Alt> <rdf:li xml:lang="x-default">...</rdf:li> </rdf:Alt> </dc:description> </code></pre> h3. Keywords <pre><code class="xml"> <dc:subject> <rdf:Bag> <rdf:li>keyword 1</rdf:li> <rdf:li>keyword 2</rdf:li> .... </rdf:Bag> </dc:subject> </code></pre> h3. Copyright <pre><code class="xml"> <dc:rights> <rdf:Alt> <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> </rdf:Alt> </dc:rights> </code></pre> h3. Other 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. 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.