summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/novel/lualatex/novel-xmppacket.sty
blob: 006c5f777e84f09458bdae0d1fe89197bad3e171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
%%
%% This is file `novel-xmppacket.sty', part of `novel' document class.
%% Copyright 2017-2023 Robert Allgeyer.
%%
%% 
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%% 
%%
%% ----------------------------------------------------------------------------
%%
%% The descriptive properties of the namespaces, and the general format of XMP,
%% are public standards released by Adobe Systems Incorporated.
%% See http://www.adobe.com/products/xmp.html
%%
%% ----------------------------------------------------------------------------
%%
%%
\ProvidesFile{novel-xmppacket.sty}%
[2023/02/08 any version. (novel XMP packet template)]
%%



% This packet uses utf-8 BOM.
% The catcodes allow # _ ~ $ % & to be used as ordinary characters.
% \edef and \let get rid of escape backslashes in front of those characters.
% NO COMMENTS AFTER THIS! Until \endgroup.





\begingroup
\catcode`\¤=12\relax
\lccode`\¤="FEFF
\lowercase{\gdef\@novelBOM{¤}}
\catcode`\#=12
\catcode`\_=12
\catcode`\~=12
\catcode`\$=12
\catcode`\%=12
\catcode`\&=12

\edef\@pctchar{\expandafter\@gobble\string\%}
\let\%\@pctchar
\edef\@hashchar{\expandafter\@gobble\string\#}
\let\#\@hashchar
\edef\@ampchar{\expandafter\@gobble\string\&}
\let\&\@ampchar
\edef\@dollarchar{\expandafter\@gobble\string\$}
\let\$\@dollarchar
\edef\@underchar{\expandafter\@gobble\string\_}
\let\_\@underchar
\edef\@tildechar{\expandafter\@gobble\string\~}
\let\~\@tildechar

\xdef\@xmpPacket{<?xpacket begin="\@novelBOM" id="W5M0MpCehiHzreSzNTczkc9d"?>^^J
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:08:04\pad@iv\pad@iv">^^J
\pad@ii<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">^^J
\pad@iv<rdf:Description rdf:about=""^^J
\pad@viii xmlns:xmp="http://ns.adobe.com/xap/1.0/">^^J
\pad@vi<xmp:ModifyDate>\@modifyDate</xmp:ModifyDate>^^J
\pad@vi<xmp:CreateDate>\@createDate</xmp:CreateDate>^^J
\@applicationString
\pad@vi<xmp:MetadataDate>\@metadataDate</xmp:MetadataDate>^^J
\pad@iv</rdf:Description>^^J
\pad@iv<rdf:Description rdf:about=""^^J
\pad@viii xmlns:dc="http://purl.org/dc/elements/1.1/">^^J
\pad@vi<dc:format>application/pdf</dc:format>^^J
\@titleString
\@authorString
\pad@iv</rdf:Description>^^J
\pad@iv<rdf:Description rdf:about=""^^J
\pad@viii xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">^^J
\pad@vi<xmpMM:DocumentID>\@documentID</xmpMM:DocumentID>^^J
\pad@vi<xmpMM:InstanceID>\@instanceID</xmpMM:InstanceID>^^J
\pad@vi<xmpMM:RenditionClass>default</xmpMM:RenditionClass>^^J
\pad@vi<xmpMM:VersionID>1</xmpMM:VersionID>^^J
\pad@iv</rdf:Description>^^J
\pad@iv<rdf:Description rdf:about=""^^J
\pad@viii xmlns:pdf="http://ns.adobe.com/pdf/\@pdfVersion/">^^J
\@producerString
\pad@vi<pdf:Trapped>False</pdf:Trapped>^^J
\pad@iv</rdf:Description>^^J
\pad@iv<rdf:Description rdf:about=""^^J
\pad@viii xmlns:pdfx="http://ns.adobe.com/pdfx/\@pdfVersion/">^^J
\@verconfString
\pad@iv</rdf:Description>^^J
\pad@iv<rdf:Description rdf:about=""^^J
\pad@viii xmlns:pdfxid="http://www.npes.org/pdfx/ns/id/">^^J
\@pdfidString
\pad@iv</rdf:Description>^^J
\pad@ii</rdf:RDF>^^J
</x:xmpmeta>^^J
\pad@dxii
<?xpacket end="w"?>}
\endgroup


% OK to use comments now.
%%
\endinput
%%
%% End of file `novel-xmppacket.sty'.