Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-tagpdf-base.sty

raw
1 %%
2 %% This is file `lwarp-tagpdf-base.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `tagpdf-base')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18
19 \LWR@ProvidesPackagePass{tagpdf-base}[2022-08-24]
20 \ExplSyntaxOn
21
22 \newcommand*{\LWR@tagpdf@deactivate}{
23 \keys_set:nn { __tag / setup } {
24 activate/spaces = false ,
25 activate/mc = false ,
26 activate/tree = false ,
27 activate/struct = false ,
28 activate/struct-dest = false
29 }
30 }
31
32 \RenewDocumentCommand \tagpdfsetup { m }{
33 \keys_set:nn { __tag / setup } { #1 }
34 \LWR@tagpdf@deactivate
35 }
36
37 \cs_set_protected:Npn \__tag_whatsits: {}% *88* new
38
39 %% \tag_mc_begin:n {#1}
40
41 %% \tag_mc_end:
42 \cs_set_protected:Nn \tag_mc_end:{% *8* probably not needed because whatsits disabled above
43 \ThisAltText{}% lwarp
44 }
45
46 %% \tag_mc_use:n {#1}
47
48 %% *88* \keys_set:nn { __tag / struct} { #1 }% lwarp
49
50 %% \tag_struct_end:
51 \cs_set_protected:Npn \tag_struct_end:{% *88* maybe not needed
52 \ThisAltText{}% lwarp
53 }
54
55
56 \ExplSyntaxOff
57 \endinput
58 %%
59 %% End of file `lwarp-tagpdf-base.sty'.