Debian Codegraph @

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

raw
1 %%
2 %% This is file `pdfmanagement.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% pdfmanagement.dtx (with options: `standalone')
8 %%
9 %% Copyright (C) 2019-2026 The LaTeX Project
10 %%
11 %% It may be distributed and/or modified under the conditions of
12 %% the LaTeX Project Public License (LPPL), either version 1.3c of
13 %% this license or (at your option) any later version. The latest
14 %% version of this license is in the file:
15 %%
16 %% https://www.latex-project.org/lppl.txt
17 %%
18 %% This file is part of the "LaTeX PDF management bundle" (The Work in LPPL)
19 %% and all files in that bundle must be distributed together.
20 %%
21 %% File: pdfmanagement.dtx
22 \ProvidesExplPackage{pdfmanagement}{2026-05-26}{0.97c}
23 {LaTeX PDF management bundle}
24
25 \DeclareKeys[pdfmanagement]
26 {
27 backend .code:n =
28 {
29 \str_if_exist:NTF \c_sys_backend_str
30 {
31 \PackageWarning{pdfmanagement}
32 {
33 backend~is~already~loaded.\MessageBreak
34 'backend=#1'~ignored.
35 }
36 }
37 {
38 \tl_new:N \l__pdfmanagement_backend_tl
39 \tl_set:Nn \l__pdfmanagement_backend_tl {#1}
40 }
41 },
42 backend .usage = load,
43 }
44 \ProcessKeyOptions[pdfmanagement]
45
46 \IfPDFManagementActiveT
47 {
48 \endinput
49 }
50
51 \RequirePackage{pdfmanagement-init}
52 \tl_if_exist:NTF \l__pdfmanagement_backend_tl
53 {
54 \exp_args:No \sys_load_backend:n { \l__pdfmanagement_backend_tl }
55 }
56 {
57 \sys_ensure_backend:
58 }
59 \file_input:n {l3backend-pdf-\c_sys_backend_str.def}
60 \hook_use_once:n {pdfmanagement/add}
61 \RequirePackage{pdfmanagement-firstaid}
62 %%
63 %%
64 %% End of file `pdfmanagement.sty'.