使用带有自定义 XMP 数据包的 pdfx

使用带有自定义 XMP 数据包的 pdfx

当用于pdfx生成 PDF/A-1b 文档时,应在名为 的文件中提供必要的元数据_texname_.xmpdata,该元数据稍后将被转换为适当的 XMP 包pdfa.xmpi。(手动的,第 5 页)。

例子test.xmpdata

\Title{Test}
\Subject{Random}
\Author{amyspark}
\Keywords{demo\sep test}
\Publisher{See}
\Copyright{\copyright 2016 Amyspark CC-BY-NC-ND}
\CopyrightURL{https://creativecommons.org/licenses/by-nc-nd/4.0/}
\PublicationType{book}

是否有可能,让这个包使用完全不同的数据包?例如,由知识共享“选择许可证”页面

<?xpacket begin='' id=''?>
<x:xmpmeta xmlns:x='adobe:ns:meta/'>
  <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
    <rdf:Description rdf:about=''
             xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
      <xapRights:Marked>True</xapRights:Marked>
    </rdf:Description>
    <rdf:Description rdf:about=''
             xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
      <xapRights:WebStatement rdf:resource='My URL'/>
    </rdf:Description>
    <rdf:Description rdf:about=''
             xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'
             >
        <xapRights:UsageTerms>
            <rdf:Alt>
                <rdf:li xml:lang='x-default' >This work is licensed under a &lt;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-nc-nd/4.0/&#34;&gt;Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License&lt;/a&gt;.</rdf:li>
                <rdf:li xml:lang='en_US' >This work is licensed under a &lt;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-nc-nd/4.0/&#34;&gt;Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License&lt;/a&gt;.</rdf:li>
                <rdf:li xml:lang='en' >This work is licensed under a &lt;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-nc-nd/4.0/&#34;&gt;Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License&lt;/a&gt;.</rdf:li>
            </rdf:Alt>
        </xapRights:UsageTerms>
    </rdf:Description>
    <rdf:Description rdf:about=''
             xmlns:dc='http://purl.org/dc/elements/1.1/'>
        <dc:title>
            <rdf:Alt>
              <rdf:li xml:lang='x-default'>Title</rdf:li>
              <rdf:li xml:lang='en_US'>Title</rdf:li>
            </rdf:Alt>
        </dc:title>
    </rdf:Description>
    <rdf:Description rdf:about=''
      xmlns:cc='http://creativecommons.org/ns#'>
      <cc:license rdf:resource='http://creativecommons.org/licenses/by-nc-nd/4.0/'/>
    </rdf:Description>
    <rdf:Description rdf:about=''
      xmlns:cc='http://creativecommons.org/ns#'>
      <cc:attributionName>My name</cc:attributionName>
    </rdf:Description>
    <rdf:Description rdf:about=''
      xmlns:cc='http://creativecommons.org/ns#'>
      <cc:morePermissions rdf:resource='Ask permissions URL'/>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>
<?xpacket end='r'?>

我对描述 CC 许可的属性特别感兴趣(在文件底部)。

相关内容