| 1 |
%%% Preliminary Draft for testing |
| 2 |
%% |
| 3 |
%% This is file `hhitex.def', |
| 4 |
%% generated with the docstrip utility. |
| 5 |
%% |
| 6 |
%% The original source files were: |
| 7 |
%% |
| 8 |
%% hyperref.dtx (with options: `pdftex,pdfform,outlines') |
| 9 |
%% |
| 10 |
%% Copyright |
| 11 |
%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, |
| 12 |
%% 2001-2015 Heiko Oberdiek. |
| 13 |
%% 2016-2019 Oberdiek Package Support Group |
| 14 |
%% 2019-2022 LaTeX Project |
| 15 |
%% https://github.com/latex3/hyperref/issues |
| 16 |
%% |
| 17 |
%% This file is part of the `Hyperref Bundle'. |
| 18 |
%% ------------------------------------------- |
| 19 |
%% |
| 20 |
%% This work may be distributed and/or modified under the |
| 21 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 22 |
%% of this license or (at your option) any later version. |
| 23 |
%% The latest version of this license is in |
| 24 |
%% http://www.latex-project.org/lppl.txt |
| 25 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 26 |
%% version 2005/12/01 or later. |
| 27 |
%% |
| 28 |
%% This work has the LPPL maintenance status `maintained'. |
| 29 |
%% |
| 30 |
%% The Current Maintainer of this work is the LaTeX Project. |
| 31 |
%% |
| 32 |
%% The list of all files belonging to the `Hyperref Bundle' is |
| 33 |
%% given in the file `manifest.txt'. |
| 34 |
%% |
| 35 |
%% File: hyperref.dtx |
| 36 |
\ProvidesFile{hhitex.def} |
| 37 |
[2022-09-22 v7.00t % |
| 38 |
Hyperref driver for hiTeX] |
| 39 |
|
| 40 |
\chardef\Hy@VersionChecked=1 % prevent hyperref from checking the version. |
| 41 |
|
| 42 |
\ifHy@pdfpagelabels |
| 43 |
\def\HyPL@StorePageLabel#1{% |
| 44 |
\toks@\expandafter{\HyPL@Labels}% |
| 45 |
\xdef\HyPL@Labels{% |
| 46 |
\the\toks@ |
| 47 |
\the\Hy@abspage<<#1>>% |
| 48 |
}% |
| 49 |
}% |
| 50 |
% \RequirePackage{atveryend}[2009/12/07]% |
| 51 |
% \AtVeryEndDocument{% |
| 52 |
% \HyPL@SetPageLabels |
| 53 |
% }% |
| 54 |
\fi |
| 55 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 56 |
\expandafter\ifx\csname pdf@escapestring\endcsname\relax |
| 57 |
\begingroup |
| 58 |
\catcode`\|=0 % |
| 59 |
\@makeother\\% |
| 60 |
|@firstofone{|endgroup |
| 61 |
|def|Hy@pstringdef#1#2{% |
| 62 |
|begingroup |
| 63 |
|edef~{|string~}% |
| 64 |
|xdef|Hy@gtemp{#2}% |
| 65 |
|endgroup |
| 66 |
|let#1|Hy@gtemp |
| 67 |
|@onelevel@sanitize#1% |
| 68 |
|edef#1{|expandafter|Hy@ExchangeBackslash#1\|@nil}% |
| 69 |
|edef#1{|expandafter|Hy@ExchangeLeftParenthesis#1(|@nil}% |
| 70 |
|edef#1{|expandafter|Hy@ExchangeRightParenthesis#1)|@nil}% |
| 71 |
}% |
| 72 |
|def|Hy@ExchangeBackslash#1\#2|@nil{% |
| 73 |
#1% |
| 74 |
|ifx|\#2|\%% |
| 75 |
|else |
| 76 |
\\% |
| 77 |
|ltx@ReturnAfterFi{% |
| 78 |
|Hy@ExchangeBackslash#2|@nil |
| 79 |
}% |
| 80 |
|fi |
| 81 |
}% |
| 82 |
}% |
| 83 |
\def\Hy@ExchangeLeftParenthesis#1(#2\@nil{% |
| 84 |
#1% |
| 85 |
\ifx\\#2\\% |
| 86 |
\else |
| 87 |
\@backslashchar(% |
| 88 |
\ltx@ReturnAfterFi{% |
| 89 |
\Hy@ExchangeLeftParenthesis#2\@nil |
| 90 |
}% |
| 91 |
\fi |
| 92 |
}% |
| 93 |
\def\Hy@ExchangeRightParenthesis#1)#2\@nil{% |
| 94 |
#1% |
| 95 |
\ifx\\#2\\% |
| 96 |
\else |
| 97 |
\@backslashchar)% |
| 98 |
\ltx@ReturnAfterFi{% |
| 99 |
\Hy@ExchangeRightParenthesis#2\@nil |
| 100 |
}% |
| 101 |
\fi |
| 102 |
}% |
| 103 |
\else |
| 104 |
\def\Hy@pstringdef#1#2{% |
| 105 |
\begingroup |
| 106 |
\edef~{\string~}% |
| 107 |
\xdef\Hy@gtemp{\pdf@escapestring{#2}}% |
| 108 |
\endgroup |
| 109 |
\let#1\Hy@gtemp |
| 110 |
}% |
| 111 |
\fi |
| 112 |
\providecommand*{\XR@ext}{pdf} |
| 113 |
\Hy@setbreaklinks{true} |
| 114 |
\def\HyPat@ObjRef{% |
| 115 |
[0-9]*[1-9][0-9]* 0 R% |
| 116 |
} |
| 117 |
|
| 118 |
\def\setpdflinkmargin#1{}%???? |
| 119 |
\def\Hy@PutCatalog{} |
| 120 |
\Hy@WrapperDef\new@pdflink#1{% |
| 121 |
\ifhmode |
| 122 |
\@savsf\spacefactor |
| 123 |
\fi |
| 124 |
\Hy@SaveLastskip |
| 125 |
\Hy@VerboseAnchor{#1}% |
| 126 |
\Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% |
| 127 |
\Hy@DestName\Hy@pstringDest\@pdfview |
| 128 |
\Hy@RestoreLastskip |
| 129 |
\ifhmode |
| 130 |
\spacefactor\@savsf |
| 131 |
\fi |
| 132 |
} |
| 133 |
\let\pdf@endanchor\@empty |
| 134 |
\def\Hy@DestName#1#2{% |
| 135 |
\HINTdest name {#1}\relax |
| 136 |
} |
| 137 |
\providecommand*\@pdfborder{0 0 1} |
| 138 |
\providecommand*\@pdfborderstyle{} |
| 139 |
\def\Hy@undefinedname{UNDEFINED} |
| 140 |
\def\find@pdflink#1#2{% |
| 141 |
\leavevmode |
| 142 |
\protected@edef\Hy@testname{#2}% |
| 143 |
\ifx\Hy@testname\@empty |
| 144 |
\Hy@Warning{% |
| 145 |
Empty destination name,\MessageBreak |
| 146 |
using `\Hy@undefinedname'% |
| 147 |
}% |
| 148 |
\let\Hy@testname\Hy@undefinedname |
| 149 |
\else |
| 150 |
\Hy@pstringdef\Hy@testname{% |
| 151 |
\expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% |
| 152 |
}% |
| 153 |
\fi |
| 154 |
\Hy@StartlinkName{% |
| 155 |
%\ifHy@pdfa /F 4\fi |
| 156 |
% \Hy@setpdfborder |
| 157 |
% \Hy@setpdfhighlight |
| 158 |
% \ifx\CurrentBorderColor\relax |
| 159 |
% \else |
| 160 |
% /C[\CurrentBorderColor]% |
| 161 |
% \fi |
| 162 |
}\Hy@testname |
| 163 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 164 |
} |
| 165 |
|
| 166 |
\Hy@AtBeginDocument{% |
| 167 |
\def\Hy@colorlink#1{% |
| 168 |
\HyColor@UseColor#1% |
| 169 |
}% |
| 170 |
\def\Hy@endcolorlink{% |
| 171 |
}% |
| 172 |
} |
| 173 |
|
| 174 |
\def\Hy@StartlinkName#1#2{% |
| 175 |
\HINTstartlink goto name{#2}\relax |
| 176 |
} |
| 177 |
\def\close@pdflink{% |
| 178 |
\Hy@endcolorlink |
| 179 |
\Hy@VerboseLinkStop |
| 180 |
\HINTendlink |
| 181 |
} |
| 182 |
\def\hyper@anchor#1{% |
| 183 |
\new@pdflink{#1}\anchor@spot\pdf@endanchor |
| 184 |
} |
| 185 |
\def\hyper@anchorstart#1{% |
| 186 |
\new@pdflink{#1}% |
| 187 |
\Hy@activeanchortrue |
| 188 |
} |
| 189 |
\def\hyper@anchorend{% |
| 190 |
\pdf@endanchor |
| 191 |
\Hy@activeanchorfalse |
| 192 |
} |
| 193 |
\def\hyper@linkstart#1#2{% |
| 194 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 195 |
\let\CurrentBorderColor\relax |
| 196 |
\find@pdflink{#1}{#2}% |
| 197 |
} |
| 198 |
\def\hyper@linkend{\close@pdflink} |
| 199 |
\def\hyper@link#1#2#3{% |
| 200 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 201 |
\ltx@IfUndefined{@#1bordercolor}{% |
| 202 |
\let\CurrentBorderColor\relax |
| 203 |
}{% |
| 204 |
\edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% |
| 205 |
}% |
| 206 |
\find@pdflink{#1}{#2}#3\Hy@xspace@end |
| 207 |
\close@pdflink |
| 208 |
} |
| 209 |
\let\CurrentBorderColor\@linkbordercolor |
| 210 |
\def\hyper@linkurl#1#2{% |
| 211 |
\Hy@colorlink\@urlcolor#2\HINTendcolor}% |
| 212 |
\def\hyper@linkfile#1#2#3{% anchor text, filename, linkname |
| 213 |
\Hy@colorlink\@filecolor#2\HINTendcolor}% |
| 214 |
\def\@hyper@launch run:#1\\#2#3{% filename, anchor text linkname |
| 215 |
\Hy@colorlink\@runcolor#1\HINTendcolor}% |
| 216 |
\def\PDF@SetupDoc{} |
| 217 |
\def\PDF@FinishDoc{}% |
| 218 |
|
| 219 |
|
| 220 |
\def\Hy@writebookmark#1#2#3#4#5{% |
| 221 |
% section number, text, label, level, file |
| 222 |
\ifx\WriteBookmarks\relax% |
| 223 |
\else |
| 224 |
\HINToutline goto name{#3} depth #4 {#2}% |
| 225 |
\fi |
| 226 |
} |
| 227 |
\def\Hy@currentbookmarklevel{0} |
| 228 |
\def\Hy@numberline#1{#1 } |
| 229 |
\def\Hy@OutlineRerunCheck{} |
| 230 |
\def\ReadBookmarks{} |
| 231 |
\def\Hy@OutlineName#1#2#3#4{} |
| 232 |
\ifHy@implicit |
| 233 |
\else |
| 234 |
\expandafter\endinput |
| 235 |
\fi |
| 236 |
\newlength\Hy@SectionHShift |
| 237 |
\def\Hy@SectionAnchorHref#1{% |
| 238 |
\ifx\protect\@typeset@protect |
| 239 |
\Hy@@SectionAnchor{#1}% |
| 240 |
\fi |
| 241 |
} |
| 242 |
\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% |
| 243 |
\leavevmode |
| 244 |
\hbox to 0pt{% |
| 245 |
\kern-\Hy@SectionHShift |
| 246 |
\Hy@raisedlink{% |
| 247 |
\hyper@anchorstart{#1}\hyper@anchorend |
| 248 |
}% |
| 249 |
\hss |
| 250 |
}% |
| 251 |
} |
| 252 |
\@ifundefined{hyper@nopatch@sectioning} |
| 253 |
{ |
| 254 |
\let\H@old@ssect\@ssect |
| 255 |
\def\@ssect#1#2#3#4#5{% |
| 256 |
\Hy@MakeCurrentHrefAuto{section*}% |
| 257 |
\setlength{\Hy@SectionHShift}{#1}% |
| 258 |
\begingroup |
| 259 |
\toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% |
| 260 |
\toks\tw@\expandafter{% |
| 261 |
\expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% |
| 262 |
#5% |
| 263 |
}% |
| 264 |
\edef\x{\endgroup |
| 265 |
\the\toks@{\the\toks\tw@}% |
| 266 |
}\x |
| 267 |
} |
| 268 |
\let\H@old@schapter\@schapter |
| 269 |
\def\@schapter#1{% |
| 270 |
\begingroup |
| 271 |
\let\@mkboth\@gobbletwo |
| 272 |
\Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% |
| 273 |
\Hy@raisedlink{% |
| 274 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 275 |
}% |
| 276 |
\endgroup |
| 277 |
\H@old@schapter{#1}% |
| 278 |
} |
| 279 |
\ltx@IfUndefined{@chapter}{}{% |
| 280 |
\let\Hy@org@chapter\@chapter |
| 281 |
\def\@chapter{% |
| 282 |
\def\Hy@next{% |
| 283 |
\Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% |
| 284 |
\Hy@raisedlink{% |
| 285 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 286 |
}% |
| 287 |
}% |
| 288 |
\ifnum\c@secnumdepth>\m@ne |
| 289 |
\ltx@IfUndefined{if@mainmatter}% |
| 290 |
\iftrue{\csname if@mainmatter\endcsname}% |
| 291 |
\let\Hy@next\relax |
| 292 |
\fi |
| 293 |
\fi |
| 294 |
\Hy@next |
| 295 |
\Hy@org@chapter |
| 296 |
}% |
| 297 |
} |
| 298 |
\let\H@old@part\@part |
| 299 |
\@ifundefined{chapter} |
| 300 |
{\let\Hy@secnum@part\z@} |
| 301 |
{\let\Hy@secnum@part\m@ne} |
| 302 |
\def\@part{% |
| 303 |
\ifnum\Hy@secnum@part>\c@secnumdepth |
| 304 |
\phantomsection |
| 305 |
\fi |
| 306 |
\H@old@part |
| 307 |
} |
| 308 |
\let\H@old@spart\@spart |
| 309 |
\def\@spart#1{% |
| 310 |
\Hy@MakeCurrentHrefAuto{part*}% |
| 311 |
\Hy@raisedlink{% |
| 312 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 313 |
}% |
| 314 |
\H@old@spart{#1}% |
| 315 |
} |
| 316 |
\let\H@old@sect\@sect |
| 317 |
\def\@sect#1#2#3#4#5#6[#7]#8{% |
| 318 |
\ifnum #2>\c@secnumdepth |
| 319 |
\expandafter\@firstoftwo |
| 320 |
\else |
| 321 |
\expandafter\@secondoftwo |
| 322 |
\fi |
| 323 |
{% |
| 324 |
\Hy@MakeCurrentHrefAuto{section*}% |
| 325 |
\setlength{\Hy@SectionHShift}{#3}% |
| 326 |
\begingroup |
| 327 |
\toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% |
| 328 |
\toks\tw@\expandafter{% |
| 329 |
\expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% |
| 330 |
#8% |
| 331 |
}% |
| 332 |
\edef\x{\endgroup |
| 333 |
\the\toks@{\the\toks\tw@}% |
| 334 |
}\x |
| 335 |
}{% |
| 336 |
\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% |
| 337 |
}% |
| 338 |
} |
| 339 |
}{} |
| 340 |
\expandafter\def\csname Parent-4\endcsname{} |
| 341 |
\expandafter\def\csname Parent-3\endcsname{} |
| 342 |
\expandafter\def\csname Parent-2\endcsname{} |
| 343 |
\expandafter\def\csname Parent-1\endcsname{} |
| 344 |
\expandafter\def\csname Parent0\endcsname{} |
| 345 |
\expandafter\def\csname Parent1\endcsname{} |
| 346 |
\expandafter\def\csname Parent2\endcsname{} |
| 347 |
\expandafter\def\csname Parent3\endcsname{} |
| 348 |
\expandafter\def\csname Parent4\endcsname{} |
| 349 |
\endinput |
| 350 |
%% |
| 351 |
%% End of file `hpdftex.def'. |