| 1 |
|
| 2 |
\ifdefined\minimxmploaded |
| 3 |
\wlog{(skipped)} |
| 4 |
\expandafter\endinput\fi |
| 5 |
\chardef\minimxmploaded=\catcode`\: |
| 6 |
\catcode`\:=11 |
| 7 |
|
| 8 |
\input minim-alloc |
| 9 |
\directlua { require('minim-xmp') } |
| 10 |
|
| 11 |
% do not add pdf metadata by default |
| 12 |
\pdfvariable suppressoptionalinfo = 255 |
| 13 |
|
| 14 |
% \metadatamodification |
| 15 |
\newcount \metadatamodification |
| 16 |
\metadatamodification = 0 |
| 17 |
|
| 18 |
% \metadataseparator |
| 19 |
\newcount \metadataseparator |
| 20 |
\metadataseparator = `\; |
| 21 |
|
| 22 |
% \writedocumentmetadata |
| 23 |
\newcount \writedocumentmetadata |
| 24 |
\writedocumentmetadata = 1 |
| 25 |
|
| 26 |
% Defined from the lua side: |
| 27 |
% |
| 28 |
% \getmetadata ns:key |
| 29 |
% \setmetadata ns:key {value} |
| 30 |
% \startmetadata |
| 31 |
% |
| 32 |
% idem, but undocumented as of yet: |
| 33 |
% \newmetadata |
| 34 |
% \writemetadata (expands to pdf object number) |
| 35 |
% \includemetadata{filename} (expands to pdf object number) |
| 36 |
|
| 37 |
\catcode`\:=\minimxmploaded |
| 38 |
|