Debian Codegraph @

texmf-dist/tex/generic/tex4ht/hyperref-hooks.4ht

raw
1 % hyperref-hooks.4ht (2023-09-17-08:01), generated from tex4ht-4ht.tex
2 % Copyright 2022-2023 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2023-09-17-08:01}
20
21 \:AtEndOfPackage{%
22 \@ifpackageloaded{nameref}{}
23 {%
24 \RequirePackage{ifthen}%
25 \let\sv:label\label
26 \RequirePackage{nameref}%
27 \let\label\sv:label
28 %\input nameref.4ht
29 }
30 % Nameref defines the \@chapter command unconditionally,
31 % but this breaks the page cutting functionality
32 % of TeX4ht, so we need to undefine it.
33 % See this post for more details https://tex.stackexchange.com/q/695624/2891
34 \ifdefined\chapter\else
35 \global\let\@chapter\@relax
36 \fi
37
38 \providecommand*\AMSautorefname{\equationautorefname}
39 \providecommand*\Hfootnoteautorefname{\footnoteautorefname}
40 \providecommand*\Itemautorefname{\itemautorefname}
41 \providecommand*\itemautorefname{item}
42 \providecommand*\equationautorefname{Equation}
43 \providecommand*\footnoteautorefname{footnote}
44 \providecommand*\itemautorefname{item}
45 \providecommand*\figureautorefname{Figure}
46 \providecommand*\tableautorefname{Table}
47 \providecommand*\partautorefname{Part}
48 \providecommand*\appendixautorefname{Appendix}
49 \providecommand*\chapterautorefname{chapter}
50 \providecommand*\sectionautorefname{section}
51 \providecommand*\subsectionautorefname{subsection}
52 \providecommand*\subsubsectionautorefname{subsubsection}
53 \providecommand*\paragraphautorefname{paragraph}
54 \providecommand*\subparagraphautorefname{subparagraph}
55 \providecommand*\FancyVerbLineautorefname{line}
56 \providecommand*\theoremautorefname{Theorem}
57 \providecommand*\pageautorefname{page}
58
59 \def\Hy@numberline#1{#1 }
60
61 }
62