Debian Codegraph @

texmf-dist/tex/generic/tex4ht/usepackage.4ht

raw
1 % usepackage.4ht (2026-05-14-12:45), generated from tex4ht-4ht.tex
2 % Copyright 2003-2009 Eitan M. Gurari
3 % Copyright 2009-2026 TeX Users Group
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % https://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <https://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2026-05-14-12:45}
21
22 \def\:temp{tex4ht}\ifx \:temp\@currname
23 \:warning{\string\usepackage{tex4ht} again?}
24 \def\:temp#1htex4ht.def,tex4ht.sty#2!*?: {\def\:temp{#2}}
25 \expandafter\:temp \@filelist htex4ht.def,tex4ht.sty!*?: %
26 \ifx \:temp\empty \else
27 \:warning{if
28 \string\RequirePackage[tex4ht]{hyperref} or
29 \string\usepackage[tex4ht]{hyperref} was
30 used try instead, repectively,
31 \string\RequirePackage{hyperref} or
32 \string\usepackage{hyperref}}
33 \fi
34
35 \fi
36 \gdef\a:usepackage{\use:package ,!*?: }
37 \gdef\use:package#1,{%
38 \if :#1:\def\:temp##1!*?: {}\else
39 \def\:temp{#1}\ifx \@currname\:temp
40 \def\:temp##1!*?: {\input usepackage.4ht }%
41 \else \let\:temp=\use:package \fi
42 \fi \:temp}
43 \Configure{PackageHooks}{titlesec.sty}{titlesec-hooks.4ht}
44 \Configure{PackageHooks}{multibib.sty}{multibib-hooks.4ht}
45 \Configure{PackageHooks}{biblatex-chicago.sty}{biblatex-chicago-hooks.4ht}
46 \Configure{PackageHooks}{cleveref.sty}{cleveref-hooks.4ht}
47 \Configure{PackageHooks}{xr.sty}{xr-hooks.4ht}
48 \Configure{PackageHooks}{xr-hyper.sty}{xrhyper-hooks.4ht}
49 \Configure{PackageHooks}{eso-pic.sty}{esopic-hooks.4ht}
50 \Configure{PackageHooks}{showframe.sty}{showframe-hooks.4ht}
51 \Configure{PackageHooks}{expl3.sty}{expl3-hooks.4ht}
52 \Configure{PackageHooks}{savetrees.sty}{savetrees-hooks.4ht}
53 \Configure{PackageHooks}{newcomputermodern.sty}{newcomputermodern-hooks.4ht}
54 \Configure{PackageHooks}{newcomputermodern.sty}{newcomputermodern-hooks.4ht}
55 \Configure{PackageHooks}{fontawesome5-utex-helper.sty}%
56 {fontawesome5-utex-helper-hooks.4ht}
57 \Configure{PackageHooks}{fontawesome5.sty}{fontawesome5-hooks.4ht}
58 \Configure{PackageHooks}{fontawesome6-utex-helper.sty}%
59 {fontawesome6-utex-helper-hooks.4ht}
60 \Configure{PackageHooks}{biblatex.sty}{biblatex-hooks.4ht}
61 \Configure{PackageHooks}{xeCJK.sty}{xecjk-hooks.4ht}
62 \Configure{PackageHooks}{unicode-math.sty}{unicode-math-hooks.4ht}
63 \Configure{PackageHooks}{ctex.sty}{ctex-hooks.4ht}
64 \AddToHook{class/ctexart/before}{\input{ctexart-hooks.4ht}}
65 \Configure{PackageHooks}{luatexja.sty}{luatexja-hooks.4ht}
66 \Configure{PackageHooks}{luatexja-fontspec.sty}{luatexja-hooks.4ht}
67 \Configure{PackageHooks}{polyglossia.sty}{polyglossia-hooks.4ht}
68 \Configure{PackageHooks}{fontspec.sty}{fontspec-hooks.4ht}
69 \Configure{PackageHooks}{tikz.sty}{tikz-hooks.4ht}
70 \Configure{PackageHooks}{pgf.sty}{pgf-hooks.4ht}
71 \Configure{PackageHooks}{pdfbase.sty}{pdfbase-hooks.4ht}
72 \Configure{PackageHooks}{pdfx.sty}{pdfx-hooks.4ht}
73 \Configure{PackageHooks}{lua-widow-control.sty}{lua-widow-control-hooks.4ht}
74 \Configure{PackageHooks}{tagpdf.sty}{tagpdf-hooks.4ht}
75 \Configure{PackageHooks}{tagpdf-base.sty}{tagpdf-base-hooks.4ht}
76 \Configure{PackageHooks}{accessibility.sty}{accessibility-hooks.4ht}
77 \Configure{PackageHooks}{embedfile.sty}{embedfile-hooks.4ht}
78 \Configure{PackageHooks}{breakurl.sty}{breakurl-hooks.4ht}
79 \Configure{PackageHooks}{hyperref.sty}{hyperref-hooks.4ht}
80 \Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}
81 \Configure{PackageHooks}{draftwatermark.sty}{draftwatermark-hooks.4ht}
82 \AddToHook{package/tabu/before}{\RequirePackage{tabularx}}
83 \Configure{PackageHooks}{caption.sty}{caption-hooks.4ht}
84 \Configure{PackageHooks}{footnotebackref.sty}{footnotebackref-hooks.4ht}
85 \Configure{PackageHooks}{novel-pdfx.sty}{novel-pdfx-hooks.4ht}
86 \AddToHook{package/doc/before}{\SUPOff}
87 \AddToHook{package/doc/after}{\SUPOn}
88 \AddToHook{package/hypdoc/before}{\SUPOff}
89 \AddToHook{package/hypdoc/after}{\SUPOn}
90 \Configure{PackageHooks}{mathtools.sty}{mathtools-hooks.4ht}
91 \Configure{PackageHooks}{resizegather.sty}{resizegather-hooks.4ht}
92 \Configure{PackageHooks}{babel.sty}{babel-sty-hooks.4ht}
93 \Configure{PackageHooks}{minted.sty}{minted-sty-hooks.4ht}
94 \Configure{PackageHooks}{xyling.sty}{xyling-hooks.4ht}
95 \Configure{PackageHooks}{graphics.sty}{graphics-hooks.4ht}
96 \Configure{PackageHooks}{graphbox.sty}{graphbox-hooks.4ht}
97 \Configure{PackageHooks}{xcolor.sty}{xcolor-hooks.4ht}
98 \Configure{PackageHooks}{colortbl.sty}{colortbl-hooks.4ht}
99 \Configure{PackageHooks}{enumitem.sty}{enumitem-hooks.4ht}
100 \Configure{PackageHooks}{imakeidx.sty}{imakeidx-hooks.4ht}
101 \Configure{PackageHooks}{fancyhdr.sty}{fancyhdr-hooks.4ht}
102 \Configure{PackageHooks}{exerquiz.sty}{exerquiz-hooks.4ht}
103 \Configure{PackageHooks}{hyperxmp.sty}{hyperxmp-hooks.4ht}
104 \Configure{PackageHooks}{datetime2.sty}{datetime2-hooks.4ht}
105 \Configure{PackageHooks}{manyfoot.sty}{manyfoot-hooks.4ht}
106 \Configure{PackageHooks}{bigfoot.sty}{bigfoot-hooks.4ht}
107
108 \InputIfFileExists{usepackage-user.4ht}{}
109
110
111 \endinput
112