Debian Codegraph @

texmf-dist/tex/latex/pdfmanagement/pdfmanagement-init.sty

raw
1 %%
2 %% This is file `pdfmanagement-init.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% pdfmanagement.dtx (with options: `headinit')
8 %% pdfmanagement.dtx (with options: `package')
9 %%
10 %% Copyright (C) 2019-2026 The LaTeX Project
11 %%
12 %% It may be distributed and/or modified under the conditions of
13 %% the LaTeX Project Public License (LPPL), either version 1.3c of
14 %% this license or (at your option) any later version. The latest
15 %% version of this license is in the file:
16 %%
17 %% https://www.latex-project.org/lppl.txt
18 %%
19 %% This file is part of the "LaTeX PDF management bundle" (The Work in LPPL)
20 %% and all files in that bundle must be distributed together.
21 %%
22 %% File: pdfmanagement.dtx
23 \ProvidesExplPackage{pdfmanagement-init}{2026-05-26}{0.97c}
24 {LaTeX PDF management bundle}
25
26 \DeclareOption { debug }
27 {
28 \msg_redirect_module:nnn { pdf } { none } { warning }
29 }
30
31 \ProcessOptions\relax
32 %% File: pdfmanagement.dtx
33 \RequirePackage{tagpdf-base}
34 \input{pdfmanagement.ltx}
35 \keys_define:nn { document / metadata }
36 {
37 ,pdfversion .code:n =
38 {
39 \pdf_version_gset:n { #1 }
40 \AddToDocumentProperties[document]{pdfversion}{#1}
41 }
42 ,uncompress .code:n =
43 {
44 \pdf_uncompress:
45 }
46 ,uncompress .value_forbidden:n = true
47 ,lang .code:n =
48 {
49 \pdfmanagement_add:nnn {Catalog} {Lang}{(#1)}
50 \AddToDocumentProperties[document]{lang}{#1}
51 }
52 ,pdfstandard .code:n =
53 {
54 \clist_map_inline:nn{#1}
55 {
56 \keys_set:ne {document / metadata} {_pdfstandard=\str_uppercase:n{##1}}
57 }
58 }
59 }
60 %%
61 %%
62 %% End of file `pdfmanagement-init.sty'.