| 1 |
% \iffalse |
| 2 |
%% File: hyperref.dtx |
| 3 |
% Copyright |
| 4 |
% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek, |
| 5 |
% 2001-2015 Heiko Oberdiek. |
| 6 |
% 2016-2019 Oberdiek Package Support Group |
| 7 |
% 2019-2026 LaTeX Project |
| 8 |
% https://github.com/latex3/hyperref/issues |
| 9 |
% |
| 10 |
% This file is part of the `Hyperref Bundle'. |
| 11 |
% ------------------------------------------- |
| 12 |
% |
| 13 |
% This work may be distributed and/or modified under the |
| 14 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 15 |
% of this license or (at your option) any later version. |
| 16 |
% The latest version of this license is in |
| 17 |
% http://www.latex-project.org/lppl.txt |
| 18 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 19 |
% version 2005/12/01 or later. |
| 20 |
% |
| 21 |
% This work has the LPPL maintenance status `maintained'. |
| 22 |
% |
| 23 |
% The Current Maintainer of this work is the LaTeX Project. |
| 24 |
% |
| 25 |
% The list of all files belonging to the `Hyperref Bundle' is |
| 26 |
% given in the file `manifest.txt'. |
| 27 |
% |
| 28 |
%<package|nohyperref|driver|check>\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 29 |
%<package>\ProvidesPackage{hyperref} |
| 30 |
%<nohyperref>\ProvidesPackage{nohyperref} |
| 31 |
%<driver>\ProvidesFile{hyperref.drv} |
| 32 |
%<check>\ProvidesFile{hycheck.tex} |
| 33 |
%<hypertex>\ProvidesFile{hypertex.def} |
| 34 |
%<pdftex>\ProvidesFile{hpdftex.def} |
| 35 |
%<luatex>\ProvidesFile{hluatex.def} |
| 36 |
%<pdfmark>\ProvidesFile{pdfmark.def} |
| 37 |
%<vtexpdfmark>\ProvidesFile{hvtexmrk.def} |
| 38 |
%<dvips>\ProvidesFile{hdvips.def} |
| 39 |
%<dvipsone>\ProvidesFile{hdvipson.def} |
| 40 |
%<textures>\ProvidesFile{htexture.def} |
| 41 |
%<dviwindo>\ProvidesFile{hdviwind.def} |
| 42 |
%<dvipdfm>\ProvidesFile{hdvipdfm.def} |
| 43 |
%<xetex>\ProvidesFile{hxetex.def} |
| 44 |
%<vtex>\ProvidesFile{hvtex.def} |
| 45 |
%<vtexhtml>\ProvidesFile{hvtexhtml.def} |
| 46 |
%<tex4ht>\ProvidesFile{htex4ht.def} |
| 47 |
%<tex4htcfg>\ProvidesFile{htex4ht.cfg} |
| 48 |
%<pd1enc>\ProvidesFile{pd1enc.def} |
| 49 |
%<puenc>\ProvidesFile{puenc.def} |
| 50 |
%<puextra>\ProvidesFile{puenc-extra.def} |
| 51 |
%<puvnenc>\ProvidesFile{puvnenc.def} |
| 52 |
%<puarenc>\ProvidesFile{puarenc.def} |
| 53 |
%<psdextra>\ProvidesFile{psdextra.def} |
| 54 |
%<!none&!packageEnd> [2026-04-24 v7.01q % |
| 55 |
%<package> Hypertext links for LaTeX] |
| 56 |
%<nohyperref> Dummy hyperref (SR)] |
| 57 |
%<driver> Hyperref documentation driver file] |
| 58 |
%<check> Hyperref test file] |
| 59 |
%<hypertex> Hyperref driver for HyperTeX specials] |
| 60 |
%<hypertex>\Hy@VersionCheck{hypertex.def} |
| 61 |
%<pdftex> Hyperref driver for pdfTeX] |
| 62 |
%<pdftex>\Hy@VersionCheck{hpdftex.def} |
| 63 |
%<luatex> Hyperref driver for luaTeX] |
| 64 |
%<luatex>\Hy@VersionCheck{hluatex.def} |
| 65 |
%<pdfmark> Hyperref definitions for pdfmark specials] |
| 66 |
%<pdfmark>\Hy@VersionCheck{pdfmark.def} |
| 67 |
%<vtexpdfmark> Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] |
| 68 |
%<vtexpdfmark>\Hy@VersionCheck{hvtexmrk.def} |
| 69 |
%<dvips> Hyperref driver for dvips] |
| 70 |
%<dvips>\Hy@VersionCheck{hdvips.def} |
| 71 |
%<dvipsone> Hyperref driver for dvipsone] |
| 72 |
%<dvipsone>\Hy@VersionCheck{hdvipson.def} |
| 73 |
%<textures> Hyperref driver for Textures] |
| 74 |
%<textures>\Hy@VersionCheck{htexture.def} |
| 75 |
%<dviwindo> Hyperref driver for dviwindo] |
| 76 |
%<dviwindo>\Hy@VersionCheck{hdviwind.def} |
| 77 |
%<dvipdfm> Hyperref driver for dvipdfm] |
| 78 |
%<dvipdfm>\Hy@VersionCheck{hdvipdfm.def} |
| 79 |
%<xetex> Hyperref driver for XeTeX] |
| 80 |
%<xetex>\Hy@VersionCheck{hxetex.def} |
| 81 |
%<vtex> Hyperref driver for VTeX in PDF/PS mode] |
| 82 |
%<vtex>\Hy@VersionCheck{hvtex.def} |
| 83 |
%<vtexhtml> Hyperref driver for VTeX in HTML mode] |
| 84 |
%<vtexhtml>\Hy@VersionCheck{hvtexhtm.def} |
| 85 |
%<tex4ht> Hyperref driver for TeX4ht] |
| 86 |
%<tex4ht>\Hy@VersionCheck{htex4ht.def} |
| 87 |
%<tex4htcfg> Hyperref configuration file for TeX4ht] |
| 88 |
%<pd1enc> Hyperref: PDFDocEncoding definition (HO)] |
| 89 |
%<puenc> Hyperref: PDF Unicode definition (HO)] |
| 90 |
%<puextra> Hyperref: PDF Unicode extra definition (HO)] |
| 91 |
%<puvnenc> Hyperref: Additions to puenc.def for VnTeX] |
| 92 |
%<puarenc> Hyperref: Additions to puenc.def for Arabi] |
| 93 |
%<psdextra> Hyperref: Additions to PDF string support] |
| 94 |
%<*driver> |
| 95 |
\PassOptionsToPackage{numbered}{hypdoc} |
| 96 |
\documentclass{ltxdoc} |
| 97 |
\usepackage{array,iftex} |
| 98 |
\iftutex |
| 99 |
\usepackage{fontspec}% |
| 100 |
\renewcommand*{\ttdefault}{lmvtt}% |
| 101 |
\else |
| 102 |
\usepackage[T1]{fontenc}% |
| 103 |
\renewcommand*{\ttdefault}{lmvtt}% |
| 104 |
\fi |
| 105 |
\usepackage[% |
| 106 |
colorlinks,% |
| 107 |
hyperindex=false,% done by hypdoc |
| 108 |
pdfusetitle,% |
| 109 |
pdfpagelabels% |
| 110 |
]{hyperref} |
| 111 |
\usepackage[numbered]{hypdoc} |
| 112 |
\usepackage{bmhydoc} |
| 113 |
\pdfstringdefDisableCommands{% |
| 114 |
\let\\\textbackslash |
| 115 |
}% |
| 116 |
\EnableCrossrefs |
| 117 |
\CodelineIndex |
| 118 |
\setlength{\hfuzz}{2pt} |
| 119 |
\begin{document} |
| 120 |
% |
| 121 |
% title |
| 122 |
% |
| 123 |
\GetFileInfo{hyperref.sty}% |
| 124 |
\title{Hypertext marks in \LaTeX}% |
| 125 |
\author{Sebastian Rahtz (deceased)\\% |
| 126 |
Heiko Oberdiek (inactive)\\% |
| 127 |
The \LaTeX\ Project\\% |
| 128 |
\texttt{https://github.com/latex3/hyperref/issues}}% |
| 129 |
% \date{processed \today}% |
| 130 |
\date{\filedate\space\fileversion}% |
| 131 |
\maketitle |
| 132 |
% |
| 133 |
% overview |
| 134 |
% |
| 135 |
\makeatletter |
| 136 |
\@ifundefined{HyperrefOverview}{}{% |
| 137 |
\HyperrefOverview\relax |
| 138 |
\newpage |
| 139 |
}% |
| 140 |
% |
| 141 |
% table of contents |
| 142 |
% |
| 143 |
\section{\contentsname}% |
| 144 |
\makeatletter |
| 145 |
\@starttoc{toc}% |
| 146 |
\newpage |
| 147 |
% |
| 148 |
% source code documentation |
| 149 |
% |
| 150 |
\let\Email\nolinkurl |
| 151 |
\DocInput{hyperref.dtx}% |
| 152 |
% |
| 153 |
% index |
| 154 |
% |
| 155 |
\PrintIndex |
| 156 |
\end{document} |
| 157 |
%</driver> |
| 158 |
% \fi |
| 159 |
% |
| 160 |
% \MakeShortVerb{|} |
| 161 |
% \StopEventually{} |
| 162 |
% |
| 163 |
% \DoNotIndex{\def,\edef,\gdef,\xdef,\global,\long,\let} |
| 164 |
% \DoNotIndex{\expandafter,\string,\the,\ifx,\else,\fi} |
| 165 |
% \DoNotIndex{\csname,\endcsname,\relax,\begingroup,\endgroup} |
| 166 |
% \DoNotIndex{\DeclareTextCommand,\DeclareTextCompositeCommand} |
| 167 |
% \DoNotIndex{\space,\@empty,\special} |
| 168 |
% \DoNotIndex{\\,\0,\1,\2,\8} |
| 169 |
% \makeatletter |
| 170 |
% \let\SavedTheIndex\theindex |
| 171 |
% \def\theindex{^^A |
| 172 |
% \clearpage |
| 173 |
% \addtolength{\textwidth}{\marginparwidth}^^A |
| 174 |
% \addtolength{\textwidth}{\marginparsep}^^A |
| 175 |
% \setlength{\linewidth}{\textwidth}^^A |
| 176 |
% \setlength{\hsize}{\textwidth}^^A |
| 177 |
% \setlength{\oddsidemargin}{\paperwidth}^^A |
| 178 |
% \addtolength{\oddsidemargin}{-\textwidth}^^A |
| 179 |
% \setlength{\oddsidemargin}{.5\oddsidemargin}^^A |
| 180 |
% \addtolength{\oddsidemargin}{-1in}^^A |
| 181 |
% \setlength{\evensidemargin}{\oddsidemargin}^^A |
| 182 |
% \SavedTheIndex |
| 183 |
% } |
| 184 |
% \g@addto@macro\theindex{^^A |
| 185 |
% \parfillskip=0pt plus 1fil |
| 186 |
% } |
| 187 |
% \makeatother |
| 188 |
% |
| 189 |
% \providecommand*{\eTeX}{\mbox{$\varepsilon$-\TeX}} |
| 190 |
% |
| 191 |
% \section{File hycheck.tex} |
| 192 |
% |
| 193 |
% Many commands of \LaTeX\ or other packages cannot be |
| 194 |
% overloaded, but have to be redefined by hyperref directly. |
| 195 |
% If these commands change in newer versions, these |
| 196 |
% changes are not noticed by hyperref. |
| 197 |
% With this test file this situation can be checked. |
| 198 |
% It defines the command \cmd{\checkcommand} that |
| 199 |
% is more powerful than \LaTeX's \cmd{\CheckCommand}, |
| 200 |
% because it takes \cmd{\DeclareRobustCommand} and |
| 201 |
% optional parameters better into account. |
| 202 |
% |
| 203 |
% \begin{macrocode} |
| 204 |
%<*check> |
| 205 |
\documentclass{article} |
| 206 |
\makeatletter |
| 207 |
% \end{macrocode} |
| 208 |
% |
| 209 |
% \begin{macro}{\checklatex} |
| 210 |
% Optional argument: release date of \LaTeX. |
| 211 |
% \begin{macrocode} |
| 212 |
\newcommand*{\checklatex}[1][]{% |
| 213 |
\typeout{}% |
| 214 |
\typeout{* Format: `LaTeX2e' #1}% |
| 215 |
\typeout{\space\space Loaded: `\fmtname' \fmtversion}% |
| 216 |
}% |
| 217 |
% \end{macrocode} |
| 218 |
% \end{macro} |
| 219 |
% |
| 220 |
% \begin{macro}{\checkpackage} |
| 221 |
% The argument of \cmd{\checkpackage} is the package name |
| 222 |
% without extension optionally followed by a release date. |
| 223 |
% \begin{macrocode} |
| 224 |
\newcommand*{\checkpackage}[1]{% |
| 225 |
\def\HyC@package{#1}% |
| 226 |
\let\HyC@date\@empty |
| 227 |
\@ifnextchar[\HyC@getDate\HyC@checkPackage |
| 228 |
} |
| 229 |
% \end{macrocode} |
| 230 |
% \end{macro} |
| 231 |
% \begin{macro}{\HyC@getDate} |
| 232 |
% The release date is scanned. |
| 233 |
% \begin{macrocode} |
| 234 |
\def\HyC@getDate[#1]{% |
| 235 |
\def\HyC@date{#1}% |
| 236 |
\HyC@checkPackage |
| 237 |
} |
| 238 |
% \end{macrocode} |
| 239 |
% \end{macro} |
| 240 |
% \begin{macro}{\HyC@checkPackage} |
| 241 |
% \begin{macrocode} |
| 242 |
\def\HyC@checkPackage{% |
| 243 |
\typeout{}% |
| 244 |
\begingroup |
| 245 |
\edef\x{\endgroup |
| 246 |
\noexpand\RequirePackage{\HyC@package}% |
| 247 |
\ifx\HyC@date\@empty\relax\else[\HyC@date]\fi% |
| 248 |
}% |
| 249 |
\x |
| 250 |
\typeout{}% |
| 251 |
\typeout{% |
| 252 |
* Package `\HyC@package'% |
| 253 |
\ifx\HyC@date\@empty |
| 254 |
\else |
| 255 |
\space\HyC@date |
| 256 |
\fi |
| 257 |
}% |
| 258 |
\@ifundefined{ver@\[email protected]}{% |
| 259 |
}{% |
| 260 |
\typeout{% |
| 261 |
\space\space Loaded: `\HyC@package' % |
| 262 |
\csname ver@\[email protected]\endcsname |
| 263 |
}% |
| 264 |
}% |
| 265 |
} |
| 266 |
% \end{macrocode} |
| 267 |
% \end{macro} |
| 268 |
% |
| 269 |
% \begin{macro}{\checkcommand} |
| 270 |
% The macro \cmd{\checkcommand} parses the next |
| 271 |
% tokens as a \LaTeX\ definition and compares |
| 272 |
% this definition with the current meaning of |
| 273 |
% that command. |
| 274 |
% \begin{macrocode} |
| 275 |
\newcommand*{\checkcommand}[1]{% |
| 276 |
\begingroup |
| 277 |
\ifx\long#1\relax |
| 278 |
\expandafter\HyC@checklong |
| 279 |
\else |
| 280 |
\def\HyC@defcmd{#1}% |
| 281 |
\expandafter\let\expandafter\HyC@next |
| 282 |
\csname HyC@\expandafter\@gobble\string#1\endcsname |
| 283 |
\expandafter\HyC@checkcommand |
| 284 |
\fi |
| 285 |
} |
| 286 |
% \end{macrocode} |
| 287 |
% \end{macro} |
| 288 |
% \begin{macro}{\HyC@checklong} |
| 289 |
% The definition command \cmd{\def} or \cmd{\edef} |
| 290 |
% is read. |
| 291 |
% \begin{macrocode} |
| 292 |
\def\HyC@checklong#1{% |
| 293 |
\def\HyC@defcmd{\long#1}% |
| 294 |
\expandafter\let\expandafter\HyC@next |
| 295 |
\csname HyC@\expandafter\@gobble\string#1\endcsname |
| 296 |
\HyC@checkcommand |
| 297 |
} |
| 298 |
% \end{macrocode} |
| 299 |
% \end{macro} |
| 300 |
% \begin{macro}{\HyC@checkcommand} |
| 301 |
% The optional star of \LaTeX's definitions is parsed. |
| 302 |
% \begin{macrocode} |
| 303 |
\def\HyC@checkcommand{% |
| 304 |
\ifx\HyC@next\relax |
| 305 |
\PackageError{hycheck}{% |
| 306 |
Unknown command `\expandafter\strip@prefix\meaning\HyC@cmd'% |
| 307 |
}\@ehd |
| 308 |
\expandafter\endinput |
| 309 |
\fi |
| 310 |
\@ifstar{% |
| 311 |
\def\HyC@star{*}% |
| 312 |
\HyC@check |
| 313 |
}{% |
| 314 |
\let\HyC@star\@empty |
| 315 |
\HyC@check |
| 316 |
}% |
| 317 |
} |
| 318 |
% \end{macrocode} |
| 319 |
% \end{macro} |
| 320 |
% \begin{macro}{\HyC@check} |
| 321 |
% The macro \cmd{\HyC@check} reads the |
| 322 |
% definition command. |
| 323 |
% \begin{macrocode} |
| 324 |
\def\HyC@check#1{% |
| 325 |
\def\HyC@cmd{#1}% |
| 326 |
\let\HyC@org@cmd#1% |
| 327 |
\let#1\relax |
| 328 |
\let\HyC@param\@empty |
| 329 |
\HyC@Toks{}% |
| 330 |
\let\HyC@org@optcmd\HyC@noValue |
| 331 |
\let\HyC@org@robustcmd\HyC@noValue |
| 332 |
\let\HyC@org@robustoptcmd\HyC@noValue |
| 333 |
\HyC@next |
| 334 |
} |
| 335 |
% \end{macrocode} |
| 336 |
% \end{macro} |
| 337 |
% \begin{macro}{\HyC@noValue} |
| 338 |
% \begin{macrocode} |
| 339 |
\def\HyC@noValue{NoValue} |
| 340 |
% \end{macrocode} |
| 341 |
% \end{macro} |
| 342 |
% \begin{macro}{\HyC@newcommand} |
| 343 |
% The code for \cmd{\newcommand}. |
| 344 |
% \begin{macrocode} |
| 345 |
\def\HyC@newcommand{% |
| 346 |
\let\HyC@@cmd\HyC@cmd |
| 347 |
\@ifnextchar[\HyC@nc@opt\HyC@nc@noopt |
| 348 |
} |
| 349 |
% \end{macrocode} |
| 350 |
% \end{macro} |
| 351 |
% \begin{macro}{\HyC@Toks} |
| 352 |
% A register for storing the default value of an |
| 353 |
% optional argument. |
| 354 |
% \begin{macrocode} |
| 355 |
\newtoks\HyC@Toks |
| 356 |
% \end{macrocode} |
| 357 |
% \end{macro} |
| 358 |
% \begin{macro}{\HyC@nc@noopt} |
| 359 |
% This macro \cmd{\HyC@nc@noopt} is called, if the |
| 360 |
% parser has reached the definition text. |
| 361 |
% \begin{macrocode} |
| 362 |
\long\def\HyC@nc@noopt#1{% |
| 363 |
\edef\x{% |
| 364 |
\expandafter\noexpand\HyC@defcmd |
| 365 |
\HyC@star |
| 366 |
\expandafter\noexpand\HyC@cmd |
| 367 |
\HyC@param\the\HyC@Toks |
| 368 |
}% |
| 369 |
\x{#1}% |
| 370 |
\HyC@doCheck |
| 371 |
} |
| 372 |
% \end{macrocode} |
| 373 |
% \end{macro} |
| 374 |
% \begin{macro}{\HyC@nc@opt} |
| 375 |
% This macro scans the first optional argument |
| 376 |
% of a \LaTeX\ definition (number of arguments). |
| 377 |
% \begin{macrocode} |
| 378 |
\def\HyC@nc@opt[#1]{% |
| 379 |
\def\HyC@param{[{#1}]}% |
| 380 |
\@ifnextchar[\HyC@nc@default\HyC@nc@noopt |
| 381 |
} |
| 382 |
% \end{macrocode} |
| 383 |
% \end{macro} |
| 384 |
% \begin{macro}{\HyC@nc@default} |
| 385 |
% Macro \cmd{\HyC@nc@default} scans the |
| 386 |
% default for an optional argument. |
| 387 |
% \begin{macrocode} |
| 388 |
\def\HyC@nc@default[#1]{% |
| 389 |
\HyC@Toks={[{#1}]}% |
| 390 |
\edef\HyC@optcmd{% |
| 391 |
\expandafter\noexpand |
| 392 |
\csname\expandafter\string\HyC@@cmd\endcsname |
| 393 |
}% |
| 394 |
\expandafter\let\expandafter\HyC@org@optcmd\HyC@optcmd |
| 395 |
\HyC@nc@noopt |
| 396 |
} |
| 397 |
% \end{macrocode} |
| 398 |
% \end{macro} |
| 399 |
% |
| 400 |
% \begin{macro}{\HyC@DeclareRobustCommand} |
| 401 |
% \cmd{\DeclareRobustCommand}|{\cmd}| makes the command |
| 402 |
% \cmd{\cmd} robust, that then calls |\cmd|\verb*| | |
| 403 |
% with an space at the end of the command name, defined by |
| 404 |
% \cmd{\newcommand}. Therefore the further parsing |
| 405 |
% is done by \cmd{\HyC@nc@opt} or \cmd{\Hy@nc@noopt} |
| 406 |
% of the \cmd{\HyC@newcommand} chain. |
| 407 |
% \begin{macrocode} |
| 408 |
\def\HyC@DeclareRobustCommand{% |
| 409 |
\edef\HyC@robustcmd{% |
| 410 |
\expandafter\noexpand |
| 411 |
\csname\expandafter\expandafter\expandafter\@gobble |
| 412 |
\expandafter\string\HyC@cmd\space\endcsname |
| 413 |
}% |
| 414 |
\expandafter\let\expandafter\HyC@org@robustcmd\HyC@robustcmd |
| 415 |
\expandafter\let\HyC@robustcmd\relax |
| 416 |
\let\HyC@@cmd\HyC@robustcmd |
| 417 |
\@ifnextchar[\HyC@nc@opt\HyC@nc@noopt |
| 418 |
} |
| 419 |
% \end{macrocode} |
| 420 |
% \end{macro} |
| 421 |
% |
| 422 |
% \begin{macro}{\HyC@def} |
| 423 |
% \begin{macro}{\HyC@edef} |
| 424 |
% The parameter text of \cmd{\def} or \cmd{\edef} is |
| 425 |
% stored in the token register \cmd{\HyC@Toks}. |
| 426 |
% \begin{macrocode} |
| 427 |
\def\HyC@def#1#{% |
| 428 |
\HyC@Toks={#1}% |
| 429 |
\HyC@nc@noopt |
| 430 |
} |
| 431 |
\let\HyC@edef\HyC@def |
| 432 |
% \end{macrocode} |
| 433 |
% \end{macro} |
| 434 |
% \end{macro} |
| 435 |
% |
| 436 |
% \begin{macro}{\HyC@doCheck} |
| 437 |
% This command performs the checks and prints the result. |
| 438 |
% \begin{macrocode} |
| 439 |
\def\HyC@doCheck{% |
| 440 |
\typeout{* Checking `\HyC@string\HyC@cmd':}% |
| 441 |
\HyC@checkItem{cmd}% |
| 442 |
\HyC@checkItem{robustcmd}% |
| 443 |
\HyC@checkItem{optcmd}% |
| 444 |
\HyC@checkItem{robustoptcmd}% |
| 445 |
\endgroup |
| 446 |
} |
| 447 |
% \end{macrocode} |
| 448 |
% \end{macro} |
| 449 |
% \begin{macro}{\HyC@checkItem} |
| 450 |
% A single check. |
| 451 |
% \begin{macrocode} |
| 452 |
\def\HyC@checkItem#1{% |
| 453 |
\expandafter\ifx\csname HyC@org@#1\endcsname\HyC@noValue |
| 454 |
\else |
| 455 |
\expandafter\expandafter\expandafter\ifx |
| 456 |
\csname HyC@#1\expandafter\endcsname |
| 457 |
\csname HyC@org@#1\endcsname |
| 458 |
\expandafter\HyC@checkOk\csname HyC@#1\endcsname |
| 459 |
\else |
| 460 |
\expandafter\HyC@checkFailed |
| 461 |
\csname HyC@#1\expandafter\endcsname |
| 462 |
\csname HyC@org@#1\endcsname |
| 463 |
\fi |
| 464 |
\fi |
| 465 |
} |
| 466 |
% \end{macrocode} |
| 467 |
% \end{macro} |
| 468 |
% \begin{macro}{\HyC@string} |
| 469 |
% \begin{macro}{\HyC@meaning} |
| 470 |
% Some shorthands. |
| 471 |
% \begin{macrocode} |
| 472 |
\def\HyC@string#1{\expandafter\string#1} |
| 473 |
\def\HyC@meaning#1{\expandafter\meaning#1} |
| 474 |
% \end{macrocode} |
| 475 |
% \end{macro} |
| 476 |
% \end{macro} |
| 477 |
% \begin{macro}{\HyC@checkOk} |
| 478 |
% The result, if the check succeeds. |
| 479 |
% \begin{macrocode} |
| 480 |
\def\HyC@checkOk#1{% |
| 481 |
\typeout{\space\space`\HyC@string#1' ok.}% |
| 482 |
} |
| 483 |
% \end{macrocode} |
| 484 |
% \end{macro} |
| 485 |
% \begin{macro}{\HyC@checkFailed} |
| 486 |
% The result, if the check fails. |
| 487 |
% \begin{macrocode} |
| 488 |
\def\HyC@checkFailed#1#2{% |
| 489 |
\typeout{\space\space`\HyC@string#1' failed.}% |
| 490 |
\typeout{\space\space* original: \meaning#2}% |
| 491 |
\typeout{\space\space* expected: \HyC@meaning#1}% |
| 492 |
} |
| 493 |
% \end{macrocode} |
| 494 |
% \end{macro} |
| 495 |
% \begin{macrocode} |
| 496 |
% ************************************************** |
| 497 |
%</check> |
| 498 |
% \end{macrocode} |
| 499 |
% |
| 500 |
% \begin{macrocode} |
| 501 |
%<*package> |
| 502 |
% \end{macrocode} |
| 503 |
% \section{Package options and setup}\label{options} |
| 504 |
% |
| 505 |
% |
| 506 |
% \subsection{Save catcodes} |
| 507 |
% There are many packages that change the standard catcodes. |
| 508 |
% |
| 509 |
% First we save the original meaning of |`| and |=| |
| 510 |
% in the token register |\toks@|, because we need the two |
| 511 |
% characters in the macros \cmd{\Hy@SetCatcodes} and |
| 512 |
% \cmd{\Hy@RestoreCatcodes}. |
| 513 |
% \begin{macrocode} |
| 514 |
\begingroup |
| 515 |
\@makeother\`% |
| 516 |
\@makeother\=% |
| 517 |
\edef\x{% |
| 518 |
\edef\noexpand\x{% |
| 519 |
\endgroup |
| 520 |
\noexpand\toks@{% |
| 521 |
\catcode 96=\noexpand\the\catcode`\noexpand\`\relax |
| 522 |
\catcode 61=\noexpand\the\catcode`\noexpand\=\relax |
| 523 |
}% |
| 524 |
}% |
| 525 |
\noexpand\x |
| 526 |
}% |
| 527 |
\x |
| 528 |
\@makeother\` |
| 529 |
\@makeother\= |
| 530 |
% \end{macrocode} |
| 531 |
% \begin{macro}{\Hy@SetCatcodes} |
| 532 |
% \begin{macrocode} |
| 533 |
\def\Hy@SetCatcodes{% |
| 534 |
\@makeother\`% |
| 535 |
\@makeother\=% |
| 536 |
\catcode`\$=3 % |
| 537 |
\catcode`\&=4 % |
| 538 |
\catcode`\^=7 % |
| 539 |
\catcode`\_=8 % |
| 540 |
\@makeother\|% |
| 541 |
\@makeother\:% |
| 542 |
\@makeother\(% |
| 543 |
\@makeother\)% |
| 544 |
\@makeother\[% |
| 545 |
\@makeother\]% |
| 546 |
\@makeother\/% |
| 547 |
\@makeother\!% |
| 548 |
\@makeother\<% |
| 549 |
\@makeother\>% |
| 550 |
\@makeother\.% |
| 551 |
\@makeother\;% |
| 552 |
\@makeother\+% |
| 553 |
\@makeother\-% |
| 554 |
\@makeother\"% |
| 555 |
\@makeother\'% |
| 556 |
} |
| 557 |
% \end{macrocode} |
| 558 |
% \end{macro} |
| 559 |
% \begin{macro}{\Hy@RestoreCatcodes} |
| 560 |
% \begin{macrocode} |
| 561 |
\begingroup |
| 562 |
\def\x#1{\catcode`\noexpand#1=\the\catcode`#1\relax}% |
| 563 |
\xdef\Hy@RestoreCatcodes{% |
| 564 |
\the\toks@ |
| 565 |
\x\$% |
| 566 |
\x\&% |
| 567 |
\x\^% |
| 568 |
\x\_% |
| 569 |
\x\|% |
| 570 |
\x\:% |
| 571 |
\x\(% |
| 572 |
\x\)% |
| 573 |
\x\[% |
| 574 |
\x\]% |
| 575 |
\x\/% |
| 576 |
\x\!% |
| 577 |
\x\<% |
| 578 |
\x\>% |
| 579 |
\x\.% |
| 580 |
\x\;% |
| 581 |
\x\+% |
| 582 |
\x\-% |
| 583 |
\x\"% |
| 584 |
\x\'% |
| 585 |
}% |
| 586 |
\endgroup |
| 587 |
% \end{macrocode} |
| 588 |
% \end{macro} |
| 589 |
% \begin{macrocode} |
| 590 |
\Hy@SetCatcodes |
| 591 |
% \end{macrocode} |
| 592 |
% |
| 593 |
% \subsection{Disable patches} |
| 594 |
% |
| 595 |
% If new latex interfaces are used with \cs{DocumentMetadata} various patches are unneeded or do |
| 596 |
% harm, so we disable them. |
| 597 |
% Not handled yet: \cs{hyper@nopatch@amsmath@tag}, \cs{hyper@nopatch@mathenv} |
| 598 |
% \begin{macrocode} |
| 599 |
\IfFormatAtLeastT{2025-11-01} |
| 600 |
{ |
| 601 |
\IfDocumentMetadataT |
| 602 |
{ |
| 603 |
\def\hyper@nopatch@counter{} % disabled since 2024-11-01 anyway |
| 604 |
\def\hyper@nopatch@bib{} |
| 605 |
\def\hyper@nopatch@thm{} |
| 606 |
\def\hyper@nopatch@caption{} |
| 607 |
\def\hyper@nopatch@footnote{} |
| 608 |
\def\hyper@nopatch@sectioning{} |
| 609 |
\def\hyper@nopatch@toc{} |
| 610 |
\def\hyper@nopatch@longtable{} |
| 611 |
} |
| 612 |
} |
| 613 |
% \end{macrocode} |
| 614 |
% change 2020-07-24: require newer pdftexcmds and remove fallback code |
| 615 |
% for version older than 2010. |
| 616 |
% change 2021-08-14: require expl3 |
| 617 |
% change 2023-11-26: no longer require pdftexcmds |
| 618 |
% change 2023-11-26: no longer require expl3, we assume kernel is new enough. |
| 619 |
% change 2024-05-23: load stringenc always (for pdfx) |
| 620 |
% \begin{macrocode} |
| 621 |
\RequirePackage{iftex}[2019/10/24] |
| 622 |
\RequirePackage{keyval}[1997/11/10] |
| 623 |
\RequirePackage{kvsetkeys}[2007/09/29] |
| 624 |
\RequirePackage{kvdefinekeys}[2011/04/07] |
| 625 |
\RequirePackage{pdfescape}[2007/11/11] |
| 626 |
\RequirePackage{hycolor} |
| 627 |
\RequirePackage{nameref}[2012/07/28] |
| 628 |
\RequirePackage{etoolbox} |
| 629 |
\RequirePackage{stringenc}[2009/12/15]% |
| 630 |
\def\Hy@Error{\PackageError{hyperref}} |
| 631 |
\def\Hy@Warning{\PackageWarning{hyperref}} |
| 632 |
\def\Hy@WarningNoLine{\PackageWarningNoLine{hyperref}} |
| 633 |
\def\Hy@Info{\PackageInfo{hyperref}} |
| 634 |
\def\Hy@InfoNoLine#1{\PackageInfo{hyperref}{#1\@gobble}} |
| 635 |
\def\Hy@Message#1{% |
| 636 |
\GenericWarning{% |
| 637 |
(hyperref)\@spaces\@spaces\@spaces\@spaces |
| 638 |
}{% |
| 639 |
Package hyperref Message: #1\@gobble |
| 640 |
}% |
| 641 |
} |
| 642 |
% \end{macrocode} |
| 643 |
% |
| 644 |
% \subsection{Version check} |
| 645 |
% |
| 646 |
% \begin{macro}{\Hy@VersionChecked} |
| 647 |
% \begin{macrocode} |
| 648 |
\chardef\Hy@VersionChecked=0 % |
| 649 |
% \end{macrocode} |
| 650 |
% \end{macro} |
| 651 |
% \begin{macro}{\Hy@VersionCheck} |
| 652 |
% \begin{macrocode} |
| 653 |
\def\Hy@VersionCheck#1{% |
| 654 |
\begingroup |
| 655 |
\@ifundefined{[email protected]}{% |
| 656 |
\Hy@Error{% |
| 657 |
This should not happen!\MessageBreak |
| 658 |
Missing hyperref version% |
| 659 |
}\@ehd |
| 660 |
}{% |
| 661 |
\@ifundefined{ver@#1}{% |
| 662 |
\Hy@Error{% |
| 663 |
This should not happen!\MessageBreak |
| 664 |
Missing version of `#1'% |
| 665 |
}\@ehd |
| 666 |
}{% |
| 667 |
\def\x##1##2##3{% |
| 668 |
\expandafter\expandafter\expandafter\Hy@@VersionCheck |
| 669 |
\expandafter\expandafter\expandafter##2% |
| 670 |
\csname ver@##3\endcsname##1##1\@nil |
| 671 |
}% |
| 672 |
\x{ }\y{hyperref.sty}% |
| 673 |
\x{ }\z{#1}% |
| 674 |
\ifx\y\z |
| 675 |
\else |
| 676 |
\edef\a{#1}% |
| 677 |
\edef\b{\[email protected]}% |
| 678 |
\ifx\a\b |
| 679 |
\Hy@WarningNoLine{% |
| 680 |
Version mismatch (custom driver)!\MessageBreak |
| 681 |
* \y: hyperref.sty\MessageBreak |
| 682 |
* \z: \a |
| 683 |
}% |
| 684 |
\else |
| 685 |
\Hy@Error{% |
| 686 |
Version mismatch!\MessageBreak |
| 687 |
* \y: hyperref.sty\MessageBreak |
| 688 |
* \z: \a |
| 689 |
}\@ehd |
| 690 |
\fi |
| 691 |
\fi |
| 692 |
}% |
| 693 |
}% |
| 694 |
\endgroup |
| 695 |
\chardef\Hy@VersionChecked=1 % |
| 696 |
} |
| 697 |
% \end{macrocode} |
| 698 |
% \end{macro} |
| 699 |
% \begin{macro}{\Hy@@VersionCheck} |
| 700 |
% \begin{macrocode} |
| 701 |
\def\Hy@@VersionCheck #1#2 #3 #4\@nil{% |
| 702 |
\def#1{#2 #3}% |
| 703 |
} |
| 704 |
% \end{macrocode} |
| 705 |
% \end{macro} |
| 706 |
% |
| 707 |
% \subsection{Checks with regular expressions} |
| 708 |
% |
| 709 |
% \begin{macrocode} |
| 710 |
\edef\Hy@leftbracechar{\string{} |
| 711 |
\edef\Hy@rightbracechar{\string}} |
| 712 |
\@ifundefined{pdfmatch}{% |
| 713 |
\def\Hy@Match#1#2#3#4#5{}% |
| 714 |
}{% |
| 715 |
\def\Hy@Match#1#2#3{% |
| 716 |
\begingroup |
| 717 |
\edef\^{\@backslashchar\string^}% |
| 718 |
\edef\.{\@backslashchar.}% |
| 719 |
\edef\[{\@backslashchar[}% ]] |
| 720 |
\edef\${\@backslashchar$}% |
| 721 |
\edef\({\@backslashchar(}% |
| 722 |
\edef\){\@backslashchar)}% |
| 723 |
\edef\|{\@backslashchar|}% |
| 724 |
\edef\*{\@backslashchar*}% |
| 725 |
\edef\+{\@backslashchar+}% |
| 726 |
\edef\?{\@backslashchar?}% |
| 727 |
\edef\{{\@backslashchar\Hy@leftbracechar}% |
| 728 |
\edef\}{\Hy@rightbracechar}% |
| 729 |
\edef\\{\@backslashchar\@backslashchar}% |
| 730 |
\let\ \Hy@space |
| 731 |
\ifcase\pdfmatch#2{#3}{#1} % |
| 732 |
\endgroup |
| 733 |
\expandafter\@secondoftwo |
| 734 |
\or |
| 735 |
\endgroup |
| 736 |
\expandafter\@firstoftwo |
| 737 |
\else |
| 738 |
\Hy@Warning{% |
| 739 |
Internal error: Wrong pattern!\MessageBreak |
| 740 |
--> #3 <--\MessageBreak |
| 741 |
Pattern check ignored% |
| 742 |
}% |
| 743 |
\endgroup |
| 744 |
\expandafter\@firstoftwo |
| 745 |
\fi |
| 746 |
}% |
| 747 |
} |
| 748 |
% \end{macrocode} |
| 749 |
% |
| 750 |
% \subsection{Compatibility with format dumps} |
| 751 |
% |
| 752 |
% \begin{macro}{\AfterBeginDocument} |
| 753 |
% For use with pre-compiled formats, created using the |
| 754 |
% |ldump| package, there needs to be 2 hooks for adding |
| 755 |
% material delayed until |\begin{document}|. |
| 756 |
% These are called \cmd{\AfterBeginDocument} and |
| 757 |
% \cmd{\AtBeginDocument}. |
| 758 |
% If |ldump| is not loaded, then a single hook suffices |
| 759 |
% for normal \LaTeX{} processing. |
| 760 |
% |
| 761 |
% The default definition of |\AfterBeginDocument| cannot |
| 762 |
% be done by |\let| because of problems with |xypic|. |
| 763 |
% \begin{macrocode} |
| 764 |
\@ifundefined{AfterBeginDocument}{% |
| 765 |
\def\AfterBeginDocument{\AtBeginDocument}% |
| 766 |
}{}% |
| 767 |
% \end{macrocode} |
| 768 |
% \end{macro} |
| 769 |
% \begin{macro}{\Hy@AtBeginDocument} |
| 770 |
% For the case that package `hyperref' is loaded |
| 771 |
% using \cs{AtBeginDocument}, we have to wrap the calls |
| 772 |
% of \cs{AtBeginDocument}/\cs{AfterBeginDocument} in |
| 773 |
% \cs{AtEndOfPackage}. However, packages must be |
| 774 |
% loaded in \cs{AtEndOfPackage} \emph{before} package |
| 775 |
% `kvoptions' has to perform its option cleanup. |
| 776 |
% Therefore we use a hook. |
| 777 |
% \begin{macrocode} |
| 778 |
\ExplSyntaxOn |
| 779 |
\let\Hy@LocalAppendToMacro\tl_put_right:Nn |
| 780 |
\let\Hy@GlobalAppendToMacro\tl_gput_right:Nn |
| 781 |
\let\Hy@ifempty\tl_if_empty:nTF |
| 782 |
\ExplSyntaxOff |
| 783 |
\def\Hy@AtBeginDocument{% |
| 784 |
\Hy@LocalAppendToMacro\Hy@AtBeginDocumentHook |
| 785 |
} |
| 786 |
% \end{macrocode} |
| 787 |
% \end{macro} |
| 788 |
% \begin{macro}{\Hy@AtEndOfPackage} |
| 789 |
% \begin{macrocode} |
| 790 |
\def\Hy@AtEndOfPackage{% |
| 791 |
\Hy@LocalAppendToMacro\Hy@AtEndOfPackageHook |
| 792 |
} |
| 793 |
% \end{macrocode} |
| 794 |
% \end{macro} |
| 795 |
% \begin{macro}{\Hy@AtBeginDocumentHook} |
| 796 |
% \begin{macrocode} |
| 797 |
\let\Hy@AtBeginDocumentHook\@empty |
| 798 |
% \end{macrocode} |
| 799 |
% \end{macro} |
| 800 |
% \begin{macro}{\Hy@AtEndOfPackageHook} |
| 801 |
% \begin{macrocode} |
| 802 |
\let\Hy@AtEndOfPackageHook\@empty |
| 803 |
% \end{macrocode} |
| 804 |
% \end{macro} |
| 805 |
% Install the hook, before package `kvoptions' is loaded. |
| 806 |
% \begin{macrocode} |
| 807 |
\AtEndOfPackage{% |
| 808 |
\Hy@AtEndOfPackageHook |
| 809 |
\let\Hy@AtEndOfPackageHook\@undefined |
| 810 |
\AfterBeginDocument{% |
| 811 |
\Hy@AtBeginDocumentHook{}% |
| 812 |
\let\Hy@AtBeginDocumentHook\@undefined |
| 813 |
}% |
| 814 |
} |
| 815 |
% \end{macrocode} |
| 816 |
% |
| 817 |
% Package kvoptions is used for processing options that are |
| 818 |
% given as key value pairs. The package provides |
| 819 |
% |\ProcessKeyvalOptions|, formerly known as |
| 820 |
% |\ProcessOptionsWithKV|. |
| 821 |
% \begin{macrocode} |
| 822 |
\RequirePackage{kvoptions}[2009/07/21] |
| 823 |
% \end{macrocode} |
| 824 |
% |
| 825 |
% \subsection{Switches} |
| 826 |
% \begin{macrocode} |
| 827 |
\newif\ifHy@stoppedearly |
| 828 |
\newif\ifHy@typexml |
| 829 |
\newif\ifHy@activeanchor |
| 830 |
\newif\ifHy@backref |
| 831 |
\newif\ifHy@bookmarks |
| 832 |
\newif\ifHy@bookmarksnumbered |
| 833 |
\newif\ifHy@bookmarksopen |
| 834 |
\newif\ifHy@breaklinks |
| 835 |
\newif\ifHy@pdfcenterwindow |
| 836 |
\newif\ifHy@CJKbookmarks |
| 837 |
\newif\ifHy@colorlinks |
| 838 |
\newif\ifHy@destlabel |
| 839 |
\newif\ifHy@draft |
| 840 |
\let\Hy@finaltrue\Hy@draftfalse |
| 841 |
\let\Hy@finalfalse\Hy@drafttrue |
| 842 |
\newif\ifHy@pdfescapeform |
| 843 |
\newif\ifHy@hyperfigures |
| 844 |
\newif\ifHy@pdffitwindow |
| 845 |
\newif\ifHy@frenchlinks |
| 846 |
\newif\ifHy@hyperfootnotes |
| 847 |
\newif\ifHy@hyperindex |
| 848 |
\newif\ifHy@hypertexnames |
| 849 |
\newif\ifHy@implicit |
| 850 |
\newif\ifHy@linktocpage |
| 851 |
\newif\ifHy@localanchorname |
| 852 |
\newif\ifHy@pdfmenubar |
| 853 |
\newif\ifHy@naturalnames |
| 854 |
\newif\ifHy@nesting |
| 855 |
\newif\ifHy@pdfnewwindowset |
| 856 |
\newif\ifHy@pdfnewwindow |
| 857 |
\newif\ifHy@ocgcolorlinks |
| 858 |
\newif\ifHy@pageanchor |
| 859 |
\newif\ifHy@pdfpagelabels |
| 860 |
\newif\ifHy@pdfstring |
| 861 |
\newif\ifHy@plainpages |
| 862 |
\newif\ifHy@psize |
| 863 |
\newif\ifHy@raiselinks |
| 864 |
\newif\ifHy@seminarslides |
| 865 |
\newif\ifHy@setpagesize |
| 866 |
\newif\ifHy@texht |
| 867 |
\newif\ifHy@psdextra |
| 868 |
\newif\ifHy@pdftoolbar |
| 869 |
\newif\ifHy@unicode |
| 870 |
\newif\ifHy@pdfusetitle |
| 871 |
\newif\ifHy@verbose |
| 872 |
\let\Hy@debugtrue\Hy@verbosetrue |
| 873 |
\let\Hy@debugfalse\Hy@verbosefalse |
| 874 |
\newif\ifHy@pdfwindowui |
| 875 |
\newif\ifHy@pdfdisplaydoctitle |
| 876 |
\newif\ifHy@pdfa |
| 877 |
% \end{macrocode} |
| 878 |
% Defaults for the switches are now set. |
| 879 |
% \begin{macrocode} |
| 880 |
\Hy@backreffalse |
| 881 |
\Hy@bookmarksnumberedfalse |
| 882 |
\Hy@bookmarksopenfalse |
| 883 |
\Hy@bookmarkstrue |
| 884 |
\Hy@breaklinksfalse |
| 885 |
\Hy@pdfcenterwindowfalse |
| 886 |
\Hy@CJKbookmarksfalse |
| 887 |
\Hy@destlabelfalse |
| 888 |
\Hy@pdfescapeformfalse |
| 889 |
\Hy@hyperfiguresfalse |
| 890 |
\Hy@pdffitwindowfalse |
| 891 |
\Hy@hyperfootnotestrue |
| 892 |
\Hy@hyperindextrue |
| 893 |
\Hy@hypertexnamestrue |
| 894 |
\Hy@implicittrue |
| 895 |
\Hy@linktocpagefalse |
| 896 |
\Hy@localanchornamefalse |
| 897 |
\Hy@pdfmenubartrue |
| 898 |
\Hy@naturalnamesfalse |
| 899 |
\Hy@nestingfalse |
| 900 |
\Hy@pdfnewwindowsetfalse |
| 901 |
\Hy@pdfnewwindowfalse |
| 902 |
\Hy@pageanchortrue |
| 903 |
\Hy@pdfpagelabelstrue |
| 904 |
\Hy@pdfstringfalse |
| 905 |
\Hy@plainpagesfalse |
| 906 |
\Hy@raiselinksfalse |
| 907 |
\Hy@setpagesizetrue |
| 908 |
\Hy@texhtfalse |
| 909 |
\Hy@psdextrafalse |
| 910 |
\Hy@pdftoolbartrue |
| 911 |
\Hy@unicodetrue |
| 912 |
\ifx\kanjiskip\@undefined |
| 913 |
\else |
| 914 |
\ifx\forcecjktoken\@undefined |
| 915 |
\Hy@unicodefalse |
| 916 |
\fi |
| 917 |
\fi |
| 918 |
\Hy@pdfusetitlefalse |
| 919 |
\Hy@verbosefalse |
| 920 |
\Hy@pdfwindowuitrue |
| 921 |
\Hy@pdfdisplaydoctitlefalse |
| 922 |
\Hy@pdfafalse |
| 923 |
% \end{macrocode} |
| 924 |
% |
| 925 |
% \section{Common help macros} |
| 926 |
% |
| 927 |
% \begin{macro}{\Hy@StepCount} |
| 928 |
% \begin{macrocode} |
| 929 |
\def\Hy@StepCount#1{\advance#1 by 1 }% |
| 930 |
% \end{macrocode} |
| 931 |
% \end{macro} |
| 932 |
% \begin{macro}{\Hy@GlobalStepCount} |
| 933 |
% \begin{macrocode} |
| 934 |
\def\Hy@GlobalStepCount#1{\global\advance#1 by 1 }% |
| 935 |
% \end{macrocode} |
| 936 |
% \end{macro} |
| 937 |
% |
| 938 |
% \begin{macrocode} |
| 939 |
\newdimen\@linkdim |
| 940 |
\let\Hy@driver\@empty |
| 941 |
\let\MaybeStopEarly\relax |
| 942 |
\newcount\Hy@linkcounter |
| 943 |
\newcount\Hy@pagecounter |
| 944 |
\Hy@linkcounter0 |
| 945 |
\Hy@pagecounter0 |
| 946 |
\def\Hy@space{ } |
| 947 |
% \end{macrocode} |
| 948 |
% |
| 949 |
% \subsection{Macros for recursions} |
| 950 |
% |
| 951 |
% \begin{macrocode} |
| 952 |
\let\Hy@ReturnEnd\@empty |
| 953 |
\long\def\Hy@ReturnAfterFi#1\fi{\fi#1} |
| 954 |
\long\def\Hy@ReturnAfterElseFi#1\else#2\fi{\fi#1} |
| 955 |
\long\def\Hy@ReturnAfterFiFiEnd#1\fi#2\Hy@ReturnEnd{\fi\fi#1} |
| 956 |
\long\def\Hy@ReturnAfterElseFiFiEnd#1\else#2\Hy@ReturnEnd{\fi\fi#1} |
| 957 |
% \end{macrocode} |
| 958 |
% |
| 959 |
% \subsection{Babel's protection of shorthand characters} |
| 960 |
% |
| 961 |
% \begin{macro}{\Hy@safe@activestrue} |
| 962 |
% \begin{macro}{\Hy@safe@activesfalse} |
| 963 |
% Babel's switch setting commands cannot used directly, |
| 964 |
% because they can be undefined if babel is not loaded. |
| 965 |
% \begin{macrocode} |
| 966 |
\def\Hy@safe@activestrue{\csname @safe@activestrue\endcsname} |
| 967 |
\def\Hy@safe@activesfalse{\csname @safe@activesfalse\endcsname} |
| 968 |
% \end{macrocode} |
| 969 |
% \end{macro} |
| 970 |
% \end{macro} |
| 971 |
% |
| 972 |
% \subsection{Coordinate transformations} |
| 973 |
% |
| 974 |
% At some places numbers in pdf units are |
| 975 |
% expected (eg: FitBH, ...). The following macros |
| 976 |
% perform the transformation from TeX units (pt) |
| 977 |
% to PDF units (bp). |
| 978 |
% |
| 979 |
% \begin{macro}{\hypercalcbp} |
| 980 |
% The user macro \cmd{\hypercalcbp} can be used, for example, |
| 981 |
% inside option values: |
| 982 |
%\begin{verbatim} |
| 983 |
%pdfstartview={FitBH \hypercalcbp{\paperheight-\topmargin-1in}} |
| 984 |
%\end{verbatim} |
| 985 |
% \begin{itemize} |
| 986 |
% \item |
| 987 |
% It cannot be used inside \cmd{\usepackage}, because |
| 988 |
% LaTeX expands the options before package hyperref |
| 989 |
% is loaded and \cmd{\hypercalcbp} is defined. |
| 990 |
% \item |
| 991 |
% With the now required e-TeX extensions an expandable implementation |
| 992 |
% is very easy; \cmd{\hypercalcbp} can be used |
| 993 |
% everywhere and is expanded at use. |
| 994 |
% \end{itemize} |
| 995 |
% Example (\TeX): |
| 996 |
%\begin{verbatim} |
| 997 |
%\usepackage[...]{hyperref} |
| 998 |
%\hypersetup{ |
| 999 |
% pdfstartview={FitBH \hypercalcbp{\paperheight-\topmargin-1in |
| 1000 |
% -\headheight-\headsep}} |
| 1001 |
%} |
| 1002 |
%\end{verbatim} |
| 1003 |
% \begin{macro}{\hypercalcbp} |
| 1004 |
% \begin{macrocode} |
| 1005 |
\def\hypercalcbp#1{% |
| 1006 |
\strip@pt\dimexpr 0.99626401\dimexpr(#1)\relax\relax |
| 1007 |
}% |
| 1008 |
\def\hypercalcbpdef{\def}% |
| 1009 |
% \end{macrocode} |
| 1010 |
% \end{macro} |
| 1011 |
% \end{macro} |
| 1012 |
% |
| 1013 |
% \section{Dealing with PDF strings}\label{sec:pdfstring} |
| 1014 |
% The PDF string stuff done by Heiko Oberdiek. |
| 1015 |
% |
| 1016 |
% Naming convention: All internal commands that are only |
| 1017 |
% needed by \cs{pdfstringdef} are prefixed with \cs{HyPsd@}. |
| 1018 |
% |
| 1019 |
% \subsection{Description of PDF strings} |
| 1020 |
% The PDF specification defines several places to hold |
| 1021 |
% text strings (bookmark names, document information, |
| 1022 |
% text annotations, etc.). |
| 1023 |
% The PDF strings have following properties: |
| 1024 |
% \begin{itemize} |
| 1025 |
% \item They are surrounded by parentheses. The hexadecimal form |
| 1026 |
% is not supported. |
| 1027 |
% \item Like PostScript language strings they use the same |
| 1028 |
% escaping mechanism:\\ |
| 1029 |
% \begin{tabular}{ll} |
| 1030 |
% |\\|& the backslash itself\\ |
| 1031 |
% \cs{)}, \cs{(}& unbalanced parentheses\\ |
| 1032 |
% \cs{n}, \cs{r}, \cs{t}, \cs{b}, \cs{f}& special white space |
| 1033 |
% escape sequences\\ |
| 1034 |
% |\|\textit{|ddd|}& octal character code \textit{|ddd|} |
| 1035 |
% \end{tabular} |
| 1036 |
% \item Strings are stored either in PDFDocEncoding, which is a superset of |
| 1037 |
% ISOLatin1 and is compatible with Unicode with character codes |
| 1038 |
% below 256, or in Unicode. |
| 1039 |
% \end{itemize} |
| 1040 |
% |
| 1041 |
% \subsection{Definition of |
| 1042 |
% \texorpdfstring{\cs{pdfstringdef}}{\\pdfstringdef}} |
| 1043 |
% The central macro for dealing with PDF strings is \cs{pdfstringdef}. |
| 1044 |
% It defines a command |#1| to be the result of the conversion |
| 1045 |
% from the string in |#2| to a legal PDFDocEncoded string. |
| 1046 |
% Currently the definition is global, but this can be changed in |
| 1047 |
% the future. |
| 1048 |
% |
| 1049 |
% Important: In \TeX's view PDF strings are written to a file and |
| 1050 |
% are expanded only in its mouth. Stomach commands that cannot |
| 1051 |
% be expanded further aren't executed, they are written verbatim. |
| 1052 |
% But the PDF reader that reads such a string isn't a \TeX{} |
| 1053 |
% interpreter! |
| 1054 |
% |
| 1055 |
% The macro \cs{pdfstringdef} consists of three main parts: |
| 1056 |
% \begin{enumerate} |
| 1057 |
% \item Preprocessing. Here the expansion is prepared. The encoding |
| 1058 |
% is set and many commands are redefined, so that they work |
| 1059 |
% appropriate. |
| 1060 |
% \item Expansion. The \TeX{} string is expanded the first time |
| 1061 |
% to get a PDF string. |
| 1062 |
% \item Postprocessing. The result of the expansion is checked and |
| 1063 |
% converted to the final form. |
| 1064 |
% \end{enumerate} |
| 1065 |
% |
| 1066 |
% \cs{MakeUppercase} and \cs{MakeLowercase} do not work by expansion in |
| 1067 |
% legacy code but if the expl3 code is available we can handle them. |
| 1068 |
% If a current babel or polyglossia is used we can also make use of the language. |
| 1069 |
% |
| 1070 |
% \begin{macro}{\MakeUppercaseUnsupportedInPdfStrings} |
| 1071 |
% \begin{macro}{\MakeLowercaseUnsupportedInPdfStrings} |
| 1072 |
% \begin{macrocode} |
| 1073 |
\providecommand*\BCPdata[1]{} |
| 1074 |
\ExplSyntaxOn |
| 1075 |
\@ifundefined{text_uppercase:n}{} |
| 1076 |
{ |
| 1077 |
\def\MakeUppercaseUnsupportedInPdfStrings#1 |
| 1078 |
{\use:e |
| 1079 |
{\exp_args:Ne |
| 1080 |
\text_uppercase:nn{\BCPdata { casing }}{#1} |
| 1081 |
} |
| 1082 |
} |
| 1083 |
\def\MakeLowercaseUnsupportedInPdfStrings#1 |
| 1084 |
{\use:e |
| 1085 |
{\exp_args:Ne |
| 1086 |
\text_lowercase:nn{\BCPdata { casing }}{#1} |
| 1087 |
} |
| 1088 |
} |
| 1089 |
} |
| 1090 |
\ExplSyntaxOff |
| 1091 |
% \end{macrocode} |
| 1092 |
% \end{macro} |
| 1093 |
% \end{macro} |
| 1094 |
% |
| 1095 |
% \begin{macro}{\hyper@natlinkstart} |
| 1096 |
% \begin{macro}{\hyper@natlinkend} |
| 1097 |
% \begin{macro}{\hyper@natlinkbreak} |
| 1098 |
% \begin{macro}{\hyper@natanchorstart} |
| 1099 |
% \begin{macro}{\hyper@natanchorend} |
| 1100 |
% We provide the natbib hooks always, for better tagging support, see |
| 1101 |
% issue \#406 |
| 1102 |
% \begin{macrocode} |
| 1103 |
\def\hyper@natlinkstart#1{} |
| 1104 |
\def\hyper@natlinkend{} |
| 1105 |
\def\hyper@natlinkbreak#1#2{#1} |
| 1106 |
\def\hyper@natanchorstart#1{} |
| 1107 |
\def\hyper@natanchorend{} |
| 1108 |
% \end{macrocode} |
| 1109 |
% \end{macro} |
| 1110 |
% \end{macro} |
| 1111 |
% \end{macro} |
| 1112 |
% \end{macro} |
| 1113 |
% \end{macro} |
| 1114 |
|
| 1115 |
% \begin{macro}{\pdfstringdef} |
| 1116 |
% \cs{pdfstringdef} works on the tokens in |#2| and converts them to |
| 1117 |
% a PDF string as far as possible: |
| 1118 |
% \begin{itemize} |
| 1119 |
% \item The result should obey the rules of the PDF specification |
| 1120 |
% for strings. |
| 1121 |
% \item The string can safely processed by \TeX, because the |
| 1122 |
% tokens have only catcodes 10 until 12. |
| 1123 |
% \end{itemize} |
| 1124 |
% The result is stored in the command token given in |#1|. |
| 1125 |
% \begin{macrocode} |
| 1126 |
\def\pdfstringdef#1#2{% |
| 1127 |
% \end{macrocode} |
| 1128 |
% Many redefinitions are needed, so all the work is done in a group. |
| 1129 |
% \begin{macrocode} |
| 1130 |
\begingroup |
| 1131 |
% \end{macrocode} |
| 1132 |
% |
| 1133 |
% \subsubsection{Preprocessing} |
| 1134 |
% \paragraph{Octal escape sequences.} |
| 1135 |
% To avoid problems with eight bit or non printable characters, the octal |
| 1136 |
% escape notation is supported. So most glyphs in the encoding definitions |
| 1137 |
% for PD1 and PU produce these octal escape sequences. |
| 1138 |
% All three octal digits have to be used: |
| 1139 |
% \begin{itemize} |
| 1140 |
% \item Wrong results are avoided, if digits follow that are not part of the |
| 1141 |
% octal sequence. |
| 1142 |
% \item Macros rely on the fact that the octal sequences always consist of |
| 1143 |
% three digits (vtex driver, Unicode support). |
| 1144 |
% \end{itemize} |
| 1145 |
% The escape sequences start with a backslash. By \cs{string} it will be |
| 1146 |
% printed. Therefore it is ensured that the \TeX{} escape character indeed |
| 1147 |
% prints as a normal backslash. |
| 1148 |
% Eventually this line can be removed, because this is standard |
| 1149 |
% \LaTeX{} behaviour. |
| 1150 |
% \begin{macrocode} |
| 1151 |
\escapechar`\\% |
| 1152 |
% \end{macrocode} |
| 1153 |
% From the view of \TeX{} a octal sequence consists of the command tokens |
| 1154 |
% \cs{0} until \cs{3} and two digits. |
| 1155 |
% For saving tokens \cs{0}, \cs{1}, \cs{2}, and \cs{3} are directly |
| 1156 |
% used without a preceding \cs{string} in the glyph definitions. |
| 1157 |
% This is done here locally |
| 1158 |
% by defining the \cs{0} until \cs{3} commands. So the user |
| 1159 |
% can use octal escape sequences directly, the disadvantage is |
| 1160 |
% that a previous definition of this short commands does not apply. |
| 1161 |
% \begin{macrocode} |
| 1162 |
\edef\0{\string\0}% |
| 1163 |
\edef\1{\string\1}% |
| 1164 |
\edef\2{\string\2}% |
| 1165 |
\edef\3{\string\3}% |
| 1166 |
% \end{macrocode} |
| 1167 |
% \paragraph{Setting font encoding.} |
| 1168 |
% The unicode encoding |
| 1169 |
% uses \cs{8} and \cs{9} as marker for the higher byte. |
| 1170 |
% \cs{8} is an abbreviation for the higher bytes 0 until 7 |
| 1171 |
% that can be expressed by one digit. \cs{8} will be |
| 1172 |
% converted to \cs{00}. However \cs{9} only marks the next |
| 1173 |
% three digits as higher byte and will be removed later. |
| 1174 |
% |
| 1175 |
% The encoding is set by \cs{enc@update} for optimizing reasons. |
| 1176 |
% \begin{macrocode} |
| 1177 |
\ifHy@unicode |
| 1178 |
\edef\8{\string\8}% |
| 1179 |
\edef\9{\string\9}% |
| 1180 |
\fontencoding{PU}% |
| 1181 |
\HyPsd@UTFviii |
| 1182 |
\def\ifpdfstringunicode##1##2{##1}% |
| 1183 |
\else |
| 1184 |
\fontencoding{PD1}% |
| 1185 |
\def\ifpdfstringunicode##1##2{##2}% |
| 1186 |
\fi |
| 1187 |
\let\utf@viii@undeferr\HyPsd@utf@viii@undeferr |
| 1188 |
\enc@update |
| 1189 |
% \end{macrocode} |
| 1190 |
% |
| 1191 |
% \paragraph{Internal encoding commands.} |
| 1192 |
% \cs{pdfstringdef} interprets text strings which are not allowed |
| 1193 |
% to contain mathematical stuff. The text glyph commands will produce |
| 1194 |
% a warning, if called in math mode. But this warning disturbs while |
| 1195 |
% expanding. Therefore we check for math mode here, before |
| 1196 |
% \cs{@inmathwarn} will be disabled (see below). |
| 1197 |
% \begin{macrocode} |
| 1198 |
\@inmathwarn\pdfstringdef |
| 1199 |
% \end{macrocode} |
| 1200 |
% If a glyph is used, that isn't in the PD1/PU encoding there will |
| 1201 |
% be an infinite error loop, because the NFSS encoding stuff |
| 1202 |
% have to be expanded unprotected (\cs{edef}), so that the |
| 1203 |
% assignments of \cs{@changed@cmd} don't take place. |
| 1204 |
% To patch this behaviour I only found \cs{@inmathwarn} |
| 1205 |
% as a usable hook. While an \cs{edef} a warning message by |
| 1206 |
% \cs{@inmathwarn} or \cs{TextSymbolUnavailable} cannot be give out, |
| 1207 |
% so \cs{@inmathwarn} should be disabled. And with the help of it |
| 1208 |
% the assignments in \cs{@changed@cmd} can easily be caught |
| 1209 |
% (see below). |
| 1210 |
% \begin{macrocode} |
| 1211 |
\let\@inmathwarn\HyPsd@inmathwarn |
| 1212 |
% \end{macrocode} |
| 1213 |
% |
| 1214 |
% Unknown composite characters are built with \cs{add@accent}, |
| 1215 |
% so it is redefined to provide a warning. |
| 1216 |
% \begin{macrocode} |
| 1217 |
\let\add@accent\HyPsd@add@accent |
| 1218 |
% \end{macrocode} |
| 1219 |
% |
| 1220 |
% \paragraph{Commands that don't use NFSS directly.} |
| 1221 |
% There are several commands that prints characters in the |
| 1222 |
% printable ASCII area that don't obey the NFSS, so they have |
| 1223 |
% to be redefined here. |
| 1224 |
% UF 29.09.2017: added a mapping for \cs{noboundary}, see issue |#37| |
| 1225 |
% \url{https://github.com/latex3/hyperref/issues/37} |
| 1226 |
% No test for PU, if some definition for PD1 is added it will work too. |
| 1227 |
% \begin{macrocode} |
| 1228 |
\let\{\textbraceleft |
| 1229 |
\let\}\textbraceright |
| 1230 |
\let\\\textbackslash |
| 1231 |
\let\#\textnumbersign |
| 1232 |
\let\$\textdollar |
| 1233 |
\let\%\textpercent |
| 1234 |
\let\&\textampersand |
| 1235 |
% \let\~\textasciitilde |
| 1236 |
\let\_\textunderscore |
| 1237 |
\let\P\textparagraph |
| 1238 |
\let\ldots\textellipsis |
| 1239 |
\let\dots\textellipsis |
| 1240 |
\@ifundefined{textEncodingNoboundary}% |
| 1241 |
{}{\let\noboundary\textEncodingNoboundary}% |
| 1242 |
% \end{macrocode} |
| 1243 |
% |
| 1244 |
% \paragraph{Newline} |
| 1245 |
% \cmd{\newline} or \cmd{\\} do not work in bookmarks, in text |
| 1246 |
% annotations they should expand to \cmd{\r}. In pdf strings |
| 1247 |
% \cmd{\\} stands for a backslash. Therefore the commands |
| 1248 |
% are disabled now. The user can redefine them for a result |
| 1249 |
% what he want: |
| 1250 |
% \begin{description} |
| 1251 |
% \item[backslash:] |
| 1252 |
% |\pdfstringdefDisableCommands{\let\\\textbackslash}| |
| 1253 |
% \item[new line:] |
| 1254 |
% |\pdfstringdefDisableCommands{\let\\\textCR}| |
| 1255 |
% \item[disabled:] |
| 1256 |
% |\pdfstringdefDisableCommands{\let\\\empty}| |
| 1257 |
% \end{description} |
| 1258 |
% At any case, however, the optional argument or the star |
| 1259 |
% cannot be scanned in a 100\% sure manner. |
| 1260 |
% \begin{macrocode} |
| 1261 |
\def\\{\pdfstringdefWarn\\}% |
| 1262 |
\def\newline{\pdfstringdefWarn\newline}% |
| 1263 |
% \end{macrocode} |
| 1264 |
% |
| 1265 |
% \paragraph{Logos.} |
| 1266 |
% Because the box shifting |
| 1267 |
% used in the \TeX{} logo does not work while writing to a file, |
| 1268 |
% the standard \TeX{} logos are redefined. |
| 1269 |
% We use the direct PU code to avoid problems if |
| 1270 |
% \cs{textepsilon} is not defined. |
| 1271 |
% \begin{macrocode} |
| 1272 |
\def\TeX{TeX}% |
| 1273 |
\def\LaTeX{La\TeX}% |
| 1274 |
\def\LaTeXe{% |
| 1275 |
\LaTeX2% |
| 1276 |
\ifHy@unicode\83\265\else e\fi |
| 1277 |
}% |
| 1278 |
\def\eTeX{% |
| 1279 |
\ifHy@unicode\83\265\else e\fi |
| 1280 |
-\TeX% |
| 1281 |
}% |
| 1282 |
\def\SliTeX{Sli\TeX}% |
| 1283 |
\def\MF{Metafont}% |
| 1284 |
\def\MP{Metapost}% |
| 1285 |
% \end{macrocode} |
| 1286 |
% |
| 1287 |
% \paragraph{Standard font commands.} |
| 1288 |
% Because font changes do not work, the standard font |
| 1289 |
% switching commands are disabled. |
| 1290 |
% \begin{macrocode} |
| 1291 |
\let\fontencoding\@gobble |
| 1292 |
\let\fontfamily\@gobble |
| 1293 |
\let\fontseries\@gobble |
| 1294 |
\let\fontshape\@gobble |
| 1295 |
\let\fontsize\@gobbletwo |
| 1296 |
\let\selectfont\@empty |
| 1297 |
\let\usefont\@gobblefour |
| 1298 |
\let\emph\@firstofone |
| 1299 |
\let\textnormal\@firstofone |
| 1300 |
\let\textrm\@firstofone |
| 1301 |
\let\textsf\@firstofone |
| 1302 |
\let\texttt\@firstofone |
| 1303 |
\let\textbf\@firstofone |
| 1304 |
\let\textmd\@firstofone |
| 1305 |
\let\textit\@firstofone |
| 1306 |
\let\textsc\@firstofone |
| 1307 |
\let\textsl\@firstofone |
| 1308 |
\let\textup\@firstofone |
| 1309 |
\let\normalfont\@empty |
| 1310 |
\let\rmfamily\@empty |
| 1311 |
\let\sffamily\@empty |
| 1312 |
\let\ttfamily\@empty |
| 1313 |
\let\bfseries\@empty |
| 1314 |
\let\mdseries\@empty |
| 1315 |
\let\itshape\@empty |
| 1316 |
\let\scshape\@empty |
| 1317 |
\let\slshape\@empty |
| 1318 |
\let\upshape\@empty |
| 1319 |
\let\em\@empty |
| 1320 |
\let\rm\@empty |
| 1321 |
\let\Huge\@empty |
| 1322 |
\let\LARGE\@empty |
| 1323 |
\let\Large\@empty |
| 1324 |
\let\footnotesize\@empty |
| 1325 |
\let\huge\@empty |
| 1326 |
\let\large\@empty |
| 1327 |
\let\normalsize\@empty |
| 1328 |
\let\scriptsize\@empty |
| 1329 |
\let\small\@empty |
| 1330 |
\let\tiny\@empty |
| 1331 |
\let\mathversion\@gobble |
| 1332 |
\let\phantom\@gobble |
| 1333 |
\let\vphantom\@gobble |
| 1334 |
\let\hphantom\@gobble |
| 1335 |
% \end{macrocode} |
| 1336 |
% |
| 1337 |
% \paragraph{Package pifont.} |
| 1338 |
% \begin{macrocode} |
| 1339 |
\let\ding\HyPsd@ding |
| 1340 |
\let\Cube\HyPsd@DieFace |
| 1341 |
%* \HyPsd@DieFace -> \epsdice (epsdice) |
| 1342 |
%* \HyPsd@DieFace -> \fcdice (hhcount) |
| 1343 |
% \end{macrocode} |
| 1344 |
% |
| 1345 |
% \paragraph{Environments.} |
| 1346 |
% \begin{macrocode} |
| 1347 |
\def\begin##1{\csname##1\endcsname}% |
| 1348 |
\def\end##1{\csname end##1\endcsname}% |
| 1349 |
% \end{macrocode} |
| 1350 |
% |
| 1351 |
% \paragraph{Package color.} |
| 1352 |
% \begin{macrocode} |
| 1353 |
\def\textcolor##1##{\@secondoftwo}% |
| 1354 |
% \end{macrocode} |
| 1355 |
% |
| 1356 |
% \paragraph{Upper- and lowercase.} |
| 1357 |
% \begin{macrocode} |
| 1358 |
\def\MakeUppercase{\MakeUppercaseUnsupportedInPdfStrings}% |
| 1359 |
\def\MakeLowercase{\MakeLowercaseUnsupportedInPdfStrings}% |
| 1360 |
% \end{macrocode} |
| 1361 |
% |
| 1362 |
% \paragraph{TextOrMath} |
| 1363 |
% The \cs{TextOrMath} command is protected in a current \LaTeX{} and |
| 1364 |
% so can not be processed. |
| 1365 |
% \begin{macrocode} |
| 1366 |
\def\TextOrMath{\ifmmode\expandafter\@secondoftwo\else\expandafter\@firstoftwo\fi}% |
| 1367 |
% \end{macrocode} |
| 1368 |
% \paragraph{Support of math commands without prefix \texttt{text}.} |
| 1369 |
% This is controlled by option ``psdextra'' and only |
| 1370 |
% activated with Unicode PDF strings. |
| 1371 |
% \begin{macrocode} |
| 1372 |
\ifHy@psdextra |
| 1373 |
\ifHy@unicode |
| 1374 |
\csname psdmapshortnames\endcsname |
| 1375 |
\csname psdaliasnames\endcsname |
| 1376 |
\fi |
| 1377 |
\fi |
| 1378 |
% \end{macrocode} |
| 1379 |
% |
| 1380 |
% \paragraph{Package babel.} |
| 1381 |
% Wherever ``naturalnames'' is used, disable \cs{textlatin} |
| 1382 |
% (from Babel 3.6k). Thanks to Felix Neubauer |
| 1383 |
% (Email: \Email{[email protected]}). |
| 1384 |
% \begin{macrocode} |
| 1385 |
\let\foreignlanguage\@secondoftwo |
| 1386 |
\let\textlatin\@firstofone |
| 1387 |
\@ifundefined{language@group}{}{% |
| 1388 |
\let\bbl@info\@gobble |
| 1389 |
\csname HyPsd@babel@\language@group\endcsname |
| 1390 |
}% |
| 1391 |
% \end{macrocode} |
| 1392 |
% |
| 1393 |
% \begin{macrocode} |
| 1394 |
\let\@safe@activestrue\relax |
| 1395 |
\let\@safe@activesfalse\relax |
| 1396 |
% \end{macrocode} |
| 1397 |
% |
| 1398 |
% Disable \cs{cyr}, used in russianb.ldf. |
| 1399 |
% \begin{macrocode} |
| 1400 |
\let\cyr\relax |
| 1401 |
% \end{macrocode} |
| 1402 |
% |
| 1403 |
% |
| 1404 |
% \paragraph{Package german.} |
| 1405 |
% \begin{macrocode} |
| 1406 |
\let\glqq\textglqq |
| 1407 |
\let\grqq\textgrqq |
| 1408 |
\let\glq\textglq |
| 1409 |
\let\grq\textgrq |
| 1410 |
\let\flqq\textflqq |
| 1411 |
\let\frqq\textfrqq |
| 1412 |
\let\flq\textflq |
| 1413 |
\let\frq\textfrq |
| 1414 |
% \end{macrocode} |
| 1415 |
% |
| 1416 |
% \paragraph{Package french.} The support is deferred, because |
| 1417 |
% it needs |\GenericError| to be disabled (see below). |
| 1418 |
% |
| 1419 |
% \paragraph{Package FrenchPro.} This package uses: |
| 1420 |
% \begin{quote} |
| 1421 |
% |\if@mid@expandable{|not fully expandable code|}{|fully expandable code|}| |
| 1422 |
% \end{quote} |
| 1423 |
% \begin{macrocode} |
| 1424 |
\let\if@mid@expandable\@firstoftwo |
| 1425 |
% \end{macrocode} |
| 1426 |
% |
| 1427 |
% \paragraph{AMS classes.} |
| 1428 |
% \begin{macrocode} |
| 1429 |
\HyPsd@AMSclassfix |
| 1430 |
% \end{macrocode} |
| 1431 |
% |
| 1432 |
% \paragraph{Redefinition of \cs{hspace}} |
| 1433 |
% \cs{hspace} don't work in bookmarks, the following fix |
| 1434 |
% tries to set a space if the argument is a positive length. |
| 1435 |
% \begin{macrocode} |
| 1436 |
\let\hspace\HyPsd@hspace |
| 1437 |
% \end{macrocode} |
| 1438 |
% |
| 1439 |
% \paragraph{Commands of referencing and indexing systems.} |
| 1440 |
% Some \LaTeX{} commands that are legal in \cs{section} commands |
| 1441 |
% have to be disabled here. |
| 1442 |
% \begin{macrocode} |
| 1443 |
\let\label\@gobble |
| 1444 |
\let\index\@gobble |
| 1445 |
\let\glossary\@gobble |
| 1446 |
\let\href\HyPsd@href |
| 1447 |
\let\@mkboth\@gobbletwo |
| 1448 |
% \end{macrocode} |
| 1449 |
% |
| 1450 |
% The \cs{ref} and \cs{pageref} is much more complicate because of their |
| 1451 |
% star form. |
| 1452 |
% \begin{macrocode} |
| 1453 |
\let\ref\HyPsd@ref |
| 1454 |
\let\pageref\HyPsd@pageref |
| 1455 |
\let\nameref\HyPsd@nameref |
| 1456 |
\let\autoref\HyPsd@autoref |
| 1457 |
% \end{macrocode} |
| 1458 |
% |
| 1459 |
% \paragraph{Miscellaneous commands.} |
| 1460 |
% \begin{macrocode} |
| 1461 |
\let\leavevmode\@empty |
| 1462 |
\let\mbox\@empty |
| 1463 |
% \end{macrocode} |
| 1464 |
% \cs{halign} causes error messages because of the template |
| 1465 |
% character |#|. |
| 1466 |
% \begin{macrocode} |
| 1467 |
\def\halign{\pdfstringdefWarn\halign\@gobble}% |
| 1468 |
% \end{macrocode} |
| 1469 |
% \begin{macrocode} |
| 1470 |
\let\ignorespaces\HyPsd@ignorespaces |
| 1471 |
% \end{macrocode} |
| 1472 |
% \begin{macrocode} |
| 1473 |
\let\Hy@SectionAnchorHref\@gobble |
| 1474 |
% \end{macrocode} |
| 1475 |
% \begin{macrocode} |
| 1476 |
\let\ensuremath\@firstofone |
| 1477 |
% \end{macrocode} |
| 1478 |
% |
| 1479 |
% \paragraph{Patch for cjk bookmarks.} |
| 1480 |
% \begin{macrocode} |
| 1481 |
\HyPsd@CJKhook |
| 1482 |
% \end{macrocode} |
| 1483 |
% |
| 1484 |
% \paragraph{User hook.} |
| 1485 |
% The switch \cs{Hy@pdfstring} is turned on. So user commands |
| 1486 |
% can detect that they are processed not to be typesetted within |
| 1487 |
% \TeX's stomach, |
| 1488 |
% but to be expanded by the mouth to give a PDF string. |
| 1489 |
% At this place before interpreting the string in |#2| additional |
| 1490 |
% redefinitions can by added by the hook \cs{pdfstringdefPreHook}. |
| 1491 |
% |
| 1492 |
% The position in the middle of the redefinitions is a compromise: |
| 1493 |
% The user should be able to provide his own (perhaps better) |
| 1494 |
% redefinitions, but some commands should have their original |
| 1495 |
% meaning, because they can be used in the hook (\cs{bgroup}, |
| 1496 |
% or \cs{@protected@testopt}, and \cs{@ifnextchar} |
| 1497 |
% for \cs{renewcommand}). |
| 1498 |
% \begin{macrocode} |
| 1499 |
\Hy@pdfstringtrue |
| 1500 |
\pdfstringdefPreHook |
| 1501 |
% \end{macrocode} |
| 1502 |
% |
| 1503 |
% \paragraph{Spaces.} |
| 1504 |
% For checking the token of the string, spaces must be masked, because |
| 1505 |
% they cannot by caught by undelimited arguments. |
| 1506 |
% \begin{macrocode} |
| 1507 |
\HyPsd@LetUnexpandableSpace\space |
| 1508 |
\HyPsd@LetUnexpandableSpace\ % |
| 1509 |
\HyPsd@LetUnexpandableSpace~% |
| 1510 |
\HyPsd@LetUnexpandableSpace\nobreakspace |
| 1511 |
% \end{macrocode} |
| 1512 |
% |
| 1513 |
% \paragraph{Package xspace.} |
| 1514 |
% \begin{macrocode} |
| 1515 |
\@ifundefined{@xspace}{% |
| 1516 |
\let\xspace\HyPsd@ITALCORR |
| 1517 |
}{% |
| 1518 |
\let\xspace\HyPsd@XSPACE |
| 1519 |
}% |
| 1520 |
\let\/\HyPsd@ITALCORR |
| 1521 |
\let\bgroup\/% |
| 1522 |
\let\egroup\/% |
| 1523 |
% \end{macrocode} |
| 1524 |
% |
| 1525 |
% \paragraph{Redefinitions of miscellaneous commands.} |
| 1526 |
% Hyphenation does not make sense. |
| 1527 |
% \begin{macrocode} |
| 1528 |
\let\discretionary\@gobbletwo |
| 1529 |
% \end{macrocode} |
| 1530 |
% |
| 1531 |
% \cs{@ifstar} is defined in \LaTeX\ as follows: |
| 1532 |
%\begin{verbatim} |
| 1533 |
%\def\@ifstar#1{\@ifnextchar *{\@firstoftwo{#1}}} |
| 1534 |
%\end{verbatim} |
| 1535 |
% \cs{@ifnextchar} doesn't work, because it uses stomach |
| 1536 |
% commands like \cs{let} and \cs{futurelet}. But it |
| 1537 |
% doesn't break. Whereas |\@firstoftwo{#1}}| gives an |
| 1538 |
% error message because \cs{@firstoftwo} misses its second |
| 1539 |
% argument. |
| 1540 |
% |
| 1541 |
% A mimicry of \cs{@ifnextchar} only with expandible commands |
| 1542 |
% would be very extensive and the result would be only an |
| 1543 |
% approximation. So here a cheaper solution follows |
| 1544 |
% in order to get rid of the error message at least: |
| 1545 |
% \begin{macrocode} |
| 1546 |
\def\@ifnextchar{\HyPsd@ifnextchar\@ifnextchar}% |
| 1547 |
\def\kernel@ifnextchar{\HyPsd@ifnextchar\kernel@ifnextchar}% |
| 1548 |
\def\new@ifnextchar{\HyPsd@ifnextchar\new@ifnextchar}% |
| 1549 |
\let\@protected@testopt\HyPsd@protected@testopt |
| 1550 |
% \end{macrocode} |
| 1551 |
% Support for package `xargs': |
| 1552 |
% \begin{macrocode} |
| 1553 |
\let\@protected@testopt@xargs\HyPsd@protected@testopt |
| 1554 |
% \end{macrocode} |
| 1555 |
% |
| 1556 |
% \subsubsection{Expansion} |
| 1557 |
% There are several possibilities to |
| 1558 |
% expand tokens within \LaTeX: |
| 1559 |
% \begin{description} |
| 1560 |
% \item[\cs{protected@edef}:] |
| 1561 |
% The weakest form isn't usable, because |
| 1562 |
% it does not expand the font encoding commands. They are |
| 1563 |
% made robust and protect themselves. |
| 1564 |
% \item[\cs{csname}:] First the string is |
| 1565 |
% expanded within a \cs{csname} and \cs{endcsname}. |
| 1566 |
% Then the command name is converted to characters |
| 1567 |
% with catcode 12 by \cs{string} and the first |
| 1568 |
% escape character removed by \cs{@gobble}. |
| 1569 |
% This method has the great \emph{advantage} that |
| 1570 |
% stomach tokens that aren't allowed in PDF strings are detected |
| 1571 |
% by \TeX{} and reported as errors in order to force the user |
| 1572 |
% to write correct things. So he get no wrong results by |
| 1573 |
% forgetting the proofreading of his text. |
| 1574 |
% But the \emph{disadvantage} is that old wrong code cannot |
| 1575 |
% processed without errors. Mainly the error message is very cryptic |
| 1576 |
% and for the normal user hard to understand. \TeX{} provides |
| 1577 |
% no way to catch the error caused by \cs{csname} or allows to |
| 1578 |
% support the user with a descriptive error message. Therefore |
| 1579 |
% the experienced user had to enable this behaviour by an |
| 1580 |
% option |exactdef| in previous versions less or equal 6.50. |
| 1581 |
% \item[\cs{edef}] This version uses this standard form for expansion. |
| 1582 |
% It is stronger than \LaTeX's \cs{protected@edef}. |
| 1583 |
% So the font encoding mechanism works and the glyph commands |
| 1584 |
% are converted to the correct tokens for PDF strings with the |
| 1585 |
% definitions of the PD1 encoding. |
| 1586 |
% Because the protecting mechanism of \LaTeX{} doesn't work |
| 1587 |
% within an \cs{edef}, there are situations thinkable where |
| 1588 |
% code can break. For example, assignments and definitions aren't |
| 1589 |
% performed and so undefined command errors or argument |
| 1590 |
% parsing errors can occur. But this is only a compatibility problem |
| 1591 |
% with old texts. Now there are possibilities to write |
| 1592 |
% code that gives correct PDF strings (see \cs{texorpdfstring}). |
| 1593 |
% In the most cases unexpandable commands and tokens |
| 1594 |
% (math shift, grouping characters) remains. They |
| 1595 |
% don't cause an error like with \cs{csname}. However a PDF reader |
| 1596 |
% isn't \TeX{}, so these tokens are viewed verbatim. So |
| 1597 |
% this version detects them now, and removes them with an |
| 1598 |
% descriptive warning for the user. As additional features |
| 1599 |
% xspace support is possible and grouping characters can be |
| 1600 |
% used without problems, because they are removed silently. |
| 1601 |
% \end{description} |
| 1602 |
% |
| 1603 |
% \paragraph{Generic messages.} |
| 1604 |
% While expanding via \cs{xdef} the |\Generic...| messages |
| 1605 |
% don't work and causes problems (error messages, invalid |.out| |
| 1606 |
% file). So they are disabled while expanding and removed silently, |
| 1607 |
% because a user warning would be too expensive (memory and runtime, |
| 1608 |
% |\pdfstringdef| is slow enough). |
| 1609 |
% \begin{macrocode} |
| 1610 |
\begingroup |
| 1611 |
\let\GenericError\@gobblefour |
| 1612 |
\let\GenericWarning\@gobbletwo |
| 1613 |
\let\GenericInfo\@gobbletwo |
| 1614 |
% \end{macrocode} |
| 1615 |
% |
| 1616 |
% \paragraph{Package french.} |
| 1617 |
% This fix only works, if \cs{GenericError} is disabled. |
| 1618 |
% \begin{macrocode} |
| 1619 |
\ifx\nofrenchguillemets\@undefined |
| 1620 |
\else |
| 1621 |
\nofrenchguillemets |
| 1622 |
\fi |
| 1623 |
% \end{macrocode} |
| 1624 |
% |
| 1625 |
% \paragraph{Definition commands and expansion.} |
| 1626 |
% Redefining the defining commands (see sec. \ref{defcmd}). |
| 1627 |
% The original meaning of \cs{xdef} is saved in \cs{Hy@temp}. |
| 1628 |
% \begin{macrocode} |
| 1629 |
\let\Hy@temp\xdef |
| 1630 |
\let\def\HyPsd@DefCommand |
| 1631 |
\let\gdef\HyPsd@DefCommand |
| 1632 |
\let\edef\HyPsd@DefCommand |
| 1633 |
\let\xdef\HyPsd@DefCommand |
| 1634 |
\let\futurelet\HyPsd@LetCommand |
| 1635 |
\let\let\HyPsd@LetCommand |
| 1636 |
\Hy@temp#1{#2}% |
| 1637 |
\endgroup |
| 1638 |
% \end{macrocode} |
| 1639 |
% |
| 1640 |
% \subsubsection{Postprocessing} |
| 1641 |
% If the string is empty time can be saved by omitting the |
| 1642 |
% postprocessing process. |
| 1643 |
% \begin{macrocode} |
| 1644 |
\ifx#1\@empty |
| 1645 |
\else |
| 1646 |
% \end{macrocode} |
| 1647 |
% |
| 1648 |
% \paragraph{Protecting spaces and removing grouping characters.} |
| 1649 |
% In order to check the tokens we must separate them. This will be |
| 1650 |
% done with \TeX's argument parsing. With this method |
| 1651 |
% we must the following item takes into account, that makes |
| 1652 |
% makes things a little more complicated: |
| 1653 |
% \begin{itemize} |
| 1654 |
% \item \TeX{} does not accept a space as an undelimited argument, |
| 1655 |
% it cancels space tokens while looking for an undelimited |
| 1656 |
% argument. Therefore we must protect the spaces now. |
| 1657 |
% \item An argument can be a single token or a group of many tokens. |
| 1658 |
% And within curly braces tokens aren't find by \TeX's |
| 1659 |
% argument scanning process. Third curly braces as grouping characters |
| 1660 |
% cannot be expanded further, so they don't vanish by the string |
| 1661 |
% expansion above. So these characters with catcode 1 and 2 are |
| 1662 |
% removed in the following and replaced by an marker for the xspace |
| 1663 |
% support. |
| 1664 |
% \item \TeX{} silently removes the outmost pair of braces of an |
| 1665 |
% argument. To prevent this on unwanted places, in the following |
| 1666 |
% the character \verb+|+ is appended to the string to make an outer |
| 1667 |
% brace to an inner one. |
| 1668 |
% \end{itemize} |
| 1669 |
% First the top level spaces are protected by replacing. Then the |
| 1670 |
% string is scanned to detect token groups. Each token group |
| 1671 |
% will now be space protected and again scanned for another |
| 1672 |
% token groups. |
| 1673 |
% \begin{macrocode} |
| 1674 |
\HyPsd@ProtectSpaces#1% |
| 1675 |
\let\HyPsd@String\@empty |
| 1676 |
\expandafter\HyPsd@RemoveBraces\expandafter{#1|}% |
| 1677 |
\global\let#1\HyPsd@String |
| 1678 |
% \end{macrocode} |
| 1679 |
% |
| 1680 |
% \paragraph{Check tokens.} |
| 1681 |
% After removing the spaces and the grouping characters |
| 1682 |
% the string now should only consists of the following tokens/catcodes:\\ |
| 1683 |
% \begin{tabular}{rl} |
| 1684 |
% 0&command names with start with an escape character.\\ |
| 1685 |
% 3&math shift\\ |
| 1686 |
% 4&alignment tabs\\ |
| 1687 |
% 6¶meter, but this is unlikely.\\ |
| 1688 |
% 7&superscript\\ |
| 1689 |
% 8&subscript\\ |
| 1690 |
% 11&letter\\ |
| 1691 |
% 12&other\\ |
| 1692 |
% 13&commands that are active characters. |
| 1693 |
% \end{tabular} |
| 1694 |
% |
| 1695 |
% After \cs{HyPsd@CheckCatcodes} the command \cs{HyPsd@RemoveMask} is |
| 1696 |
% reused to remove the group protection character \verb+|+. |
| 1697 |
% This character is needed to ensure that the string at least |
| 1698 |
% consists of one token if \cs{HyPsd@CheckCatcodes} |
| 1699 |
% is called. |
| 1700 |
% |
| 1701 |
% Because of internal local assignments and tabulars |
| 1702 |
% group braces are used. |
| 1703 |
% \begin{macrocode} |
| 1704 |
\let\HyPsd@SPACEOPTI\relax |
| 1705 |
{% |
| 1706 |
\let\HyPsd@String\@empty |
| 1707 |
\expandafter\HyPsd@CheckCatcodes#1\HyPsd@End |
| 1708 |
\global\let#1\HyPsd@String |
| 1709 |
}% |
| 1710 |
\expandafter\HyPsd@RemoveMask\expandafter |
| 1711 |
|\expandafter\@empty#1\HyPsd@End#1% |
| 1712 |
% \end{macrocode} |
| 1713 |
% \cs{HyPsd@CheckCatcodes} should no have removed the tokens with |
| 1714 |
% catcode 3, 4, 7, and 8. Because a parameter token (6) would |
| 1715 |
% cause to many errors before, there should now be only tokens |
| 1716 |
% with catcodes 11 or 12. So I think there is no need for |
| 1717 |
% a safety step like: |
| 1718 |
%\begin{verbatim} |
| 1719 |
%\xdef#1{\expandafter\strip@prefix\meaning#1}% |
| 1720 |
%\end{verbatim} |
| 1721 |
% \paragraph{Looking for wrong glyphs.} |
| 1722 |
% The case that glyphs aren't defined in the PD1 encoding |
| 1723 |
% is caught above in such a way, that the glyph name and |
| 1724 |
% a marker is inserted into the string. Now we can safely |
| 1725 |
% scan the string for this marker and provide a descriptive |
| 1726 |
% warning. |
| 1727 |
% \begin{macrocode} |
| 1728 |
\expandafter |
| 1729 |
\HyPsd@Subst\expandafter{\HyPsd@GLYPHERR}{\relax}#1% |
| 1730 |
\let\HyPsd@String\@empty |
| 1731 |
\expandafter\HyPsd@GlyphProcess#1\relax\@empty |
| 1732 |
\global\let#1\HyPsd@String |
| 1733 |
% \end{macrocode} |
| 1734 |
% |
| 1735 |
% \paragraph{Backslash.} |
| 1736 |
% The double backslash disturbs parsing octal sequences, for |
| 1737 |
% example in an string like |abc\\051| the sequence \cs{051} |
| 1738 |
% is detected although the second \cs{} belongs to the |
| 1739 |
% first backslash. |
| 1740 |
% \begin{macrocode} |
| 1741 |
\HyPsd@StringSubst{\\}{\textbackslash}#1% |
| 1742 |
% \end{macrocode} |
| 1743 |
% |
| 1744 |
% \paragraph{Spaces.} |
| 1745 |
% All spaces have already the form \cs{040}. |
| 1746 |
% The last postprocessing step will |
| 1747 |
% be an optimizing of the spaces, so we already introduce |
| 1748 |
% already the necessary command \cs{HyPsd@SPACEOPTI}. |
| 1749 |
% But first it is defined to be \cs{relax} in order to |
| 1750 |
% prevent a too early expansion by an \cs{edef}. |
| 1751 |
% Secondly a \cs{relax} serves as a marker for |
| 1752 |
% a token that is detected by \cs{xspace}. |
| 1753 |
% |
| 1754 |
% The code of |frenchb.ldf| can produce an additional |
| 1755 |
% space before \cs{guillemetright}, because \cs{lastskip} |
| 1756 |
% and \cs{unskip} do not work. Therefore it is removed here. |
| 1757 |
% \begin{macrocode} |
| 1758 |
\ifHy@unicode |
| 1759 |
\expandafter\HyPsd@StringSubst\csname 80\040\endcsname |
| 1760 |
\HyPsd@SPACEOPTI#1% |
| 1761 |
\edef\Hy@temp@A{\HyPsd@SPACEOPTI\HyPsd@SPACEOPTI\80\273}% |
| 1762 |
\expandafter\HyPsd@Subst\expandafter{\Hy@temp@A}% |
| 1763 |
{\HyPsd@SPACEOPTI\80\273}#1% |
| 1764 |
\else |
| 1765 |
\HyPsd@StringSubst{\040}\HyPsd@SPACEOPTI#1% |
| 1766 |
\expandafter\HyPsd@Subst\expandafter{% |
| 1767 |
\expandafter\HyPsd@SPACEOPTI\expandafter\HyPsd@SPACEOPTI |
| 1768 |
\string\273}{\HyPsd@SPACEOPTI\273}#1% |
| 1769 |
\fi |
| 1770 |
% \end{macrocode} |
| 1771 |
% |
| 1772 |
% \paragraph{Right parenthesis.} |
| 1773 |
% Also \cs{xspace} detects a right parenthesis. |
| 1774 |
% For the \cs{xspace} support and the following |
| 1775 |
% parenthesis check the different parenthesis |
| 1776 |
% notations |)|, \cs{)}, and \cs{051} are converted |
| 1777 |
% to one type \cs{)} and before \cs{HyPsd@empty} |
| 1778 |
% with the meaning of \cs{relax} is introduced for |
| 1779 |
% \cs{xspace}. By redefining to \cs{@empty} \cs{HyPsd@empty} |
| 1780 |
% can easily removed later. |
| 1781 |
% \begin{macrocode} |
| 1782 |
\ifHy@unicode |
| 1783 |
\HyPsd@StringSubst{\)}{\80\051}#1% |
| 1784 |
\HyPsd@Subst){\80\051}#1% |
| 1785 |
\let\HyPsd@empty\relax |
| 1786 |
\expandafter\HyPsd@StringSubst\csname 80\051\endcsname |
| 1787 |
{\HyPsd@empty\80\051}#1% |
| 1788 |
\else |
| 1789 |
\HyPsd@StringSubst{\)}{\051}#1% |
| 1790 |
\HyPsd@Subst){\051}#1% |
| 1791 |
\let\HyPsd@empty\relax |
| 1792 |
\HyPsd@StringSubst{\051}{\HyPsd@empty\string\)}#1% |
| 1793 |
\fi |
| 1794 |
% \end{macrocode} |
| 1795 |
% |
| 1796 |
% \paragraph{Support for package \texttt{xspace}.} |
| 1797 |
% \cs{xspace} looks for the next token and decides if it |
| 1798 |
% expands to a space or not. Following tokens prevent its |
| 1799 |
% transformation to a space: Beginning and end of group, |
| 1800 |
% handled above by replacing by an italic correction, |
| 1801 |
% several punctuation marks, a closing parentheses, and |
| 1802 |
% several spaces. |
| 1803 |
% |
| 1804 |
% Without package |xspace| there are tokens with catcode 11 and 12, |
| 1805 |
% \cs{HyPsd@empty} and \cs{HyPsd@SPACEOPTI}. With package |xspace| |
| 1806 |
% marker for the italic correction \cs{/} and \cs{xspace} come with. |
| 1807 |
% In the package |xspace| case the two markers are replaced by |
| 1808 |
% commands and an \cs{edef} performs the \cs{xspace} processing. |
| 1809 |
% |
| 1810 |
% In the opposite of the original \cs{xspace} \cs{HyPsd@xspace} uses |
| 1811 |
% an argument instead of a \cs{futurelet}, so we have to provide |
| 1812 |
% such an argument, if \cs{HyPsd@xspace} comes last. Because |
| 1813 |
% \cs{HyPsd@Subst} with several equal tokens (|--|) needs a safe |
| 1814 |
% last token, in both cases |
| 1815 |
% the string gets an additional \cs{HyPsd@empty}. |
| 1816 |
% \begin{macrocode} |
| 1817 |
\expandafter\HyPsd@Subst\expandafter{\/}\HyPsd@empty#1% |
| 1818 |
\@ifundefined{@xspace}{% |
| 1819 |
}{% |
| 1820 |
\let\HyPsd@xspace\relax |
| 1821 |
\expandafter\HyPsd@Subst\expandafter |
| 1822 |
{\HyPsd@XSPACE}\HyPsd@xspace#1% |
| 1823 |
\let\HyPsd@xspace\HyPsd@doxspace |
| 1824 |
}% |
| 1825 |
\xdef#1{#1\HyPsd@empty}% |
| 1826 |
% \end{macrocode} |
| 1827 |
% |
| 1828 |
% \paragraph{Ligatures.} |
| 1829 |
% \TeX{} forms ligatures in its stomach, but the PDF strings are |
| 1830 |
% treated only by \TeX's mouth. The PDFDocEncoding contains |
| 1831 |
% some ligatures, but the current |
| 1832 |
% version 3 of the AcrobatReader lacks the |fi| and |fl| glyphs, and |
| 1833 |
% the Linux version lacks the |emdash| and |endash| glyphs. |
| 1834 |
% So the necessary code is provided here, but currently disabled, |
| 1835 |
% hoping that version 4 of the AcrobatReader is better. |
| 1836 |
% To break the ligatures the user can use an empty group, |
| 1837 |
% because it leads to an insertion of an \cs{HyPsd@empty}. |
| 1838 |
% If this ligature code will be enabled some day, then the italic |
| 1839 |
% correction should also break the ligatures. Currently this occurs |
| 1840 |
% only, if package |xspace| is loaded. |
| 1841 |
% |
| 1842 |
% Since newer AcrobatReader versions now show the en- and emdash in |
| 1843 |
% a correct way (AR7/Linux, AR8/Linux), the substitution code |
| 1844 |
% for them is enabled starting with version 6.78l. |
| 1845 |
% \begin{macrocode} |
| 1846 |
\HyPsd@Subst{---}\textemdash#1% |
| 1847 |
\HyPsd@Subst{--}\textendash#1% |
| 1848 |
% \HyPsd@Subst{fi}\textfi#1% |
| 1849 |
% \HyPsd@Subst{fl}\textfl#1% |
| 1850 |
\HyPsd@Subst{!`}\textexclamdown#1% |
| 1851 |
\HyPsd@Subst{?`}\textquestiondown#1% |
| 1852 |
% \end{macrocode} |
| 1853 |
% With the next \cs{edef} we get rid of the token \cs{HyPsd@empty}. |
| 1854 |
% \begin{macrocode} |
| 1855 |
\let\HyPsd@empty\@empty |
| 1856 |
% \end{macrocode} |
| 1857 |
% |
| 1858 |
% \paragraph{Left parentheses.} |
| 1859 |
% Left parentheses are now converted to safe forms to avoid |
| 1860 |
% problems with unmatched ones (\cs{(} with PDFDocEncoding, |
| 1861 |
% the octal sequence with Unicode. |
| 1862 |
% |
| 1863 |
% An optimization is possible. Matched parentheses can replaced |
| 1864 |
% by a |()| pair. But this code is removed to save \TeX{} memory |
| 1865 |
% and time. |
| 1866 |
% \begin{macrocode} |
| 1867 |
\ifHy@unicode |
| 1868 |
\HyPsd@StringSubst\(\textparenleft#1% |
| 1869 |
\HyPsd@Subst(\textparenleft#1% |
| 1870 |
\else |
| 1871 |
\HyPsd@StringSubst\({\050}#1% |
| 1872 |
\HyPsd@Subst({\050}#1% |
| 1873 |
\HyPsd@StringSubst{\050}{\string\(}#1% |
| 1874 |
\fi |
| 1875 |
% \end{macrocode} |
| 1876 |
% |
| 1877 |
% \paragraph{Optimizing spaces.} |
| 1878 |
% Spaces are often used, but they have a very long form \cs{040}. |
| 1879 |
% They are converted back to real spaces, but not all, so that |
| 1880 |
% no space follows after another. In the bookmark case several |
| 1881 |
% spaces are written to the |.out| file, but if the entries |
| 1882 |
% are read back, several spaces are merged to a single one. |
| 1883 |
% |
| 1884 |
% With Unicode the spaces are replaced by their octal sequences. |
| 1885 |
% \begin{macrocode} |
| 1886 |
\ifHy@unicode |
| 1887 |
\edef\HyPsd@SPACEOPTI{\80\040}% |
| 1888 |
\else |
| 1889 |
\let\HyPsd@SPACEOPTI\HyPsd@spaceopti |
| 1890 |
\fi |
| 1891 |
\xdef#1{#1\@empty}% |
| 1892 |
\fi |
| 1893 |
% \end{macrocode} |
| 1894 |
% |
| 1895 |
% \paragraph{Converting to Unicode.} |
| 1896 |
% At last the eight bit letters have to be converted to Unicode, |
| 1897 |
% the masks \cs{8} and \cs{9} are removed and the Unicode |
| 1898 |
% marker is added. |
| 1899 |
% \begin{macrocode} |
| 1900 |
\endgroup |
| 1901 |
\begingroup |
| 1902 |
\ifHy@unicode |
| 1903 |
\HyPsd@ConvertToUnicode#1% |
| 1904 |
% \end{macrocode} |
| 1905 |
% |
| 1906 |
% \paragraph{Try conversion back to PDFDocEncoding.} |
| 1907 |
% |
| 1908 |
% \begin{macrocode} |
| 1909 |
\ifx\HyPsd@pdfencoding\HyPsd@pdfencoding@auto |
| 1910 |
\EdefUnescapeString\HyPsd@temp#1% |
| 1911 |
\iftutex |
| 1912 |
\let\HyPsd@UnescapedString\HyPsd@temp |
| 1913 |
\StringEncodingConvertTest\HyPsd@temp\HyPsd@temp |
| 1914 |
{utf16be}{ascii-print}{% |
| 1915 |
\EdefEscapeString\HyPsd@temp\HyPsd@temp |
| 1916 |
\global\let#1\HyPsd@temp |
| 1917 |
\HyPsd@EscapeTeX#1% |
| 1918 |
\Hy@unicodefalse |
| 1919 |
}{% |
| 1920 |
\HyPsd@EscapeTeX#1% |
| 1921 |
}% |
| 1922 |
\else |
| 1923 |
\StringEncodingConvertTest\HyPsd@temp\HyPsd@temp |
| 1924 |
{utf16be}{pdfdoc}{% |
| 1925 |
\EdefEscapeString\HyPsd@temp\HyPsd@temp |
| 1926 |
\global\let#1\HyPsd@temp |
| 1927 |
\HyPsd@EscapeTeX#1% |
| 1928 |
\Hy@unicodefalse |
| 1929 |
}{}% |
| 1930 |
\fi |
| 1931 |
\fi |
| 1932 |
\fi |
| 1933 |
% \end{macrocode} |
| 1934 |
% |
| 1935 |
% \paragraph{User hook.} |
| 1936 |
% The hook \cs{pdfstringdefPostHook} can be used |
| 1937 |
% for the purpose to postprocess the string further. |
| 1938 |
% \begin{macrocode} |
| 1939 |
\pdfstringdefPostHook#1% |
| 1940 |
\endgroup |
| 1941 |
} |
| 1942 |
% \end{macrocode} |
| 1943 |
% \end{macro} |
| 1944 |
% |
| 1945 |
% \begin{macro}{\Hy@pdfstringdef} |
| 1946 |
% \begin{macrocode} |
| 1947 |
\def\Hy@pdfstringdef#1#2{% |
| 1948 |
\pdfstringdef\Hy@gtemp{#2}% |
| 1949 |
\let#1\Hy@gtemp |
| 1950 |
} |
| 1951 |
% \end{macrocode} |
| 1952 |
% \end{macro} |
| 1953 |
% |
| 1954 |
% \subsection{Encodings} |
| 1955 |
% |
| 1956 |
% \subsubsection{Xe\TeX} |
| 1957 |
% change 2020-05-13: the special code for XeTeX big chars has been removed as no |
| 1958 |
% longer needed. |
| 1959 |
% |
| 1960 |
% \subsubsection{Workaround for package linguex} |
| 1961 |
% |
| 1962 |
% \begin{macrocode} |
| 1963 |
\@ifpackageloaded{linguex}{% |
| 1964 |
\let\HyLinguex@OrgB\b |
| 1965 |
\let\HyLinguex@OrgC\c |
| 1966 |
\let\HyLinguex@OrgD\d |
| 1967 |
\def\HyLinguex@Restore{% |
| 1968 |
\let\b\HyLinguex@OrgB |
| 1969 |
\let\c\HyLinguex@OrgC |
| 1970 |
\let\d\HyLinguex@OrgD |
| 1971 |
}% |
| 1972 |
\Hy@AtEndOfPackage{% |
| 1973 |
\pdfstringdefDisableCommands{% |
| 1974 |
\@ifundefined{oldb}{}{\let\b\oldb}% |
| 1975 |
\@ifundefined{oldc}{}{\let\c\oldc}% |
| 1976 |
\@ifundefined{oldd}{}{\let\d\oldd}% |
| 1977 |
}% |
| 1978 |
}% |
| 1979 |
}{% |
| 1980 |
\let\HyLinguex@Restore\relax |
| 1981 |
}% |
| 1982 |
% \end{macrocode} |
| 1983 |
% |
| 1984 |
% \subsubsection{Catcodes saving and restoring for \texttt{.def} files} |
| 1985 |
% |
| 1986 |
% \begin{macro}{\Hy@SaveCatcodeSettings} |
| 1987 |
% \begin{macrocode} |
| 1988 |
\def\Hy@SaveCatcodeSettings#1{% |
| 1989 |
\expandafter\edef\csname Hy@cat@#1\endcsname{% |
| 1990 |
\endlinechar=\the\endlinechar\relax |
| 1991 |
\catcode32 \the\catcode32\relax % (space) |
| 1992 |
\catcode34 \the\catcode34\relax % " |
| 1993 |
\catcode35 \the\catcode35\relax % # |
| 1994 |
\catcode37 \the\catcode37\relax % (percent) |
| 1995 |
\catcode40 \the\catcode40\relax % ( |
| 1996 |
\catcode41 \the\catcode41\relax % ) |
| 1997 |
\catcode42 \the\catcode42\relax % * |
| 1998 |
\catcode46 \the\catcode46\relax % . |
| 1999 |
\catcode58 \the\catcode58\relax % : |
| 2000 |
\catcode60 \the\catcode60\relax % < |
| 2001 |
\catcode61 \the\catcode61\relax % = |
| 2002 |
\catcode62 \the\catcode62\relax % > |
| 2003 |
\catcode64 \the\catcode64\relax % @ |
| 2004 |
\catcode91 \the\catcode91\relax % [ |
| 2005 |
\catcode92 \the\catcode92\relax % (backslash) |
| 2006 |
\catcode93 \the\catcode93\relax % ] |
| 2007 |
\catcode123 \the\catcode123\relax % { |
| 2008 |
\catcode124 \the\catcode124\relax % | |
| 2009 |
\catcode125 \the\catcode125\relax % } |
| 2010 |
}% |
| 2011 |
\endlinechar=-1 % |
| 2012 |
\catcode32 10 % (space) |
| 2013 |
\catcode34 12 % " |
| 2014 |
\catcode35 6 % # |
| 2015 |
\catcode37 14 % (percent) |
| 2016 |
\catcode40 12 % ( |
| 2017 |
\catcode41 12 % ) |
| 2018 |
\catcode42 12 % * |
| 2019 |
\catcode46 12 % . |
| 2020 |
\catcode58 12 % : |
| 2021 |
\catcode60 12 % < |
| 2022 |
\catcode61 12 % = |
| 2023 |
\catcode62 12 % > |
| 2024 |
\catcode91 12 % [ |
| 2025 |
\catcode92 0 % (backslash) |
| 2026 |
\catcode93 12 % ] |
| 2027 |
\catcode123 1 % { |
| 2028 |
\catcode124 12 % | |
| 2029 |
\catcode125 2 % } |
| 2030 |
\makeatletter |
| 2031 |
} |
| 2032 |
% \end{macrocode} |
| 2033 |
% \end{macro} |
| 2034 |
% \begin{macro}{\Hy@RestoreCatcodeSettings} |
| 2035 |
% \begin{macrocode} |
| 2036 |
\def\Hy@RestoreCatcodeSettings#1{% |
| 2037 |
\csname Hy@cat@#1\endcsname |
| 2038 |
\expandafter\let\csname Hy@cat@#1\endcsname\relax |
| 2039 |
} |
| 2040 |
% \end{macrocode} |
| 2041 |
% \end{macro} |
| 2042 |
% |
| 2043 |
% |
| 2044 |
% \subsubsection{PD1 encoding} |
| 2045 |
% The PD1 encoding implements the PDFDocEncoding for use with |
| 2046 |
% \LaTeXe's NFSS. Because the informational strings are not set by |
| 2047 |
% \TeX's typesetting mechanism but for interpreting by the PDF reader, |
| 2048 |
% the glyphs of the PD1 encoding are implemented to be safely written |
| 2049 |
% to a file (PDF output file, |.out| file). |
| 2050 |
% |
| 2051 |
% The PD1 encoding can be specified as an option of the 'fontenc' package |
| 2052 |
% or loaded here. It does not matter what font family is selected, |
| 2053 |
% as \TeX{} does not process it anyway. So use CM. |
| 2054 |
% \begin{macrocode} |
| 2055 |
\@ifundefined{T@PD1}{% |
| 2056 |
\Hy@SaveCatcodeSettings{pd1}% |
| 2057 |
\input{pd1enc.def}% |
| 2058 |
\Hy@RestoreCatcodeSettings{pd1}% |
| 2059 |
\HyLinguex@Restore |
| 2060 |
}{} |
| 2061 |
\DeclareFontFamily{PD1}{pdf}{} |
| 2062 |
\DeclareFontShape{PD1}{pdf}{m}{n}{ <-> cmr10 }{} |
| 2063 |
\DeclareFontSubstitution{PD1}{pdf}{m}{n} |
| 2064 |
% \end{macrocode} |
| 2065 |
% |
| 2066 |
% \subsubsection{PU encoding} |
| 2067 |
% The PU encoding implements the Unicode encoding for use with |
| 2068 |
% \LaTeX's NFSS. Because of large memory requirements the |
| 2069 |
% encoding file for Unicode support is only loaded, if option |
| 2070 |
% |unicode| is specified as package option. |
| 2071 |
% change 2020-08-14: Starting with version |
| 2072 |
% v7.00f the file is always loaded and unicode is the |
| 2073 |
% default option. |
| 2074 |
% \begin{macro}{\HyPsd@LoadUnicode} |
| 2075 |
% Because the file |puenc.def| takes a lot of memory, the loading |
| 2076 |
% is defined in the macro \cs{HyPsd@LoadUnicode} called by |
| 2077 |
% the package option |unicode|. |
| 2078 |
% \begin{macrocode} |
| 2079 |
\def\HyPsd@LoadUnicode{% |
| 2080 |
\@ifundefined{T@PU}{% |
| 2081 |
\Hy@SaveCatcodeSettings{pu}% |
| 2082 |
\input{puenc.def}% |
| 2083 |
\Hy@RestoreCatcodeSettings{pu}% |
| 2084 |
\HyLinguex@Restore |
| 2085 |
}{}% |
| 2086 |
\DeclareFontFamily{PU}{pdf}{}% |
| 2087 |
\DeclareFontShape{PU}{pdf}{m}{n}{ <-> cmr10 }{}% |
| 2088 |
\DeclareFontSubstitution{PU}{pdf}{m}{n}% |
| 2089 |
\HyPsd@LoadExtra |
| 2090 |
\let\HyPsd@LoadUnicode\relax |
| 2091 |
} |
| 2092 |
% \end{macrocode} |
| 2093 |
% \end{macro} |
| 2094 |
% \begin{macro}{\HyPsd@LoadExtra} |
| 2095 |
% \begin{macrocode} |
| 2096 |
\def\Hy@iffileloaded#1{% |
| 2097 |
\@ifundefined{ver@#1}\@secondoftwo\@firstoftwo |
| 2098 |
} |
| 2099 |
\def\HyPsd@LoadExtra{% |
| 2100 |
\ifHy@psdextra |
| 2101 |
\Hy@iffileloaded{puenc.def}{% |
| 2102 |
\Hy@SaveCatcodeSettings{psdextra}% |
| 2103 |
\input{psdextra.def}% |
| 2104 |
\Hy@RestoreCatcodeSettings{psdextra}% |
| 2105 |
\let\HyPsd@LoadExtra\relax |
| 2106 |
}{}% |
| 2107 |
\fi |
| 2108 |
} |
| 2109 |
% \end{macrocode} |
| 2110 |
% \end{macro} |
| 2111 |
% |
| 2112 |
% \subsection{Additional user commands} |
| 2113 |
% |
| 2114 |
% \subsubsection{^^A |
| 2115 |
% \texorpdfstring{\cs{texorpdfstring}}{\\texorpdfstring}^^A |
| 2116 |
% } |
| 2117 |
% \begin{macro}{\texorpdfstring} |
| 2118 |
% While expanding the string in \cs{pdfstringdef} the switch |
| 2119 |
% \cs{ifHy@pdfstring} is set. This is used by the |
| 2120 |
% full expandible macro \cs{texorpdfstring}. It expects |
| 2121 |
% two arguments, the first contains the string that will be |
| 2122 |
% set and processed by \TeX's stomach, the second |
| 2123 |
% contains the replacement for PDF strings. |
| 2124 |
% \begin{macrocode} |
| 2125 |
\def\texorpdfstring{% |
| 2126 |
\ifHy@pdfstring |
| 2127 |
\expandafter\@secondoftwo |
| 2128 |
\else |
| 2129 |
\expandafter\@firstoftwo |
| 2130 |
\fi |
| 2131 |
} |
| 2132 |
% \end{macrocode} |
| 2133 |
% \end{macro} |
| 2134 |
% |
| 2135 |
% \subsubsection{Hooks for |
| 2136 |
% \texorpdfstring{\cs{pdfstringdef}}{\\pdfstringdef}^^A |
| 2137 |
% } |
| 2138 |
% \begin{macro}{\pdfstringdefPreHook} |
| 2139 |
% \begin{macro}{\pdfstringdefPostHook} |
| 2140 |
% Default definition of the hooks for \cs{pdfstringdef}. |
| 2141 |
% The construct \cs{@ifundefined} with \cs{let} is a little bit |
| 2142 |
% faster than \cs{providecommand}. |
| 2143 |
% \begin{macrocode} |
| 2144 |
\@ifundefined{pdfstringdefPreHook}{% |
| 2145 |
\let\pdfstringdefPreHook\@empty |
| 2146 |
}{} |
| 2147 |
\@ifundefined{pdfstringdefPostHook}{% |
| 2148 |
\let\pdfstringdefPostHook\@gobble |
| 2149 |
}{} |
| 2150 |
% \end{macrocode} |
| 2151 |
% \end{macro} |
| 2152 |
% \end{macro} |
| 2153 |
% |
| 2154 |
% \begin{macro}{\pdfstringdefDisableCommands} |
| 2155 |
% In \cmd{\pdfstringdefPreHook} the user can add |
| 2156 |
% code that is executed before the string, that have |
| 2157 |
% to be converted by \cmd{\pdfstringdef}, is expanded. |
| 2158 |
% So replacements for problematic macros can be given. |
| 2159 |
% The code in \cmd{\pdfstringdefPreHook} should not |
| 2160 |
% be replaced perhaps by an \cmd{\renewcommand}, |
| 2161 |
% because a previous meaning gets lost. |
| 2162 |
% |
| 2163 |
% Macro \cmd{\pdfstringdefDisableCommands} avoids this, |
| 2164 |
% because it reuses the old meaning of the hook and appends |
| 2165 |
% the new code to \cmd{\pdfstringdefPreHook}, e.g.: |
| 2166 |
%\begin{verbatim} |
| 2167 |
%\pdfstringdefDisableCommands{% |
| 2168 |
% \let~\textasciitilde |
| 2169 |
% \def\url{\pdfstringdefWarn\url}% |
| 2170 |
% \let\textcolor\@gobble |
| 2171 |
%}% |
| 2172 |
%\end{verbatim} |
| 2173 |
% In the argument of \cmd{\pdfstringdefDisableCommands} the |
| 2174 |
% character |@| can be used in command names. So it is easy |
| 2175 |
% to use useful \LaTeX{} commands like \cmd{\@gobble} or |
| 2176 |
% \cmd{\@firstofone}. |
| 2177 |
% \begin{macrocode} |
| 2178 |
\def\pdfstringdefDisableCommands{% |
| 2179 |
\begingroup |
| 2180 |
\makeatletter |
| 2181 |
\HyPsd@DisableCommands |
| 2182 |
} |
| 2183 |
% \end{macrocode} |
| 2184 |
% \end{macro} |
| 2185 |
% \begin{macro}{\HyPsd@DisableCommands} |
| 2186 |
% \begin{macrocode} |
| 2187 |
\long\def\HyPsd@DisableCommands#1{% |
| 2188 |
\Hy@GlobalAppendToMacro\pdfstringdefPreHook{#1}% |
| 2189 |
\endgroup |
| 2190 |
} |
| 2191 |
% \end{macrocode} |
| 2192 |
% \end{macro} |
| 2193 |
% |
| 2194 |
% \begin{macro}{\pdfstringdefWarn} |
| 2195 |
% The purpose of \cmd{\pdfstringdefWarn} is to produce |
| 2196 |
% a warning message, so the user can see, that something |
| 2197 |
% can go wrong with the conversion to PDF strings. |
| 2198 |
% |
| 2199 |
% The prefix |\<>-| is added to the token. \cmd{\noexpand} |
| 2200 |
% protects the probably undefined one during the first |
| 2201 |
% expansion step. Then \cmd{\HyPsd@CheckCatcodes} can |
| 2202 |
% detect the not allowed token, \cmd{\HyPsd@CatcodeWarning} |
| 2203 |
% prints a warning message, after \cmd{\HyPsd@RemovePrefix} |
| 2204 |
% has removed the prefix. |
| 2205 |
% |
| 2206 |
% \cmd{\pdfstringdefWarn} is intended for document authors or |
| 2207 |
% package writers, examples for use can be seen in the definition |
| 2208 |
% of \cmd{\HyPsd@ifnextchar} or \cmd{\HyPsd@protected@testopt}. |
| 2209 |
% \begin{macrocode} |
| 2210 |
\def\pdfstringdefWarn#1{% |
| 2211 |
\expandafter\noexpand\csname<>-\string#1\endcsname |
| 2212 |
} |
| 2213 |
% \end{macrocode} |
| 2214 |
% \end{macro} |
| 2215 |
% |
| 2216 |
% \subsection{Help macros for expansion} |
| 2217 |
% |
| 2218 |
% \subsubsection{\cs{ignorespaces}} |
| 2219 |
% |
| 2220 |
% \begin{macro}{\HyPsd@ignorespaces} |
| 2221 |
% With the help of a trick using \cs{romannumeral} the |
| 2222 |
% effect of \cs{ignorespaces} can be simulated a little, |
| 2223 |
% In a special case using an alphabetic constant |
| 2224 |
% \cs{romannumeral} eats an optional space. If the constant |
| 2225 |
% is zero, then the \cs{romannumeral} expression vanishes. |
| 2226 |
% The following macro uses this trick twice, thus \cs{HyPsd@ignorespaces} |
| 2227 |
% eats up to two following spaces.^^A |
| 2228 |
% \begin{macrocode} |
| 2229 |
\begingroup |
| 2230 |
\catcode0=12 % |
| 2231 |
\def\x{\endgroup |
| 2232 |
\def\HyPsd@ignorespaces{% |
| 2233 |
\romannumeral\expandafter`\expandafter^^@% |
| 2234 |
\romannumeral`^^@% |
| 2235 |
}% |
| 2236 |
}% |
| 2237 |
\x |
| 2238 |
% \end{macrocode} |
| 2239 |
% \end{macro} |
| 2240 |
% \subsubsection{Babel languages} |
| 2241 |
% change 2020-10-10: moved language patches to its own file as a first step |
| 2242 |
% toward removing them completely. |
| 2243 |
% \begin{macrocode} |
| 2244 |
\newif\ifHy@next |
| 2245 |
%</package> |
| 2246 |
% \end{macrocode} |
| 2247 |
% |
| 2248 |
% Since version 2008/03/16 v3.8j babel used inside \cs{AtBeginDocument}: |
| 2249 |
%\begin{quote} |
| 2250 |
%\begin{verbatim} |
| 2251 |
%\pdfstringdefDisableCommands{% |
| 2252 |
% \languageshorthands{system}% |
| 2253 |
%} |
| 2254 |
%\end{verbatim} |
| 2255 |
%\end{quote} |
| 2256 |
% As consequence the shorthands were shown in the bookmarks, and required |
| 2257 |
% a hyperref patch. In version 3.48 babel removed this unneeded code |
| 2258 |
% and so the patch could be removed. |
| 2259 |
% |
| 2260 |
% Nothing to do for english. |
| 2261 |
% change 2020/07/16: removed patch for french. No longer needed. |
| 2262 |
% change 2020/07/21: removed patches for german, ngerman. Will be done by |
| 2263 |
% the language package. https://github.com/jspitz/babel-german/issues/4 |
| 2264 |
% change 2020/10/10: removed patches for danish, dutch, finnish, portugues, |
| 2265 |
% swedish, usorbian, slovene see https://github.com/latex3/babel/issues/84 |
| 2266 |
% change 2020/10/10: removed patch for macedonian, ukrainian; maintainers notified. |
| 2267 |
% change 2020/10/11: removed patch for russian, has been merged into babel-russian |
| 2268 |
% see https://github.com/kia999/babel-russian/pull/3 |
| 2269 |
% change 2021/02/04: removed patches for greek numerals, code is now in babel-greek. |
| 2270 |
% spanish: Nested quoting environments are not supported (|<<|, |>>|). |
| 2271 |
% change 2021/07/19: removed patches for spanish, code is now in babel-spanish. |
| 2272 |
% \begin{macrocode} |
| 2273 |
%<*package> |
| 2274 |
% \end{macrocode} |
| 2275 |
% |
| 2276 |
% \subsubsection{CJK patch} |
| 2277 |
% |
| 2278 |
% \begin{macrocode} |
| 2279 |
\RequirePackage{intcalc}[2007/09/27] |
| 2280 |
% \end{macrocode} |
| 2281 |
% |
| 2282 |
% \begin{macro}{\HyPsd@CJKhook} |
| 2283 |
% \begin{macrocode} |
| 2284 |
\def\HyPsd@CJKhook{% |
| 2285 |
\@ifpackageloaded{CJK}{% |
| 2286 |
\let\CJK@kern\relax |
| 2287 |
\let\CJKkern\relax |
| 2288 |
\let\CJK@CJK\relax |
| 2289 |
\ifHy@CJKbookmarks |
| 2290 |
\HyPsd@CJKhook@bookmarks |
| 2291 |
\fi |
| 2292 |
\HyPsd@CJKhook@unicode |
| 2293 |
}{}% |
| 2294 |
} |
| 2295 |
% \end{macrocode} |
| 2296 |
% \end{macro} |
| 2297 |
% |
| 2298 |
% \subsubsection{CJK bookmarks} |
| 2299 |
% |
| 2300 |
% \begin{macro}{\HyPsd@CJKhook} |
| 2301 |
% Some internal commands of package cjk are redefined |
| 2302 |
% to avoid error messages. For a rudimental support |
| 2303 |
% of CJK bookmarks the active characters are |
| 2304 |
% redefined so that they print themselves. |
| 2305 |
% |
| 2306 |
% After preprocessing of Big5 encoded data the |
| 2307 |
% following string for a double-byte character |
| 2308 |
% is emitted: |
| 2309 |
%\begin{verbatim} |
| 2310 |
%^^7f<arg1>^^7f<arg2>^^7f |
| 2311 |
%\end{verbatim} |
| 2312 |
% \verb|<arg1>| is the first byte in the range (always $>$ 0x80); |
| 2313 |
% \verb|<arg2>| is the second byte in decimal notation |
| 2314 |
% ($\ge$ 0x40). |
| 2315 |
% \begin{macrocode} |
| 2316 |
\begingroup |
| 2317 |
\catcode"7F=\active |
| 2318 |
\toks@{% |
| 2319 |
\let\CJK@ignorespaces\empty |
| 2320 |
\def\CJK@char#1{\@gobbletwo}% |
| 2321 |
\let\CJK@charx\@gobblefour |
| 2322 |
\let\CJK@punctchar\@gobblefour |
| 2323 |
\def\CJK@punctcharx#1{\@gobblefour}% |
| 2324 |
\catcode"7F=\active |
| 2325 |
\def^^7f#1^^7f#2^^7f{% |
| 2326 |
\string #1\HyPsd@DecimalToOctal{#2}% |
| 2327 |
}% |
| 2328 |
% ... ? |
| 2329 |
\ifHy@unicode |
| 2330 |
\def\Hy@cjkpu{\80}% |
| 2331 |
\else |
| 2332 |
\let\Hy@cjkpu\@empty |
| 2333 |
\fi |
| 2334 |
\HyPsd@CJKActiveChars |
| 2335 |
}% |
| 2336 |
\count@=127 % |
| 2337 |
\@whilenum\count@<255 \do{% |
| 2338 |
\advance\count@ by 1 % |
| 2339 |
\lccode`\~=\count@ |
| 2340 |
\lowercase{% |
| 2341 |
\toks@\expandafter{\the\toks@ ~}% |
| 2342 |
}% |
| 2343 |
}% |
| 2344 |
\toks@\expandafter{\the\toks@ !}% |
| 2345 |
\xdef\HyPsd@CJKhook@bookmarks{% |
| 2346 |
\the\toks@ |
| 2347 |
}% |
| 2348 |
\endgroup |
| 2349 |
% \end{macrocode} |
| 2350 |
% \end{macro} |
| 2351 |
% \begin{macro}{\HyPsd@CJKActiveChars} |
| 2352 |
% The macro \cmd{\HyPsd@CJKActiveChars} is only defined |
| 2353 |
% to limit the memory consumption of \cmd{\HyPsd@CJKhook}. |
| 2354 |
% \begin{macrocode} |
| 2355 |
\def\HyPsd@CJKActiveChars#1{% |
| 2356 |
\ifx#1!% |
| 2357 |
\let\HyPsd@CJKActiveChars\relax |
| 2358 |
\else |
| 2359 |
\edef#1{\noexpand\Hy@cjkpu\string#1}% |
| 2360 |
\fi |
| 2361 |
\HyPsd@CJKActiveChars |
| 2362 |
} |
| 2363 |
% \end{macrocode} |
| 2364 |
% \end{macro} |
| 2365 |
% \begin{macro}{\HyPsd@DecimalToOctal} |
| 2366 |
% A character, given by the decimal number is converted |
| 2367 |
% to a PDF character. |
| 2368 |
% \begin{macrocode} |
| 2369 |
\def\HyPsd@DecimalToOctal#1{% |
| 2370 |
\ifcase #1 % |
| 2371 |
\000\or \001\or \002\or \003\or \004\or \005\or \006\or \007% |
| 2372 |
\or \010\or \011\or \012\or \013\or \014\or \015\or \016\or \017% |
| 2373 |
\or \020\or \021\or \022\or \023\or \024\or \025\or \026\or \027% |
| 2374 |
\or \030\or \031\or \032\or \033\or \034\or \035\or \036\or \037% |
| 2375 |
\or \040\or \041\or \042\or \043\or \044\or \045\or \046\or \047% |
| 2376 |
\or \050\or \051\or \052\or \053\or \054\or \055\or \056\or \057% |
| 2377 |
\or 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7% |
| 2378 |
\or 8\or 9\or \072\or \073\or \074\or \075\or \076\or \077% |
| 2379 |
\or @\or A\or B\or C\or D\or E\or F\or G% |
| 2380 |
\or H\or I\or J\or K\or L\or M\or N\or O% |
| 2381 |
\or P\or Q\or R\or S\or T\or U\or V\or W% |
| 2382 |
\or X\or Y\or Z\or \133\or \134\or \135\or \136\or \137% |
| 2383 |
\or \140\or a\or b\or c\or d\or e\or f\or g% |
| 2384 |
\or h\or i\or j\or k\or l\or m\or n\or o% |
| 2385 |
\or p\or q\or r\or s\or t\or u\or v\or w% |
| 2386 |
\or x\or y\or z\or \173\or \174\or \175\or \176\or \177% |
| 2387 |
\or \200\or \201\or \202\or \203\or \204\or \205\or \206\or \207% |
| 2388 |
\or \210\or \211\or \212\or \213\or \214\or \215\or \216\or \217% |
| 2389 |
\or \220\or \221\or \222\or \223\or \224\or \225\or \226\or \227% |
| 2390 |
\or \230\or \231\or \232\or \233\or \234\or \235\or \236\or \237% |
| 2391 |
\or \240\or \241\or \242\or \243\or \244\or \245\or \246\or \247% |
| 2392 |
\or \250\or \251\or \252\or \253\or \254\or \255\or \256\or \257% |
| 2393 |
\or \260\or \261\or \262\or \263\or \264\or \265\or \266\or \267% |
| 2394 |
\or \270\or \271\or \272\or \273\or \274\or \275\or \276\or \277% |
| 2395 |
\or \300\or \301\or \302\or \303\or \304\or \305\or \306\or \307% |
| 2396 |
\or \310\or \311\or \312\or \313\or \314\or \315\or \316\or \317% |
| 2397 |
\or \320\or \321\or \322\or \323\or \324\or \325\or \326\or \327% |
| 2398 |
\or \330\or \331\or \332\or \333\or \334\or \335\or \336\or \337% |
| 2399 |
\or \340\or \341\or \342\or \343\or \344\or \345\or \346\or \347% |
| 2400 |
\or \350\or \351\or \352\or \353\or \354\or \355\or \356\or \357% |
| 2401 |
\or \360\or \361\or \362\or \363\or \364\or \365\or \366\or \367% |
| 2402 |
\or \370\or \371\or \372\or \373\or \374\or \375\or \376\or \377% |
| 2403 |
\fi |
| 2404 |
} |
| 2405 |
% \end{macrocode} |
| 2406 |
% \end{macro} |
| 2407 |
% |
| 2408 |
% \subsubsection{CJK unicode} |
| 2409 |
% |
| 2410 |
% \begin{macro}{\HyPsd@CJKhook@unicode} |
| 2411 |
% \begin{macrocode} |
| 2412 |
\def\HyPsd@CJKhook@unicode{% |
| 2413 |
\let\Unicode\HyPsd@CJK@Unicode |
| 2414 |
\let\CJKnumber\HyPsd@CJKnumber |
| 2415 |
\let\CJKdigits\HyPsd@CJKdigits |
| 2416 |
} |
| 2417 |
% \end{macrocode} |
| 2418 |
% \end{macro} |
| 2419 |
% \begin{macro}{\HyPsd@CJK@Unicode} |
| 2420 |
% \begin{macrocode} |
| 2421 |
\def\HyPsd@CJK@Unicode#1#2{% |
| 2422 |
\ifnum#1<256 % |
| 2423 |
\HyPsd@DecimalToOctalFirst{#1}% |
| 2424 |
\HyPsd@DecimalToOctalSecond{#2}% |
| 2425 |
\else |
| 2426 |
\933% |
| 2427 |
\expandafter\expandafter\expandafter\HyPsd@HighA |
| 2428 |
\intcalcDiv{#1}{4}!% |
| 2429 |
\933% |
| 2430 |
\ifcase\intcalcMod{#1}{4} % |
| 2431 |
4\or 5\or 6\or 7% |
| 2432 |
\fi |
| 2433 |
\HyPsd@DecimalToOctalSecond{#2}% |
| 2434 |
\fi |
| 2435 |
} |
| 2436 |
% \end{macrocode} |
| 2437 |
% \end{macro} |
| 2438 |
% \begin{macrocode} |
| 2439 |
\def\HyPsd@HighA#1!{% |
| 2440 |
\expandafter\expandafter\expandafter\HyPsd@HighB |
| 2441 |
\IntCalcDiv#1!64!!% |
| 2442 |
\expandafter\expandafter\expandafter\HyPsd@HighD |
| 2443 |
\IntCalcMod#1!64!!% |
| 2444 |
} |
| 2445 |
\def\HyPsd@HighB#1!{% |
| 2446 |
\expandafter\expandafter\expandafter\HyPsd@HighC |
| 2447 |
\IntCalcDec#1!!% |
| 2448 |
} |
| 2449 |
\def\HyPsd@HighC#1!{% |
| 2450 |
\IntCalcDiv#1!4!% |
| 2451 |
\@backslashchar |
| 2452 |
\IntCalcMod#1!4!% |
| 2453 |
} |
| 2454 |
\def\HyPsd@HighD#1!{% |
| 2455 |
\ifcase\IntCalcDiv#1!8! % |
| 2456 |
0\or 1\or 2\or 3\or 4\or 5\or 6\or 7% |
| 2457 |
\fi |
| 2458 |
\ifcase\IntCalcMod#1!8! % |
| 2459 |
0\or 1\or 2\or 3\or 4\or 5\or 6\or 7% |
| 2460 |
\fi |
| 2461 |
} |
| 2462 |
\def\HyPsd@DecimalToOctalFirst#1{% |
| 2463 |
\9% |
| 2464 |
\ifcase#1 % |
| 2465 |
000\or 001\or 002\or 003\or 004\or 005\or 006\or 007% |
| 2466 |
\or 010\or 011\or 012\or 013\or 014\or 015\or 016\or 017% |
| 2467 |
\or 020\or 021\or 022\or 023\or 024\or 025\or 026\or 027% |
| 2468 |
\or 030\or 031\or 032\or 033\or 034\or 035\or 036\or 037% |
| 2469 |
\or 040\or 041\or 042\or 043\or 044\or 045\or 046\or 047% |
| 2470 |
\or 050\or 051\or 052\or 053\or 054\or 055\or 056\or 057% |
| 2471 |
\or 060\or 061\or 062\or 063\or 064\or 065\or 066\or 067% |
| 2472 |
\or 070\or 071\or 072\or 073\or 074\or 075\or 076\or 077% |
| 2473 |
\or 100\or 101\or 102\or 103\or 104\or 105\or 106\or 107% |
| 2474 |
\or 120\or 111\or 112\or 113\or 114\or 115\or 116\or 117% |
| 2475 |
\or 120\or 121\or 122\or 123\or 124\or 125\or 126\or 127% |
| 2476 |
\or 130\or 131\or 132\or 133\or 134\or 135\or 136\or 137% |
| 2477 |
\or 140\or 141\or 142\or 143\or 144\or 145\or 146\or 147% |
| 2478 |
\or 150\or 151\or 152\or 153\or 154\or 155\or 156\or 157% |
| 2479 |
\or 160\or 161\or 162\or 163\or 164\or 165\or 166\or 167% |
| 2480 |
\or 170\or 171\or 172\or 173\or 174\or 175\or 176\or 177% |
| 2481 |
\or 200\or 201\or 202\or 203\or 204\or 205\or 206\or 207% |
| 2482 |
\or 210\or 211\or 212\or 213\or 214\or 215\or 216\or 217% |
| 2483 |
\or 220\or 221\or 222\or 223\or 224\or 225\or 226\or 227% |
| 2484 |
\or 230\or 231\or 232\or 233\or 234\or 235\or 236\or 237% |
| 2485 |
\or 240\or 241\or 242\or 243\or 244\or 245\or 246\or 247% |
| 2486 |
\or 250\or 251\or 252\or 253\or 254\or 255\or 256\or 257% |
| 2487 |
\or 260\or 261\or 262\or 263\or 264\or 265\or 266\or 267% |
| 2488 |
\or 270\or 271\or 272\or 273\or 274\or 275\or 276\or 277% |
| 2489 |
\or 300\or 301\or 302\or 303\or 304\or 305\or 306\or 307% |
| 2490 |
\or 310\or 311\or 312\or 313\or 314\or 315\or 316\or 317% |
| 2491 |
\or 320\or 321\or 322\or 323\or 324\or 325\or 326\or 327% |
| 2492 |
\or 330\or 331\or 332\or 333\or 334\or 335\or 336\or 337% |
| 2493 |
\or 340\or 341\or 342\or 343\or 344\or 345\or 346\or 347% |
| 2494 |
\or 350\or 351\or 352\or 353\or 354\or 355\or 356\or 357% |
| 2495 |
\or 360\or 361\or 362\or 363\or 364\or 365\or 366\or 367% |
| 2496 |
\or 370\or 371\or 372\or 373\or 374\or 375\or 376\or 377% |
| 2497 |
\fi |
| 2498 |
} |
| 2499 |
\def\HyPsd@DecimalToOctalSecond#1{% |
| 2500 |
\ifcase #1 % |
| 2501 |
\000\or \001\or \002\or \003\or \004\or \005\or \006\or \007% |
| 2502 |
\or \010\or \011\or \012\or \013\or \014\or \015\or \016\or \017% |
| 2503 |
\or \020\or \021\or \022\or \023\or \024\or \025\or \026\or \027% |
| 2504 |
\or \030\or \031\or \032\or \033\or \034\or \035\or \036\or \037% |
| 2505 |
\or \040\or \041\or \042\or \043\or \044\or \045\or \046\or \047% |
| 2506 |
\or \050\or \051\or \052\or \053\or \054\or \055\or \056\or \057% |
| 2507 |
\or \060\or \061\or \062\or \063\or \064\or \065\or \066\or \067% |
| 2508 |
\or \070\or \071\or \072\or \073\or \074\or \075\or \076\or \077% |
| 2509 |
\or \100\or \101\or \102\or \103\or \104\or \105\or \106\or \107% |
| 2510 |
\or \110\or \111\or \112\or \113\or \114\or \115\or \116\or \117% |
| 2511 |
\or \120\or \121\or \122\or \123\or \124\or \125\or \126\or \127% |
| 2512 |
\or \130\or \131\or \132\or \133\or \134\or \135\or \136\or \137% |
| 2513 |
\or \140\or \141\or \142\or \143\or \144\or \145\or \146\or \147% |
| 2514 |
\or \150\or \151\or \152\or \153\or \154\or \155\or \156\or \157% |
| 2515 |
\or \160\or \161\or \162\or \163\or \164\or \165\or \166\or \167% |
| 2516 |
\or \170\or \171\or \172\or \173\or \174\or \175\or \176\or \177% |
| 2517 |
\or \200\or \201\or \202\or \203\or \204\or \205\or \206\or \207% |
| 2518 |
\or \210\or \211\or \212\or \213\or \214\or \215\or \216\or \217% |
| 2519 |
\or \220\or \221\or \222\or \223\or \224\or \225\or \226\or \227% |
| 2520 |
\or \230\or \231\or \232\or \233\or \234\or \235\or \236\or \237% |
| 2521 |
\or \240\or \241\or \242\or \243\or \244\or \245\or \246\or \247% |
| 2522 |
\or \250\or \251\or \252\or \253\or \254\or \255\or \256\or \257% |
| 2523 |
\or \260\or \261\or \262\or \263\or \264\or \265\or \266\or \267% |
| 2524 |
\or \270\or \271\or \272\or \273\or \274\or \275\or \276\or \277% |
| 2525 |
\or \300\or \301\or \302\or \303\or \304\or \305\or \306\or \307% |
| 2526 |
\or \310\or \311\or \312\or \313\or \314\or \315\or \316\or \317% |
| 2527 |
\or \320\or \321\or \322\or \323\or \324\or \325\or \326\or \327% |
| 2528 |
\or \330\or \331\or \332\or \333\or \334\or \335\or \336\or \337% |
| 2529 |
\or \340\or \341\or \342\or \343\or \344\or \345\or \346\or \347% |
| 2530 |
\or \350\or \351\or \352\or \353\or \354\or \355\or \356\or \357% |
| 2531 |
\or \360\or \361\or \362\or \363\or \364\or \365\or \366\or \367% |
| 2532 |
\or \370\or \371\or \372\or \373\or \374\or \375\or \376\or \377% |
| 2533 |
\fi |
| 2534 |
} |
| 2535 |
% \end{macrocode} |
| 2536 |
% \begin{macrocode} |
| 2537 |
\def\HyPsd@CJKnumber#1{% |
| 2538 |
\ifnum#1<\z@ |
| 2539 |
\CJK@minus |
| 2540 |
\expandafter\HyPsd@@CJKnumber\expandafter{\number-\number#1}% |
| 2541 |
\else |
| 2542 |
\expandafter\HyPsd@@CJKnumber\expandafter{\number#1}% |
| 2543 |
\fi |
| 2544 |
} |
| 2545 |
\def\HyPsd@@CJKnumber#1{% |
| 2546 |
\ifcase#1 % |
| 2547 |
\CJK@zero\or\CJK@one\or\CJK@two\or\CJK@three\or\CJK@four\or |
| 2548 |
\CJK@five\or\CJK@six\or\CJK@seven\or\CJK@eight\or\CJK@nine\or |
| 2549 |
\CJK@ten\or\CJK@ten\CJK@one\or\CJK@ten\CJK@two\or |
| 2550 |
\CJK@ten\CJK@three\or\CJK@ten\CJK@four\or\CJK@ten\CJK@five\or |
| 2551 |
\CJK@ten\CJK@six\or\CJK@ten\CJK@seven\or\CJK@ten\CJK@eight\or |
| 2552 |
\CJK@ten\CJK@nine |
| 2553 |
\else |
| 2554 |
\ifnum#1<10000 % |
| 2555 |
\HyPsd@CJKnumberFour#1!\@empty{20}% |
| 2556 |
\@empty |
| 2557 |
\else |
| 2558 |
\ifnum#1<100000000 % |
| 2559 |
\expandafter\expandafter\expandafter\HyPsd@CJKnumberFour |
| 2560 |
\IntCalcDiv#1!10000!% |
| 2561 |
!{}{20}% |
| 2562 |
\CJK@tenthousand |
| 2563 |
\expandafter\expandafter\expandafter\HyPsd@CJKnumberFour |
| 2564 |
\IntCalcMod#1!10000!% |
| 2565 |
!\CJK@zero{10}% |
| 2566 |
\@empty |
| 2567 |
\else |
| 2568 |
\expandafter\HyPsd@CJKnumberLarge |
| 2569 |
\number\IntCalcDiv#1!100000000!\expandafter!% |
| 2570 |
\number\IntCalcMod#1!100000000!!% |
| 2571 |
\fi |
| 2572 |
\fi |
| 2573 |
\fi |
| 2574 |
} |
| 2575 |
\def\HyPsd@CJKnumberLarge#1!#2!{% |
| 2576 |
\HyPsd@CJKnumberFour#1!{}{20}% |
| 2577 |
\CJK@hundredmillion |
| 2578 |
\ifnum#2=\z@ |
| 2579 |
\else |
| 2580 |
\expandafter\expandafter\expandafter\HyPsd@CJKnumberFour |
| 2581 |
\IntCalcDiv#2!10000!% |
| 2582 |
!\CJK@zero{10}% |
| 2583 |
\CJK@tenthousand |
| 2584 |
\expandafter\expandafter\expandafter\HyPsd@CJKnumberFour |
| 2585 |
\IntCalcMod#2!10000!% |
| 2586 |
!\CJK@zero{10}% |
| 2587 |
\@empty |
| 2588 |
\fi |
| 2589 |
} |
| 2590 |
\def\HyPsd@CJKnumberFour#1!#2#3{% |
| 2591 |
\ifnum#1=\z@ |
| 2592 |
\expandafter\@gobble |
| 2593 |
\else |
| 2594 |
\ifnum#1<1000 % |
| 2595 |
#2% |
| 2596 |
\HyPsd@CJKnumberThree#1!{}{#3}% |
| 2597 |
\else |
| 2598 |
\HyPsd@@CJKnumber{\IntCalcDiv#1!1000!}% |
| 2599 |
\CJK@thousand |
| 2600 |
\expandafter\expandafter\expandafter\HyPsd@CJKnumberThree |
| 2601 |
\IntCalcMod#1!1000!% |
| 2602 |
!\CJK@zero{10}% |
| 2603 |
\fi |
| 2604 |
\fi |
| 2605 |
} |
| 2606 |
\def\HyPsd@CJKnumberThree#1!#2#3{% |
| 2607 |
\ifnum#1=\z@ |
| 2608 |
\else |
| 2609 |
\ifnum#1<100 % |
| 2610 |
#2% |
| 2611 |
\HyPsd@CJKnumberTwo#1!{}{#3}% |
| 2612 |
\else |
| 2613 |
\HyPsd@@CJKnumber{\IntCalcDiv#1!100!}% |
| 2614 |
\CJK@hundred |
| 2615 |
\expandafter\expandafter\expandafter\HyPsd@CJKnumberTwo |
| 2616 |
\IntCalcMod#1!100!% |
| 2617 |
!\CJK@zero{10}% |
| 2618 |
\fi |
| 2619 |
\fi |
| 2620 |
} |
| 2621 |
\def\HyPsd@CJKnumberTwo#1!#2#3{% |
| 2622 |
\ifnum#1=\z@ |
| 2623 |
\else |
| 2624 |
\ifnum#1<#3 % |
| 2625 |
#2% |
| 2626 |
\HyPsd@@CJKnumber{#1}% |
| 2627 |
\else |
| 2628 |
\HyPsd@@CJKnumber{\IntCalcDiv#1!10!}% |
| 2629 |
\CJK@ten |
| 2630 |
\ifnum\IntCalcMod#1!10!=\z@ |
| 2631 |
\else |
| 2632 |
\HyPsd@@CJKnumber{\IntCalcMod#1!10!}% |
| 2633 |
\fi |
| 2634 |
\fi |
| 2635 |
\fi |
| 2636 |
} |
| 2637 |
% \end{macrocode} |
| 2638 |
% \begin{macrocode} |
| 2639 |
\def\HyPsd@CJKdigits#1{% |
| 2640 |
\ifx*#1\relax |
| 2641 |
\expandafter\HyPsd@@CJKdigits\expandafter\CJK@zero |
| 2642 |
\else |
| 2643 |
\HyPsd@@CJKdigits\CJK@null{#1}% |
| 2644 |
\fi |
| 2645 |
} |
| 2646 |
\def\HyPsd@@CJKdigits#1#2{% |
| 2647 |
\ifx\\#2\\% |
| 2648 |
\else |
| 2649 |
\HyPsd@@@CJKdigits#1#2\@nil |
| 2650 |
\fi |
| 2651 |
}% |
| 2652 |
\def\HyPsd@@@CJKdigits#1#2#3\@nil{% |
| 2653 |
\HyPsd@CJKdigit#1{#2}% |
| 2654 |
\ifx\\#3\\% |
| 2655 |
\expandafter\@gobble |
| 2656 |
\else |
| 2657 |
\expandafter\@firstofone |
| 2658 |
\fi |
| 2659 |
{% |
| 2660 |
\HyPsd@@@CJKdigits#1#3\@nil |
| 2661 |
}% |
| 2662 |
} |
| 2663 |
\def\HyPsd@CJKdigit#1#2{% |
| 2664 |
\ifcase#2 % |
| 2665 |
#1\or |
| 2666 |
\CJK@one\or\CJK@two\or\CJK@three\or\CJK@four\or |
| 2667 |
\CJK@five\or\CJK@six\or\CJK@seven\or\CJK@eight\or\CJK@nine |
| 2668 |
\fi |
| 2669 |
} |
| 2670 |
% \end{macrocode} |
| 2671 |
% |
| 2672 |
% \subsubsection{\texorpdfstring{\cs{@inmathwarn}}{\\@inmathwarn}-Patch} |
| 2673 |
% \begin{macro}{\HyPsd@inmathwarn} |
| 2674 |
% The patch of \cs{@inmathwarn} is needed to get rid of the |
| 2675 |
% infinite error loop with glyphs of other encodings |
| 2676 |
% (see the explanation above). Potentially the patch is |
| 2677 |
% dangerous, if the code in |ltoutenc.dtx| changes. |
| 2678 |
% Checked with \LaTeXe{} versions [1998/06/01] and |
| 2679 |
% [1998/12/01]. I expect that versions below [1995/12/01] |
| 2680 |
% don't work. |
| 2681 |
% |
| 2682 |
% To understand the patch easier, the original code of |
| 2683 |
% \cs{@current@cmd} and \cs{@changed@cmd} follows |
| 2684 |
% (\LaTeXe{} release [1998/12/01]). |
| 2685 |
% In the normal case \cs{pdfstringdef} is executed in a context |
| 2686 |
% where \cs{protect} has the meaning of \cs{@typesetprotect} |
| 2687 |
% (=\cs{relax}). |
| 2688 |
%\begin{verbatim} |
| 2689 |
%\def\@current@cmd#1{% |
| 2690 |
% \ifx\protect\@typeset@protect |
| 2691 |
% \@inmathwarn#1% |
| 2692 |
% \else |
| 2693 |
% \noexpand#1\expandafter\@gobble |
| 2694 |
% \fi} |
| 2695 |
%\def\@changed@cmd#1#2{% |
| 2696 |
% \ifx\protect\@typeset@protect |
| 2697 |
% \@inmathwarn#1% |
| 2698 |
% \expandafter\ifx\csname\cf@encoding\string#1\endcsname\relax |
| 2699 |
% \expandafter\ifx\csname ?\string#1\endcsname\relax |
| 2700 |
% \expandafter\def\csname ?\string#1\endcsname{% |
| 2701 |
% \TextSymbolUnavailable#1% |
| 2702 |
% }% |
| 2703 |
% \fi |
| 2704 |
% \global\expandafter\let |
| 2705 |
% \csname\cf@encoding \string#1\expandafter\endcsname |
| 2706 |
% \csname ?\string#1\endcsname |
| 2707 |
% \fi |
| 2708 |
% \csname\cf@encoding\string#1% |
| 2709 |
% \expandafter\endcsname |
| 2710 |
% \else |
| 2711 |
% \noexpand#1% |
| 2712 |
% \fi} |
| 2713 |
%\gdef\TextSymbolUnavailable#1{% |
| 2714 |
% \@latex@error{% |
| 2715 |
% Command \protect#1 unavailable in encoding \cf@encoding% |
| 2716 |
% }\@eha} |
| 2717 |
%\def\@inmathwarn#1{% |
| 2718 |
% \ifmmode |
| 2719 |
% \@latex@warning{Command \protect#1 invalid in math mode}% |
| 2720 |
% \fi} |
| 2721 |
%\end{verbatim} |
| 2722 |
% \begin{macrocode} |
| 2723 |
\def\HyPsd@inmathwarn#1#2{% |
| 2724 |
\ifx#2\expandafter |
| 2725 |
\expandafter\ifx\csname\cf@encoding\string#1\endcsname\relax |
| 2726 |
\HyPsd@GLYPHERR |
| 2727 |
\expandafter\@gobble\string#1% |
| 2728 |
>% |
| 2729 |
\expandafter\expandafter\expandafter\HyPsd@EndWithElse |
| 2730 |
\else |
| 2731 |
\expandafter\expandafter\expandafter\HyPsd@GobbleFiFi |
| 2732 |
\fi |
| 2733 |
\else |
| 2734 |
\expandafter#2% |
| 2735 |
\fi |
| 2736 |
} |
| 2737 |
\def\HyPsd@GobbleFiFi#1\fi#2\fi{} |
| 2738 |
\def\HyPsd@EndWithElse#1\else{\else} |
| 2739 |
% \end{macrocode} |
| 2740 |
% \end{macro} |
| 2741 |
% |
| 2742 |
% \begin{macro}{\HyPsd@add@accent} |
| 2743 |
% \begin{macrocode} |
| 2744 |
\def\HyPsd@add@accent#1#2{% |
| 2745 |
\HyPsd@GLYPHERR\expandafter\@gobble\string#1+\string#2>% |
| 2746 |
#2% |
| 2747 |
}% |
| 2748 |
% \end{macrocode} |
| 2749 |
% \end{macro} |
| 2750 |
% |
| 2751 |
% \subsubsection{Unexpandable spaces} |
| 2752 |
% |
| 2753 |
% \begin{macro}{\HyPsd@LetUnexpandableSpace} |
| 2754 |
% In \cmd{\HyPsd@@ProtectSpaces} the space tokens are replaced |
| 2755 |
% by not expandable commands, that work like spaces: |
| 2756 |
% \begin{itemize} |
| 2757 |
% \item So they can caught by undelimited arguments. |
| 2758 |
% \item And they work in number, dimen, and skip |
| 2759 |
% assignments. |
| 2760 |
% \end{itemize} |
| 2761 |
% These properties are used in \cmd{\HyPsd@CheckCatcodes}. |
| 2762 |
% \begin{macrocode} |
| 2763 |
\def\HyPsd@LetUnexpandableSpace#1{% |
| 2764 |
\expandafter\futurelet\expandafter#1\expandafter\@gobble\space\relax |
| 2765 |
} |
| 2766 |
% \end{macrocode} |
| 2767 |
% \end{macro} |
| 2768 |
% \begin{macro}{\HyPsd@UnexpandableSpace} |
| 2769 |
% \cmd{\HyPsd@UnexpandableSpace} is used |
| 2770 |
% in \cmd{\HyPsd@@ProtectSpaces}. |
| 2771 |
% In \cmd{HyPsd@@ProtectSpaces} the space tokens are replaced |
| 2772 |
% by unexpandable commands \cmd{\HyPsd@UnexpandableSpace}, |
| 2773 |
% but that have the effect of spaces. |
| 2774 |
% \begin{macrocode} |
| 2775 |
\HyPsd@LetUnexpandableSpace\HyPsd@UnexpandableSpace |
| 2776 |
% \end{macrocode} |
| 2777 |
% \end{macro} |
| 2778 |
% |
| 2779 |
% \subsubsection{Marker for commands} |
| 2780 |
% \begin{macro}{\HyPsd@XSPACE} |
| 2781 |
% \begin{macro}{\HyPsd@ITALCORR} |
| 2782 |
% \begin{macro}{\HyPsd@GLYPHERR} |
| 2783 |
% Some commands and information cannot be utilized before |
| 2784 |
% the string expansion and the checking process. |
| 2785 |
% Command names are filtered out, so we need another way |
| 2786 |
% to transport the information: An unusual |#| with catcode |
| 2787 |
% 12 marks the beginning of the extra information. |
| 2788 |
% \begin{macrocode} |
| 2789 |
\edef\HyPsd@XSPACE{\string#\string X} |
| 2790 |
\edef\HyPsd@ITALCORR{\string#\string I} |
| 2791 |
\edef\HyPsd@GLYPHERR{\string#\string G} |
| 2792 |
% \end{macrocode} |
| 2793 |
% \end{macro} |
| 2794 |
% \end{macro} |
| 2795 |
% \end{macro} |
| 2796 |
% |
| 2797 |
% \subsubsection{\texorpdfstring{\cs{hspace}}{\\hspace} fix} |
| 2798 |
% \begin{macro}{\HyPsd@hspace} |
| 2799 |
% \begin{macrocode} |
| 2800 |
\def\HyPsd@hspace#1{\HyPsd@@hspace#1*\END} |
| 2801 |
% \end{macrocode} |
| 2802 |
% \end{macro} |
| 2803 |
% \begin{macro}{\HyPsd@@hspace} |
| 2804 |
% \cs{HyPsd@@hspace} checks whether \cs{hspace} |
| 2805 |
% is called in its star form. |
| 2806 |
% \begin{macrocode} |
| 2807 |
\def\HyPsd@@hspace#1*#2\END{% |
| 2808 |
\ifx\\#2\\% |
| 2809 |
\HyPsd@hspacetest{#1}% |
| 2810 |
\else |
| 2811 |
\expandafter\HyPsd@hspacetest |
| 2812 |
\fi |
| 2813 |
} |
| 2814 |
% \end{macrocode} |
| 2815 |
% \end{macro} |
| 2816 |
% \begin{macro}{\HyPsd@hspacetest} |
| 2817 |
% \cs{HyPsd@hyspacetest} replaces the \cs{hspace} by a space, if |
| 2818 |
% the length is greater than zero. |
| 2819 |
% \begin{macrocode} |
| 2820 |
\def\HyPsd@hspacetest#1{\ifdim\dimexpr#1\relax>\z@\space\fi} |
| 2821 |
% \end{macrocode} |
| 2822 |
% \end{macro} |
| 2823 |
% |
| 2824 |
% \subsubsection{Fix for AMS classes} |
| 2825 |
% |
| 2826 |
% \begin{macrocode} |
| 2827 |
\@ifundefined{tocsection}{% |
| 2828 |
\let\HyPsd@AMSclassfix\relax |
| 2829 |
}{% |
| 2830 |
\def\HyPsd@AMSclassfix{% |
| 2831 |
\let\tocpart\HyPsd@tocsection |
| 2832 |
\let\tocchapter\HyPsd@tocsection |
| 2833 |
\let\tocappendix\HyPsd@tocsection |
| 2834 |
\let\tocsection\HyPsd@tocsection |
| 2835 |
\let\tocsubsection\HyPsd@tocsection |
| 2836 |
\let\tocsubsubsection\HyPsd@tocsection |
| 2837 |
\let\tocparagraph\HyPsd@tocsection |
| 2838 |
}% |
| 2839 |
\def\HyPsd@tocsection#1#2#3{% |
| 2840 |
\if @#2@\else\if @#1@\else#1 \fi#2. \fi |
| 2841 |
#3% |
| 2842 |
}% |
| 2843 |
} |
| 2844 |
% \end{macrocode} |
| 2845 |
% |
| 2846 |
% \subsubsection{Reference commands} |
| 2847 |
% |
| 2848 |
% \begin{macro}{\HyPsd@href} |
| 2849 |
% \begin{macrocode} |
| 2850 |
\def\HyPsd@href#1#{\@secondoftwo} |
| 2851 |
% \end{macrocode} |
| 2852 |
% \end{macro} |
| 2853 |
% |
| 2854 |
% \begin{macro}{\HyPsd@ref} |
| 2855 |
% Macro \cs{HyPsd@ref} calls the macro \cs{HyPsd@@ref} for star checking. |
| 2856 |
% The same methods like in \cs{HyPsd@hspace} is used. |
| 2857 |
% \begin{macrocode} |
| 2858 |
\def\HyPsd@ref#1{\HyPsd@@ref#1*\END}% |
| 2859 |
% \end{macrocode} |
| 2860 |
% \end{macro} |
| 2861 |
% \begin{macro}{\HyPsd@@ref} |
| 2862 |
% Macro \cs{HyPsd@@ref} checks if a star is present. |
| 2863 |
% \begin{macrocode} |
| 2864 |
\def\HyPsd@@ref#1*#2\END{% |
| 2865 |
\ifx\\#2\\% |
| 2866 |
\HyPsd@@@ref{#1}% |
| 2867 |
\else |
| 2868 |
\expandafter\HyPsd@@@ref |
| 2869 |
\fi |
| 2870 |
}% |
| 2871 |
% \end{macrocode} |
| 2872 |
% \end{macro} |
| 2873 |
% \begin{macro}{\HyPsd@@@ref} |
| 2874 |
% \cs{HyPsd@@@ref} does the work and extracts the first argument. |
| 2875 |
% \begin{macrocode} |
| 2876 |
\def\HyPsd@@@ref#1{% |
| 2877 |
\expandafter\ifx\csname r@#1\endcsname\relax |
| 2878 |
??% |
| 2879 |
\else |
| 2880 |
\expandafter\expandafter\expandafter |
| 2881 |
\@car\csname r@#1\endcsname\@nil |
| 2882 |
\fi |
| 2883 |
} |
| 2884 |
% \end{macrocode} |
| 2885 |
% \end{macro} |
| 2886 |
% |
| 2887 |
% \begin{macro}{\HyPsd@pageref} |
| 2888 |
% Macro \cs{HyPsd@pageref} calls the macro \cs{HyPsd@@pageref} for star checking. |
| 2889 |
% The same methods like in \cs{HyPsd@hspace} is used. |
| 2890 |
% \begin{macrocode} |
| 2891 |
\def\HyPsd@pageref#1{\HyPsd@@pageref#1*\END} |
| 2892 |
% \end{macrocode} |
| 2893 |
% \end{macro} |
| 2894 |
% \begin{macro}{\HyPsd@@pageref} |
| 2895 |
% Macro \cs{HyPsd@@pageref} checks if a star is present. |
| 2896 |
% \begin{macrocode} |
| 2897 |
\def\HyPsd@@pageref#1*#2\END{% |
| 2898 |
\ifx\\#2\\% |
| 2899 |
\HyPsd@@@pageref{#1}% |
| 2900 |
\else |
| 2901 |
\expandafter\HyPsd@@@pageref |
| 2902 |
\fi |
| 2903 |
} |
| 2904 |
% \end{macrocode} |
| 2905 |
% \end{macro} |
| 2906 |
% \begin{macro}{\HyPsd@@@pageref} |
| 2907 |
% \cs{HyPsd@@@pageref} does the work and extracts the second argument. |
| 2908 |
% \begin{macrocode} |
| 2909 |
\def\HyPsd@@@pageref#1{% |
| 2910 |
\expandafter\ifx\csname r@#1\endcsname\relax |
| 2911 |
??% |
| 2912 |
\else |
| 2913 |
\expandafter\expandafter\expandafter\expandafter |
| 2914 |
\expandafter\expandafter\expandafter\@car |
| 2915 |
\expandafter\expandafter\expandafter\@gobble |
| 2916 |
\csname r@#1\endcsname{}\@nil |
| 2917 |
\fi |
| 2918 |
} |
| 2919 |
% \end{macrocode} |
| 2920 |
% \end{macro} |
| 2921 |
% |
| 2922 |
% \begin{macro}{\HyPsd@nameref} |
| 2923 |
% Macro \cs{HyPsd@nameref} calls the macro \cs{HyPsd@@nameref} for star checking. |
| 2924 |
% The same methods like in \cs{HyPsd@hspace} is used. |
| 2925 |
% \begin{macrocode} |
| 2926 |
\def\HyPsd@nameref#1{\HyPsd@@nameref#1*\END} |
| 2927 |
% \end{macrocode} |
| 2928 |
% \end{macro} |
| 2929 |
% \begin{macro}{\HyPsd@@nameref} |
| 2930 |
% Macro \cs{HyPsd@@nameref} checks if a star is present. |
| 2931 |
% \begin{macrocode} |
| 2932 |
\def\HyPsd@@nameref#1*#2\END{% |
| 2933 |
\ifx\\#2\\% |
| 2934 |
\HyPsd@@@nameref{#1}% |
| 2935 |
\else |
| 2936 |
\expandafter\HyPsd@@@nameref |
| 2937 |
\fi |
| 2938 |
} |
| 2939 |
% \end{macrocode} |
| 2940 |
% \end{macro} |
| 2941 |
% \begin{macro}{\HyPsd@@@nameref} |
| 2942 |
% \cs{HyPsd@@@nameref} does the work and extracts the third argument. |
| 2943 |
% \begin{macrocode} |
| 2944 |
\def\HyPsd@@@nameref#1{% |
| 2945 |
\expandafter\ifx\csname r@#1\endcsname\relax |
| 2946 |
??% |
| 2947 |
\else |
| 2948 |
\expandafter\expandafter\expandafter\expandafter |
| 2949 |
\expandafter\expandafter\expandafter\@car |
| 2950 |
\expandafter\expandafter\expandafter\@gobbletwo |
| 2951 |
\csname r@#1\endcsname{}{}\@nil |
| 2952 |
\fi |
| 2953 |
} |
| 2954 |
% \end{macrocode} |
| 2955 |
% \end{macro} |
| 2956 |
% |
| 2957 |
% \begin{macro}{\HyPsd@autoref} |
| 2958 |
% Macro \cs{HyPsd@autoref} calls the macro \cs{HyPsd@@autoref} for star checking. |
| 2959 |
% The same methods like in \cs{HyPsd@hspace} is used. |
| 2960 |
% \begin{macrocode} |
| 2961 |
\def\HyPsd@autoref#1{\HyPsd@@autoref#1*\END} |
| 2962 |
% \end{macrocode} |
| 2963 |
% \end{macro} |
| 2964 |
% \begin{macro}{\HyPsd@@autoref} |
| 2965 |
% Macro \cs{HyPsd@@autoref} checks if a star is present. |
| 2966 |
% \begin{macrocode} |
| 2967 |
\def\HyPsd@@autoref#1*#2\END{% |
| 2968 |
\ifx\\#2\\% |
| 2969 |
\HyPsd@@@autoref{#1}% |
| 2970 |
\else |
| 2971 |
\expandafter\HyPsd@@@autoref |
| 2972 |
\fi |
| 2973 |
} |
| 2974 |
% \end{macrocode} |
| 2975 |
% \end{macro} |
| 2976 |
% \begin{macro}{\HyPsd@@@autoref} |
| 2977 |
% \cs{HyPsd@@@autoref} does the work and extracts the second argument. |
| 2978 |
% \begin{macrocode} |
| 2979 |
\def\HyPsd@@@autoref#1{% |
| 2980 |
\expandafter\ifx\csname r@#1\endcsname\relax |
| 2981 |
??% |
| 2982 |
\else |
| 2983 |
\expandafter\expandafter\expandafter\HyPsd@autorefname |
| 2984 |
\csname r@#1\endcsname{}{}{}{}\@nil |
| 2985 |
\expandafter\expandafter\expandafter |
| 2986 |
\@car\csname r@#1\endcsname\@nil |
| 2987 |
\fi |
| 2988 |
} |
| 2989 |
% \end{macrocode} |
| 2990 |
% \end{macro} |
| 2991 |
% \begin{macro}{\HyPsd@autorefname} |
| 2992 |
% At least a basic definition for getting the \cs{autoref} name. |
| 2993 |
% \begin{macrocode} |
| 2994 |
\def\HyPsd@autorefname#1#2#3#4#5\@nil{% |
| 2995 |
\ifx\\#4\\% |
| 2996 |
\else |
| 2997 |
\HyPsd@@autorefname#4.\@nil |
| 2998 |
\fi |
| 2999 |
} |
| 3000 |
% \end{macrocode} |
| 3001 |
% \end{macro} |
| 3002 |
% \begin{macro}{\HyPsd@@autorefname} |
| 3003 |
% \begin{macrocode} |
| 3004 |
\def\HyPsd@@autorefname#1.#2\@nil{% |
| 3005 |
\@ifundefined{#1autorefname}{% |
| 3006 |
\@ifundefined{#1name}{% |
| 3007 |
}{% |
| 3008 |
\csname#1name\endcsname\space |
| 3009 |
}% |
| 3010 |
}{% |
| 3011 |
\csname#1autorefname\endcsname\space |
| 3012 |
}% |
| 3013 |
} |
| 3014 |
% \end{macrocode} |
| 3015 |
% \end{macro} |
| 3016 |
% |
| 3017 |
% \subsubsection{Redefining the defining commands} |
| 3018 |
% \label{defcmd} |
| 3019 |
% Definitions aren't allowed, because they aren't executed in |
| 3020 |
% an only expanding context. So the command to be defined |
| 3021 |
% isn't defined and can perhaps be undefined. This would causes |
| 3022 |
% TeX to stop with an error message. |
| 3023 |
% With a deep trick it is possible to define commands in such |
| 3024 |
% a context: \cs{csname} does the job, it defines the command |
| 3025 |
% to be \cs{relax}, if it has no meaning. |
| 3026 |
% |
| 3027 |
% Active characters cannot be defined with this trick. It is |
| 3028 |
% possible to define all undefined active characters |
| 3029 |
% (perhaps that they have the meaning of \cs{relax}). |
| 3030 |
% To avoid side effects this should be done in \cs{pdfstringdef} |
| 3031 |
% shortly before the \cs{xdef} job. But checking and defining |
| 3032 |
% all possible active characters of the full range (0 until 255) |
| 3033 |
% would take a while. \cs{pdfstringdef} is slow enough, so |
| 3034 |
% this isn't done. |
| 3035 |
% |
| 3036 |
% \cs{HyPsd@DefCommand} and \cs{HyPsd@LetCommand} expands to the |
| 3037 |
% commands \cs{<def>-command} and \cs{<let>-command} |
| 3038 |
% with the meaning of \cs{def} and \cs{let}. So it is detected by |
| 3039 |
% \cs{HyPsd@CheckCatcodes} and the command name \cs{<def>-command} |
| 3040 |
% or \cs{<let>-command} should indicate a forbidden definition |
| 3041 |
% command. |
| 3042 |
% |
| 3043 |
% The command to be defined is converted to a string and back |
| 3044 |
% to a command name with the help of \cs{csname}. If the |
| 3045 |
% command is already defined, \cs{noexpand} prevents a |
| 3046 |
% further expansion, even though the command would |
| 3047 |
% expand to legal stuff. If the command don't have the meaning |
| 3048 |
% of \cs{relax}, \cs{HyPsd@CheckCatcodes} will produce a warning. |
| 3049 |
% (The command itself can be legal, but the warning is legitimate |
| 3050 |
% because of the position after a defining command.) |
| 3051 |
% |
| 3052 |
% The difference between \cs{HyPsd@DefCommand} and |
| 3053 |
% \cs{HyPsdLetCommand} is that the first one also cancels this |
| 3054 |
% arguments, the parameter and definition text. The right side |
| 3055 |
% of the \cs{let} commands cannot be canceled with an undelimited |
| 3056 |
% parameter because of a possible space token after \cs{futurelet}. |
| 3057 |
% |
| 3058 |
% To avoid unmachted \cs{if...} tokens, the cases |
| 3059 |
% \verb|\let\if...\iftrue| and \verb|\let\if...\iffalse| |
| 3060 |
% are checked and ignored. |
| 3061 |
% |
| 3062 |
% \begin{macro}{\HyPsd@DefCommand} |
| 3063 |
% \begin{macro}{\HyPsd@LetCommand} |
| 3064 |
% \begin{macrocode} |
| 3065 |
\begingroup |
| 3066 |
\def\x#1#2{% |
| 3067 |
\endgroup |
| 3068 |
\let#1\def |
| 3069 |
\def\HyPsd@DefCommand##1##2##{% |
| 3070 |
#1% |
| 3071 |
\expandafter\noexpand |
| 3072 |
\csname\expandafter\@gobble\string##1\@empty\endcsname |
| 3073 |
\@gobble |
| 3074 |
}% |
| 3075 |
\let#2\let |
| 3076 |
\def\HyPsd@@LetCommand##1{% |
| 3077 |
\expandafter\ifx\csname##1\expandafter\endcsname |
| 3078 |
\csname iftrue\endcsname |
| 3079 |
\pdfstringdefWarn\let |
| 3080 |
\expandafter\@gobble |
| 3081 |
\else |
| 3082 |
\expandafter\ifx\csname##1\expandafter\endcsname |
| 3083 |
\csname iffalse\endcsname |
| 3084 |
\pdfstringdefWarn\let |
| 3085 |
\expandafter\expandafter\expandafter\@gobble |
| 3086 |
\else |
| 3087 |
#2% |
| 3088 |
\expandafter\noexpand |
| 3089 |
\csname##1\expandafter\expandafter\expandafter\endcsname |
| 3090 |
\fi |
| 3091 |
\fi |
| 3092 |
}% |
| 3093 |
}% |
| 3094 |
\expandafter\x\csname <def>-command\expandafter\endcsname |
| 3095 |
\csname <let>-command\endcsname |
| 3096 |
\def\HyPsd@LetCommand#1{% |
| 3097 |
\expandafter\expandafter\expandafter\HyPsd@@LetCommand |
| 3098 |
\expandafter\expandafter\expandafter{% |
| 3099 |
\expandafter\@gobble\string#1\@empty |
| 3100 |
}% |
| 3101 |
} |
| 3102 |
% \end{macrocode} |
| 3103 |
% \end{macro} |
| 3104 |
% \end{macro} |
| 3105 |
% |
| 3106 |
% \subsubsection{^^A |
| 3107 |
% \texorpdfstring{\cs{ifnextchar}}{\\ifnextchar}^^A |
| 3108 |
% } |
| 3109 |
% \begin{macro}{\HyPsd@ifnextchar} |
| 3110 |
% In \cs{pdfstringdef} \cs{@ifnextchar} is disabled |
| 3111 |
% via a \cs{let} command to save time. First a |
| 3112 |
% warning message is given, then the three arguments |
| 3113 |
% are canceled. \cs{@ifnextchar} cannot work in a correct |
| 3114 |
% manner, because it uses \cs{futurelet}, but this is a |
| 3115 |
% stomach feature, that doesn't work in an expanding context. |
| 3116 |
% There are several variants of \cs{@ifnextchar}: |
| 3117 |
% \begin{itemize} |
| 3118 |
% \item \cs{@ifnextchar} |
| 3119 |
% \item \cs{kernel@ifnextchar} |
| 3120 |
% \item \cs{new@ifnextchar} from package \verb|amsgen.sty| |
| 3121 |
% (bug report latex/3662). |
| 3122 |
% \end{itemize} |
| 3123 |
% \begin{macrocode} |
| 3124 |
\def\HyPsd@ifnextchar#1{% |
| 3125 |
\pdfstringdefWarn#1% |
| 3126 |
\expandafter\@gobbletwo\@gobble |
| 3127 |
} |
| 3128 |
% \end{macrocode} |
| 3129 |
% \end{macro} |
| 3130 |
% |
| 3131 |
% \subsubsection{^^A |
| 3132 |
% \texorpdfstring{\cs{@protected@testoptifnextchar}}^^A |
| 3133 |
% {\\@protected@testopt}^^A |
| 3134 |
% } |
| 3135 |
% \begin{macro}{\HyPsd@protected@testopt} |
| 3136 |
% Macros with optional arguments doesn't work properly, because |
| 3137 |
% they call \cmd{\@ifnextchar} to detect the optional argument |
| 3138 |
% (see the explanation of \cmd{\HyPsd@ifnextchar}). |
| 3139 |
% But a warning, that \cmd{\@ifnextchar} doesn't work, doesn't |
| 3140 |
% help the user very much. Therefore \cmd{\@protected@testopt} |
| 3141 |
% is also disabled, because its first argument is the problematic |
| 3142 |
% macro with the optional argument and it is called before |
| 3143 |
% \cmd{\@ifnextchar}. |
| 3144 |
% \begin{macrocode} |
| 3145 |
\def\HyPsd@protected@testopt#1{% |
| 3146 |
\pdfstringdefWarn#1% |
| 3147 |
\@gobbletwo |
| 3148 |
} |
| 3149 |
% \end{macrocode} |
| 3150 |
% \end{macro} |
| 3151 |
% |
| 3152 |
% \subsection{Help macros for postprocessing} |
| 3153 |
% |
| 3154 |
% \subsubsection{Generic warning.} |
| 3155 |
% \begin{macro}{\HyPsd@Warning} |
| 3156 |
% For several reasons \cs{space} is masked and does not have its |
| 3157 |
% normal meaning. But it is used in warning messages, so it is |
| 3158 |
% redefined locally: |
| 3159 |
% \begin{macrocode} |
| 3160 |
\def\HyPsd@Warning#1{% |
| 3161 |
\begingroup |
| 3162 |
\let\space\Hy@space |
| 3163 |
\Hy@Warning{#1}% |
| 3164 |
\endgroup |
| 3165 |
} |
| 3166 |
% \end{macrocode} |
| 3167 |
% \end{macro} |
| 3168 |
% |
| 3169 |
% \subsubsection{Protecting spaces} |
| 3170 |
% |
| 3171 |
% \begin{macro}{\HyPsd@ProtectSpaces} |
| 3172 |
% \cs{HyPsd@ProtectSpaces} calls with the expanded |
| 3173 |
% string \cs{HyPsd@@ProtectSpacesFi}. The expanded string is |
| 3174 |
% protected by \verb+|+ at the beginning and end of |
| 3175 |
% the expanded string. Because of this there can be no group |
| 3176 |
% at the beginning or end of the string and grouping characters |
| 3177 |
% are not removed by the call of \cs{HyPsd@@ProtectSpacesFi}. |
| 3178 |
% \begin{macrocode} |
| 3179 |
\let\HyPsd@fi\fi |
| 3180 |
\def\HyPsd@ProtectSpaces#1{% |
| 3181 |
\xdef#1{% |
| 3182 |
\iftrue |
| 3183 |
\expandafter\HyPsd@@ProtectSpacesFi |
| 3184 |
\expandafter|\expandafter\@empty#1| % |
| 3185 |
\HyPsd@fi |
| 3186 |
}% |
| 3187 |
\expandafter\HyPsd@RemoveMask#1\HyPsd@End#1% |
| 3188 |
}% |
| 3189 |
% \end{macrocode} |
| 3190 |
% \end{macro} |
| 3191 |
% \begin{macro}{\HyPsd@@ProtectSpacesFi} |
| 3192 |
% The string can contain command tokens, so it is better |
| 3193 |
% to use an \cs{def} instead of an \cs{edef}. |
| 3194 |
% \begin{macrocode} |
| 3195 |
\def\HyPsd@@ProtectSpacesFi#1 #2\HyPsd@fi{% |
| 3196 |
\fi |
| 3197 |
\unexpanded{#1}% |
| 3198 |
\ifx\scrollmode#2\scrollmode |
| 3199 |
\else |
| 3200 |
\HyPsd@@ProtectSpacesFi\HyPsd@UnexpandableSpace#2% |
| 3201 |
\HyPsd@fi |
| 3202 |
}% |
| 3203 |
% \end{macrocode} |
| 3204 |
% \end{macro} |
| 3205 |
% |
| 3206 |
% \paragraph{Remove mask.} |
| 3207 |
% \begin{macro}{\HyPsd@RemoveMask} |
| 3208 |
% \cs{HyPsd@RemoveMask} removes the protecting \verb+|+. |
| 3209 |
% It is used by \cs{HyPsd@@ProtectSpacesFi} and by the code in |
| 3210 |
% \cs{pdfstringdef} that removes the grouping characters. |
| 3211 |
% \begin{macrocode} |
| 3212 |
\def\HyPsd@RemoveMask|#1|\HyPsd@End#2{% |
| 3213 |
\xdef#2{\unexpanded\expandafter{#1}}% |
| 3214 |
}% |
| 3215 |
% \end{macrocode} |
| 3216 |
% \end{macro} |
| 3217 |
% |
| 3218 |
% \subsubsection{Remove grouping braces} |
| 3219 |
% \begin{macro}{\HyPsd@RemoveBraces} |
| 3220 |
% |#1| contains the expanded string, the result will |
| 3221 |
% be locally written in command \cs{HyPsd@String}. |
| 3222 |
% \begin{macrocode} |
| 3223 |
\def\HyPsd@RemoveBraces#1{% |
| 3224 |
\ifx\scrollmode#1\scrollmode |
| 3225 |
\else |
| 3226 |
\HyPsd@@RemoveBracesFi#1\HyPsd@End{#1}% |
| 3227 |
\fi |
| 3228 |
} |
| 3229 |
% \end{macrocode} |
| 3230 |
% \end{macro} |
| 3231 |
% \begin{macro}{\HyPsd@@RemoveBraces} |
| 3232 |
% \cs{HyPsd@@RemoveBraces} is called with the expanded string, |
| 3233 |
% the end marked by \cs{HyPsd@End}, the expanded string again, but |
| 3234 |
% enclosed in braces and the string command. The first expanded |
| 3235 |
% string is scanned by the parameter text |#1#2|. |
| 3236 |
% By a comparison with the original form in |#3| we can decide |
| 3237 |
% whether |#1| is a single token or a group. To avoid the |
| 3238 |
% case that |#2| is a group, the string is extended by a \verb+|+ |
| 3239 |
% before. |
| 3240 |
% |
| 3241 |
% While removing the grouping braces an italic correction |
| 3242 |
% marker is inserted for supporting package |xspace| and |
| 3243 |
% letting ligatures broken. |
| 3244 |
% |
| 3245 |
% Because the string is already expanded, the \cs{if} commands |
| 3246 |
% should disappeared. So we can move some parts out |
| 3247 |
% of the argument of \cs{Hy@ReturnAfterFi}. |
| 3248 |
% \begin{macrocode} |
| 3249 |
\def\HyPsd@@RemoveBracesFi#1#2\HyPsd@End#3\fi{% |
| 3250 |
\fi |
| 3251 |
\def\Hy@temp@A{#1#2}% |
| 3252 |
\def\Hy@temp@B{#3}% |
| 3253 |
\ifx\Hy@temp@A\Hy@temp@B |
| 3254 |
\expandafter\def\expandafter\HyPsd@String\expandafter{% |
| 3255 |
\HyPsd@String#1% |
| 3256 |
}% |
| 3257 |
\ifx\scrollmode#2\scrollmode |
| 3258 |
\else |
| 3259 |
\Hy@ReturnAfterFiFiEnd{% |
| 3260 |
\HyPsd@RemoveBraces{#2}% |
| 3261 |
}% |
| 3262 |
\fi |
| 3263 |
\else |
| 3264 |
\def\Hy@temp@A{#1}% |
| 3265 |
\HyPsd@AppendItalcorr\HyPsd@String |
| 3266 |
\ifx\Hy@temp@A\@empty |
| 3267 |
\Hy@ReturnAfterElseFiFiEnd{% |
| 3268 |
\HyPsd@RemoveBraces{#2}% |
| 3269 |
}% |
| 3270 |
\else |
| 3271 |
\HyPsd@ProtectSpaces\Hy@temp@A |
| 3272 |
\HyPsd@AppendItalcorr\Hy@temp@A |
| 3273 |
\Hy@ReturnAfterFiFiEnd{% |
| 3274 |
\expandafter\HyPsd@RemoveBraces\expandafter |
| 3275 |
{\Hy@temp@A#2}% |
| 3276 |
}% |
| 3277 |
\fi |
| 3278 |
\fi |
| 3279 |
\Hy@ReturnEnd |
| 3280 |
} |
| 3281 |
% \end{macrocode} |
| 3282 |
% \end{macro} |
| 3283 |
% \begin{macro}{\HyPsd@AppendItalcorr} |
| 3284 |
% \begin{macro}{\HyPsd@@AppendItalcorr} |
| 3285 |
% The string can contain commands yet, so it is better |
| 3286 |
% to use \cs{def} instead of a shorter \cs{edef}. |
| 3287 |
% The two help macros limit the count of \cs{expandafter}. |
| 3288 |
% \begin{macrocode} |
| 3289 |
\def\HyPsd@AppendItalcorr#1{% |
| 3290 |
\expandafter\HyPsd@@AppendItalcorr\expandafter{\/}#1% |
| 3291 |
} |
| 3292 |
\def\HyPsd@@AppendItalcorr#1#2{% |
| 3293 |
\expandafter\def\expandafter#2\expandafter{#2#1}% |
| 3294 |
} |
| 3295 |
% \end{macrocode} |
| 3296 |
% \end{macro} |
| 3297 |
% \end{macro} |
| 3298 |
% |
| 3299 |
% \subsubsection{Catcode check} |
| 3300 |
% |
| 3301 |
% \paragraph{Workaround for LuaTeX.} |
| 3302 |
% \cs{HyPsd@CheckCatcodes} might trigger a bug |
| 3303 |
% of LuaTeX (0.60.2, 0.70.1, 0.70.2, ...) in the |
| 3304 |
% comparison with \cs{ifcat}, see |
| 3305 |
% \url{http://tracker.luatex.org/view.php?id=773}. |
| 3306 |
% \begin{macrocode} |
| 3307 |
\@ifundefined{directlua}{% |
| 3308 |
}{% |
| 3309 |
\expandafter\ifx\csname\endcsname\relax\fi |
| 3310 |
} |
| 3311 |
% \end{macrocode} |
| 3312 |
% |
| 3313 |
% \paragraph{Check catcodes.} |
| 3314 |
% \begin{macro}{\HyPsd@CheckCatcodes} |
| 3315 |
% Because \cs{ifcat} expands its arguments, this is |
| 3316 |
% prevented by \cs{noexpand}. In case of command tokens |
| 3317 |
% and active characters \cs{ifcat} now sees a \cs{relax}. |
| 3318 |
% After protecting spaces and removing braces |#1| should |
| 3319 |
% be a single token, no group of several tokens, nor an |
| 3320 |
% empty group. (So the \cs{expandafter}\cs{relax} between |
| 3321 |
% \cs{ifcat} and \cs{noexpand} is only for safety and |
| 3322 |
% it should be possible to remove it.) |
| 3323 |
% |
| 3324 |
% \cs{protect} and \cs{relax} should be removed silently. |
| 3325 |
% But it is too dangerous and breaks some code giving them |
| 3326 |
% the meaning of \cs{@empty}. So commands with the meaning |
| 3327 |
% of \cs{protect} are removed here. (\cs{protect} should |
| 3328 |
% have the meaning of \cs{@typeset@protect} that |
| 3329 |
% is equal to \cs{relax}). |
| 3330 |
% |
| 3331 |
% For the comparison with active characters, \texttt{\textasciitilde} |
| 3332 |
% cannot be used because it has the meaning of a blank space here. |
| 3333 |
% And active characters need to be checked, if they have been defined |
| 3334 |
% using \cs{protected}. |
| 3335 |
% \begin{macrocode} |
| 3336 |
\begingroup |
| 3337 |
\catcode`\Q=\active |
| 3338 |
\let Q\@empty |
| 3339 |
\gdef\HyPsd@CheckCatcodes#1#2\HyPsd@End{% |
| 3340 |
\global\let\HyPsd@Rest\relax |
| 3341 |
\ifcat\relax\noexpand#1\relax |
| 3342 |
\ifx#1\protect |
| 3343 |
\else |
| 3344 |
\ifx#1\penalty |
| 3345 |
\setbox\z@=\hbox{% |
| 3346 |
\afterassignment\HyPsd@AfterCountRemove |
| 3347 |
\count@=#2\HyPsd@End |
| 3348 |
}% |
| 3349 |
\else |
| 3350 |
\ifx#1\kern |
| 3351 |
\setbox\z@=\hbox{% |
| 3352 |
\afterassignment\HyPsd@AfterDimenRemove |
| 3353 |
\dimen@=#2\HyPsd@End |
| 3354 |
}% |
| 3355 |
\else |
| 3356 |
\ifx#1\hskip |
| 3357 |
\setbox\z@=\hbox{% |
| 3358 |
\afterassignment\HyPsd@AfterSkipRemove |
| 3359 |
\skip@=#2\HyPsd@End |
| 3360 |
}% |
| 3361 |
\else |
| 3362 |
\HyPsd@CatcodeWarning{#1}% |
| 3363 |
\fi |
| 3364 |
\fi |
| 3365 |
\fi |
| 3366 |
\fi |
| 3367 |
\else |
| 3368 |
\ifcat\noexpand#1\noexpandQ% active character |
| 3369 |
\expandafter\expandafter\expandafter\def |
| 3370 |
\expandafter\expandafter\expandafter\HyPsd@String |
| 3371 |
\expandafter\expandafter\expandafter{% |
| 3372 |
\expandafter\HyPsd@String\string#1% |
| 3373 |
}% |
| 3374 |
\else |
| 3375 |
\ifcat#1A% letter |
| 3376 |
\expandafter\def\expandafter\HyPsd@String\expandafter{% |
| 3377 |
\HyPsd@String#1% |
| 3378 |
}% |
| 3379 |
\else |
| 3380 |
\ifcat#1 % SPACE |
| 3381 |
\expandafter\def\expandafter\HyPsd@String\expandafter{% |
| 3382 |
\HyPsd@String\HyPsd@SPACEOPTI |
| 3383 |
}% |
| 3384 |
\else |
| 3385 |
\ifcat$#1% |
| 3386 |
\HyPsd@CatcodeWarning{math shift}% |
| 3387 |
\else |
| 3388 |
\ifcat% |
| 3389 |
\HyPsd@CatcodeWarning{alignment tab}% |
| 3390 |
\else |
| 3391 |
\ifcat^#1% |
| 3392 |
\HyPsd@CatcodeWarning{superscript}% |
| 3393 |
\else |
| 3394 |
\ifcat_#1% |
| 3395 |
\HyPsd@CatcodeWarning{subscript}% |
| 3396 |
\else |
| 3397 |
\expandafter\def\expandafter\HyPsd@String\expandafter{% |
| 3398 |
\HyPsd@String#1% |
| 3399 |
}% |
| 3400 |
\fi |
| 3401 |
\fi |
| 3402 |
\fi |
| 3403 |
\fi |
| 3404 |
\fi |
| 3405 |
\fi |
| 3406 |
\fi |
| 3407 |
\fi |
| 3408 |
\ifx\HyPsd@Rest\relax |
| 3409 |
\ifx\scrollmode#2\scrollmode |
| 3410 |
\else |
| 3411 |
\Hy@ReturnAfterFiFiEnd{% |
| 3412 |
\HyPsd@CheckCatcodes#2\HyPsd@End |
| 3413 |
}% |
| 3414 |
\fi |
| 3415 |
\else |
| 3416 |
\ifx\HyPsd@Rest\@empty |
| 3417 |
\else |
| 3418 |
\Hy@ReturnAfterFiFiEnd{% |
| 3419 |
\expandafter\HyPsd@CheckCatcodes\HyPsd@Rest\HyPsd@End |
| 3420 |
}% |
| 3421 |
\fi |
| 3422 |
\fi |
| 3423 |
\Hy@ReturnEnd |
| 3424 |
}% |
| 3425 |
\endgroup |
| 3426 |
% \end{macrocode} |
| 3427 |
% \end{macro} |
| 3428 |
% |
| 3429 |
% \paragraph{Remove counts, dimens, skips.} |
| 3430 |
% \begin{macro}{\HyPsd@AfterCountRemove} |
| 3431 |
% Counts like \cs{penalty} are removed silently. |
| 3432 |
% \begin{macrocode} |
| 3433 |
\def\HyPsd@AfterCountRemove#1\HyPsd@End{% |
| 3434 |
\gdef\HyPsd@Rest{#1}% |
| 3435 |
} |
| 3436 |
% \end{macrocode} |
| 3437 |
% \end{macro} |
| 3438 |
% \begin{macro}{\HyPsd@AfterDimenRemove} |
| 3439 |
% If the value of the dimen (\cs{kern}) is zero, it can be |
| 3440 |
% removed silently. All other values are difficult to interpret. |
| 3441 |
% Negative values do not work in bookmarks. Should positive |
| 3442 |
% values be removed or should they be replaced by space(s)? |
| 3443 |
% The following code replaces positive values greater than |
| 3444 |
% |1ex| with a space and removes them else. |
| 3445 |
% \begin{macrocode} |
| 3446 |
\def\HyPsd@AfterDimenRemove#1\HyPsd@End{% |
| 3447 |
\ifdim\ifx\HyPsd@String\@empty\z@\else\dimen@\fi>1ex % |
| 3448 |
\HyPsd@ReplaceSpaceWarning{\string\kern\space\the\dimen@}% |
| 3449 |
\gdef\HyPsd@Rest{\HyPsd@UnexpandableSpace #1}% |
| 3450 |
\else |
| 3451 |
\ifdim\dimen@=\z@ |
| 3452 |
\else |
| 3453 |
\HyPsd@RemoveSpaceWarning{\string\kern\space\the\dimen@}% |
| 3454 |
\fi |
| 3455 |
\gdef\HyPsd@Rest{#1}% |
| 3456 |
\fi |
| 3457 |
} |
| 3458 |
% \end{macrocode} |
| 3459 |
% \end{macro} |
| 3460 |
% \begin{macro}{\HyPsd@AfterSkipRemove} |
| 3461 |
% The glue part of skips do not work in PDF strings and are ignored. |
| 3462 |
% Skips (\cs{hskip}), that are not zero, have the same |
| 3463 |
% interpreting problems like dimens (see above). |
| 3464 |
% \begin{macrocode} |
| 3465 |
\def\HyPsd@AfterSkipRemove#1\HyPsd@End{% |
| 3466 |
\ifdim\ifx\HyPsd@String\@empty\z@\else\skip@\fi>1ex % |
| 3467 |
\HyPsd@ReplaceSpaceWarning{\string\hskip\space\the\skip@}% |
| 3468 |
\gdef\HyPsd@Rest{\HyPsd@UnexpandableSpace #1}% |
| 3469 |
\else |
| 3470 |
\ifdim\skip@=\z@ |
| 3471 |
\else |
| 3472 |
\HyPsd@RemoveSpaceWarning{\string\kern\space\the\skip@}% |
| 3473 |
\fi |
| 3474 |
\gdef\HyPsd@Rest{#1}% |
| 3475 |
\fi |
| 3476 |
} |
| 3477 |
% \end{macrocode} |
| 3478 |
% \end{macro} |
| 3479 |
% |
| 3480 |
% \paragraph{Catcode warnings.} |
| 3481 |
% \begin{macro}{\HyPsd@CatcodeWarning} |
| 3482 |
% \cs{HyPsd@CatcodeWarning} produces a warning for the user. |
| 3483 |
% \begin{macrocode} |
| 3484 |
\def\HyPsd@CatcodeWarning#1{% |
| 3485 |
\HyPsd@Warning{% |
| 3486 |
Token not allowed in a PDF string (% |
| 3487 |
\ifHy@unicode |
| 3488 |
Unicode% |
| 3489 |
\else |
| 3490 |
PDFDocEncoding% |
| 3491 |
\fi |
| 3492 |
):% |
| 3493 |
\MessageBreak removing `\HyPsd@RemoveCmdPrefix#1'% |
| 3494 |
}% |
| 3495 |
} |
| 3496 |
\begingroup |
| 3497 |
\catcode`\|=0 % |
| 3498 |
\catcode`\\=12 % |
| 3499 |
% \end{macrocode} |
| 3500 |
% \SpecialEscapechar{\|} |
| 3501 |
% \vspace{-2\MacrocodeTopsep} |
| 3502 |
% \vspace{-\parskip} |
| 3503 |
% \vspace{-\partopsep} |
| 3504 |
% \begin{macrocode} |
| 3505 |
|gdef|HyPsd@RemoveCmdPrefix#1{% |
| 3506 |
|expandafter|HyPsd@@RemoveCmdPrefix |
| 3507 |
|string#1|@empty\<>-|@empty|@empty |
| 3508 |
}% |
| 3509 |
|gdef|HyPsd@@RemoveCmdPrefix#1\<>-#2|@empty#3|@empty{#1#2}% |
| 3510 |
|endgroup |
| 3511 |
% \end{macrocode} |
| 3512 |
% \SpecialEscapechar{\\} |
| 3513 |
% \end{macro} |
| 3514 |
% \begin{macro}{\HyPsd@RemoveSpaceWarning} |
| 3515 |
% \begin{macrocode} |
| 3516 |
\def\HyPsd@RemoveSpaceWarning#1{% |
| 3517 |
\HyPsd@Warning{% |
| 3518 |
Token not allowed in a PDF string (% |
| 3519 |
\ifHy@unicode |
| 3520 |
Unicode% |
| 3521 |
\else |
| 3522 |
PDFDocEncoding% |
| 3523 |
\fi |
| 3524 |
):% |
| 3525 |
\MessageBreak #1\MessageBreak |
| 3526 |
removed% |
| 3527 |
}% |
| 3528 |
} |
| 3529 |
% \end{macrocode} |
| 3530 |
% \end{macro} |
| 3531 |
% \begin{macro}{\HyPsd@ReplaceSpaceWarning} |
| 3532 |
% \begin{macrocode} |
| 3533 |
\def\HyPsd@ReplaceSpaceWarning#1{% |
| 3534 |
\HyPsd@Warning{% |
| 3535 |
Token not allowed in a PDF string (% |
| 3536 |
\ifHy@unicode |
| 3537 |
Unicode% |
| 3538 |
\else |
| 3539 |
PDFDocEncoding% |
| 3540 |
\fi |
| 3541 |
):% |
| 3542 |
\MessageBreak #1\MessageBreak |
| 3543 |
replaced by space% |
| 3544 |
}% |
| 3545 |
} |
| 3546 |
% \end{macrocode} |
| 3547 |
% \end{macro} |
| 3548 |
% |
| 3549 |
% \subsubsection{Check for wrong glyphs} |
| 3550 |
% A wrong glyph is marked with \cs{relax}, the glyph |
| 3551 |
% name follows, delimited by |>|. \cs{@empty} ends |
| 3552 |
% the string. |
| 3553 |
% \begin{macrocode} |
| 3554 |
\def\HyPsd@GlyphProcess#1\relax#2\@empty{% |
| 3555 |
\expandafter\def\expandafter\HyPsd@String\expandafter{% |
| 3556 |
\HyPsd@String#1% |
| 3557 |
}% |
| 3558 |
\ifx\\#2\\% |
| 3559 |
\else |
| 3560 |
\Hy@ReturnAfterFi{% |
| 3561 |
\HyPsd@GlyphProcessWarning#2\@empty |
| 3562 |
}% |
| 3563 |
\fi |
| 3564 |
} |
| 3565 |
\def\HyPsd@GlyphProcessWarning#1>#2\@empty{% |
| 3566 |
\HyPsd@@GlyphProcessWarning#1++>% |
| 3567 |
\HyPsd@GlyphProcess#2\@empty |
| 3568 |
} |
| 3569 |
\def\HyPsd@@GlyphProcessWarning#1+#2+#3>{% |
| 3570 |
\ifx\\#2\\% |
| 3571 |
\HyPsd@Warning{% |
| 3572 |
Glyph not defined in % |
| 3573 |
P\ifHy@unicode U\else D1\fi\space encoding,\MessageBreak |
| 3574 |
removing `\@backslashchar#1'% |
| 3575 |
}% |
| 3576 |
\else |
| 3577 |
\HyPsd@Warning{% |
| 3578 |
Composite letter `\@backslashchar#1+#2'\MessageBreak |
| 3579 |
not defined in P\ifHy@unicode U\else D1\fi\space encoding,% |
| 3580 |
\MessageBreak |
| 3581 |
removing `\@backslashchar#1'% |
| 3582 |
}% |
| 3583 |
\fi |
| 3584 |
} |
| 3585 |
% \end{macrocode} |
| 3586 |
% |
| 3587 |
% \paragraph{Spaces.} |
| 3588 |
% \begin{macro}{\HyPsd@spaceopti} |
| 3589 |
% In the string the spaces are represented by \cs{HyPsd@spaceopti} |
| 3590 |
% tokens. Within an \cs{edef} it prints itself as |
| 3591 |
% a simple space and looks for its next argument. |
| 3592 |
% If another space follows, so it replaces the next \cs{HyPsd@spaceopti} |
| 3593 |
% by an protected space \cs{040}. |
| 3594 |
% \begin{macrocode} |
| 3595 |
\def\HyPsd@spaceopti#1{ % first space |
| 3596 |
\ifx\HyPsd@spaceopti#1% |
| 3597 |
\040% |
| 3598 |
\else |
| 3599 |
#1% |
| 3600 |
\fi |
| 3601 |
}% |
| 3602 |
% \end{macrocode} |
| 3603 |
% \end{macro} |
| 3604 |
% |
| 3605 |
% \subsubsection{Replacing tokens} |
| 3606 |
% \begin{macro}{\HyPsd@Subst} |
| 3607 |
% To save tokens \cs{HyPsd@StringSubst} is an wrapper for the |
| 3608 |
% command \cs{HyPsd@Subst} that does all the work: |
| 3609 |
% In string stored in command |#3| it replaces the tokens |
| 3610 |
% |#1| with |#2|.\\ |
| 3611 |
% \begin{tabular}{ll} |
| 3612 |
% |#1|& Exact the tokens that should be replaced.\\ |
| 3613 |
% |#2|& The replacement (don't need to be expanded).\\ |
| 3614 |
% |#3|& Command with the string. |
| 3615 |
% \end{tabular} |
| 3616 |
% \begin{macrocode} |
| 3617 |
\def\HyPsd@Subst#1#2#3{% |
| 3618 |
\def\HyPsd@@ReplaceFi##1#1##2\END\fi{% |
| 3619 |
\fi |
| 3620 |
##1% |
| 3621 |
\ifx\scrollmode##2\scrollmode |
| 3622 |
\else |
| 3623 |
#2% |
| 3624 |
\HyPsd@@ReplaceFi##2\END |
| 3625 |
\fi |
| 3626 |
}% |
| 3627 |
\xdef#3{% |
| 3628 |
\iftrue |
| 3629 |
\expandafter\HyPsd@@ReplaceFi#3#1\END |
| 3630 |
\fi |
| 3631 |
}% |
| 3632 |
} |
| 3633 |
% \end{macrocode} |
| 3634 |
% \end{macro} |
| 3635 |
% \begin{macro}{\HyPsd@StringSubst} |
| 3636 |
% To save tokens in \cs{pdfstringdef} \cs{HyPsd@StringSubst} is a wrapper, |
| 3637 |
% that expands argument |#1| before calling \cs{HyPsd@Subst}. |
| 3638 |
% \begin{macrocode} |
| 3639 |
\def\HyPsd@StringSubst#1{% |
| 3640 |
\expandafter\HyPsd@Subst\expandafter{\string#1}% |
| 3641 |
} |
| 3642 |
% \end{macrocode} |
| 3643 |
% \end{macro} |
| 3644 |
% |
| 3645 |
% \begin{macro}{\HyPsd@EscapeTeX} |
| 3646 |
% \begin{macrocode} |
| 3647 |
\begingroup |
| 3648 |
\lccode`\!=`\%% |
| 3649 |
\lccode`\|=`\\% |
| 3650 |
\lccode`\(=`\{% |
| 3651 |
\lccode`\)=`\}% |
| 3652 |
\lccode`0=\z@ |
| 3653 |
\lccode`1=\z@ |
| 3654 |
\lccode`3=\z@ |
| 3655 |
\lccode`4=\z@ |
| 3656 |
\lccode`5=\z@ |
| 3657 |
\lccode`7=\z@ |
| 3658 |
\lowercase{\endgroup |
| 3659 |
\def\HyPsd@EscapeTeX#1{% |
| 3660 |
\HyPsd@Subst!{|045}#1% |
| 3661 |
\HyPsd@Subst({|173}#1% |
| 3662 |
\HyPsd@Subst){|175}#1% |
| 3663 |
}% |
| 3664 |
} |
| 3665 |
% \end{macrocode} |
| 3666 |
% \end{macro} |
| 3667 |
% |
| 3668 |
% \subsubsection{Support for package \texttt{xspace}} |
| 3669 |
% \begin{macro}{\HyPsd@doxspace} |
| 3670 |
% \cs{xspace} does not work, because it uses a \cs{futurelet} |
| 3671 |
% that cannot be executed in \TeX's mouth. So this implementation |
| 3672 |
% uses an argument to examine the next token. In a previous version |
| 3673 |
% I reused \cs{@xspace}, but this version is shorter and easier |
| 3674 |
% to understand. |
| 3675 |
% \begin{macrocode} |
| 3676 |
\def\HyPsd@doxspace#1{% |
| 3677 |
\ifx#1\relax\else |
| 3678 |
\ifx#1.\else |
| 3679 |
\ifx#1:\else |
| 3680 |
\ifx#1,\else |
| 3681 |
\ifx#1;\else |
| 3682 |
\ifx#1!\else |
| 3683 |
\ifx#1?\else |
| 3684 |
\ifx#1/\else |
| 3685 |
\ifx#1-\else |
| 3686 |
\ifx#1'\else |
| 3687 |
\HyPsd@SPACEOPTI |
| 3688 |
\fi |
| 3689 |
\fi |
| 3690 |
\fi |
| 3691 |
\fi |
| 3692 |
\fi |
| 3693 |
\fi |
| 3694 |
\fi |
| 3695 |
\fi |
| 3696 |
\fi |
| 3697 |
\fi |
| 3698 |
#1% |
| 3699 |
}% |
| 3700 |
% \end{macrocode} |
| 3701 |
% \end{macro} |
| 3702 |
% |
| 3703 |
% \subsubsection{Converting to Unicode} |
| 3704 |
% Eight bit characters are converted to the sixteen bit ones, |
| 3705 |
% \cs{8} is replaced by \cs{00}, and \cs{9} is removed. |
| 3706 |
% The result should be a valid Unicode PDF string without the |
| 3707 |
% Unicode marker at the beginning. |
| 3708 |
% \begin{macrocode} |
| 3709 |
\begingroup |
| 3710 |
\catcode`\|=0 % |
| 3711 |
\catcode`\\=12 % |
| 3712 |
% \end{macrocode} |
| 3713 |
% \SpecialEscapechar{\|} |
| 3714 |
% \begin{macro}{\HyPsd@ConvertToUnicode} |
| 3715 |
% \begin{macrocode} |
| 3716 |
|gdef|HyPsd@ConvertToUnicode#1{% |
| 3717 |
|xdef#1{% |
| 3718 |
|expandafter|HyPsd@DoConvert#1|@empty|@empty|@empty |
| 3719 |
}% |
| 3720 |
|ifx#1|@empty |
| 3721 |
|else |
| 3722 |
|xdef#1{% |
| 3723 |
\376\377% |
| 3724 |
#1% |
| 3725 |
}% |
| 3726 |
|fi |
| 3727 |
}% |
| 3728 |
% \end{macrocode} |
| 3729 |
% \end{macro} |
| 3730 |
% \begin{macro}{\HyPsd@DoConvert} |
| 3731 |
% \begin{macrocode} |
| 3732 |
|gdef|HyPsd@DoConvert#1{% |
| 3733 |
|ifx#1|@empty |
| 3734 |
|else |
| 3735 |
|Hy@ReturnAfterFi{% |
| 3736 |
|ifx#1\%% |
| 3737 |
\%% |
| 3738 |
|expandafter|HyPsd@DoEscape |
| 3739 |
|else |
| 3740 |
|HyPsd@Char{#1}% |
| 3741 |
|expandafter|HyPsd@DoConvert |
| 3742 |
|fi |
| 3743 |
}% |
| 3744 |
|fi |
| 3745 |
}% |
| 3746 |
% \end{macrocode} |
| 3747 |
% \end{macro} |
| 3748 |
% \begin{macro}{\HyPsd@DoEscape} |
| 3749 |
% \begin{macrocode} |
| 3750 |
|gdef|HyPsd@DoEscape#1{% |
| 3751 |
|ifx#19% |
| 3752 |
|expandafter|HyPsd@GetTwoBytes |
| 3753 |
|else |
| 3754 |
|Hy@ReturnAfterFi{% |
| 3755 |
|ifx#18% |
| 3756 |
00% |
| 3757 |
|expandafter|HyPsd@GetTwoBytes |
| 3758 |
|else |
| 3759 |
#1% |
| 3760 |
|expandafter|HyPsd@GetOneByte |
| 3761 |
|fi |
| 3762 |
}% |
| 3763 |
|fi |
| 3764 |
}% |
| 3765 |
% \end{macrocode} |
| 3766 |
% \end{macro} |
| 3767 |
% \begin{macro}{\HyPsd@GetTwoBytes} |
| 3768 |
% \begin{macrocode} |
| 3769 |
|gdef|HyPsd@GetTwoBytes#1\#2#3#4{% |
| 3770 |
#1\#2#3#4% |
| 3771 |
|HyPsd@DoConvert |
| 3772 |
}% |
| 3773 |
% \end{macrocode} |
| 3774 |
% \end{macro} |
| 3775 |
% \begin{macro}{\HyPsd@GetOneBye} |
| 3776 |
% \begin{macrocode} |
| 3777 |
|gdef|HyPsd@GetOneByte#1#2{% |
| 3778 |
#1#2% |
| 3779 |
|HyPsd@DoConvert |
| 3780 |
}% |
| 3781 |
|endgroup |
| 3782 |
% \end{macrocode} |
| 3783 |
% \end{macro} |
| 3784 |
% \SpecialEscapechar{\\} |
| 3785 |
% \begin{macro}{\HyPsd@@GetNextTwoTokens} |
| 3786 |
% \TeX{} does only allow nine parameters, so we need another macro |
| 3787 |
% to get more arguments. |
| 3788 |
% \begin{macrocode} |
| 3789 |
\def\HyPsd@GetNextTwoTokens#1#2#3\END#4{% |
| 3790 |
\xdef#4{#4#1#2}% |
| 3791 |
\HyPsd@@ConvertToUnicode#3\END#4% |
| 3792 |
} |
| 3793 |
% \end{macrocode} |
| 3794 |
% \end{macro} |
| 3795 |
% \begin{macro}{\HyPsd@Char} |
| 3796 |
% \begin{macrocode} |
| 3797 |
\begingroup |
| 3798 |
\catcode0=9 % |
| 3799 |
\catcode`\^=7 % |
| 3800 |
\catcode`\^^^=12 % |
| 3801 |
\def\x{^^^^0000}% |
| 3802 |
\expandafter\endgroup |
| 3803 |
\ifx\x\@empty |
| 3804 |
\def\HyPsd@Char#1{% |
| 3805 |
\ifnum`#1<128 % |
| 3806 |
\@backslashchar 000#1% |
| 3807 |
\else |
| 3808 |
\ifnum`#1<65536 % |
| 3809 |
\expandafter\HyPsd@CharTwoByte\number`#1!% |
| 3810 |
\else |
| 3811 |
\expandafter\expandafter\expandafter\HyPsd@CharSurrogate |
| 3812 |
\intcalcSub{`#1}{65536}!% |
| 3813 |
\fi |
| 3814 |
\fi |
| 3815 |
}% |
| 3816 |
\def\HyPsd@CharTwoByte#1!{% |
| 3817 |
\expandafter\expandafter\expandafter\HyPsd@CharOctByte |
| 3818 |
\IntCalcDiv#1!256!!% |
| 3819 |
\expandafter\expandafter\expandafter\HyPsd@CharOctByte |
| 3820 |
\IntCalcMod#1!256!!% |
| 3821 |
}% |
| 3822 |
\def\HyPsd@CharOctByte#1!{% |
| 3823 |
\@backslashchar |
| 3824 |
\IntCalcDiv#1!64!% |
| 3825 |
\intcalcDiv{\IntCalcMod#1!64!}{8}% |
| 3826 |
\IntCalcMod#1!8!% |
| 3827 |
}% |
| 3828 |
\def\HyPsd@CharSurrogate#1!{% |
| 3829 |
\@backslashchar 33% |
| 3830 |
\IntCalcDiv#1!262144!% |
| 3831 |
\expandafter\expandafter\expandafter\HyPsd@CharOctByte |
| 3832 |
\intcalcDiv{\IntCalcMod#1!262144!}{1024}!% |
| 3833 |
\@backslashchar 33% |
| 3834 |
\expandafter\expandafter\expandafter\IntCalcAdd |
| 3835 |
\intcalcDiv{\IntCalcMod#1!1024!}{256}!4!% |
| 3836 |
\expandafter\expandafter\expandafter\HyPsd@CharOctByte |
| 3837 |
\IntCalcMod#1!256!!% |
| 3838 |
}% |
| 3839 |
\else |
| 3840 |
\def\HyPsd@Char#1{% |
| 3841 |
\@backslashchar 000#1% |
| 3842 |
}% |
| 3843 |
\fi |
| 3844 |
% \end{macrocode} |
| 3845 |
% change 2022-02-21 |
| 3846 |
% For the case that utf8 chars are protected we need to expand them. |
| 3847 |
% This works only is |\UTFviii@loop| is not defined in a group, which will be the |
| 3848 |
% case in the new latex code, so we test for it. |
| 3849 |
% \begin{macrocode} |
| 3850 |
\ifcsname UTFviii@loop\endcsname |
| 3851 |
\def\HyPsd@expand@utfviii {% |
| 3852 |
\count@"C2 |
| 3853 |
\@tempcnta"F5 |
| 3854 |
\def\UTFviii@tmp{\expandafter\def\expandafter~\expandafter{~}}% |
| 3855 |
\UTFviii@loop |
| 3856 |
} |
| 3857 |
\else |
| 3858 |
\def\HyPsd@expand@utfviii {} |
| 3859 |
\fi |
| 3860 |
% \end{macrocode} |
| 3861 |
% \end{macro} |
| 3862 |
% |
| 3863 |
% \subsubsection{Support for UTF-8 input encoding} |
| 3864 |
% |
| 3865 |
% After |\usepackage[utf8]{inputenc}| there are macros that |
| 3866 |
% expect the UTF-8 octets as arguments. Therefore we can |
| 3867 |
% calculate the PDF octal sequences directly. Because the |
| 3868 |
% PDF format is limited to UCS-2, conversion macros are |
| 3869 |
% needed for UTF-8 sequences with two and three octets only. |
| 3870 |
% |
| 3871 |
% This calculation must be done in an expandable context, |
| 3872 |
% so we use e\TeX here for performance reasons. Unhappily |
| 3873 |
% the results of divisions are rounded. Thus a |
| 3874 |
% circumvention via |\dimexpr| is used, e.g.: |
| 3875 |
% \begin{quote} |
| 3876 |
% |\numexpr 123/4\relax| is replaced by\\ |
| 3877 |
% |\number\dimexpr.25\dimexpr 123sp\relax\relax| |
| 3878 |
% \end{quote} |
| 3879 |
% \begin{macrocode} |
| 3880 |
\begingroup |
| 3881 |
\lccode`\~=`^^f4\relax |
| 3882 |
\lowercase{\endgroup |
| 3883 |
\def\HyPsd@UTFviii{% |
| 3884 |
\HyPsd@expand@utfviii |
| 3885 |
\let\UTFviii@two@octets\HyPsd@UTFviii@two |
| 3886 |
\let\UTFviii@three@octets\HyPsd@UTFviii@three |
| 3887 |
\let\UTFviii@four@octets\HyPsd@UTFviii@four |
| 3888 |
\ifx~\HyPsd@UTFviii@ccxliv@undef |
| 3889 |
\let~\HyPsd@UTFviii@ccxliv@def |
| 3890 |
\fi |
| 3891 |
\let\unichar\HyPsd@unichar |
| 3892 |
}% |
| 3893 |
}% |
| 3894 |
\def\HyPsd@UTFviii@ccxliv@undef{\@inpenc@undefined@{utf8}}% |
| 3895 |
\edef\HyPsd@UTFviii@ccxliv@def{% |
| 3896 |
\noexpand\UTFviii@four@octets\string ^^f4% |
| 3897 |
}% |
| 3898 |
% \end{macrocode} |
| 3899 |
% |
| 3900 |
% The two octet form of UTF-8 |110aaabb| (A) and |10cccddd| (B) |
| 3901 |
% must be converted into octal numbers |00a| and |bcd|. The |
| 3902 |
% result is |\8a\bcd| (with a, b, c, d as octal numbers). |
| 3903 |
% The conversion equations. |
| 3904 |
% \begin{eqnarray} |
| 3905 |
% a &:= A/4 - 48\\ |
| 3906 |
% b &:= A - 4*(A/4)\\ |
| 3907 |
% c &:= B/8 - 8*((8*(B/8))/8)\\ |
| 3908 |
% d &:= B - 8*(B/8)\\ |
| 3909 |
% \end{eqnarray} |
| 3910 |
% ^^A #1 = A/4 #2 = A |
| 3911 |
% ^^A #3 = B/8 #4 = B |
| 3912 |
% \begin{macrocode} |
| 3913 |
\def\HyPsd@UTFviii@two#1#2{% |
| 3914 |
\expandafter\HyPsd@UTFviii@@two |
| 3915 |
\number\dimexpr.25\dimexpr`#1sp\expandafter\relax\expandafter|% |
| 3916 |
\number`#1\expandafter|% |
| 3917 |
\number\dimexpr.125\dimexpr`#2sp\expandafter\relax\expandafter|% |
| 3918 |
\number`#2 \@nil |
| 3919 |
}% |
| 3920 |
\def\HyPsd@UTFviii@@two#1|#2|#3|#4\@nil{% |
| 3921 |
\expandafter\8% |
| 3922 |
\number\numexpr #1-48\expandafter\relax |
| 3923 |
\csname\number\numexpr #2-4*#1\relax\expandafter\endcsname |
| 3924 |
\number\numexpr #3-8*% |
| 3925 |
\number\dimexpr.125\dimexpr#3sp\relax\relax\expandafter\relax |
| 3926 |
\number\numexpr #4-8*#3\relax |
| 3927 |
}% |
| 3928 |
% \end{macrocode} |
| 3929 |
% |
| 3930 |
% Three octet form: |1110aabb| (A), |10bcccdd| (B), and |10eeefff| |
| 3931 |
% (C). The result is |\9abc\def| (with a, \dots, f as octal numbers). |
| 3932 |
% The conversion equations: |
| 3933 |
% \begin{eqnarray} |
| 3934 |
% a &:= A/4 - 56\\ |
| 3935 |
% b &:= 2*(A - 4*(A/4)) + ((B-128 < 32) ? 0 : 1)\\ |
| 3936 |
% c &:= B/4 - 32 - ((B-128 < 32) ? 0 : 8)\\ |
| 3937 |
% d &:= B - 4*(B/4)\\ |
| 3938 |
% e &:= C/8 - 16\\ |
| 3939 |
% f &:= C - 8*(C/8)\\ |
| 3940 |
% \end{eqnarray} |
| 3941 |
% ^^A #1 = A/4 #2 = A |
| 3942 |
% ^^A #3 = (B-128 < 32) ? 0 : 1 |
| 3943 |
% ^^A #4 = B/4 #5 = B |
| 3944 |
% ^^A #6 = C/8 #7 = C |
| 3945 |
% \begin{macrocode} |
| 3946 |
\def\HyPsd@UTFviii@three#1#2#3{% |
| 3947 |
\expandafter\HyPsd@UTFviii@@three |
| 3948 |
\number\dimexpr.25\dimexpr`#1sp\expandafter\relax\expandafter|% |
| 3949 |
\number`#1\expandafter|% |
| 3950 |
\number\ifnum\numexpr`#2-128\relax <32 0\else 1\fi\expandafter|% |
| 3951 |
\number\dimexpr.25\dimexpr`#2sp\expandafter\relax\expandafter|% |
| 3952 |
\number`#2\expandafter|% |
| 3953 |
\number\dimexpr.125\dimexpr`#3sp\expandafter\relax\expandafter|% |
| 3954 |
\number`#3 \@nil |
| 3955 |
}% |
| 3956 |
\def\HyPsd@UTFviii@@three#1|#2|#3|#4|#5|#6|#7\@nil{% |
| 3957 |
\expandafter\9% |
| 3958 |
\number\numexpr #1-56\expandafter\relax |
| 3959 |
\number\numexpr 2*(#2-4*#1)+#3\expandafter\relax |
| 3960 |
\number\numexpr #4 - 32 -\ifcase#3 0\else 8\fi\expandafter\relax |
| 3961 |
\csname\number\numexpr #5-4*#4\relax\expandafter\endcsname |
| 3962 |
\number\numexpr #6-16\expandafter\relax |
| 3963 |
\number\numexpr #7-8*#6\relax |
| 3964 |
}% |
| 3965 |
% \end{macrocode} |
| 3966 |
% |
| 3967 |
% Surrogates: 4 octets in UTF-8, a surrogate pair in UTF-16. |
| 3968 |
% High surrogate range: U+D800--U+DBFF, low surrogate range: |
| 3969 |
% U+DC00-U+DFFF. |
| 3970 |
% |
| 3971 |
%\begin{quote} |
| 3972 |
%\begin{verbatim} |
| 3973 |
%UTF-8: 11110uuu 10uuzzzz 10yyyyyy 10xxxxxx |
| 3974 |
%wwww = uuuuu - 1 |
| 3975 |
%UTF-16: 110110ww wwzzzzyy 110111yy yyxxxxxx |
| 3976 |
%octal: 011 011 0ww 0ww zzz zyy 011 011 1yy 0yy xxx xxx |
| 3977 |
%\end{verbatim} |
| 3978 |
%\end{quote} |
| 3979 |
% \begin{macrocode} |
| 3980 |
\def\HyPsd@UTFviii@four#1#2{% |
| 3981 |
\expandafter\HyPsd@@UTFviii@four\number |
| 3982 |
\numexpr-1+(`#1-240)*4+\dimexpr.0625\dimexpr`#2sp-128sp% |
| 3983 |
\expandafter|\number |
| 3984 |
\numexpr`#2-16*\dimexpr.0625\dimexpr`#2sp|% |
| 3985 |
}% |
| 3986 |
\def\HyPsd@@UTFviii@four#1|#2|#3{% |
| 3987 |
\933\number\dimexpr.25\dimexpr#1sp\relax\relax |
| 3988 |
\csname\number\numexpr#1-4*\dimexpr.25\dimexpr#1sp\endcsname |
| 3989 |
\ifodd#2 % |
| 3990 |
\number\numexpr(#2-1)/2\relax |
| 3991 |
\else |
| 3992 |
\number\numexpr#2/2\relax |
| 3993 |
\fi |
| 3994 |
\number\numexpr\ifodd#2 4+\fi |
| 3995 |
\dimexpr.0625\dimexpr`#3sp-128sp\relax\relax\relax |
| 3996 |
\933% |
| 3997 |
\expandafter\HyPsd@@@UTFviii@four\number |
| 3998 |
\numexpr`#3-16*\dimexpr.0625\dimexpr`#3sp|% |
| 3999 |
}% |
| 4000 |
\def\HyPsd@@@UTFviii@four#1|#2{% |
| 4001 |
\number\numexpr4+\dimexpr.25\dimexpr#1sp\relax\relax\relax |
| 4002 |
\csname\number\numexpr#1-4*\dimexpr.25\dimexpr#1sp\endcsname |
| 4003 |
\number\dimexpr.125\dimexpr`#2sp-128sp\relax\relax |
| 4004 |
\number\numexpr`#2-8*\dimexpr.125\dimexpr`#2sp\relax\relax\relax |
| 4005 |
}% |
| 4006 |
% \end{macrocode} |
| 4007 |
% |
| 4008 |
% Input encoding |utf8x| of package |ucs| uses macro \cmd{\unichar}. |
| 4009 |
% Values greater than |"FFFF| are not supported. |
| 4010 |
% \begin{macrocode} |
| 4011 |
\def\HyPsd@unichar#1{% |
| 4012 |
\ifHy@unicode |
| 4013 |
\ifnum#1>"10FFFF % |
| 4014 |
\HyPsd@UnicodeReplacementCharacter % illegal |
| 4015 |
\else |
| 4016 |
\ifnum#1>"FFFF % |
| 4017 |
% \end{macrocode} |
| 4018 |
% High-surrogate code point. |
| 4019 |
% (|"D800| = |55296|, |\p@| = |1pt| = |65536sp|) |
| 4020 |
% \begin{macrocode} |
| 4021 |
\expandafter\HyPsd@unichar\expandafter{% |
| 4022 |
\number\numexpr 55296+% |
| 4023 |
\dimexpr.0009765625\dimexpr\number#1sp-\p@ |
| 4024 |
\relax\relax\relax |
| 4025 |
}% |
| 4026 |
% \end{macrocode} |
| 4027 |
% Low-surrogate code point. |
| 4028 |
% (|"DC00| = 56320, |"DC00| - |65536| = |-9216|) |
| 4029 |
% \begin{macrocode} |
| 4030 |
\expandafter\HyPsd@unichar\expandafter{% |
| 4031 |
\number\numexpr#1-9216% |
| 4032 |
-1024*\dimexpr.0009765625\dimexpr\number#1sp-\p@ |
| 4033 |
\relax\relax\relax |
| 4034 |
}% |
| 4035 |
\else |
| 4036 |
\ifnum#1>"7FF % |
| 4037 |
\9% |
| 4038 |
\expandafter\HyPsd@unichar@first@byte\expandafter{% |
| 4039 |
\number |
| 4040 |
\dimexpr.00390625\dimexpr\number#1sp\relax\relax |
| 4041 |
}% |
| 4042 |
\else |
| 4043 |
\8% |
| 4044 |
\number\dimexpr.00390625\dimexpr\number#1sp\relax\relax |
| 4045 |
\fi |
| 4046 |
\expandafter\HyPsd@unichar@second@byte\expandafter{% |
| 4047 |
\number |
| 4048 |
\numexpr#1-256*\number |
| 4049 |
\dimexpr.00390625\dimexpr\number#1sp\relax\relax\relax |
| 4050 |
}% |
| 4051 |
\fi |
| 4052 |
\fi |
| 4053 |
\else |
| 4054 |
.% unsupported (Unicode -> PDF Doc Encoding) |
| 4055 |
\fi |
| 4056 |
}% |
| 4057 |
\def\HyPsd@UnicodeReplacementCharacter{\9377\375}% |
| 4058 |
\def\HyPsd@unichar@first@byte#1{% |
| 4059 |
\number\dimexpr.015625\dimexpr#1sp\relax\relax |
| 4060 |
\expandafter\HyPsd@unichar@octtwo\expandafter{% |
| 4061 |
\number |
| 4062 |
\numexpr#1-64*\number\dimexpr.015625\dimexpr#1sp% |
| 4063 |
\relax\relax\relax |
| 4064 |
}% |
| 4065 |
}% |
| 4066 |
\def\HyPsd@unichar@second@byte#1{% |
| 4067 |
\csname\number\dimexpr.015625\dimexpr#1sp\relax\relax\endcsname |
| 4068 |
\expandafter\HyPsd@unichar@octtwo\expandafter{% |
| 4069 |
\number |
| 4070 |
\numexpr#1-64*\number\dimexpr.015625\dimexpr#1sp% |
| 4071 |
\relax\relax\relax |
| 4072 |
}% |
| 4073 |
}% |
| 4074 |
\def\HyPsd@unichar@octtwo#1{% |
| 4075 |
\number\dimexpr.125\dimexpr#1sp\relax\relax |
| 4076 |
\number\numexpr#1-8*\number\dimexpr.125\dimexpr#1sp% |
| 4077 |
\relax\relax\relax |
| 4078 |
}% |
| 4079 |
% \end{macrocode} |
| 4080 |
% |
| 4081 |
% \begin{macro}{\HyPsd@utf@viii@undeferr} |
| 4082 |
% \cs{utf@viii@undeferr} comes from file |utf8x.def| from |
| 4083 |
% package |ucs|. |
| 4084 |
% \begin{macrocode} |
| 4085 |
\def\HyPsd@utf@viii@undeferr#1#2#3#4#5#6{% |
| 4086 |
\ifx\@gobble#1% |
| 4087 |
\else |
| 4088 |
[Please insert \textbackslash PrerenderUnicode% |
| 4089 |
\textbraceleft#1\textbraceright\space |
| 4090 |
into preamble]% |
| 4091 |
\fi |
| 4092 |
}% |
| 4093 |
% \end{macrocode} |
| 4094 |
% \end{macro} |
| 4095 |
% |
| 4096 |
% \subsubsection{Support for die faces (ifsym et. al.)} |
| 4097 |
% |
| 4098 |
% \begin{macro}{\HyPsd@DieFace} |
| 4099 |
% Die faces are provided by |
| 4100 |
% \begin{quote} |
| 4101 |
% \begin{tabular}{@{}ll@{}} |
| 4102 |
% Package & Macro\\ |
| 4103 |
% \hline |
| 4104 |
% ifsym & \cs{Cube}\\ |
| 4105 |
% epsdice & \cs{epsdice}\\ |
| 4106 |
% hhcount & \cs{fcdice} |
| 4107 |
% \end{tabular} |
| 4108 |
% \end{quote} |
| 4109 |
% \cs{Cube} and \cs{epsdice} restrict the range to the |
| 4110 |
% numbers one to six. \cs{fcdice} generates for larger numbers |
| 4111 |
% several dice faces with the sum matching the number. |
| 4112 |
% The implementation for the PDF strings follows \cs{fcdice}. |
| 4113 |
% \begin{macrocode} |
| 4114 |
\def\HyPsd@DieFace#1{% |
| 4115 |
\ifHy@unicode |
| 4116 |
\ifnum#1<1 % |
| 4117 |
\HyPsd@UnicodeReplacementCharacter |
| 4118 |
\else |
| 4119 |
\ifnum#1>6 % |
| 4120 |
\9046\205% |
| 4121 |
\expandafter\expandafter\expandafter |
| 4122 |
\HyPsd@DieFaceLarge\intcalcSub{#1}{6}!% |
| 4123 |
\else |
| 4124 |
\9046\20\intcalcDec{#1}% |
| 4125 |
\fi |
| 4126 |
\fi |
| 4127 |
\else |
| 4128 |
.% Die faces are not part of PDFDocEncoding |
| 4129 |
\fi |
| 4130 |
} |
| 4131 |
% \end{macrocode} |
| 4132 |
% \end{macro} |
| 4133 |
% \begin{macro}{\HyPsd@DieFaceLarge} |
| 4134 |
% \begin{macrocode} |
| 4135 |
\def\HyPsd@DieFaceLarge#1!{% |
| 4136 |
\ifnum#1>6 % |
| 4137 |
\expandafter\@firstoftwo |
| 4138 |
\else |
| 4139 |
\expandafter\@secondoftwo |
| 4140 |
\fi |
| 4141 |
{% |
| 4142 |
\9046\205% |
| 4143 |
\expandafter\expandafter\expandafter |
| 4144 |
\HyPsd@DieFaceLarge\IntCalcSub#1!6!!% |
| 4145 |
}{% |
| 4146 |
\9046\20\IntCalcDec#1!% |
| 4147 |
}% |
| 4148 |
} |
| 4149 |
% \end{macrocode} |
| 4150 |
% \end{macro} |
| 4151 |
% |
| 4152 |
% \subsubsection{Support for moon phases of package china2e} |
| 4153 |
% |
| 4154 |
% \begin{macrocode} |
| 4155 |
\def\HyPsd@MoonPha#1{% |
| 4156 |
\ifcase\intcalcNum{#1} % |
| 4157 |
\HyPsd@UnicodeReplacementCharacter |
| 4158 |
\or % 1 |
| 4159 |
% U+1F31A NEW MOON WITH FACE; \MoonPha{1} (china2e) |
| 4160 |
\9330\074\9337\032% |
| 4161 |
\or % 2 |
| 4162 |
\HyPsd@UnicodeReplacementCharacter |
| 4163 |
\or % 3 |
| 4164 |
% U+1F31D FULL MOON WITH FACE; \MoonPha{3} (china2e) |
| 4165 |
\9330\074\9337\035% |
| 4166 |
\or % 4 |
| 4167 |
% U+1F31C LAST QUARTER MOON WITH FACE; \MoonPha{4} (china2e) |
| 4168 |
\9330\074\9337\034% |
| 4169 |
\else |
| 4170 |
\HyPsd@UnicodeReplacementCharacter |
| 4171 |
\fi |
| 4172 |
} |
| 4173 |
%* \HyPsd@MoonPha -> \MoonPha |
| 4174 |
% \end{macrocode} |
| 4175 |
% |
| 4176 |
% \subsubsection{Support for package pifont} |
| 4177 |
% |
| 4178 |
% \begin{macro}{\HyPsd@ding} |
| 4179 |
% \begin{macrocode} |
| 4180 |
\def\HyPsd@ding#1{% |
| 4181 |
\ifHy@unicode |
| 4182 |
\ifnum#1<32 % |
| 4183 |
\HyPsd@UnicodeReplacementCharacter |
| 4184 |
\else |
| 4185 |
\ifnum#1>254 % |
| 4186 |
\HyPsd@UnicodeReplacementCharacter |
| 4187 |
\else |
| 4188 |
\ifnum#1<127 % |
| 4189 |
\expandafter\expandafter\expandafter |
| 4190 |
\HyPsd@@ding\intcalcNum{#1}!% |
| 4191 |
\else |
| 4192 |
\ifnum#1>160 % |
| 4193 |
\expandafter\expandafter\expandafter |
| 4194 |
\HyPsd@@ding\intcalcNum{#1}!% |
| 4195 |
\else |
| 4196 |
\HyPsd@UnicodeReplacementCharacter |
| 4197 |
\fi |
| 4198 |
\fi |
| 4199 |
\fi |
| 4200 |
\fi |
| 4201 |
\else |
| 4202 |
.% Dingbats are not part of PDFDocEncoding |
| 4203 |
\fi |
| 4204 |
} |
| 4205 |
% \end{macrocode} |
| 4206 |
% \end{macro} |
| 4207 |
% \begin{macro}{\HyPsd@@ding} |
| 4208 |
% \begin{macrocode} |
| 4209 |
\def\HyPsd@@ding#1!{% |
| 4210 |
\@ifundefined{HyPsd@ding@#1}{% |
| 4211 |
\ifnum#1<127 % |
| 4212 |
\9047% |
| 4213 |
\HyPsd@DecimalToOctalSecond{\IntCalcSub#1!32!}% |
| 4214 |
\else |
| 4215 |
\ifnum#1<168 % |
| 4216 |
\9047\14\IntCalcSub#1!160!% |
| 4217 |
\else |
| 4218 |
\ifnum#1>181 % |
| 4219 |
\9047\HyPsd@DecimalToOctalSecond{\IntCalcSub#1!64!}% |
| 4220 |
\else |
| 4221 |
% 172..181 -> U+2460..U+2469 |
| 4222 |
\9044\HyPsd@DecimalToOctalSecond{\IntCalcSub#1!76!}% |
| 4223 |
\fi |
| 4224 |
\fi |
| 4225 |
\fi |
| 4226 |
}{% |
| 4227 |
\csname HyPsd@ding@#1\endcsname |
| 4228 |
}% |
| 4229 |
} |
| 4230 |
% \end{macrocode} |
| 4231 |
% \end{macro} |
| 4232 |
% \begin{macrocode} |
| 4233 |
\@namedef{HyPsd@ding@32}{\space} |
| 4234 |
% U+260E BLACK TELEPHONE |
| 4235 |
\@namedef{HyPsd@ding@37}{\9046\016}% U+260E |
| 4236 |
% U+261B BLACK RIGHT POINTING INDEX |
| 4237 |
\@namedef{HyPsd@ding@42}{\9046\033}% U+261B |
| 4238 |
% U+261E WHITE RIGHT POINTING INDEX |
| 4239 |
\@namedef{HyPsd@ding@43}{\9046\036}% U+261E |
| 4240 |
% U+2605 BLACK STAR |
| 4241 |
\@namedef{HyPsd@ding@72}{\9046\005}% U+2605 |
| 4242 |
% U+25CF BLACK CIRCLE |
| 4243 |
\@namedef{HyPsd@ding@108}{\9045\317}% U+25CF |
| 4244 |
% U+25A0 BLACK SQUARE |
| 4245 |
\@namedef{HyPsd@ding@110}{\9045\240}% U+25A0 |
| 4246 |
% U+25B2 BLACK UP-POINTING TRIANGLE |
| 4247 |
\@namedef{HyPsd@ding@115}{\9045\262}% U+25B2 |
| 4248 |
% U+25BC BLACK DOWN-POINTING TRIANGLE |
| 4249 |
\@namedef{HyPsd@ding@116}{\9045\274}% U+25BC |
| 4250 |
% U+25C6 BLACK DIAMOND |
| 4251 |
\@namedef{HyPsd@ding@117}{\9045\306}% U+25C6 |
| 4252 |
% U+25D7 RIGHT HALF BLACK CIRCLE |
| 4253 |
\@namedef{HyPsd@ding@119}{\9045\327}% U+25D7 |
| 4254 |
\@namedef{HyPsd@ding@168}{\textclubsuitblack}% |
| 4255 |
\@namedef{HyPsd@ding@169}{\textdiamondsuitblack}% |
| 4256 |
\@namedef{HyPsd@ding@170}{\textheartsuitblack}% |
| 4257 |
\@namedef{HyPsd@ding@171}{\textspadesuitblack}% |
| 4258 |
\@namedef{HyPsd@ding@213}{\textrightarrow}% |
| 4259 |
\@namedef{HyPsd@ding@214}{\textleftrightarrow}% |
| 4260 |
\@namedef{HyPsd@ding@215}{\textupdownarrow}% |
| 4261 |
\@namedef{HyPsd@ding@240}{\HyPsd@UnicodeReplacementCharacter} |
| 4262 |
% \end{macrocode} |
| 4263 |
% |
| 4264 |
% \section{Support of other packages} |
| 4265 |
% |
| 4266 |
% |
| 4267 |
% \subsection{Package subfigure} |
| 4268 |
% Added fix for version 2.1. Here \cmd{\sub@label} is defined. |
| 4269 |
% \begin{macrocode} |
| 4270 |
\@ifpackageloaded{subfigure}{% |
| 4271 |
\@ifundefined{sub@label}{% |
| 4272 |
\Hy@hypertexnamesfalse |
| 4273 |
}{% |
| 4274 |
\renewcommand*{\sub@label}[1]{% |
| 4275 |
\@bsphack |
| 4276 |
\subfig@oldlabel{#1}% |
| 4277 |
\if@filesw |
| 4278 |
\begingroup |
| 4279 |
\edef\@currentlabstr{% |
| 4280 |
\expandafter\strip@prefix\meaning\@currentlabelname |
| 4281 |
}% |
| 4282 |
\protected@write\@auxout{}{% |
| 4283 |
\string\newlabel{sub@#1}{% |
| 4284 |
{\@nameuse{@@thesub\@captype}}% |
| 4285 |
{\thepage}% |
| 4286 |
{% |
| 4287 |
\expandafter\strip@period\@currentlabstr |
| 4288 |
\relax.\relax\@@@% |
| 4289 |
}% |
| 4290 |
{\@currentHref}% |
| 4291 |
{}% |
| 4292 |
}% |
| 4293 |
}% |
| 4294 |
\endgroup |
| 4295 |
\fi |
| 4296 |
\@esphack |
| 4297 |
}% |
| 4298 |
}% |
| 4299 |
}{} |
| 4300 |
% \end{macrocode} |
| 4301 |
% |
| 4302 |
% \subsection{Package xr and xr-hyper} |
| 4303 |
% |
| 4304 |
% The beta version of xr that supports \cmd{\XR@addURL} is called |
| 4305 |
% \verb|xr-hyper|. |
| 4306 |
% If reading external aux files check whether they have a non zero |
| 4307 |
% fourth field in |\newlabel| and if so, add the URL as the fifth field. |
| 4308 |
% Change 2023-05-14: xr-hyper adds the field. |
| 4309 |
% |
| 4310 |
% |
| 4311 |
% \begin{macrocode} |
| 4312 |
\def\Hy@true{true} |
| 4313 |
\def\Hy@false{false} |
| 4314 |
% \end{macrocode} |
| 4315 |
% |
| 4316 |
% Providing dummy definitions. |
| 4317 |
% \begin{macrocode} |
| 4318 |
\let\literalps@out\@gobble |
| 4319 |
\newcommand\pdfbookmark[3][]{} |
| 4320 |
\def\Acrobatmenu#1#2{\leavevmode#2} |
| 4321 |
\def\Hy@writebookmark#1#2#3#4#5{}% |
| 4322 |
% \end{macrocode} |
| 4323 |
% |
| 4324 |
% \section{Help macros for links} |
| 4325 |
% Anchors get created on the baseline of where they occur. If an |
| 4326 |
% XYZ PDF view is set, this means that the link places the top of the |
| 4327 |
% screen \emph{on the baseline} of the target. If this is an equation, |
| 4328 |
% for instance, it means that you cannot see anything. Some links, of |
| 4329 |
% course, are created at the start of environments, and so it works. To |
| 4330 |
% allow for this, anchors are raised, where possible, by some small |
| 4331 |
% amount. This defaults to |\baselineskip|, but users can set it to |
| 4332 |
% something else in two ways (thanks to Heiko Oberdiek for suggesting this): |
| 4333 |
% \begin{enumerate} |
| 4334 |
% \item Redefine |\HyperRaiseLinkDefault| to be eg the height of a |\strut| |
| 4335 |
% \item Redefine |\HyperRaiseLinkHook| to do something complicated; |
| 4336 |
% it must give a value to |\HyperRaiseLinkLength|, which is what |
| 4337 |
% actually gets used |
| 4338 |
% \end{enumerate} |
| 4339 |
% \begin{macrocode} |
| 4340 |
\let\HyperRaiseLinkHook\@empty |
| 4341 |
\def\HyperRaiseLinkDefault{\baselineskip} |
| 4342 |
% \end{macrocode} |
| 4343 |
% |\HyperRaiseLinkHook| allows the user to reassign |
| 4344 |
% |\HyperRaiseLinkLength|. |
| 4345 |
% \begin{macrocode} |
| 4346 |
\newcount\Hy@SavedSpaceFactor |
| 4347 |
\def\Hy@SaveSpaceFactor{% |
| 4348 |
\global\Hy@SavedSpaceFactor=\ifhmode\spacefactor\else\z@\fi |
| 4349 |
} |
| 4350 |
\def\Hy@RestoreSpaceFactor{% |
| 4351 |
\relax |
| 4352 |
\ifhmode |
| 4353 |
\ifnum\Hy@SavedSpaceFactor>\z@ |
| 4354 |
\spacefactor=\Hy@SavedSpaceFactor |
| 4355 |
\fi |
| 4356 |
\fi |
| 4357 |
} |
| 4358 |
\def\Hy@SaveSavedSpaceFactor{% |
| 4359 |
\edef\Hy@RestoreSavedSpaceFactor{% |
| 4360 |
\global\Hy@SavedSpaceFactor=\the\Hy@SavedSpaceFactor\relax |
| 4361 |
}% |
| 4362 |
} |
| 4363 |
% \end{macrocode} |
| 4364 |
% Packages like varwidth need an option to change the handling in vmode. |
| 4365 |
% (Issue \#204). With a new format we therefore insert a socket. |
| 4366 |
% \begin{macrocode} |
| 4367 |
\NewSocket{hyp/raisedlink}{1} |
| 4368 |
\def\Hy@raisedlink#1{% |
| 4369 |
\ifvmode |
| 4370 |
\UseSocket{hyp/raisedlink}{#1}% |
| 4371 |
\else |
| 4372 |
\Hy@SaveSpaceFactor |
| 4373 |
\penalty\@M |
| 4374 |
\smash{% |
| 4375 |
\begingroup |
| 4376 |
\let\HyperRaiseLinkLength\@tempdima |
| 4377 |
\setlength\HyperRaiseLinkLength\HyperRaiseLinkDefault |
| 4378 |
\HyperRaiseLinkHook |
| 4379 |
\expandafter\endgroup |
| 4380 |
\expandafter\raise\the\HyperRaiseLinkLength\hbox{% |
| 4381 |
\Hy@RestoreSpaceFactor |
| 4382 |
#1% |
| 4383 |
\Hy@SaveSpaceFactor |
| 4384 |
}% |
| 4385 |
}% |
| 4386 |
\Hy@RestoreSpaceFactor |
| 4387 |
\fi |
| 4388 |
} |
| 4389 |
% \end{macrocode} |
| 4390 |
% |
| 4391 |
% \begin{macro}{\Hy@SaveLastskip} |
| 4392 |
% \begin{macro}{\Hy@RestoreLastskip} |
| 4393 |
% Inserting a \cmd{\special} command to set a |
| 4394 |
% destination destroys the \cmd{\lastskip} value. |
| 4395 |
% |
| 4396 |
% \begin{macrocode} |
| 4397 |
\def\Hy@SaveLastskip{% |
| 4398 |
\let\Hy@RestoreLastskip\relax |
| 4399 |
\ifvmode |
| 4400 |
\ifdim\lastskip=\z@ |
| 4401 |
\ifnum\lastnodetype=1 % |
| 4402 |
\let\Hy@RestoreLastskip\relax |
| 4403 |
\else |
| 4404 |
\let\Hy@RestoreLastskip\nobreak |
| 4405 |
\fi |
| 4406 |
\else |
| 4407 |
\begingroup |
| 4408 |
\skip@=-\lastskip |
| 4409 |
\edef\x{% |
| 4410 |
\endgroup |
| 4411 |
\def\noexpand\Hy@RestoreLastskip{% |
| 4412 |
\noexpand\ifvmode |
| 4413 |
\noexpand\nobreak |
| 4414 |
\vskip\the\skip@ |
| 4415 |
\vskip\the\lastskip\relax |
| 4416 |
\noexpand\fi |
| 4417 |
}% |
| 4418 |
}% |
| 4419 |
\x |
| 4420 |
\fi |
| 4421 |
\else |
| 4422 |
\ifhmode |
| 4423 |
\ifdim\lastskip=\z@ |
| 4424 |
\let\Hy@RestoreLastskip\nobreak |
| 4425 |
\else |
| 4426 |
\begingroup |
| 4427 |
\skip@=-\lastskip |
| 4428 |
\edef\x{% |
| 4429 |
\endgroup |
| 4430 |
\def\noexpand\Hy@RestoreLastskip{% |
| 4431 |
\noexpand\ifhmode |
| 4432 |
\noexpand\nobreak |
| 4433 |
\hskip\the\skip@ |
| 4434 |
\hskip\the\lastskip\relax |
| 4435 |
\noexpand\fi |
| 4436 |
}% |
| 4437 |
}% |
| 4438 |
\x |
| 4439 |
\fi |
| 4440 |
\fi |
| 4441 |
\fi |
| 4442 |
}% |
| 4443 |
% \end{macrocode} |
| 4444 |
% \end{macro} |
| 4445 |
% \end{macro} |
| 4446 |
% |
| 4447 |
% \section{Options} |
| 4448 |
% |
| 4449 |
% \begin{macrocode} |
| 4450 |
\SetupKeyvalOptions{% |
| 4451 |
family=Hyp,% |
| 4452 |
prefix=HyOpt% |
| 4453 |
} |
| 4454 |
% \end{macrocode} |
| 4455 |
% |
| 4456 |
% \subsection{Help macros} |
| 4457 |
% Package like hyperxmp want to retrieve the value of keys like |pdfauthor|. |
| 4458 |
% To avoid that we have two parallel interfaces we provide the interface from |
| 4459 |
% the pdfmanagement/ltdocinit if it doesn't exist. |
| 4460 |
% |
| 4461 |
% \begin{macro}{\AddToDocumentProperties} |
| 4462 |
% \begin{macro}{\GetDocumentProperties} |
| 4463 |
% \begin{macrocode} |
| 4464 |
\ExplSyntaxOn |
| 4465 |
\@ifundefined{AddToDocumentProperties} |
| 4466 |
{ |
| 4467 |
\prop_new:N \g__hyp_documentproperties_prop |
| 4468 |
\NewDocumentCommand\AddToDocumentProperties{O{\@currname}mm} |
| 4469 |
{ |
| 4470 |
\exp_args:NNx |
| 4471 |
\prop_gput:Nnn \g__hyp_documentproperties_prop |
| 4472 |
{ |
| 4473 |
\tl_if_blank:eTF {#1}{top-level/}{#1/} #2 |
| 4474 |
} |
| 4475 |
{ #3} |
| 4476 |
} |
| 4477 |
\NewExpandableDocumentCommand\GetDocumentProperties{m} |
| 4478 |
{ |
| 4479 |
\prop_item:Nn \g__hyp_documentproperties_prop {#1} |
| 4480 |
} |
| 4481 |
}{} |
| 4482 |
\ExplSyntaxOff |
| 4483 |
% \end{macrocode} |
| 4484 |
% \end{macro} |
| 4485 |
% \end{macro} |
| 4486 |
% \begin{macro}{\IfHyperBooleanExists} |
| 4487 |
% \begin{macrocode} |
| 4488 |
\def\IfHyperBooleanExists#1{% |
| 4489 |
\@ifundefined{Hy@#1false}\@secondoftwo{% |
| 4490 |
\@ifundefined{KV@Hyp@#1@default}\@secondoftwo\@firstoftwo |
| 4491 |
}% |
| 4492 |
} |
| 4493 |
% \end{macrocode} |
| 4494 |
% \end{macro} |
| 4495 |
% \begin{macrocode} |
| 4496 |
\@namedef{KV@Hyp@stoppedearly@default}{} |
| 4497 |
% \end{macrocode} |
| 4498 |
% |
| 4499 |
% \begin{macro}{\IfHyperBoolean} |
| 4500 |
% \begin{macrocode} |
| 4501 |
\def\IfHyperBoolean#1{% |
| 4502 |
\IfHyperBooleanExists{#1}{% |
| 4503 |
\csname ifHy@#1\endcsname |
| 4504 |
\expandafter\@firstoftwo |
| 4505 |
\else |
| 4506 |
\expandafter\@secondoftwo |
| 4507 |
\fi |
| 4508 |
}\@secondoftwo |
| 4509 |
} |
| 4510 |
% \end{macrocode} |
| 4511 |
% \end{macro} |
| 4512 |
% |
| 4513 |
% \begin{macro}{\Hy@boolkey} |
| 4514 |
% \begin{macrocode} |
| 4515 |
\def\Hy@boolkey#1#2{% |
| 4516 |
\edef\Hy@tempa{#2}% |
| 4517 |
\lowercase\expandafter{% |
| 4518 |
\expandafter\def\expandafter\Hy@tempa\expandafter{\Hy@tempa}% |
| 4519 |
}% |
| 4520 |
\ifx\Hy@tempa\@empty |
| 4521 |
\let\Hy@tempa\Hy@true |
| 4522 |
\fi |
| 4523 |
\ifx\Hy@tempa\Hy@true |
| 4524 |
\else |
| 4525 |
\ifx\Hy@tempa\Hy@false |
| 4526 |
\else |
| 4527 |
\let\Hy@tempa\relax |
| 4528 |
\fi |
| 4529 |
\fi |
| 4530 |
\ifx\Hy@tempa\relax |
| 4531 |
\Hy@WarnOptionValue{#2}{#1}{`true' or 'false'}% |
| 4532 |
\else |
| 4533 |
\Hy@Info{Option `#1' set `\Hy@tempa'}% |
| 4534 |
\csname Hy@#1\Hy@tempa\endcsname |
| 4535 |
\fi |
| 4536 |
} |
| 4537 |
% \end{macrocode} |
| 4538 |
% \end{macro} |
| 4539 |
% \begin{macro}{\Hy@WarnOptionValue} |
| 4540 |
% \begin{macrocode} |
| 4541 |
\def\Hy@WarnOptionValue#1#2#3{% |
| 4542 |
\Hy@Warning{% |
| 4543 |
Unexpected value `#1'\MessageBreak |
| 4544 |
of option `#2' instead of\MessageBreak |
| 4545 |
#3% |
| 4546 |
}% |
| 4547 |
} |
| 4548 |
% \end{macrocode} |
| 4549 |
% \end{macro} |
| 4550 |
% |
| 4551 |
% \begin{macro}{\Hy@DisableOption} |
| 4552 |
% \begin{macrocode} |
| 4553 |
\def\Hy@DisableOption#1{% |
| 4554 |
\@ifundefined{KV@Hyp@#1@default}{% |
| 4555 |
\define@key{Hyp}{#1}% |
| 4556 |
}{% |
| 4557 |
\define@key{Hyp}{#1}[]% |
| 4558 |
}% |
| 4559 |
{\Hy@WarnOptionDisabled{#1}}% |
| 4560 |
} |
| 4561 |
|
| 4562 |
% \end{macrocode} |
| 4563 |
% \end{macro} |
| 4564 |
% |
| 4565 |
% \begin{macro}{\Hy@WarnOptionDisabled} |
| 4566 |
% \begin{macrocode} |
| 4567 |
\def\Hy@WarnOptionDisabled#1{% |
| 4568 |
\Hy@Warning{% |
| 4569 |
Option `#1' has already been used,\MessageBreak |
| 4570 |
setting the option has no effect% |
| 4571 |
}% |
| 4572 |
} |
| 4573 |
% \end{macrocode} |
| 4574 |
% \end{macro} |
| 4575 |
% |
| 4576 |
% \begin{macro}{\Hy@CheckOptionValue} |
| 4577 |
% Some options take a string value out of a limited set of values. |
| 4578 |
% Macro \cs{Hy@CheckOptionValue} checks whether the given value |#1| |
| 4579 |
% for option |#2| is a member of the value list |#3|. |
| 4580 |
% \begin{macrocode} |
| 4581 |
\def\Hy@CheckOptionValue#1#2#3{% |
| 4582 |
\begingroup |
| 4583 |
\edef\x{#1}% |
| 4584 |
\@onelevel@sanitize\x |
| 4585 |
\let\y=y% |
| 4586 |
\def\do##1##2{% |
| 4587 |
\def\z{##1}% |
| 4588 |
\@onelevel@sanitize\z |
| 4589 |
\ifx\x\z |
| 4590 |
\let\y=n% |
| 4591 |
\let\do\@gobbletwo |
| 4592 |
\fi |
| 4593 |
}% |
| 4594 |
#3% |
| 4595 |
\ifx\y y% |
| 4596 |
\def\do##1##2{% |
| 4597 |
* `##1'% |
| 4598 |
\ifx\\##2\\\else\space(##2)\fi |
| 4599 |
\MessageBreak |
| 4600 |
}% |
| 4601 |
\Hy@Warning{% |
| 4602 |
Values of option `#2':\MessageBreak |
| 4603 |
#3% |
| 4604 |
* An empty value disables the option.\MessageBreak |
| 4605 |
Unknown value `\x'% |
| 4606 |
}% |
| 4607 |
\fi |
| 4608 |
\endgroup |
| 4609 |
} |
| 4610 |
% \end{macrocode} |
| 4611 |
% \end{macro} |
| 4612 |
% |
| 4613 |
% \begin{macro}{\Hy@DefNameKey} |
| 4614 |
% \noindent |
| 4615 |
% |#1|: option name\\ |
| 4616 |
% |#2|: \cs{do} list with known values, first |
| 4617 |
% argument of \cs{do} is value, second argument is a comment. |
| 4618 |
% \begin{macrocode} |
| 4619 |
\def\Hy@DefNameKey#1{% |
| 4620 |
\expandafter\Hy@@DefNameKey\csname @#1\endcsname{#1}% |
| 4621 |
} |
| 4622 |
% \end{macrocode} |
| 4623 |
% \end{macro} |
| 4624 |
% \begin{macro}{\Hy@@DefNameKey} |
| 4625 |
% \noindent |
| 4626 |
% |#1|: macro for value storage\\ |
| 4627 |
% |#2|: option name\\ |
| 4628 |
% |#3|: \cs{do} list with known values. |
| 4629 |
% \begin{macrocode} |
| 4630 |
\def\Hy@@DefNameKey#1#2#3{% |
| 4631 |
\define@key{Hyp}{#2}{% |
| 4632 |
\edef#1{##1}% |
| 4633 |
\ifx#1\@empty |
| 4634 |
\else |
| 4635 |
\Hy@CheckOptionValue{##1}{#2}{#3}% |
| 4636 |
\fi |
| 4637 |
}% |
| 4638 |
\let#1\@empty |
| 4639 |
} |
| 4640 |
% \end{macrocode} |
| 4641 |
% \end{macro} |
| 4642 |
% \begin{macro}{\Hy@UseNameKey} |
| 4643 |
% \begin{macrocode} |
| 4644 |
\def\Hy@UseNameKey#1#2{% |
| 4645 |
\ifx#2\@empty |
| 4646 |
\else |
| 4647 |
/#1/#2% |
| 4648 |
\fi |
| 4649 |
} |
| 4650 |
% \end{macrocode} |
| 4651 |
% \end{macro} |
| 4652 |
% |
| 4653 |
% \subsection{Defining the options} |
| 4654 |
% \begin{macrocode} |
| 4655 |
\define@key{Hyp}{implicit}[true]{% |
| 4656 |
\Hy@boolkey{implicit}{#1}% |
| 4657 |
} |
| 4658 |
\define@key{Hyp}{draft}[true]{% |
| 4659 |
\Hy@boolkey{draft}{#1}% |
| 4660 |
} |
| 4661 |
\define@key{Hyp}{final}[true]{% |
| 4662 |
\Hy@boolkey{final}{#1}% |
| 4663 |
} |
| 4664 |
\let\KV@Hyp@nolinks\KV@Hyp@draft |
| 4665 |
% \end{macrocode} |
| 4666 |
% \begin{macrocode} |
| 4667 |
\def\Hy@ObsoletePaperOption#1{% |
| 4668 |
\Hy@WarningNoLine{% |
| 4669 |
Option `#1' is no longer used% |
| 4670 |
}% |
| 4671 |
\define@key{Hyp}{#1}[true]{}% |
| 4672 |
} |
| 4673 |
\def\Hy@temp#1{% |
| 4674 |
\define@key{Hyp}{#1}[true]{% |
| 4675 |
\Hy@ObsoletePaperOption{#1}% |
| 4676 |
}% |
| 4677 |
} |
| 4678 |
\Hy@temp{a4paper} |
| 4679 |
\Hy@temp{a5paper} |
| 4680 |
\Hy@temp{b5paper} |
| 4681 |
\Hy@temp{letterpaper} |
| 4682 |
\Hy@temp{legalpaper} |
| 4683 |
\Hy@temp{executivepaper} |
| 4684 |
% \end{macrocode} |
| 4685 |
% \begin{macrocode} |
| 4686 |
\define@key{Hyp}{setpagesize}[true]{% |
| 4687 |
\Hy@boolkey{setpagesize}{#1}% |
| 4688 |
} |
| 4689 |
\define@key{Hyp}{debug}[true]{% |
| 4690 |
\Hy@boolkey{debug}{#1}% |
| 4691 |
} |
| 4692 |
\define@key{Hyp}{linktocpage}[true]{% |
| 4693 |
\Hy@boolkey{linktocpage}{#1}% |
| 4694 |
\ifHy@linktocpage |
| 4695 |
\let\Hy@linktoc\Hy@linktoc@page |
| 4696 |
\else |
| 4697 |
\let\Hy@linktoc\Hy@linktoc@section |
| 4698 |
\fi |
| 4699 |
} |
| 4700 |
\chardef\Hy@linktoc@none=0 % |
| 4701 |
\chardef\Hy@linktoc@section=1 % |
| 4702 |
\chardef\Hy@linktoc@page=2 % |
| 4703 |
\chardef\Hy@linktoc@all=3 % |
| 4704 |
\ifHy@linktocpage |
| 4705 |
\let\Hy@linktoc\Hy@linktoc@page |
| 4706 |
\else |
| 4707 |
\let\Hy@linktoc\Hy@linktoc@section |
| 4708 |
\fi |
| 4709 |
\define@key{Hyp}{linktoc}{% |
| 4710 |
\@ifundefined{Hy@linktoc@#1}{% |
| 4711 |
\Hy@Warning{% |
| 4712 |
Unexpected value `#1' of\MessageBreak |
| 4713 |
option `linktoc' instead of `none',\MessageBreak |
| 4714 |
`section', `page' or `all'% |
| 4715 |
}% |
| 4716 |
}{% |
| 4717 |
\expandafter\let\expandafter\Hy@linktoc |
| 4718 |
\csname Hy@linktoc@#1\endcsname |
| 4719 |
}% |
| 4720 |
} |
| 4721 |
\define@key{Hyp}{extension}{\def\XR@ext{#1}} |
| 4722 |
\let\XR@ext\relax |
| 4723 |
\define@key{Hyp}{verbose}[true]{% |
| 4724 |
\Hy@boolkey{verbose}{#1}% |
| 4725 |
} |
| 4726 |
% \end{macrocode} |
| 4727 |
% If we are going to PDF via HyperTeX |\special| commands, |
| 4728 |
% the dvips (-z option) processor does not know |
| 4729 |
% the \emph{height} of a link, as it works solely on the |
| 4730 |
% position of the closing |\special|. If we use this option, |
| 4731 |
% the |\special| is raised up by the right amount, to fool |
| 4732 |
% the dvi processor. |
| 4733 |
% \begin{macrocode} |
| 4734 |
\define@key{Hyp}{raiselinks}[true]{% |
| 4735 |
\Hy@boolkey{raiselinks}{#1}% |
| 4736 |
} |
| 4737 |
% \end{macrocode} |
| 4738 |
% Most PDF-creating drivers do not allow links to be broken |
| 4739 |
% \begin{macrocode} |
| 4740 |
\def\Hy@setbreaklinks#1{% |
| 4741 |
\csname breaklinks#1\endcsname |
| 4742 |
} |
| 4743 |
% \end{macrocode} |
| 4744 |
% \begin{macrocode} |
| 4745 |
\def\Hy@breaklinks@unsupported{% |
| 4746 |
\ifx\Hy@setbreaklinks\@gobble |
| 4747 |
\ifHy@breaklinks |
| 4748 |
\Hy@WarningNoLine{% |
| 4749 |
You have enabled option `breaklinks'.\MessageBreak |
| 4750 |
But driver `\[email protected]' does not support this.\MessageBreak |
| 4751 |
Expect trouble with the link areas of broken links% |
| 4752 |
}% |
| 4753 |
\fi |
| 4754 |
\fi |
| 4755 |
} |
| 4756 |
% \end{macrocode} |
| 4757 |
% \begin{macrocode} |
| 4758 |
\define@key{Hyp}{breaklinks}[true]{% |
| 4759 |
\Hy@boolkey{breaklinks}{#1}% |
| 4760 |
\let\Hy@setbreaklinks\@gobble |
| 4761 |
} |
| 4762 |
% \end{macrocode} |
| 4763 |
% \begin{macrocode} |
| 4764 |
\define@key{Hyp}{localanchorname}[true]{% |
| 4765 |
\Hy@WarningNoLine{% |
| 4766 |
Option `localanchorname' is deprecated% |
| 4767 |
}% |
| 4768 |
\Hy@boolkey{localanchorname}{#1}% |
| 4769 |
} |
| 4770 |
% \end{macrocode} |
| 4771 |
% Determines whether an automatic anchor is put on each page |
| 4772 |
% \begin{macrocode} |
| 4773 |
\define@key{Hyp}{pageanchor}[true]{% |
| 4774 |
\Hy@boolkey{pageanchor}{#1}% |
| 4775 |
} |
| 4776 |
% \end{macrocode} |
| 4777 |
% Are the page links done as plain arabic numbers, or do |
| 4778 |
% they follow the formatting of the package? The latter loses |
| 4779 |
% if you put in typesetting like |\textbf| or the like. |
| 4780 |
% \begin{macrocode} |
| 4781 |
\define@key{Hyp}{plainpages}[true]{% |
| 4782 |
\Hy@boolkey{plainpages}{#1}% |
| 4783 |
} |
| 4784 |
% \end{macrocode} |
| 4785 |
% Are the names for anchors made as per the HyperTeX system, |
| 4786 |
% or do they simply use what \LaTeX\ provides? |
| 4787 |
% \begin{macrocode} |
| 4788 |
\define@key{Hyp}{naturalnames}[true]{% |
| 4789 |
\Hy@boolkey{naturalnames}{#1}% |
| 4790 |
} |
| 4791 |
% \end{macrocode} |
| 4792 |
% Completely ignore the names as per the HyperTeX system, |
| 4793 |
% and use unique counters. |
| 4794 |
% \begin{macrocode} |
| 4795 |
\define@key{Hyp}{hypertexnames}[true]{% |
| 4796 |
\Hy@boolkey{hypertexnames}{#1}% |
| 4797 |
} |
| 4798 |
% \end{macrocode} |
| 4799 |
% Currently, |dvips| doesn't allow anchors nested within targets, |
| 4800 |
% so this option tries to stop that happening. Other processors |
| 4801 |
% may be able to cope. |
| 4802 |
% \begin{macrocode} |
| 4803 |
\define@key{Hyp}{nesting}[true]{% |
| 4804 |
\Hy@boolkey{nesting}{#1}% |
| 4805 |
} |
| 4806 |
% \end{macrocode} |
| 4807 |
% \begin{macrocode} |
| 4808 |
\define@key{Hyp}{destlabel}[true]{% |
| 4809 |
\Hy@boolkey{destlabel}{#1}% |
| 4810 |
} |
| 4811 |
% \end{macrocode} |
| 4812 |
% |
| 4813 |
% \begin{macrocode} |
| 4814 |
\define@key{Hyp}{unicode}[true]{% |
| 4815 |
\Hy@boolkey{unicode}{#1}% |
| 4816 |
\ifHy@unicode |
| 4817 |
\def\HyPsd@pdfencoding{unicode}% |
| 4818 |
\HyPsd@LoadUnicode |
| 4819 |
\else |
| 4820 |
\def\HyPsd@pdfencoding{pdfdoc}% |
| 4821 |
\fi |
| 4822 |
} |
| 4823 |
\Hy@AtBeginDocument{% |
| 4824 |
\ifx\HyPsd@LoadUnicode\relax |
| 4825 |
\else |
| 4826 |
\def\HyPsd@LoadUnicode{% |
| 4827 |
\Hy@Error{% |
| 4828 |
Unicode support for bookmarks is not available.\MessageBreak |
| 4829 |
Activate unicode support by using one of the options\MessageBreak |
| 4830 |
`unicode', `pdfencoding=unicode', `pdfencoding=auto'\MessageBreak |
| 4831 |
in the preamble% |
| 4832 |
}\@ehc |
| 4833 |
\global\let\HyPsd@LoadUnicode\relax |
| 4834 |
\global\Hy@unicodefalse |
| 4835 |
\global\let\Hy@unicodetrue\Hy@unicodefalse |
| 4836 |
}% |
| 4837 |
\fi |
| 4838 |
} |
| 4839 |
% \end{macrocode} |
| 4840 |
% \begin{macrocode} |
| 4841 |
\define@key{Hyp}{pdfencoding}{% |
| 4842 |
\edef\HyPsd@temp{#1}% |
| 4843 |
\ifx\HyPsd@temp\HyPsd@pdfencoding@pdfdoc |
| 4844 |
\let\HyPsd@pdfencoding\HyPsd@temp |
| 4845 |
\Hy@unicodefalse |
| 4846 |
\else |
| 4847 |
\ifcase\ifx\HyPsd@temp\HyPsd@pdfencoding@unicode |
| 4848 |
\z@ |
| 4849 |
\else |
| 4850 |
\ifx\HyPsd@temp\HyPsd@pdfencoding@auto |
| 4851 |
\z@ |
| 4852 |
\else |
| 4853 |
\@ne |
| 4854 |
\fi |
| 4855 |
\fi |
| 4856 |
\let\HyPsd@pdfencoding\HyPsd@temp |
| 4857 |
\hypersetup{unicode}% |
| 4858 |
\ifHy@unicode |
| 4859 |
\def\HyPsd@pdfencoding{#1}% |
| 4860 |
\else |
| 4861 |
\Hy@Warning{Cannot switch to unicode bookmarks}% |
| 4862 |
\let\HyPsd@pdfencoding\HyPsd@pdfencoding@pdfdoc |
| 4863 |
\fi |
| 4864 |
\else |
| 4865 |
\@onelevel@sanitize\HyPsd@temp |
| 4866 |
\Hy@Warning{% |
| 4867 |
Values of option `pdfencoding':\MessageBreak |
| 4868 |
`pdfdoc', `unicode', `auto'.\MessageBreak |
| 4869 |
Ignoring unknown value `\HyPsd@temp'% |
| 4870 |
}% |
| 4871 |
\fi |
| 4872 |
\fi |
| 4873 |
} |
| 4874 |
\def\HyPsd@pdfencoding@auto{auto} |
| 4875 |
\def\HyPsd@pdfencoding@pdfdoc{pdfdoc} |
| 4876 |
\def\HyPsd@pdfencoding@unicode{unicode} |
| 4877 |
% \end{macrocode} |
| 4878 |
% change 2020-08-14, use unicode by default: |
| 4879 |
% \begin{macrocode} |
| 4880 |
\let\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode |
| 4881 |
\HyPsd@LoadUnicode |
| 4882 |
% \end{macrocode} |
| 4883 |
% |
| 4884 |
% \begin{macrocode} |
| 4885 |
\define@key{Hyp}{psdextra}[true]{% |
| 4886 |
\Hy@boolkey{psdextra}{#1}% |
| 4887 |
\HyPsd@LoadExtra |
| 4888 |
} |
| 4889 |
% \end{macrocode} |
| 4890 |
% |
| 4891 |
% \begin{macrocode} |
| 4892 |
\def\hypersetup{\kvsetkeys{Hyp}} |
| 4893 |
% \end{macrocode} |
| 4894 |
% |
| 4895 |
% \begin{macrocode} |
| 4896 |
\newif\ifHy@setpdfversion |
| 4897 |
\define@key{Hyp}{pdfversion}{% |
| 4898 |
\@ifundefined{Hy@pdfversion@#1}{% |
| 4899 |
\PackageWarning{hyperref}{% |
| 4900 |
Unsupported PDF version `#1'.\MessageBreak |
| 4901 |
Valid values: 1.2-1.7, 2.0% |
| 4902 |
}% |
| 4903 |
}{% |
| 4904 |
\Hy@setpdfversiontrue |
| 4905 |
\@nameuse{Hy@pdfversion@#1}% |
| 4906 |
}% |
| 4907 |
} |
| 4908 |
% \end{macrocode} |
| 4909 |
% \verb|\Hy@pdfminorversion| already used elsewhere to denote \verb|\pdfminorversion| |
| 4910 |
% or \verb|\pdfvariable majorversion}| so introduce new names here. |
| 4911 |
% \begin{macrocode} |
| 4912 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{2}}% |
| 4913 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{3}}% |
| 4914 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{4}}% |
| 4915 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{5}}% |
| 4916 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{6}}% |
| 4917 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{7}}% |
| 4918 |
\@namedef{Hy@[email protected]}{\def\Hy@pdf@majorversion{2}\def\Hy@pdf@minorversion{0}}% |
| 4919 |
\def\Hy@pdf@majorversion{1}\def\Hy@pdf@minorversion{7} |
| 4920 |
% \end{macrocode} |
| 4921 |
% Legacy name, earlier releases assumed 1.x |
| 4922 |
% \begin{macrocode} |
| 4923 |
\let\Hy@pdfversion\Hy@pdf@minorversion |
| 4924 |
\def\Hy@pdf@majorminor@version{\numexpr100*\Hy@pdf@majorversion+\Hy@pdf@minorversion\relax} |
| 4925 |
\def\Hy@pdfmajorminor@version{\numexpr100*\Hy@pdfmajorversion+\Hy@pdfminorversion\relax} |
| 4926 |
% \end{macrocode} |
| 4927 |
% if \verb|pdfminorversion| is defined, make sure \verb|pdfmajorversion| is too. |
| 4928 |
% \begin{macrocode} |
| 4929 |
\@ifundefined{pdfminorversion}{}{% |
| 4930 |
\@ifundefined{pdfmajorversion}{% |
| 4931 |
\newcount\pdfmajorversion |
| 4932 |
\pdfmajorversion=1 |
| 4933 |
}{}% |
| 4934 |
} |
| 4935 |
\ifx\pdfmajorversion\@undefined\else |
| 4936 |
\def\Hy@pdfmajorversion{\pdfmajorversion} |
| 4937 |
\fi |
| 4938 |
% \end{macrocode} |
| 4939 |
% |
| 4940 |
% \section{Options for different drivers}\label{drivers} |
| 4941 |
% |
| 4942 |
% \begin{macrocode} |
| 4943 |
\newif\ifHy@DviMode |
| 4944 |
\let\Hy@DviErrMsg\@empty |
| 4945 |
\ifpdf |
| 4946 |
\def\Hy@DviErrMsg{pdfTeX or LuaTeX is running in PDF mode}% |
| 4947 |
\else |
| 4948 |
\ifxetex |
| 4949 |
\def\Hy@DviErrMsg{XeTeX is running}% |
| 4950 |
\else |
| 4951 |
\ifvtex |
| 4952 |
\ifnum\OpMode=\z@ |
| 4953 |
\Hy@DviModetrue |
| 4954 |
\else |
| 4955 |
\def\Hy@DviErrMsg{VTeX is running, but not in DVI mode}% |
| 4956 |
\fi |
| 4957 |
\else |
| 4958 |
\Hy@DviModetrue |
| 4959 |
\fi |
| 4960 |
\fi |
| 4961 |
\fi |
| 4962 |
\def\HyOpt@CheckDvi#1{% |
| 4963 |
\ifHy@DviMode |
| 4964 |
\expandafter\@firstofone |
| 4965 |
\else |
| 4966 |
\Hy@Error{% |
| 4967 |
Wrong DVI mode driver option `#1',\MessageBreak |
| 4968 |
because \Hy@DviErrMsg |
| 4969 |
}\@ehc |
| 4970 |
\expandafter\@gobble |
| 4971 |
\fi |
| 4972 |
} |
| 4973 |
% \end{macrocode} |
| 4974 |
% \begin{macrocode} |
| 4975 |
\DeclareVoidOption{tex4ht}{% |
| 4976 |
\Hy@texhttrue |
| 4977 |
\kvsetkeys{Hyp}{colorlinks=true}% |
| 4978 |
\def\BeforeTeXIVht{\RequirePackage{color}}% |
| 4979 |
\def\Hy@driver{htex4ht}% |
| 4980 |
\def\MaybeStopEarly{% |
| 4981 |
\Hy@Message{Stopped early}% |
| 4982 |
\Hy@AtBeginDocument{% |
| 4983 |
\PDF@FinishDoc |
| 4984 |
\gdef\PDF@FinishDoc{}% |
| 4985 |
}% |
| 4986 |
\endinput |
| 4987 |
}% |
| 4988 |
} |
| 4989 |
\DeclareVoidOption{pdftex}{% |
| 4990 |
\ifpdf |
| 4991 |
\def\Hy@driver{hpdftex}% |
| 4992 |
\PassOptionsToPackage{pdftex}{color}% |
| 4993 |
\else |
| 4994 |
\Hy@Error{% |
| 4995 |
Wrong driver option `pdftex',\MessageBreak |
| 4996 |
because pdfTeX in PDF mode is not detected% |
| 4997 |
}\@ehc |
| 4998 |
\fi |
| 4999 |
} |
| 5000 |
\DeclareVoidOption{luatex}{% |
| 5001 |
\ifpdf |
| 5002 |
\ifx\pdfextension\@undefined |
| 5003 |
\def\Hy@driver{hpdftex}% |
| 5004 |
\PassOptionsToPackage{pdftex}{color}% |
| 5005 |
\else |
| 5006 |
\def\Hy@driver{hluatex}% |
| 5007 |
\PassOptionsToPackage{luatex}{color}% |
| 5008 |
\fi |
| 5009 |
\else |
| 5010 |
\Hy@Error{% |
| 5011 |
Wrong driver option `luatex',\MessageBreak |
| 5012 |
because luaTeX in PDF mode is not detected% |
| 5013 |
}\@ehc |
| 5014 |
\fi |
| 5015 |
} |
| 5016 |
\DeclareVoidOption{nativepdf}{% |
| 5017 |
\HyOpt@CheckDvi{nativepdf}{% |
| 5018 |
\def\Hy@driver{hdvips}% |
| 5019 |
\PassOptionsToPackage{dvips}{color}% |
| 5020 |
}% |
| 5021 |
} |
| 5022 |
\DeclareVoidOption{dvipdfm}{% |
| 5023 |
\HyOpt@CheckDvi{dvipdfm}{% |
| 5024 |
\def\Hy@driver{hdvipdfm}% |
| 5025 |
}% |
| 5026 |
} |
| 5027 |
\DeclareVoidOption{dvipdfmx}{% |
| 5028 |
\HyOpt@CheckDvi{dvipdfmx}{% |
| 5029 |
\def\Hy@driver{hdvipdfm}% |
| 5030 |
\PassOptionsToPackage{dvipdfmx}{color}% |
| 5031 |
}% |
| 5032 |
} |
| 5033 |
\define@key{Hyp}{dvipdfmx-outline-open}[true]{% |
| 5034 |
\expandafter\ifx\csname if#1\expandafter\endcsname |
| 5035 |
\csname iftrue\endcsname |
| 5036 |
\chardef\SpecialDvipdfmxOutlineOpen\@ne |
| 5037 |
\else |
| 5038 |
\chardef\SpecialDvipdfmxOutlineOpen\z@ |
| 5039 |
\fi |
| 5040 |
} |
| 5041 |
\DeclareVoidOption{xetex}{% |
| 5042 |
\ifxetex |
| 5043 |
\def\Hy@driver{hxetex}% |
| 5044 |
\else |
| 5045 |
\Hy@Error{% |
| 5046 |
Wrong driver option `xetex',\MessageBreak |
| 5047 |
because XeTeX is not detected% |
| 5048 |
}\@ehc |
| 5049 |
\fi |
| 5050 |
} |
| 5051 |
\DeclareVoidOption{pdfmark}{% |
| 5052 |
\HyOpt@CheckDvi{pdfmark}{% |
| 5053 |
\def\Hy@driver{hdvips}% |
| 5054 |
}% |
| 5055 |
} |
| 5056 |
\DeclareVoidOption{dvips}{% |
| 5057 |
\HyOpt@CheckDvi{dvips}{% |
| 5058 |
\def\Hy@driver{hdvips}% |
| 5059 |
\PassOptionsToPackage{dvips}{color}% |
| 5060 |
}% |
| 5061 |
} |
| 5062 |
\DeclareVoidOption{hypertex}{% |
| 5063 |
\HyOpt@CheckDvi{hypertex}{% |
| 5064 |
\def\Hy@driver{hypertex}% |
| 5065 |
}% |
| 5066 |
} |
| 5067 |
\let\Hy@MaybeStopNow\relax |
| 5068 |
\DeclareVoidOption{vtex}{% |
| 5069 |
\ifvtex |
| 5070 |
\ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % |
| 5071 |
\def\Hy@driver{hvtex}% |
| 5072 |
\else |
| 5073 |
\ifnum\OpMode=10\relax |
| 5074 |
\def\Hy@driver{hvtexhtm}% |
| 5075 |
\def\MaybeStopEarly{% |
| 5076 |
\Hy@Message{Stopped early}% |
| 5077 |
\Hy@AtBeginDocument{% |
| 5078 |
\PDF@FinishDoc |
| 5079 |
\gdef\PDF@FinishDoc{}% |
| 5080 |
}% |
| 5081 |
\endinput |
| 5082 |
}% |
| 5083 |
\else |
| 5084 |
\Hy@Error{% |
| 5085 |
Wrong driver option `vtex',\MessageBreak |
| 5086 |
because of wrong OpMode (\the\OpMode)% |
| 5087 |
}\@ehc |
| 5088 |
\fi |
| 5089 |
\fi |
| 5090 |
\else |
| 5091 |
\Hy@Error{% |
| 5092 |
Wrong driver option `vtex',\MessageBreak |
| 5093 |
because VTeX is not running% |
| 5094 |
}\@ehc |
| 5095 |
\fi |
| 5096 |
} |
| 5097 |
\DeclareVoidOption{vtexpdfmark}{% |
| 5098 |
\ifvtex |
| 5099 |
\ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % |
| 5100 |
\def\Hy@driver{hvtexmrk}% |
| 5101 |
\else |
| 5102 |
\Hy@Error{% |
| 5103 |
Wrong driver option `vtexpdfmark',\MessageBreak |
| 5104 |
because of wrong OpMode (\the\OpMode)% |
| 5105 |
}\@ehc |
| 5106 |
\fi |
| 5107 |
\else |
| 5108 |
\Hy@Error{% |
| 5109 |
Wrong driver option `vtexpdfmark,\MessageBreak |
| 5110 |
because VTeX is not running% |
| 5111 |
}\@ehc |
| 5112 |
\fi |
| 5113 |
} |
| 5114 |
\DeclareVoidOption{dviwindo}{% |
| 5115 |
\HyOpt@CheckDvi{dviwindo}{% |
| 5116 |
\def\Hy@driver{hdviwind}% |
| 5117 |
\kvsetkeys{Hyp}{colorlinks}% |
| 5118 |
\PassOptionsToPackage{dviwindo}{color}% |
| 5119 |
}% |
| 5120 |
} |
| 5121 |
\DeclareVoidOption{dvipsone}{% |
| 5122 |
\HyOpt@CheckDvi{dvipsone}{% |
| 5123 |
\def\Hy@driver{hdvipson}% |
| 5124 |
\PassOptionsToPackage{dvipsone}{color}% |
| 5125 |
}% |
| 5126 |
} |
| 5127 |
\DeclareVoidOption{textures}{% |
| 5128 |
\HyOpt@CheckDvi{textures}{% |
| 5129 |
\def\Hy@driver{htexture}% |
| 5130 |
}% |
| 5131 |
} |
| 5132 |
\DeclareVoidOption{latex2html}{% |
| 5133 |
\Hy@Warning{Option `latex2html` is obsolete. \MessageBreak |
| 5134 |
A current html.sty will do all necessary (re)definitions% |
| 5135 |
}% |
| 5136 |
} |
| 5137 |
\DeclareVoidOption{hitex}{% |
| 5138 |
\ifhint |
| 5139 |
\IfFileExists{hhitex.def} |
| 5140 |
{\def\Hy@driver{hhitex}}% |
| 5141 |
{\Hy@Warning{% |
| 5142 |
Missing driver file `hhitex.def',\MessageBreak |
| 5143 |
ignoring hitex driver% |
| 5144 |
}}% |
| 5145 |
\else |
| 5146 |
\Hy@Error{% |
| 5147 |
Wrong driver option `hitex',\MessageBreak |
| 5148 |
because HiTeX is not detected% |
| 5149 |
}\@ehc |
| 5150 |
\fi |
| 5151 |
} |
| 5152 |
% \end{macrocode} |
| 5153 |
% No more special treatment for ps2pdf. Let it sink or swim. |
| 5154 |
% \begin{macrocode} |
| 5155 |
\DeclareVoidOption{ps2pdf}{% |
| 5156 |
\HyOpt@CheckDvi{ps2pdf}{% |
| 5157 |
\def\Hy@driver{hdvips}% |
| 5158 |
\PassOptionsToPackage{dvips}{color}% |
| 5159 |
}% |
| 5160 |
} |
| 5161 |
% \end{macrocode} |
| 5162 |
% |
| 5163 |
% \begin{macrocode} |
| 5164 |
\let\HyOpt@DriverFallback\@empty |
| 5165 |
\define@key{Hyp}{driverfallback}{% |
| 5166 |
\ifHy@DviMode |
| 5167 |
\def\HyOpt@DriverFallback{#1}% |
| 5168 |
\Hy@Match\HyOpt@DriverFallback{}{% |
| 5169 |
^(|dvipdfm|dvipdfmx|dvips|dvipsone|dviwindo|hypertex|ps2pdf|% |
| 5170 |
latex2html|tex4ht)$% |
| 5171 |
}{}{% |
| 5172 |
\Hy@Warning{% |
| 5173 |
Invalid driver `#1' for option\MessageBreak |
| 5174 |
`driverfallback'% |
| 5175 |
}% |
| 5176 |
\let\HyOpt@DriverFallback\@empty |
| 5177 |
}% |
| 5178 |
\fi |
| 5179 |
} |
| 5180 |
% \end{macrocode} |
| 5181 |
% |
| 5182 |
% \begin{macrocode} |
| 5183 |
\IfPDFManagementActiveTF |
| 5184 |
{\def\HyOpt@CustomDriver{hgeneric-testphase}} |
| 5185 |
{\let\HyOpt@CustomDriver\@empty} |
| 5186 |
|
| 5187 |
\define@key{Hyp}{customdriver}{% |
| 5188 |
\IfFileExists{#1.def}{% |
| 5189 |
\def\HyOpt@CustomDriver{#1}% |
| 5190 |
}{% |
| 5191 |
\Hy@Warning{% |
| 5192 |
Missing driver file `#1.def',\MessageBreak |
| 5193 |
ignoring custom driver% |
| 5194 |
}% |
| 5195 |
}% |
| 5196 |
} |
| 5197 |
% \end{macrocode} |
| 5198 |
% |
| 5199 |
% \section{Options to add extra features}\label{features} |
| 5200 |
% Make included figures (assuming they use the standard graphics |
| 5201 |
% package) be hypertext links. Off by default. Needs more work. |
| 5202 |
% \begin{macrocode} |
| 5203 |
\define@key{Hyp}{hyperfigures}[true]{% |
| 5204 |
\Hy@boolkey{hyperfigures}{#1}% |
| 5205 |
} |
| 5206 |
% \end{macrocode} |
| 5207 |
% |
| 5208 |
% The automatic footnote linking can be disabled |
| 5209 |
% by option hyperfootnotes. |
| 5210 |
% \begin{macrocode} |
| 5211 |
\define@key{Hyp}{hyperfootnotes}[true]{% |
| 5212 |
\Hy@boolkey{hyperfootnotes}{#1}% |
| 5213 |
} |
| 5214 |
% \end{macrocode} |
| 5215 |
% |
| 5216 |
% Set up back-referencing to be hyper links, by page, |
| 5217 |
% slide or section number, |
| 5218 |
% \begin{macrocode} |
| 5219 |
\def\back@none{none} |
| 5220 |
\def\back@section{section} |
| 5221 |
\def\back@page{page} |
| 5222 |
\def\back@slide{slide} |
| 5223 |
\define@key{Hyp}{backref}[section]{% |
| 5224 |
\lowercase{\def\Hy@tempa{#1}}% |
| 5225 |
\ifx\Hy@tempa\@empty |
| 5226 |
\let\Hy@tempa\back@section |
| 5227 |
\fi |
| 5228 |
\ifx\Hy@tempa\Hy@false |
| 5229 |
\let\Hy@tempa\back@none |
| 5230 |
\fi |
| 5231 |
\ifx\Hy@tempa\back@slide |
| 5232 |
\let\Hy@tempa\back@section |
| 5233 |
\fi |
| 5234 |
\ifx\Hy@tempa\back@page |
| 5235 |
\PassOptionsToPackage{hyperpageref}{backref}% |
| 5236 |
\Hy@backreftrue |
| 5237 |
\else |
| 5238 |
\ifx\Hy@tempa\back@section |
| 5239 |
\PassOptionsToPackage{hyperref}{backref}% |
| 5240 |
\Hy@backreftrue |
| 5241 |
\else |
| 5242 |
\ifx\Hy@tempa\back@none |
| 5243 |
\Hy@backreffalse |
| 5244 |
\else |
| 5245 |
\Hy@WarnOptionValue{#1}{backref}{% |
| 5246 |
`section', `slide', `page', `none',\MessageBreak |
| 5247 |
or `false'}% |
| 5248 |
\fi |
| 5249 |
\fi |
| 5250 |
\fi |
| 5251 |
} |
| 5252 |
\define@key{Hyp}{pagebackref}[true]{% |
| 5253 |
\edef\Hy@tempa{#1}% |
| 5254 |
\lowercase\expandafter{% |
| 5255 |
\expandafter\def\expandafter\Hy@tempa\expandafter{\Hy@tempa}% |
| 5256 |
}% |
| 5257 |
\ifx\Hy@tempa\@empty |
| 5258 |
\let\Hy@tempa\Hy@true |
| 5259 |
\fi |
| 5260 |
\ifx\Hy@tempa\Hy@true |
| 5261 |
\PassOptionsToPackage{hyperpageref}{backref}% |
| 5262 |
\Hy@backreftrue |
| 5263 |
\else |
| 5264 |
\ifx\Hy@tempa\Hy@false |
| 5265 |
\Hy@backreffalse |
| 5266 |
\else |
| 5267 |
\Hy@WarnOptionValue{#1}{pagebackref}{`true' or `false'}% |
| 5268 |
\fi |
| 5269 |
\fi |
| 5270 |
} |
| 5271 |
% \end{macrocode} |
| 5272 |
% Make index entries be links back to the relevant pages. By default |
| 5273 |
% this is turned on, but may be stopped. |
| 5274 |
% \begin{macrocode} |
| 5275 |
\define@key{Hyp}{hyperindex}[true]{% |
| 5276 |
\Hy@boolkey{hyperindex}{#1}% |
| 5277 |
} |
| 5278 |
% \end{macrocode} |
| 5279 |
% Configuration of encap char. |
| 5280 |
% \begin{macrocode} |
| 5281 |
\define@key{Hyp}{encap}[\|]{% |
| 5282 |
\def\HyInd@EncapChar{#1}% |
| 5283 |
} |
| 5284 |
% \end{macrocode} |
| 5285 |
% |
| 5286 |
% \section{Language options} |
| 5287 |
% |
| 5288 |
% The \cmd{\autoref} feature depends on the language. |
| 5289 |
% \begin{macrocode} |
| 5290 |
\def\HyLang@afrikaans{% |
| 5291 |
\def\equationautorefname{Vergelyking}% |
| 5292 |
\def\footnoteautorefname{Voetnota}% |
| 5293 |
\def\itemautorefname{Item}% |
| 5294 |
\def\figureautorefname{Figuur}% |
| 5295 |
\def\tableautorefname{Tabel}% |
| 5296 |
\def\partautorefname{Deel}% |
| 5297 |
\def\appendixautorefname{Bylae}% |
| 5298 |
\def\chapterautorefname{Hoofstuk}% |
| 5299 |
\def\sectionautorefname{Afdeling}% |
| 5300 |
\def\subsectionautorefname{Subafdeling}% |
| 5301 |
\def\subsubsectionautorefname{Subsubafdeling}% |
| 5302 |
\def\paragraphautorefname{Paragraaf}% |
| 5303 |
\def\subparagraphautorefname{Subparagraaf}% |
| 5304 |
\def\FancyVerbLineautorefname{Lyn}% |
| 5305 |
\def\theoremautorefname{Teorema}% |
| 5306 |
\def\pageautorefname{Bladsy}% |
| 5307 |
} |
| 5308 |
\def\HyLang@english{% |
| 5309 |
\def\equationautorefname{Equation}% |
| 5310 |
\def\footnoteautorefname{footnote}% |
| 5311 |
\def\itemautorefname{item}% |
| 5312 |
\def\figureautorefname{Figure}% |
| 5313 |
\def\tableautorefname{Table}% |
| 5314 |
\def\partautorefname{Part}% |
| 5315 |
\def\appendixautorefname{Appendix}% |
| 5316 |
\def\chapterautorefname{chapter}% |
| 5317 |
\def\sectionautorefname{section}% |
| 5318 |
\def\subsectionautorefname{subsection}% |
| 5319 |
\def\subsubsectionautorefname{subsubsection}% |
| 5320 |
\def\paragraphautorefname{paragraph}% |
| 5321 |
\def\subparagraphautorefname{subparagraph}% |
| 5322 |
\def\FancyVerbLineautorefname{line}% |
| 5323 |
\def\theoremautorefname{Theorem}% |
| 5324 |
\def\pageautorefname{page}% |
| 5325 |
} |
| 5326 |
\def\HyLang@french{% |
| 5327 |
\def\equationautorefname{\'equation}% |
| 5328 |
\def\footnoteautorefname{note}% |
| 5329 |
\def\itemautorefname{item}% |
| 5330 |
\def\figureautorefname{figure}% |
| 5331 |
\def\tableautorefname{tableau}% |
| 5332 |
\def\partautorefname{partie}% |
| 5333 |
\def\appendixautorefname{annexe}% |
| 5334 |
\def\chapterautorefname{chapitre}% |
| 5335 |
\def\sectionautorefname{section}% |
| 5336 |
\def\subsectionautorefname{sous-section}% |
| 5337 |
\def\subsubsectionautorefname{sous-sous-section}% |
| 5338 |
\def\paragraphautorefname{paragraphe}% |
| 5339 |
\def\subparagraphautorefname{sous-paragraphe}% |
| 5340 |
\def\FancyVerbLineautorefname{ligne}% |
| 5341 |
\def\theoremautorefname{th\'eor\`eme}% |
| 5342 |
\def\pageautorefname{page}% |
| 5343 |
} |
| 5344 |
\def\HyLang@german{% |
| 5345 |
\def\equationautorefname{Gleichung}% |
| 5346 |
\def\footnoteautorefname{Fu\ss note}% |
| 5347 |
\def\itemautorefname{Punkt}% |
| 5348 |
\def\figureautorefname{Abbildung}% |
| 5349 |
\def\tableautorefname{Tabelle}% |
| 5350 |
\def\partautorefname{Teil}% |
| 5351 |
\def\appendixautorefname{Anhang}% |
| 5352 |
\def\chapterautorefname{Kapitel}% |
| 5353 |
\def\sectionautorefname{Abschnitt}% |
| 5354 |
\def\subsectionautorefname{Unterabschnitt}% |
| 5355 |
\def\subsubsectionautorefname{Unterunterabschnitt}% |
| 5356 |
\def\paragraphautorefname{Absatz}% |
| 5357 |
\def\subparagraphautorefname{Unterabsatz}% |
| 5358 |
\def\FancyVerbLineautorefname{Zeile}% |
| 5359 |
\def\theoremautorefname{Theorem}% |
| 5360 |
\def\pageautorefname{Seite}% |
| 5361 |
} |
| 5362 |
\def\HyLang@italian{% |
| 5363 |
\def\equationautorefname{Equazione}% |
| 5364 |
\def\footnoteautorefname{nota}% |
| 5365 |
\def\itemautorefname{punto}% |
| 5366 |
\def\figureautorefname{Figura}% |
| 5367 |
\def\tableautorefname{Tabella}% |
| 5368 |
\def\partautorefname{Parte}% |
| 5369 |
\def\appendixautorefname{Appendice}% |
| 5370 |
\def\chapterautorefname{Capitolo}% |
| 5371 |
\def\sectionautorefname{sezione}% |
| 5372 |
\def\subsectionautorefname{sottosezione}% |
| 5373 |
\def\subsubsectionautorefname{sottosottosezione}% |
| 5374 |
\def\paragraphautorefname{paragrafo}% |
| 5375 |
\def\subparagraphautorefname{sottoparagrafo}% |
| 5376 |
\def\FancyVerbLineautorefname{linea}% |
| 5377 |
\def\theoremautorefname{Teorema}% |
| 5378 |
\def\pageautorefname{Pag.\@}% |
| 5379 |
} |
| 5380 |
\def\HyLang@magyar{% |
| 5381 |
\def\equationautorefname{Egyenlet}% |
| 5382 |
\def\footnoteautorefname{l\'abjegyzet}% |
| 5383 |
\def\itemautorefname{Elem}% |
| 5384 |
\def\figureautorefname{\'Abra}% |
| 5385 |
\def\tableautorefname{T\'abl\'azat}% |
| 5386 |
\def\partautorefname{R\'esz}% |
| 5387 |
\def\appendixautorefname{F\"uggel\'ek}% |
| 5388 |
\def\chapterautorefname{fejezet}% |
| 5389 |
\def\sectionautorefname{szakasz}% |
| 5390 |
\def\subsectionautorefname{alszakasz}% |
| 5391 |
\def\subsubsectionautorefname{alalszakasz}% |
| 5392 |
\def\paragraphautorefname{bekezd\'es}% |
| 5393 |
\def\subparagraphautorefname{albekezd\'es}% |
| 5394 |
\def\FancyVerbLineautorefname{sor}% |
| 5395 |
\def\theoremautorefname{T\'etel}% |
| 5396 |
\def\pageautorefname{oldal}% |
| 5397 |
} |
| 5398 |
\def\HyLang@portuges{% |
| 5399 |
\def\equationautorefname{Equa\c c\~ao}% |
| 5400 |
\def\footnoteautorefname{Nota de rodap\'e}% |
| 5401 |
\def\itemautorefname{Item}% |
| 5402 |
\def\figureautorefname{Figura}% |
| 5403 |
\def\tableautorefname{Tabela}% |
| 5404 |
\def\partautorefname{Parte}% |
| 5405 |
\def\appendixautorefname{Ap\^endice}% |
| 5406 |
\def\chapterautorefname{Cap\'itulo}% |
| 5407 |
\def\sectionautorefname{Se\c c\~ao}% |
| 5408 |
\def\subsectionautorefname{Subse\c c\~ao}% |
| 5409 |
\def\subsubsectionautorefname{Subsubse\c c\~ao}% |
| 5410 |
\def\paragraphautorefname{par\'agrafo}% |
| 5411 |
\def\subparagraphautorefname{subpar\'agrafo}% |
| 5412 |
\def\FancyVerbLineautorefname{linha}% |
| 5413 |
\def\theoremautorefname{Teorema}% |
| 5414 |
\def\pageautorefname{P\'agina}% |
| 5415 |
} |
| 5416 |
% \end{macrocode} |
| 5417 |
% |
| 5418 |
% Next commented section for Russian is provided by Olga Lapko. |
| 5419 |
% |
| 5420 |
% Next follow the checked reference names with commented variants and |
| 5421 |
% explanations. All they are abbreviated and they won't create a |
| 5422 |
% grammatical problems in the \emph{middle} of sentences. |
| 5423 |
% |
| 5424 |
% The most weak points in these abbreviations are the |
| 5425 |
% |\equationautorefname|, |\theoremautorefname| and the |
| 5426 |
% |\FancyVerbLineautorefname|. But those three, and also the |
| 5427 |
% |\footnoteautorefname| are not \emph{too} often referenced. |
| 5428 |
% Another rather weak point is the |\appendixautorefname|. |
| 5429 |
% \begin{macrocode} |
| 5430 |
\def\HyLang@russian{% |
| 5431 |
% \end{macrocode} |
| 5432 |
% The abbreviated reference to the equation: |
| 5433 |
% it is not for ``the good face of the book'', but maybe it will be |
| 5434 |
% better to get the company for the |\theoremautorefname|? |
| 5435 |
% \begin{macrocode} |
| 5436 |
\def\equationautorefname{\cyr\cyrv\cyrery\cyrr.}% |
| 5437 |
% \end{macrocode} |
| 5438 |
% The name of the equation reference has common form for both |
| 5439 |
% nominative and accusative but changes in other forms, like |
| 5440 |
% ``of |\autoref{auto}|'' etc. The full name must follow full |
| 5441 |
% name of the |\theoremautorefname|. |
| 5442 |
% \begin{macrocode} |
| 5443 |
% \def\equationautorefname{% |
| 5444 |
% \cyr\cyrv\cyrery\cyrr\cyra\cyrzh\cyre\cyrn\cyri\cyre |
| 5445 |
% }% |
| 5446 |
% \end{macrocode} |
| 5447 |
% |
| 5448 |
% The variant of footnote has abbreviation form of the synonym |
| 5449 |
% of the word ``footnote''. This variant of abbreviated synonym |
| 5450 |
% has alternative status (maybe obsolete?). |
| 5451 |
% \begin{macrocode} |
| 5452 |
\def\footnoteautorefname{% |
| 5453 |
\cyr\cyrp\cyro\cyrd\cyrs\cyrt\cyrr.\ \cyrp\cyrr\cyri\cyrm.% |
| 5454 |
}% |
| 5455 |
% \end{macrocode} |
| 5456 |
% Commented form of the full synonym for ``footnote''. |
| 5457 |
% It has common form for both nominative and accusative but |
| 5458 |
% changes in other forms, like ``of |\autoref{auto}|'' |
| 5459 |
% \begin{macrocode} |
| 5460 |
% \def\footnoteautorefname{% |
| 5461 |
% \cyr\cyrp\cyro\cyrd\cyrs\cyrt\cyrr\cyro\cyrch\cyrn\cyro\cyre\ % |
| 5462 |
% \cyrp\cyrr\cyri\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyre |
| 5463 |
% }% |
| 5464 |
% \end{macrocode} |
| 5465 |
% Commented forms of the ``footnote'': have different forms, the |
| 5466 |
% same is for the nominative and accusative. (The others needed?) |
| 5467 |
% \begin{macrocode} |
| 5468 |
% \def\Nomfootnoteautorefname{\cyr\cyrs\cyrn\cyro\cyrs\cyrk\cyra}% |
| 5469 |
% \def\Accfootnoteautorefname{\cyr\cyrs\cyrn\cyro\cyrs\cyrk\cyru}% |
| 5470 |
% \end{macrocode} |
| 5471 |
% |
| 5472 |
% Name of the list item, can be confused with the paragraph |
| 5473 |
% reference name, but reader could understand meaning from context(?). |
| 5474 |
% Commented variant has common form for both nominative and accusative |
| 5475 |
% but changes in other forms, like ``of |\autoref{auto}|'' etc. |
| 5476 |
% \begin{macrocode} |
| 5477 |
\def\itemautorefname{\cyr\cyrp.}% |
| 5478 |
% \def\itemautorefname{\cyr\cyrp\cyru\cyrn\cyrk\cyrt}% |
| 5479 |
% \end{macrocode} |
| 5480 |
% |
| 5481 |
% Names of the figure and table have stable (standard) abbreviation |
| 5482 |
% forms. No problem in the middle of sentence. |
| 5483 |
% \begin{macrocode} |
| 5484 |
\def\figureautorefname{\cyr\cyrr\cyri\cyrs.}% |
| 5485 |
\def\tableautorefname{\cyr\cyrt\cyra\cyrb\cyrl.}% |
| 5486 |
% \end{macrocode} |
| 5487 |
% |
| 5488 |
% Names of the part, chapter, section(s) have stable (standard) |
| 5489 |
% abbreviation forms. No problem in the middle of sentence. |
| 5490 |
% \begin{macrocode} |
| 5491 |
\def\partautorefname{\cyr\cyrch.}% |
| 5492 |
\def\chapterautorefname{\cyr\cyrg\cyrl.}% |
| 5493 |
\def\sectionautorefname{\cyr\cyrr\cyra\cyrz\cyrd.}% |
| 5494 |
% \end{macrocode} |
| 5495 |
% |
| 5496 |
% Name of the appendix can use this abbreviation, but it is not |
| 5497 |
% standard for books, i.e, not for ``the good face of the book''. |
| 5498 |
% Commented variant has common form for both nominative and |
| 5499 |
% accusative but changes in other forms, like ``of |
| 5500 |
% |\autoref{auto}|'' etc. |
| 5501 |
% \begin{macrocode} |
| 5502 |
\def\appendixautorefname{\cyr\cyrp\cyrr\cyri\cyrl.}% |
| 5503 |
% \def\appendixautorefname{% |
| 5504 |
% \cyr\cyrp\cyrr\cyri\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre |
| 5505 |
% }% |
| 5506 |
% \end{macrocode} |
| 5507 |
% |
| 5508 |
% The sectioning command have stable (almost standard) and common |
| 5509 |
% abbreviation form for all levels (the meaning of these references |
| 5510 |
% visible from the section number). No problem. |
| 5511 |
% \begin{macrocode} |
| 5512 |
\def\subsectionautorefname{\cyr\cyrr\cyra\cyrz\cyrd.}% |
| 5513 |
\def\subsubsectionautorefname{\cyr\cyrr\cyra\cyrz\cyrd.}% |
| 5514 |
% \end{macrocode} |
| 5515 |
% |
| 5516 |
% The names of references to paragraphs also have stable |
| 5517 |
% (almost standard) and common abbreviation form for all |
| 5518 |
% levels (the meaning of these references is visible from |
| 5519 |
% the section number). No problem in the middle of sentence. |
| 5520 |
% \begin{macrocode} |
| 5521 |
\def\paragraphautorefname{\cyr\cyrp.}% |
| 5522 |
\def\subparagraphautorefname{\cyr\cyrp.}% |
| 5523 |
% \end{macrocode} |
| 5524 |
% Commented variant can be used in books but since it |
| 5525 |
% has common form for both nominative and accusative but it |
| 5526 |
% changes in other forms, like ``of |\autoref{auto}|'' etc. |
| 5527 |
% \begin{macrocode} |
| 5528 |
% \def\paragraphautorefname{\cyr\cyrp\cyru\cyrn\cyrk\cyrt}% |
| 5529 |
% \def\subparagraphautorefname{\cyr\cyrp\cyru\cyrn\cyrk\cyrt}% |
| 5530 |
% \end{macrocode} |
| 5531 |
% |
| 5532 |
% The name of verbatim line. Here could be a standard of the |
| 5533 |
% abbreviation (used very rare). But the author preprint |
| 5534 |
% publications (which have not any editor or corrector) |
| 5535 |
% can use this abbreviation for the page reference. So the |
| 5536 |
% meaning of the line reference can be read as reference to |
| 5537 |
% the page. |
| 5538 |
% \begin{macrocode} |
| 5539 |
\def\FancyVerbLineautorefname{\cyr\cyrs\cyrt\cyrr.}% |
| 5540 |
% \end{macrocode} |
| 5541 |
% Commented names of the ``verbatim line'': have different forms, |
| 5542 |
% also the nominative and accusative. |
| 5543 |
% \begin{macrocode} |
| 5544 |
% \def\NomFancyVerbLineautorefname{\cyr\cyrs\cyrt\cyrr\cyro\cyrk\cyra}% |
| 5545 |
% \def\AccFancyVerbLineautorefname{\cyr\cyrs\cyrt\cyrr\cyro\cyrk\cyru}% |
| 5546 |
% \end{macrocode} |
| 5547 |
% The alternative, ve-e-e-ery professional abbreviation, |
| 5548 |
% was used in typography markup for typesetters. |
| 5549 |
% \begin{macrocode} |
| 5550 |
% \def\FancyVerbLineautorefname{\cyr\cyrs\cyrt\cyrr\cyrk.}% |
| 5551 |
% \end{macrocode} |
| 5552 |
% |
| 5553 |
% The names of theorem: if we want have ``the good face of |
| 5554 |
% the book'', so the theorem reference must have the full name |
| 5555 |
% (like equation reference). But \ldots |
| 5556 |
% \begin{macrocode} |
| 5557 |
\def\theoremautorefname{\cyr\cyrt\cyre\cyro\cyrr.}% |
| 5558 |
% \end{macrocode} |
| 5559 |
% Commented forms of the ``theorem'': have different forms, also |
| 5560 |
% the nominative and accusative. |
| 5561 |
% \begin{macrocode} |
| 5562 |
% \def\Nomtheoremautorefname{\cyr\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyra}% |
| 5563 |
% \def\Acctheoremautorefname{\cyr\cyrt\cyre\cyro\cyrr\cyre\cyrm\cyru}% |
| 5564 |
% \end{macrocode} |
| 5565 |
% |
| 5566 |
% Name of the page stable (standard) abbreviation form. No problem. |
| 5567 |
% \begin{macrocode} |
| 5568 |
\def\pageautorefname{\cyr\cyrs.}% |
| 5569 |
} |
| 5570 |
% \end{macrocode} |
| 5571 |
% |
| 5572 |
% \begin{macrocode} |
| 5573 |
\def\HyLang@spanish{% |
| 5574 |
\def\equationautorefname{Ecuaci\'on}% |
| 5575 |
\def\footnoteautorefname{Nota a pie de p\'agina}% |
| 5576 |
\def\itemautorefname{Elemento}% |
| 5577 |
\def\figureautorefname{Figura}% |
| 5578 |
\def\tableautorefname{Tabla}% |
| 5579 |
\def\partautorefname{Parte}% |
| 5580 |
\def\appendixautorefname{Ap\'endice}% |
| 5581 |
\def\chapterautorefname{Cap\'itulo}% |
| 5582 |
\def\sectionautorefname{Secci\'on}% |
| 5583 |
\def\subsectionautorefname{Subsecci\'on}% |
| 5584 |
\def\subsubsectionautorefname{Subsubsecci\'on}% |
| 5585 |
\def\paragraphautorefname{P\'arrafo}% |
| 5586 |
\def\subparagraphautorefname{Subp\'arrafo}% |
| 5587 |
\def\FancyVerbLineautorefname{L\'inea}% |
| 5588 |
\def\theoremautorefname{Teorema}% |
| 5589 |
\def\pageautorefname{P\'agina}% |
| 5590 |
} |
| 5591 |
% \end{macrocode} |
| 5592 |
% \begin{macrocode} |
| 5593 |
\def\HyLang@catalan{% |
| 5594 |
\def\equationautorefname{Equaci\'o}% |
| 5595 |
\def\footnoteautorefname{Nota al peu de p\`agina}% |
| 5596 |
\def\itemautorefname{Element}% |
| 5597 |
\def\figureautorefname{Figura}% |
| 5598 |
\def\tableautorefname{Taula}% |
| 5599 |
\def\partautorefname{Part}% |
| 5600 |
\def\appendixautorefname{Ap\`endix}% |
| 5601 |
\def\chapterautorefname{Cap\'itol}% |
| 5602 |
\def\sectionautorefname{Secci\'o}% |
| 5603 |
\def\subsectionautorefname{Subsecci\'o}% |
| 5604 |
\def\subsubsectionautorefname{Subsubsecci\'o}% |
| 5605 |
\def\paragraphautorefname{Par\`agraf}% |
| 5606 |
\def\subparagraphautorefname{Subpar\`agraf}% |
| 5607 |
\def\FancyVerbLineautorefname{L\'inia}% |
| 5608 |
\def\theoremautorefname{Teorema}% |
| 5609 |
\def\pageautorefname{P\`agina}% |
| 5610 |
} |
| 5611 |
% \end{macrocode} |
| 5612 |
% \begin{macrocode} |
| 5613 |
\def\HyLang@vietnamese{% |
| 5614 |
\def\equationautorefname{Ph\uhorn{}\ohorn{}ng tr\`inh}% |
| 5615 |
\def\footnoteautorefname{Ch\'u th\'ich}% |
| 5616 |
\def\itemautorefname{m\d{u}c}% |
| 5617 |
\def\figureautorefname{H\`inh}% |
| 5618 |
\def\tableautorefname{B\h{a}ng}% |
| 5619 |
\def\partautorefname{Ph\`\acircumflex{}n}% |
| 5620 |
\def\appendixautorefname{Ph\d{u} l\d{u}c}% |
| 5621 |
\def\chapterautorefname{ch\uhorn{}\ohorn{}ng}% |
| 5622 |
\def\sectionautorefname{m\d{u}c}% |
| 5623 |
\def\subsectionautorefname{m\d{u}c}% |
| 5624 |
\def\subsubsectionautorefname{m\d{u}c}% |
| 5625 |
\def\paragraphautorefname{\dj{}o\d{a}n}% |
| 5626 |
\def\subparagraphautorefname{\dj{}o\d{a}n}% |
| 5627 |
\def\FancyVerbLineautorefname{d\`ong}% |
| 5628 |
\def\theoremautorefname{\DJ{}\d{i}nh l\'y}% |
| 5629 |
\def\pageautorefname{Trang}% |
| 5630 |
} |
| 5631 |
% \end{macrocode} |
| 5632 |
% Greek, see github issue 52 |
| 5633 |
% \begin{macrocode} |
| 5634 |
\def\HyLang@greek{% |
| 5635 |
\def\equationautorefname{\textEpsilon\textxi\acctonos\textiota\textsigma\textomega\textsigma\texteta}% |
| 5636 |
\def\footnoteautorefname{\textupsilon\textpi\textomicron\textsigma\texteta\textmu\textepsilon\acctonos\textiota\textomega\textsigma\texteta}% |
| 5637 |
\def\itemautorefname{\textalpha\textnu\texttau\textiota\textkappa\textepsilon\acctonos\textiota\textmu\textepsilon\textnu\textomicron}% |
| 5638 |
\def\figureautorefname{\textSigma\textchi\acctonos\texteta\textmu\textalpha}% |
| 5639 |
\def\tableautorefname{\textPi\acctonos\textiota\textnu\textalpha\textkappa\textalpha}% |
| 5640 |
\def\partautorefname{\textMu\acctonos\textepsilon\textrho\textomicron\textvarsigma}% |
| 5641 |
\def\appendixautorefname{\textPi\textalpha\textrho\acctonos\textalpha\textrho\texttau\texteta\textmu\textalpha}% |
| 5642 |
\def\chapterautorefname{\textkappa\textepsilon\textphi\acctonos\textalpha\textlambda\textalpha\textiota\textomicron}% |
| 5643 |
\def\sectionautorefname{\textepsilon\textnu\acctonos\textomicron\texttau\texteta\texttau\textalpha}% |
| 5644 |
\def\subsectionautorefname{\textupsilon\textpi\textomicron\textepsilon\textnu\acctonos\textomicron\texttau\texteta\texttau\textalpha}% |
| 5645 |
\def\subsubsectionautorefname{\textupsilon\textpi\textomicron-\textupsilon\textpi\textomicron\textepsilon\textnu\acctonos\textomicron\texttau\texteta\texttau\textalpha}% |
| 5646 |
\def\paragraphautorefname{\textpi\textalpha\textrho\acctonos\textalpha\textgamma\textrho\textalpha\textphi\textomicron\textvarsigma}% |
| 5647 |
\def\subparagraphautorefname{\textupsilon\textpi\textomicron\textpi\textalpha\textrho\acctonos\textalpha\textgamma\textrho\textalpha\textphi\textomicron\textvarsigma}% |
| 5648 |
\def\FancyVerbLineautorefname{\textgamma\textrho\textalpha\textmu\textmu\acctonos\texteta}% |
| 5649 |
\def\theoremautorefname{\textTheta\textepsilon\acctonos\textomega\textrho\texteta\textmu\textalpha}% |
| 5650 |
\def\pageautorefname{\textsigma\textepsilon\textlambda\acctonos\textiota\textdelta\textalpha}% |
| 5651 |
} |
| 5652 |
% \end{macrocode} |
| 5653 |
% \begin{macrocode} |
| 5654 |
\def\HyLang@dutch{% |
| 5655 |
\def\equationautorefname{Vergelijking}% |
| 5656 |
\def\footnoteautorefname{voetnoot}% |
| 5657 |
\def\itemautorefname{punt}% |
| 5658 |
\def\figureautorefname{Figuur}% |
| 5659 |
\def\tableautorefname{Tabel}% |
| 5660 |
\def\partautorefname{Deel}% |
| 5661 |
\def\appendixautorefname{Bijlage}% |
| 5662 |
\def\chapterautorefname{hoofdstuk}% |
| 5663 |
\def\sectionautorefname{paragraaf}% |
| 5664 |
\def\subsectionautorefname{deelparagraaf}% |
| 5665 |
\def\subsubsectionautorefname{deel-deelparagraaf}% |
| 5666 |
\def\paragraphautorefname{alinea}% |
| 5667 |
\def\subparagraphautorefname{deelalinea}% |
| 5668 |
\def\FancyVerbLineautorefname{regel}% |
| 5669 |
\def\theoremautorefname{Stelling}% |
| 5670 |
\def\pageautorefname{pagina}% |
| 5671 |
} |
| 5672 |
\def\HyLang@norsk{% |
| 5673 |
\def\equationautorefname{Ligning}% |
| 5674 |
\def\footnoteautorefname{fotnote}% |
| 5675 |
\def\itemautorefname{element}% |
| 5676 |
\def\figureautorefname{Figur}% |
| 5677 |
\def\tableautorefname{Tabell}% |
| 5678 |
\def\partautorefname{Del}% |
| 5679 |
\def\appendixautorefname{Tillegg}% |
| 5680 |
\def\chapterautorefname{kapittel}% |
| 5681 |
\def\sectionautorefname{seksjon}% |
| 5682 |
\def\subsectionautorefname{underseksjon}% |
| 5683 |
\def\subsubsectionautorefname{under-underseksjon}% |
| 5684 |
\def\paragraphautorefname{avsnitt}% |
| 5685 |
\def\subparagraphautorefname{underavsnitt}% |
| 5686 |
\def\FancyVerbLineautorefname{Linje}% |
| 5687 |
\def\theoremautorefname{Teorem}% |
| 5688 |
\def\pageautorefname{side}% |
| 5689 |
} |
| 5690 |
\def\HyLang@danish{% |
| 5691 |
\def\equationautorefname{Ligning}% |
| 5692 |
\def\footnoteautorefname{fodnote}% |
| 5693 |
\def\itemautorefname{element}% |
| 5694 |
\def\figureautorefname{Figur}% |
| 5695 |
\def\tableautorefname{Tabel}% |
| 5696 |
\def\partautorefname{Del}% |
| 5697 |
\def\appendixautorefname{Bilag}% |
| 5698 |
\def\chapterautorefname{kapitel}% |
| 5699 |
\def\sectionautorefname{sektion}% |
| 5700 |
\def\subsectionautorefname{under-sektion}% |
| 5701 |
\def\subsubsectionautorefname{under-under-sektion}% |
| 5702 |
\def\paragraphautorefname{afsnit}% |
| 5703 |
\def\subparagraphautorefname{underafsnit}% |
| 5704 |
\def\FancyVerbLineautorefname{linje}% |
| 5705 |
\def\theoremautorefname{Teorem}% |
| 5706 |
\def\pageautorefname{side}% |
| 5707 |
} |
| 5708 |
\def\HyLang@swedish{% |
| 5709 |
\def\equationautorefname{Ekvation}% |
| 5710 |
\def\footnoteautorefname{fotnot}% |
| 5711 |
\def\itemautorefname{punkt}% |
| 5712 |
\def\figureautorefname{Figur}% |
| 5713 |
\def\tableautorefname{Tabell}% |
| 5714 |
\def\partautorefname{Del}% |
| 5715 |
\def\appendixautorefname{Bilaga}% |
| 5716 |
\def\chapterautorefname{kapitel}% |
| 5717 |
\def\sectionautorefname{avsnitt}% |
| 5718 |
\def\subsectionautorefname{underavsnitt}% |
| 5719 |
\def\subsubsectionautorefname{under-underavsnitt}% |
| 5720 |
\def\paragraphautorefname{paragraf}% |
| 5721 |
\def\subparagraphautorefname{underparagraf}% |
| 5722 |
\def\FancyVerbLineautorefname{linje}% |
| 5723 |
\def\theoremautorefname{Teorem}% |
| 5724 |
\def\pageautorefname{sida}% |
| 5725 |
} |
| 5726 |
% \end{macrocode} |
| 5727 |
% |
| 5728 |
% Instead of package babel's definition of \cmd{\addto} the |
| 5729 |
% implementation of package varioref is used. Additionally |
| 5730 |
% argument |#1| is checked for \cmd{\relax}. |
| 5731 |
% \begin{macrocode} |
| 5732 |
\def\HyLang@addto#1#2{% |
| 5733 |
#2% |
| 5734 |
\@temptokena{#2}% |
| 5735 |
\ifx#1\relax |
| 5736 |
\let#1\@empty |
| 5737 |
\fi |
| 5738 |
\ifx#1\@undefined |
| 5739 |
\edef#1{\the\@temptokena}% |
| 5740 |
\else |
| 5741 |
\toks@\expandafter{#1}% |
| 5742 |
\edef#1{\the\toks@\the\@temptokena}% |
| 5743 |
\fi |
| 5744 |
\@temptokena{}\toks@\@temptokena |
| 5745 |
} |
| 5746 |
% \end{macrocode} |
| 5747 |
% |
| 5748 |
% \begin{macrocode} |
| 5749 |
\def\HyLang@DeclareLang#1#2#3{% |
| 5750 |
\ifcsname extras#1\endcsname |
| 5751 |
\expandafter\HyLang@addto |
| 5752 |
\csname extras#1\expandafter\endcsname |
| 5753 |
\csname HyLang@#2\endcsname |
| 5754 |
\begingroup |
| 5755 |
\edef\x{\endgroup |
| 5756 |
#3% |
| 5757 |
}% |
| 5758 |
\x |
| 5759 |
\@namedef{HyLang@#1@done}{}% |
| 5760 |
\fi |
| 5761 |
\begingroup |
| 5762 |
\edef\x##1##2{% |
| 5763 |
\noexpand\ifx##2\relax |
| 5764 |
\errmessage{No definitions for language #2' found!}% |
| 5765 |
\noexpand\fi |
| 5766 |
\endgroup |
| 5767 |
\noexpand\define@key{Hyp}{#1}[]{% |
| 5768 |
\noexpand\@ifundefined{HyLang@#1@done}{% |
| 5769 |
\noexpand\HyLang@addto{\noexpand##1}{\noexpand##2}% |
| 5770 |
#3% |
| 5771 |
\noexpand\@namedef{HyLang@#1@done}{}% |
| 5772 |
}{}% |
| 5773 |
}% |
| 5774 |
}% |
| 5775 |
\expandafter\x\csname extras#1\expandafter\endcsname |
| 5776 |
\csname HyLang@#2\endcsname |
| 5777 |
} |
| 5778 |
\HyLang@DeclareLang{english}{english}{} |
| 5779 |
\HyLang@DeclareLang{UKenglish}{english}{} |
| 5780 |
\HyLang@DeclareLang{british}{english}{} |
| 5781 |
\HyLang@DeclareLang{USenglish}{english}{} |
| 5782 |
\HyLang@DeclareLang{american}{english}{} |
| 5783 |
\HyLang@DeclareLang{german}{german}{} |
| 5784 |
\HyLang@DeclareLang{austrian}{german}{} |
| 5785 |
\HyLang@DeclareLang{ngerman}{german}{} |
| 5786 |
\HyLang@DeclareLang{naustrian}{german}{} |
| 5787 |
\HyLang@DeclareLang{nswissgerman}{german}{} |
| 5788 |
\HyLang@DeclareLang{swissgerman}{german}{} |
| 5789 |
\HyLang@DeclareLang{russian}{russian}{\noexpand\hypersetup{unicode}} |
| 5790 |
\HyLang@DeclareLang{brazil}{portuges}{} |
| 5791 |
\HyLang@DeclareLang{brazilian}{portuges}{} |
| 5792 |
\HyLang@DeclareLang{portuguese}{portuges}{} |
| 5793 |
\HyLang@DeclareLang{spanish}{spanish}{} |
| 5794 |
\HyLang@DeclareLang{catalan}{catalan}{} |
| 5795 |
\HyLang@DeclareLang{afrikaans}{afrikaans}{} |
| 5796 |
\HyLang@DeclareLang{french}{french}{} |
| 5797 |
\HyLang@DeclareLang{frenchb}{french}{} |
| 5798 |
\HyLang@DeclareLang{francais}{french}{} |
| 5799 |
\HyLang@DeclareLang{acadian}{french}{} |
| 5800 |
\HyLang@DeclareLang{canadien}{french}{} |
| 5801 |
\HyLang@DeclareLang{italian}{italian}{} |
| 5802 |
\HyLang@DeclareLang{magyar}{magyar}{} |
| 5803 |
\HyLang@DeclareLang{hungarian}{magyar}{} |
| 5804 |
\HyLang@DeclareLang{greek}{greek}{} |
| 5805 |
\HyLang@DeclareLang{dutch}{dutch}{} |
| 5806 |
\HyLang@DeclareLang{norsk}{norsk}{} |
| 5807 |
\HyLang@DeclareLang{norwegian}{norsk}{} |
| 5808 |
\HyLang@DeclareLang{danish}{danish}{} |
| 5809 |
\HyLang@DeclareLang{swedish}{swedish}{} |
| 5810 |
% \end{macrocode} |
| 5811 |
% More work is needed in case of options |vietnamese| and |vietnam|. |
| 5812 |
% \begin{macrocode} |
| 5813 |
\DeclareVoidOption{vietnamese}{% |
| 5814 |
\HyLang@addto\extrasvietnamese\HyLang@vietnamese |
| 5815 |
\Hy@AtEndOfPackage{% |
| 5816 |
\@ifundefined{T@PU}{}{% |
| 5817 |
\input{puvnenc.def}% |
| 5818 |
}% |
| 5819 |
}% |
| 5820 |
} |
| 5821 |
\DeclareVoidOption{vietnam}{% |
| 5822 |
\HyLang@addto\extrasvietnam\HyLang@vietnamese |
| 5823 |
\Hy@AtEndOfPackage{% |
| 5824 |
\@ifundefined{T@PU}{}{% |
| 5825 |
\input{puvnenc.def}% |
| 5826 |
}% |
| 5827 |
}% |
| 5828 |
} |
| 5829 |
% \end{macrocode} |
| 5830 |
% Similar for option |arabic| that just loads the additions |
| 5831 |
% to PU encoding for Arabi. |
| 5832 |
% \begin{macrocode} |
| 5833 |
\DeclareVoidOption{arabic}{% |
| 5834 |
\Hy@AtEndOfPackage{% |
| 5835 |
\@ifundefined{T@PU}{}{% |
| 5836 |
\input{puarenc.def}% |
| 5837 |
}% |
| 5838 |
}% |
| 5839 |
} |
| 5840 |
% \end{macrocode} |
| 5841 |
% |
| 5842 |
% \section{Options to change appearance of links}\label{appearance} |
| 5843 |
% Colouring links at the \LaTeX\ level is useful for debugging, perhaps. |
| 5844 |
% \begin{macrocode} |
| 5845 |
\define@key{Hyp}{colorlinks}[true]{% |
| 5846 |
\Hy@boolkey{colorlinks}{#1}% |
| 5847 |
} |
| 5848 |
\DeclareVoidOption{hidelinks}{% |
| 5849 |
\Hy@colorlinksfalse |
| 5850 |
\Hy@ocgcolorlinksfalse |
| 5851 |
\Hy@frenchlinksfalse |
| 5852 |
\def\Hy@colorlink##1{\begingroup}% |
| 5853 |
\def\Hy@endcolorlink{\endgroup}% |
| 5854 |
\def\@pdfborder{0 0 0}% |
| 5855 |
\let\@pdfborderstyle\@empty |
| 5856 |
} |
| 5857 |
\define@key{Hyp}{ocgcolorlinks}[true]{% |
| 5858 |
\Hy@boolkey{ocgcolorlinks}{#1}% |
| 5859 |
} |
| 5860 |
\Hy@AtBeginDocument{% |
| 5861 |
\begingroup |
| 5862 |
\@ifundefined{OBJ@OCG@view}{% |
| 5863 |
\ifHy@ocgcolorlinks |
| 5864 |
\Hy@Warning{% |
| 5865 |
Driver does not support `ocgcolorlinks',\MessageBreak |
| 5866 |
using `colorlinks' instead% |
| 5867 |
}% |
| 5868 |
\fi |
| 5869 |
}{}% |
| 5870 |
\endgroup |
| 5871 |
} |
| 5872 |
\define@key{Hyp}{frenchlinks}[true]{% |
| 5873 |
\Hy@boolkey{frenchlinks}{#1}% |
| 5874 |
} |
| 5875 |
% \end{macrocode} |
| 5876 |
% |
| 5877 |
% \section{Bookmarking} |
| 5878 |
% |
| 5879 |
% \begin{macrocode} |
| 5880 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 5881 |
\expandafter\ifx\csname chapter\endcsname\relax |
| 5882 |
\def\toclevel@part{0}% |
| 5883 |
\else |
| 5884 |
\def\toclevel@part{-1}% |
| 5885 |
\fi |
| 5886 |
\def\toclevel@chapter{0} |
| 5887 |
\def\toclevel@section{1} |
| 5888 |
\def\toclevel@subsection{2} |
| 5889 |
\def\toclevel@subsubsection{3} |
| 5890 |
\def\toclevel@paragraph{4} |
| 5891 |
\def\toclevel@subparagraph{5} |
| 5892 |
\def\toclevel@figure{0} |
| 5893 |
\def\toclevel@table{0} |
| 5894 |
% \end{macrocode} |
| 5895 |
% |
| 5896 |
% \begin{macrocode} |
| 5897 |
\define@key{Hyp}{bookmarks}[true]{% |
| 5898 |
\Hy@boolkey{bookmarks}{#1}% |
| 5899 |
} |
| 5900 |
% \end{macrocode} |
| 5901 |
% \begin{macrocode} |
| 5902 |
\define@key{Hyp}{bookmarksopen}[true]{% |
| 5903 |
\Hy@boolkey{bookmarksopen}{#1}% |
| 5904 |
} |
| 5905 |
% \end{macrocode} |
| 5906 |
% |
| 5907 |
% The depth of the outlines is controlled by option |
| 5908 |
% \verb|bookmarksdepth|. |
| 5909 |
% The option acts globally and distinguishes three cases: |
| 5910 |
% \begin{itemize} |
| 5911 |
% \item \verb|bookmarksdepth|: Without value hyperref uses |
| 5912 |
% counter \texttt{tocdepth} (compatible behaviour and default). |
| 5913 |
% \item \verb|bookmarksdepth=<number>|: the depth is set to |
| 5914 |
% \verb|<number>|. |
| 5915 |
% \item \verb|bookmarksdepth=<name>|: The \verb|<name>| must |
| 5916 |
% not start with a number or minus sign. It is a document |
| 5917 |
% division name (part, chapter, section, \dots). Internally |
| 5918 |
% the value of macro \verb|\toclevel@<name>| is used. |
| 5919 |
% \end{itemize} |
| 5920 |
% \begin{macrocode} |
| 5921 |
\let\Hy@bookmarksdepth\c@tocdepth |
| 5922 |
\define@key{Hyp}{bookmarksdepth}[]{% |
| 5923 |
\begingroup |
| 5924 |
\edef\x{#1}% |
| 5925 |
\ifx\x\empty |
| 5926 |
\global\let\Hy@bookmarksdepth\c@tocdepth |
| 5927 |
\else |
| 5928 |
\@ifundefined{toclevel@\x}{% |
| 5929 |
\@onelevel@sanitize\x |
| 5930 |
\edef\y{\expandafter\@car\x\@nil}% |
| 5931 |
\ifcase 0\expandafter\ifx\y-1\fi |
| 5932 |
\expandafter\ifnum\expandafter`\y>47 % |
| 5933 |
\expandafter\ifnum\expandafter`\y<58 1\fi\fi\relax |
| 5934 |
\Hy@Warning{Unknown document division name (\x)}% |
| 5935 |
\else |
| 5936 |
\setbox\z@=\hbox{% |
| 5937 |
\count@=\x |
| 5938 |
\xdef\Hy@bookmarksdepth{\the\count@}% |
| 5939 |
}% |
| 5940 |
\fi |
| 5941 |
}{% |
| 5942 |
\setbox\z@=\hbox{% |
| 5943 |
\count@=\csname toclevel@\x\endcsname |
| 5944 |
\xdef\Hy@bookmarksdepth{\the\count@}% |
| 5945 |
}% |
| 5946 |
}% |
| 5947 |
\fi |
| 5948 |
\endgroup |
| 5949 |
} |
| 5950 |
% \end{macrocode} |
| 5951 |
% |
| 5952 |
% `bookmarksopenlevel' to specify the open level. From Heiko Oberdiek. |
| 5953 |
% \begin{macrocode} |
| 5954 |
\define@key{Hyp}{bookmarksopenlevel}{% |
| 5955 |
\def\@bookmarksopenlevel{#1}% |
| 5956 |
} |
| 5957 |
\def\@bookmarksopenlevel{\maxdimen} |
| 5958 |
% `bookmarkstype' to specify which `toc' file to mimic |
| 5959 |
\define@key{Hyp}{bookmarkstype}{% |
| 5960 |
\def\Hy@bookmarkstype{#1}% |
| 5961 |
} |
| 5962 |
\def\Hy@bookmarkstype{toc} |
| 5963 |
% \end{macrocode} |
| 5964 |
% Richard Curnow <[email protected]> suggested this |
| 5965 |
% functionality. It adds section numbers etc to bookmarks. |
| 5966 |
% \begin{macrocode} |
| 5967 |
\define@key{Hyp}{bookmarksnumbered}[true]{% |
| 5968 |
\Hy@boolkey{bookmarksnumbered}{#1}% |
| 5969 |
} |
| 5970 |
% \end{macrocode} |
| 5971 |
% |
| 5972 |
% Option CJKbookmarks enables the patch for |
| 5973 |
% CJK bookmarks. |
| 5974 |
% \begin{macrocode} |
| 5975 |
\define@key{Hyp}{CJKbookmarks}[true]{% |
| 5976 |
\Hy@boolkey{CJKbookmarks}{#1}% |
| 5977 |
} |
| 5978 |
% \end{macrocode} |
| 5979 |
% |
| 5980 |
% \begin{macrocode} |
| 5981 |
\def\Hy@temp#1{% |
| 5982 |
\expandafter\Hy@@temp\csname @#1color\endcsname{#1}% |
| 5983 |
} |
| 5984 |
\def\Hy@@temp#1#2#3{% |
| 5985 |
\define@key{Hyp}{#2color}{% |
| 5986 |
\HyColor@HyperrefColor{##1}#1% |
| 5987 |
}% |
| 5988 |
\def#1{#3}% |
| 5989 |
} |
| 5990 |
\Hy@temp{link}{red} |
| 5991 |
\Hy@temp{anchor}{black} |
| 5992 |
\Hy@temp{cite}{green} |
| 5993 |
\Hy@temp{file}{cyan} |
| 5994 |
\Hy@temp{url}{magenta} |
| 5995 |
\Hy@temp{menu}{red} |
| 5996 |
\Hy@temp{run}{\@filecolor} |
| 5997 |
\define@key{Hyp}{pagecolor}{% |
| 5998 |
\Hy@WarningPageColor |
| 5999 |
} |
| 6000 |
\def\Hy@WarningPageColor{% |
| 6001 |
\Hy@WarningNoLine{Option `pagecolor' is not available anymore}% |
| 6002 |
\global\let\Hy@WarningPageColor\relax |
| 6003 |
} |
| 6004 |
\define@key{Hyp}{allcolors}{% |
| 6005 |
\HyColor@HyperrefColor{#1}\@linkcolor |
| 6006 |
\HyColor@HyperrefColor{#1}\@anchorcolor |
| 6007 |
\HyColor@HyperrefColor{#1}\@citecolor |
| 6008 |
\HyColor@HyperrefColor{#1}\@filecolor |
| 6009 |
\HyColor@HyperrefColor{#1}\@urlcolor |
| 6010 |
\HyColor@HyperrefColor{#1}\@menucolor |
| 6011 |
\HyColor@HyperrefColor{#1}\@runcolor |
| 6012 |
} |
| 6013 |
% \end{macrocode} |
| 6014 |
% |
| 6015 |
% \begin{macrocode} |
| 6016 |
\def\hyperbaseurl#1{\def\@baseurl{#1}} |
| 6017 |
\define@key{Hyp}{baseurl}{\hyperbaseurl{#1}} |
| 6018 |
\let\@baseurl\@empty |
| 6019 |
\def\hyperlinkfileprefix#1{\def\Hy@linkfileprefix{#1}} |
| 6020 |
\define@key{Hyp}{linkfileprefix}{\hyperlinkfileprefix{#1}} |
| 6021 |
\hyperlinkfileprefix{file:} |
| 6022 |
% \end{macrocode} |
| 6023 |
% |
| 6024 |
% \section{PDF-specific options}\label{pdfopt} |
| 6025 |
% |
| 6026 |
% \begin{macro}{\@pdfpagetransition} |
| 6027 |
% The value of option |pdfpagetransition| is stored in |
| 6028 |
% \cmd{\@pdfpagetransition}. Its initial value is set |
| 6029 |
% to \cmd{\relax} in order to be able to differentiate |
| 6030 |
% between a not used option and an option with an empty |
| 6031 |
% value. |
| 6032 |
% \begin{macrocode} |
| 6033 |
\let\@pdfpagetransition\relax |
| 6034 |
\define@key{Hyp}{pdfpagetransition}{% |
| 6035 |
\def\@pdfpagetransition{#1}% |
| 6036 |
} |
| 6037 |
% \end{macrocode} |
| 6038 |
% \end{macro} |
| 6039 |
% \begin{macro}{\@pdfpageduration} |
| 6040 |
% The value of option |pdfpageduration| is stored in |
| 6041 |
% \cmd{\@pdfpageduration}. Its initial value is set |
| 6042 |
% to \cmd{\relax} in order to be able to differentiate |
| 6043 |
% between a not used option and an option with an empty |
| 6044 |
% value. |
| 6045 |
% \begin{macrocode} |
| 6046 |
\let\@pdfpageduration\relax |
| 6047 |
\define@key{Hyp}{pdfpageduration}{% |
| 6048 |
\def\@pdfpageduration{#1}% |
| 6049 |
\Hy@Match\@pdfpageduration{}{% |
| 6050 |
^(|[0-9]+\.?[0-9]*|[0-9]*\.?[0-9]+)$% |
| 6051 |
}{}{% |
| 6052 |
\Hy@Warning{% |
| 6053 |
Invalid value `\@pdfpageduration'\MessageBreak |
| 6054 |
of option `pdfpageduration'\MessageBreak |
| 6055 |
is replaced by an empty value% |
| 6056 |
}% |
| 6057 |
\let\@pdfpageduration\@empty |
| 6058 |
}% |
| 6059 |
} |
| 6060 |
% \end{macrocode} |
| 6061 |
% \end{macro} |
| 6062 |
% |
| 6063 |
% |
| 6064 |
% The value of the |bordercolor| options are not processed |
| 6065 |
% by the color package. Therefore the value consists of |
| 6066 |
% space separated rgb numbers in the range 0 until 1. |
| 6067 |
% |
| 6068 |
% Package |xcolor| provides |\XC@bordercolor| since version 1.1. |
| 6069 |
% If the two spaces in the color specification are missing, |
| 6070 |
% then the value is processed as color specification from |
| 6071 |
% package |xcolor| by using |\XC@bordercolor| (since |
| 6072 |
% xcolor 2004/05/09 v1.11, versions 2005/03/24 v2.02 until |
| 6073 |
% 2006/11/28 v2.10 do not work because of a bug that is |
| 6074 |
% fixed in 2007/01/21 v2.11). |
| 6075 |
% \begin{macrocode} |
| 6076 |
\def\Hy@ColorList{cite,file,link,menu,run,url} |
| 6077 |
\@for\Hy@temp:=\Hy@ColorList\do{% |
| 6078 |
\edef\Hy@temp{% |
| 6079 |
\noexpand\define@key{Hyp}{\Hy@temp bordercolor}{% |
| 6080 |
\noexpand\HyColor@HyperrefBorderColor |
| 6081 |
{##1}% |
| 6082 |
\expandafter\noexpand\csname @\Hy@temp bordercolor\endcsname |
| 6083 |
{hyperref}% |
| 6084 |
{\Hy@temp bordercolor}% |
| 6085 |
}% |
| 6086 |
}% |
| 6087 |
\Hy@temp |
| 6088 |
} |
| 6089 |
\define@key{Hyp}{pagebordercolor}{% |
| 6090 |
\Hy@WarningPageBorderColor |
| 6091 |
} |
| 6092 |
\def\Hy@WarningPageBorderColor{% |
| 6093 |
\Hy@WarningNoLine{Option `pagebordercolor' is not available anymore}% |
| 6094 |
\global\let\Hy@WarningPageBorderColor\relax |
| 6095 |
} |
| 6096 |
\define@key{Hyp}{allbordercolors}{% |
| 6097 |
\def\Hy@temp##1##2{% |
| 6098 |
\HyColor@HyperrefBorderColor{#1}##1{hyperref}{##2bordercolor}% |
| 6099 |
}% |
| 6100 |
\Hy@temp\@citebordercolor{cite}% |
| 6101 |
\Hy@temp\@filebordercolor{file}% |
| 6102 |
\Hy@temp\@linkbordercolor{link}% |
| 6103 |
\Hy@temp\@menubordercolor{menu}% |
| 6104 |
\Hy@temp\@runbordercolor{run}% |
| 6105 |
\Hy@temp\@urlbordercolor{url}% |
| 6106 |
} |
| 6107 |
% \end{macrocode} |
| 6108 |
% |
| 6109 |
% \begin{macrocode} |
| 6110 |
\define@key{Hyp}{pdfhighlight}{\def\@pdfhighlight{#1}} |
| 6111 |
\Hy@DefNameKey{pdfhighlight}{% |
| 6112 |
\do{/I}{Invert}% |
| 6113 |
\do{/N}{None}% |
| 6114 |
\do{/O}{Outline}% |
| 6115 |
\do{/P}{Push}% |
| 6116 |
} |
| 6117 |
\def\Hy@setpdfhighlight{% |
| 6118 |
\ifx\@pdfhighlight\@empty |
| 6119 |
\else |
| 6120 |
/H\@pdfhighlight |
| 6121 |
\fi |
| 6122 |
} |
| 6123 |
\define@key{Hyp}{pdfborder}{% |
| 6124 |
\let\Hy@temp\@pdfborder |
| 6125 |
\def\@pdfborder{#1}% |
| 6126 |
\Hy@Match\@pdfborder{}{% |
| 6127 |
^\HyPat@NonNegativeReal/ % |
| 6128 |
\HyPat@NonNegativeReal/ % |
| 6129 |
\HyPat@NonNegativeReal/% |
| 6130 |
( ?\[\HyPat@NonNegativeReal/( \HyPat@NonNegativeReal/)*])?$% |
| 6131 |
}{}{% |
| 6132 |
\Hy@Warning{% |
| 6133 |
Invalid value `\@pdfborder'\MessageBreak |
| 6134 |
for option `pdfborder'.\MessageBreak |
| 6135 |
Option setting is ignored% |
| 6136 |
}% |
| 6137 |
\let\@pdfborder\Hy@temp |
| 6138 |
}% |
| 6139 |
} |
| 6140 |
\define@key{Hyp}{pdfborderstyle}{% |
| 6141 |
\let\Hy@temp\@pdfborderstyle |
| 6142 |
\def\@pdfborderstyle{#1}% |
| 6143 |
\Hy@Match\@pdfborderstyle{}{% |
| 6144 |
^% |
| 6145 |
( */Type */Border% |
| 6146 |
| */W +\HyPat@NonNegativeReal/% |
| 6147 |
| */S */[SDBIU]% |
| 6148 |
| */D *\[ *(\HyPat@NonNegativeReal/( \HyPat@NonNegativeReal/)?)?]% |
| 6149 |
)* *$% |
| 6150 |
}{}{% |
| 6151 |
\Hy@Warning{% |
| 6152 |
Invalid value `\@pdfborderstyle'\MessageBreak |
| 6153 |
for option `pdfborderstyle'.\MessageBreak |
| 6154 |
Option setting is ignored% |
| 6155 |
}% |
| 6156 |
\let\@pdfborderstyle\Hy@temp |
| 6157 |
}% |
| 6158 |
} |
| 6159 |
\def\Hy@setpdfborder{% |
| 6160 |
\ifx\@pdfborder\@empty |
| 6161 |
\else |
| 6162 |
/Border[\@pdfborder]% |
| 6163 |
\fi |
| 6164 |
\ifx\@pdfborderstyle\@empty |
| 6165 |
\else |
| 6166 |
/BS<<\@pdfborderstyle>>% |
| 6167 |
\fi |
| 6168 |
} |
| 6169 |
\Hy@DefNameKey{pdfpagemode}{% |
| 6170 |
\do{UseNone}{}% |
| 6171 |
\do{UseOutlines}{}% |
| 6172 |
\do{UseThumbs}{}% |
| 6173 |
\do{FullScreen}{}% |
| 6174 |
\do{UseOC}{PDF 1.5}% |
| 6175 |
\do{UseAttachments}{PDF 1.6}% |
| 6176 |
} |
| 6177 |
\Hy@DefNameKey{pdfnonfullscreenpagemode}{% |
| 6178 |
\do{UseNone}{}% |
| 6179 |
\do{UseOutlines}{}% |
| 6180 |
\do{UseThumbs}{}% |
| 6181 |
\do{FullScreen}{}% |
| 6182 |
\do{UseOC}{PDF 1.5}% |
| 6183 |
\do{UseAttachments}{PDF 1.6}% |
| 6184 |
} |
| 6185 |
\Hy@DefNameKey{pdfdirection}{% |
| 6186 |
\do{L2R}{Left to right}% |
| 6187 |
\do{R2L}{Right to left}% |
| 6188 |
} |
| 6189 |
\Hy@DefNameKey{pdfviewarea}{% |
| 6190 |
\do{MediaBox}{}% |
| 6191 |
\do{CropBox}{}% |
| 6192 |
\do{BleedBox}{}% |
| 6193 |
\do{TrimBox}{}% |
| 6194 |
\do{ArtBox}{}% |
| 6195 |
} |
| 6196 |
\Hy@DefNameKey{pdfviewclip}{% |
| 6197 |
\do{MediaBox}{}% |
| 6198 |
\do{CropBox}{}% |
| 6199 |
\do{BleedBox}{}% |
| 6200 |
\do{TrimBox}{}% |
| 6201 |
\do{ArtBox}{}% |
| 6202 |
} |
| 6203 |
\Hy@DefNameKey{pdfprintarea}{% |
| 6204 |
\do{MediaBox}{}% |
| 6205 |
\do{CropBox}{}% |
| 6206 |
\do{BleedBox}{}% |
| 6207 |
\do{TrimBox}{}% |
| 6208 |
\do{ArtBox}{}% |
| 6209 |
} |
| 6210 |
\Hy@DefNameKey{pdfprintclip}{% |
| 6211 |
\do{MediaBox}{}% |
| 6212 |
\do{CropBox}{}% |
| 6213 |
\do{BleedBox}{}% |
| 6214 |
\do{TrimBox}{}% |
| 6215 |
\do{ArtBox}{}% |
| 6216 |
} |
| 6217 |
\Hy@DefNameKey{pdfprintscaling}{% |
| 6218 |
\do{AppDefault}{}% |
| 6219 |
\do{None}{}% |
| 6220 |
} |
| 6221 |
\Hy@DefNameKey{pdfduplex}{% |
| 6222 |
\do{Simplex}{}% |
| 6223 |
\do{DuplexFlipShortEdge}{}% |
| 6224 |
\do{DuplexFlipLongEdge}{}% |
| 6225 |
} |
| 6226 |
\Hy@DefNameKey{pdfpicktraybypdfsize}{% |
| 6227 |
\do{true}{}% |
| 6228 |
\do{false}{}% |
| 6229 |
} |
| 6230 |
\define@key{Hyp}{pdfprintpagerange}{% |
| 6231 |
\def\@pdfprintpagerange{#1}% |
| 6232 |
} |
| 6233 |
\Hy@DefNameKey{pdfnumcopies}{% |
| 6234 |
\do{2}{two copies}% |
| 6235 |
\do{3}{three copies}% |
| 6236 |
\do{4}{four copies}% |
| 6237 |
\do{5}{five copies}% |
| 6238 |
} |
| 6239 |
% \end{macrocode} |
| 6240 |
% \begin{macrocode} |
| 6241 |
\define@key{Hyp}{pdfusetitle}[true]{% |
| 6242 |
\Hy@boolkey{pdfusetitle}{#1}% |
| 6243 |
} |
| 6244 |
\def\HyXeTeX@CheckUnicode{% |
| 6245 |
\ifxetex |
| 6246 |
\ifHy@unicode |
| 6247 |
\else |
| 6248 |
\Hy@WarningNoLine{% |
| 6249 |
XeTeX driver only supports unicode.\MessageBreak |
| 6250 |
Enabling option `unicode'% |
| 6251 |
}% |
| 6252 |
\kvsetkeys{Hyp}{unicode}% |
| 6253 |
\fi |
| 6254 |
\else |
| 6255 |
\let\HyXeTeX@CheckUnicode\relax |
| 6256 |
\fi |
| 6257 |
} |
| 6258 |
\def\HyPsd@PrerenderUnicode#1{% |
| 6259 |
\begingroup |
| 6260 |
\expandafter\ifx\csname PrerenderUnicode\endcsname\relax |
| 6261 |
\else |
| 6262 |
\sbox0{% |
| 6263 |
\let\GenericInfo\@gobbletwo |
| 6264 |
\let\GenericWarning\@gobbletwo |
| 6265 |
\let\GenericError\@gobblefour |
| 6266 |
\PrerenderUnicode{#1}% |
| 6267 |
}% |
| 6268 |
\fi |
| 6269 |
\endgroup |
| 6270 |
} |
| 6271 |
\define@key{Hyp}{pdftitle}{% |
| 6272 |
\AddToDocumentProperties[hyperref]{pdftitle}{#1}% |
| 6273 |
\HyXeTeX@CheckUnicode |
| 6274 |
\HyPsd@PrerenderUnicode{#1}% |
| 6275 |
\pdfstringdef\@pdftitle{#1}% |
| 6276 |
} |
| 6277 |
\define@key{Hyp}{pdfauthor}{% |
| 6278 |
\AddToDocumentProperties[hyperref]{pdfauthor}{#1}% |
| 6279 |
\HyXeTeX@CheckUnicode |
| 6280 |
\HyPsd@PrerenderUnicode{#1}% |
| 6281 |
\pdfstringdef\@pdfauthor{#1}% |
| 6282 |
} |
| 6283 |
\define@key{Hyp}{pdfproducer}{% |
| 6284 |
\AddToDocumentProperties[hyperref]{pdfproducer}{#1}% |
| 6285 |
\HyXeTeX@CheckUnicode |
| 6286 |
\HyPsd@PrerenderUnicode{#1}% |
| 6287 |
\pdfstringdef\@pdfproducer{#1}% |
| 6288 |
} |
| 6289 |
\define@key{Hyp}{pdfcreator}{% |
| 6290 |
\AddToDocumentProperties[hyperref]{pdfcreator}{#1}% |
| 6291 |
\HyXeTeX@CheckUnicode |
| 6292 |
\HyPsd@PrerenderUnicode{#1}% |
| 6293 |
\pdfstringdef\@pdfcreator{#1}% |
| 6294 |
} |
| 6295 |
\define@key{Hyp}{addtopdfcreator}{% |
| 6296 |
\HyXeTeX@CheckUnicode |
| 6297 |
\HyPsd@PrerenderUnicode{#1}% |
| 6298 |
\pdfstringdef\@pdfcreator{\@pdfcreator, #1}% |
| 6299 |
} |
| 6300 |
\define@key{Hyp}{pdfcreationdate}{% |
| 6301 |
\begingroup |
| 6302 |
\Hy@unicodefalse |
| 6303 |
\pdfstringdef\@pdfcreationdate{#1}% |
| 6304 |
\endgroup |
| 6305 |
} |
| 6306 |
\define@key{Hyp}{pdfmoddate}{% |
| 6307 |
\begingroup |
| 6308 |
\Hy@unicodefalse |
| 6309 |
\pdfstringdef\@pdfmoddate{#1}% |
| 6310 |
\endgroup |
| 6311 |
} |
| 6312 |
\define@key{Hyp}{pdfsubject}{% |
| 6313 |
\AddToDocumentProperties[hyperref]{pdfsubject}{#1}% |
| 6314 |
\HyXeTeX@CheckUnicode |
| 6315 |
\HyPsd@PrerenderUnicode{#1}% |
| 6316 |
\pdfstringdef\@pdfsubject{#1}% |
| 6317 |
} |
| 6318 |
\define@key{Hyp}{pdfkeywords}{% |
| 6319 |
\AddToDocumentProperties[hyperref]{pdfkeywords}{#1}% |
| 6320 |
\HyXeTeX@CheckUnicode |
| 6321 |
\HyPsd@PrerenderUnicode{#1}% |
| 6322 |
\pdfstringdef\@pdfkeywords{#1}% |
| 6323 |
} |
| 6324 |
\define@key{Hyp}{pdftrapped}{% |
| 6325 |
\lowercase{\edef\Hy@temp{#1}}% |
| 6326 |
\ifx\Hy@temp\HyInfo@trapped@true |
| 6327 |
\def\@pdftrapped{True}% |
| 6328 |
\else |
| 6329 |
\ifx\Hy@temp\HyInfo@trapped@false |
| 6330 |
\def\@pdftrapped{False}% |
| 6331 |
\else |
| 6332 |
\ifx\Hy@temp\HyInfo@trapped@unknown |
| 6333 |
\def\@pdftrapped{Unknown}% |
| 6334 |
\else |
| 6335 |
\ifx\Hy@temp\@empty |
| 6336 |
\else |
| 6337 |
\Hy@Warning{% |
| 6338 |
Unsupported value `#1'\MessageBreak |
| 6339 |
for option `pdftrapped'% |
| 6340 |
}% |
| 6341 |
\fi |
| 6342 |
\def\@pdftrapped{}% |
| 6343 |
\fi |
| 6344 |
\fi |
| 6345 |
\fi |
| 6346 |
} |
| 6347 |
\def\HyInfo@trapped@true{true} |
| 6348 |
\def\HyInfo@trapped@false{false} |
| 6349 |
\def\HyInfo@trapped@unknown{unknown} |
| 6350 |
\def\HyInfo@TrappedUnsupported{% |
| 6351 |
\ifx\@pdftrapped\@empty |
| 6352 |
\else |
| 6353 |
\Hy@WarningNoLine{`pdftrapped' is not supported by this driver}% |
| 6354 |
\gdef\HyInfo@TrappedUnsupported{}% |
| 6355 |
\fi |
| 6356 |
} |
| 6357 |
\define@key{Hyp}{pdfinfo}{% |
| 6358 |
\kvsetkeys{pdfinfo}{#1}% |
| 6359 |
} |
| 6360 |
\def\Hy@temp#1{% |
| 6361 |
\lowercase{\Hy@temp@A{#1}}{#1}% |
| 6362 |
} |
| 6363 |
\def\Hy@temp@A#1#2{% |
| 6364 |
\define@key{pdfinfo}{#2}{% |
| 6365 |
\hypersetup{pdf#1={##1}}% |
| 6366 |
}% |
| 6367 |
} |
| 6368 |
\Hy@temp{Title} |
| 6369 |
\Hy@temp{Author} |
| 6370 |
\Hy@temp{Keywords} |
| 6371 |
\Hy@temp{Subject} |
| 6372 |
\Hy@temp{Creator} |
| 6373 |
\Hy@temp{Producer} |
| 6374 |
\Hy@temp{CreationDate} |
| 6375 |
\Hy@temp{ModDate} |
| 6376 |
\Hy@temp{Trapped} |
| 6377 |
\newif\ifHyInfo@AddonUnsupported |
| 6378 |
\kv@set@family@handler{pdfinfo}{% |
| 6379 |
\HyInfo@AddonHandler{#1}{#2}% |
| 6380 |
} |
| 6381 |
\let\HyInfo@do\relax |
| 6382 |
\def\HyInfo@AddonHandler#1#2{% |
| 6383 |
\ifx\kv@value\relax |
| 6384 |
\Hy@Warning{% |
| 6385 |
Option `pdfinfo': ignoring key `\kv@key' without value% |
| 6386 |
}% |
| 6387 |
\else |
| 6388 |
\EdefEscapeName\HyInfo@KeyEscaped{\kv@key}% |
| 6389 |
\EdefUnescapeName\HyInfo@Key{\HyInfo@KeyEscaped}% |
| 6390 |
\expandafter\ifx\csname KV@pdfinfo@\HyInfo@Key\endcsname\relax |
| 6391 |
\ifHyInfo@AddonUnsupported |
| 6392 |
\Hy@Warning{% |
| 6393 |
This driver does not support additional\MessageBreak |
| 6394 |
information entries, therefore\MessageBreak |
| 6395 |
`\kv@key' is ignored% |
| 6396 |
}% |
| 6397 |
\else |
| 6398 |
\def\HyInfo@tmp##1{% |
| 6399 |
\kv@define@key{pdfinfo}{##1}{% |
| 6400 |
\HyXeTeX@CheckUnicode |
| 6401 |
\HyPsd@PrerenderUnicode{####1}% |
| 6402 |
\pdfstringdef\HyInfo@Value{####1}% |
| 6403 |
\global\expandafter |
| 6404 |
\let\csname HyInfo@Value@##1\endcsname |
| 6405 |
\HyInfo@Value |
| 6406 |
}% |
| 6407 |
}% |
| 6408 |
\expandafter\HyInfo@tmp\expandafter{\HyInfo@Key}% |
| 6409 |
\global\expandafter |
| 6410 |
\let\csname KV@pdfinfo@\HyInfo@Key\expandafter\endcsname |
| 6411 |
\csname KV@pdfinfo@\HyInfo@Key\endcsname |
| 6412 |
\xdef\HyInfo@AddonList{% |
| 6413 |
\HyInfo@AddonList |
| 6414 |
\HyInfo@do{\HyInfo@Key}% |
| 6415 |
}% |
| 6416 |
\expandafter\kv@parse@normalized\expandafter{% |
| 6417 |
\HyInfo@Key={#2}% |
| 6418 |
}{% |
| 6419 |
\kv@processor@default{pdfinfo}% |
| 6420 |
}% |
| 6421 |
\fi |
| 6422 |
\else |
| 6423 |
\expandafter\kv@parse@normalized\expandafter{% |
| 6424 |
\HyInfo@Key={#2}% |
| 6425 |
}{% |
| 6426 |
\kv@processor@default{pdfinfo}% |
| 6427 |
}% |
| 6428 |
\fi |
| 6429 |
\fi |
| 6430 |
} |
| 6431 |
\def\HyInfo@GenerateAddons{% |
| 6432 |
\ifHyInfo@AddonUnsupported |
| 6433 |
\def\HyInfo@Addons{}% |
| 6434 |
\else |
| 6435 |
\begingroup |
| 6436 |
\toks@{}% |
| 6437 |
\def\HyInfo@do##1{% |
| 6438 |
\EdefEscapeName\HyInfo@Key{##1}% |
| 6439 |
\edef\x{% |
| 6440 |
\toks@{% |
| 6441 |
\the\toks@ |
| 6442 |
/\HyInfo@Key(\csname HyInfo@Value@##1\endcsname)% |
| 6443 |
}% |
| 6444 |
}% |
| 6445 |
\x |
| 6446 |
}% |
| 6447 |
\HyInfo@AddonList |
| 6448 |
\edef\x{\endgroup |
| 6449 |
\def\noexpand\HyInfo@Addons{\the\toks@}% |
| 6450 |
}% |
| 6451 |
\x |
| 6452 |
\fi |
| 6453 |
} |
| 6454 |
\global\let\HyInfo@AddonList\@empty |
| 6455 |
% \end{macrocode} |
| 6456 |
% \begin{macrocode} |
| 6457 |
\define@key{Hyp}{pdfview}{\calculate@pdfview#1 \\} |
| 6458 |
\define@key{Hyp}{pdflinkmargin}{\setpdflinkmargin{#1}} |
| 6459 |
\let\setpdflinkmargin\@gobble |
| 6460 |
\def\calculate@pdfview#1 #2\\{% |
| 6461 |
\def\@pdfview{#1}% |
| 6462 |
\ifx\\#2\\% |
| 6463 |
\def\@pdfviewparams{ -32768}% |
| 6464 |
\else |
| 6465 |
\def\@pdfviewparams{ #2}% |
| 6466 |
\fi |
| 6467 |
} |
| 6468 |
\def\Hy@number#1{% |
| 6469 |
\the\numexpr#1\relax |
| 6470 |
}% |
| 6471 |
\define@key{Hyp}{pdfstartpage}{% |
| 6472 |
\ifx\\#1\\% |
| 6473 |
\let\@pdfstartpage\@empty |
| 6474 |
\else |
| 6475 |
\edef\@pdfstartpage{\Hy@number{#1}}% |
| 6476 |
\fi |
| 6477 |
}% |
| 6478 |
\define@key{Hyp}{pdfstartview}{% |
| 6479 |
\ifx\\#1\\% |
| 6480 |
\let\@pdfstartview\@empty |
| 6481 |
\else |
| 6482 |
\def\@pdfstartview{/#1}% |
| 6483 |
\fi |
| 6484 |
} |
| 6485 |
\def\HyPat@NonNegativeReal/{% |
| 6486 |
\ *([0-9]+\.?[0-9]*|[0-9]*\.?[0-9]+) *% |
| 6487 |
} |
| 6488 |
\define@key{Hyp}{pdfremotestartview}{% |
| 6489 |
\ifx\\#1\\% |
| 6490 |
\def\@pdfremotestartview{/Fit}% |
| 6491 |
\else |
| 6492 |
\edef\@pdfremotestartview{#1}% |
| 6493 |
\Hy@Match\@pdfremotestartview{}{% |
| 6494 |
^(XYZ(% |
| 6495 |
()| % |
| 6496 |
(null|-?\HyPat@NonNegativeReal/) % |
| 6497 |
(null|-?\HyPat@NonNegativeReal/) % |
| 6498 |
(null|\HyPat@NonNegativeReal/)% |
| 6499 |
)|% end of "XYZ" |
| 6500 |
Fit(% |
| 6501 |
()|% |
| 6502 |
B|% |
| 6503 |
(H|V|BH|BV)(% |
| 6504 |
()| % |
| 6505 |
(null|\HyPat@NonNegativeReal/)% |
| 6506 |
)|% |
| 6507 |
R % |
| 6508 |
\HyPat@NonNegativeReal/ % |
| 6509 |
\HyPat@NonNegativeReal/ % |
| 6510 |
\HyPat@NonNegativeReal/ % |
| 6511 |
\HyPat@NonNegativeReal/% |
| 6512 |
)% end of "Fit" |
| 6513 |
)$% |
| 6514 |
}{}{% |
| 6515 |
\Hy@Warning{% |
| 6516 |
Invalid value `\@pdfremotestartview'\MessageBreak |
| 6517 |
of `pdfremotestartview'\MessageBreak |
| 6518 |
is replaced by `Fit'% |
| 6519 |
}% |
| 6520 |
\let\@pdfremotestartview\@empty |
| 6521 |
}% |
| 6522 |
\ifx\@pdfremotestartview\@empty |
| 6523 |
\def\@pdfremotestartview{/Fit}% |
| 6524 |
\else |
| 6525 |
\edef\@pdfremotestartview{/\@pdfremotestartview}% |
| 6526 |
\fi |
| 6527 |
\fi |
| 6528 |
} |
| 6529 |
\define@key{Hyp}{pdfpagescrop}{\edef\@pdfpagescrop{#1}} |
| 6530 |
\define@key{Hyp}{pdftoolbar}[true]{% |
| 6531 |
\Hy@boolkey{pdftoolbar}{#1}% |
| 6532 |
} |
| 6533 |
\define@key{Hyp}{pdfmenubar}[true]{% |
| 6534 |
\Hy@boolkey{pdfmenubar}{#1}% |
| 6535 |
} |
| 6536 |
\define@key{Hyp}{pdfwindowui}[true]{% |
| 6537 |
\Hy@boolkey{pdfwindowui}{#1}% |
| 6538 |
} |
| 6539 |
\define@key{Hyp}{pdffitwindow}[true]{% |
| 6540 |
\Hy@boolkey{pdffitwindow}{#1}% |
| 6541 |
} |
| 6542 |
\define@key{Hyp}{pdfcenterwindow}[true]{% |
| 6543 |
\Hy@boolkey{pdfcenterwindow}{#1}% |
| 6544 |
} |
| 6545 |
\define@key{Hyp}{pdfdisplaydoctitle}[true]{% |
| 6546 |
\Hy@boolkey{pdfdisplaydoctitle}{#1}% |
| 6547 |
} |
| 6548 |
\define@key{Hyp}{pdfa}[true]{% |
| 6549 |
\IfDocumentMetadataTF |
| 6550 |
{ |
| 6551 |
\PackageWarning{hyperref}{% |
| 6552 |
\string\DocumentMetadata\space detected.\MessageBreak |
| 6553 |
The 'pdfa' key will be ignored.\MessageBreak |
| 6554 |
Please set the PDF/A standard in \string\DocumentMetadata\MessageBreak |
| 6555 |
with the 'pdfstandard' key.} |
| 6556 |
} |
| 6557 |
{\Hy@boolkey{pdfa}{#1}}% |
| 6558 |
} |
| 6559 |
|
| 6560 |
\define@key{Hyp}{pdfnewwindow}[true]{% |
| 6561 |
\def\Hy@temp{#1}% |
| 6562 |
\ifx\Hy@temp\@empty |
| 6563 |
\Hy@pdfnewwindowsetfalse |
| 6564 |
\else |
| 6565 |
\Hy@pdfnewwindowsettrue |
| 6566 |
\Hy@boolkey{pdfnewwindow}{#1}% |
| 6567 |
\fi |
| 6568 |
} |
| 6569 |
\def\Hy@SetNewWindow{% |
| 6570 |
\ifHy@pdfnewwindowset |
| 6571 |
/NewWindow % |
| 6572 |
\ifHy@pdfnewwindow true\else false\fi |
| 6573 |
\fi |
| 6574 |
} |
| 6575 |
\Hy@DefNameKey{pdfpagelayout}{% |
| 6576 |
\do{SinglePage}{}% |
| 6577 |
\do{OneColumn}{}% |
| 6578 |
\do{TwoColumnLeft}{}% |
| 6579 |
\do{TwoColumnRight}{}% |
| 6580 |
\do{TwoPageLeft}{PDF 1.5}% |
| 6581 |
\do{TwoPageRight}{PDF 1.5}% |
| 6582 |
} |
| 6583 |
\define@key{Hyp}{pdflang}{% |
| 6584 |
\edef\@pdflang{#1}% |
| 6585 |
\def\Hy@temp{\relax}% |
| 6586 |
\ifx\@pdflang\Hy@temp |
| 6587 |
\let\@pdflang\relax |
| 6588 |
\fi |
| 6589 |
\ifx\@pdflang\relax |
| 6590 |
\else |
| 6591 |
\ifx\@pdflang\@empty |
| 6592 |
\else |
| 6593 |
% \end{macrocode} |
| 6594 |
% Test according to ABNF of RFC 3066. |
| 6595 |
% \begin{macrocode} |
| 6596 |
\Hy@Match\@pdflang{icase}{% |
| 6597 |
^% |
| 6598 |
[a-z]{1,8}% |
| 6599 |
(-[a-z0-9]{1,8})*% |
| 6600 |
$% |
| 6601 |
}{% |
| 6602 |
% \end{macrocode} |
| 6603 |
% Test according to ABNF of RFC 5646. |
| 6604 |
% \begin{macrocode} |
| 6605 |
\Hy@Match\@pdflang{icase}{% |
| 6606 |
^% |
| 6607 |
(% |
| 6608 |
% langtag |
| 6609 |
(% language |
| 6610 |
[a-z]{2,3}% |
| 6611 |
([a-z]{3}(-[a-z]{3}){0,2})?% extlang |
| 6612 |
|[a-z]{4}% reserved for future use |
| 6613 |
|[a-z]{5,8}% registered language subtag |
| 6614 |
)% |
| 6615 |
(-[a-z]{4})?% script |
| 6616 |
(-([a-z]{2}|[0-9]{3}))?% region |
| 6617 |
(-([a-z]{5,8}|[0-9][a-z0-9]{3}))*% variant |
| 6618 |
(-[0-9a-wyz](-[a-z0-9]{2,8})+)*% extension |
| 6619 |
(-x(-[a-z0-9]{1,8})+)?% privateuse |
| 6620 |
% privateuse |
| 6621 |
|x-([a-z0-9]{1,8})+% |
| 6622 |
% grandfathered/irregular |
| 6623 |
|en-GB-oed% |
| 6624 |
|i-(ami|bnn|default|enochian|hak|klingon|lux|% |
| 6625 |
mingo|navajo|pwn|tao|tay|tsu)% |
| 6626 |
|sgn-(BE-FR|BE-NL|CH-DE)% |
| 6627 |
% grandfathered/regular |
| 6628 |
|art-lojban% |
| 6629 |
|cel-gaulish% |
| 6630 |
|no-(bok|nyn)% |
| 6631 |
|zh-(guoyu|hakka|min|min-nan|xiang)% |
| 6632 |
)% |
| 6633 |
$% |
| 6634 |
}{% |
| 6635 |
% \end{macrocode} |
| 6636 |
% Test for unique extensions. |
| 6637 |
% \begin{macrocode} |
| 6638 |
\Hy@Match{-\@pdflang}{icase}{-[a-wyz0-9]-}{% |
| 6639 |
\Hy@Match\@pdflang{icase}{^x-}{}{% |
| 6640 |
% remove privateuse |
| 6641 |
\edef\Hy@temp{-\@pdflang}% |
| 6642 |
\Hy@Match\Hy@temp{icase}{% |
| 6643 |
^% |
| 6644 |
(% |
| 6645 |
(-[a-wyz0-9]|-[a-z0-9]{2,8})*% |
| 6646 |
)% |
| 6647 |
-x-% |
| 6648 |
}{% |
| 6649 |
\edef\Hy@temp{% |
| 6650 |
\expandafter\strip@prefix\pdflastmatch1% |
| 6651 |
}% |
| 6652 |
}{}% |
| 6653 |
\Hy@Match\Hy@temp{icase}{% |
| 6654 |
(-[a-wyz0-9]-).*\@backslashchar1% |
| 6655 |
}{% |
| 6656 |
\Hy@Warning{% |
| 6657 |
Invalid language identifier `#1'\MessageBreak |
| 6658 |
for option `pdflang', because it violates\MessageBreak |
| 6659 |
well-formedness defined in RFC 4646\MessageBreak |
| 6660 |
by duplicate singleton subtags% |
| 6661 |
}% |
| 6662 |
\let\@pdflang\relax |
| 6663 |
}{}% |
| 6664 |
}% |
| 6665 |
}{}% |
| 6666 |
% \end{macrocode} |
| 6667 |
% User-assigned country codes are forbidden in language tags (RFC 3066). |
| 6668 |
% \begin{macrocode} |
| 6669 |
\ifx\@pdflang\relax |
| 6670 |
\else |
| 6671 |
\Hy@Match\@pdflang{icase}{% |
| 6672 |
^% |
| 6673 |
[a-zA-Z]{2}-% |
| 6674 |
(% |
| 6675 |
aa|AA|% |
| 6676 |
[qQ][m-zM-Z]|% |
| 6677 |
[xX][a-zA-Z]|% |
| 6678 |
zz|ZZ% |
| 6679 |
)% |
| 6680 |
(-|$)% |
| 6681 |
}{% |
| 6682 |
\Hy@Warning{% |
| 6683 |
Invalid language identifier `#1'\MessageBreak |
| 6684 |
for option `pdflang' because of invalid country code% |
| 6685 |
\MessageBreak |
| 6686 |
in second subtag (RFC 3066)% |
| 6687 |
}% |
| 6688 |
\let\@pdflang\relax |
| 6689 |
}{}% |
| 6690 |
\fi |
| 6691 |
}{% |
| 6692 |
\Hy@Warning{% |
| 6693 |
Invalid language identifier `#1'\MessageBreak |
| 6694 |
for option `pdflang', because it violates\MessageBreak |
| 6695 |
well-formedness defined in RFC 5646% |
| 6696 |
}% |
| 6697 |
\let\@pdflang\relax |
| 6698 |
}% |
| 6699 |
}{% |
| 6700 |
\Hy@Warning{% |
| 6701 |
Invalid language identifier `#1'\MessageBreak |
| 6702 |
for option `pdflang' (RFC 3066)% |
| 6703 |
}% |
| 6704 |
\let\@pdflang\relax |
| 6705 |
}% |
| 6706 |
\fi |
| 6707 |
\fi |
| 6708 |
} |
| 6709 |
\define@key{Hyp}{pdfpagelabels}[true]{% |
| 6710 |
\Hy@boolkey{pdfpagelabels}{#1}% |
| 6711 |
} |
| 6712 |
\define@key{Hyp}{pdfescapeform}[true]{% |
| 6713 |
\Hy@boolkey{pdfescapeform}{#1}% |
| 6714 |
} |
| 6715 |
% \end{macrocode} |
| 6716 |
% Default values: |
| 6717 |
% \begin{macrocode} |
| 6718 |
\def\@linkbordercolor{1 0 0} |
| 6719 |
\def\@urlbordercolor{0 1 1} |
| 6720 |
\def\@menubordercolor{1 0 0} |
| 6721 |
\def\@filebordercolor{0 .5 .5} |
| 6722 |
\def\@runbordercolor{0 .7 .7} |
| 6723 |
\def\@citebordercolor{0 1 0} |
| 6724 |
\def\@pdfhighlight{/I} |
| 6725 |
\let\@pdftitle\@empty |
| 6726 |
\let\@pdfauthor\@empty |
| 6727 |
\let\@pdfproducer\relax |
| 6728 |
\def\@pdfcreator{LaTeX with hyperref} |
| 6729 |
\let\@pdfcreationdate\@empty |
| 6730 |
\let\@pdfmoddate\@empty |
| 6731 |
\let\@pdfsubject\@empty |
| 6732 |
\let\@pdfkeywords\@empty |
| 6733 |
\let\@pdftrapped\@empty |
| 6734 |
\let\@pdfpagescrop\@empty |
| 6735 |
\def\@pdfstartview{/Fit} |
| 6736 |
\def\@pdfremotestartview{/Fit} |
| 6737 |
\def\@pdfstartpage{1} |
| 6738 |
\let\@pdfprintpagerange\@empty |
| 6739 |
\let\@pdflang\relax |
| 6740 |
\let\PDF@SetupDoc\@empty |
| 6741 |
\let\PDF@FinishDoc\@empty |
| 6742 |
\let\phantomsection\@empty |
| 6743 |
\let\special@paper\@empty |
| 6744 |
\def\HyperDestNameFilter#1{#1} |
| 6745 |
\Hy@AtBeginDocument{% |
| 6746 |
\begingroup |
| 6747 |
\edef\x{\ifdim\stockheight>\z@ \stockheight\else\paperheight\fi}% |
| 6748 |
\dimen@=\x\relax |
| 6749 |
\ifdim\dimen@>\z@ |
| 6750 |
\else |
| 6751 |
\dimen@=11in\relax |
| 6752 |
\Hy@WarningNoLine{% |
| 6753 |
Height of page (\expandafter\string\x) % |
| 6754 |
is invalid (\the\x),\MessageBreak |
| 6755 |
using 11in% |
| 6756 |
}% |
| 6757 |
\fi |
| 6758 |
\dimen@=0.99626401\dimen@ |
| 6759 |
\xdef\Hy@pageheight{\strip@pt\dimen@}% |
| 6760 |
\endgroup |
| 6761 |
} |
| 6762 |
\def\HyInd@EncapChar{\|} |
| 6763 |
% \end{macrocode} |
| 6764 |
% |
| 6765 |
% Allow the user to use |\ExecuteOptions| in the cfg file even though |
| 6766 |
% this package does not use the normal option mechanism. |
| 6767 |
% Use |\hyper@normalise| as a scratch macro, since it is going to |
| 6768 |
% be defined in a couple of lines anyway. |
| 6769 |
% \begin{macrocode} |
| 6770 |
\let\hyper@normalise\ExecuteOptions |
| 6771 |
\let\ExecuteOptions\hypersetup |
| 6772 |
\Hy@RestoreCatcodes |
| 6773 |
\InputIfFileExists{hyperref.cfg}{}{} |
| 6774 |
\Hy@SetCatcodes |
| 6775 |
\let\ExecuteOptions\hyper@normalise |
| 6776 |
\ifx\Hy@MaybeStopNow\relax |
| 6777 |
\else |
| 6778 |
\Hy@stoppedearlytrue |
| 6779 |
\expandafter\Hy@MaybeStopNow |
| 6780 |
\fi |
| 6781 |
\Hy@stoppedearlyfalse |
| 6782 |
% \end{macrocode} |
| 6783 |
% To add flexibility, we will not use the ordinary processing of |
| 6784 |
% package options, but put them through the \emph{keyval} package. |
| 6785 |
% This section was written by David Carlisle. |
| 6786 |
% |
| 6787 |
% \begin{macrocode} |
| 6788 |
\SetupKeyvalOptions{family=Hyp} |
| 6789 |
\DeclareLocalOptions{% |
| 6790 |
a4paper,a5paper,b5paper,letterpaper,legalpaper,executivepaper% |
| 6791 |
} |
| 6792 |
% \end{macrocode} |
| 6793 |
% |
| 6794 |
% Add option |tex4ht| if package |tex4ht| is loaded. |
| 6795 |
% \begin{macrocode} |
| 6796 |
\@ifpackagewith{hyperref}{tex4ht}{% |
| 6797 |
}{% |
| 6798 |
\@ifpackageloaded{tex4ht}{% |
| 6799 |
\PassOptionsToPackage{tex4ht}{hyperref}% |
| 6800 |
}{% |
| 6801 |
\@ifundefined{HCode}{% |
| 6802 |
}{% |
| 6803 |
\begingroup |
| 6804 |
\def\Hy@pkg{tex4ht}% |
| 6805 |
\def\Hy@temp@A#1\RequirePackage[#2]#3#4\Hy@NIL{% |
| 6806 |
\def\Hy@param{#2#3}% |
| 6807 |
\ifx\Hy@param\@empty |
| 6808 |
\expandafter\@gobble |
| 6809 |
\else |
| 6810 |
\def\Hy@param{#3}% |
| 6811 |
\ifx\Hy@param\Hy@pkg |
| 6812 |
\PassOptionsToPackage{#2}{tex4ht}% |
| 6813 |
\expandafter\expandafter\expandafter\@gobble |
| 6814 |
\else |
| 6815 |
\expandafter\expandafter\expandafter\@firstofone |
| 6816 |
\fi |
| 6817 |
\fi |
| 6818 |
{\Hy@temp@A#4\Hy@NIL}% |
| 6819 |
}% |
| 6820 |
\expandafter |
| 6821 |
\Hy@temp@A\@documentclasshook\RequirePackage[]{}\Hy@NIL |
| 6822 |
\endgroup |
| 6823 |
\PassOptionsToPackage{tex4ht}{hyperref}% |
| 6824 |
}% |
| 6825 |
}% |
| 6826 |
} |
| 6827 |
% \end{macrocode} |
| 6828 |
% |
| 6829 |
% \begin{macrocode} |
| 6830 |
\let\ReadBookmarks\relax |
| 6831 |
\ProcessKeyvalOptions{Hyp} |
| 6832 |
% \end{macrocode} |
| 6833 |
% |
| 6834 |
% After processing options. |
| 6835 |
% |
| 6836 |
% \subsection{Package xspace support} |
| 6837 |
% |
| 6838 |
% \begin{macrocode} |
| 6839 |
\def\Hy@xspace@end{} |
| 6840 |
\@ifundefined{xspaceaddexceptions}{% |
| 6841 |
\Hy@AtBeginDocument{% |
| 6842 |
\@ifundefined{xspaceaddexceptions}{% |
| 6843 |
}{% |
| 6844 |
\def\Hy@xspace@end{% |
| 6845 |
\@gobble{end for xspace}% |
| 6846 |
}% |
| 6847 |
\xspaceaddexceptions{% |
| 6848 |
\Hy@xspace@end,\hyper@linkend,\hyper@anchorend |
| 6849 |
}% |
| 6850 |
}% |
| 6851 |
}% |
| 6852 |
}{% |
| 6853 |
\def\Hy@xspace@end{% |
| 6854 |
\@gobble{end for xspace}% |
| 6855 |
}% |
| 6856 |
\xspaceaddexceptions{\Hy@xspace@end,\hyper@linkend,\hyper@anchorend}% |
| 6857 |
} |
| 6858 |
% \end{macrocode} |
| 6859 |
% |
| 6860 |
% \subsection{Option draft} |
| 6861 |
% |
| 6862 |
% \begin{macrocode} |
| 6863 |
\Hy@AtBeginDocument{% |
| 6864 |
\ifHy@draft |
| 6865 |
\let\hyper@@anchor\@gobble |
| 6866 |
\gdef\hyper@link#1#2#3{#3\Hy@xspace@end}% |
| 6867 |
\def\hyper@anchorstart#1#2{#2\Hy@xspace@end}% |
| 6868 |
\def\hyper@anchorend{\Hy@xspace@end}% |
| 6869 |
\let\hyper@linkstart\@gobbletwo |
| 6870 |
\def\hyper@linkend{\Hy@xspace@end}% |
| 6871 |
\def\hyper@linkurl#1#2{#1\Hy@xspace@end}% |
| 6872 |
\def\hyper@linkfile#1#2#3{#1\Hy@xspace@end}% |
| 6873 |
\def\hyper@link@[#1]#2#3#4{#4\Hy@xspace@end}% |
| 6874 |
\def\Acrobatmenu#1#2{\leavevmode#2\Hy@xspace@end}% |
| 6875 |
\let\PDF@SetupDoc\@empty |
| 6876 |
\let\PDF@FinishDoc\@empty |
| 6877 |
\let\ReadBookmarks\relax |
| 6878 |
\let\WriteBookmarks\relax |
| 6879 |
\Hy@WarningNoLine{Draft mode on}% |
| 6880 |
\fi |
| 6881 |
\Hy@DisableOption{draft}% |
| 6882 |
\Hy@DisableOption{nolinks}% |
| 6883 |
\Hy@DisableOption{final}% |
| 6884 |
} |
| 6885 |
% \end{macrocode} |
| 6886 |
% |
| 6887 |
% \subsection{PDF/A} |
| 6888 |
% If an A-standard has been set in \cs{DocumentMetadata} hyperref should set the pdfa |
| 6889 |
% key too. |
| 6890 |
% \begin{macrocode} |
| 6891 |
\ExplSyntaxOn |
| 6892 |
\IfDocumentMetadataT |
| 6893 |
{ |
| 6894 |
\tl_if_empty:eTF{\GetDocumentProperties{document/pdfstandard}} |
| 6895 |
{ |
| 6896 |
\Hy@pdfafalse |
| 6897 |
} |
| 6898 |
{ |
| 6899 |
\Hy@pdfatrue |
| 6900 |
} |
| 6901 |
} |
| 6902 |
\ExplSyntaxOff |
| 6903 |
\Hy@DisableOption{pdfa} |
| 6904 |
% \end{macrocode} |
| 6905 |
% |
| 6906 |
% \begin{macrocode} |
| 6907 |
\ifHy@pdfa |
| 6908 |
\ifnum \Hy@pdf@majorminor@version< 104 |
| 6909 |
\kvsetkeys{Hyp}{pdfversion=1.4}% |
| 6910 |
\fi |
| 6911 |
\Hy@DisableOption{pdfversion}% |
| 6912 |
\def\Hy@Acrobatmenu#1#2{% |
| 6913 |
\leavevmode |
| 6914 |
\begingroup |
| 6915 |
\edef\x{#1}% |
| 6916 |
\@onelevel@sanitize\x |
| 6917 |
\ifx\x\Hy@NextPage |
| 6918 |
\let\y=Y% |
| 6919 |
\else |
| 6920 |
\ifx\x\Hy@PrevPage |
| 6921 |
\let\y=Y% |
| 6922 |
\else |
| 6923 |
\ifx\x\Hy@FirstPage |
| 6924 |
\let\y=Y% |
| 6925 |
\else |
| 6926 |
\ifx\x\Hy@LastPage |
| 6927 |
\let\y=Y% |
| 6928 |
\else |
| 6929 |
\let\y=N% |
| 6930 |
\fi |
| 6931 |
\fi |
| 6932 |
\fi |
| 6933 |
\fi |
| 6934 |
\expandafter\endgroup |
| 6935 |
\ifx\y Y% |
| 6936 |
\else |
| 6937 |
\Hy@Error{% |
| 6938 |
PDF/A: Named action `#1' is not permitted% |
| 6939 |
}\@ehc |
| 6940 |
{#2}% |
| 6941 |
\expandafter\@gobble |
| 6942 |
\fi |
| 6943 |
}% |
| 6944 |
\def\Hy@temp#1{% |
| 6945 |
\expandafter\def\csname Hy@#1\endcsname{#1}% |
| 6946 |
\expandafter\@onelevel@sanitize\csname Hy@#1\endcsname |
| 6947 |
}% |
| 6948 |
\Hy@temp{NextPage}% |
| 6949 |
\Hy@temp{PrevPage}% |
| 6950 |
\Hy@temp{FirstPage}% |
| 6951 |
\Hy@temp{LastPage}% |
| 6952 |
\else |
| 6953 |
\def\Hy@Acrobatmenu#1#2{\leavevmode}% |
| 6954 |
\fi |
| 6955 |
% \end{macrocode} |
| 6956 |
% |
| 6957 |
% \subsection{Patch for babel's |
| 6958 |
% \texorpdfstring{\cs{texttilde}}{\\texttilde}} |
| 6959 |
% Babel does not define \cmd{\texttilde} in NFSS2 manner, |
| 6960 |
% so the NFSS2 definitions of PD1 or PU encoding is not |
| 6961 |
% compatible. To fix this, \cmd{\texttilde} is defined |
| 6962 |
% in babel manner. |
| 6963 |
% |
| 6964 |
% change 2020-10-10: no trace of \cs{texttilde} can be found in the |
| 6965 |
% three languages spanish, galician and estonian so the patch has been removed |
| 6966 |
% as outdated. |
| 6967 |
% |
| 6968 |
% \begin{macrocode} |
| 6969 |
\def\Hy@wrapper@babel#1#2{% |
| 6970 |
\begingroup |
| 6971 |
\Hy@safe@activestrue |
| 6972 |
\set@display@protect |
| 6973 |
\edef\x{#2}% |
| 6974 |
\@onelevel@sanitize\x |
| 6975 |
\toks@{#1}% |
| 6976 |
\edef\x{\endgroup\the\toks@{\x}}% |
| 6977 |
\x |
| 6978 |
} |
| 6979 |
\def\Hy@WrapperDef#1{% |
| 6980 |
\begingroup |
| 6981 |
\escapechar=\m@ne |
| 6982 |
\xdef\Hy@gtemp{% |
| 6983 |
\expandafter\noexpand\csname HyWrap@\string#1\endcsname |
| 6984 |
}% |
| 6985 |
\endgroup |
| 6986 |
\edef#1{% |
| 6987 |
\noexpand\Hy@wrapper@babel |
| 6988 |
\expandafter\noexpand\Hy@gtemp |
| 6989 |
}% |
| 6990 |
\expandafter\def\Hy@gtemp |
| 6991 |
} |
| 6992 |
% \end{macrocode} |
| 6993 |
% |
| 6994 |
% \begin{macrocode} |
| 6995 |
\ifHy@hyperfigures |
| 6996 |
\Hy@Info{Hyper figures ON}% |
| 6997 |
\else |
| 6998 |
\Hy@Info{Hyper figures OFF}% |
| 6999 |
\fi |
| 7000 |
\ifHy@nesting |
| 7001 |
\Hy@Info{Link nesting ON}% |
| 7002 |
\else |
| 7003 |
\Hy@Info{Link nesting OFF}% |
| 7004 |
\fi |
| 7005 |
\ifHy@hyperindex |
| 7006 |
\Hy@Info{Hyper index ON}% |
| 7007 |
\else |
| 7008 |
\Hy@Info{Hyper index OFF}% |
| 7009 |
\fi |
| 7010 |
\ifHy@plainpages |
| 7011 |
\Hy@Info{Plain pages ON}% |
| 7012 |
\else |
| 7013 |
\Hy@Info{Plain pages OFF}% |
| 7014 |
\fi |
| 7015 |
\ifHy@backref |
| 7016 |
\Hy@Info{Backreferencing ON}% |
| 7017 |
\else |
| 7018 |
\Hy@Info{Backreferencing OFF}% |
| 7019 |
\fi |
| 7020 |
\ifHy@implicit |
| 7021 |
\Hy@InfoNoLine{Implicit mode ON; LaTeX internals redefined}% |
| 7022 |
\else |
| 7023 |
\Hy@InfoNoLine{Implicit mode OFF; no redefinition of LaTeX internals}% |
| 7024 |
\def\MaybeStopEarly{% |
| 7025 |
\Hy@Message{Stopped early}% |
| 7026 |
\Hy@AtBeginDocument{% |
| 7027 |
\PDF@FinishDoc |
| 7028 |
\gdef\PDF@FinishDoc{}% |
| 7029 |
}% |
| 7030 |
\endinput |
| 7031 |
}% |
| 7032 |
\Hy@AtBeginDocument{% |
| 7033 |
\let\autoref\ref |
| 7034 |
\let\autopageref\pageref |
| 7035 |
\ifx\@pdfpagemode\@empty |
| 7036 |
\gdef\@pdfpagemode{UseNone}% |
| 7037 |
\fi |
| 7038 |
\global\Hy@backreffalse |
| 7039 |
}% |
| 7040 |
\Hy@AtEndOfPackage{% |
| 7041 |
\global\let\ReadBookmarks\relax |
| 7042 |
\global\let\WriteBookmarks\relax |
| 7043 |
}% |
| 7044 |
\fi |
| 7045 |
\Hy@DisableOption{implicit} |
| 7046 |
% \end{macrocode} |
| 7047 |
% |
| 7048 |
% \subsubsection{Driver loading} |
| 7049 |
% Ensure that |\stockwidth| and |\stockheight| are defined |
| 7050 |
% \begin{macrocode} |
| 7051 |
\@ifundefined{stockwidth}{\newdimen\stockwidth}{} |
| 7052 |
\@ifundefined{stockheight}{\newdimen\stockheight}{} |
| 7053 |
% \end{macrocode} |
| 7054 |
% |
| 7055 |
% \begin{macrocode} |
| 7056 |
\Hy@AtEndOfPackage{% |
| 7057 |
\@ifpackageloaded{tex4ht}{% |
| 7058 |
\def\Hy@driver{htex4ht}% |
| 7059 |
\Hy@texhttrue |
| 7060 |
}{}% |
| 7061 |
% \end{macrocode} |
| 7062 |
% Some drivers can be detected. Check for these drivers, |
| 7063 |
% whether the given driver option is ok. Otherwise force |
| 7064 |
% the right driver or use the default driver. |
| 7065 |
% \begin{macrocode} |
| 7066 |
\ifx\Hy@driver\@empty |
| 7067 |
\else |
| 7068 |
\ifx\pdfextension\@undefined |
| 7069 |
\def\Hy@temp{hpdftex}% |
| 7070 |
\else |
| 7071 |
\def\Hy@temp{hluatex}% |
| 7072 |
\fi |
| 7073 |
\ifpdf |
| 7074 |
\ifx\Hy@driver\Hy@temp |
| 7075 |
\else |
| 7076 |
\Hy@WarningNoLine{% |
| 7077 |
Wrong driver `\[email protected]';\MessageBreak |
| 7078 |
pdfTeX is running in PDF mode.\MessageBreak |
| 7079 |
Forcing driver `\[email protected]'% |
| 7080 |
}% |
| 7081 |
\let\Hy@driver\Hy@temp |
| 7082 |
\fi |
| 7083 |
\else |
| 7084 |
\ifx\Hy@driver\Hy@temp |
| 7085 |
\Hy@WarningNoLine{% |
| 7086 |
Wrong driver `\[email protected]';\MessageBreak |
| 7087 |
pdfTeX is not running in PDF mode.\MessageBreak |
| 7088 |
Using default driver% |
| 7089 |
}% |
| 7090 |
\let\Hy@driver\@empty |
| 7091 |
\fi |
| 7092 |
\fi |
| 7093 |
\fi |
| 7094 |
\ifHy@texht |
| 7095 |
\else |
| 7096 |
\ifx\Hy@driver\@empty |
| 7097 |
\else |
| 7098 |
\def\Hy@temp{hxetex}% |
| 7099 |
\ifxetex |
| 7100 |
\ifx\Hy@driver\Hy@temp |
| 7101 |
\else |
| 7102 |
\Hy@WarningNoLine{% |
| 7103 |
Wrong driver `\[email protected]';\MessageBreak |
| 7104 |
XeTeX is running.\MessageBreak |
| 7105 |
Forcing driver `\[email protected]' for XeTeX% |
| 7106 |
}% |
| 7107 |
\let\Hy@driver\Hy@temp |
| 7108 |
\fi |
| 7109 |
\fi |
| 7110 |
\fi |
| 7111 |
\fi |
| 7112 |
\ifx\Hy@driver\@empty |
| 7113 |
\else |
| 7114 |
\def\Hy@temp{hhitex}% |
| 7115 |
\ifhint |
| 7116 |
\ifx\Hy@driver\Hy@temp |
| 7117 |
\else |
| 7118 |
\Hy@WarningNoLine{% |
| 7119 |
Wrong driver `\[email protected]';\MessageBreak |
| 7120 |
hitex is running.\MessageBreak |
| 7121 |
Forcing driver `\[email protected]'% |
| 7122 |
}% |
| 7123 |
\let\Hy@driver\Hy@temp |
| 7124 |
\fi |
| 7125 |
\fi |
| 7126 |
\fi |
| 7127 |
\ifx\Hy@driver\@empty |
| 7128 |
\else |
| 7129 |
\def\Hy@temp{hvtexhtm}% |
| 7130 |
\ifnum\ifvtex\OpMode\else\m@ne\fi=10 % |
| 7131 |
\ifx\Hy@driver\Hy@temp |
| 7132 |
\else |
| 7133 |
\Hy@WarningNoLine{% |
| 7134 |
Wrong driver `\[email protected]';\MessageBreak |
| 7135 |
VTeX is running in HTML mode.\MessageBreak |
| 7136 |
Forcing driver `\[email protected]'% |
| 7137 |
}% |
| 7138 |
\let\Hy@driver\Hy@temp |
| 7139 |
\fi |
| 7140 |
\else |
| 7141 |
\ifx\Hy@driver\Hy@temp |
| 7142 |
\Hy@WarningNoLine{% |
| 7143 |
Wrong driver `\[email protected]';\MessageBreak |
| 7144 |
VTeX is not running in HTML mode.\MessageBreak |
| 7145 |
Using default driver% |
| 7146 |
}% |
| 7147 |
\let\Hy@driver\@empty |
| 7148 |
\fi |
| 7149 |
\fi |
| 7150 |
\fi |
| 7151 |
% \end{macrocode} |
| 7152 |
% If the driver is not given, find the right driver or |
| 7153 |
% use the default driver. |
| 7154 |
% \begin{macrocode} |
| 7155 |
\let\HyOpt@DriverType\@empty |
| 7156 |
\ifx\HyOpt@CustomDriver\@empty |
| 7157 |
\ifx\Hy@driver\@empty |
| 7158 |
\def\HyOpt@DriverType{ (autodetected)}% |
| 7159 |
\providecommand*{\Hy@defaultdriver}{hdvips}% |
| 7160 |
\ifpdf |
| 7161 |
\ifx\pdfextension\@undefined |
| 7162 |
\def\Hy@driver{hpdftex}% |
| 7163 |
\else |
| 7164 |
\def\Hy@driver{hluatex}% |
| 7165 |
\fi |
| 7166 |
\else |
| 7167 |
\ifxetex |
| 7168 |
\def\Hy@driver{hxetex}% |
| 7169 |
\else |
| 7170 |
\ifnum\ifvtex\OpMode\else\m@ne\fi=10 % |
| 7171 |
\def\Hy@driver{hvtexhtm}% |
| 7172 |
\def\MaybeStopEarly{% |
| 7173 |
\Hy@Message{Stopped early}% |
| 7174 |
\Hy@AtBeginDocument{% |
| 7175 |
\PDF@FinishDoc |
| 7176 |
\gdef\PDF@FinishDoc{}% |
| 7177 |
}% |
| 7178 |
\endinput |
| 7179 |
}% |
| 7180 |
\else |
| 7181 |
\ifhint |
| 7182 |
\def\Hy@driver{hhitex} |
| 7183 |
\else |
| 7184 |
\ifnum\ifvtex\OpMode\else\m@ne\fi=\@ne |
| 7185 |
\def\Hy@driver{hvtex}% |
| 7186 |
\else |
| 7187 |
\ifnum\ifvtex\OpMode\else\m@ne\fi=\tw@ |
| 7188 |
\def\Hy@driver{hvtex}% |
| 7189 |
\else |
| 7190 |
\ifx\HyOpt@DriverFallback\@empty |
| 7191 |
\let\Hy@driver\Hy@defaultdriver |
| 7192 |
\def\HyOpt@DriverType{ (default)}% |
| 7193 |
\else |
| 7194 |
\begingroup |
| 7195 |
\toks@\expandafter{\HyOpt@DriverFallback}% |
| 7196 |
\edef\x{\endgroup |
| 7197 |
\noexpand\kvsetkeys{Hyp}{\the\toks@}% |
| 7198 |
}% |
| 7199 |
\x |
| 7200 |
\ifx\Hy@driver\@empty |
| 7201 |
\let\Hy@driver\Hy@defaultdriver |
| 7202 |
\def\HyOpt@DriverType{ (default)}% |
| 7203 |
\else |
| 7204 |
\def\HyOpt@DriverType{ (fallback)}% |
| 7205 |
\fi |
| 7206 |
\fi |
| 7207 |
\fi |
| 7208 |
\fi |
| 7209 |
\fi |
| 7210 |
\fi |
| 7211 |
\fi |
| 7212 |
\fi |
| 7213 |
\ifx\Hy@driver\Hy@defaultdriver |
| 7214 |
\def\Hy@temp{hdviwind}% |
| 7215 |
\ifx\Hy@temp\Hy@driver |
| 7216 |
\kvsetkeys{Hyp}{colorlinks}% |
| 7217 |
\PassOptionsToPackage{dviwindo}{color}% |
| 7218 |
\fi |
| 7219 |
\fi |
| 7220 |
\fi |
| 7221 |
\else |
| 7222 |
\def\HyOpt@DriverType{ (custom)}% |
| 7223 |
\let\Hy@driver\HyOpt@CustomDriver |
| 7224 |
\fi |
| 7225 |
\Hy@InfoNoLine{Driver\HyOpt@DriverType: \Hy@driver}% |
| 7226 |
\chardef\Hy@VersionChecked=0 % |
| 7227 |
\input{\[email protected]}% |
| 7228 |
\ifcase\Hy@VersionChecked |
| 7229 |
\Hy@VersionCheck{\[email protected]}% |
| 7230 |
\fi |
| 7231 |
\let\@unprocessedoptions\relax |
| 7232 |
\Hy@RestoreCatcodes |
| 7233 |
\Hy@DisableOption{tex4ht}% |
| 7234 |
\Hy@DisableOption{pdftex}% |
| 7235 |
\Hy@DisableOption{nativepdf}% |
| 7236 |
\Hy@DisableOption{dvipdfm}% |
| 7237 |
\Hy@DisableOption{dvipdfmx}% |
| 7238 |
\Hy@DisableOption{dvipdfmx-outline-open}% |
| 7239 |
\Hy@DisableOption{pdfmark}% |
| 7240 |
\Hy@DisableOption{dvips}% |
| 7241 |
\Hy@DisableOption{hypertex}% |
| 7242 |
\Hy@DisableOption{vtex}% |
| 7243 |
\Hy@DisableOption{vtexpdfmark}% |
| 7244 |
\Hy@DisableOption{dviwindo}% |
| 7245 |
\Hy@DisableOption{dvipsone}% |
| 7246 |
\Hy@DisableOption{textures}% |
| 7247 |
\Hy@DisableOption{latex2html}% |
| 7248 |
\Hy@DisableOption{ps2pdf}% |
| 7249 |
\Hy@DisableOption{xetex}% |
| 7250 |
\Hy@DisableOption{driverfallback}% |
| 7251 |
\Hy@DisableOption{customdriver}% |
| 7252 |
\Hy@DisableOption{pdfversion}% |
| 7253 |
} |
| 7254 |
% \end{macrocode} |
| 7255 |
% Support for open outlines is enabled for Xe\TeX\ >= 0.9995. |
| 7256 |
% I don't know, if older versions also support this. |
| 7257 |
% AFAIK older dvipdfmx versions will break, thus the |
| 7258 |
% switch cannot be turned on by default. |
| 7259 |
% \begin{macrocode} |
| 7260 |
\newif\ifHy@DvipdfmxOutlineOpen |
| 7261 |
\ifxetex |
| 7262 |
\ifdim\number\XeTeXversion\XeTeXrevision in<0.9995in % |
| 7263 |
\else |
| 7264 |
\chardef\SpecialDvipdfmxOutlineOpen\@ne |
| 7265 |
\Hy@DvipdfmxOutlineOpentrue |
| 7266 |
\fi |
| 7267 |
\fi |
| 7268 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 7269 |
\expandafter\ifx\csname SpecialDvipdfmxOutlineOpen\endcsname\relax |
| 7270 |
\else |
| 7271 |
\ifnum\SpecialDvipdfmxOutlineOpen>\z@ |
| 7272 |
\Hy@DvipdfmxOutlineOpentrue |
| 7273 |
\fi |
| 7274 |
\fi |
| 7275 |
% \end{macrocode} |
| 7276 |
% |
| 7277 |
% \subsubsection{Bookmarks} |
| 7278 |
% \begin{macrocode} |
| 7279 |
\def\WriteBookmarks{0} |
| 7280 |
\def\@bookmarkopenstatus#1{% |
| 7281 |
\ifHy@bookmarksopen |
| 7282 |
% \end{macrocode} |
| 7283 |
% The purpose of the |\@firstofone|-number-space-construct |
| 7284 |
% is that no |\relax| will be inserted by \TeX{} before the |\else|: |
| 7285 |
% \begin{macrocode} |
| 7286 |
\ifnum#1<\expandafter\@firstofone\expandafter |
| 7287 |
{\number\@bookmarksopenlevel} % explicit space |
| 7288 |
\else |
| 7289 |
-% |
| 7290 |
\fi |
| 7291 |
\else |
| 7292 |
-% |
| 7293 |
\fi |
| 7294 |
} |
| 7295 |
\ifHy@bookmarks |
| 7296 |
\Hy@Info{Bookmarks ON}% |
| 7297 |
\ifx\@pdfpagemode\@empty |
| 7298 |
\def\@pdfpagemode{UseOutlines}% |
| 7299 |
\fi |
| 7300 |
\else |
| 7301 |
\let\@bookmarkopenstatus\@gobble |
| 7302 |
\Hy@Info{Bookmarks OFF}% |
| 7303 |
\Hy@AtEndOfPackage{% |
| 7304 |
\global\let\ReadBookmarks\relax |
| 7305 |
\global\let\WriteBookmarks\relax |
| 7306 |
}% |
| 7307 |
\ifx\@pdfpagemode\@empty |
| 7308 |
\def\@pdfpagemode{UseNone}% |
| 7309 |
\fi |
| 7310 |
\fi |
| 7311 |
\Hy@DisableOption{bookmarks} |
| 7312 |
% \end{macrocode} |
| 7313 |
% |
| 7314 |
% Add wrapper for setting standard catcodes (babel's shorthands). |
| 7315 |
% \begin{macrocode} |
| 7316 |
\def\Hy@CatcodeWrapper#1{% |
| 7317 |
\let\Hy@EndWrap\@empty |
| 7318 |
\def\TMP@EnsureCode##1##2{% |
| 7319 |
\edef\Hy@EndWrap{% |
| 7320 |
\Hy@EndWrap |
| 7321 |
\catcode##1 \the\catcode##1\relax |
| 7322 |
}% |
| 7323 |
\catcode##1 ##2\relax |
| 7324 |
}% |
| 7325 |
\TMP@EnsureCode{10}{12}% ^^J |
| 7326 |
\TMP@EnsureCode{33}{12}% ! |
| 7327 |
\TMP@EnsureCode{34}{12}% " |
| 7328 |
\TMP@EnsureCode{36}{3}% $ (math) |
| 7329 |
\TMP@EnsureCode{38}{4}% & (alignment) |
| 7330 |
\TMP@EnsureCode{39}{12}% ' |
| 7331 |
\TMP@EnsureCode{40}{12}% ( |
| 7332 |
\TMP@EnsureCode{41}{12}% ) |
| 7333 |
\TMP@EnsureCode{42}{12}% * |
| 7334 |
\TMP@EnsureCode{43}{12}% + |
| 7335 |
\TMP@EnsureCode{44}{12}% , |
| 7336 |
\TMP@EnsureCode{45}{12}% - |
| 7337 |
\TMP@EnsureCode{46}{12}% . |
| 7338 |
\TMP@EnsureCode{47}{12}% / |
| 7339 |
\TMP@EnsureCode{58}{12}% : |
| 7340 |
\TMP@EnsureCode{59}{12}% ; |
| 7341 |
\TMP@EnsureCode{60}{12}% < |
| 7342 |
\TMP@EnsureCode{61}{12}% = |
| 7343 |
\TMP@EnsureCode{62}{12}% > |
| 7344 |
\TMP@EnsureCode{63}{12}% ? |
| 7345 |
\TMP@EnsureCode{91}{12}% [ |
| 7346 |
\TMP@EnsureCode{93}{12}% ] |
| 7347 |
\TMP@EnsureCode{94}{7}% ^ (superscript) |
| 7348 |
\TMP@EnsureCode{95}{8}% _ (subscript) |
| 7349 |
\TMP@EnsureCode{96}{12}% ` |
| 7350 |
\TMP@EnsureCode{124}{12}% | |
| 7351 |
\TMP@EnsureCode{126}{13}% ~ (active) |
| 7352 |
#1\relax |
| 7353 |
\Hy@EndWrap |
| 7354 |
} |
| 7355 |
% \end{macrocode} |
| 7356 |
% |
| 7357 |
% |\HyColor@UseColor| expects a macro as argument. It contains |
| 7358 |
% the color specification. |
| 7359 |
% \begin{macrocode} |
| 7360 |
\Hy@AtBeginDocument{% |
| 7361 |
\ifHy@ocgcolorlinks |
| 7362 |
\kvsetkeys{Hyp}{colorlinks}% |
| 7363 |
\ifHy@pdfa |
| 7364 |
\Hy@Warning{% |
| 7365 |
PDF/A: Optional Content Groups are prohibited,\MessageBreak |
| 7366 |
using `colorlinks' instead of `ocgcolorlinks'% |
| 7367 |
}% |
| 7368 |
\Hy@ocgcolorlinksfalse |
| 7369 |
\fi |
| 7370 |
\fi |
| 7371 |
\ifHy@ocgcolorlinks |
| 7372 |
\else |
| 7373 |
\Hy@DisableOption{ocgcolorlinks}% |
| 7374 |
\fi |
| 7375 |
\ifHy@colorlinks |
| 7376 |
\def\@pdfborder{0 0 0}% |
| 7377 |
\let\@pdfborderstyle\@empty |
| 7378 |
\Hy@CatcodeWrapper{% |
| 7379 |
\RequirePackage{color}% |
| 7380 |
}% |
| 7381 |
\def\Hy@colorlink#1{% |
| 7382 |
\begingroup |
| 7383 |
\HyColor@UseColor#1% |
| 7384 |
}% |
| 7385 |
\def\Hy@endcolorlink{\endgroup}% |
| 7386 |
\Hy@Info{Link coloring ON}% |
| 7387 |
\else |
| 7388 |
\ifHy@frenchlinks |
| 7389 |
\def\Hy@colorlink#1{\begingroup\fontshape{\scdefault}\selectfont}% |
| 7390 |
\def\Hy@endcolorlink{\endgroup}% |
| 7391 |
\Hy@Info{French linking ON}% |
| 7392 |
\else |
| 7393 |
% \end{macrocode} |
| 7394 |
% for grouping consistency: |
| 7395 |
% \begin{macrocode} |
| 7396 |
\def\Hy@colorlink#1{\begingroup}% |
| 7397 |
\def\Hy@endcolorlink{\endgroup}% |
| 7398 |
\Hy@Info{Link coloring OFF}% |
| 7399 |
\fi |
| 7400 |
\fi |
| 7401 |
\Hy@DisableOption{colorlinks}% |
| 7402 |
\Hy@DisableOption{frenchlinks}% |
| 7403 |
\ifHy@texht |
| 7404 |
\else |
| 7405 |
% \end{macrocode} |
| 7406 |
% With active links we have to redefine the starred versions |
| 7407 |
% to avoid that they get links from the include |\@setref|: |
| 7408 |
% \begin{macrocode} |
| 7409 |
\ifHy@implicit |
| 7410 |
\let \T@Ref\HyRef@Ref |
| 7411 |
\def\@refstar#1{% |
| 7412 |
\NR@ref@showkeys{#1}% |
| 7413 |
\HyRef@StarSetRef{#1}\@firstoffive |
| 7414 |
} |
| 7415 |
\def\@pagerefstar#1{% |
| 7416 |
\NR@ref@showkeys{#1}% |
| 7417 |
\HyRef@StarSetRef{#1}\@secondoffive |
| 7418 |
} |
| 7419 |
\def\@namerefstar#1{% |
| 7420 |
\NR@ref@showkeys{#1}% |
| 7421 |
\HyRef@StarSetRef{#1}\@thirdoffive |
| 7422 |
} |
| 7423 |
\def\@Refstar#1{% |
| 7424 |
\NR@ref@showkeys{#1}% |
| 7425 |
\HyRef@StarSetRef{#1}\HyRef@MakeUppercaseFirstOfFive |
| 7426 |
}% |
| 7427 |
\else |
| 7428 |
\fi |
| 7429 |
\fi |
| 7430 |
} |
| 7431 |
\Hy@AtBeginDocument{% |
| 7432 |
\ifx\ReadBookmarks\relax |
| 7433 |
\else |
| 7434 |
\Hy@CatcodeWrapper\ReadBookmarks |
| 7435 |
\fi |
| 7436 |
} |
| 7437 |
% \end{macrocode} |
| 7438 |
% \begin{macrocode} |
| 7439 |
\ifHy@backref |
| 7440 |
\RequirePackage{backref}% |
| 7441 |
\else |
| 7442 |
\let\Hy@backout\@gobble |
| 7443 |
\fi |
| 7444 |
\Hy@DisableOption{backref} |
| 7445 |
\Hy@DisableOption{pagebackref} |
| 7446 |
% \end{macrocode} |
| 7447 |
% \begin{macrocode} |
| 7448 |
\Hy@activeanchorfalse |
| 7449 |
% \end{macrocode} |
| 7450 |
% |
| 7451 |
% \section{User hypertext macros}\label{usermacros} |
| 7452 |
% |
| 7453 |
% We need to normalise all user commands taking a URL argument; |
| 7454 |
% Within the argument the following special definitions apply: |
| 7455 |
% |\#|, |\%|, |~| produce |#|, |%|, |~| respectively. |
| 7456 |
% for consistency |\~| produces |~| as well. |
| 7457 |
% At the \emph{top level only} ie not within the argument of another |
| 7458 |
% command, you can use |#| and |%| unescaped, to produce themselves. |
| 7459 |
% even if, say, |#| is entered as |#| it will be converted to |\#| |
| 7460 |
% so it does not die if written to an aux file etc. |\#| will write |
| 7461 |
% as |#| locally while making |\special|s. The catcode |:| is set to other |
| 7462 |
% to avoid problems with expl3 syntax. |
| 7463 |
% \begin{macrocode} |
| 7464 |
\begingroup |
| 7465 |
\endlinechar=-1 % |
| 7466 |
\catcode`\^^A=14 % |
| 7467 |
\catcode`\^^M\active |
| 7468 |
\catcode`\%\active |
| 7469 |
\catcode`\#\active |
| 7470 |
\catcode`\_\active |
| 7471 |
\catcode`\$\active |
| 7472 |
\catcode`\&\active |
| 7473 |
\gdef\hyper@normalise{^^A |
| 7474 |
\begingroup |
| 7475 |
\@makeother{:}^^A |
| 7476 |
\catcode`\^^M\active |
| 7477 |
\def^^M{ }^^A |
| 7478 |
\catcode`\%\active |
| 7479 |
\let%\@percentchar |
| 7480 |
\let\%\@percentchar |
| 7481 |
\catcode`\#\active |
| 7482 |
\def#{\hyper@hash}^^A |
| 7483 |
\def\#{\hyper@hash}^^A |
| 7484 |
\@makeother\&^^A |
| 7485 |
\edef&{\string&}^^A |
| 7486 |
\edef\&{\string&}^^A |
| 7487 |
\edef\textunderscore{\string_}^^A |
| 7488 |
\let\_\textunderscore |
| 7489 |
\catcode`\_\active |
| 7490 |
\let_\textunderscore |
| 7491 |
\let~\hyper@tilde |
| 7492 |
\let\~\hyper@tilde |
| 7493 |
\let\textasciitilde\hyper@tilde |
| 7494 |
\let\\\@backslashchar |
| 7495 |
\edef${\string$}^^A |
| 7496 |
\Hy@safe@activestrue |
| 7497 |
\hyper@n@rmalise |
| 7498 |
}^^A |
| 7499 |
\catcode`\#=6 ^^A |
| 7500 |
\gdef\Hy@ActiveCarriageReturn{^^M}^^A |
| 7501 |
\gdef\hyper@n@rmalise#1#2{^^A |
| 7502 |
\def\Hy@tempa{#2}^^A |
| 7503 |
\ifx\Hy@tempa\Hy@ActiveCarriageReturn |
| 7504 |
\Hy@ReturnAfterElseFi{^^A |
| 7505 |
\hyper@@normalise{#1}^^A |
| 7506 |
}^^A |
| 7507 |
\else |
| 7508 |
\Hy@ReturnAfterFi{^^A |
| 7509 |
\hyper@@normalise{#1}{#2}^^A |
| 7510 |
}^^A |
| 7511 |
\fi |
| 7512 |
}^^A |
| 7513 |
\gdef\hyper@@normalise#1#2{^^A |
| 7514 |
\edef\Hy@tempa{^^A |
| 7515 |
\endgroup |
| 7516 |
\noexpand#1{\Hy@RemovePercentCr#2%^^M\@nil}^^A |
| 7517 |
}^^A |
| 7518 |
\Hy@tempa |
| 7519 |
}^^A |
| 7520 |
\gdef\Hy@RemovePercentCr#1%^^M#2\@nil{^^A |
| 7521 |
#1^^A |
| 7522 |
\ifx\limits#2\limits |
| 7523 |
\else |
| 7524 |
\Hy@ReturnAfterFi{^^A |
| 7525 |
\Hy@RemovePercentCr #2\@nil |
| 7526 |
}^^A |
| 7527 |
\fi |
| 7528 |
}^^A |
| 7529 |
\endgroup |
| 7530 |
\providecommand*\hyper@chars{% |
| 7531 |
\let\#\hyper@hash |
| 7532 |
\let\%\@percentchar |
| 7533 |
\Hy@safe@activestrue |
| 7534 |
} |
| 7535 |
% \end{macrocode} |
| 7536 |
% |
| 7537 |
% \begin{macrocode} |
| 7538 |
\def\hyperlink#1#2{% |
| 7539 |
\hyper@@link{}{#1}{#2}% |
| 7540 |
} |
| 7541 |
% \end{macrocode} |
| 7542 |
% |
| 7543 |
% \begin{macrocode} |
| 7544 |
\def\Hy@VerboseLinkStart#1#2{% |
| 7545 |
\ifHy@verbose |
| 7546 |
\begingroup |
| 7547 |
\Hy@safe@activestrue |
| 7548 |
\xdef\Hy@VerboseGlobalTemp{(#1) `#2'}% |
| 7549 |
\Hy@Info{Reference \Hy@VerboseGlobalTemp}% |
| 7550 |
\xdef\Hy@VerboseGlobalTemp{% |
| 7551 |
\Hy@VerboseGlobalTemp, % |
| 7552 |
line \the\inputlineno |
| 7553 |
}% |
| 7554 |
\endgroup |
| 7555 |
\let\Hy@VerboseLinkInfo\Hy@VerboseGlobalTemp |
| 7556 |
\@onelevel@sanitize\Hy@VerboseLinkInfo |
| 7557 |
\fi |
| 7558 |
} |
| 7559 |
% \end{macrocode} |
| 7560 |
% \begin{macrocode} |
| 7561 |
\def\Hy@VerboseLinkInfo{<VerboseLinkInfo>} |
| 7562 |
\def\Hy@VerboseLinkStop{% |
| 7563 |
\ifHy@verbose |
| 7564 |
\begingroup |
| 7565 |
\edef\x{\endgroup |
| 7566 |
\write\m@ne{% |
| 7567 |
Package `hyperref' Info: % |
| 7568 |
End of reference \Hy@VerboseLinkInfo.% |
| 7569 |
}% |
| 7570 |
}% |
| 7571 |
\x |
| 7572 |
\fi |
| 7573 |
} |
| 7574 |
% \end{macrocode} |
| 7575 |
% \begin{macrocode} |
| 7576 |
\def\Hy@VerboseAnchor#1{% |
| 7577 |
\ifHy@verbose |
| 7578 |
\begingroup |
| 7579 |
\Hy@safe@activestrue |
| 7580 |
\Hy@Info{Anchor `\HyperDestNameFilter{#1}'}% |
| 7581 |
\endgroup |
| 7582 |
\fi |
| 7583 |
} |
| 7584 |
% \end{macrocode} |
| 7585 |
% |
| 7586 |
% \begin{macrocode} |
| 7587 |
\def\Hy@AllowHyphens{% |
| 7588 |
\relax |
| 7589 |
\ifhmode |
| 7590 |
\penalty\@M |
| 7591 |
\hskip\z@skip |
| 7592 |
\fi |
| 7593 |
} |
| 7594 |
% \end{macrocode} |
| 7595 |
% |
| 7596 |
% \begin{macrocode} |
| 7597 |
\DeclareRobustCommand*{\href}[1][]{% |
| 7598 |
\begingroup |
| 7599 |
\setkeys{href}{#1}% |
| 7600 |
\@ifnextchar\bgroup\Hy@href{\hyper@normalise\href@}% |
| 7601 |
} |
| 7602 |
\def\Hy@href#{% |
| 7603 |
\hyper@normalise\href@ |
| 7604 |
} |
| 7605 |
\begingroup |
| 7606 |
\catcode`\$=6 % |
| 7607 |
\catcode`\#=12 % |
| 7608 |
\gdef\href@$1{\expandafter\href@split$1##\\}% |
| 7609 |
\gdef\href@split$1#$2#$3\\$4{% |
| 7610 |
\hyper@@link{$1}{$2}{$4}% |
| 7611 |
\endgroup |
| 7612 |
}% |
| 7613 |
\endgroup |
| 7614 |
% \end{macrocode} |
| 7615 |
% Option `page'. |
| 7616 |
% \begin{macrocode} |
| 7617 |
\define@key{href}{page}{% |
| 7618 |
\def\Hy@href@page{#1}% |
| 7619 |
} |
| 7620 |
\let\Hy@href@page\@empty |
| 7621 |
\newcount\c@Hy@tempcnt |
| 7622 |
\def\theHy@tempcnt{\the\c@Hy@tempcnt} |
| 7623 |
\def\Hy@MakeRemoteAction{% |
| 7624 |
\ifx\Hy@href@page\@empty |
| 7625 |
\def\Hy@href@page{0}% |
| 7626 |
\else |
| 7627 |
\setcounter{Hy@tempcnt}{\Hy@href@page}% |
| 7628 |
\ifnum\c@Hy@tempcnt<\@ne |
| 7629 |
\Hy@Warning{% |
| 7630 |
Invalid page number (\theHy@tempcnt)\MessageBreak |
| 7631 |
for remote PDF file.\MessageBreak |
| 7632 |
Using page 1% |
| 7633 |
}% |
| 7634 |
\def\Hy@href@page{0}% |
| 7635 |
\else |
| 7636 |
\global\advance\c@Hy@tempcnt\m@ne |
| 7637 |
\edef\Hy@href@page{\theHy@tempcnt}% |
| 7638 |
\fi |
| 7639 |
\fi |
| 7640 |
% \end{macrocode} |
| 7641 |
% If a next action is set, then also a new window |
| 7642 |
% should be opened. Otherwise AR reclaims that it |
| 7643 |
% closes the current file with discarding the next actions. |
| 7644 |
% \begin{macrocode} |
| 7645 |
\ifx\Hy@href@nextactionraw\@empty |
| 7646 |
\else |
| 7647 |
\Hy@pdfnewwindowsettrue |
| 7648 |
\Hy@pdfnewwindowtrue |
| 7649 |
\fi |
| 7650 |
} |
| 7651 |
% \end{macrocode} |
| 7652 |
% Option `pdfremotestartview'. |
| 7653 |
% \begin{macrocode} |
| 7654 |
\define@key{href}{pdfremotestartview}{% |
| 7655 |
\setkeys{Hyp}{pdfremotestartview={#1}}% |
| 7656 |
} |
| 7657 |
% \end{macrocode} |
| 7658 |
% Option `pdfnewwindow'. |
| 7659 |
% \begin{macrocode} |
| 7660 |
\let\KV@href@pdfnewwindow\KV@Hyp@pdfnewwindow |
| 7661 |
\let\KV@href@pdfnewwindow@default\KV@Hyp@pdfnewwindow@default |
| 7662 |
% \end{macrocode} |
| 7663 |
% Option `ismap'. |
| 7664 |
% \begin{macrocode} |
| 7665 |
\newif\ifHy@href@ismap |
| 7666 |
\define@key{href}{ismap}[true]{% |
| 7667 |
\@ifundefined{Hy@href@ismap#1}{% |
| 7668 |
\Hy@Error{% |
| 7669 |
Invalid value (#1) for key `ismap'.\MessageBreak |
| 7670 |
Permitted values are `true' or `false'.\MessageBreak |
| 7671 |
Ignoring `ismap'% |
| 7672 |
}\@ehc |
| 7673 |
}{% |
| 7674 |
\csname Hy@href@ismap#1\endcsname |
| 7675 |
}% |
| 7676 |
} |
| 7677 |
% \end{macrocode} |
| 7678 |
% Option `nextactionraw'. |
| 7679 |
% \begin{macrocode} |
| 7680 |
\let\Hy@href@nextactionraw\@empty |
| 7681 |
\define@key{href}{nextactionraw}{% |
| 7682 |
\edef\Hy@href@nextactionraw{#1}% |
| 7683 |
\ifx\Hy@href@nextactionraw\@empty |
| 7684 |
\else |
| 7685 |
\Hy@Match\Hy@href@nextactionraw{}{% |
| 7686 |
^(\HyPat@ObjRef/|<<.*/S[ /].+>>|% |
| 7687 |
\[( ?\HyPat@ObjRef/|<<.*/S[ /].+>>)+ ?])$% |
| 7688 |
}{}{% |
| 7689 |
\Hy@Warning{Invalid value for `nextactionraw':\MessageBreak |
| 7690 |
\Hy@href@nextactionraw\MessageBreak |
| 7691 |
The action is discarded% |
| 7692 |
}% |
| 7693 |
}% |
| 7694 |
\ifx\Hy@href@nextactionraw\@empty |
| 7695 |
\else |
| 7696 |
\edef\Hy@href@nextactionraw{/Next \Hy@href@nextactionraw}% |
| 7697 |
\fi |
| 7698 |
\fi |
| 7699 |
} |
| 7700 |
\def\HyPat@ObjRef/{.+} |
| 7701 |
% \end{macrocode} |
| 7702 |
% Load package |url.sty| and save the meaning of |
| 7703 |
% the original \cmd{\url} in \cmd{\HyOrg@url}. |
| 7704 |
% \begin{macrocode} |
| 7705 |
\RequirePackage{url} |
| 7706 |
\let\HyOrg@url\url |
| 7707 |
\def\Hurl{\begingroup \Url} |
| 7708 |
\DeclareRobustCommand*{\nolinkurl}{\hyper@normalise\nolinkurl@} |
| 7709 |
\def\nolinkurl@#1{\Hurl{#1}} |
| 7710 |
\DeclareRobustCommand*{\url}{\hyper@normalise\url@} |
| 7711 |
\def\url@#1{\hyper@linkurl{\Hurl{#1}}{#1}} |
| 7712 |
% \end{macrocode} |
| 7713 |
% |
| 7714 |
% \begin{macrocode} |
| 7715 |
\DeclareRobustCommand*{\hyperimage}{\hyper@normalise\hyper@image} |
| 7716 |
\providecommand\hyper@image[2]{#2} |
| 7717 |
% \end{macrocode} |
| 7718 |
% |
| 7719 |
% \begin{macrocode} |
| 7720 |
\def\hypertarget#1#2{% |
| 7721 |
\ifHy@nesting |
| 7722 |
\hyper@@anchor{#1}{#2}% |
| 7723 |
\else |
| 7724 |
\hyper@@anchor{#1}{\relax}#2% |
| 7725 |
\fi |
| 7726 |
} |
| 7727 |
% \end{macrocode} |
| 7728 |
% |\hyperref| is more complicated, as it includes the concept of a |
| 7729 |
% category of link, used to make the name. This is not really used in this |
| 7730 |
% package. |\hyperdef| sets up an anchor in the same way. They each have |
| 7731 |
% three parameters of category, linkname, and marked text, and |\hyperref| |
| 7732 |
% also has a first parameter of URL. |
| 7733 |
% If there is an optional first parameter to |\hyperdef|, |
| 7734 |
% it is the name of a \LaTeX\ label which can be used in |
| 7735 |
% a short form of |\hyperref| later, to avoid |
| 7736 |
% remembering the name and category. |
| 7737 |
% \begin{macrocode} |
| 7738 |
\DeclareRobustCommand*{\hyperref}{% |
| 7739 |
\@ifnextchar[{\Hy@babelnormalise\label@hyperref}\@hyperref |
| 7740 |
} |
| 7741 |
\def\Hy@babelnormalise#1[#2]{% |
| 7742 |
\begingroup |
| 7743 |
\Hy@safe@activestrue |
| 7744 |
\let\protect\@unexpandable@protect |
| 7745 |
\edef\Hy@tempa{% |
| 7746 |
\endgroup |
| 7747 |
\noexpand#1[{#2}]% |
| 7748 |
}% |
| 7749 |
\Hy@tempa |
| 7750 |
} |
| 7751 |
\def\@hyperref{\hyper@normalise\@@hyperref} |
| 7752 |
\def\@@hyperref#1#2#3{% |
| 7753 |
\edef\ref@one{\ifx\\#2\\\else#2.\fi#3}% |
| 7754 |
\expandafter\tryhyper@link\ref@one\\{#1}% |
| 7755 |
} |
| 7756 |
\def\tryhyper@link#1\\#2{% |
| 7757 |
\hyper@@link{#2}{#1}% |
| 7758 |
} |
| 7759 |
% \end{macrocode} |
| 7760 |
% |
| 7761 |
% \begin{macrocode} |
| 7762 |
\def\hyperdef{\@ifnextchar[{\label@hyperdef}{\@hyperdef}} |
| 7763 |
\def\@hyperdef#1#2#3{%, category, name, text |
| 7764 |
\ifx\\#1\\% |
| 7765 |
\def\Hy@AnchorName{#2}% |
| 7766 |
\else |
| 7767 |
\def\Hy@AnchorName{#1.#2}% |
| 7768 |
\fi |
| 7769 |
\ifHy@nesting |
| 7770 |
\expandafter\hyper@@anchor\expandafter{\Hy@AnchorName}{#3}% |
| 7771 |
\else |
| 7772 |
\expandafter\hyper@@anchor\expandafter{\Hy@AnchorName}{\relax}#3% |
| 7773 |
\fi |
| 7774 |
} |
| 7775 |
% \end{macrocode} |
| 7776 |
% We also have a need to give a \LaTeX\ \emph{label} to a |
| 7777 |
% hyper reference, to ease the pain of referring to it later. |
| 7778 |
% \verb|\hyperrefundefinedlink| may be redefined by a user |
| 7779 |
% to add colour or other formatting. |
| 7780 |
% \begin{macrocode} |
| 7781 |
\let\hyperrefundefinedlink\@firstofone |
| 7782 |
\def\label@hyperref[#1]{% |
| 7783 |
\expandafter\label@@hyperref\csname r@#1\endcsname{#1}% |
| 7784 |
}% |
| 7785 |
\def\label@@hyperref#1#2#3{% |
| 7786 |
\ifx#1\relax |
| 7787 |
\protect\G@refundefinedtrue |
| 7788 |
\@latex@warning{% |
| 7789 |
Hyper reference `#2' on page \thepage \space undefined% |
| 7790 |
}% |
| 7791 |
\begingroup |
| 7792 |
\hyperrefundefinedlink{#3}% |
| 7793 |
\endgroup |
| 7794 |
\else |
| 7795 |
\hyper@@link{\expandafter\@fifthoffive#1}% |
| 7796 |
{\expandafter\@fourthoffive#1\@empty\@empty}{#3}% |
| 7797 |
\fi |
| 7798 |
} |
| 7799 |
\def\label@hyperdef[#1]#2#3#4{% label name, category, name, |
| 7800 |
% anchor text |
| 7801 |
\@bsphack |
| 7802 |
\ifx\\#2\\% |
| 7803 |
\def\Hy@AnchorName{#3}% |
| 7804 |
\else |
| 7805 |
\def\Hy@AnchorName{#2.#3}% |
| 7806 |
\fi |
| 7807 |
\if@filesw |
| 7808 |
\protected@write\@auxout{}{% |
| 7809 |
\string\newlabel{#1}{{}{}{}{\Hy@AnchorName}{}}% |
| 7810 |
}% |
| 7811 |
\fi |
| 7812 |
\@esphack |
| 7813 |
\ifHy@nesting |
| 7814 |
\expandafter\hyper@@anchor\expandafter{\Hy@AnchorName}{#4}% |
| 7815 |
\else |
| 7816 |
\expandafter\hyper@@anchor\expandafter{\Hy@AnchorName}{\relax}#4% |
| 7817 |
\fi |
| 7818 |
} |
| 7819 |
% \end{macrocode} |
| 7820 |
% |
| 7821 |
% \begin{macro}{\hyperget} |
| 7822 |
% To create manually bookmarks one need the destination name. |
| 7823 |
% If there is a label, the name can be retrieved with commands from refcount. |
| 7824 |
% Such a destination name must take |\HyperDestNameFilter| into account |
| 7825 |
% \begin{verbatim} |
| 7826 |
% \HyperDestNameFilter{\getrefbykeydefault{label}{anchor}{Doc-Start}} |
| 7827 |
% \end{verbatim} |
| 7828 |
% |
| 7829 |
% To make this easier, we define |\hyperget| |
| 7830 |
% \begin{macrocode} |
| 7831 |
\ExplSyntaxOn |
| 7832 |
\cs_new:Npn \hyperget #1 #2 |
| 7833 |
{ |
| 7834 |
\use:c { __hyp_get_#1:n } { #2} |
| 7835 |
} |
| 7836 |
|
| 7837 |
\cs_new:Npn \__hyp_get_anchor:n #1 |
| 7838 |
{ |
| 7839 |
\HyperDestNameFilter |
| 7840 |
{ |
| 7841 |
\cs_if_exist:cTF {r@#1} |
| 7842 |
{ |
| 7843 |
\tl_item:cn {r@#1}{4} |
| 7844 |
} |
| 7845 |
{ |
| 7846 |
Doc-Start |
| 7847 |
} |
| 7848 |
} |
| 7849 |
} |
| 7850 |
\cs_new:Npn \__hyp_get_pageanchor:n #1 |
| 7851 |
{ |
| 7852 |
\HyperDestNameFilter |
| 7853 |
{ |
| 7854 |
\cs_if_exist:cTF {r@#1} |
| 7855 |
{ |
| 7856 |
page. \tl_item:cn {r@#1}{2} |
| 7857 |
} |
| 7858 |
{ |
| 7859 |
Doc-Start |
| 7860 |
} |
| 7861 |
} |
| 7862 |
} |
| 7863 |
\cs_new:Npn \__hyp_get_currentanchor:n #1 |
| 7864 |
{ |
| 7865 |
\HyperDestNameFilter { \@currentHref } |
| 7866 |
} |
| 7867 |
\ExplSyntaxOff |
| 7868 |
% \end{macrocode} |
| 7869 |
% \end{macro} |
| 7870 |
|
| 7871 |
% \subsection{Link box support for XeTeX and dvipdfmx} |
| 7872 |
% |
| 7873 |
% \begin{macrocode} |
| 7874 |
\newdimen\XeTeXLinkMargin |
| 7875 |
\setlength{\XeTeXLinkMargin}{2pt} |
| 7876 |
\newcommand\XeTeXLinkBox[1]{} |
| 7877 |
\newcommand*{\XeTeXLink@space}{} |
| 7878 |
|
| 7879 |
\newcommand\Hy@setup@XeTeXLinkBox@dvipdfmx |
| 7880 |
{\font\XeTeXLink@font=pzdr at 1sp\relax |
| 7881 |
\renewcommand*{\XeTeXLink@space}{% |
| 7882 |
\begingroup |
| 7883 |
\XeTeXLink@font |
| 7884 |
\@xxxii |
| 7885 |
\endgroup |
| 7886 |
}% |
| 7887 |
\renewcommand{\XeTeXLinkBox}[1]{% |
| 7888 |
\begingroup |
| 7889 |
\leavevmode |
| 7890 |
\sbox\z@{##1}% |
| 7891 |
\begingroup |
| 7892 |
\dimen@=\dp\z@ |
| 7893 |
\advance\dimen@\XeTeXLinkMargin |
| 7894 |
\setbox\tw@=\llap{% |
| 7895 |
\hb@xt@\XeTeXLinkMargin{% |
| 7896 |
\lower\dimen@\hbox{\XeTeXLink@space}% |
| 7897 |
\hss |
| 7898 |
}% |
| 7899 |
}% |
| 7900 |
\dp\tw@=\dp\z@ |
| 7901 |
\ht\tw@=\ht\z@ |
| 7902 |
\copy\tw@ |
| 7903 |
\endgroup |
| 7904 |
\copy\z@ |
| 7905 |
\dimen@=\ht\z@ |
| 7906 |
\advance\dimen@\XeTeXLinkMargin |
| 7907 |
\setbox\tw@=\rlap{% |
| 7908 |
\hb@xt@\XeTeXLinkMargin{% |
| 7909 |
\hss |
| 7910 |
\raise\dimen@\hbox{\XeTeXLink@space}% |
| 7911 |
}% |
| 7912 |
}% |
| 7913 |
\dp\tw@=\dp\z@ |
| 7914 |
\ht\tw@=\ht\z@ |
| 7915 |
\copy\tw@ |
| 7916 |
\endgroup |
| 7917 |
}} |
| 7918 |
|
| 7919 |
\newcommand\Hy@setup@XeTeXLinkBox@default{% |
| 7920 |
\renewcommand*{\XeTeXLinkBox}[1]{% |
| 7921 |
\begingroup |
| 7922 |
\leavevmode |
| 7923 |
\sbox\z@{##1}% |
| 7924 |
\copy\z@ |
| 7925 |
\endgroup |
| 7926 |
}} |
| 7927 |
\ExplSyntaxOn |
| 7928 |
\AddToHook{begindocument}{% |
| 7929 |
\bool_lazy_or:nnTF{\sys_if_engine_xetex_p:}{\str_if_eq_p:on{\c_sys_backend_str}{dvipdfmx}} |
| 7930 |
{\Hy@setup@XeTeXLinkBox@dvipdfmx} |
| 7931 |
{\Hy@setup@XeTeXLinkBox@default}} |
| 7932 |
\ExplSyntaxOff |
| 7933 |
% \end{macrocode} |
| 7934 |
% |
| 7935 |
% \section{Underlying basic hypertext macros}\label{coremacros} |
| 7936 |
% |
| 7937 |
% Links have an optional type, a filename (possibly a URL), |
| 7938 |
% an internal name, and some marked text. (Caution: the internal |
| 7939 |
% name may contain babel shorthand characters.) |
| 7940 |
% If the second parameter is empty, its an internal link, |
| 7941 |
% otherwise we need to open another file or a URL. |
| 7942 |
% A link start has a type, and a URL. |
| 7943 |
% \begin{macrocode} |
| 7944 |
\def\hyper@@link{\let\Hy@reserved@a\relax |
| 7945 |
\@ifnextchar[{\hyper@link@}{\hyper@link@[link]}% |
| 7946 |
} |
| 7947 |
% #1: type |
| 7948 |
% #2: URL |
| 7949 |
% #3: destination name |
| 7950 |
% #4: text |
| 7951 |
\def\hyper@link@[#1]#2#3#4{% |
| 7952 |
\Hy@ifempty{#4}{% link text |
| 7953 |
\Hy@Warning{Suppressing empty link}% |
| 7954 |
}{% |
| 7955 |
\begingroup |
| 7956 |
\protected@edef\Hy@tempa{#2}% |
| 7957 |
\edef\Hy@tempb{#3}% |
| 7958 |
\ifx\Hy@tempa\@empty |
| 7959 |
\ifx\Hy@tempb\@empty |
| 7960 |
\Hy@Warning{Suppressing link with empty target}% |
| 7961 |
\toks@{% |
| 7962 |
\endgroup |
| 7963 |
\@secondoftwo |
| 7964 |
}% |
| 7965 |
\else |
| 7966 |
\toks@{% |
| 7967 |
\endgroup |
| 7968 |
\hyper@link{#1}% |
| 7969 |
}% |
| 7970 |
\fi |
| 7971 |
\else |
| 7972 |
\toks@{% |
| 7973 |
\endgroup |
| 7974 |
\expandafter\hyper@readexternallink#2\\{#1}% |
| 7975 |
}% |
| 7976 |
\fi |
| 7977 |
\Hy@safe@activesfalse |
| 7978 |
\toks@\expandafter{% |
| 7979 |
\the\expandafter\toks@ |
| 7980 |
\expandafter{\Hy@tempb}{#4}% |
| 7981 |
}% |
| 7982 |
\the\toks@ |
| 7983 |
}% |
| 7984 |
} |
| 7985 |
% \end{macrocode} |
| 7986 |
% The problem here is that the first (URL) parameter may be a |
| 7987 |
% local \texttt{file:} reference |
| 7988 |
% (in which case some browsers treat it differently) |
| 7989 |
% or a genuine URL, in which case we'll have to activate |
| 7990 |
% a real Web browser. |
| 7991 |
% Note that a simple name is also a URL, as that is interpreted |
| 7992 |
% as a relative file name. We have to worry about |#| signs in a local |
| 7993 |
% file as well. |
| 7994 |
% |
| 7995 |
% \begin{macrocode} |
| 7996 |
\def\hyper@readexternallink#1\\#2#3#4{% |
| 7997 |
\begingroup |
| 7998 |
\let\\\relax |
| 7999 |
\expandafter\endgroup |
| 8000 |
\expandafter\@@hyper@@readexternallink#1\\{#2}{#3}{#4}% |
| 8001 |
} |
| 8002 |
\def\@@hyper@@readexternallink#1\\#2#3#4{% |
| 8003 |
% \end{macrocode} |
| 8004 |
% Parameters are: |
| 8005 |
% \begin{enumerate} |
| 8006 |
% \item The URL or file name |
| 8007 |
% \item The type |
| 8008 |
% \item The internal name |
| 8009 |
% \item The link string |
| 8010 |
% \end{enumerate} |
| 8011 |
% We need to get the 1st parameter properly expanded, |
| 8012 |
% so we delimit the arguments rather than passing it inside a group. |
| 8013 |
% \begin{macrocode} |
| 8014 |
\@hyper@readexternallink{#2}{#3}{#4}#1::\\{#1}% |
| 8015 |
} |
| 8016 |
% \end{macrocode} |
| 8017 |
% Now (potentially), we are passed: |
| 8018 |
% 1) The link type |
| 8019 |
% 2) The internal name, |
| 8020 |
% 3) the link string, |
| 8021 |
% 4) the URL type (http, mailto, file etc), |
| 8022 |
% 5) the URL details |
| 8023 |
% 6) anything after a real : in the URL |
| 8024 |
% 7) the whole URL again |
| 8025 |
% \begin{macrocode} |
| 8026 |
\def\@pdftempwordfile{file}% |
| 8027 |
\def\@pdftempwordrun{run}% |
| 8028 |
\def\@hyper@readexternallink#1#2#3#4:#5:#6\\#7{% |
| 8029 |
% \end{macrocode} |
| 8030 |
% If there are no colons at all (|#6| is blank), its a local |
| 8031 |
% file; if the URL type (|#4|) is blank, its probably a Mac filename, |
| 8032 |
% so treat it like a \texttt{file:} URL. The only flaw is if |
| 8033 |
% its a relative Mac path, with several colon-separated elements --- |
| 8034 |
% then we lose. Such names must be prefixed with an explicit |dvi:| |
| 8035 |
% \begin{macrocode} |
| 8036 |
\ifx\\#6\\% |
| 8037 |
\@hyper@linkfile file:#7\\{#3}{#2}{#7}% |
| 8038 |
\else |
| 8039 |
\ifx\\#4\\% |
| 8040 |
\@hyper@linkfile file:#7\\{#3}{#2}{#7}% |
| 8041 |
\else |
| 8042 |
% \end{macrocode} |
| 8043 |
% If the URL type is `file', pass it for local opening |
| 8044 |
% \begin{macrocode} |
| 8045 |
\def\@pdftempa{#4}% |
| 8046 |
\ifx\@pdftempa\@pdftempwordfile |
| 8047 |
\@hyper@linkfile#7\\{#3}{#2}{#7}% |
| 8048 |
\else |
| 8049 |
% \end{macrocode} |
| 8050 |
% if it starts `run:', its to launch an application. |
| 8051 |
% \begin{macrocode} |
| 8052 |
\ifx\@pdftempa\@pdftempwordrun |
| 8053 |
\ifHy@pdfa |
| 8054 |
\Hy@Error{% |
| 8055 |
PDF/A: Launch action is prohibited% |
| 8056 |
}\@ehc |
| 8057 |
\begingroup |
| 8058 |
\leavevmode |
| 8059 |
#2% |
| 8060 |
\endgroup |
| 8061 |
\else |
| 8062 |
\@hyper@launch#7\\{#3}{#2}% |
| 8063 |
\fi |
| 8064 |
\else |
| 8065 |
% \end{macrocode} |
| 8066 |
% otherwise its a URL |
| 8067 |
% \begin{macrocode} |
| 8068 |
\hyper@linkurl{#3}{#7\ifx\\#2\\\else\hyper@hash#2\fi}% |
| 8069 |
\fi |
| 8070 |
\fi |
| 8071 |
\fi |
| 8072 |
\fi |
| 8073 |
} |
| 8074 |
% \end{macrocode} |
| 8075 |
% By default, turn |run:| into |file:| |
| 8076 |
% \begin{macrocode} |
| 8077 |
\def\@hyper@launch run:#1\\#2#3{% filename, anchor text, linkname |
| 8078 |
\hyper@linkurl{#2}{% |
| 8079 |
\Hy@linkfileprefix |
| 8080 |
#1% |
| 8081 |
\ifx\\#3\\% |
| 8082 |
\else |
| 8083 |
\hyper@hash |
| 8084 |
#3% |
| 8085 |
\fi |
| 8086 |
}% |
| 8087 |
} |
| 8088 |
% \end{macrocode} |
| 8089 |
% D P Story <[email protected]> pointed out that relative paths |
| 8090 |
% starting .. fell over. Switched to using |\filename@parse| to |
| 8091 |
% solve this. |
| 8092 |
% \begin{macrocode} |
| 8093 |
\def\@hyper@linkfile file:#1\\#2#3#4{% |
| 8094 |
%file url,link string, name, original uri |
| 8095 |
\filename@parse{#1}% |
| 8096 |
\ifx\filename@ext\relax |
| 8097 |
\edef\filename@ext{\XR@ext}% |
| 8098 |
\fi |
| 8099 |
\def\use@file{\filename@area\filename@base.\filename@ext}% |
| 8100 |
\Hy@IfStringEndsWith\filename@ext\XR@ext{% |
| 8101 |
\hyper@linkfile{#2}{\use@file}{#3}% |
| 8102 |
}{% |
| 8103 |
\ifx\@baseurl\@empty |
| 8104 |
\hyper@linkurl{#2}{% |
| 8105 |
#4\ifx\\#3\\\else\hyper@hash#3\fi |
| 8106 |
}% |
| 8107 |
\else |
| 8108 |
\hyper@linkurl{#2}{\use@file\ifx\\#3\\\else\hyper@hash#3\fi}% |
| 8109 |
\fi |
| 8110 |
}% |
| 8111 |
} |
| 8112 |
% \end{macrocode} |
| 8113 |
% \begin{macrocode} |
| 8114 |
\def\Hy@IfStringEndsWith#1#2{% |
| 8115 |
\begingroup |
| 8116 |
\edef\x{#1}% |
| 8117 |
\@onelevel@sanitize\x |
| 8118 |
\edef\x{.\x$}% |
| 8119 |
\edef\y{#2}% |
| 8120 |
\@onelevel@sanitize\y |
| 8121 |
\edef\y{.\y$}% |
| 8122 |
\expandafter\def\expandafter\z\expandafter##\expandafter1\y##2\@nil{% |
| 8123 |
\endgroup |
| 8124 |
\ifx\relax##2\relax |
| 8125 |
\expandafter\@secondoftwo |
| 8126 |
\else |
| 8127 |
\expandafter\@firstoftwo |
| 8128 |
\fi |
| 8129 |
}% |
| 8130 |
\expandafter\expandafter\expandafter\z\expandafter\x\y\@nil |
| 8131 |
} |
| 8132 |
% \end{macrocode} |
| 8133 |
% \begin{macrocode} |
| 8134 |
\def\Hy@StringLocalhost{localhost} |
| 8135 |
\@onelevel@sanitize\Hy@StringLocalhost |
| 8136 |
\def\Hy@CleanupFile#1{% |
| 8137 |
\edef#1{#1}% |
| 8138 |
\expandafter\Hy@@CleanupFile#1\hbox///\hbox\@nil{#1}% |
| 8139 |
} |
| 8140 |
\def\Hy@@CleanupFile#1//#2/#3\hbox#4\@nil#5{% |
| 8141 |
\begingroup |
| 8142 |
\toks@{\endgroup}% |
| 8143 |
\def\x{#1}% |
| 8144 |
\ifx\x\@empty |
| 8145 |
\def\x{#2}% |
| 8146 |
\ifx\x\@empty |
| 8147 |
\toks@{\endgroup\def#5{/#3}}% |
| 8148 |
\else |
| 8149 |
\@onelevel@sanitize\x |
| 8150 |
\ifx\x\Hy@StringLocalhost |
| 8151 |
\toks@{\endgroup\def#5{/#3}}% |
| 8152 |
\fi |
| 8153 |
\fi |
| 8154 |
\fi |
| 8155 |
\the\toks@ |
| 8156 |
} |
| 8157 |
% \end{macrocode} |
| 8158 |
% Anchors have a name, and marked text. |
| 8159 |
% We have to be careful with the marked text, as if we break |
| 8160 |
% off part of something to put a |\special| around it, all hell breaks |
| 8161 |
% loose. Therefore, we check the category code of the first token, |
| 8162 |
% and only proceed if its safe. Tanmoy sorted this out. |
| 8163 |
% |
| 8164 |
% A curious case arises if the original parameter |
| 8165 |
% was in braces. That means that |#2| comes here a multiple |
| 8166 |
% letters, and the |noexpand| just looks at the first one, |
| 8167 |
% putting the rest in the output. Yuck. |
| 8168 |
% \begin{macrocode} |
| 8169 |
\long\def\hyper@@anchor#1#2{\@hyper@@anchor#1\relax#2\relax} |
| 8170 |
\long\def\@hyper@@anchor#1\relax#2#3\relax{% |
| 8171 |
\ifx\\#1\\% |
| 8172 |
#2\Hy@Warning{Ignoring empty anchor}% |
| 8173 |
\else |
| 8174 |
\def\anchor@spot{#2#3}% |
| 8175 |
\let\put@me@back\@empty |
| 8176 |
\ifx\relax#2\relax |
| 8177 |
\else |
| 8178 |
\ifHy@nesting |
| 8179 |
\else |
| 8180 |
\ifcat a\noexpand#2\relax |
| 8181 |
\else |
| 8182 |
\ifcat 0\noexpand#2 \relax |
| 8183 |
\else |
| 8184 |
% \typeout{Anchor start is not alphanumeric % |
| 8185 |
% on input line\the\inputlineno% |
| 8186 |
% }% |
| 8187 |
\let\anchor@spot\@empty |
| 8188 |
\def\put@me@back{#2#3}% |
| 8189 |
\fi |
| 8190 |
\fi |
| 8191 |
\fi |
| 8192 |
\fi |
| 8193 |
\ifHy@activeanchor |
| 8194 |
\anchor@spot |
| 8195 |
\else |
| 8196 |
\hyper@anchor{#1}% |
| 8197 |
\fi |
| 8198 |
\expandafter\put@me@back |
| 8199 |
\fi |
| 8200 |
\let\anchor@spot\@empty |
| 8201 |
} |
| 8202 |
\let\anchor@spot\@empty |
| 8203 |
% \end{macrocode} |
| 8204 |
% |
| 8205 |
% \section{Option `destlabel'} |
| 8206 |
% |
| 8207 |
% \begin{macrocode} |
| 8208 |
\ifHy@destlabel |
| 8209 |
% \end{macrocode} |
| 8210 |
% |
| 8211 |
% \begin{macro}{\hyper@newdestlabel} |
| 8212 |
% \begin{macrocode} |
| 8213 |
\def\hyper@newdestlabel#1#2{% |
| 8214 |
\begingroup |
| 8215 |
\Hy@safe@activestrue |
| 8216 |
\edef\x{\endgroup |
| 8217 |
\noexpand\@newl@bel{HyDL}{#1}{#2}% |
| 8218 |
}% |
| 8219 |
\x |
| 8220 |
}% |
| 8221 |
% \end{macrocode} |
| 8222 |
% \end{macro} |
| 8223 |
% |
| 8224 |
% \begin{macro}{\hyper@destlabel@hook} |
| 8225 |
% \begin{macrocode} |
| 8226 |
\providecommand*{\hyper@destlabel@hook}{}% |
| 8227 |
% \end{macrocode} |
| 8228 |
% \end{macro} |
| 8229 |
% |
| 8230 |
% \begin{macro}{\Hy@DestRename} |
| 8231 |
% \begin{macrocode} |
| 8232 |
\newcommand*{\Hy@DestRename}[2]{% |
| 8233 |
\@ifundefined{HyDL!#1}{% |
| 8234 |
\begingroup |
| 8235 |
\Hy@safe@activestrue |
| 8236 |
\edef\dest@name{#1}% |
| 8237 |
\edef\label@name{#2}% |
| 8238 |
\hyper@destlabel@hook |
| 8239 |
\Hy@IsNotEmpty{dest@name}{% |
| 8240 |
\Hy@IsNotEmpty{label@name}{% |
| 8241 |
\global\expandafter |
| 8242 |
\let\csname HyDL!#1\endcsname\@empty |
| 8243 |
\if@filesw |
| 8244 |
\protected@write\@auxout{}{% |
| 8245 |
\string\hyper@newdestlabel |
| 8246 |
{#1}% |
| 8247 |
{\label@name}% |
| 8248 |
}% |
| 8249 |
\fi |
| 8250 |
}% |
| 8251 |
}% |
| 8252 |
\endgroup |
| 8253 |
}{}% |
| 8254 |
}% |
| 8255 |
% \end{macrocode} |
| 8256 |
% \end{macro} |
| 8257 |
% \begin{macro}{\HyperDestRename} |
| 8258 |
% \begin{macrocode} |
| 8259 |
\newcommand*{\HyperDestRename}[2]{% |
| 8260 |
\AtBeginDocument{% |
| 8261 |
\Hy@DestRename{#1}{#2}% |
| 8262 |
}% |
| 8263 |
}% |
| 8264 |
\AtBeginDocument{% |
| 8265 |
\let\HyperDestRename\Hy@DestRename |
| 8266 |
}% |
| 8267 |
% \end{macrocode} |
| 8268 |
% \end{macro} |
| 8269 |
% \begin{macro}{\Hy@IsNotEmpty} |
| 8270 |
% \begin{macrocode} |
| 8271 |
\def\Hy@IsNotEmpty#1{% |
| 8272 |
\@ifundefined{#1}\@gobble{% |
| 8273 |
\expandafter\ifx\csname#1\endcsname\@empty |
| 8274 |
\expandafter\@gobble |
| 8275 |
\else |
| 8276 |
\expandafter\@firstofone |
| 8277 |
\fi |
| 8278 |
}% |
| 8279 |
}% |
| 8280 |
% \end{macrocode} |
| 8281 |
% \end{macro} |
| 8282 |
% \begin{macrocode} |
| 8283 |
\Hy@GlobalAppendToMacro\label@hook{% |
| 8284 |
\HyperDestRename\@currentHref\label@name |
| 8285 |
}% |
| 8286 |
% \end{macrocode} |
| 8287 |
% |
| 8288 |
% \begin{macro}{\HyperDestLabelReplace} |
| 8289 |
% \begin{macrocode} |
| 8290 |
\def\HyperDestLabelReplace#1{% |
| 8291 |
\@ifundefined{HyDL@#1}{% |
| 8292 |
#1% |
| 8293 |
}{% |
| 8294 |
\csname HyDL@#1\endcsname |
| 8295 |
}% |
| 8296 |
}% |
| 8297 |
% \end{macrocode} |
| 8298 |
% \end{macro} |
| 8299 |
% \begin{macro}{\HyperDestNameFilter} |
| 8300 |
% \begin{macrocode} |
| 8301 |
\let\HyperDestNameFilter\HyperDestLabelReplace |
| 8302 |
% \end{macrocode} |
| 8303 |
% \end{macro} |
| 8304 |
% |
| 8305 |
% \begin{macrocode} |
| 8306 |
\else |
| 8307 |
% \end{macrocode} |
| 8308 |
% \begin{macro}{\hyper@newdestlabel} |
| 8309 |
% \begin{macrocode} |
| 8310 |
\let\hyper@newdestlabel\@gobbletwo |
| 8311 |
% \end{macrocode} |
| 8312 |
% \end{macro} |
| 8313 |
% \begin{macro}{\HyperDestLabelReplace} |
| 8314 |
% \begin{macrocode} |
| 8315 |
\let\HyperDestLabelReplace\@firstofone |
| 8316 |
% \end{macrocode} |
| 8317 |
% \end{macro} |
| 8318 |
% \begin{macro}{\HyperDestRename} |
| 8319 |
% \begin{macrocode} |
| 8320 |
\let\HyperDestRename\@gobbletwo |
| 8321 |
% \end{macrocode} |
| 8322 |
% \end{macro} |
| 8323 |
% \begin{macrocode} |
| 8324 |
\fi |
| 8325 |
% \end{macrocode} |
| 8326 |
% |
| 8327 |
% \begin{macrocode} |
| 8328 |
\Hy@DisableOption{destlabel} |
| 8329 |
% \end{macrocode} |
| 8330 |
% |
| 8331 |
% Provide a dummy default definition of \cs{hyper@newdestlabel} |
| 8332 |
% inside the .aux files. |
| 8333 |
% \begin{macrocode} |
| 8334 |
\AddToHook{include/before} |
| 8335 |
{\immediate\write\@partaux{\string\providecommand\string\hyper@newdestlabel[2]{}}} |
| 8336 |
\AddToHook{begindocument} |
| 8337 |
{\immediate\write\@mainaux{\string\providecommand\string\hyper@newdestlabel[2]{}}} |
| 8338 |
% \end{macrocode} |
| 8339 |
% |
| 8340 |
% \section{Forms creation} |
| 8341 |
% Allow for creation of PDF or HTML forms. The effects here are |
| 8342 |
% limited somewhat by the need to support both output formats, |
| 8343 |
% so it may not be as clever as something which only wants |
| 8344 |
% to make PDF forms. |
| 8345 |
% |
| 8346 |
% I (Sebastian) could not have started this without the |
| 8347 |
% encouragement of T V Raman. |
| 8348 |
% |
| 8349 |
% \subsection{Field flags} |
| 8350 |
% |
| 8351 |
% The field flags are organized in a bit set. |
| 8352 |
% \begin{macrocode} |
| 8353 |
\RequirePackage{bitset} |
| 8354 |
% \end{macrocode} |
| 8355 |
% |
| 8356 |
% Each flag has a option name, an \cs{if} switch, |
| 8357 |
% and a bit position. The default is always `false', the |
| 8358 |
% flag is clear. |
| 8359 |
% This is also the default of the switch created by \cs{newif}. |
| 8360 |
% |
| 8361 |
% The names of the flags in the PDF specification (1.7) |
| 8362 |
% are used as lowercase option names. |
| 8363 |
% \begin{macro}{\HyField@NewFlag} |
| 8364 |
% |#1|: type: |F| annot flags, |Ff| field flags\\ |
| 8365 |
% |#2|: PDF name\\ |
| 8366 |
% |#3|: PDF position |
| 8367 |
% \begin{macrocode} |
| 8368 |
\def\HyField@NewFlag#1#2{% |
| 8369 |
\lowercase{\HyField@NewOption{#2}}% |
| 8370 |
\lowercase{\HyField@NewBitsetFlag{#2}}{#2}{#1}% |
| 8371 |
} |
| 8372 |
% \end{macrocode} |
| 8373 |
% \end{macro} |
| 8374 |
% \begin{macro}{\HyField@NewFlagOnly} |
| 8375 |
% \begin{macrocode} |
| 8376 |
\def\HyField@NewFlagOnly#1#2{% |
| 8377 |
\lowercase{\HyField@NewBitsetFlag{#2}}{#2}{#1}% |
| 8378 |
} |
| 8379 |
% \end{macrocode} |
| 8380 |
% \end{macro} |
| 8381 |
% \begin{macro}{\HyField@NewOption} |
| 8382 |
% |#1|: option name |
| 8383 |
% \begin{macrocode} |
| 8384 |
\def\HyField@NewOption#1{% |
| 8385 |
\expandafter\newif\csname ifFld@#1\endcsname |
| 8386 |
\define@key{Field}{#1}[true]{% |
| 8387 |
\lowercase{\Field@boolkey{##1}}{#1}% |
| 8388 |
}% |
| 8389 |
} |
| 8390 |
% \end{macrocode} |
| 8391 |
% \end{macro} |
| 8392 |
% \begin{macro}{\HyField@NewBitsetFlag} |
| 8393 |
% Package `bitset' uses zero based positions, the |
| 8394 |
% PDF specification starts with one.\\ |
| 8395 |
% |#1|: option\\ |
| 8396 |
% |#2|: PDF name\\ |
| 8397 |
% |#3|: type: |F| annot flags, |Ff| field flags\\ |
| 8398 |
% |#4|: PDF position |
| 8399 |
% \begin{macrocode} |
| 8400 |
\def\HyField@NewBitsetFlag#1#2#3#4{% |
| 8401 |
\begingroup |
| 8402 |
\count@=#4\relax |
| 8403 |
\advance\count@\m@ne |
| 8404 |
\def\x##1{% |
| 8405 |
\endgroup |
| 8406 |
\expandafter\def\csname HyField@#3@#1\endcsname{##1}% |
| 8407 |
\expandafter\ifx\csname HyField@#3@##1\endcsname\relax |
| 8408 |
\expandafter\edef\csname HyField@#3@##1\endcsname{% |
| 8409 |
(\number#4) #2% |
| 8410 |
}% |
| 8411 |
\else |
| 8412 |
\expandafter\edef\csname HyField@#3@##1\endcsname{% |
| 8413 |
\csname HyField@#3@##1\endcsname |
| 8414 |
/#2% |
| 8415 |
}% |
| 8416 |
\fi |
| 8417 |
}% |
| 8418 |
\expandafter\x\expandafter{\the\count@}% |
| 8419 |
} |
| 8420 |
% \end{macrocode} |
| 8421 |
% \end{macro} |
| 8422 |
% \begin{macro}{\HyField@UseFlag} |
| 8423 |
% The bit set is |HyField@#1| |
| 8424 |
% \begin{macrocode} |
| 8425 |
\def\HyField@UseFlag#1#2{% |
| 8426 |
\lowercase{\HyField@@UseFlag{#2}}{#1}% |
| 8427 |
} |
| 8428 |
% \end{macrocode} |
| 8429 |
% \end{macro} |
| 8430 |
% \begin{macro}{\HyField@@UseFlag} |
| 8431 |
% \begin{macrocode} |
| 8432 |
\def\HyField@@UseFlag#1#2{% |
| 8433 |
\bitsetSetValue{HyField@#2}{% |
| 8434 |
\csname HyField@#2@#1\endcsname |
| 8435 |
}{% |
| 8436 |
\csname ifFld@#1\endcsname 1\else 0\fi |
| 8437 |
}% |
| 8438 |
} |
| 8439 |
% \end{macrocode} |
| 8440 |
% \end{macro} |
| 8441 |
% \begin{macro}{\HyField@SetFlag} |
| 8442 |
% The bit set is |HyField@#1| |
| 8443 |
% \begin{macrocode} |
| 8444 |
\def\HyField@SetFlag#1#2{% |
| 8445 |
\lowercase{\HyField@@SetFlag{#2}}{#1}% |
| 8446 |
} |
| 8447 |
% \end{macrocode} |
| 8448 |
% \end{macro} |
| 8449 |
% \begin{macro}{\HyField@@SetFlag} |
| 8450 |
% \begin{macrocode} |
| 8451 |
\def\HyField@@SetFlag#1#2{% |
| 8452 |
\bitsetSetValue{HyField@#2}{% |
| 8453 |
\csname HyField@#2@#1\endcsname |
| 8454 |
}{1}% |
| 8455 |
} |
| 8456 |
% \end{macrocode} |
| 8457 |
% \end{macro} |
| 8458 |
% \begin{macro}{\HyField@PrintFlags} |
| 8459 |
% \begin{macrocode} |
| 8460 |
\def\HyField@PrintFlags#1#2{% |
| 8461 |
\ifHy@verbose |
| 8462 |
\begingroup |
| 8463 |
\let\Hy@temp\@empty |
| 8464 |
\let\MessageBreak\relax |
| 8465 |
\expandafter\@for\expandafter\x\expandafter:\expandafter=% |
| 8466 |
\bitsetGetSetBitList{HyField@#1}\do{% |
| 8467 |
\edef\Hy@temp{% |
| 8468 |
\Hy@temp |
| 8469 |
\csname HyField@#1@\x\endcsname\MessageBreak |
| 8470 |
}% |
| 8471 |
}% |
| 8472 |
\edef\x{\endgroup |
| 8473 |
\noexpand\Hy@Info{% |
| 8474 |
Field flags: % |
| 8475 |
\expandafter\ifx\@car#1\@nil S\else/\fi |
| 8476 |
#1 % |
| 8477 |
\bitsetGetDec{HyField@#1} % |
| 8478 |
(0x\bitsetGetHex{HyField@#1}{32})\MessageBreak |
| 8479 |
\Hy@temp |
| 8480 |
for #2% |
| 8481 |
}% |
| 8482 |
}\x |
| 8483 |
\fi |
| 8484 |
} |
| 8485 |
% \end{macrocode} |
| 8486 |
% \end{macro} |
| 8487 |
% |
| 8488 |
% \subsubsection{Declarations of field flags} |
| 8489 |
% |
| 8490 |
% ``Table 8.70 Field flags common to all field types'' |
| 8491 |
% \begin{macrocode} |
| 8492 |
\HyField@NewFlag{Ff}{ReadOnly}{1} |
| 8493 |
\HyField@NewFlag{Ff}{Required}{2} |
| 8494 |
\HyField@NewFlag{Ff}{NoExport}{3} |
| 8495 |
% \end{macrocode} |
| 8496 |
% ``Table 8.75 Field flags specific to button fields'' |
| 8497 |
% \begin{macrocode} |
| 8498 |
\HyField@NewFlag{Ff}{NoToggleToOff}{15} |
| 8499 |
\HyField@NewFlag{Ff}{Radio}{16} |
| 8500 |
\HyField@NewFlag{Ff}{Pushbutton}{17} |
| 8501 |
\HyField@NewFlag{Ff}{RadiosInUnison}{26} |
| 8502 |
% \end{macrocode} |
| 8503 |
% ``Table 8.77 Field flags specific to text fields'' |
| 8504 |
% \begin{macrocode} |
| 8505 |
\HyField@NewFlag{Ff}{Multiline}{13} |
| 8506 |
\HyField@NewFlag{Ff}{Password}{14} |
| 8507 |
\HyField@NewFlag{Ff}{FileSelect}{21}% PDF 1.4 |
| 8508 |
\HyField@NewFlag{Ff}{DoNotSpellCheck}{23}% PDF 1.4 |
| 8509 |
\HyField@NewFlag{Ff}{DoNotScroll}{24}% PDF 1.4 |
| 8510 |
\HyField@NewFlag{Ff}{Comb}{25}% PDF 1.4 |
| 8511 |
\HyField@NewFlag{Ff}{RichText}{26}% PDF 1.5 |
| 8512 |
% \end{macrocode} |
| 8513 |
% ``Table 8.79 field flags specific to choice fields'' |
| 8514 |
% \begin{macrocode} |
| 8515 |
\HyField@NewFlag{Ff}{Combo}{18} |
| 8516 |
\HyField@NewFlag{Ff}{Edit}{19} |
| 8517 |
\HyField@NewFlag{Ff}{Sort}{20} |
| 8518 |
\HyField@NewFlag{Ff}{MultiSelect}{22}% PDF 1.4 |
| 8519 |
% \HyField@NewFlag{Ff}{DoNotSpellCheck}{23}% PDF 1.4 |
| 8520 |
\HyField@NewFlag{Ff}{CommitOnSelChange}{27}% PDF 1.5 |
| 8521 |
% \end{macrocode} |
| 8522 |
% Signature fields are not supported. |
| 8523 |
% |
| 8524 |
% Until 6.76i hyperref uses field option `combo' to set |
| 8525 |
% three flags `Combo', `Edit', and `Sort'. Option `popdown' sets |
| 8526 |
% flag `Combo' only. |
| 8527 |
% \begin{macrocode} |
| 8528 |
\newif\ifFld@popdown |
| 8529 |
\define@key{Field}{popdown}[true]{% |
| 8530 |
\lowercase{\Field@boolkey{#1}}{popdown}% |
| 8531 |
} |
| 8532 |
% \end{macrocode} |
| 8533 |
% |
| 8534 |
% Annotation flags. The form objects are widget annotations. |
| 8535 |
% There are two flags for readonly settings, the one in the annotation |
| 8536 |
% flags is ignored, instead the other in the field flags is used. |
| 8537 |
% |
| 8538 |
% Flag |Print| is not much useful, because hyperref do not |
| 8539 |
% use the appearance entry of the annotations for most fields. |
| 8540 |
% \begin{macrocode} |
| 8541 |
\HyField@NewFlag{F}{Invisible}{1} |
| 8542 |
\HyField@NewFlag{F}{Hidden}{2}% PDF 1.2 |
| 8543 |
\HyField@NewFlag{F}{Print}{3}% PDF 1.2 |
| 8544 |
\HyField@NewFlag{F}{NoZoom}{4}% PDF 1.2 |
| 8545 |
\HyField@NewFlag{F}{NoRotate}{5}% PDF 1.3 |
| 8546 |
\HyField@NewFlag{F}{NoView}{6}% PDF 1.3 |
| 8547 |
\HyField@NewFlag{F}{Locked}{8}% PDF 1.4 |
| 8548 |
\HyField@NewFlag{F}{ToggleNoView}{9}% PDF 1.5 |
| 8549 |
\HyField@NewFlag{F}{LockedContents}{10}% PDF 1.7 |
| 8550 |
% \end{macrocode} |
| 8551 |
% |
| 8552 |
% \begin{macrocode} |
| 8553 |
\ifHy@pdfa |
| 8554 |
\def\HyField@PDFAFlagWarning#1#2{% |
| 8555 |
\Hy@Warning{% |
| 8556 |
PDF/A: Annotation flag `#1' must\MessageBreak |
| 8557 |
be set to `#2'% |
| 8558 |
}% |
| 8559 |
}% |
| 8560 |
\Fld@invisiblefalse |
| 8561 |
\def\Fld@invisibletrue{% |
| 8562 |
\HyField@PDFAFlagWarning{invisible}{false}% |
| 8563 |
}% |
| 8564 |
\Fld@hiddenfalse |
| 8565 |
\def\Fld@hiddentrue{% |
| 8566 |
\HyField@PDFAFlagWarning{hidden}{false}% |
| 8567 |
}% |
| 8568 |
\Fld@printtrue |
| 8569 |
\def\Fld@printfalse{% |
| 8570 |
\HyField@PDFAFlagWarning{print}{true}% |
| 8571 |
}% |
| 8572 |
\Fld@nozoomtrue |
| 8573 |
\def\Fld@nozoomfalse{% |
| 8574 |
\HyField@PDFAFlagWarning{nozoom}{true}% |
| 8575 |
}% |
| 8576 |
\Fld@norotatetrue |
| 8577 |
\def\Fld@norotatefalse{% |
| 8578 |
\HyField@PDFAFlagWarning{norotate}{true}% |
| 8579 |
}% |
| 8580 |
\Fld@noviewfalse |
| 8581 |
\def\Fld@noviewtrue{% |
| 8582 |
\HyField@PDFAFlagWarning{noview}{false}% |
| 8583 |
}% |
| 8584 |
\fi |
| 8585 |
% \end{macrocode} |
| 8586 |
% |
| 8587 |
% Submit flags. Flag 1 Include/Exclude is not supported, |
| 8588 |
% use option noexport instead. |
| 8589 |
% \begin{macrocode} |
| 8590 |
\HyField@NewFlag{Submit}{IncludeNoValueFields}{2} |
| 8591 |
\HyField@NewFlagOnly{Submit}{ExportFormat}{3} |
| 8592 |
\HyField@NewFlag{Submit}{GetMethod}{4} |
| 8593 |
\HyField@NewFlag{Submit}{SubmitCoordinates}{5} |
| 8594 |
\HyField@NewFlagOnly{Submit}{XFDF}{6} |
| 8595 |
\HyField@NewFlag{Submit}{IncludeAppendSaves}{7} |
| 8596 |
\HyField@NewFlag{Submit}{IncludeAnnotations}{8} |
| 8597 |
\HyField@NewFlagOnly{Submit}{SubmitPDF}{9} |
| 8598 |
\HyField@NewFlag{Submit}{CanonicalFormat}{10} |
| 8599 |
\HyField@NewFlag{Submit}{ExclNonUserAnnots}{11} |
| 8600 |
\HyField@NewFlag{Submit}{ExclFKey}{12} |
| 8601 |
\HyField@NewFlag{Submit}{EmbedForm}{14} |
| 8602 |
% \end{macrocode} |
| 8603 |
% \begin{macrocode} |
| 8604 |
\define@key{Field}{export}{% |
| 8605 |
\lowercase{\def\Hy@temp{#1}}% |
| 8606 |
\@ifundefined{Fld@export@\Hy@temp}{% |
| 8607 |
\@onelevel@sanitize\Hy@temp |
| 8608 |
\Hy@Error{% |
| 8609 |
Unknown export format `\Hy@temp'.\MessageBreak |
| 8610 |
Known formats are `FDF', `HTML', `XFDF', and `PDF'% |
| 8611 |
}\@ehc |
| 8612 |
}{% |
| 8613 |
\let\Fld@export\Hy@temp |
| 8614 |
}% |
| 8615 |
} |
| 8616 |
\def\Fld@export{fdf} |
| 8617 |
\@namedef{Fld@export@fdf}{0}% |
| 8618 |
\@namedef{Fld@export@html}{1}% |
| 8619 |
\@namedef{Fld@export@xfdf}{2}% |
| 8620 |
\@namedef{Fld@export@pdf}{3}% |
| 8621 |
% \end{macrocode} |
| 8622 |
% |
| 8623 |
% \subsubsection{Set submit flags} |
| 8624 |
% |
| 8625 |
% \begin{macro}{\HyField@FlagsSubmit} |
| 8626 |
% \begin{macrocode} |
| 8627 |
\def\HyField@FlagsSubmit{% |
| 8628 |
\bitsetReset{HyField@Submit}% |
| 8629 |
\ifcase\@nameuse{Fld@export@\Fld@export} % |
| 8630 |
% FDF |
| 8631 |
\HyField@UseFlag{Submit}{IncludeNoValueFields}% |
| 8632 |
\HyField@UseFlag{Submit}{SubmitCoordinates}% |
| 8633 |
\HyField@UseFlag{Submit}{IncludeAppendSaves}% |
| 8634 |
\HyField@UseFlag{Submit}{IncludeAnnotations}% |
| 8635 |
\HyField@UseFlag{Submit}{CanonicalFormat}% |
| 8636 |
\HyField@UseFlag{Submit}{ExclNonUserAnnots}% |
| 8637 |
\HyField@UseFlag{Submit}{ExclFKey}% |
| 8638 |
\HyField@UseFlag{Submit}{EmbedForm}% |
| 8639 |
\or % HTML |
| 8640 |
\HyField@SetFlag{Submit}{ExportFormat}% |
| 8641 |
\HyField@UseFlag{Submit}{IncludeNoValueFields}% |
| 8642 |
\HyField@UseFlag{Submit}{GetMethod}% |
| 8643 |
\HyField@UseFlag{Submit}{SubmitCoordinates}% |
| 8644 |
\HyField@UseFlag{Submit}{CanonicalFormat}% |
| 8645 |
\or % XFDF |
| 8646 |
\HyField@SetFlag{Submit}{XFDF}% |
| 8647 |
\HyField@UseFlag{Submit}{IncludeNoValueFields}% |
| 8648 |
\HyField@UseFlag{Submit}{SubmitCoordinates}% |
| 8649 |
\HyField@UseFlag{Submit}{CanonicalFormat}% |
| 8650 |
\or % PDF |
| 8651 |
\HyField@SetFlag{Submit}{SubmitPDF}% |
| 8652 |
\HyField@UseFlag{Submit}{GetMethod}% |
| 8653 |
\fi |
| 8654 |
\HyField@PrintFlags{Submit}{submit button field}% |
| 8655 |
\bitsetIsEmpty{HyField@Submit}{% |
| 8656 |
\let\Fld@submitflags\@empty |
| 8657 |
}{% |
| 8658 |
\edef\Fld@submitflags{/Flags \bitsetGetDec{HyField@Submit}}% |
| 8659 |
}% |
| 8660 |
} |
| 8661 |
% \end{macrocode} |
| 8662 |
% \end{macro} |
| 8663 |
% |
| 8664 |
% \subsubsection{Set annot flags in fields} |
| 8665 |
% |
| 8666 |
% \begin{macro}{\HyField@FlagsAnnot} |
| 8667 |
% \begin{macrocode} |
| 8668 |
\def\HyField@FlagsAnnot#1{% |
| 8669 |
\bitsetReset{HyField@F}% |
| 8670 |
\HyField@UseFlag{F}{Invisible}% |
| 8671 |
\HyField@UseFlag{F}{Hidden}% |
| 8672 |
\HyField@UseFlag{F}{Print}% |
| 8673 |
\HyField@UseFlag{F}{NoZoom}% |
| 8674 |
\HyField@UseFlag{F}{NoRotate}% |
| 8675 |
\HyField@UseFlag{F}{NoView}% |
| 8676 |
\HyField@UseFlag{F}{Locked}% |
| 8677 |
\HyField@UseFlag{F}{ToggleNoView}% |
| 8678 |
\HyField@UseFlag{F}{LockedContents}% |
| 8679 |
\HyField@PrintFlags{F}{#1}% |
| 8680 |
\bitsetIsEmpty{HyField@F}{% |
| 8681 |
\let\Fld@annotflags\@empty |
| 8682 |
}{% |
| 8683 |
\edef\Fld@annotflags{/F \bitsetGetDec{HyField@F}}% |
| 8684 |
}% |
| 8685 |
} |
| 8686 |
% \end{macrocode} |
| 8687 |
% \end{macro} |
| 8688 |
% |
| 8689 |
% \subsubsection{Pushbutton field} |
| 8690 |
% |
| 8691 |
% \begin{macro}{\HyField@FlagsPushButton} |
| 8692 |
% \begin{macrocode} |
| 8693 |
\def\HyField@FlagsPushButton{% |
| 8694 |
\HyField@FlagsAnnot{push button field}% |
| 8695 |
\bitsetReset{HyField@Ff}% |
| 8696 |
\HyField@UseFlag{Ff}{ReadOnly}% |
| 8697 |
\HyField@UseFlag{Ff}{Required}% |
| 8698 |
\HyField@UseFlag{Ff}{NoExport}% |
| 8699 |
\HyField@SetFlag{Ff}{Pushbutton}% |
| 8700 |
\HyField@PrintFlags{Ff}{push button field}% |
| 8701 |
\bitsetIsEmpty{HyField@Ff}{% |
| 8702 |
\let\Fld@flags\@empty |
| 8703 |
}{% |
| 8704 |
\edef\Fld@flags{/Ff \bitsetGetDec{HyField@Ff}}% |
| 8705 |
}% |
| 8706 |
} |
| 8707 |
% \end{macrocode} |
| 8708 |
% \end{macro} |
| 8709 |
% |
| 8710 |
% \subsubsection{Check box field} |
| 8711 |
% |
| 8712 |
% \begin{macro}{\HyField@FlagsCheckBox} |
| 8713 |
% \begin{macrocode} |
| 8714 |
\def\HyField@FlagsCheckBox{% |
| 8715 |
\HyField@FlagsAnnot{check box field}% |
| 8716 |
\bitsetReset{HyField@Ff}% |
| 8717 |
\HyField@UseFlag{Ff}{ReadOnly}% |
| 8718 |
\HyField@UseFlag{Ff}{Required}% |
| 8719 |
\HyField@UseFlag{Ff}{NoExport}% |
| 8720 |
\HyField@PrintFlags{Ff}{check box field}% |
| 8721 |
\bitsetIsEmpty{HyField@Ff}{% |
| 8722 |
\let\Fld@flags\@empty |
| 8723 |
}{% |
| 8724 |
\edef\Fld@flags{/Ff \bitsetGetDec{HyField@Ff}}% |
| 8725 |
}% |
| 8726 |
} |
| 8727 |
% \end{macrocode} |
| 8728 |
% \end{macro} |
| 8729 |
% |
| 8730 |
% \subsubsection{Radio button field} |
| 8731 |
% |
| 8732 |
% \begin{macro}{\HyField@FlagsRadioButton} |
| 8733 |
% \begin{macrocode} |
| 8734 |
\def\HyField@FlagsRadioButton{% |
| 8735 |
\HyField@FlagsAnnot{radio button field}% |
| 8736 |
\bitsetReset{HyField@Ff}% |
| 8737 |
\HyField@UseFlag{Ff}{ReadOnly}% |
| 8738 |
\HyField@UseFlag{Ff}{Required}% |
| 8739 |
\HyField@UseFlag{Ff}{NoExport}% |
| 8740 |
\HyField@UseFlag{Ff}{NoToggleToOff}% |
| 8741 |
\HyField@SetFlag{Ff}{Radio}% |
| 8742 |
\HyField@UseFlag{Ff}{RadiosInUnison}% |
| 8743 |
\HyField@PrintFlags{Ff}{radio button field}% |
| 8744 |
\bitsetIsEmpty{HyField@Ff}{% |
| 8745 |
\let\Fld@flags\@empty |
| 8746 |
}{% |
| 8747 |
\edef\Fld@flags{/Ff \bitsetGetDec{HyField@Ff}}% |
| 8748 |
}% |
| 8749 |
} |
| 8750 |
% \end{macrocode} |
| 8751 |
% \end{macro} |
| 8752 |
% |
| 8753 |
% \subsubsection{Text fields} |
| 8754 |
% |
| 8755 |
% \begin{macro}{\HyField@FlagsText} |
| 8756 |
% \begin{macrocode} |
| 8757 |
\def\HyField@FlagsText{% |
| 8758 |
\HyField@FlagsAnnot{text field}% |
| 8759 |
\bitsetReset{HyField@Ff}% |
| 8760 |
\HyField@UseFlag{Ff}{ReadOnly}% |
| 8761 |
\HyField@UseFlag{Ff}{Required}% |
| 8762 |
\HyField@UseFlag{Ff}{NoExport}% |
| 8763 |
\HyField@UseFlag{Ff}{Multiline}% |
| 8764 |
\HyField@UseFlag{Ff}{Password}% |
| 8765 |
\HyField@UseFlag{Ff}{FileSelect}% |
| 8766 |
\HyField@UseFlag{Ff}{DoNotSpellCheck}% |
| 8767 |
\HyField@UseFlag{Ff}{DoNotScroll}% |
| 8768 |
\ifFld@comb |
| 8769 |
\ifcase0\ifFld@multiline |
| 8770 |
\else\ifFld@password |
| 8771 |
\else\ifFld@fileselect |
| 8772 |
\else 1\fi\fi\fi\relax |
| 8773 |
\Hy@Error{% |
| 8774 |
Field option `comb' cannot used together with\MessageBreak |
| 8775 |
`multiline', `password', or `fileselect'% |
| 8776 |
}\@ehc |
| 8777 |
\else |
| 8778 |
\HyField@UseFlag{Ff}{Comb}% |
| 8779 |
\fi |
| 8780 |
\fi |
| 8781 |
\HyField@UseFlag{Ff}{RichText}% |
| 8782 |
\HyField@PrintFlags{Ff}{text field}% |
| 8783 |
\bitsetIsEmpty{HyField@Ff}{% |
| 8784 |
\let\Fld@flags\@empty |
| 8785 |
}{% |
| 8786 |
\edef\Fld@flags{/Ff \bitsetGetDec{HyField@Ff}}% |
| 8787 |
}% |
| 8788 |
} |
| 8789 |
% \end{macrocode} |
| 8790 |
% \end{macro} |
| 8791 |
% |
| 8792 |
% \subsubsection{Choice fields} |
| 8793 |
% |
| 8794 |
% \begin{macro}{\HyField@FlagsChoice} |
| 8795 |
% \begin{macrocode} |
| 8796 |
\def\HyField@FlagsChoice{% |
| 8797 |
\HyField@FlagsAnnot{choice field}% |
| 8798 |
\bitsetReset{HyField@Ff}% |
| 8799 |
\HyField@UseFlag{Ff}{ReadOnly}% |
| 8800 |
\HyField@UseFlag{Ff}{Required}% |
| 8801 |
\HyField@UseFlag{Ff}{NoExport}% |
| 8802 |
\HyField@UseFlag{Ff}{Combo}% |
| 8803 |
\ifFld@combo |
| 8804 |
\HyField@UseFlag{Ff}{Edit}% |
| 8805 |
\fi |
| 8806 |
\HyField@UseFlag{Ff}{Sort}% |
| 8807 |
\HyField@UseFlag{Ff}{MultiSelect}% |
| 8808 |
\ifFld@combo |
| 8809 |
\ifFld@edit |
| 8810 |
\HyField@UseFlag{Ff}{DoNotSpellCheck}% |
| 8811 |
\fi |
| 8812 |
\fi |
| 8813 |
\HyField@UseFlag{Ff}{CommitOnSelChange}% |
| 8814 |
\HyField@PrintFlags{Ff}{choice field}% |
| 8815 |
\bitsetIsEmpty{HyField@Ff}{% |
| 8816 |
\let\Fld@flags\@empty |
| 8817 |
}{% |
| 8818 |
\edef\Fld@flags{/Ff \bitsetGetDec{HyField@Ff}}% |
| 8819 |
}% |
| 8820 |
} |
| 8821 |
% \end{macrocode} |
| 8822 |
% \end{macro} |
| 8823 |
% |
| 8824 |
% \subsection{Choice field} |
| 8825 |
% |
| 8826 |
% \begin{macro}{\HyField@PDFChoices} |
| 8827 |
% |#1|: list of choices in key value syntax, key = exported name, |
| 8828 |
% value = displayed text.\\ |
| 8829 |
% Input: \cs{Fld@default}, \cs{Fld@value}, \cs{ifFld@multiselect}\\ |
| 8830 |
% Result: \cs{Fld@choices} with entries: |/Opt|, |/DV|, |/V|, |/I|. |
| 8831 |
% \begin{macrocode} |
| 8832 |
\def\HyField@PDFChoices#1{% |
| 8833 |
\begingroup |
| 8834 |
\global\let\Fld@choices\@empty |
| 8835 |
\let\HyTmp@optlist\@empty |
| 8836 |
\let\HyTmp@optitem\relax |
| 8837 |
\count@=0 % |
| 8838 |
\kv@parse{#1}{% |
| 8839 |
\Hy@pdfstringdef\kv@key\kv@key |
| 8840 |
\ifx\kv@value\relax |
| 8841 |
\ifnum\Hy@pdf@majorminor@version<103 % implementation note 122, PDF spec 1.7 |
| 8842 |
\xdef\Fld@choices{\Fld@choices[(\kv@key)(\kv@key)]}% |
| 8843 |
\else |
| 8844 |
\xdef\Fld@choices{\Fld@choices(\kv@key)}% |
| 8845 |
\fi |
| 8846 |
\else |
| 8847 |
\Hy@pdfstringdef\kv@value\kv@value |
| 8848 |
\xdef\Fld@choices{\Fld@choices[(\kv@value)(\kv@key)]}% |
| 8849 |
\fi |
| 8850 |
\edef\HyTmp@optlist{% |
| 8851 |
\HyTmp@optlist |
| 8852 |
\HyTmp@optitem{\the\count@}{\kv@key}0% |
| 8853 |
}% |
| 8854 |
\advance\count@ by 1 % |
| 8855 |
\@gobbletwo |
| 8856 |
}% |
| 8857 |
\xdef\Fld@choices{/Opt[\Fld@choices]}% |
| 8858 |
\ifFld@multiselect |
| 8859 |
\HyField@@PDFChoices{DV}\Fld@default |
| 8860 |
\HyField@@PDFChoices{V}\Fld@value |
| 8861 |
\else |
| 8862 |
\ifx\Fld@default\relax |
| 8863 |
\else |
| 8864 |
\xdef\Fld@choices{\Fld@choices/DV(\Fld@default)}% |
| 8865 |
\fi |
| 8866 |
\ifx\Fld@value\relax |
| 8867 |
\else |
| 8868 |
\xdef\Fld@choices{\Fld@choices/V(\Fld@value)}% |
| 8869 |
\fi |
| 8870 |
\fi |
| 8871 |
\endgroup |
| 8872 |
} |
| 8873 |
% \end{macrocode} |
| 8874 |
% \end{macro} |
| 8875 |
% \begin{macro}{\HyField@@PDFChoices} |
| 8876 |
% \begin{macrocode} |
| 8877 |
\def\HyField@@PDFChoices#1#2{% |
| 8878 |
\ifx#2\relax |
| 8879 |
\else |
| 8880 |
\count@=0 % |
| 8881 |
\def\HyTmp@optitem##1##2##3{% |
| 8882 |
\def\HyTmp@key{##2}% |
| 8883 |
\ifx\HyTmp@key\Hy@gtemp |
| 8884 |
\expandafter\def\expandafter\HyTmp@optlist\expandafter{% |
| 8885 |
\HyTmp@optlist |
| 8886 |
\HyTmp@optitem{##1}{##2}1% |
| 8887 |
}% |
| 8888 |
\let\HyTmp@found=Y% |
| 8889 |
\else |
| 8890 |
\expandafter\def\expandafter\HyTmp@optlist\expandafter{% |
| 8891 |
\HyTmp@optlist |
| 8892 |
\HyTmp@optitem{##1}{##2}##3% |
| 8893 |
}% |
| 8894 |
\fi |
| 8895 |
}% |
| 8896 |
\expandafter\comma@parse\expandafter{#2}{% |
| 8897 |
\pdfstringdef\Hy@gtemp\comma@entry |
| 8898 |
\let\HyTmp@found=N % |
| 8899 |
\expandafter\let\expandafter\HyTmp@optlist\expandafter\@empty |
| 8900 |
\HyTmp@optlist |
| 8901 |
\ifx\HyTmp@found Y% |
| 8902 |
\advance\count@ by 1 % |
| 8903 |
\else |
| 8904 |
\@onelevel@sanitize\comma@entry |
| 8905 |
\PackageWarning{hyperref}{% |
| 8906 |
\string\ChoiceBox: Ignoring value `\comma@entry',% |
| 8907 |
\MessageBreak |
| 8908 |
it cannot be found in the choices% |
| 8909 |
}% |
| 8910 |
\fi |
| 8911 |
\@gobble |
| 8912 |
}% |
| 8913 |
\def\HyTmp@optitem##1##2##3{% |
| 8914 |
\ifnum##3=1 % |
| 8915 |
(##2)% |
| 8916 |
\fi |
| 8917 |
}% |
| 8918 |
\ifcase\count@ |
| 8919 |
\or |
| 8920 |
\xdef\Fld@choices{\Fld@choices/#1\HyTmp@optlist}% |
| 8921 |
\else |
| 8922 |
\xdef\Fld@choices{\Fld@choices/#1[\HyTmp@optlist]}% |
| 8923 |
\ifx#1V% |
| 8924 |
\def\HyTmp@optitem##1##2##3{% |
| 8925 |
\ifnum##3=1 % |
| 8926 |
\@firstofone{ ##1}% |
| 8927 |
\fi |
| 8928 |
}% |
| 8929 |
\edef\HyTmp@optlist{\HyTmp@optlist}% |
| 8930 |
\xdef\Fld@choices{% |
| 8931 |
\Fld@choices |
| 8932 |
/I[\expandafter\@firstofone\HyTmp@optlist]% |
| 8933 |
}% |
| 8934 |
\fi |
| 8935 |
\fi |
| 8936 |
\fi |
| 8937 |
} |
| 8938 |
% \end{macrocode} |
| 8939 |
% \end{macro} |
| 8940 |
% |
| 8941 |
% \subsection{Forms} |
| 8942 |
% |
| 8943 |
% \begin{macro}{\HyField@SetKeys} |
| 8944 |
% \begin{macrocode} |
| 8945 |
\def\HyField@SetKeys{% |
| 8946 |
\kvsetkeys{Field}% |
| 8947 |
} |
| 8948 |
% \end{macrocode} |
| 8949 |
% \end{macro} |
| 8950 |
% |
| 8951 |
% \begin{macrocode} |
| 8952 |
\newif\ifFld@checked |
| 8953 |
\newif\ifFld@disabled |
| 8954 |
\Fld@checkedfalse |
| 8955 |
\Fld@disabledfalse |
| 8956 |
\newcount\Fld@menulength |
| 8957 |
\newdimen\Field@Width |
| 8958 |
\newdimen\Fld@charsize |
| 8959 |
\Fld@charsize=10\p@ |
| 8960 |
\def\Fld@maxlen{0} |
| 8961 |
\def\Fld@align{0} |
| 8962 |
\def\Fld@color{0 0 0 rg} |
| 8963 |
\def\Fld@bcolor{1 1 1} |
| 8964 |
\def\Fld@bordercolor{1 0 0} |
| 8965 |
\def\Fld@bordersep{1\p@} |
| 8966 |
\def\Fld@borderwidth{1} |
| 8967 |
\def\Fld@borderstyle{S} |
| 8968 |
\def\Fld@cbsymbol{4} |
| 8969 |
\def\Fld@radiosymbol{H} |
| 8970 |
\def\Fld@rotation{0} |
| 8971 |
\def\Form{\@ifnextchar[{\@Form}{\@Form[]}} |
| 8972 |
\def\endForm{\@endForm} |
| 8973 |
\newif\ifForm@html |
| 8974 |
\Form@htmlfalse |
| 8975 |
\def\Form@boolkey#1#2{% |
| 8976 |
\csname Form@#2\ifx\relax#1\relax true\else#1\fi\endcsname |
| 8977 |
} |
| 8978 |
\define@key{Form}{action}{% |
| 8979 |
\hyper@normalise\Hy@DefFormAction{#1}% |
| 8980 |
} |
| 8981 |
\def\Hy@DefFormAction{\def\Form@action} |
| 8982 |
\def\enc@@html{html} |
| 8983 |
\define@key{Form}{encoding}{% |
| 8984 |
\def\Hy@tempa{#1}% |
| 8985 |
\ifx\Hy@tempa\enc@@html |
| 8986 |
\Form@htmltrue |
| 8987 |
\def\Fld@export{html}% |
| 8988 |
\else |
| 8989 |
\Hy@Warning{% |
| 8990 |
Form `encoding' key with \MessageBreak |
| 8991 |
unknown value `#1'% |
| 8992 |
}% |
| 8993 |
\Form@htmlfalse |
| 8994 |
\fi |
| 8995 |
} |
| 8996 |
\define@key{Form}{method}{% |
| 8997 |
\lowercase{\def\Hy@temp{#1}}% |
| 8998 |
\@ifundefined{Form@method@\Hy@temp}{% |
| 8999 |
\@onelevel@sanitize\Hy@temp |
| 9000 |
\Hy@Error{% |
| 9001 |
Unknown method `\Hy@temp'.\MessageBreak |
| 9002 |
Known values are `post' and `get'% |
| 9003 |
}\@ehc |
| 9004 |
}{% |
| 9005 |
\let\Form@method\Hy@temp |
| 9006 |
\ifcase\@nameuse{Form@method@\Hy@temp} % |
| 9007 |
\Fld@getmethodfalse |
| 9008 |
\else |
| 9009 |
\Fld@getmethodtrue |
| 9010 |
\fi |
| 9011 |
}% |
| 9012 |
} |
| 9013 |
\def\Form@method{} |
| 9014 |
\@namedef{Form@method@post}{0} |
| 9015 |
\@namedef{Form@method@get}{1} |
| 9016 |
% \end{macrocode} |
| 9017 |
% \begin{macrocode} |
| 9018 |
\newif\ifHyField@NeedAppearances |
| 9019 |
\def\HyField@NeedAppearancesfalse{% |
| 9020 |
\global\let\ifHyField@NeedAppearances\iffalse |
| 9021 |
} |
| 9022 |
\def\HyField@NeedAppearancestrue{% |
| 9023 |
\global\let\ifHyField@NeedAppearances\iftrue |
| 9024 |
} |
| 9025 |
\HyField@NeedAppearancestrue |
| 9026 |
\define@key{Form}{NeedAppearances}[true]{% |
| 9027 |
\edef\Hy@tempa{#1}% |
| 9028 |
\ifx\Hy@tempa\Hy@true |
| 9029 |
\HyField@NeedAppearancestrue |
| 9030 |
\else |
| 9031 |
\ifx\Hy@tempa\Hy@false |
| 9032 |
\HyField@NeedAppearancesfalse |
| 9033 |
\else |
| 9034 |
\Hy@Error{% |
| 9035 |
Unexpected value `\Hy@tempa'\MessageBreak |
| 9036 |
of option `NeedAppearances' instead of\MessageBreak |
| 9037 |
`true' or `false'% |
| 9038 |
}\@ehc |
| 9039 |
\fi |
| 9040 |
\fi |
| 9041 |
} |
| 9042 |
\def\Field@boolkey#1#2{% |
| 9043 |
\csname Fld@#2\ifx\relax#1\relax true\else#1\fi\endcsname |
| 9044 |
} |
| 9045 |
\ifHy@texht |
| 9046 |
\newtoks\Field@toks |
| 9047 |
\Field@toks={ }% |
| 9048 |
\def\Field@addtoks#1#2{% |
| 9049 |
\edef\@processme{\Field@toks{\the\Field@toks\space #1="#2"}}% |
| 9050 |
\@processme |
| 9051 |
}% |
| 9052 |
\else |
| 9053 |
\def\Hy@WarnHTMLFieldOption#1{% |
| 9054 |
\Hy@Warning{% |
| 9055 |
HTML field option `#1'\MessageBreak |
| 9056 |
is ignored% |
| 9057 |
}% |
| 9058 |
}% |
| 9059 |
\fi |
| 9060 |
\def\Fld@checkequals#1=#2=#3\\{% |
| 9061 |
\def\@currDisplay{#1}% |
| 9062 |
\ifx\\#2\\% |
| 9063 |
\def\@currValue{#1}% |
| 9064 |
\else |
| 9065 |
\def\@currValue{#2}% |
| 9066 |
\fi |
| 9067 |
\expandafter\Hy@pdfstringdef\expandafter\@currValue\expandafter{\@currValue}% |
| 9068 |
} |
| 9069 |
\define@key{Field}{loc}{% |
| 9070 |
\def\Fld@loc{#1}% |
| 9071 |
} |
| 9072 |
\define@key{Field}{checked}[true]{% |
| 9073 |
\lowercase{\Field@boolkey{#1}}{checked}% |
| 9074 |
} |
| 9075 |
\define@key{Field}{disabled}[true]{% |
| 9076 |
\lowercase{\Field@boolkey{#1}}{disabled}% |
| 9077 |
} |
| 9078 |
\ifHy@texht |
| 9079 |
\define@key{Field}{accesskey}{% |
| 9080 |
\Field@addtoks{accesskey}{#1}% |
| 9081 |
}% |
| 9082 |
\define@key{Field}{tabkey}{% |
| 9083 |
\Field@addtoks{tabkey}{#1}% |
| 9084 |
}% |
| 9085 |
\else |
| 9086 |
\define@key{Field}{accesskey}{% |
| 9087 |
\Hy@WarnHTMLFieldOption{accesskey}% |
| 9088 |
}% |
| 9089 |
\define@key{Field}{tabkey}{% |
| 9090 |
\Hy@WarnHTMLFieldOption{tabkey}% |
| 9091 |
}% |
| 9092 |
\fi |
| 9093 |
\define@key{Field}{name}{% |
| 9094 |
\def\Fld@name{#1}% |
| 9095 |
} |
| 9096 |
\let\Fld@altname\relax |
| 9097 |
\define@key{Field}{altname}{% |
| 9098 |
\def\Fld@altname{#1}% |
| 9099 |
} |
| 9100 |
\let\Fld@mappingname\relax |
| 9101 |
\define@key{Field}{mappingname}{% |
| 9102 |
\def\Fld@mappingname{#1}% |
| 9103 |
} |
| 9104 |
\define@key{Field}{width}{% |
| 9105 |
\def\Fld@width{#1}% |
| 9106 |
\Field@Width#1\setbox0=\hbox{m}% |
| 9107 |
} |
| 9108 |
\define@key{Field}{maxlen}{% |
| 9109 |
\def\Fld@maxlen{#1}% |
| 9110 |
} |
| 9111 |
\define@key{Field}{menulength}{% |
| 9112 |
\Fld@menulength=#1\relax |
| 9113 |
} |
| 9114 |
\define@key{Field}{height}{% |
| 9115 |
\def\Fld@height{#1}% |
| 9116 |
} |
| 9117 |
\define@key{Field}{charsize}{% |
| 9118 |
\setlength{\Fld@charsize}{#1}% |
| 9119 |
} |
| 9120 |
\define@key{Field}{borderwidth}{% |
| 9121 |
\Hy@defaultbp\Fld@borderwidth{#1}% |
| 9122 |
} |
| 9123 |
\def\Hy@defaultbp#1#2{% |
| 9124 |
\begingroup |
| 9125 |
\afterassignment\Hy@defaultbpAux |
| 9126 |
\dimen@=#2bp\relax{#1}{#2}% |
| 9127 |
} |
| 9128 |
\def\Hy@defaultbpAux#1\relax#2#3{% |
| 9129 |
\ifx!#1!% |
| 9130 |
\endgroup |
| 9131 |
\def#2{#3}% |
| 9132 |
\else |
| 9133 |
\edef\x{\endgroup |
| 9134 |
\def\noexpand#2{% |
| 9135 |
\strip@pt\dimexpr\dimen@*800/803\relax |
| 9136 |
}% |
| 9137 |
}\x |
| 9138 |
\fi |
| 9139 |
}% |
| 9140 |
\define@key{Field}{borderstyle}{% |
| 9141 |
\let\Hy@temp\Fld@borderstyle |
| 9142 |
\def\Fld@borderstyle{#1}% |
| 9143 |
\Hy@Match\Fld@borderstyle{}{% |
| 9144 |
^[SDBIU]$% |
| 9145 |
}{}{% |
| 9146 |
\Hy@Warning{% |
| 9147 |
Invalid value `\@pdfborderstyle'\MessageBreak |
| 9148 |
for option `pdfborderstyle'. Valid values:\MessageBreak |
| 9149 |
\space\space S (Solid), D (Dashed), B (Beveled),\MessageBreak |
| 9150 |
\space\space I (Inset), U (Underline)\MessageBreak |
| 9151 |
Option setting is ignored% |
| 9152 |
}% |
| 9153 |
\let\Fld@borderstyle\Hy@temp |
| 9154 |
}% |
| 9155 |
} |
| 9156 |
\define@key{Field}{bordersep}{% |
| 9157 |
\def\Fld@bordersep{#1}% |
| 9158 |
} |
| 9159 |
\define@key{Field}{default}{% |
| 9160 |
\Hy@pdfstringdef\Fld@default{#1}% |
| 9161 |
} |
| 9162 |
\define@key{Field}{align}{% |
| 9163 |
\def\Fld@align{#1}% |
| 9164 |
} |
| 9165 |
\define@key{Field}{value}{% |
| 9166 |
\Hy@pdfstringdef\Fld@value{#1}% |
| 9167 |
} |
| 9168 |
\define@key{Field}{checkboxsymbol}{% |
| 9169 |
\Fld@DingDef\Fld@cbsymbol{#1}% |
| 9170 |
} |
| 9171 |
\define@key{Field}{radiosymbol}{% |
| 9172 |
\Fld@DingDef\Fld@radiosymbol{#1}% |
| 9173 |
} |
| 9174 |
\def\Fld@DingDef#1#2{% |
| 9175 |
\let\Fld@temp\@empty |
| 9176 |
\Fld@@DingDef#2\ding{}\@nil |
| 9177 |
\let#1\Fld@temp |
| 9178 |
} |
| 9179 |
\def\Fld@@DingDef#1\ding#2#3\@nil{% |
| 9180 |
\expandafter\def\expandafter\Fld@temp\expandafter{% |
| 9181 |
\Fld@temp |
| 9182 |
#1% |
| 9183 |
}% |
| 9184 |
\ifx\\#3\\% |
| 9185 |
\expandafter\@gobble |
| 9186 |
\else |
| 9187 |
\begingroup |
| 9188 |
\lccode`0=#2\relax |
| 9189 |
\lowercase{\endgroup |
| 9190 |
\expandafter\def\expandafter\Fld@temp\expandafter{% |
| 9191 |
\Fld@temp |
| 9192 |
0% |
| 9193 |
}% |
| 9194 |
}% |
| 9195 |
\expandafter\@firstofone |
| 9196 |
\fi |
| 9197 |
{% |
| 9198 |
\Fld@@DingDef#3\@nil |
| 9199 |
}% |
| 9200 |
} |
| 9201 |
% \end{macrocode} |
| 9202 |
% \begin{macrocode} |
| 9203 |
\define@key{Field}{rotation}{% |
| 9204 |
\def\Fld@rotation{#1}% |
| 9205 |
} |
| 9206 |
% \end{macrocode} |
| 9207 |
% \begin{macrocode} |
| 9208 |
\define@key{Field}{backgroundcolor}{% |
| 9209 |
\HyColor@FieldBColor{#1}\Fld@bcolor{hyperref}{backgroundcolor}% |
| 9210 |
} |
| 9211 |
\define@key{Field}{bordercolor}{% |
| 9212 |
\HyColor@FieldBColor{#1}\Fld@bordercolor{hyperref}{bordercolor}% |
| 9213 |
} |
| 9214 |
\define@key{Field}{color}{% |
| 9215 |
\HyColor@FieldColor{#1}\Fld@color{hyperref}{color}% |
| 9216 |
} |
| 9217 |
% \end{macrocode} |
| 9218 |
% \begin{macrocode} |
| 9219 |
\let\Fld@onclick@code\@empty |
| 9220 |
\let\Fld@format@code\@empty |
| 9221 |
\let\Fld@validate@code\@empty |
| 9222 |
\let\Fld@calculate@code\@empty |
| 9223 |
\let\Fld@keystroke@code\@empty |
| 9224 |
\let\Fld@onfocus@code\@empty |
| 9225 |
\let\Fld@onblur@code\@empty |
| 9226 |
\let\Fld@onmousedown@code\@empty |
| 9227 |
\let\Fld@onmouseup@code\@empty |
| 9228 |
\let\Fld@onenter@code\@empty |
| 9229 |
\let\Fld@onexit@code\@empty |
| 9230 |
\def\Hy@temp#1{% |
| 9231 |
\expandafter\Hy@@temp\csname Fld@#1@code\endcsname{#1}% |
| 9232 |
} |
| 9233 |
\def\Hy@@temp#1#2{% |
| 9234 |
\ifHy@pdfa |
| 9235 |
\define@key{Field}{#2}{% |
| 9236 |
\Hy@Error{% |
| 9237 |
PDF/A: Additional action `#2' is prohibited% |
| 9238 |
}\@ehc |
| 9239 |
}% |
| 9240 |
\else |
| 9241 |
\define@key{Field}{#2}{% |
| 9242 |
\def#1{##1}% |
| 9243 |
}% |
| 9244 |
\fi |
| 9245 |
} |
| 9246 |
\Hy@temp{keystroke} |
| 9247 |
\Hy@temp{format} |
| 9248 |
\Hy@temp{validate} |
| 9249 |
\Hy@temp{calculate} |
| 9250 |
\Hy@temp{onfocus} |
| 9251 |
\Hy@temp{onblur} |
| 9252 |
\Hy@temp{onmousedown} |
| 9253 |
\Hy@temp{onmouseup} |
| 9254 |
\Hy@temp{onenter} |
| 9255 |
\Hy@temp{onexit} |
| 9256 |
% \end{macrocode} |
| 9257 |
% \begin{macrocode} |
| 9258 |
\let\Fld@calculate@sortkey\@empty |
| 9259 |
\define@key{Field}{calculatesortkey}[1]{% |
| 9260 |
\def\Fld@calculate@sortkey{#1}% |
| 9261 |
} |
| 9262 |
% \end{macrocode} |
| 9263 |
% \begin{macrocode} |
| 9264 |
\ifHy@texht |
| 9265 |
\def\Hy@temp#1{% |
| 9266 |
\define@key{Field}{#1}{% |
| 9267 |
\Field@addtoks{#1}{##1}% |
| 9268 |
}% |
| 9269 |
}% |
| 9270 |
\else |
| 9271 |
\def\Hy@temp#1{% |
| 9272 |
\define@key{Field}{#1}{% |
| 9273 |
\Hy@WarnHTMLFieldOption{#1}% |
| 9274 |
}% |
| 9275 |
}% |
| 9276 |
\fi |
| 9277 |
\Hy@temp{ondblclick} |
| 9278 |
\Hy@temp{onmouseover} |
| 9279 |
\Hy@temp{onmousemove} |
| 9280 |
\Hy@temp{onmouseout} |
| 9281 |
\Hy@temp{onkeydown} |
| 9282 |
\Hy@temp{onkeyup} |
| 9283 |
\Hy@temp{onselect} |
| 9284 |
\Hy@temp{onchange} |
| 9285 |
\Hy@temp{onkeypress} |
| 9286 |
\ifHy@texht |
| 9287 |
\define@key{Field}{onclick}{% |
| 9288 |
\Field@addtoks{onclick}{#1}% |
| 9289 |
}% |
| 9290 |
\else |
| 9291 |
\ifHy@pdfa |
| 9292 |
\define@key{Field}{onclick}{% |
| 9293 |
\Hy@Error{% |
| 9294 |
PDF/A: Action `onclick' is prohibited% |
| 9295 |
}\@ehc |
| 9296 |
}% |
| 9297 |
\else |
| 9298 |
\define@key{Field}{onclick}{% |
| 9299 |
\def\Fld@onclick@code{#1}% |
| 9300 |
}% |
| 9301 |
\fi |
| 9302 |
\fi |
| 9303 |
% \end{macrocode} |
| 9304 |
% \begin{macrocode} |
| 9305 |
\DeclareRobustCommand\TextField{% |
| 9306 |
\@ifnextchar[{\@TextField}{\@TextField[]}% |
| 9307 |
} |
| 9308 |
\DeclareRobustCommand\ChoiceMenu{% |
| 9309 |
\@ifnextchar[{\@ChoiceMenu}{\@ChoiceMenu[]}% |
| 9310 |
} |
| 9311 |
\DeclareRobustCommand\CheckBox{% |
| 9312 |
\@ifnextchar[{\@CheckBox}{\@CheckBox[]}% |
| 9313 |
} |
| 9314 |
\DeclareRobustCommand\PushButton{% |
| 9315 |
\@ifnextchar[{\@PushButton}{\@PushButton[]}% |
| 9316 |
} |
| 9317 |
\DeclareRobustCommand\Gauge{% |
| 9318 |
\@ifnextchar[{\@Gauge}{\@Gauge[]}% |
| 9319 |
} |
| 9320 |
\DeclareRobustCommand\Submit{% |
| 9321 |
\@ifnextchar[{\@Submit}{\@Submit[]}% |
| 9322 |
} |
| 9323 |
\DeclareRobustCommand\Reset{% |
| 9324 |
\@ifnextchar[{\@Reset}{\@Reset[]}% |
| 9325 |
} |
| 9326 |
\def\LayoutTextField#1#2{% label, field |
| 9327 |
\def\Hy@temp{#1}% |
| 9328 |
\ifx\Hy@temp\@empty |
| 9329 |
#2% |
| 9330 |
\else |
| 9331 |
#1 #2% |
| 9332 |
\fi |
| 9333 |
} |
| 9334 |
\def\LayoutChoiceField#1#2{% label, field |
| 9335 |
\def\Hy@temp{#1}% |
| 9336 |
\ifx\Hy@temp\@empty |
| 9337 |
#2% |
| 9338 |
\else |
| 9339 |
#1 #2% |
| 9340 |
\fi |
| 9341 |
} |
| 9342 |
\def\LayoutCheckField#1#2{% label, field |
| 9343 |
\def\Hy@temp{#1}% |
| 9344 |
\ifx\Hy@temp\@empty |
| 9345 |
#2% |
| 9346 |
\else |
| 9347 |
#1 #2% |
| 9348 |
\fi |
| 9349 |
} |
| 9350 |
\def\LayoutPushButtonField#1{% button |
| 9351 |
#1% |
| 9352 |
} |
| 9353 |
\def\MakeRadioField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} |
| 9354 |
\def\MakeCheckField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} |
| 9355 |
\def\MakeTextField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} |
| 9356 |
\def\MakeChoiceField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} |
| 9357 |
\def\MakeButtonField#1{% |
| 9358 |
\sbox0{% |
| 9359 |
\hskip\Fld@borderwidth bp#1\hskip\Fld@borderwidth bp% |
| 9360 |
}% |
| 9361 |
\@tempdima\ht0 % |
| 9362 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 9363 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 9364 |
\ht0\@tempdima |
| 9365 |
\@tempdima\dp0 % |
| 9366 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 9367 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 9368 |
\dp0\@tempdima |
| 9369 |
\box0\relax |
| 9370 |
} |
| 9371 |
\def\DefaultHeightofSubmit{14pt} |
| 9372 |
\def\DefaultWidthofSubmit{2cm} |
| 9373 |
\def\DefaultHeightofReset{14pt} |
| 9374 |
\def\DefaultWidthofReset{2cm} |
| 9375 |
\def\DefaultHeightofCheckBox{\normalbaselineskip} |
| 9376 |
\def\DefaultWidthofCheckBox{\normalbaselineskip} |
| 9377 |
\def\DefaultHeightofChoiceMenu{\normalbaselineskip} |
| 9378 |
\def\DefaultWidthofChoiceMenu{\normalbaselineskip} |
| 9379 |
\def\DefaultHeightofText{\normalbaselineskip} |
| 9380 |
\def\DefaultHeightofTextMultiline{4\normalbaselineskip} |
| 9381 |
\def\DefaultWidthofText{3cm} |
| 9382 |
\def\DefaultOptionsofSubmit{print,name=Submit,noexport} |
| 9383 |
\def\DefaultOptionsofReset{print,name=Reset,noexport} |
| 9384 |
\def\DefaultOptionsofPushButton{print} |
| 9385 |
\def\DefaultOptionsofCheckBox{print} |
| 9386 |
\def\DefaultOptionsofText{print} |
| 9387 |
% \end{macrocode} |
| 9388 |
% Default options for the types of \cs{ChoiceMenu}. |
| 9389 |
% \begin{macrocode} |
| 9390 |
\def\DefaultOptionsofListBox{print} |
| 9391 |
\def\DefaultOptionsofComboBox{print,edit,sort} |
| 9392 |
\def\DefaultOptionsofPopdownBox{print} |
| 9393 |
\def\DefaultOptionsofRadio{print,notoggletooff} |
| 9394 |
% \end{macrocode} |
| 9395 |
% |
| 9396 |
% \section{Setup} |
| 9397 |
% \begin{macrocode} |
| 9398 |
\ifHy@hyperfigures |
| 9399 |
\Hy@Info{Hyper figures ON}% |
| 9400 |
\else |
| 9401 |
\Hy@Info{Hyper figures OFF}% |
| 9402 |
\fi |
| 9403 |
\ifHy@nesting |
| 9404 |
\Hy@Info{Link nesting ON}% |
| 9405 |
\else |
| 9406 |
\Hy@Info{Link nesting OFF}% |
| 9407 |
\fi |
| 9408 |
\ifHy@hyperindex |
| 9409 |
\Hy@Info{Hyper index ON}% |
| 9410 |
\else |
| 9411 |
\Hy@Info{Hyper index OFF}% |
| 9412 |
\fi |
| 9413 |
\ifHy@backref |
| 9414 |
\Hy@Info{backreferencing ON}% |
| 9415 |
\else |
| 9416 |
\Hy@Info{backreferencing OFF}% |
| 9417 |
\fi |
| 9418 |
\ifHy@colorlinks |
| 9419 |
\Hy@Info{Link coloring ON}% |
| 9420 |
\else |
| 9421 |
\Hy@Info{Link coloring OFF}% |
| 9422 |
\fi |
| 9423 |
\ifHy@ocgcolorlinks |
| 9424 |
\Hy@Info{Link coloring with OCG ON}% |
| 9425 |
\else |
| 9426 |
\Hy@Info{Link coloring with OCG OFF}% |
| 9427 |
\fi |
| 9428 |
\ifHy@pdfa |
| 9429 |
\Hy@Info{PDF/A mode ON}% |
| 9430 |
\else |
| 9431 |
\Hy@Info{PDF/A mode OFF}% |
| 9432 |
\fi |
| 9433 |
% \end{macrocode} |
| 9434 |
% \section{Low-level utility macros} |
| 9435 |
% We need unrestricted access to the |#|, |~| and |"| characters, so make |
| 9436 |
% them nice macros. |
| 9437 |
% \begin{macrocode} |
| 9438 |
\edef\hyper@hash{\string#} |
| 9439 |
\edef\hyper@tilde{\string~} |
| 9440 |
\edef\hyper@quote{\string"} |
| 9441 |
% \end{macrocode} |
| 9442 |
% Support \cs{label} before |\begin{document}|. |
| 9443 |
% \begin{macrocode} |
| 9444 |
\def\@currentHref{Doc-Start} |
| 9445 |
\let\Hy@footnote@currentHref\@empty |
| 9446 |
% \end{macrocode} |
| 9447 |
% We give the start of document a special label; this is used |
| 9448 |
% in backreferencing-by-section, to allow for cites before |
| 9449 |
% any sectioning commands. Set up PDF info. |
| 9450 |
% \begin{macrocode} |
| 9451 |
\Hy@AtBeginDocument{% |
| 9452 |
\Hy@pdfstringtrue |
| 9453 |
\PDF@SetupDoc |
| 9454 |
\let\PDF@SetupDoc\@empty |
| 9455 |
\Hy@DisableOption{pdfpagescrop}% |
| 9456 |
\Hy@DisableOption{pdfpagemode}% |
| 9457 |
\Hy@DisableOption{pdfnonfullscreenpagemode}% |
| 9458 |
\Hy@DisableOption{pdfdirection}% |
| 9459 |
\Hy@DisableOption{pdfviewarea}% |
| 9460 |
\Hy@DisableOption{pdfviewclip}% |
| 9461 |
\Hy@DisableOption{pdfprintarea}% |
| 9462 |
\Hy@DisableOption{pdfprintclip}% |
| 9463 |
\Hy@DisableOption{pdfprintscaling}% |
| 9464 |
\Hy@DisableOption{pdfduplex}% |
| 9465 |
\Hy@DisableOption{pdfpicktraybypdfsize}% |
| 9466 |
\Hy@DisableOption{pdfprintpagerange}% |
| 9467 |
\Hy@DisableOption{pdfnumcopies}% |
| 9468 |
\Hy@DisableOption{pdfstartview}% |
| 9469 |
\Hy@DisableOption{pdfstartpage}% |
| 9470 |
\Hy@DisableOption{pdftoolbar}% |
| 9471 |
\Hy@DisableOption{pdfmenubar}% |
| 9472 |
\Hy@DisableOption{pdfwindowui}% |
| 9473 |
\Hy@DisableOption{pdffitwindow}% |
| 9474 |
\Hy@DisableOption{pdfcenterwindow}% |
| 9475 |
\Hy@DisableOption{pdfdisplaydoctitle}% |
| 9476 |
\Hy@DisableOption{pdfpagelayout}% |
| 9477 |
\Hy@DisableOption{pdflang}% |
| 9478 |
\Hy@DisableOption{baseurl}% |
| 9479 |
\ifHy@texht\else\hyper@anchorstart{Doc-Start}\hyper@anchorend\fi |
| 9480 |
\Hy@pdfstringfalse |
| 9481 |
} |
| 9482 |
% \end{macrocode} |
| 9483 |
|
| 9484 |
% \section{Localized nullifying of package} |
| 9485 |
% Sometimes we just don't want the wretched package interfering |
| 9486 |
% with us. Define an environment we can put in manually, or include |
| 9487 |
% in a style file, which stops the hypertext functions doing anything. |
| 9488 |
% This is used, for instance, in the Elsevier classes, to stop |
| 9489 |
% |hyperref| playing havoc in the front matter. |
| 9490 |
% \begin{macrocode} |
| 9491 |
\def\NoHyper{% |
| 9492 |
\def\hyper@link@[##1]##2##3##4{##4\Hy@xspace@end}% |
| 9493 |
\def\hyper@@anchor##1##2{##2\Hy@xspace@end}% |
| 9494 |
\global\let\hyper@livelink\hyper@link |
| 9495 |
\gdef\hyper@link##1##2##3{##3\Hy@xspace@end}% |
| 9496 |
\let\hyper@anchor\@gobble |
| 9497 |
\let\hyper@anchorstart\@gobble |
| 9498 |
\def\hyper@anchorend{\Hy@xspace@end}% |
| 9499 |
\let\hyper@linkstart\@gobbletwo |
| 9500 |
\def\hyper@linkend{\Hy@xspace@end}% |
| 9501 |
\def\hyper@linkurl##1##2{##1\Hy@xspace@end}% |
| 9502 |
\def\hyper@linkfile##1##2##3{##1\Hy@xspace@end}% |
| 9503 |
\let\Hy@backout\@gobble |
| 9504 |
} |
| 9505 |
\def\stop@hyper{% |
| 9506 |
\def\hyper@link@[##1]##2##3##4{##4\Hy@xspace@end}% |
| 9507 |
\let\Hy@backout\@gobble |
| 9508 |
\let\hyper@@anchor\@gobble |
| 9509 |
\def\hyper@link##1##2##3{##3\Hy@xspace@end}% |
| 9510 |
\let\hyper@anchor\@gobble |
| 9511 |
\let\hyper@anchorstart\@gobble |
| 9512 |
\def\hyper@anchorend{\Hy@xspace@end}% |
| 9513 |
\let\hyper@linkstart\@gobbletwo |
| 9514 |
\def\hyper@linkend{\Hy@xspace@end}% |
| 9515 |
\def\hyper@linkurl##1##2{##1\Hy@xspace@end}% |
| 9516 |
\def\hyper@linkfile##1##2##3{##1\Hy@xspace@end}% |
| 9517 |
} |
| 9518 |
\def\endNoHyper{% |
| 9519 |
\global\let\hyper@link\hyper@livelink |
| 9520 |
} |
| 9521 |
%</package> |
| 9522 |
% \end{macrocode} |
| 9523 |
% |
| 9524 |
% \section{Package nohyperref} |
| 9525 |
% |
| 9526 |
% This package is introduced by Sebastian Rahtz. |
| 9527 |
% |
| 9528 |
% Package nohyperref is a dummy package that defines |
| 9529 |
% some low level and some top-level commands. |
| 9530 |
% It is done for jadetex, which calls hyperref |
| 9531 |
% low-level commands, but it would also be useful with people using |
| 9532 |
% normal hyperref, who really do not want the package loaded at all. |
| 9533 |
% |
| 9534 |
% Some low-level commands: |
| 9535 |
% \begin{macrocode} |
| 9536 |
%<*nohyperref> |
| 9537 |
\let\hyper@@anchor\@gobble |
| 9538 |
\def\hyper@link#1#2#3{#3}% |
| 9539 |
\let\hyper@anchorstart\@gobble |
| 9540 |
\let\hyper@anchorend\@empty |
| 9541 |
\let\hyper@linkstart\@gobbletwo |
| 9542 |
\let\hyper@linkend\@empty |
| 9543 |
\def\hyper@linkurl#1#2{#1}% |
| 9544 |
\def\hyper@linkfile#1#2#3{#1}% |
| 9545 |
\def\hyper@link@[#1]#2#3{}% |
| 9546 |
\let\PDF@SetupDoc\@empty |
| 9547 |
\let\PDF@FinishDoc\@empty |
| 9548 |
\def\nohyperpage#1{#1} |
| 9549 |
% \end{macrocode} |
| 9550 |
% Some top-level commands: |
| 9551 |
% \begin{macrocode} |
| 9552 |
\def\Acrobatmenu#1#2{\leavevmode#2} |
| 9553 |
\let\pdfstringdefDisableCommands\@gobbletwo |
| 9554 |
\let\texorpdfstring\@firstoftwo |
| 9555 |
\let\pdfbookmark\@undefined |
| 9556 |
\newcommand\pdfbookmark[3][]{} |
| 9557 |
\let\phantomsection\@empty |
| 9558 |
\let\hypersetup\@gobble |
| 9559 |
\let\hyperbaseurl\@gobble |
| 9560 |
\newcommand*{\href}[3][]{#3} |
| 9561 |
\let\hyperdef\@gobbletwo |
| 9562 |
\let\hyperlink\@gobble |
| 9563 |
\let\hypertarget\@gobble |
| 9564 |
\protected\def\hyperref{% |
| 9565 |
\@ifnextchar[\@gobbleopt{\expandafter\@gobbletwo\@gobble}% |
| 9566 |
} |
| 9567 |
\long\def\@gobbleopt[#1]{} |
| 9568 |
\let\hyperpage\@empty |
| 9569 |
% \end{macrocode} |
| 9570 |
% \begin{macrocode} |
| 9571 |
%</nohyperref> |
| 9572 |
% \end{macrocode} |
| 9573 |
% |
| 9574 |
% \section{The Mangling Of Aux and Toc Files} |
| 9575 |
% Some extra tests so that the hyperref package may be removed or added |
| 9576 |
% to a document without having to remove .aux and .toc files |
| 9577 |
% (this section is by David Carlisle) |
| 9578 |
% All the code is delayed to |\begin{document}| |
| 9579 |
% change 2026-02-22: removed code for different |\newlabel| definitions. |
| 9580 |
% \section{Title strings} |
| 9581 |
% |
| 9582 |
% If options |pdftitle| and |pdfauthor| are not used, |
| 9583 |
% these data for the pdf information dictionary |
| 9584 |
% can be extracted by the \cmd{\title} and \cmd{\author}. |
| 9585 |
% \begin{macrocode} |
| 9586 |
%<*package> |
| 9587 |
\ifHy@pdfusetitle |
| 9588 |
\let\HyOrg@title\title |
| 9589 |
\let\HyOrg@author\author |
| 9590 |
\def\title{\@ifnextchar[{\Hy@scanopttitle}{\Hy@scantitle}}% |
| 9591 |
\def\Hy@scanopttitle[#1]{% |
| 9592 |
\gdef\Hy@title{#1}% |
| 9593 |
\HyOrg@title[{#1}]% |
| 9594 |
}% |
| 9595 |
\def\Hy@scantitle#1{% |
| 9596 |
\gdef\Hy@title{#1}% |
| 9597 |
\HyOrg@title{#1}% |
| 9598 |
}% |
| 9599 |
\def\author{\@ifnextchar[{\Hy@scanoptauthor}{\Hy@scanauthor}}% |
| 9600 |
\def\Hy@scanoptauthor[#1]{% |
| 9601 |
\gdef\Hy@author{#1}% |
| 9602 |
\HyOrg@author[{#1}]% |
| 9603 |
}% |
| 9604 |
\def\Hy@scanauthor#1{% |
| 9605 |
\gdef\Hy@author{#1}% |
| 9606 |
\HyOrg@author{#1}% |
| 9607 |
}% |
| 9608 |
% \end{macrocode} |
| 9609 |
% |
| 9610 |
% The case, that \cmd{\title}, or \cmd{\author} are given before |
| 9611 |
% hyperref is loaded, is much more complicate, because |
| 9612 |
% LaTeX initializes the macros \cmd{\@title} and \cmd{\@author} with |
| 9613 |
% LaTeX error and warning messages. |
| 9614 |
% \begin{macrocode} |
| 9615 |
\begingroup |
| 9616 |
\def\process@me#1\@nil#2{% |
| 9617 |
\expandafter\let\expandafter\x\csname @#2\endcsname |
| 9618 |
\edef\y{\expandafter\strip@prefix\meaning\x}% |
| 9619 |
\def\c##1#1##2\@nil{% |
| 9620 |
\ifx\\##1\\% |
| 9621 |
\else |
| 9622 |
\expandafter\gdef\csname Hy@#2\expandafter\endcsname |
| 9623 |
\expandafter{\x}% |
| 9624 |
\fi |
| 9625 |
}% |
| 9626 |
\expandafter\c\y\relax#1\@nil |
| 9627 |
}% |
| 9628 |
\expandafter\process@me\string\@latex@\@nil{title}% |
| 9629 |
\expandafter\process@me\string\@latex@\@nil{author}% |
| 9630 |
\endgroup |
| 9631 |
\fi |
| 9632 |
\Hy@DisableOption{pdfusetitle} |
| 9633 |
% \end{macrocode} |
| 9634 |
% |
| 9635 |
% Macro |\Hy@UseMaketitleInfos| is used in the driver files, |
| 9636 |
% before the information entries are used. |
| 9637 |
% |
| 9638 |
% The newline macro |\newline| or |\\| is much more |
| 9639 |
% complicate. In the title a good replacement can be |
| 9640 |
% a space, but can be already a space after |\\| in |
| 9641 |
% the title string. So this space is removed by |
| 9642 |
% scanning for the next non-empty argument. |
| 9643 |
% |
| 9644 |
% In the macro |\author| the newline can perhaps |
| 9645 |
% separate the different authors, so the newline |
| 9646 |
% expands here to a comma with space. |
| 9647 |
% |
| 9648 |
% The possible arguments such as space or the optional |
| 9649 |
% argument after the newline macros are not detected. |
| 9650 |
% |
| 9651 |
% A possible \thanks removes its argument. |
| 9652 |
% |
| 9653 |
% \begin{macrocode} |
| 9654 |
\def\Hy@UseMaketitleString#1{% |
| 9655 |
\@ifundefined{Hy@#1}{}{% |
| 9656 |
\begingroup |
| 9657 |
\let\Hy@saved@hook\pdfstringdefPreHook |
| 9658 |
\pdfstringdefDisableCommands{% |
| 9659 |
\expandafter\let\expandafter\\\csname Hy@newline@#1\endcsname |
| 9660 |
\let\newline\\% |
| 9661 |
\def\and{; }% |
| 9662 |
\let\thanks\@gobble% |
| 9663 |
}% |
| 9664 |
\expandafter\ifx\csname @pdf#1\endcsname\@empty |
| 9665 |
\expandafter\pdfstringdef\csname @pdf#1\endcsname{% |
| 9666 |
\csname Hy@#1\endcsname\@empty |
| 9667 |
}% |
| 9668 |
\fi |
| 9669 |
\global\let\pdfstringdefPreHook\Hy@saved@hook |
| 9670 |
\endgroup |
| 9671 |
}% |
| 9672 |
} |
| 9673 |
\def\Hy@newline@title#1{ #1} |
| 9674 |
\def\Hy@newline@author#1{, #1} |
| 9675 |
\def\Hy@UseMaketitleInfos{% |
| 9676 |
\Hy@UseMaketitleString{title}% |
| 9677 |
\Hy@UseMaketitleString{author}% |
| 9678 |
} |
| 9679 |
% \end{macrocode} |
| 9680 |
% |
| 9681 |
% \section{Page numbers} |
| 9682 |
% This stuff is done by Heiko Oberdiek. |
| 9683 |
% |
| 9684 |
% \section{Every page} |
| 9685 |
% |
| 9686 |
% \begin{macrocode} |
| 9687 |
\let\Hy@EveryPageHook\@empty |
| 9688 |
\let\Hy@EveryPageBoxHook\@empty |
| 9689 |
\let\Hy@FirstPageHook\@empty |
| 9690 |
\AddToHook{shipout/before}{% |
| 9691 |
\Hy@EveryPageHook |
| 9692 |
\ifx\Hy@EveryPageBoxHook\@empty |
| 9693 |
\else |
| 9694 |
\setbox\ShipoutBox=\vbox{% |
| 9695 |
\offinterlineskip |
| 9696 |
\Hy@EveryPageBoxHook |
| 9697 |
\box\ShipoutBox |
| 9698 |
}% |
| 9699 |
\fi |
| 9700 |
} |
| 9701 |
\Hy@iffileloaded{hpdftex.def}{% |
| 9702 |
\AddToHook{shipout/before}{% |
| 9703 |
\Hy@FirstPageHook |
| 9704 |
\global\let\Hy@FirstPageHook\@empty |
| 9705 |
}% |
| 9706 |
}{% |
| 9707 |
\AddToHook{shipout/firstpage}{% |
| 9708 |
\Hy@FirstPageHook |
| 9709 |
}% |
| 9710 |
} |
| 9711 |
\g@addto@macro\Hy@FirstPageHook{% |
| 9712 |
\PDF@FinishDoc |
| 9713 |
\global\let\PDF@FinishDoc\@empty |
| 9714 |
} |
| 9715 |
% \end{macrocode} |
| 9716 |
% |
| 9717 |
% \subsection{PDF /PageLabels} |
| 9718 |
% Internal macros of this module are marked with |\HyPL@|. |
| 9719 |
% |
| 9720 |
% \begin{macrocode} |
| 9721 |
\ifHy@pdfpagelabels |
| 9722 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 9723 |
\expandafter\ifx\csname thepage\endcsname\relax |
| 9724 |
\Hy@pdfpagelabelsfalse |
| 9725 |
\Hy@WarningNoLine{% |
| 9726 |
Option `pdfpagelabels' is turned off\MessageBreak |
| 9727 |
because \string\thepage\space is undefined% |
| 9728 |
}% |
| 9729 |
\csname fi\endcsname |
| 9730 |
\csname iffalse\expandafter\endcsname |
| 9731 |
\fi |
| 9732 |
% \end{macrocode} |
| 9733 |
% |
| 9734 |
% \begin{macro}{\thispdfpagelabel} |
| 9735 |
% The command \cmd{\thispdfpagelabel} allows to label a special |
| 9736 |
% page without the redefinition of \cmd{\thepage} for the page. |
| 9737 |
% \begin{macrocode} |
| 9738 |
\def\thispdfpagelabel#1{% |
| 9739 |
\gdef\HyPL@thisLabel{#1}% |
| 9740 |
}% |
| 9741 |
\global\let\HyPL@thisLabel\relax |
| 9742 |
% \end{macrocode} |
| 9743 |
% \end{macro} |
| 9744 |
% |
| 9745 |
% \begin{macro}{\HyPL@Labels} |
| 9746 |
% The page labels are collected in \cmd{\HyPL@Labels} and |
| 9747 |
% set at the end of the document. |
| 9748 |
% \begin{macrocode} |
| 9749 |
\let\HyPL@Labels\@empty |
| 9750 |
% \end{macrocode} |
| 9751 |
% \end{macro} |
| 9752 |
% \begin{macro}{\Hy@abspage} |
| 9753 |
% We have to know the the absolute page number and introduce |
| 9754 |
% a new counter for that. |
| 9755 |
% \begin{macrocode} |
| 9756 |
\newcount\Hy@abspage |
| 9757 |
\Hy@abspage=0 % |
| 9758 |
% \end{macrocode} |
| 9759 |
% \end{macro} |
| 9760 |
% For comparisons with the values of the previous page, some |
| 9761 |
% variables are needed: |
| 9762 |
% \begin{macrocode} |
| 9763 |
\def\HyPL@LastType{init}% |
| 9764 |
\def\HyPL@LastNumber{0}% |
| 9765 |
\let\HyPL@LastPrefix\@empty |
| 9766 |
% \end{macrocode} |
| 9767 |
% Definitions for the PDF names of the \LaTeX{} pendents. |
| 9768 |
% \begin{macrocode} |
| 9769 |
\def\HyPL@arabic{D}% |
| 9770 |
\def\HyPL@Roman{R}% |
| 9771 |
\def\HyPL@roman{r}% |
| 9772 |
\def\HyPL@Alph{A}% |
| 9773 |
\def\HyPL@alph{a}% |
| 9774 |
% \end{macrocode} |
| 9775 |
% |
| 9776 |
% \begin{macrocode} |
| 9777 |
\let\HyPL@SlidesSetPage\@empty |
| 9778 |
\@ifclassloaded{slides}{% |
| 9779 |
\def\HyPL@SlidesSetPage{% |
| 9780 |
\advance\c@page\@ne |
| 9781 |
\ifnum\value{page}>\@ne |
| 9782 |
\protected@edef\HyPL@SlidesOptionalPage{% |
| 9783 |
\Hy@SlidesFormatOptionalPage{\thepage}% |
| 9784 |
}% |
| 9785 |
\else |
| 9786 |
\let\HyPL@SlidesOptionalPage\@empty |
| 9787 |
\fi |
| 9788 |
\advance\c@page-\@ne |
| 9789 |
\def\HyPL@page{% |
| 9790 |
\csname the\Hy@SlidesPage\endcsname |
| 9791 |
\HyPL@SlidesOptionalPage |
| 9792 |
}% |
| 9793 |
}% |
| 9794 |
}{}% |
| 9795 |
% \end{macrocode} |
| 9796 |
% |
| 9797 |
% \begin{macro}{\HyPL@EveryPage} |
| 9798 |
% If a page is shipout and the page number is known, |
| 9799 |
% \cmd{\HyPL@EveryPage} has to be called. It stores the |
| 9800 |
% current page label. |
| 9801 |
% \begin{macrocode} |
| 9802 |
\def\HyPL@EveryPage{% |
| 9803 |
\begingroup |
| 9804 |
\ifx\HyPL@thisLabel\relax |
| 9805 |
\let\HyPL@page\thepage |
| 9806 |
\HyPL@SlidesSetPage |
| 9807 |
\else |
| 9808 |
\let\HyPL@page\HyPL@thisLabel |
| 9809 |
\global\let\HyPL@thisLabel\relax |
| 9810 |
\fi |
| 9811 |
\let\HyPL@Type\relax |
| 9812 |
\ifnum\c@page>0 % |
| 9813 |
\ifx\HyPL@SlidesSetPage\@empty |
| 9814 |
\expandafter\HyPL@CheckThePage\HyPL@page\@nil |
| 9815 |
\fi |
| 9816 |
\fi |
| 9817 |
\let\Hy@temp Y% |
| 9818 |
\ifx\HyPL@Type\HyPL@LastType |
| 9819 |
\else |
| 9820 |
\let\Hy@temp N% |
| 9821 |
\fi |
| 9822 |
\ifx\HyPL@Type\relax |
| 9823 |
\pdfstringdef\HyPL@Prefix{\HyPL@page}% |
| 9824 |
\else |
| 9825 |
\pdfstringdef\HyPL@Prefix\HyPL@Prefix |
| 9826 |
\fi |
| 9827 |
\ifx\HyPL@Prefix\HyPL@LastPrefix |
| 9828 |
\else |
| 9829 |
\let\Hy@temp N% |
| 9830 |
\fi |
| 9831 |
\if Y\Hy@temp |
| 9832 |
\advance\c@page by -1 % |
| 9833 |
\ifnum\HyPL@LastNumber=\the\c@page\relax |
| 9834 |
\else |
| 9835 |
\let\Hy@temp N% |
| 9836 |
\fi |
| 9837 |
\Hy@StepCount\c@page |
| 9838 |
\fi |
| 9839 |
\if N\Hy@temp |
| 9840 |
\ifx\HyPL@Type\relax |
| 9841 |
\HyPL@StorePageLabel{/P(\HyPL@Prefix)}% |
| 9842 |
\else |
| 9843 |
\HyPL@StorePageLabel{% |
| 9844 |
\ifx\HyPL@Prefix\@empty |
| 9845 |
\else |
| 9846 |
/P(\HyPL@Prefix)% |
| 9847 |
\fi |
| 9848 |
/S/\csname HyPL\HyPL@Type\endcsname |
| 9849 |
\ifnum\the\c@page=1 % |
| 9850 |
\else |
| 9851 |
\space/St \the\c@page |
| 9852 |
\fi |
| 9853 |
}% |
| 9854 |
\fi |
| 9855 |
\fi |
| 9856 |
\xdef\HyPL@LastNumber{\the\c@page}% |
| 9857 |
\global\let\HyPL@LastType\HyPL@Type |
| 9858 |
\global\let\HyPL@LastPrefix\HyPL@Prefix |
| 9859 |
\endgroup |
| 9860 |
\Hy@GlobalStepCount\Hy@abspage |
| 9861 |
}% |
| 9862 |
% \end{macrocode} |
| 9863 |
% \end{macro} |
| 9864 |
% |
| 9865 |
% \begin{macro}{\HyPL@CheckThePage} |
| 9866 |
% Macro \cmd{\HyPL@CheckThePage} calls \cmd{\HyPL@@CheckThePage} |
| 9867 |
% that does the job. |
| 9868 |
% \begin{macrocode} |
| 9869 |
\def\HyPL@CheckThePage#1\@nil{% |
| 9870 |
\HyPL@@CheckThePage{#1}#1\csname\endcsname\c@page\@nil |
| 9871 |
}% |
| 9872 |
% \end{macrocode} |
| 9873 |
% \end{macro} |
| 9874 |
% \begin{macro}{\HyPL@@CheckThePage} |
| 9875 |
% The first check is, is \cmd{\thepage} is defined |
| 9876 |
% such as in \LaTeX, e.\,g.: |\csname @arabic\endcsname\c@page|. |
| 9877 |
% In the current implement |
| 9878 |
% ation the check fails, if there is |
| 9879 |
% another \cmd{\csname} before. |
| 9880 |
% |
| 9881 |
% The second check tries to detect |\arabic{page}| at the |
| 9882 |
% end of the definition text of \cmd{\thepage}. |
| 9883 |
% \begin{macrocode} |
| 9884 |
\def\HyPL@@CheckThePage#1#2\csname#3\endcsname\c@page#4\@nil{% |
| 9885 |
\def\Hy@tempa{#4}% |
| 9886 |
\def\Hy@tempb{\csname\endcsname\c@page}% |
| 9887 |
\ifx\Hy@tempa\Hy@tempb |
| 9888 |
\expandafter\ifx\csname HyPL#3\endcsname\relax |
| 9889 |
\else |
| 9890 |
\def\HyPL@Type{#3}% |
| 9891 |
\def\HyPL@Prefix{#2}% |
| 9892 |
\fi |
| 9893 |
\else |
| 9894 |
\begingroup |
| 9895 |
\let\Hy@next\endgroup |
| 9896 |
\let\HyPL@found\@undefined |
| 9897 |
\def\arabic{\HyPL@Format{arabic}}% |
| 9898 |
\def\Roman{\HyPL@Format{Roman}}% |
| 9899 |
\def\roman{\HyPL@Format{roman}}% |
| 9900 |
\def\Alph{\HyPL@Format{Alph}}% |
| 9901 |
\def\alph{\HyPL@Format{alph}}% |
| 9902 |
\protected@edef\Hy@temp{#1}% |
| 9903 |
\ifx\HyPL@found\relax |
| 9904 |
\toks@\expandafter{\Hy@temp}% |
| 9905 |
\edef\Hy@next{\endgroup |
| 9906 |
\noexpand\HyPL@@@CheckThePage\the\toks@ |
| 9907 |
\noexpand\HyPL@found\relax\noexpand\@nil |
| 9908 |
}% |
| 9909 |
\fi |
| 9910 |
\Hy@next |
| 9911 |
\fi |
| 9912 |
}% |
| 9913 |
% \end{macrocode} |
| 9914 |
% \end{macro} |
| 9915 |
% |
| 9916 |
% \begin{macro}{\HyPL@Format} |
| 9917 |
% The help macro \cmd{\HyPL@Format} is executed while |
| 9918 |
% a \cmd{\protected@edef} in the second check |
| 9919 |
% method of \cmd{\HyPL@@CheckPage}. |
| 9920 |
% The first occurrences of, for example, |\arabic{page}| is |
| 9921 |
% marked by \cmd{\HyPL@found} that is also defined by |
| 9922 |
% \cmd{\csname}. |
| 9923 |
% \begin{macrocode} |
| 9924 |
\def\HyPL@Format#1#2{% |
| 9925 |
\ifx\HyPL@found\@undefined |
| 9926 |
\expandafter\ifx\csname c@#2\endcsname\c@page |
| 9927 |
\expandafter\noexpand\csname HyPL@found\endcsname{#1}% |
| 9928 |
\else |
| 9929 |
\expandafter\noexpand\csname#1\endcsname{#2}% |
| 9930 |
\fi |
| 9931 |
\else |
| 9932 |
\expandafter\noexpand\csname#1\endcsname{#2}% |
| 9933 |
\fi |
| 9934 |
}% |
| 9935 |
% \end{macrocode} |
| 9936 |
% \end{macro} |
| 9937 |
% |
| 9938 |
% \begin{macro}{\HyPL@@@CheckThePage} |
| 9939 |
% If the second check method is successful, |
| 9940 |
% \cmd{\HyPL@@@CheckThePage} scans the result of |
| 9941 |
% \cmd{\HyPL@Format} and stores the found values. |
| 9942 |
% \begin{macrocode} |
| 9943 |
\def\HyPL@@@CheckThePage#1\HyPL@found#2#3\@nil{% |
| 9944 |
\def\Hy@tempa{#3}% |
| 9945 |
\def\Hy@tempb{\HyPL@found\relax}% |
| 9946 |
\ifx\Hy@tempa\Hy@tempb |
| 9947 |
\def\HyPL@Type{@#2}% |
| 9948 |
\def\HyPL@Prefix{#1}% |
| 9949 |
\fi |
| 9950 |
}% |
| 9951 |
% \end{macrocode} |
| 9952 |
% \end{macro} |
| 9953 |
% |
| 9954 |
% \begin{macro}{\HyPL@StorePageLabel} |
| 9955 |
% Dummy for drivers that does not support /PageLabel. |
| 9956 |
% \begin{macrocode} |
| 9957 |
\providecommand*{\HyPL@StorePageLabel}[1]{}% |
| 9958 |
% \end{macrocode} |
| 9959 |
% \end{macro} |
| 9960 |
% |
| 9961 |
% \begin{macro}{\HyPL@Useless} |
| 9962 |
% The |/PageLabels| entry does not make sense, |
| 9963 |
% if the absolute page numbers and the page labels are the |
| 9964 |
% same. Then \cmd{\HyPL@Labels} has the meaning of \cmd{\HyPL@Useless}. |
| 9965 |
% \begin{macrocode} |
| 9966 |
\def\HyPL@Useless{0<</S/D>>}% |
| 9967 |
\@onelevel@sanitize\HyPL@Useless |
| 9968 |
% \end{macrocode} |
| 9969 |
% \end{macro} |
| 9970 |
% |
| 9971 |
% \begin{macro}{\HyPL@SetPageLabels} |
| 9972 |
% The page labels are written to the PDF cataloge. |
| 9973 |
% The command \cmd{\Hy@PutCatalog} is defined in the |
| 9974 |
% driver files. |
| 9975 |
% \begin{macrocode} |
| 9976 |
\def\HyPL@SetPageLabels{% |
| 9977 |
\@onelevel@sanitize\HyPL@Labels |
| 9978 |
\ifx\HyPL@Labels\@empty |
| 9979 |
\else |
| 9980 |
\ifx\HyPL@Labels\HyPL@Useless |
| 9981 |
\else |
| 9982 |
\Hy@PutCatalog{/PageLabels<</Nums[\HyPL@Labels]>>}% |
| 9983 |
\fi |
| 9984 |
\fi |
| 9985 |
}% |
| 9986 |
% \end{macrocode} |
| 9987 |
% \end{macro} |
| 9988 |
% |
| 9989 |
% \begin{macrocode} |
| 9990 |
\g@addto@macro\Hy@EveryPageHook{\HyPL@EveryPage}% |
| 9991 |
\fi |
| 9992 |
% \end{macrocode} |
| 9993 |
% |
| 9994 |
% Option `pdfpagelabels' has been used and is now disabled. |
| 9995 |
% \begin{macrocode} |
| 9996 |
\Hy@DisableOption{pdfpagelabels} |
| 9997 |
% \end{macrocode} |
| 9998 |
% |
| 9999 |
% \begin{macrocode} |
| 10000 |
%</package> |
| 10001 |
% \end{macrocode} |
| 10002 |
% |
| 10003 |
% \subsubsection{pdfTeX and VTeX} |
| 10004 |
% |
| 10005 |
% Because of pdfTeX's \cmd{\pdfcatalog} command |
| 10006 |
% the /PageLabels entry can set at end of document |
| 10007 |
% in the first run. |
| 10008 |
% |
| 10009 |
% \begin{macro}{\Hy@PutCatalog} |
| 10010 |
% \begin{macrocode} |
| 10011 |
%<*pdftex> |
| 10012 |
\pdf@ifdraftmode{% |
| 10013 |
\let\Hy@PutCatalog\@gobble |
| 10014 |
}{% |
| 10015 |
\let\Hy@PutCatalog\pdfcatalog |
| 10016 |
} |
| 10017 |
%</pdftex> |
| 10018 |
% \end{macrocode} |
| 10019 |
% The code for VTeX is more complicate, because it does |
| 10020 |
% not allow the direct access to the /Catalog object. |
| 10021 |
% The command scans its argument and looks |
| 10022 |
% for a /PageLabels entry. |
| 10023 |
% |
| 10024 |
% VTeX 6.59g is the first version, that |
| 10025 |
% implements \verb|\special{!pdfpagelabels...}|. |
| 10026 |
% For this version \cmd{\VTeXversion} reports 660. |
| 10027 |
% \begin{macrocode} |
| 10028 |
%<*vtex> |
| 10029 |
\providecommand*{\XR@ext}{pdf} |
| 10030 |
\edef\Hy@VTeXversion{% |
| 10031 |
\ifx\VTeXversion\@undefined |
| 10032 |
\z@ |
| 10033 |
\else |
| 10034 |
\ifx\VTeXversion\relax |
| 10035 |
\z@ |
| 10036 |
\else |
| 10037 |
\VTeXversion |
| 10038 |
\fi |
| 10039 |
\fi |
| 10040 |
} |
| 10041 |
\begingroup |
| 10042 |
\ifnum\Hy@VTeXversion<660 % |
| 10043 |
\gdef\Hy@PutCatalog#1{% |
| 10044 |
\Hy@WarningNoLine{% |
| 10045 |
VTeX 6.59g or above required for pdfpagelabels% |
| 10046 |
}% |
| 10047 |
}% |
| 10048 |
\else |
| 10049 |
\gdef\Hy@PutCatalog#1{% |
| 10050 |
\Hy@vt@PutCatalog#1/PageLabels<<>>\@nil |
| 10051 |
}% |
| 10052 |
\gdef\Hy@vt@PutCatalog#1/PageLabels<<#2>>#3\@nil{% |
| 10053 |
\ifx\\#2\\% |
| 10054 |
\else |
| 10055 |
\immediate\special{!pdfpagelabels #2}% |
| 10056 |
\fi |
| 10057 |
}% |
| 10058 |
\fi |
| 10059 |
\endgroup |
| 10060 |
%</vtex> |
| 10061 |
% \end{macrocode} |
| 10062 |
% \end{macro} |
| 10063 |
% |
| 10064 |
% \begin{macrocode} |
| 10065 |
%<*pdftex|vtex> |
| 10066 |
% \end{macrocode} |
| 10067 |
% |
| 10068 |
% \begin{macro}{\HyPL@StorePageLabel} |
| 10069 |
% This macro adds the entry |#1| to \cmd{\HyPL@Labels}. |
| 10070 |
% \begin{macrocode} |
| 10071 |
\ifHy@pdfpagelabels |
| 10072 |
\def\HyPL@StorePageLabel#1{% |
| 10073 |
\toks@\expandafter{\HyPL@Labels}% |
| 10074 |
\xdef\HyPL@Labels{% |
| 10075 |
\the\toks@ |
| 10076 |
\the\Hy@abspage<<#1>>% |
| 10077 |
}% |
| 10078 |
}% |
| 10079 |
% \end{macrocode} |
| 10080 |
% \end{macro} |
| 10081 |
% |
| 10082 |
% The \texttt{enddocument/afteraux} hook is used to get behind the |
| 10083 |
% final \cs{clearpage} and to avoid a \cs{clearpage} |
| 10084 |
% in \cs{AtEndDocument}. |
| 10085 |
% Then the PDF catalog entry for |\PageLabels| is set. |
| 10086 |
% \begin{macrocode} |
| 10087 |
\AddToHook{enddocument/afteraux}{% |
| 10088 |
\HyPL@SetPageLabels |
| 10089 |
}% |
| 10090 |
% \end{macrocode} |
| 10091 |
% |
| 10092 |
% \begin{macrocode} |
| 10093 |
\fi |
| 10094 |
%</pdftex|vtex> |
| 10095 |
% \end{macrocode} |
| 10096 |
% |
| 10097 |
% \subsubsection{xetex} |
| 10098 |
% |
| 10099 |
% \begin{macrocode} |
| 10100 |
%<*xetex> |
| 10101 |
\HyPsd@LoadUnicode |
| 10102 |
\Hy@unicodetrue |
| 10103 |
\ifx\HyPsd@pdfencoding\HyPsd@pdfencoding@unicode |
| 10104 |
\else |
| 10105 |
\let\HyPsd@pdfencoding\HyPsd@pdfencoding@auto |
| 10106 |
\fi |
| 10107 |
\define@key{Hyp}{unicode}[true]{% |
| 10108 |
\Hy@boolkey{unicode}{#1}% |
| 10109 |
\ifHy@unicode |
| 10110 |
\else |
| 10111 |
\Hy@Warning{% |
| 10112 |
XeTeX driver only supports `unicode=true'. Ignoring\MessageBreak |
| 10113 |
option setting `unicode=false'% |
| 10114 |
}% |
| 10115 |
\Hy@unicodetrue |
| 10116 |
\fi |
| 10117 |
} |
| 10118 |
\define@key{Hyp}{pdfencoding}{% |
| 10119 |
\edef\HyPsd@temp{#1}% |
| 10120 |
\ifx\HyPsd@temp\HyPsd@pdfencoding@unicode |
| 10121 |
\let\HyPsd@pdfencoding\HyPsd@temp |
| 10122 |
\else |
| 10123 |
\ifx\HyPsd@temp\HyPsd@pdfencoding@auto |
| 10124 |
\let\HyPsd@pdfencoding\HyPsd@temp |
| 10125 |
\else |
| 10126 |
\Hy@Warning{% |
| 10127 |
XeTeX driver only supports\MessageBreak |
| 10128 |
`pdfencoding=unicode|auto'. Ignoring option\MessageBreak |
| 10129 |
setting `pdfencoding=\HyPsd@temp'% |
| 10130 |
}% |
| 10131 |
\fi |
| 10132 |
\fi |
| 10133 |
} |
| 10134 |
\let\HyXeTeX@CheckUnicode\relax |
| 10135 |
% \end{macrocode} |
| 10136 |
% Since 2016 (x)dvipdfmx has a special to control the spacing of annotation borders. |
| 10137 |
% So let's make use of it: |
| 10138 |
% \begin{macrocode} |
| 10139 |
\def\setpdflinkmargin#1{% |
| 10140 |
\begingroup |
| 10141 |
\setlength{\dimen@}{#1}% |
| 10142 |
\special{dvipdfmx:config g \strip@pt\dimen@}% |
| 10143 |
\endgroup} |
| 10144 |
%</xetex> |
| 10145 |
% \end{macrocode} |
| 10146 |
% set the pdf version |
| 10147 |
% \begin{macrocode} |
| 10148 |
%<*dvipdfm|xetex> |
| 10149 |
\special{pdf:majorversion \Hy@pdf@majorversion} |
| 10150 |
\special{pdf:minorversion \Hy@pdf@minorversion} |
| 10151 |
%</dvipdfm|xetex> |
| 10152 |
% \end{macrocode} |
| 10153 |
% \subsubsection{pdfmarkbase, dvipdfm, xetex} |
| 10154 |
% |
| 10155 |
% \begin{macrocode} |
| 10156 |
%<*pdfmarkbase> |
| 10157 |
\begingroup |
| 10158 |
\@ifundefined{headerps@out}{}{% |
| 10159 |
\toks@\expandafter{\Hy@FirstPageHook}% |
| 10160 |
\xdef\Hy@FirstPageHook{% |
| 10161 |
\noexpand\headerps@out{% |
| 10162 |
systemdict /pdfmark known% |
| 10163 |
{% |
| 10164 |
userdict /?pdfmark systemdict /exec get put% |
| 10165 |
}{% |
| 10166 |
userdict /?pdfmark systemdict /pop get put % |
| 10167 |
userdict /pdfmark systemdict /cleartomark get put% |
| 10168 |
}% |
| 10169 |
ifelse% |
| 10170 |
}% |
| 10171 |
\the\toks@ |
| 10172 |
}% |
| 10173 |
}% |
| 10174 |
\endgroup |
| 10175 |
%</pdfmarkbase> |
| 10176 |
% \end{macrocode} |
| 10177 |
% |
| 10178 |
% \begin{macro}{\Hy@PutCatalog} |
| 10179 |
% \begin{macrocode} |
| 10180 |
%<dvipdfm|xetex>\def\Hy@PutCatalog#1{\@pdfm@mark{docview <<#1>>}} |
| 10181 |
%<*pdfmarkbase> |
| 10182 |
\def\Hy@PutCatalog#1{% |
| 10183 |
\pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} <<#1>>}}% |
| 10184 |
} |
| 10185 |
%</pdfmarkbase> |
| 10186 |
% \end{macrocode} |
| 10187 |
% \end{macro} |
| 10188 |
% |
| 10189 |
% \begin{macrocode} |
| 10190 |
%<*pdfmarkbase|dvipdfm|xetex> |
| 10191 |
\ifHy@pdfpagelabels |
| 10192 |
% \end{macrocode} |
| 10193 |
% |
| 10194 |
% \begin{macro}{\HyPL@StorePageLabel} |
| 10195 |
% This macro writes a string to the .aux file. |
| 10196 |
% \begin{macrocode} |
| 10197 |
\def\HyPL@StorePageLabel#1{% |
| 10198 |
\if@filesw |
| 10199 |
\begingroup |
| 10200 |
\edef\Hy@tempa{\the\Hy@abspage<<#1>>}% |
| 10201 |
\immediate\write\@mainaux{% |
| 10202 |
\string\HyPL@Entry{\Hy@tempa}% |
| 10203 |
}% |
| 10204 |
\endgroup |
| 10205 |
\fi |
| 10206 |
}% |
| 10207 |
% \end{macrocode} |
| 10208 |
% \end{macro} |
| 10209 |
% |
| 10210 |
% Write a dummy definition of \cmd{\HyPL@Entry} for the case, |
| 10211 |
% that the next run is done without hyperref. |
| 10212 |
% A marker for the rerun warning is set and the /PageLabels |
| 10213 |
% is written. |
| 10214 |
% \begin{macrocode} |
| 10215 |
\Hy@AtBeginDocument{% |
| 10216 |
\if@filesw |
| 10217 |
\immediate\write\@mainaux{% |
| 10218 |
\string\providecommand\string*\string\HyPL@Entry[1]{}% |
| 10219 |
}% |
| 10220 |
\fi |
| 10221 |
\ifx\HyPL@Labels\@empty |
| 10222 |
\Hy@WarningNoLine{Rerun to get /PageLabels entry}% |
| 10223 |
\else |
| 10224 |
\HyPL@SetPageLabels |
| 10225 |
\fi |
| 10226 |
\let\HyPL@Entry\@gobble |
| 10227 |
}% |
| 10228 |
% \end{macrocode} |
| 10229 |
% |
| 10230 |
% \begin{macro}{\HyPL@Entry} |
| 10231 |
% \begin{macrocode} |
| 10232 |
\def\HyPL@Entry#1{% |
| 10233 |
\expandafter\gdef\expandafter\HyPL@Labels\expandafter{% |
| 10234 |
\HyPL@Labels |
| 10235 |
#1% |
| 10236 |
}% |
| 10237 |
}% |
| 10238 |
% \end{macrocode} |
| 10239 |
% \end{macro} |
| 10240 |
% |
| 10241 |
% \begin{macrocode} |
| 10242 |
\fi |
| 10243 |
%</pdfmarkbase|dvipdfm|xetex> |
| 10244 |
% \end{macrocode} |
| 10245 |
% |
| 10246 |
% \begin{macrocode} |
| 10247 |
%<*packageEnd> |
| 10248 |
% \end{macrocode} |
| 10249 |
% |
| 10250 |
% \begin{macrocode} |
| 10251 |
\ifx\MaybeStopEarly\relax |
| 10252 |
\else |
| 10253 |
\Hy@stoppedearlytrue |
| 10254 |
\expandafter\MaybeStopEarly |
| 10255 |
\fi |
| 10256 |
\Hy@stoppedearlyfalse |
| 10257 |
% \end{macrocode} |
| 10258 |
% |
| 10259 |
% \section{Automated \LaTeX\ hypertext cross-references}\label{latexxref} |
| 10260 |
% Anything which can be referenced advances some counter; we overload |
| 10261 |
% this to put in a hypertext starting point (with no visible anchor), |
| 10262 |
% and make a note of that for later use in |\label|. |
| 10263 |
% This will fail badly if |\theH<name>| |
| 10264 |
% does not expand to a sensible reference. This means that classes |
| 10265 |
% or package which introduce new elements need to define |
| 10266 |
% an equivalent |\theH<name>| for every |\the<name>|. We do make |
| 10267 |
% a trap to make |\theH<name>| be the same as |\arabic{<name>}|, |
| 10268 |
% if |\theH<name>| is not defined, but this is not necessarily a good idea. |
| 10269 |
% Alternatively, the `naturalnames' option uses whatever \LaTeX\ |
| 10270 |
% provides, which may be usable. But then its up to you to make |
| 10271 |
% sure these are legal PDF and HTML names. The `hypertexnames=false' option |
| 10272 |
% just makes up arbitrary names. |
| 10273 |
% |
| 10274 |
% All the shenanigans is to make sure section numbers etc |
| 10275 |
% are always arabic, separated by dots. Who knows how people |
| 10276 |
% will set up |\@currentlabel|? If they put spaces in, or brackets |
| 10277 |
% (quite legal) then the hypertext processors will get upset. |
| 10278 |
% |
| 10279 |
% But this is flaky, and open to abuse. Styles like |
| 10280 |
% |subeqn| will mess it up, for starters. Appendices are an issue, too. |
| 10281 |
% We just hope to cover most situations. We can at least cope |
| 10282 |
% with the standard sectioning structure, allowing for |\part| |
| 10283 |
% and |\chapter|. |
| 10284 |
% |
| 10285 |
% Start with a fallback for equations |
| 10286 |
% \begin{macrocode} |
| 10287 |
\def\Hy@CounterExists#1{% |
| 10288 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 10289 |
\expandafter\ifx\csname c@#1\endcsname\relax |
| 10290 |
\expandafter\@gobble |
| 10291 |
\else |
| 10292 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 10293 |
\expandafter\ifx\csname the#1\endcsname\relax |
| 10294 |
\expandafter\expandafter\expandafter\@gobble |
| 10295 |
\else |
| 10296 |
\expandafter\expandafter\expandafter\@firstofone |
| 10297 |
\fi |
| 10298 |
\fi |
| 10299 |
} |
| 10300 |
% \end{macrocode} |
| 10301 |
% change 2026-02-22: removed definitions provided for format before |
| 10302 |
% 2024-11-01 |
| 10303 |
% |
| 10304 |
% Thanks to Greta Meyer ([email protected]) for making me realize |
| 10305 |
% that enumeration starts at 0 for every list! But |\item| |
| 10306 |
% occurs inside |\trivlist|, so check if its a real |\item| before |
| 10307 |
% incrementing counters. |
| 10308 |
% \begin{macrocode} |
| 10309 |
\let\H@item\item |
| 10310 |
\newcounter{Item} |
| 10311 |
\def\item{% |
| 10312 |
\@hyper@itemfalse |
| 10313 |
\if@nmbrlist\@hyper@itemtrue\fi |
| 10314 |
\H@item |
| 10315 |
} |
| 10316 |
% \end{macrocode} |
| 10317 |
% |
| 10318 |
% Tanmoy asked for this default handling of undefined |\theH<name>| |
| 10319 |
% situations. It really isn't clear what would be ideal, whether to |
| 10320 |
% turn off hyperizing of unknown elements, to pick up the textual |
| 10321 |
% definition of the counter, or to default it to something like |
| 10322 |
% |\arabic{name}|. We take the latter course, slightly worriedly. |
| 10323 |
% \begin{macrocode} |
| 10324 |
\let\H@refstepcounter\@kernel@refstepcounter |
| 10325 |
\edef\name@of@eq{equation}% |
| 10326 |
% \end{macrocode} |
| 10327 |
% We do not want the handler for |\refstepcounter| to cut in |
| 10328 |
% during the processing of |\item| (we handle that separately), |
| 10329 |
% so we provide a bypass conditional. |
| 10330 |
% change 2022-04-22: removed test for the slide counter |
| 10331 |
% and for the equation name. |
| 10332 |
% change 2022-05-02: added the new boolean set by |
| 10333 |
% |\LinkTargetOn/\LinkTargetOff| |
| 10334 |
% |
| 10335 |
% \begin{macrocode} |
| 10336 |
\newif\if@hyper@item |
| 10337 |
\newif\if@skiphyperref |
| 10338 |
\@hyper@itemfalse |
| 10339 |
\@skiphyperreffalse |
| 10340 |
\ExplSyntaxOn |
| 10341 |
\NewSocketPlug{refstepcounter}{hyperref}{\ifHy@pdfstring\else#1\fi} |
| 10342 |
\AssignSocketPlug{refstepcounter}{hyperref} |
| 10343 |
% \end{macrocode} |
| 10344 |
% change 2024-11-05: cleveref relies on refstepcounter to update its data. |
| 10345 |
% \begin{macrocode} |
| 10346 |
\AddToHook{package/cleveref/after} |
| 10347 |
{ |
| 10348 |
\@ifpackagelater{cleveref}{2018/03/28}{} |
| 10349 |
{ |
| 10350 |
\NewSocketPlug{refstepcounter}{hyperref/fixcleveref} |
| 10351 |
{\ifHy@pdfstring\else |
| 10352 |
#1% |
| 10353 |
{\firstaid@cref@updatelabeldata{\@currentcounter}}% |
| 10354 |
\fi} |
| 10355 |
\AssignSocketPlug{refstepcounter}{hyperref/fixcleveref} |
| 10356 |
} |
| 10357 |
} |
| 10358 |
\NewSocketPlug{refstepcounter/target}{hyperref} |
| 10359 |
{ |
| 10360 |
\bool_lazy_and:nnT |
| 10361 |
{ \l__hyp_target_create_bool } |
| 10362 |
{ ! \legacy_if_p:n{@skiphyperref} } |
| 10363 |
{ |
| 10364 |
\legacy_if:nTF {@hyper@item} |
| 10365 |
{ |
| 10366 |
\stepcounter{Item}% |
| 10367 |
\hyper@refstepcounter{Item}% |
| 10368 |
\@hyper@itemfalse |
| 10369 |
} |
| 10370 |
{ |
| 10371 |
\hyper@refstepcounter{\@currentcounter}% |
| 10372 |
} |
| 10373 |
} |
| 10374 |
} |
| 10375 |
\AssignSocketPlug{refstepcounter/target}{hyperref} |
| 10376 |
\ExplSyntaxOff |
| 10377 |
\let\Hy@saved@refstepcounter\refstepcounter |
| 10378 |
% \end{macrocode} |
| 10379 |
% AMS\LaTeX\ processes all equations twice; we want to make sure |
| 10380 |
% that the hyper stuff is not executed twice, so we use the AMS |
| 10381 |
% |\ifmeasuring@|, initialized if AMS math is not used. |
| 10382 |
% change 2025-06-20: test if the switch already exist, see tagging-project issue 920. |
| 10383 |
% \begin{macrocode} |
| 10384 |
\ifcsname ifmeasuring@\endcsname |
| 10385 |
\else |
| 10386 |
\expandafter\newif\csname ifmeasuring@\endcsname\measuring@false |
| 10387 |
\fi |
| 10388 |
\newcommand\Hy@ifnotmeasuring[1]{#1} |
| 10389 |
\AddToHook{package/amsmath/after} |
| 10390 |
{ |
| 10391 |
\renewcommand\Hy@ifnotmeasuring[1] |
| 10392 |
{\ifmeasuring@ \else #1\fi} |
| 10393 |
} |
| 10394 |
% \end{macrocode} |
| 10395 |
% |
| 10396 |
% \begin{macro}{\hyper@refstepcounter} |
| 10397 |
% changed 2026-02-22 to use \cs{MakeLinkTarget} |
| 10398 |
% \begin{macrocode} |
| 10399 |
\def\hyper@refstepcounter#1{\ifHy@hypertexnames\MakeLinkTarget{#1}\else\MakeLinkTarget[#1]{} \fi} |
| 10400 |
% \end{macrocode} |
| 10401 |
% \end{macro} |
| 10402 |
% \begin{macro}{\Hy@ProvideTheHCounter} |
| 10403 |
% \cs{theH<counter>} is not set for counters that |
| 10404 |
% are defined before `hyperref' is loaded. |
| 10405 |
% In \cs{cl@@ckpt}, the clear counter list of |
| 10406 |
% the artificial counter |@ckpt|, \LaTeX\ remembers |
| 10407 |
% the defined counters (needed for \cs{include}). We check |
| 10408 |
% the clear counter lists, whether our counter is present. |
| 10409 |
% If we found it, then we add the parent counter value |
| 10410 |
% to \cs{theH<counter>}. The \cs{@elt} list is |
| 10411 |
% used in sanitized form for the comparison, because the list |
| 10412 |
% might contain other stuff than \cs{@elt}s. Also it simplifies |
| 10413 |
% the implementation, because \LaTeX', substring search |
| 10414 |
% \cs{in@} can be used. |
| 10415 |
% \begin{macrocode} |
| 10416 |
\def\HyCnt@ProvideTheHCounter#1{% |
| 10417 |
\@ifundefined{theH#1}{% |
| 10418 |
\expandafter\def\csname theH#1\endcsname{}% |
| 10419 |
\def\Hy@temp{\@elt{#1}}% |
| 10420 |
\@onelevel@sanitize\Hy@temp |
| 10421 |
\let\HyOrg@elt\@elt |
| 10422 |
\edef\@elt{% |
| 10423 |
\noexpand\HyCnt@LookForParentCounter |
| 10424 |
\expandafter\noexpand\csname theH#1\endcsname |
| 10425 |
}% |
| 10426 |
\cl@@ckpt |
| 10427 |
\let\@elt\HyOrg@elt |
| 10428 |
\expandafter |
| 10429 |
\Hy@LocalAppendToMacro\csname theH#1\expandafter\endcsname |
| 10430 |
\expandafter{% |
| 10431 |
\expandafter\@arabic\csname c@#1\endcsname |
| 10432 |
}% |
| 10433 |
}{}% |
| 10434 |
} |
| 10435 |
% \end{macrocode} |
| 10436 |
% \end{macro} |
| 10437 |
% \begin{macro}{\Hy@LookForParentCounter} |
| 10438 |
% \begin{macrocode} |
| 10439 |
\def\HyCnt@LookForParentCounter#1#2{% |
| 10440 |
\expandafter\let\expandafter\Hy@temp@A\csname cl@#2\endcsname |
| 10441 |
\@ifundefined{cl@#2}{% |
| 10442 |
}{% |
| 10443 |
\@onelevel@sanitize\Hy@temp@A |
| 10444 |
\edef\Hy@temp@A{% |
| 10445 |
\noexpand\in@{\Hy@temp}{\Hy@temp@A}% |
| 10446 |
}\Hy@temp@A |
| 10447 |
\ifin@ |
| 10448 |
\@ifundefined{theH#2}{% |
| 10449 |
\expandafter\Hy@LocalAppendToMacro\expandafter#1% |
| 10450 |
\expandafter{% |
| 10451 |
\expandafter\@arabic\csname c@#2\endcsname.% |
| 10452 |
}% |
| 10453 |
}{% |
| 10454 |
\expandafter\Hy@LocalAppendToMacro\expandafter#1% |
| 10455 |
\expandafter{% |
| 10456 |
\csname theH#2\endcsname.% |
| 10457 |
}% |
| 10458 |
}% |
| 10459 |
\fi |
| 10460 |
}% |
| 10461 |
} |
| 10462 |
% \end{macrocode} |
| 10463 |
% \end{macro} |
| 10464 |
% |
| 10465 |
% After \cmd{\appendix} ``chapter'' (or ``section'' for classes |
| 10466 |
% without chapter) should be replaced |
| 10467 |
% by ``appendix'' to get \cmd{\autoref} work. |
| 10468 |
% Macro \cmd{\Hy@chapapp} contains the current valid |
| 10469 |
% name like \cmd{\@chapapp}, which cannot be used, |
| 10470 |
% because this string depends on the current language. |
| 10471 |
% |
| 10472 |
% The ``french'' package defines counter \cmd{\thechapter} |
| 10473 |
% by \cmd{\newcounter{chapter}}, if \cmd{\@ifundefined{chapter}}. |
| 10474 |
% \begin{macrocode} |
| 10475 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 10476 |
\expandafter\ifx\csname chapter\endcsname\relax |
| 10477 |
\def\Hy@chapterstring{section}% |
| 10478 |
\else |
| 10479 |
\def\Hy@chapterstring{chapter}% |
| 10480 |
\fi |
| 10481 |
\def\Hy@appendixstring{appendix} |
| 10482 |
\def\Hy@chapapp{\Hy@chapterstring} |
| 10483 |
\@ifundefined{appendix}{% |
| 10484 |
}{% |
| 10485 |
\let\HyOrg@appendix\appendix |
| 10486 |
\def\Hy@AlphNoErr#1{% |
| 10487 |
\ifnum\value{#1}>26 % |
| 10488 |
Alph\number\value{#1}% |
| 10489 |
\else |
| 10490 |
\ifnum\value{#1}<1 % |
| 10491 |
Alph\number\value{#1}% |
| 10492 |
\else |
| 10493 |
\Alph{#1}% |
| 10494 |
\fi |
| 10495 |
\fi |
| 10496 |
}% |
| 10497 |
\def\appendix{% |
| 10498 |
\@ifundefined{chapter}{% |
| 10499 |
\gdef\theHsection{\Hy@AlphNoErr{section}}% |
| 10500 |
}{% |
| 10501 |
\gdef\theHchapter{\Hy@AlphNoErr{chapter}}% |
| 10502 |
}% |
| 10503 |
\xdef\Hy@chapapp{\Hy@appendixstring}% |
| 10504 |
\HyOrg@appendix |
| 10505 |
}% |
| 10506 |
} |
| 10507 |
% \end{macrocode} |
| 10508 |
% \begin{macro}{\Hy@Test@alph} |
| 10509 |
% \begin{macrocode} |
| 10510 |
\def\Hy@Test@alph#1{% |
| 10511 |
\ifcase#1\or |
| 10512 |
a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or |
| 10513 |
k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or |
| 10514 |
u\or v\or w\or x\or y\or z% |
| 10515 |
\else |
| 10516 |
\@ctrerr |
| 10517 |
\fi |
| 10518 |
} |
| 10519 |
% \end{macrocode} |
| 10520 |
% \end{macro} |
| 10521 |
% \begin{macro}{\Hy@Test@Alph} |
| 10522 |
% \begin{macrocode} |
| 10523 |
\def\Hy@Test@Alph#1{% |
| 10524 |
\ifcase#1\or |
| 10525 |
A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or |
| 10526 |
K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or |
| 10527 |
U\or V\or W\or X\or Y\or Z% |
| 10528 |
\else |
| 10529 |
\@ctrerr |
| 10530 |
\fi |
| 10531 |
} |
| 10532 |
% \end{macrocode} |
| 10533 |
% \end{macro} |
| 10534 |
% We define a hook to allow to overwrite the next destination name. |
| 10535 |
% \begin{macrocode} |
| 10536 |
\NewHook{__hyp/target/setname } |
| 10537 |
\define@key{Hyp}{next-anchor}{% |
| 10538 |
\AddToHookNext{__hyp/target/setname}% |
| 10539 |
{\Hy@MakeCurrentHref{#1}}% |
| 10540 |
} |
| 10541 |
% \end{macrocode} |
| 10542 |
% \begin{macro}{\hyper@makecurrent} |
| 10543 |
% Because of Babel mucking around, nullify |\textlatin| when making names. |
| 10544 |
% And |\@number| because of babel's lrbabel.def. |
| 10545 |
% change 2021-08-15: For new formats we add a hook which allows |
| 10546 |
% to overwrite the name of the next destination. |
| 10547 |
% \begin{macrocode} |
| 10548 |
\def\hyper@makecurrent#1{% |
| 10549 |
\begingroup |
| 10550 |
\Hy@safe@activestrue |
| 10551 |
\edef\Hy@param{#1}% |
| 10552 |
\ifx\Hy@param\Hy@chapterstring |
| 10553 |
\let\Hy@param\Hy@chapapp |
| 10554 |
\fi |
| 10555 |
\ifHy@hypertexnames |
| 10556 |
\let\@number\@firstofone |
| 10557 |
\def\@fnsymbol##1{fnsymbol\number##1}% |
| 10558 |
\def\@arabic##1{\number##1}% |
| 10559 |
\ifx\@alph\Hy@Test@alph |
| 10560 |
\else |
| 10561 |
\def\@alph{alph\number}% |
| 10562 |
\fi |
| 10563 |
\ifx\@Alph\Hy@Test@Alph |
| 10564 |
\else |
| 10565 |
\def\@Alph{Alph\number}% |
| 10566 |
\fi |
| 10567 |
\ifHy@naturalnames |
| 10568 |
\let\textlatin\@firstofone |
| 10569 |
\xdef\HyperGlobalCurrentHref{\csname the#1\endcsname}% |
| 10570 |
\else |
| 10571 |
\xdef\HyperGlobalCurrentHref{% |
| 10572 |
\csname |
| 10573 |
the% |
| 10574 |
\expandafter\ifx\csname theH#1\endcsname\relax\else H\fi |
| 10575 |
#1% |
| 10576 |
\endcsname |
| 10577 |
}% |
| 10578 |
\fi |
| 10579 |
\xdef\HyperGlobalCurrentHref{% |
| 10580 |
\Hy@param.\expandafter\strip@prefix\meaning\HyperGlobalCurrentHref |
| 10581 |
}% |
| 10582 |
\else |
| 10583 |
\Hy@GlobalStepCount\Hy@linkcounter |
| 10584 |
\xdef\HyperGlobalCurrentHref{\Hy@param.\the\Hy@linkcounter}% |
| 10585 |
\fi |
| 10586 |
\endgroup |
| 10587 |
\let\HyperLocalCurrentHref\HyperGlobalCurrentHref |
| 10588 |
\ifHy@localanchorname |
| 10589 |
\let\@currentHref\HyperLocalCurrentHref |
| 10590 |
\else |
| 10591 |
\global\let\@currentHref\HyperGlobalCurrentHref |
| 10592 |
\fi |
| 10593 |
\UseHook{__hyp/target/setname}% |
| 10594 |
} |
| 10595 |
% \end{macrocode} |
| 10596 |
% \end{macro} |
| 10597 |
% \begin{macro}{\Hy@MakeCurrentHref} |
| 10598 |
% \begin{macrocode} |
| 10599 |
\def\Hy@MakeCurrentHref#1{% |
| 10600 |
\edef\HyperLocalCurrentHref{#1}% |
| 10601 |
\@onelevel@sanitize\HyperLocalCurrentHref |
| 10602 |
\global\let\HyperGlobalCurrentHref\HyperLocalCurrentHref |
| 10603 |
\let\HyperLocalCurrentHref\HyperGlobalCurrentHref |
| 10604 |
\ifHy@localanchorname |
| 10605 |
\let\@currentHref\HyperLocalCurrentHref |
| 10606 |
\else |
| 10607 |
\global\let\@currentHref\HyperGlobalCurrentHref |
| 10608 |
\fi |
| 10609 |
} |
| 10610 |
% \end{macrocode} |
| 10611 |
% \end{macro} |
| 10612 |
% \begin{macro}{\Hy@MakeCurrentHrefAuto} |
| 10613 |
% This command is e.g. used to create destinations for unnumbered sections and |
| 10614 |
% chapters. For new formats we add a hook which allows |
| 10615 |
% to overwrite the name of the next destination. |
| 10616 |
% \begin{macrocode} |
| 10617 |
\def\Hy@MakeCurrentHrefAuto#1{% |
| 10618 |
\Hy@GlobalStepCount\Hy@linkcounter |
| 10619 |
\Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}% |
| 10620 |
\UseHook{__hyp/target/setname}} |
| 10621 |
% \end{macrocode} |
| 10622 |
% \end{macro} |
| 10623 |
% |
| 10624 |
% \begin{macro}{\@currentHlabel} |
| 10625 |
% \cs{@currrentHlabel} is only defined for compatibility with |
| 10626 |
% package `hypdvips'. |
| 10627 |
% \begin{macrocode} |
| 10628 |
\def\@currentHlabel{\@currentHref} |
| 10629 |
% \end{macrocode} |
| 10630 |
% \end{macro} |
| 10631 |
% |
| 10632 |
% \section{Package ifthen support} |
| 10633 |
% |
| 10634 |
% Since version 6.75a this is done in package nameref. |
| 10635 |
% |
| 10636 |
% For compatibility \cmd{\hypergetref} and |
| 10637 |
% \cmd{\hypergetpageref} are still provided. |
| 10638 |
% But they do not generate warnings, if the reference is |
| 10639 |
% undefined. |
| 10640 |
% \begin{macrocode} |
| 10641 |
\def\hypergetref#1{\getrefbykeydefault{#1}{}{??}} |
| 10642 |
\def\hypergetpageref#1{\getrefbykeydefault{#1}{page}{0}} |
| 10643 |
% \end{macrocode} |
| 10644 |
% |
| 10645 |
% \section{Package varwidth support} |
| 10646 |
% 2023-11-07: varwidth needs a special configuration point to inserts its handler. |
| 10647 |
% We use a socket for this. |
| 10648 |
% |
| 10649 |
% \begin{macrocode} |
| 10650 |
\AddToHook{package/varwidth/after} |
| 10651 |
{ |
| 10652 |
\NewSocketPlug{hyp/raisedlink}{varwidth}{\@vwid@wrap{#1}} |
| 10653 |
\appto\@vwid@setup{\AssignSocketPlug{hyp/raisedlink}{varwidth}} |
| 10654 |
} |
| 10655 |
% \end{macrocode} |
| 10656 |
% \section{Package titlesec and titletoc support} |
| 10657 |
% |
| 10658 |
% This code is contributed by Javier Bezos |
| 10659 |
% (Email: \Email{[email protected]}). |
| 10660 |
% |
| 10661 |
% Package titlesec support: |
| 10662 |
% \begin{macrocode} |
| 10663 |
\@ifpackageloaded{titlesec}{% |
| 10664 |
\def\ttl@Hy@steplink#1{% |
| 10665 |
\Hy@MakeCurrentHrefAuto{#1*}% |
| 10666 |
\edef\ttl@Hy@saveanchor{% |
| 10667 |
\noexpand\Hy@raisedlink{% |
| 10668 |
\noexpand\hyper@anchorstart{\@currentHref}% |
| 10669 |
\noexpand\hyper@anchorend |
| 10670 |
\def\noexpand\ttl@Hy@SavedCurrentHref{\@currentHref}% |
| 10671 |
\noexpand\ttl@Hy@PatchSaveWrite |
| 10672 |
}% |
| 10673 |
}% |
| 10674 |
}% |
| 10675 |
\def\ttl@Hy@PatchSaveWrite{% |
| 10676 |
\begingroup |
| 10677 |
\toks@\expandafter{\ttl@savewrite}% |
| 10678 |
\edef\x{\endgroup |
| 10679 |
\def\noexpand\ttl@savewrite{% |
| 10680 |
\let\noexpand\@currentHref |
| 10681 |
\noexpand\ttl@Hy@SavedCurrentHref |
| 10682 |
\the\toks@ |
| 10683 |
}% |
| 10684 |
}% |
| 10685 |
\x |
| 10686 |
}% |
| 10687 |
\def\ttl@Hy@refstepcounter#1{% |
| 10688 |
\let\ttl@b\Hy@raisedlink |
| 10689 |
\def\Hy@raisedlink##1{% |
| 10690 |
\def\ttl@Hy@saveanchor{\Hy@raisedlink{##1}}% |
| 10691 |
}% |
| 10692 |
\refstepcounter{#1}% |
| 10693 |
\let\Hy@raisedlink\ttl@b |
| 10694 |
}% |
| 10695 |
}{} |
| 10696 |
% \end{macrocode} |
| 10697 |
% |
| 10698 |
% \section{Package longtable support} |
| 10699 |
% |
| 10700 |
% Sometimes the anchor of the longtable goes to the previous |
| 10701 |
% page. Thus the following patch separates the anchor setting |
| 10702 |
% and counter incrementation by hyperref's \verb|\refstepcounter| |
| 10703 |
% and the anchor setting is moved after \verb|\vskip\LTpre|. |
| 10704 |
% |
| 10705 |
% Patch of \cmd{\LT@array}: |
| 10706 |
% replace \cmd{\refstepcounter} by the original |
| 10707 |
% \cmd{\H@refstepcounter} without anchor generation |
| 10708 |
% \begin{macrocode} |
| 10709 |
\@ifpackageloaded{longtable}{% |
| 10710 |
\@ifundefined{hyper@nopatch@longtable}{% |
| 10711 |
\begingroup |
| 10712 |
\def\y{\LT@array}% |
| 10713 |
\@ifundefined{scr@LT@array}{% |
| 10714 |
\@ifundefined{adl@LT@array}{}{\def\y{\adl@LT@array}}% |
| 10715 |
}{\def\y{\scr@LT@array}}% |
| 10716 |
\long\def\x\refstepcounter#1#2\@sharp#3#4\@nil{% |
| 10717 |
\expandafter\endgroup |
| 10718 |
\expandafter\def\y[##1]##2{% |
| 10719 |
\H@refstepcounter{#1}% |
| 10720 |
\hyper@makecurrent{table}% |
| 10721 |
\let\Hy@LT@currentHref\@currentHref |
| 10722 |
#2\@sharp#####4% |
| 10723 |
}% |
| 10724 |
}% |
| 10725 |
\expandafter\expandafter\expandafter\x\y[{#1}]{#2}\@nil |
| 10726 |
% \end{macrocode} |
| 10727 |
% Patch of \cmd{\LT@start}: |
| 10728 |
% add anchor before first line after \verb|\vskip\LTpre| |
| 10729 |
% \begin{macrocode} |
| 10730 |
\begingroup |
| 10731 |
\def\x#1\ifvoid\LT@foot#2\fi#3\@nil{% |
| 10732 |
\endgroup |
| 10733 |
\def\LT@start{% |
| 10734 |
#1% |
| 10735 |
\ifvoid\LT@foot#2\fi |
| 10736 |
\let\@currentHref\Hy@LT@currentHref |
| 10737 |
\Hy@raisedlink{% |
| 10738 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 10739 |
}% |
| 10740 |
#3% |
| 10741 |
}% |
| 10742 |
}% |
| 10743 |
\expandafter\x\LT@start\@nil |
| 10744 |
}{} |
| 10745 |
}{} |
| 10746 |
% \end{macrocode} |
| 10747 |
% |
| 10748 |
% \section{Equations}\label{equations} |
| 10749 |
% We want to make the whole equation a target anchor. |
| 10750 |
% Overload equation, temporarily reverting to original |
| 10751 |
% |\refstepcounter|. If, however, it is in AMS math, we do not |
| 10752 |
% do anything, as the tag mechanism is used there (see section \ref{ams}). |
| 10753 |
% change 2023-06-14: previously hyperref contained code that moved |
| 10754 |
% the equation incrementation inside the math environment to |
| 10755 |
% avoid specials outside and a wrong vertical spacing of equation environments. |
| 10756 |
% Since 2021/08/24 this code is now in amsmath directly and so has been removed here. |
| 10757 |
% |
| 10758 |
% This and more math related patches can be suppressed with |
| 10759 |
% |\hyper@nopatch@mathenv| |
| 10760 |
% \begin{macrocode} |
| 10761 |
\let\new@refstepcounter\refstepcounter |
| 10762 |
\let\H@equation\equation |
| 10763 |
\let\H@endequation\endequation |
| 10764 |
% \end{macrocode} |
| 10765 |
% |
| 10766 |
% \begin{macrocode} |
| 10767 |
\@ifundefined{hyper@nopatch@mathenv}{% |
| 10768 |
% \end{macrocode} |
| 10769 |
% If amsmath was loaded before the following does nothing. |
| 10770 |
% If amsmath is loaded later it will overwrite the definition again, |
| 10771 |
% which is what is wanted here. |
| 10772 |
% If it is not loaded the new definition of equation |
| 10773 |
% will be used. |
| 10774 |
% \begin{macrocode} |
| 10775 |
\@ifpackageloaded{amsmath}{}{% |
| 10776 |
\def\equation{% |
| 10777 |
\let\refstepcounter\H@refstepcounter |
| 10778 |
\H@equation |
| 10779 |
\hyper@makecurrent{equation}% |
| 10780 |
% \end{macrocode} |
| 10781 |
% \cs{mathopen} is needed in case the equation starts with |
| 10782 |
% an unary minus, for example. |
| 10783 |
% \begin{macrocode} |
| 10784 |
\mathopen{% |
| 10785 |
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}}% |
| 10786 |
}% |
| 10787 |
\let\refstepcounter\new@refstepcounter |
| 10788 |
}% |
| 10789 |
\def\endequation{% |
| 10790 |
\ifx\Hy@raisedlink\@empty |
| 10791 |
\hyper@anchorend |
| 10792 |
\else |
| 10793 |
\mathclose{\Hy@raisedlink{\hyper@anchorend}}% |
| 10794 |
\fi |
| 10795 |
\H@endequation |
| 10796 |
}% |
| 10797 |
} |
| 10798 |
}{} |
| 10799 |
% \end{macrocode} |
| 10800 |
% My goodness, why can't \LaTeX{} be consistent? Why is |\eqnarray| |
| 10801 |
% set up differently from other objects? |
| 10802 |
% |
| 10803 |
% People (you know who you are, Thomas Beuth) sometimes make |
| 10804 |
% an eqnarray where \emph{all} the lines end with |\notag|, |
| 10805 |
% so there is no suitable anchor at all. In this case, pass by |
| 10806 |
% on the other side. |
| 10807 |
% \begin{macrocode} |
| 10808 |
\newif\if@eqnstar |
| 10809 |
\@eqnstarfalse |
| 10810 |
\let\H@eqnarray\eqnarray |
| 10811 |
\let\H@endeqnarray\endeqnarray |
| 10812 |
\@ifundefined{hyper@nopatch@mathenv}{% |
| 10813 |
\def\eqnarray{% |
| 10814 |
\let\Hy@reserved@a\relax |
| 10815 |
\def\@currentHref{}% |
| 10816 |
\H@eqnarray |
| 10817 |
\if@eqnstar |
| 10818 |
\else |
| 10819 |
\ifx\\\@currentHref\\% |
| 10820 |
\else |
| 10821 |
\hyper@makecurrent{equation}% |
| 10822 |
\mathopen{% |
| 10823 |
\Hy@raisedlink{% |
| 10824 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 10825 |
}% |
| 10826 |
}% |
| 10827 |
\fi |
| 10828 |
\fi |
| 10829 |
} |
| 10830 |
\def\endeqnarray{% |
| 10831 |
\H@endeqnarray |
| 10832 |
} |
| 10833 |
}{} |
| 10834 |
% \end{macrocode} |
| 10835 |
% This is quite heavy-handed, but it works for now. If its an |eqnarray*| |
| 10836 |
% we need to disable the hyperref actions. There may well be a cleaner |
| 10837 |
% way to trap this. Bill Moss found this. |
| 10838 |
% \begin{macrocode} |
| 10839 |
\@namedef{eqnarray*}{% |
| 10840 |
\protected\def\@eqncr{\nonumber\@seqncr}\@eqnstartrue\eqnarray |
| 10841 |
} |
| 10842 |
\@namedef{endeqnarray*}{% |
| 10843 |
\nonumber\endeqnarray\@eqnstarfalse |
| 10844 |
} |
| 10845 |
% \end{macrocode} |
| 10846 |
% Then again, we have the \emph{subeqnarray} |
| 10847 |
% package. Tanmoy provided some code for this: |
| 10848 |
% \begin{macrocode} |
| 10849 |
\@ifundefined{subeqnarray}{}{% |
| 10850 |
\let\H@subeqnarray\subeqnarray |
| 10851 |
\let\H@endsubeqnarray\endsubeqnarray |
| 10852 |
\def\subeqnarray{% |
| 10853 |
\let\Hy@reserved@a\relax |
| 10854 |
\H@subeqnarray |
| 10855 |
\hyper@makecurrent{equation}% |
| 10856 |
\hyper@anchorstart{\@currentHref}{}\hyper@anchorend |
| 10857 |
}% |
| 10858 |
\def\endsubeqnarray{% |
| 10859 |
\H@endsubeqnarray |
| 10860 |
}% |
| 10861 |
\providecommand\theHsubequation{\theHequation\alph{subequation}}% |
| 10862 |
} |
| 10863 |
% \end{macrocode} |
| 10864 |
% The aim of this macro is to produce a sanitized version of |
| 10865 |
% its argument, to make it a safe label. |
| 10866 |
% \begin{macrocode} |
| 10867 |
\def\make@stripped@name#1{% |
| 10868 |
\begingroup |
| 10869 |
\escapechar\m@ne |
| 10870 |
\global\let\newname\@empty |
| 10871 |
\protected@edef\Hy@tempa{#1}% |
| 10872 |
\edef\@tempb{% |
| 10873 |
\noexpand\@tfor\noexpand\Hy@tempa:=% |
| 10874 |
\expandafter\strip@prefix\meaning\Hy@tempa |
| 10875 |
}% |
| 10876 |
\@tempb\do{% |
| 10877 |
\if{\Hy@tempa\else |
| 10878 |
\if}\Hy@tempa\else |
| 10879 |
\xdef\newname{\newname\Hy@tempa}% |
| 10880 |
\fi |
| 10881 |
\fi |
| 10882 |
}% |
| 10883 |
\endgroup |
| 10884 |
} |
| 10885 |
% \end{macrocode} |
| 10886 |
% |
| 10887 |
% Support for amsmath's \texttt{subequations}: |
| 10888 |
% change 2023-06-14: we use hooks to no longer depend on |
| 10889 |
% amsmath being loaded before hyperref. |
| 10890 |
% Once amsmath sets the theH-representation itself this |
| 10891 |
% can go completely. |
| 10892 |
% \begin{macrocode} |
| 10893 |
\AddToHook{cmd/subequations/before} |
| 10894 |
{% |
| 10895 |
\stepcounter{equation}% |
| 10896 |
\protected@edef\theHparentequation{\theHequation}% |
| 10897 |
\addtocounter{equation}{-1}% |
| 10898 |
} |
| 10899 |
|
| 10900 |
\AddToHook{cmd/subequations/after} |
| 10901 |
{% |
| 10902 |
\def\theHequation{\theHparentequation\alph{equation}}% |
| 10903 |
\ignorespaces |
| 10904 |
} |
| 10905 |
% \end{macrocode} |
| 10906 |
% |
| 10907 |
% \section{Support for theorems} |
| 10908 |
% |
| 10909 |
% Hyperlink support in theorems has to resolve typically three problems: |
| 10910 |
% \begin{itemize} |
| 10911 |
% \item The \cs{refstepcounter} can be issued to early. The target it produces |
| 10912 |
% can be separated from the theorem and then the link if wrong (see testfiles thm-005-xx). |
| 10913 |
% It can also affect spacing. |
| 10914 |
% This means that it is better if this \cs{refstepcounter} doesn't produce a target. |
| 10915 |
% |
| 10916 |
% \item The natural place for the target (before the theorem label) is normally not printed |
| 10917 |
% directly but delayed to the next paragraph begin (through the \cs{item} code or by other means). |
| 10918 |
% and \cs{label} commands used directly at the begin of the environment are perhaps |
| 10919 |
% processed \emph{before} the target is created |
| 10920 |
% and so do not know the correct \cs{@currentHref} value. That means that if |
| 10921 |
% \cs{refstepcounter} does not produce a target, it should nevertheless update the target |
| 10922 |
% name. |
| 10923 |
% |
| 10924 |
% \item The target should be placed (in horizontal mode) before the theorem label to avoid |
| 10925 |
% side effects on spacing. For this a suitable place must be |
| 10926 |
% found depending on the actual theorem definition. |
| 10927 |
% \end{itemize} |
| 10928 |
% |
| 10929 |
% Theorems typically issue the \cs{refstepcounter} in \cs{@thm}. |
| 10930 |
% The first two points can therefore be resolved by patching this command |
| 10931 |
% and replacing the \cs{refstepcounter}. |
| 10932 |
% |
| 10933 |
% The last point is the most complicated. Simply moving at the point \cs{refstepcounter} |
| 10934 |
% is encountered into the next para hook doesn't work, as this can be in a header if there is page |
| 10935 |
% break. The next item hook doesn't work for the same reason, |
| 10936 |
% also not every theorem environment actually use \cs{item} (e.g. \texttt{amsthm} and ams-classes). |
| 10937 |
% Patching (or using a hook) \cs{@begintheorem} doesn't work either as \texttt{ntheorem} |
| 10938 |
% redefines this on the fly. |
| 10939 |
% |
| 10940 |
% For now we move the target creation into the item hook. This is not perfect, |
| 10941 |
% as it can end up in header or be to much to the right, but there is not really |
| 10942 |
% a better place. |
| 10943 |
% |
| 10944 |
% The patch will not apply to |
| 10945 |
% \texttt{cleveref}, this means that with cleveref there |
| 10946 |
% can be a page break between target and theorem but beside this |
| 10947 |
% it hopefully it does the right thing. |
| 10948 |
% \cs{@currentHref} is updated directly for labels set before |
| 10949 |
% the actual start of the paragraph. The target can be behind |
| 10950 |
% a target created from a following list, so we restore \cs{@currentHref} |
| 10951 |
% just in case. |
| 10952 |
% Later we could use sockets here (or hope that the packages take this over. |
| 10953 |
% |
| 10954 |
% \begin{macrocode} |
| 10955 |
\newcommand\Hy@theorem@refstepcounter[1] |
| 10956 |
{% |
| 10957 |
\H@refstepcounter{#1}% |
| 10958 |
\hyper@makecurrent{#1}% |
| 10959 |
\global\let\Hy@dth@currentHref\@currentHref |
| 10960 |
\Hy@theorem@makelinktarget{\Hy@dth@currentHref}% |
| 10961 |
} |
| 10962 |
\newcommand\Hy@theorem@makelinktarget[1] |
| 10963 |
{ |
| 10964 |
\AddToHookNext{cmd/item/before} |
| 10965 |
{\AddToHookNext{para/begin} |
| 10966 |
{\let\Hy@tempa\@currentHref |
| 10967 |
\MakeLinkTarget*{#1}% \Hy@dth@currentHref |
| 10968 |
\global\let\@currentHref\Hy@tempa |
| 10969 |
}% |
| 10970 |
}% |
| 10971 |
} |
| 10972 |
% \end{macrocode} |
| 10973 |
% amsthm doesn't issue an item in the theorem, we delay the target into |
| 10974 |
% \cs{deferred@thm@head} and hope that it always begins a paragraph. |
| 10975 |
% \begin{macrocode} |
| 10976 |
\AddToHook{begindocument} |
| 10977 |
{% |
| 10978 |
\@ifundefined{deferred@thm@head}{} |
| 10979 |
{% |
| 10980 |
\let\Hy@deferred@thm@head\deferred@thm@head |
| 10981 |
\def\deferred@thm@head#1{\Hy@deferred@thm@head{#1}}% |
| 10982 |
\renewcommand\Hy@theorem@makelinktarget[1] |
| 10983 |
{% |
| 10984 |
\AddToHookNext{cmd/deferred@thm@head/before} |
| 10985 |
{\AddToHookNext{para/begin} |
| 10986 |
{\let\Hy@tempa\@currentHref |
| 10987 |
\MakeLinkTarget*{#1}% |
| 10988 |
\global\let\@currentHref\Hy@tempa |
| 10989 |
}% |
| 10990 |
}% |
| 10991 |
}% |
| 10992 |
}% |
| 10993 |
} |
| 10994 |
\@ifundefined{hyper@nopatch@thm}{% |
| 10995 |
\AtBeginDocument{% |
| 10996 |
\@ifpackageloaded{cleveref} |
| 10997 |
{\AddToHook{cmd/@thm/before}{\ifhmode\unskip\fi}} |
| 10998 |
{% |
| 10999 |
\ifpatchable\@thm{\refstepcounter} |
| 11000 |
{\patchcmd\@thm{\refstepcounter}{\Hy@theorem@refstepcounter}{}{}} |
| 11001 |
{}% |
| 11002 |
}}}{} |
| 11003 |
% \end{macrocode} |
| 11004 |
% |
| 11005 |
% \section{Footnotes}\label{footnotes} |
| 11006 |
% The footnote mark is a hypertext link, and the text is a target. |
| 11007 |
% We separately number the footnotes sequentially through the |
| 11008 |
% text, separately from whatever labels the text assigns. Too hard |
| 11009 |
% to keep track of markers otherwise. If the raw forms |\footnotemark| |
| 11010 |
% and |\footnotetext| are used, force them to use un-hyper original. |
| 11011 |
% If |\hyper@nopatch@footnote| is defined we don't patch but assume |
| 11012 |
% that addings links to footnotes is handled elsewhere. |
| 11013 |
% \begin{macrocode} |
| 11014 |
\@ifundefined{hyper@nopatch@footnote}{% |
| 11015 |
\ifHy@hyperfootnotes |
| 11016 |
\@ifundefined{theHfootnote} |
| 11017 |
{\newcounter{Hfootnote}} |
| 11018 |
{\let\H@@theHfootnote\theHfootnote |
| 11019 |
\let\theHfootnote\undefined |
| 11020 |
\newcounter{Hfootnote} |
| 11021 |
\let\theHfootnote\H@@theHfootnote |
| 11022 |
}% |
| 11023 |
% \end{macrocode} |
| 11024 |
% where is this used? |
| 11025 |
% \begin{macrocode} |
| 11026 |
\@ifundefined{theHHmpfootnote}{% |
| 11027 |
\let\theHHmpfootnote\theHHfootnote |
| 11028 |
}{} |
| 11029 |
\let\H@@footnotetext\@footnotetext |
| 11030 |
\let\H@@footnotemark\@footnotemark |
| 11031 |
\def\@xfootnotenext[#1]{% |
| 11032 |
\begingroup |
| 11033 |
\csname c@\@mpfn\endcsname #1\relax |
| 11034 |
\unrestored@protected@xdef\@thefnmark{\thempfn}% |
| 11035 |
\endgroup |
| 11036 |
\ifx\@footnotetext\@mpfootnotetext |
| 11037 |
\expandafter\H@@mpfootnotetext |
| 11038 |
\else |
| 11039 |
\expandafter\H@@footnotetext |
| 11040 |
\fi |
| 11041 |
}% |
| 11042 |
\def\@xfootnotemark[#1]{% |
| 11043 |
\begingroup |
| 11044 |
\c@footnote #1\relax |
| 11045 |
\unrestored@protected@xdef\@thefnmark{\thefootnote}% |
| 11046 |
\endgroup |
| 11047 |
\H@@footnotemark |
| 11048 |
}% |
| 11049 |
\let\H@@mpfootnotetext\@mpfootnotetext |
| 11050 |
\long\def\@mpfootnotetext#1{% |
| 11051 |
\H@@mpfootnotetext{% |
| 11052 |
\ifHy@nesting |
| 11053 |
\expandafter\@firstoftwo |
| 11054 |
\else |
| 11055 |
\expandafter\@secondoftwo |
| 11056 |
\fi |
| 11057 |
{% |
| 11058 |
\expandafter\hyper@@anchor\expandafter{% |
| 11059 |
\Hy@footnote@currentHref |
| 11060 |
}{\ignorespaces #1}% |
| 11061 |
}{% |
| 11062 |
\Hy@raisedlink{% |
| 11063 |
\expandafter\hyper@@anchor\expandafter{% |
| 11064 |
\Hy@footnote@currentHref |
| 11065 |
}{\relax}% |
| 11066 |
}% |
| 11067 |
% \end{macrocode} |
| 11068 |
% Change 2025-09-29: set \cs{@currentHref} and \cs{@currentlabelname} for issue 402. |
| 11069 |
% \begin{macrocode} |
| 11070 |
\let\@currentHref\Hy@footnote@currentHref |
| 11071 |
\let\@currentlabelname\@empty |
| 11072 |
\ignorespaces #1% |
| 11073 |
}% |
| 11074 |
}% |
| 11075 |
}% |
| 11076 |
\long\def\@footnotetext#1{% |
| 11077 |
\H@@footnotetext{% |
| 11078 |
\ifHy@nesting |
| 11079 |
\expandafter\@firstoftwo |
| 11080 |
\else |
| 11081 |
\expandafter\@secondoftwo |
| 11082 |
\fi |
| 11083 |
{% |
| 11084 |
\expandafter\hyper@@anchor\expandafter{% |
| 11085 |
\Hy@footnote@currentHref |
| 11086 |
}{\ignorespaces #1}% |
| 11087 |
}{% |
| 11088 |
\Hy@raisedlink{% |
| 11089 |
\expandafter\hyper@@anchor\expandafter{% |
| 11090 |
\Hy@footnote@currentHref |
| 11091 |
}{\relax}% |
| 11092 |
}% |
| 11093 |
\let\@currentHref\Hy@footnote@currentHref |
| 11094 |
\let\@currentlabelname\@empty |
| 11095 |
\ignorespaces #1% |
| 11096 |
}% |
| 11097 |
}% |
| 11098 |
}% |
| 11099 |
% \end{macrocode} |
| 11100 |
% Redefine \verb+\@footnotemark+, borrowing its code (at the |
| 11101 |
% cost of getting out of sync with latex.ltx), to take |
| 11102 |
% advantage of its white space and hyphenation fudges. If we just |
| 11103 |
% overload it, we can get variant documents (the word before the |
| 11104 |
% footnote is treated differently). Thanks to David Carlisle and |
| 11105 |
% Brian Ripley for confusing and helping me on this. |
| 11106 |
% \begin{macrocode} |
| 11107 |
\def\@footnotemark{% |
| 11108 |
\leavevmode |
| 11109 |
\ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi |
| 11110 |
\stepcounter{Hfootnote}% |
| 11111 |
\global\let\Hy@saved@currentHref\@currentHref |
| 11112 |
\hyper@makecurrent{Hfootnote}% |
| 11113 |
\global\let\Hy@footnote@currentHref\@currentHref |
| 11114 |
\global\let\@currentHref\Hy@saved@currentHref |
| 11115 |
\hyper@linkstart{link}{\Hy@footnote@currentHref}% |
| 11116 |
\@makefnmark |
| 11117 |
\hyper@linkend |
| 11118 |
\ifhmode\spacefactor\@x@sf\fi |
| 11119 |
\relax |
| 11120 |
}% |
| 11121 |
% \end{macrocode} |
| 11122 |
% |
| 11123 |
% Tabularx causes footnote problems, disable the linking if that is loaded. |
| 11124 |
% Since v6.82i footnotes are only disabled inside the environment |
| 11125 |
% `tabularx'. |
| 11126 |
% \begin{macrocode} |
| 11127 |
\@ifpackageloaded{tabularx}{% |
| 11128 |
\let\HyOrg@TX@endtabularx\TX@endtabularx |
| 11129 |
\def\Hy@tabularx@hook{% |
| 11130 |
\let\@footnotetext\H@@footnotetext |
| 11131 |
\let\@footnotemark\H@@footnotemark |
| 11132 |
\let\@mpfootnotetext\H@@mpfootnotetext |
| 11133 |
}% |
| 11134 |
\begingroup |
| 11135 |
\toks@\expandafter{\TX@endtabularx}% |
| 11136 |
\xdef\Hy@gtemp{% |
| 11137 |
\noexpand\Hy@tabularx@hook |
| 11138 |
\the\toks@ |
| 11139 |
}% |
| 11140 |
\endgroup |
| 11141 |
\let\TX@endtabularx\Hy@gtemp |
| 11142 |
}{}% |
| 11143 |
% \end{macrocode} |
| 11144 |
% |
| 11145 |
% Support for footnotes in p columns of longtable. |
| 11146 |
% Here \verb+\footnote+ commands are split into |
| 11147 |
% \verb+\footnotemark+ and a call of \verb+\footnotetext+ |
| 11148 |
% with the optional argument, that is not supported |
| 11149 |
% by hyperref. The result is a link by \verb+\footnotemark+ |
| 11150 |
% without valid anchor |
| 11151 |
% \begin{macrocode} |
| 11152 |
\@ifpackageloaded{longtable}{% |
| 11153 |
\CheckCommand{\LT@p@ftntext}[1]{% |
| 11154 |
\edef\@tempa{% |
| 11155 |
\the\LT@p@ftn |
| 11156 |
\noexpand\footnotetext[\the\c@footnote]% |
| 11157 |
}% |
| 11158 |
\global\LT@p@ftn\expandafter{\@tempa{#1}}% |
| 11159 |
}% |
| 11160 |
\long\def\LT@p@ftntext#1{% |
| 11161 |
\edef\@tempa{% |
| 11162 |
\the\LT@p@ftn |
| 11163 |
\begingroup |
| 11164 |
\noexpand\c@footnote=\the\c@footnote\relax |
| 11165 |
\noexpand\protected@xdef\noexpand\@thefnmark{% |
| 11166 |
\noexpand\thempfn |
| 11167 |
}% |
| 11168 |
\noexpand\Hy@LT@footnotetext{% |
| 11169 |
\Hy@footnote@currentHref |
| 11170 |
}% |
| 11171 |
}% |
| 11172 |
\global\LT@p@ftn\expandafter{% |
| 11173 |
\@tempa{#1}% |
| 11174 |
\endgroup |
| 11175 |
}% |
| 11176 |
}% |
| 11177 |
\long\def\Hy@LT@footnotetext#1#2{% |
| 11178 |
\H@@footnotetext{% |
| 11179 |
\ifHy@nesting |
| 11180 |
\hyper@@anchor{#1}{#2}% |
| 11181 |
\else |
| 11182 |
\Hy@raisedlink{% |
| 11183 |
\hyper@@anchor{#1}{\relax}% |
| 11184 |
}% |
| 11185 |
\def\@currentHref{#1}% |
| 11186 |
\let\@currentlabelname\@empty |
| 11187 |
#2% |
| 11188 |
\fi |
| 11189 |
}% |
| 11190 |
}% |
| 11191 |
}{}% |
| 11192 |
% \end{macrocode} |
| 11193 |
% |
| 11194 |
% Footnotes for fancyvrb (Fix by Manuel P\'egouri\'e-Gonnard). |
| 11195 |
% \begin{macrocode} |
| 11196 |
\@ifpackageloaded{fancyvrb}{% |
| 11197 |
\def\V@@footnotetext{% |
| 11198 |
\insert\footins\bgroup |
| 11199 |
\csname reset@font\endcsname |
| 11200 |
\footnotesize |
| 11201 |
\interlinepenalty\interfootnotelinepenalty |
| 11202 |
\splittopskip\footnotesep |
| 11203 |
\splitmaxdepth\dp\strutbox |
| 11204 |
\floatingpenalty \@MM |
| 11205 |
\hsize\columnwidth |
| 11206 |
\@parboxrestore |
| 11207 |
\def\@currentcounter{footnote}% |
| 11208 |
\protected@edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}% |
| 11209 |
\@makefntext{}% |
| 11210 |
\rule{\z@}{\footnotesep}% |
| 11211 |
\bgroup |
| 11212 |
\aftergroup\V@@@footnotetext |
| 11213 |
\Hy@raisedlink{% |
| 11214 |
\expandafter\hyper@@anchor\expandafter{% |
| 11215 |
\Hy@footnote@currentHref |
| 11216 |
}{\relax}% |
| 11217 |
}% |
| 11218 |
\let\@currentHref\Hy@footnote@currentHref |
| 11219 |
\let\@currentlabelname\@empty |
| 11220 |
\ignorespaces |
| 11221 |
}% |
| 11222 |
}{}% |
| 11223 |
% \end{macrocode} |
| 11224 |
% |
| 11225 |
% KOMA-Script or newer LaTeX defines \cs{footref} that uses both |
| 11226 |
% \cs{ref} and \cs{@footnotemark} resulting in two links, |
| 11227 |
% one of them wrong. |
| 11228 |
% \begin{macrocode} |
| 11229 |
\def\Hy@temp#1{% |
| 11230 |
\begingroup |
| 11231 |
\unrestored@protected@xdef\@thefnmark{\ref{#1}}% |
| 11232 |
\endgroup |
| 11233 |
\@footnotemark |
| 11234 |
}% |
| 11235 |
\ifx\Hy@temp\footref |
| 11236 |
\def\footref#1{% |
| 11237 |
\begingroup |
| 11238 |
\unrestored@protected@xdef\@thefnmark{\ref{#1}}% |
| 11239 |
\endgroup |
| 11240 |
\H@@footnotemark |
| 11241 |
}% |
| 11242 |
\fi |
| 11243 |
% \end{macrocode} |
| 11244 |
% |
| 11245 |
% But the special footnotes |
| 11246 |
% in |\maketitle| are much too hard to deal with |
| 11247 |
% properly. Let them revert to plain behaviour. |
| 11248 |
% The koma classes add an optional argument. |
| 11249 |
% \begin{macrocode} |
| 11250 |
\let\HyOrg@maketitle\maketitle |
| 11251 |
\def\maketitle{% |
| 11252 |
\let\Hy@saved@footnotemark\@footnotemark |
| 11253 |
\let\Hy@saved@footnotetext\@footnotetext |
| 11254 |
\let\@footnotemark\H@@footnotemark |
| 11255 |
\let\@footnotetext\H@@footnotetext |
| 11256 |
\@ifnextchar[\Hy@maketitle@optarg{% ] |
| 11257 |
\HyOrg@maketitle |
| 11258 |
\Hy@maketitle@end |
| 11259 |
}% |
| 11260 |
}% |
| 11261 |
\def\Hy@maketitle@optarg[#1]{% |
| 11262 |
\HyOrg@maketitle[{#1}]% |
| 11263 |
\Hy@maketitle@end |
| 11264 |
}% |
| 11265 |
\def\Hy@maketitle@end{% |
| 11266 |
\ifx\@footnotemark\H@@footnotemark |
| 11267 |
\let\@footnotemark\Hy@saved@footnotemark |
| 11268 |
\fi |
| 11269 |
\ifx\@footnotetext\H@@footnotetext |
| 11270 |
\let\@footnotetext\Hy@saved@footnotetext |
| 11271 |
\fi |
| 11272 |
}% |
| 11273 |
% \end{macrocode} |
| 11274 |
% \begin{macro}{\realfootnote} |
| 11275 |
% Does anyone remember the function and purpose of \cmd{\realfootnote}? |
| 11276 |
% \begin{macrocode} |
| 11277 |
\def\realfootnote{% |
| 11278 |
\@ifnextchar[\@xfootnote%] |
| 11279 |
{\stepcounter{\@mpfn}% |
| 11280 |
\protected@xdef\@thefnmark{\thempfn}% |
| 11281 |
\H@@footnotemark\H@@footnotetext |
| 11282 |
}% |
| 11283 |
}% |
| 11284 |
% \end{macrocode} |
| 11285 |
% \begin{macrocode} |
| 11286 |
\fi |
| 11287 |
}{} |
| 11288 |
\Hy@DisableOption{hyperfootnotes} |
| 11289 |
% \end{macrocode} |
| 11290 |
% \end{macro} |
| 11291 |
% |
| 11292 |
% \begin{macrocode} |
| 11293 |
%</packageEnd> |
| 11294 |
%<*check> |
| 11295 |
\checklatex |
| 11296 |
\checkcommand\def\@xfootnotenext[#1]{% |
| 11297 |
\begingroup |
| 11298 |
\csname c@\@mpfn\endcsname #1\relax |
| 11299 |
\unrestored@protected@xdef\@thefnmark{\thempfn}% |
| 11300 |
\endgroup |
| 11301 |
\@footnotetext |
| 11302 |
} |
| 11303 |
\checkcommand\def\@xfootnotemark[#1]{% |
| 11304 |
\begingroup |
| 11305 |
\c@footnote #1\relax |
| 11306 |
\unrestored@protected@xdef\@thefnmark{\thefootnote}% |
| 11307 |
\endgroup |
| 11308 |
\@footnotemark |
| 11309 |
} |
| 11310 |
\checkcommand\def\@footnotemark{% |
| 11311 |
\leavevmode |
| 11312 |
\ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi |
| 11313 |
\@makefnmark |
| 11314 |
\ifhmode\spacefactor\@x@sf\fi |
| 11315 |
\relax |
| 11316 |
} |
| 11317 |
%</check> |
| 11318 |
%<*packageEnd> |
| 11319 |
% \end{macrocode} |
| 11320 |
% |
| 11321 |
% \section{Float captions}\label{captions} |
| 11322 |
% Make the float caption the hypertext anchor; curiously enough, |
| 11323 |
% we can't just copy the definition of |\@caption|. Its all to do |
| 11324 |
% with expansion. It screws up. Sigh. |
| 11325 |
% \begin{macrocode} |
| 11326 |
\@ifundefined{hyper@nopatch@caption}{% |
| 11327 |
\def\caption{% |
| 11328 |
\ifx\@captype\@undefined |
| 11329 |
\@latex@error{\noexpand\caption outside float}\@ehd |
| 11330 |
\expandafter\@gobble |
| 11331 |
\else |
| 11332 |
\H@refstepcounter\@captype |
| 11333 |
\let\Hy@tempa\@caption |
| 11334 |
\@ifundefined{float@caption}{% |
| 11335 |
}{% |
| 11336 |
\expandafter\ifx\csname @float@c@\@captype\endcsname |
| 11337 |
\float@caption |
| 11338 |
\let\Hy@tempa\Hy@float@caption |
| 11339 |
\fi |
| 11340 |
}% |
| 11341 |
\expandafter\@firstofone |
| 11342 |
\fi |
| 11343 |
{\@dblarg{\Hy@tempa\@captype}}% |
| 11344 |
} |
| 11345 |
\long\def\@caption#1[#2]#3{% |
| 11346 |
\expandafter\ifx\csname if@capstart\expandafter\endcsname |
| 11347 |
\csname iftrue\endcsname |
| 11348 |
\global\let\@currentHref\hc@currentHref |
| 11349 |
\else |
| 11350 |
\hyper@makecurrent{\@captype}% |
| 11351 |
\fi |
| 11352 |
\@ifundefined{NR@gettitle}{% |
| 11353 |
\def\@currentlabelname{#2}% |
| 11354 |
}{% |
| 11355 |
\NR@gettitle{#2}% |
| 11356 |
}% |
| 11357 |
\par\addcontentsline{\csname ext@#1\endcsname}{#1}{% |
| 11358 |
\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}% |
| 11359 |
}% |
| 11360 |
\begingroup |
| 11361 |
\@parboxrestore |
| 11362 |
\if@minipage |
| 11363 |
\@setminipage |
| 11364 |
\fi |
| 11365 |
\normalsize |
| 11366 |
\expandafter\ifx\csname if@capstart\expandafter\endcsname |
| 11367 |
\csname iftrue\endcsname |
| 11368 |
\global\@capstartfalse |
| 11369 |
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces#3}% |
| 11370 |
\else |
| 11371 |
\@makecaption{\csname fnum@#1\endcsname}{% |
| 11372 |
\ignorespaces |
| 11373 |
% \end{macrocode} |
| 11374 |
% If we cannot have nesting, the anchor is empty. |
| 11375 |
% \begin{macrocode} |
| 11376 |
\ifHy@nesting |
| 11377 |
\expandafter\hyper@@anchor\expandafter{\@currentHref}{#3}% |
| 11378 |
\else |
| 11379 |
\Hy@raisedlink{% |
| 11380 |
\expandafter\hyper@@anchor\expandafter{% |
| 11381 |
\@currentHref |
| 11382 |
}{\relax}% |
| 11383 |
}% |
| 11384 |
#3% |
| 11385 |
\fi |
| 11386 |
% \end{macrocode} |
| 11387 |
% as the anchor are set manually here, we have to update the tagging info. |
| 11388 |
% \begin{macrocode} |
| 11389 |
\UseTaggingSocket{recordtarget}% |
| 11390 |
}% |
| 11391 |
\fi |
| 11392 |
\par |
| 11393 |
\endgroup |
| 11394 |
}}{}%end no patch |
| 11395 |
% \end{macrocode} |
| 11396 |
% Compatibility with float.sty: anchor setting at the top |
| 11397 |
% of the float, if the float is controlled by float.sty. |
| 11398 |
% Several \verb|\caption| commands inside one float are |
| 11399 |
% not supported. |
| 11400 |
% |
| 11401 |
% \cs{HyNew@float@makebox} is introduced as feature request |
| 11402 |
% of Axel Sommerfeldt to make the life easier for his |
| 11403 |
% package `caption'. |
| 11404 |
% \begin{macrocode} |
| 11405 |
\let\Hy@float@caption\@caption |
| 11406 |
\newcommand{\HyNew@float@makebox}[1]{% |
| 11407 |
\HyOrg@float@makebox{% |
| 11408 |
#1\relax |
| 11409 |
\ifx\Hy@float@currentHref\@undefined |
| 11410 |
\else |
| 11411 |
\expandafter\hyper@@anchor\expandafter{% |
| 11412 |
\Hy@float@currentHref |
| 11413 |
}{\relax}% |
| 11414 |
\global\let\Hy@float@currentHref\@undefined |
| 11415 |
\fi |
| 11416 |
}% |
| 11417 |
}% |
| 11418 |
\@ifpackageloaded{float}{% |
| 11419 |
\def\Hy@float@caption{% |
| 11420 |
\ifx\Hy@float@currentHref\@undefined |
| 11421 |
\hyper@makecurrent{\@captype}% |
| 11422 |
\global\let\Hy@float@currentHref\@currentHref |
| 11423 |
\else |
| 11424 |
\let\@currentHref\Hy@float@currentHref |
| 11425 |
\fi |
| 11426 |
\float@caption |
| 11427 |
}% |
| 11428 |
\let\HyOrg@float@makebox\float@makebox |
| 11429 |
\let\float@makebox\HyNew@float@makebox |
| 11430 |
}{} |
| 11431 |
% \end{macrocode} |
| 11432 |
% |
| 11433 |
% \begin{macrocode} |
| 11434 |
%</packageEnd> |
| 11435 |
%<*check> |
| 11436 |
\checklatex[1999/06/01 - 2000/06/01] |
| 11437 |
\checkcommand\def\caption{% |
| 11438 |
\ifx\@captype\@undefined |
| 11439 |
\@latex@error{\noexpand\caption outside float}\@ehd |
| 11440 |
\expandafter\@gobble |
| 11441 |
\else |
| 11442 |
\refstepcounter\@captype |
| 11443 |
\expandafter\@firstofone |
| 11444 |
\fi |
| 11445 |
{\@dblarg{\@caption\@captype}}% |
| 11446 |
} |
| 11447 |
\checkcommand\long\def\@caption#1[#2]#3{% |
| 11448 |
\par |
| 11449 |
\addcontentsline{\csname ext@#1\endcsname}{#1}{% |
| 11450 |
\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}% |
| 11451 |
}% |
| 11452 |
\begingroup |
| 11453 |
\@parboxrestore |
| 11454 |
\if@minipage |
| 11455 |
\@setminipage |
| 11456 |
\fi |
| 11457 |
\normalsize |
| 11458 |
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par |
| 11459 |
\endgroup |
| 11460 |
} |
| 11461 |
%</check> |
| 11462 |
%<*packageEnd> |
| 11463 |
% \end{macrocode} |
| 11464 |
% |
| 11465 |
% \section{Bibliographic references}\label{bib} |
| 11466 |
% This is not very robust, since many styles redefine these things. |
| 11467 |
% The package used to redefine |\@citex| and the like; then we tried |
| 11468 |
% adding the hyperref call explicitly into the .aux file. |
| 11469 |
% Now we redefine |\bibcite|; this still breaks some citation packages |
| 11470 |
% so we have to work around them. But this remains extremely dangerous. |
| 11471 |
% Any or all of \emph{achemso} |
| 11472 |
% and \emph{drftcite} may break. |
| 11473 |
% |
| 11474 |
% However, lets make an attempt to get \emph{natbib} right, because |
| 11475 |
% that's a powerful, important package. |
| 11476 |
% Patrick Daly (\Email{[email protected]}) has |
| 11477 |
% provided hooks for us, so all we need to do is activate them. |
| 11478 |
% |
| 11479 |
% Change 2026-02-06: use a generic hook to allow the tagging code to |
| 11480 |
% add its code without patching hyperref. |
| 11481 |
% \begin{macrocode} |
| 11482 |
\AddToHookWithArguments{cmd/hyper@natlinkstart/before} |
| 11483 |
{% |
| 11484 |
\Hy@backout{#1}% |
| 11485 |
% \end{macrocode} |
| 11486 |
% natbib passes the \cs{@extra@b@citeb} in the argument, and biblatex |
| 11487 |
% the refsection, so we only need to add the prefix \texttt{cite.}. |
| 11488 |
% \begin{macrocode} |
| 11489 |
\hyper@linkstart{cite}{cite.#1}% |
| 11490 |
\def\hyper@nat@current{#1}% |
| 11491 |
} |
| 11492 |
% \end{macrocode} |
| 11493 |
% |
| 11494 |
% \begin{macrocode} |
| 11495 |
\AddToHook{cmd/hyper@natlinkend/after} |
| 11496 |
{\hyper@linkend} |
| 11497 |
% \end{macrocode} |
| 11498 |
% |
| 11499 |
% \begin{macrocode} |
| 11500 |
\def\hyper@natlinkbreak#1#2{% |
| 11501 |
\hyper@linkend#1\hyper@linkstart{cite}{cite.#2}% |
| 11502 |
} |
| 11503 |
\def\hyper@natanchorstart#1{% |
| 11504 |
\Hy@raisedlink{\hyper@anchorstart{cite.#1}}% |
| 11505 |
} |
| 11506 |
\def\hyper@natanchorend{\hyper@anchorend} |
| 11507 |
% \end{macrocode} |
| 11508 |
% Do not play games if we have natbib support. |
| 11509 |
% Macro \@extra@binfo added for chapterbib support. Chapterbib also |
| 11510 |
% wants \cs{@extra@binfo} in the hyper-link, but since the link tag is |
| 11511 |
% not expanded immediately, we use \cs{@extra@b@citeb}, so cites in a |
| 11512 |
% chapter will link to the bibliography in that chapter. |
| 11513 |
% \begin{macrocode} |
| 11514 |
\@ifundefined{hyper@nopatch@bib} |
| 11515 |
{% |
| 11516 |
\@ifundefined{NAT@parse}{% |
| 11517 |
\providecommand*\@extra@binfo{}% |
| 11518 |
\providecommand*\@extra@b@citeb{}% |
| 11519 |
\def\bibcite#1#2{% |
| 11520 |
\@newl@bel{b}{#1\@extra@binfo}{% |
| 11521 |
\hyper@@link[cite]{}{cite.#1\@extra@b@citeb}{#2}% |
| 11522 |
}% |
| 11523 |
}% |
| 11524 |
\gdef\@extra@binfo{}% |
| 11525 |
% \end{macrocode} |
| 11526 |
% Package |babel| redefines \cmd{\bibcite} with |
| 11527 |
% macro \cmd{\bbl@cite@choice}. It needs to be overwritten |
| 11528 |
% to avoid the warning ``Label(s) may have changed.''. |
| 11529 |
% \begin{macrocode} |
| 11530 |
\let\Hy@bibcite\bibcite |
| 11531 |
\begingroup |
| 11532 |
\@ifundefined{bbl@cite@choice}{}{% |
| 11533 |
\g@addto@macro\bbl@cite@choice{% |
| 11534 |
\let\bibcite\Hy@bibcite |
| 11535 |
}% |
| 11536 |
}% |
| 11537 |
\endgroup |
| 11538 |
% \end{macrocode} |
| 11539 |
% |\@BIBLABEL| is working around a `feature' of Rev\TeX. |
| 11540 |
% \begin{macrocode} |
| 11541 |
\providecommand*{\@BIBLABEL}{\@biblabel}% |
| 11542 |
\def\@lbibitem[#1]#2{% |
| 11543 |
\@skiphyperreftrue |
| 11544 |
\H@item[% |
| 11545 |
\ifx\Hy@raisedlink\@empty |
| 11546 |
\hyper@anchorstart{cite.#2\@extra@b@citeb}% |
| 11547 |
\@BIBLABEL{#1}% |
| 11548 |
\hyper@anchorend |
| 11549 |
\else |
| 11550 |
\Hy@raisedlink{% |
| 11551 |
\hyper@anchorstart{cite.#2\@extra@b@citeb}\hyper@anchorend |
| 11552 |
}% |
| 11553 |
\@BIBLABEL{#1}% |
| 11554 |
\fi |
| 11555 |
\hfill |
| 11556 |
]% |
| 11557 |
\@skiphyperreffalse |
| 11558 |
\if@filesw |
| 11559 |
\begingroup |
| 11560 |
\let\protect\noexpand |
| 11561 |
\immediate\write\@auxout{% |
| 11562 |
\string\bibcite{#2}{#1}% |
| 11563 |
}% |
| 11564 |
\endgroup |
| 11565 |
\fi |
| 11566 |
\ignorespaces |
| 11567 |
}% |
| 11568 |
% \end{macrocode} |
| 11569 |
% Since |\bibitem| is doing its own labelling, call the raw |
| 11570 |
% version of |\item|, to avoid extra spurious labels |
| 11571 |
% \begin{macrocode} |
| 11572 |
\def\@bibitem#1{% |
| 11573 |
\@skiphyperreftrue\H@item\@skiphyperreffalse |
| 11574 |
\Hy@raisedlink{% |
| 11575 |
\hyper@anchorstart{cite.#1\@extra@b@citeb}\relax\hyper@anchorend |
| 11576 |
}% |
| 11577 |
\if@filesw |
| 11578 |
\begingroup |
| 11579 |
\let\protect\noexpand |
| 11580 |
\immediate\write\@auxout{% |
| 11581 |
\string\bibcite{#1}{\the\value{\@listctr}}% |
| 11582 |
}% |
| 11583 |
\endgroup |
| 11584 |
\fi |
| 11585 |
\ignorespaces |
| 11586 |
}% |
| 11587 |
}{}% |
| 11588 |
}{} |
| 11589 |
% \end{macrocode} |
| 11590 |
% If \cs{DocumentMetadata} is used hyperref can use the bibcite hooks. |
| 11591 |
% \begin{macrocode} |
| 11592 |
\IfDocumentMetadataT |
| 11593 |
{ |
| 11594 |
\AddToHook{package/hyperref/after}[latex-lab-testphase-bib]{} |
| 11595 |
\RemoveFromHook{package/hyperref/after}[latex-lab-testphase-bib] |
| 11596 |
\AddToHookWithArguments{bibcite/before} |
| 11597 |
{% |
| 11598 |
\hyper@linkstart{cite}{cite.#1\@extra@b@citeb}% |
| 11599 |
} |
| 11600 |
\AddToHookWithArguments{bibcite/after}{\hyper@linkend} |
| 11601 |
} |
| 11602 |
% \end{macrocode} |
| 11603 |
% |
| 11604 |
% \begin{macrocode} |
| 11605 |
%</packageEnd> |
| 11606 |
%<*check> |
| 11607 |
\checklatex |
| 11608 |
\checkcommand\def\@lbibitem[#1]#2{% |
| 11609 |
\item[\@biblabel{#1}\hfill]% |
| 11610 |
\if@filesw |
| 11611 |
{% |
| 11612 |
\let\protect\noexpand |
| 11613 |
\immediate\write\@auxout{% |
| 11614 |
\string\bibcite{#2}{#1}% |
| 11615 |
}% |
| 11616 |
}% |
| 11617 |
\fi |
| 11618 |
\ignorespaces |
| 11619 |
} |
| 11620 |
\checkcommand\def\@bibitem#1{% |
| 11621 |
\item |
| 11622 |
\if@filesw |
| 11623 |
\immediate\write\@auxout{% |
| 11624 |
\string\bibcite{#1}{\the\value{\@listctr}}% |
| 11625 |
}% |
| 11626 |
\fi |
| 11627 |
\ignorespaces |
| 11628 |
} |
| 11629 |
%</check> |
| 11630 |
%<*packageEnd> |
| 11631 |
% \end{macrocode} |
| 11632 |
% |
| 11633 |
% \subsection{Package harvard} |
| 11634 |
% |
| 11635 |
% Override Peter Williams' Harvard package; we have to |
| 11636 |
% a) make each of the citation types into a link; b) make |
| 11637 |
% each citation write a backref entry, and c) kick off a backreference |
| 11638 |
% section for each bibliography entry. |
| 11639 |
% |
| 11640 |
% The redefinitions have to be deferred to |\begin{document}|, |
| 11641 |
% because if harvard.sty is loaded and html.sty is present and |
| 11642 |
% detects pdf\TeX, then hyperref is already loaded at the begin |
| 11643 |
% of harvard.sty, and the |\newcommand| macros causes error |
| 11644 |
% messages. |
| 11645 |
% \begin{macrocode} |
| 11646 |
\@ifpackageloaded{harvard}{% |
| 11647 |
\Hy@AtBeginDocument{% |
| 11648 |
\Hy@Info{*** compatibility with harvard **** }% |
| 11649 |
\Hy@raiselinksfalse |
| 11650 |
\def\harvardcite#1#2#3#4{% |
| 11651 |
\global\@namedef{HAR@fn@#1}{\hyper@@link[cite]{}{cite.#1}{#2}}% |
| 11652 |
\global\@namedef{HAR@an@#1}{\hyper@@link[cite]{}{cite.#1}{#3}}% |
| 11653 |
\global\@namedef{HAR@yr@#1}{\hyper@@link[cite]{}{cite.#1}{#4}}% |
| 11654 |
\global\@namedef{HAR@df@#1}{\csname HAR@fn@#1\endcsname}% |
| 11655 |
}% |
| 11656 |
\def\HAR@citetoaux#1{% |
| 11657 |
\if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi% |
| 11658 |
\ifHy@backref |
| 11659 |
\ifx\@empty\@currentlabel |
| 11660 |
\else |
| 11661 |
\@bsphack |
| 11662 |
\if@filesw |
| 11663 |
\protected@write\@auxout{}{% |
| 11664 |
\string\@writefile{brf}{% |
| 11665 |
\string\backcite{#1}{% |
| 11666 |
{\thepage}{\@currentlabel}{\@currentHref}% |
| 11667 |
}% |
| 11668 |
}% |
| 11669 |
}% |
| 11670 |
\fi |
| 11671 |
\@esphack |
| 11672 |
\fi |
| 11673 |
\fi |
| 11674 |
}% |
| 11675 |
\def\harvarditem{% |
| 11676 |
\@ifnextchar[{\@harvarditem}{\@harvarditem[\null]}% |
| 11677 |
}% |
| 11678 |
\def\@harvarditem[#1]#2#3#4#5\par{% |
| 11679 |
\item[]% |
| 11680 |
\hyper@anchorstart{cite.#4}\relax\hyper@anchorend |
| 11681 |
\if@filesw |
| 11682 |
\begingroup |
| 11683 |
\def\protect##1{\string ##1\space}% |
| 11684 |
\ifthenelse{\equal{#1}{\null}}% |
| 11685 |
{\def\next{{#4}{#2}{#2}{#3}}}% |
| 11686 |
{\def\next{{#4}{#2}{#1}{#3}}}% |
| 11687 |
\immediate\write\@auxout{\string\harvardcite\codeof\next}% |
| 11688 |
\endgroup |
| 11689 |
\fi |
| 11690 |
\protect\hspace*{-\labelwidth}% |
| 11691 |
\protect\hspace*{-\labelsep}% |
| 11692 |
\ignorespaces |
| 11693 |
#5% |
| 11694 |
\ifHy@backref |
| 11695 |
\newblock |
| 11696 |
\backref{\csname br@#4\endcsname}% |
| 11697 |
\fi |
| 11698 |
\par |
| 11699 |
}% |
| 11700 |
% \end{macrocode} |
| 11701 |
% \begin{macro}{\HAR@checkcitations} |
| 11702 |
% Package hyperref has added \cmd{\hyper@@link}, so |
| 11703 |
% the original test \cmd{\HAR@checkcitations} will |
| 11704 |
% fail every time and always will appear the ``Changed |
| 11705 |
% labels'' warning. So we have to redefine |
| 11706 |
% \cmd{\Har@checkcitations}: |
| 11707 |
% \begin{macrocode} |
| 11708 |
\long\def\HAR@checkcitations#1#2#3#4{% |
| 11709 |
\def\HAR@tempa{\hyper@@link[cite]{}{cite.#1}{#2}}% |
| 11710 |
\expandafter\ifx\csname HAR@fn@#1\endcsname\HAR@tempa |
| 11711 |
\def\HAR@tempa{\hyper@@link[cite]{}{cite.#1}{#3}}% |
| 11712 |
\expandafter\ifx\csname HAR@an@#1\endcsname\HAR@tempa |
| 11713 |
\def\HAR@tempa{\hyper@@link[cite]{}{cite.#1}{#4}}% |
| 11714 |
\expandafter\ifx\csname HAR@yr@#1\endcsname\HAR@tempa |
| 11715 |
\else |
| 11716 |
\@tempswatrue |
| 11717 |
\fi |
| 11718 |
\else |
| 11719 |
\@tempswatrue |
| 11720 |
\fi |
| 11721 |
\else |
| 11722 |
\@tempswatrue |
| 11723 |
\fi |
| 11724 |
}% |
| 11725 |
}% |
| 11726 |
% \end{macrocode} |
| 11727 |
% \end{macro} |
| 11728 |
% \begin{macrocode} |
| 11729 |
}{} |
| 11730 |
% \end{macrocode} |
| 11731 |
% |
| 11732 |
% \subsection{Package chicago} |
| 11733 |
% The links by \cmd{\citeN} and \cmd{\shortciteN} should |
| 11734 |
% include the closing parentheses. |
| 11735 |
% |
| 11736 |
% \begin{macrocode} |
| 11737 |
\@ifpackageloaded{chicago}{% |
| 11738 |
% \end{macrocode} |
| 11739 |
% \begin{macro}{\citeN} |
| 11740 |
% \begin{macrocode} |
| 11741 |
\def\citeN{% |
| 11742 |
\def\@citeseppen{-1000}% |
| 11743 |
\def\@cite##1##2{##1}% |
| 11744 |
\def\citeauthoryear##1##2##3{##1 (##3\@cite@opt)}% |
| 11745 |
\@citedata@opt |
| 11746 |
}% |
| 11747 |
% \end{macrocode} |
| 11748 |
% \end{macro} |
| 11749 |
% \begin{macro}{\shortciteN} |
| 11750 |
% \begin{macrocode} |
| 11751 |
\def\shortciteN{% |
| 11752 |
\def\@citeseppen{-1000}% |
| 11753 |
\def\@cite##1##2{##1}% |
| 11754 |
\def\citeauthoryear##1##2##3{##2 (##3\@cite@opt)}% |
| 11755 |
\@citedata@opt |
| 11756 |
}% |
| 11757 |
% \end{macrocode} |
| 11758 |
% \end{macro} |
| 11759 |
% \begin{macro}{\@citedata@opt} |
| 11760 |
% \begin{macrocode} |
| 11761 |
\def\@citedata@opt{% |
| 11762 |
\let\@cite@opt\@empty |
| 11763 |
\@ifnextchar [{% |
| 11764 |
\@tempswatrue |
| 11765 |
\@citedatax@opt |
| 11766 |
}{% |
| 11767 |
\@tempswafalse |
| 11768 |
\@citedatax[]% |
| 11769 |
}% |
| 11770 |
}% |
| 11771 |
% \end{macrocode} |
| 11772 |
% \end{macro} |
| 11773 |
% \begin{macro}{\@citedatax@opt} |
| 11774 |
% \begin{macrocode} |
| 11775 |
\def\@citedatax@opt[#1]{% |
| 11776 |
\def\@cite@opt{, #1}% |
| 11777 |
\@citedatax[{#1}]% |
| 11778 |
}% |
| 11779 |
% \end{macrocode} |
| 11780 |
% \end{macro} |
| 11781 |
% \begin{macrocode} |
| 11782 |
}{} |
| 11783 |
% \end{macrocode} |
| 11784 |
% |
| 11785 |
% \section{Page numbers}\label{pagenum} |
| 11786 |
% |
| 11787 |
% The last page should not contain a /Dur key, because there |
| 11788 |
% is no page after the last page. Therefore at the last page |
| 11789 |
% there should be a command |\hypersetup{pdfpageduration={}}|. |
| 11790 |
% This can be set with \cmd{\AtEndDocument}, but it can |
| 11791 |
% be too late, if the last page is already finished, or too |
| 11792 |
% early, if lots of float pages will follow. |
| 11793 |
% Therefore currently nothing is done by hyperref. |
| 11794 |
% |
| 11795 |
% This where we supply a destination for each page. |
| 11796 |
% |
| 11797 |
% \marginpar{Experimental!}The name of destination |
| 11798 |
% is stored in the global command \cs{@currentHpage}, this allows it to retrieve |
| 11799 |
% it with an extended reference system like zref or the new property code from \LaTeX{} |
| 11800 |
% 2023-11-01. |
| 11801 |
% \begin{macrocode} |
| 11802 |
\def\@currentHpage{Doc-Start} |
| 11803 |
% \end{macrocode} |
| 11804 |
% \begin{macrocode} |
| 11805 |
\@ifclassloaded{slides}{% |
| 11806 |
\def\Hy@SlidesFormatOptionalPage#1{(#1)}% |
| 11807 |
\def\Hy@PageAnchorSlidesPlain{% |
| 11808 |
\advance\c@page\@ne |
| 11809 |
\xdef\@currentHpage{page.\the\c@slide.\the\c@overlay.\the\c@note% |
| 11810 |
\ifnum\c@page=\@ne |
| 11811 |
\else |
| 11812 |
.\the\c@page |
| 11813 |
\fi}% |
| 11814 |
\edef\Hy@TempPageAnchor{% |
| 11815 |
\noexpand\hyper@@anchor{% |
| 11816 |
\@currentHpage |
| 11817 |
}% |
| 11818 |
}% |
| 11819 |
\advance\c@page-\@ne |
| 11820 |
}% |
| 11821 |
\def\Hy@PageAnchorSlide{% |
| 11822 |
\advance\c@page\@ne |
| 11823 |
\ifnum\c@page>\@ne |
| 11824 |
\@ifundefined{theHpage}{% |
| 11825 |
\protected@edef\Hy@TheSlideOptionalPage{% |
| 11826 |
\Hy@SlidesFormatOptionalPage{\thepage}% |
| 11827 |
}% |
| 11828 |
}{% |
| 11829 |
\protected@edef\Hy@TheSlideOptionalPage{% |
| 11830 |
\Hy@SlidesFormatOptionalPage{\theHpage}% |
| 11831 |
}% |
| 11832 |
}% |
| 11833 |
\else |
| 11834 |
\def\Hy@TheSlideOptionalPage{}% |
| 11835 |
\fi |
| 11836 |
\advance\c@page-\@ne |
| 11837 |
\pdfstringdef\@the@H@page{% |
| 11838 |
\csname |
| 11839 |
the% |
| 11840 |
\@ifundefined{theH\Hy@SlidesPage}{}{H}% |
| 11841 |
\Hy@SlidesPage |
| 11842 |
\endcsname |
| 11843 |
\Hy@TheSlideOptionalPage |
| 11844 |
}% |
| 11845 |
\@gobblethree |
| 11846 |
}% |
| 11847 |
\def\Hy@SlidesPage{slide}% |
| 11848 |
\g@addto@macro\slide{% |
| 11849 |
\def\Hy@SlidesPage{slide}% |
| 11850 |
}% |
| 11851 |
\g@addto@macro\overlay{% |
| 11852 |
\def\Hy@SlidesPage{overlay}% |
| 11853 |
}% |
| 11854 |
\g@addto@macro\note{% |
| 11855 |
\def\Hy@SlidesPage{note}% |
| 11856 |
}% |
| 11857 |
}{% |
| 11858 |
\def\Hy@PageAnchorSlidesPlain{}% |
| 11859 |
\def\Hy@PageAnchorSlide{}% |
| 11860 |
} |
| 11861 |
\def\Hy@EveryPageAnchor{% |
| 11862 |
\Hy@DistillerDestFix |
| 11863 |
\ifHy@pageanchor |
| 11864 |
\ifHy@hypertexnames |
| 11865 |
\ifHy@plainpages |
| 11866 |
\def\Hy@TempPageAnchor{\hyper@@anchor{page.\the\c@page}}% |
| 11867 |
\xdef\@currentHpage{page.\the\c@page}% |
| 11868 |
\Hy@PageAnchorSlidesPlain |
| 11869 |
\else |
| 11870 |
\begingroup |
| 11871 |
\let\@number\@firstofone |
| 11872 |
\Hy@unicodefalse |
| 11873 |
\Hy@PageAnchorSlide |
| 11874 |
\pdfstringdef\@the@H@page{\thepage}% |
| 11875 |
\endgroup |
| 11876 |
\EdefUnescapeString\@the@H@page{\@the@H@page}% |
| 11877 |
\def\Hy@TempPageAnchor{\hyper@@anchor{page.\@the@H@page}}% |
| 11878 |
\xdef\@currentHpage{page.\@the@H@page}% |
| 11879 |
\fi |
| 11880 |
\else |
| 11881 |
\Hy@GlobalStepCount\Hy@pagecounter |
| 11882 |
\def\Hy@TempPageAnchor{% |
| 11883 |
\hyper@@anchor{page.\the\Hy@pagecounter}% |
| 11884 |
}% |
| 11885 |
\xdef\@currentHpage{page.\the\Hy@pagecounter}% |
| 11886 |
\fi |
| 11887 |
\vbox to 0pt{% |
| 11888 |
\kern\voffset |
| 11889 |
\kern\topmargin |
| 11890 |
\kern-1bp\relax |
| 11891 |
\hbox to 0pt{% |
| 11892 |
\kern\hoffset |
| 11893 |
\kern\ifodd\value{page}% |
| 11894 |
\oddsidemargin |
| 11895 |
\else |
| 11896 |
\evensidemargin |
| 11897 |
\fi |
| 11898 |
\kern-1bp\relax |
| 11899 |
\Hy@TempPageAnchor\relax |
| 11900 |
\hss |
| 11901 |
}% |
| 11902 |
\vss |
| 11903 |
}% |
| 11904 |
\fi |
| 11905 |
} |
| 11906 |
\g@addto@macro\Hy@EveryPageBoxHook{% |
| 11907 |
\Hy@EveryPageAnchor |
| 11908 |
} |
| 11909 |
% \end{macrocode} |
| 11910 |
% |
| 11911 |
% \section{Table of contents}\label{toc} |
| 11912 |
% TV Raman noticed that people who add arbitrary material into the TOC |
| 11913 |
% generate a bad or null link. We avoid that by checking if the current |
| 11914 |
% destination is empty. But if `the most recent destination' is not |
| 11915 |
% what you expect, you will be in trouble. |
| 11916 |
% In newer \LaTeX\ releases this is defined to put a \verb|%| at the end of the |
| 11917 |
% line in the \texttt{toc}file. |
| 11918 |
% \begin{macrocode} |
| 11919 |
\providecommand\protected@file@percent{} |
| 11920 |
% \end{macrocode} |
| 11921 |
% |
| 11922 |
% Change 2026-02-06: Add support for \cs{DocumentMetadata}. We externalize the command |
| 11923 |
% to allow booksmark to be set without explicit toc-entry.% |
| 11924 |
% \begin{macrocode} |
| 11925 |
\def\Hy@addcontentsline@addbookmark#1#2#3%#1 toc type, #2 level, #3 content |
| 11926 |
{% |
| 11927 |
\ifHy@bookmarks |
| 11928 |
\ifx\@currentHref\@empty |
| 11929 |
\Hy@Warning{% |
| 11930 |
No destination for bookmark of \string\addcontentsline,% |
| 11931 |
\MessageBreak destination is added% |
| 11932 |
}% |
| 11933 |
\phantomsection |
| 11934 |
\fi |
| 11935 |
\begingroup |
| 11936 |
\let\label\@gobble@om |
| 11937 |
\let\index\@gobble@som |
| 11938 |
\let\glossary\@gobble@om |
| 11939 |
\expandafter\ifx\csname toclevel@#2\endcsname\relax |
| 11940 |
\begingroup |
| 11941 |
\def\Hy@tempa{#1}% |
| 11942 |
\ifx\Hy@tempa\Hy@bookmarkstype |
| 11943 |
\Hy@WarningNoLine{% |
| 11944 |
bookmark level for unknown #2 defaults to 0% |
| 11945 |
}% |
| 11946 |
\else |
| 11947 |
\Hy@Info{bookmark level for unknown #2 defaults to 0}% |
| 11948 |
\fi |
| 11949 |
\endgroup |
| 11950 |
\expandafter\gdef\csname toclevel@#2\endcsname{0}% |
| 11951 |
\fi |
| 11952 |
\edef\Hy@toclevel{\csname toclevel@#2\endcsname}% |
| 11953 |
\Hy@writebookmark{\csname the#2\endcsname}% |
| 11954 |
{#3}% |
| 11955 |
{\@currentHref}% |
| 11956 |
{\Hy@toclevel}% |
| 11957 |
{#1}% |
| 11958 |
\ifHy@verbose |
| 11959 |
\begingroup |
| 11960 |
\def\Hy@tempa{#3}% |
| 11961 |
\@onelevel@sanitize\Hy@tempa |
| 11962 |
\let\temp@online\on@line |
| 11963 |
\let\on@line\@empty |
| 11964 |
\Hy@Info{% |
| 11965 |
bookmark\temp@online:\MessageBreak |
| 11966 |
thecounter {\csname the#2\endcsname}\MessageBreak |
| 11967 |
text {\Hy@tempa}\MessageBreak |
| 11968 |
reference {\@currentHref}\MessageBreak |
| 11969 |
toclevel {\Hy@toclevel}\MessageBreak |
| 11970 |
type {#1}% |
| 11971 |
}% |
| 11972 |
\endgroup |
| 11973 |
\fi |
| 11974 |
\endgroup |
| 11975 |
\fi |
| 11976 |
} |
| 11977 |
% \end{macrocode} |
| 11978 |
% If the new sec template code is used, we map the command to the new interface: |
| 11979 |
% \begin{macrocode} |
| 11980 |
\@ifundefined{addcontentslinebookmark}{} |
| 11981 |
{ |
| 11982 |
\RenewCommandCopy\addcontentslinebookmark\Hy@addcontentsline@addbookmark |
| 11983 |
\renewcommand\addcontentslinebookmarkOff |
| 11984 |
{% |
| 11985 |
\ifHy@bookmarks |
| 11986 |
\let\addcontentslinebookmarkReset\Hy@bookmarkstrue |
| 11987 |
\else |
| 11988 |
\let\addcontentslinebookmarkReset\relax |
| 11989 |
\fi |
| 11990 |
\Hy@bookmarksfalse |
| 11991 |
} |
| 11992 |
} |
| 11993 |
% \end{macrocode} |
| 11994 |
% If \cs{DocumentMetadata} is not used, we must redefine \cs{addcontentsline} as in the |
| 11995 |
% latex-lab code to ensure that the target is written: |
| 11996 |
% \begin{macrocode} |
| 11997 |
\@ifundefined{hyper@nopatch@toc}{% |
| 11998 |
\def\addcontentsline#1#2#3{% #1=toc extension, #2= heading type, tag |
| 11999 |
\addtocontents{#1}{% |
| 12000 |
\protect\contentsline{#2}{#3}{\thepage}{\@currentHref}\protected@file@percent |
| 12001 |
}}}{} |
| 12002 |
% \end{macrocode} |
| 12003 |
% |
| 12004 |
% Then this addition works also if \cs{DocumentMetadata} is used. |
| 12005 |
% \begin{macrocode} |
| 12006 |
\AddToHookWithArguments{cmd/addcontentsline/before}[hyp] |
| 12007 |
{% |
| 12008 |
\Hy@addcontentsline@addbookmark |
| 12009 |
{#1} |
| 12010 |
{#2} |
| 12011 |
{#3}% |
| 12012 |
} |
| 12013 |
% \end{macrocode} |
| 12014 |
% |
| 12015 |
% \begin{macro}{\contentsline} |
| 12016 |
% The page number might be empty. In this case the link for the |
| 12017 |
% page number is suppressed to avoid little link boxes. |
| 12018 |
% |
| 12019 |
% change 2022-11-13: To avoid problems if |MakeUppercase| is used |
| 12020 |
% around the entry we use special protected commands: |
| 12021 |
% |
| 12022 |
% \begin{macrocode} |
| 12023 |
\protected\def\Hy@toclinkstart{\hyper@linkstart{link}{\Hy@tocdestname}} |
| 12024 |
\protected\def\Hy@toclinkend{\hyper@linkend} |
| 12025 |
|
| 12026 |
\@ifundefined{hyper@nopatch@toc}{% |
| 12027 |
\def\contentsline#1#2#3#4{% |
| 12028 |
\begingroup |
| 12029 |
\Hy@safe@activestrue |
| 12030 |
\edef\x{\endgroup |
| 12031 |
\def\noexpand\Hy@tocdestname{#4}% |
| 12032 |
}\x |
| 12033 |
\ifx\Hy@tocdestname\@empty |
| 12034 |
\csname l@#1\endcsname{#2}{#3}% |
| 12035 |
\else |
| 12036 |
\ifcase\Hy@linktoc % none |
| 12037 |
\csname l@#1\endcsname{#2}{#3}% |
| 12038 |
\or % section |
| 12039 |
\csname l@#1\endcsname{% |
| 12040 |
\Hy@toclinkstart{#2}\Hy@toclinkend |
| 12041 |
}{#3}% |
| 12042 |
\or % page |
| 12043 |
\def\Hy@temp{#3}% |
| 12044 |
\ifx\Hy@temp\@empty |
| 12045 |
\csname l@#1\endcsname{#2}{#3}% |
| 12046 |
\else |
| 12047 |
\csname l@#1\endcsname{{#2}}{% |
| 12048 |
\Hy@toclinkstart{#3}\Hy@toclinkend |
| 12049 |
}% |
| 12050 |
\fi |
| 12051 |
\else % all |
| 12052 |
\def\Hy@temp{#3}% |
| 12053 |
\ifx\Hy@temp\@empty |
| 12054 |
\csname l@#1\endcsname{% |
| 12055 |
\Hy@toclinkstart{#2}\Hy@toclinkend |
| 12056 |
}{}% |
| 12057 |
\else |
| 12058 |
\csname l@#1\endcsname{% |
| 12059 |
\Hy@toclinkstart{#2}\Hy@toclinkend |
| 12060 |
}{% |
| 12061 |
\Hy@toclinkstart{#3}\Hy@toclinkend |
| 12062 |
}% |
| 12063 |
\fi |
| 12064 |
\fi |
| 12065 |
\fi |
| 12066 |
} |
| 12067 |
}{} |
| 12068 |
% \end{macrocode} |
| 12069 |
% \end{macro} |
| 12070 |
% |
| 12071 |
% If \cs{DocumentMetadata} is used we make use of the \cs{contentsline}-hooks to add links: |
| 12072 |
% |
| 12073 |
% \begin{macrocode} |
| 12074 |
\ExplSyntaxOn |
| 12075 |
\IfDocumentMetadataT |
| 12076 |
{ |
| 12077 |
\AddToHookWithArguments{contentsline/text/before}[hyp] |
| 12078 |
{ |
| 12079 |
\tl_if_blank:nF {#2}%text |
| 12080 |
{ |
| 12081 |
\tl_if_blank:nF {#4}%destination |
| 12082 |
{ |
| 12083 |
\int_case:nnF {\Hy@linktoc} |
| 12084 |
{ |
| 12085 |
{0}{} %none |
| 12086 |
{1}{\hyper@linkstart{link}{#4}} %section |
| 12087 |
{2}{} %page |
| 12088 |
} |
| 12089 |
{\hyper@linkstart{link}{#4}} %all |
| 12090 |
} |
| 12091 |
} |
| 12092 |
} |
| 12093 |
\AddToHookWithArguments{contentsline/text/after}[hyp] |
| 12094 |
{ |
| 12095 |
\tl_if_blank:nF {#2} |
| 12096 |
{ |
| 12097 |
\tl_if_blank:nF {#4} |
| 12098 |
{ |
| 12099 |
\int_case:nnF {\Hy@linktoc} |
| 12100 |
{ |
| 12101 |
{0}{} %none |
| 12102 |
{1}{\hyper@linkend} %section |
| 12103 |
{2}{} %page |
| 12104 |
} |
| 12105 |
{\hyper@linkend} %all |
| 12106 |
} % none |
| 12107 |
} |
| 12108 |
} |
| 12109 |
|
| 12110 |
\AddToHookWithArguments{contentsline/page/before}[hyp] |
| 12111 |
{ |
| 12112 |
\tl_if_blank:nF {#3} |
| 12113 |
{ |
| 12114 |
\tl_if_blank:nF {#4} % |
| 12115 |
{ |
| 12116 |
\int_case:nnF {\Hy@linktoc} |
| 12117 |
{ |
| 12118 |
{0}{} %none |
| 12119 |
{1}{} %section |
| 12120 |
{2}{\hyper@linkstart{link}{#4}} %page |
| 12121 |
} |
| 12122 |
{\hyper@linkstart{link}{#4}} %all |
| 12123 |
} % none |
| 12124 |
} |
| 12125 |
} |
| 12126 |
\AddToHookWithArguments{contentsline/page/after}[hyp] |
| 12127 |
{ |
| 12128 |
\tl_if_blank:nF {#3} |
| 12129 |
{ |
| 12130 |
\tl_if_blank:nF {#4} |
| 12131 |
{ |
| 12132 |
\int_case:nnF {\Hy@linktoc} |
| 12133 |
{ |
| 12134 |
{0}{} %none |
| 12135 |
{1}{} %section |
| 12136 |
{2}{\hyper@linkend} %page |
| 12137 |
} |
| 12138 |
{\hyper@linkend} %all |
| 12139 |
} % none |
| 12140 |
} |
| 12141 |
} |
| 12142 |
% \end{macrocode} |
| 12143 |
% Until the latex-lab file is cleaned up, we need to remove the hook code |
| 12144 |
% \begin{macrocode} |
| 12145 |
\AddToHook{package/hyperref/after}[latex-lab-testphase-toc]{} |
| 12146 |
\RemoveFromHook{package/hyperref/after}[latex-lab-testphase-toc] |
| 12147 |
} |
| 12148 |
\ExplSyntaxOff |
| 12149 |
% \end{macrocode} |
| 12150 |
% \begin{macrocode} |
| 12151 |
%</packageEnd> |
| 12152 |
%<*check> |
| 12153 |
\checklatex |
| 12154 |
\checkcommand\def\addcontentsline#1#2#3{% |
| 12155 |
\addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}}% |
| 12156 |
} |
| 12157 |
\checkcommand\def\contentsline#1{\csname l@#1\endcsname} |
| 12158 |
%</check> |
| 12159 |
%<*packageEnd> |
| 12160 |
% \end{macrocode} |
| 12161 |
% |
| 12162 |
% \section{New counters}\label{counters} |
| 12163 |
% The whole theorem business makes up new counters on the fly; |
| 12164 |
% we are going to intercept this. Sigh. Do it at the level where |
| 12165 |
% new counters are defined. |
| 12166 |
% change 2024-02-14: use a csname to handle counter names with commands, |
| 12167 |
% see issue \#330 |
| 12168 |
% change 2024-10-13: disable patches in new format 2024-11-01. |
| 12169 |
% change 2026-02-22: removed patches fully. |
| 12170 |
% |
| 12171 |
% \section{AMS\LaTeX\ compatibility}\label{ams} |
| 12172 |
% Oh, no, they don't use anything as simple as |\refstepcounter| |
| 12173 |
% in the AMS! We need to intercept some low-level operations |
| 12174 |
% of theirs. Damned if we are going to try and work out what |
| 12175 |
% they get up to. Just stick a label of `AMS' on the front, and use the |
| 12176 |
% label \emph{they} worked out. If that produces something invalid, I give |
| 12177 |
% up. They'll change all the code again anyway, I expect (SR). |
| 12178 |
% |
| 12179 |
% Version 6.77p uses a patch by Ross Moore. |
| 12180 |
% |
| 12181 |
% If |\hyper@nopatch@amsmath@tag| is defined we don't patch but assume |
| 12182 |
% that kernel code adds anchors to equations. |
| 12183 |
% change 2023-06-14: use a hook to make it independent of loading order. |
| 12184 |
% \begin{macrocode} |
| 12185 |
\@ifundefined{hyper@nopatch@amsmath@tag} |
| 12186 |
{% |
| 12187 |
\AddToHook{package/amsmath/after}{% |
| 12188 |
\def\Hy@make@anchor{% |
| 12189 |
\Hy@MakeCurrentHrefAuto{AMS}% |
| 12190 |
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% |
| 12191 |
}% |
| 12192 |
\def\Hy@make@df@tag@@#1{% |
| 12193 |
\gdef\df@tag{% |
| 12194 |
\maketag@@@{\Hy@make@anchor#1}% |
| 12195 |
\def\@currentlabel{#1}% |
| 12196 |
}% |
| 12197 |
}% |
| 12198 |
\def\Hy@make@df@tag@@@#1{% |
| 12199 |
\gdef\df@tag{% |
| 12200 |
\tagform@{\Hy@make@anchor#1}% |
| 12201 |
\toks@\@xp{\p@equation{#1}}% |
| 12202 |
\edef\@currentlabel{\the\toks@}% |
| 12203 |
}% |
| 12204 |
}% |
| 12205 |
\let\HyOrg@make@df@tag@@\make@df@tag@@ |
| 12206 |
\let\HyOrg@make@df@tag@@@\make@df@tag@@@ |
| 12207 |
\let\make@df@tag@@\Hy@make@df@tag@@ |
| 12208 |
\let\make@df@tag@@@\Hy@make@df@tag@@@ |
| 12209 |
}{} |
| 12210 |
}{} |
| 12211 |
% \end{macrocode} |
| 12212 |
% This code I simply cannot remember what I was trying to achieve. |
| 12213 |
% The final result seems to do nothing anyway. |
| 12214 |
%\begin{verbatim} |
| 12215 |
%\let\H@tagform@\tagform@ |
| 12216 |
%\def\tagform@#1{% |
| 12217 |
% \maketag@@@{\hyper@@anchor{\@currentHref}% |
| 12218 |
% {(\ignorespaces#1\unskip)}}% |
| 12219 |
%} |
| 12220 |
%\def\eqref#1{\textup{\H@tagform@{\ref{#1}}}} |
| 12221 |
%\end{verbatim} |
| 12222 |
% |
| 12223 |
% \subsection{\texorpdfstring{\cs{@addtoreset}}{\\@addtoreset} and |
| 12224 |
% \texorpdfstring{\cs{numberwithin}}{\\numberwithin} patches} |
| 12225 |
% |
| 12226 |
% \cs{@addtoreset} puts a counter to the reset list of |
| 12227 |
% another counter. After a reset the counter starts |
| 12228 |
% again with perhaps already used values. Therefore |
| 12229 |
% the hyperref version of the counter print command |
| 12230 |
% \cs{theHcounter} is redefined in order to add the |
| 12231 |
% parent counter. |
| 12232 |
% change 2024-07-10: define |\HyOrg@addtoreset| always for cleveref |
| 12233 |
% compability with tagging code, see https://github.com/latex3/tagging-project/issues/2 |
| 12234 |
% \begin{macrocode} |
| 12235 |
\def\HyOrg@addtoreset#1#2{\expandafter\@cons\csname cl@#2\endcsname {{#1}}} |
| 12236 |
\@ifundefined{hyper@nopatch@counter} |
| 12237 |
{ |
| 12238 |
\let\HyOrg@addtoreset\@addtoreset |
| 12239 |
\def\@addtoreset#1#2{% |
| 12240 |
\HyOrg@addtoreset{#1}{#2}% |
| 12241 |
\expandafter\xdef\csname theH#1\endcsname{% |
| 12242 |
\expandafter\noexpand |
| 12243 |
\csname the\@ifundefined{theH#2}{}H#2\endcsname |
| 12244 |
.\noexpand\the\noexpand\value{#1}% |
| 12245 |
}% |
| 12246 |
} |
| 12247 |
}{} |
| 12248 |
% \end{macrocode} |
| 12249 |
% |
| 12250 |
% \begin{macro}{\numberwithin} |
| 12251 |
% A appropriate definition of hyperref's companion counter |
| 12252 |
% (\cmd{\theH...}) is added for correct link names. |
| 12253 |
% \begin{macrocode} |
| 12254 |
%</packageEnd> |
| 12255 |
%<*check> |
| 12256 |
\checkpackage{amsmath}[1999/12/14 - 2000/06/06] |
| 12257 |
\checkcommand\newcommand{\numberwithin}[3][\arabic]{% |
| 12258 |
\@ifundefined{c@#2}{\@nocounterr{#2}}{% |
| 12259 |
\@ifundefined{c@#3}{\@nocnterr{#3}}{% |
| 12260 |
\@addtoreset{#2}{#3}% |
| 12261 |
\@xp\xdef\csname the#2\endcsname{% |
| 12262 |
\@xp\@nx\csname the#3\endcsname .\@nx#1{#2}% |
| 12263 |
}% |
| 12264 |
}% |
| 12265 |
}% |
| 12266 |
}% |
| 12267 |
%</check> |
| 12268 |
% \end{macrocode} |
| 12269 |
% change 2023-06-14: use hook to make independent of loading order |
| 12270 |
% \begin{macrocode} |
| 12271 |
%<*packageEnd> |
| 12272 |
\@ifundefined{hyper@nopatch@counter} |
| 12273 |
{ |
| 12274 |
\AddToHook{package/amsmath/after}{% |
| 12275 |
\renewcommand*{\numberwithin}[3][\arabic]{% |
| 12276 |
\@ifundefined{c@#2}{\@nocounterr{#2}}{% |
| 12277 |
\@ifundefined{c@#3}{\@nocnterr{#3}}{% |
| 12278 |
\HyOrg@addtoreset{#2}{#3}% |
| 12279 |
\@xp\xdef\csname the#2\endcsname{% |
| 12280 |
\@xp\@nx\csname the#3\endcsname .\@nx#1{#2}% |
| 12281 |
}% |
| 12282 |
\@xp\xdef\csname theH#2\endcsname{% |
| 12283 |
\@xp\@nx |
| 12284 |
\csname the\@ifundefined{theH#3}{}H#3\endcsname |
| 12285 |
.\@nx#1{#2}% |
| 12286 |
}% |
| 12287 |
}% |
| 12288 |
}% |
| 12289 |
}% |
| 12290 |
}{} |
| 12291 |
}{} |
| 12292 |
% \end{macrocode} |
| 12293 |
% \end{macro} |
| 12294 |
% |
| 12295 |
% \section{Included figures} |
| 12296 |
% Simply intercept the low level graphics package macro. |
| 12297 |
% \begin{macrocode} |
| 12298 |
\ifHy@hyperfigures |
| 12299 |
\let\Hy@Gin@setfile\Gin@setfile |
| 12300 |
\def\Gin@setfile#1#2#3{% |
| 12301 |
\hyperimage{#3}{\Hy@Gin@setfile{#1}{#2}{#3}}% |
| 12302 |
}% |
| 12303 |
\fi |
| 12304 |
\Hy@DisableOption{hyperfigures} |
| 12305 |
% \end{macrocode} |
| 12306 |
% |
| 12307 |
% \section{hyperindex entries}\label{hyperindex} |
| 12308 |
% Internal command names are prefixed with \cmd{\HyInd@}. |
| 12309 |
% |
| 12310 |
% Hyper-indexing works crudely, by forcing code onto the end of the index |
| 12311 |
% entry with the \verb+|+ feature; this puts a hyperlink around |
| 12312 |
% the printed page numbers. It will not proceed if the author has already |
| 12313 |
% used the \verb+|+ specifier for something like emboldening entries. |
| 12314 |
% That would make Makeindex fail (cannot have two \verb+|+ specifiers). |
| 12315 |
% The solution is for the author to use generic coding, and put in |
| 12316 |
% the requisite |\hyperpage| in his/her own macros along with the boldness. |
| 12317 |
% |
| 12318 |
% This section is poor stuff; it's open to all sorts of abuse. Sensible |
| 12319 |
% large projects will design their own indexing macros any bypass this. |
| 12320 |
% \begin{macrocode} |
| 12321 |
\ifHy@hyperindex |
| 12322 |
\def\HyInd@ParenLeft{(}% |
| 12323 |
\def\HyInd@ParenRight{)}% |
| 12324 |
\def\hyperxindexformat#1#2{% |
| 12325 |
\let\HyOrg@hyperpage\hyperpage |
| 12326 |
\let\hyperpage\@firstofone |
| 12327 |
#1{\HyOrg@hyperpage{#2}}% |
| 12328 |
\let\hyperpage\HyOrg@hyperpage |
| 12329 |
}% |
| 12330 |
% \end{macrocode} |
| 12331 |
% keep the old name for compability. |
| 12332 |
% \begin{macrocode} |
| 12333 |
\let\hyperindexformat\hyperxindexformat |
| 12334 |
\Hy@nextfalse |
| 12335 |
\@ifpackageloaded{multind}{\Hy@nexttrue}{}% |
| 12336 |
\@ifpackageloaded{index}{\Hy@nexttrue}{}% |
| 12337 |
\@ifpackageloaded{amsmidx}{\Hy@nexttrue}{}% |
| 12338 |
\begingroup |
| 12339 |
\lccode`\|=\expandafter`\HyInd@EncapChar\relax |
| 12340 |
\lccode`\/=`\\\relax |
| 12341 |
\lowercase{\endgroup |
| 12342 |
\ifHy@next |
| 12343 |
\let\HyInd@org@wrindex\@wrindex |
| 12344 |
\def\@wrindex#1#2{\HyInd@@wrindex{#1}#2||\\}% |
| 12345 |
\def\HyInd@@wrindex#1#2|#3|#4\\{% |
| 12346 |
\ifx\\#3\\% |
| 12347 |
\HyInd@org@wrindex{#1}{#2|hyperpage}% |
| 12348 |
\else |
| 12349 |
\HyInd@@@wrindex{#1}{#2}#3\\% |
| 12350 |
\fi |
| 12351 |
}% |
| 12352 |
\def\HyInd@@@wrindex#1#2#3#4\\{% |
| 12353 |
\def\Hy@temp@A{#3}% |
| 12354 |
\ifcase0\ifx\Hy@temp@A\HyInd@ParenLeft 1\fi |
| 12355 |
\ifx\Hy@temp@A\HyInd@ParenRight 1\fi |
| 12356 |
\relax |
| 12357 |
\HyInd@org@wrindex{#1}{% |
| 12358 |
#2|hyperxindexformat{/#3#4}% |
| 12359 |
}% |
| 12360 |
\else |
| 12361 |
\ifx\\#4\\% |
| 12362 |
\ifx\Hy@temp@A\HyInd@ParenRight |
| 12363 |
\HyInd@org@wrindex{#1}{#2|#3}% |
| 12364 |
\else |
| 12365 |
\HyInd@org@wrindex{#1}{#2|#3hyperpage}% |
| 12366 |
\fi |
| 12367 |
\else |
| 12368 |
\HyInd@org@wrindex{#1}{% |
| 12369 |
#2|#3hyperxindexformat{/#4}% |
| 12370 |
}% |
| 12371 |
\fi |
| 12372 |
\fi |
| 12373 |
}% |
| 12374 |
\else |
| 12375 |
\def\@wrindex#1{\@@wrindex#1||\\}% |
| 12376 |
\def\@@wrindex#1|#2|#3\\{% |
| 12377 |
\if@filesw |
| 12378 |
\ifx\\#2\\% |
| 12379 |
\protected@write\@indexfile{}{% |
| 12380 |
\string\indexentry{#1|hyperpage}{\thepage}% |
| 12381 |
}% |
| 12382 |
\else |
| 12383 |
\HyInd@@@wrindex{#1}#2\\% |
| 12384 |
\fi |
| 12385 |
\fi |
| 12386 |
\endgroup |
| 12387 |
\@esphack |
| 12388 |
}% |
| 12389 |
\def\HyInd@@@wrindex#1#2#3\\{% |
| 12390 |
\def\Hy@temp@A{#2}% |
| 12391 |
\ifcase0\ifx\Hy@temp@A\HyInd@ParenLeft 1\fi |
| 12392 |
\ifx\Hy@temp@A\HyInd@ParenRight 1\fi |
| 12393 |
\relax |
| 12394 |
\protected@write\@indexfile{}{% |
| 12395 |
\string\indexentry{% |
| 12396 |
#1|hyperxindexformat{/#2#3}% |
| 12397 |
}{\thepage}% |
| 12398 |
}% |
| 12399 |
\else |
| 12400 |
\ifx\\#3\\% |
| 12401 |
\ifx\Hy@temp@A\HyInd@ParenRight |
| 12402 |
\HyInd@DefKey{#1}% |
| 12403 |
\@ifundefined{HyInd@(\HyInd@key)}{% |
| 12404 |
\let\Hy@temp\@empty |
| 12405 |
}{% |
| 12406 |
\expandafter\let\expandafter\Hy@temp |
| 12407 |
\csname HyInd@(\HyInd@key)\endcsname |
| 12408 |
}% |
| 12409 |
\protected@write\@indexfile{}{% |
| 12410 |
\string\indexentry{#1|#2\Hy@temp}{\thepage}% |
| 12411 |
}% |
| 12412 |
\else |
| 12413 |
\protected@write\@indexfile{}{% |
| 12414 |
\string\indexentry{#1|#2hyperpage}{\thepage}% |
| 12415 |
}% |
| 12416 |
\HyInd@DefKey{#1}% |
| 12417 |
\expandafter |
| 12418 |
\gdef\csname HyInd@(\HyInd@key)\endcsname{% |
| 12419 |
hyperpage% |
| 12420 |
}% |
| 12421 |
\fi |
| 12422 |
\else |
| 12423 |
\protected@write\@indexfile{}{% |
| 12424 |
\string\indexentry{% |
| 12425 |
#1|#2hyperxindexformat{/#3}% |
| 12426 |
}{\thepage}% |
| 12427 |
}% |
| 12428 |
\ifx\Hy@temp@A\HyInd@ParenLeft |
| 12429 |
\HyInd@DefKey{#1}% |
| 12430 |
\expandafter |
| 12431 |
\gdef\csname HyInd@(\HyInd@key)\endcsname{% |
| 12432 |
hyperxindexformat{/#3}% |
| 12433 |
}% |
| 12434 |
\fi |
| 12435 |
\fi |
| 12436 |
\fi |
| 12437 |
}% |
| 12438 |
\def\HyInd@DefKey#1{% |
| 12439 |
\begingroup |
| 12440 |
\let\protect\@unexpandable@protect |
| 12441 |
\edef\Hy@temp{#1}% |
| 12442 |
\@onelevel@sanitize\Hy@temp |
| 12443 |
\global\let\HyInd@key\Hy@temp |
| 12444 |
\endgroup |
| 12445 |
}% |
| 12446 |
\fi |
| 12447 |
}% |
| 12448 |
\fi |
| 12449 |
\Hy@DisableOption{hyperindex} |
| 12450 |
\Hy@DisableOption{encap} |
| 12451 |
% \end{macrocode} |
| 12452 |
% |
| 12453 |
% \begin{macro}{\nohyperpage} |
| 12454 |
% The definition of \cs{nohyperpage} is just a precaution. |
| 12455 |
% It is used to mark code that does not belong to a page |
| 12456 |
% number, but \cs{nohyperpage} is never executed. |
| 12457 |
% \begin{macrocode} |
| 12458 |
\def\nohyperpage#1{#1} |
| 12459 |
% \end{macrocode} |
| 12460 |
% \end{macro} |
| 12461 |
% This again is quite flaky, but allow for the common situation of a |
| 12462 |
% page range separated by en-rule. We split this into two different |
| 12463 |
% hyperlinked pages. |
| 12464 |
% \begin{macrocode} |
| 12465 |
\def\hyperpage#1{% |
| 12466 |
\HyInd@hyperpage#1\nohyperpage{}\@nil |
| 12467 |
} |
| 12468 |
\def\HyInd@hyperpage#1\nohyperpage#2#3\@nil{% |
| 12469 |
\HyInd@@hyperpage{#1}% |
| 12470 |
#2% |
| 12471 |
\def\Hy@temp{#3}% |
| 12472 |
\ifx\Hy@temp\@empty |
| 12473 |
\else |
| 12474 |
\Hy@ReturnAfterFi{% |
| 12475 |
\HyInd@hyperpage#3\@nil |
| 12476 |
}% |
| 12477 |
\fi |
| 12478 |
} |
| 12479 |
\def\HyInd@@hyperpage#1{\@hyperpage#1----\\} |
| 12480 |
\def\@hyperpage#1--#2--#3\\{% |
| 12481 |
\ifx\\#2\\% |
| 12482 |
\@commahyperpage{#1}% |
| 12483 |
\else |
| 12484 |
\HyInd@pagelink{#1}--\HyInd@pagelink{#2}% |
| 12485 |
\fi |
| 12486 |
} |
| 12487 |
\def\@commahyperpage#1{\@@commahyperpage#1, ,\\} |
| 12488 |
\def\@@commahyperpage#1, #2,#3\\{% |
| 12489 |
\ifx\\#2\\% |
| 12490 |
\HyInd@pagelink{#1}% |
| 12491 |
\else |
| 12492 |
\HyInd@pagelink{#1}, \HyInd@pagelink{#2}% |
| 12493 |
\fi |
| 12494 |
} |
| 12495 |
% \end{macrocode} |
| 12496 |
% |
| 12497 |
% The argument of \cmd{\hyperpage} can be empty. And the |
| 12498 |
% line breaking algorithm of Makeindex can introduce spaces. |
| 12499 |
% So we have to remove them. |
| 12500 |
% \begin{macrocode} |
| 12501 |
\def\HyInd@pagelink#1{% |
| 12502 |
\begingroup |
| 12503 |
\toks@={}% |
| 12504 |
\HyInd@removespaces#1 \@nil |
| 12505 |
\endgroup |
| 12506 |
} |
| 12507 |
\def\HyInd@removespaces#1 #2\@nil{% |
| 12508 |
\toks@=\expandafter{\the\toks@#1}% |
| 12509 |
\ifx\\#2\\% |
| 12510 |
\edef\x{\the\toks@}% |
| 12511 |
\ifx\x\@empty |
| 12512 |
\else |
| 12513 |
\hyperlink{page.\the\toks@}{\the\toks@}% |
| 12514 |
\fi |
| 12515 |
\else |
| 12516 |
\Hy@ReturnAfterFi{% |
| 12517 |
\HyInd@removespaces#2\@nil |
| 12518 |
}% |
| 12519 |
\fi |
| 12520 |
} |
| 12521 |
% \end{macrocode} |
| 12522 |
% |
| 12523 |
% This breaks TeX4ht, so leave it to last. |
| 12524 |
% Emend |\@setref| to put out a hypertext link as well as its |
| 12525 |
% normal text (which is used as an anchor). |
| 12526 |
% (|\endinput| have to be on the same line like |\fi|, or you |
| 12527 |
% have to use |\expandafter| before.) |
| 12528 |
% |
| 12529 |
% change 2022-11-13: added an |\@empty| for issue\#261. |
| 12530 |
% \begin{macrocode} |
| 12531 |
\ifHy@texht |
| 12532 |
\expandafter\endinput |
| 12533 |
\fi |
| 12534 |
\let\real@setref\@setref |
| 12535 |
\def\@setref#1#2#3{% csname, extract group, refname |
| 12536 |
\ifx#1\relax |
| 12537 |
\protect\G@refundefinedtrue |
| 12538 |
\nfss@text{\reset@font\bfseries ??}% |
| 12539 |
\@latex@warning{% |
| 12540 |
Reference `#3' on page \thepage \space undefined% |
| 12541 |
}% |
| 12542 |
\else |
| 12543 |
\expandafter\Hy@setref@link#1\@empty\@empty\@empty\@nil{#2}% |
| 12544 |
\fi |
| 12545 |
} |
| 12546 |
% \end{macrocode} |
| 12547 |
% \cmd{\Hy@setref@link} extracts the reference information entries, |
| 12548 |
% because \cmd{\hyper@@link} does not expand arguments for the |
| 12549 |
% automatic link type detection. |
| 12550 |
% \begin{macrocode} |
| 12551 |
\def\Hy@setref@link#1#2#3#4#5#6\@nil#7{% |
| 12552 |
\begingroup |
| 12553 |
\toks0={\hyper@@link{#5}{#4}}% |
| 12554 |
\toks1=\expandafter{#7{#1}{#2}{#3}{#4}{#5}}% |
| 12555 |
\edef\x{\endgroup |
| 12556 |
\the\toks0 {\the\toks1 }% |
| 12557 |
}% |
| 12558 |
\x |
| 12559 |
} |
| 12560 |
\def\@pagesetref#1#2#3{% csname, extract macro, ref |
| 12561 |
\ifx#1\relax |
| 12562 |
\protect\G@refundefinedtrue |
| 12563 |
\nfss@text{\reset@font\bfseries ??}% |
| 12564 |
\@latex@warning{% |
| 12565 |
Reference `#3' on page \thepage \space undefined% |
| 12566 |
}% |
| 12567 |
\else |
| 12568 |
\protect\hyper@@link |
| 12569 |
{\expandafter\@fifthoffive#1}% |
| 12570 |
{page.\expandafter\@secondoffive#1}% |
| 12571 |
{\expandafter\@secondoffive#1}% |
| 12572 |
\fi |
| 12573 |
} |
| 12574 |
% \end{macrocode} |
| 12575 |
% |
| 12576 |
% \begin{macrocode} |
| 12577 |
%</packageEnd> |
| 12578 |
%<*check> |
| 12579 |
\checklatex |
| 12580 |
\checkcommand\def\@setref#1#2#3{% |
| 12581 |
\ifx#1\relax |
| 12582 |
\protect\G@refundefinedtrue |
| 12583 |
\nfss@text{\reset@font\bfseries ??}% |
| 12584 |
\@latex@warning{% |
| 12585 |
Reference `#3' on page \thepage\space undefined% |
| 12586 |
}% |
| 12587 |
\else |
| 12588 |
\expandafter#2#1\null |
| 12589 |
\fi |
| 12590 |
} |
| 12591 |
%</check> |
| 12592 |
%<*packageEnd> |
| 12593 |
% \end{macrocode} |
| 12594 |
% |
| 12595 |
% Now some extended referencing. |\ref*| and |\pageref*| are not linked, |
| 12596 |
% and |\autoref| prefixes with a tag based on the type. |
| 12597 |
% \begin{macrocode} |
| 12598 |
\def\HyRef@StarSetRef#1{% |
| 12599 |
\begingroup |
| 12600 |
\Hy@safe@activestrue |
| 12601 |
\let\protect\@unexpandable@protect |
| 12602 |
\edef\x{#1}% |
| 12603 |
\@onelevel@sanitize\x |
| 12604 |
\edef\x{\endgroup |
| 12605 |
\noexpand\HyRef@@StarSetRef |
| 12606 |
\expandafter\noexpand\csname r@\x\endcsname{\x}% |
| 12607 |
}% |
| 12608 |
\x |
| 12609 |
} |
| 12610 |
\def\HyRef@@StarSetRef#1#2#3{% |
| 12611 |
\ifx#1\@undefined |
| 12612 |
\let#1\relax |
| 12613 |
\fi |
| 12614 |
\real@setref#1#3{#2}% |
| 12615 |
} |
| 12616 |
\def\@refstar#1{% |
| 12617 |
\HyRef@StarSetRef{#1}\@firstoffive |
| 12618 |
} |
| 12619 |
\def\@pagerefstar#1{% |
| 12620 |
\HyRef@StarSetRef{#1}\@secondoffive |
| 12621 |
} |
| 12622 |
\def\@namerefstar#1{% |
| 12623 |
\HyRef@StarSetRef{#1}\@thirdoffive |
| 12624 |
} |
| 12625 |
\def\@Refstar#1{% |
| 12626 |
\HyRef@StarSetRef{#1}\HyRef@MakeUppercaseFirstOfFive |
| 12627 |
}% |
| 12628 |
\def\HyRef@MakeUppercaseFirstOfFive#1#2#3#4#5{% |
| 12629 |
\MakeUppercase#1% |
| 12630 |
}% |
| 12631 |
\def\HyRef@Ref#1{% |
| 12632 |
\hyperref[{#1}]{\Ref*{#1}}% |
| 12633 |
}% |
| 12634 |
\Hy@AtBeginDocument{% |
| 12635 |
\@ifpackageloaded{varioref}{% |
| 12636 |
% \end{macrocode} |
| 12637 |
% This are the patches for a varioref newer after 2019-09 |
| 12638 |
% Older versions are no longer supported. |
| 12639 |
% If |\hyper@nopatch@varioref| is defined we don't patch but assume |
| 12640 |
% that varioref handles the hyperlinks. |
| 12641 |
% \begin{macrocode} |
| 12642 |
\@ifundefined{hyper@nopatch@varioref} |
| 12643 |
{ |
| 12644 |
\renewcommand\Vref@star[2][]{% |
| 12645 |
\begingroup |
| 12646 |
\let\T@pageref\@pagerefstar |
| 12647 |
\Ref*{#2} |
| 12648 |
\vpageref[#1]{#2}% |
| 12649 |
\endgroup |
| 12650 |
}% |
| 12651 |
\renewcommand\Vr@f[2][]{% |
| 12652 |
\begingroup |
| 12653 |
\let\T@pageref\@pagerefstar |
| 12654 |
\hyperref[{#2}]{% |
| 12655 |
\Ref*{#2} |
| 12656 |
\vpageref[#1]{#2}% |
| 12657 |
}% |
| 12658 |
\endgroup |
| 12659 |
}% |
| 12660 |
\renewcommand\vr@f[2][]{% |
| 12661 |
\begingroup |
| 12662 |
\let\T@pageref\@pagerefstar |
| 12663 |
\hyperref[{#2}]{% |
| 12664 |
\ref*{#2} |
| 12665 |
\vpageref[#1]{#2}% |
| 12666 |
}% |
| 12667 |
\endgroup |
| 12668 |
}% |
| 12669 |
\renewcommand\vref@star[2][]{% |
| 12670 |
\begingroup |
| 12671 |
\let\T@pageref\@pagerefstar |
| 12672 |
\ref*{#2} |
| 12673 |
\vpageref[#1]{#2}% |
| 12674 |
\endgroup |
| 12675 |
}% |
| 12676 |
}{}% |
| 12677 |
}{}% |
| 12678 |
} |
| 12679 |
% \end{macrocode} |
| 12680 |
% \begin{macrocode} |
| 12681 |
\DeclareRobustCommand*{\autopageref}{% |
| 12682 |
\@ifstar{% |
| 12683 |
\HyRef@autopagerefname\pageref*% |
| 12684 |
}\HyRef@autopageref |
| 12685 |
} |
| 12686 |
\def\HyRef@autopageref#1{% |
| 12687 |
\hyperref[{#1}]{\HyRef@autopagerefname\pageref*{#1}}% |
| 12688 |
} |
| 12689 |
\def\HyRef@autopagerefname{% |
| 12690 |
\@ifundefined{pageautorefname}{% |
| 12691 |
\@ifundefined{pagename}{% |
| 12692 |
\Hy@Warning{No autoref name for `page'}% |
| 12693 |
}{% |
| 12694 |
\pagename\nobreakspace |
| 12695 |
}% |
| 12696 |
}{% |
| 12697 |
\pageautorefname\nobreakspace |
| 12698 |
}% |
| 12699 |
} |
| 12700 |
% \end{macrocode} |
| 12701 |
% \cs{leavevmode} is added to make package wrapfigure happy, if |
| 12702 |
% \cs{autoref} starts a paragraph. |
| 12703 |
% \begin{macrocode} |
| 12704 |
\NewDocumentCommand\autoref{s} |
| 12705 |
{\leavevmode |
| 12706 |
\IfBooleanTF{#1}{\HyRef@autoref\@gobbletwo}{\HyRef@autoref\hyper@@link}} |
| 12707 |
\def\HyRef@autoref#1#2{% |
| 12708 |
\begingroup |
| 12709 |
\Hy@safe@activestrue |
| 12710 |
\expandafter\HyRef@autosetref\csname r@#2\endcsname{#2}{#1}% |
| 12711 |
\endgroup |
| 12712 |
} |
| 12713 |
\def\HyRef@autosetref#1#2#3{% link command, csname, refname |
| 12714 |
\HyRef@ShowKeysRef{#2}% |
| 12715 |
\ifcase 0\ifx#1\relax 1\fi\ifx#1\Hy@varioref@undefined 1\fi\relax |
| 12716 |
\edef\HyRef@thisref{% |
| 12717 |
\expandafter\@fourthoffive#1\@empty\@empty\@empty |
| 12718 |
}% |
| 12719 |
\expandafter\HyRef@testreftype\HyRef@thisref.\\% |
| 12720 |
\Hy@safe@activesfalse |
| 12721 |
#3{% |
| 12722 |
\expandafter\@fifthoffive#1\@empty\@empty\@empty |
| 12723 |
}{% |
| 12724 |
\expandafter\@fourthoffive#1\@empty\@empty\@empty |
| 12725 |
}{% |
| 12726 |
\HyRef@currentHtag |
| 12727 |
\expandafter\@firstoffive#1\@empty\@empty\@empty |
| 12728 |
\null |
| 12729 |
}% |
| 12730 |
\else |
| 12731 |
\protect\G@refundefinedtrue |
| 12732 |
\nfss@text{\reset@font\bfseries ??}% |
| 12733 |
\@latex@warning{% |
| 12734 |
Reference `#2' on page \thepage\space undefined% |
| 12735 |
}% |
| 12736 |
\fi |
| 12737 |
} |
| 12738 |
\def\HyRef@testreftype#1.#2\\{% |
| 12739 |
\@ifundefined{#1autorefname}{% |
| 12740 |
\@ifundefined{#1name}{% |
| 12741 |
\HyRef@StripStar#1\\*\\\@nil{#1}% |
| 12742 |
\@ifundefined{\HyRef@name autorefname}{% |
| 12743 |
\@ifundefined{\HyRef@name name}{% |
| 12744 |
\def\HyRef@currentHtag{}% |
| 12745 |
\Hy@Warning{No autoref name for `#1'}% |
| 12746 |
}{% |
| 12747 |
\edef\HyRef@currentHtag{% |
| 12748 |
\expandafter\noexpand\csname\HyRef@name name\endcsname |
| 12749 |
\noexpand~% |
| 12750 |
}% |
| 12751 |
}% |
| 12752 |
}{% |
| 12753 |
\edef\HyRef@currentHtag{% |
| 12754 |
\expandafter\noexpand |
| 12755 |
\csname\HyRef@name autorefname\endcsname |
| 12756 |
\noexpand~% |
| 12757 |
}% |
| 12758 |
}% |
| 12759 |
}{% |
| 12760 |
\edef\HyRef@currentHtag{% |
| 12761 |
\expandafter\noexpand\csname#1name\endcsname |
| 12762 |
\noexpand~% |
| 12763 |
}% |
| 12764 |
}% |
| 12765 |
}{% |
| 12766 |
\edef\HyRef@currentHtag{% |
| 12767 |
\expandafter\noexpand\csname#1autorefname\endcsname |
| 12768 |
\noexpand~% |
| 12769 |
}% |
| 12770 |
}% |
| 12771 |
} |
| 12772 |
\def\HyRef@StripStar#1*\\#2\@nil#3{% |
| 12773 |
\def\HyRef@name{#2}% |
| 12774 |
\ifx\HyRef@name\HyRef@CaseStar |
| 12775 |
\def\HyRef@name{#1}% |
| 12776 |
\else |
| 12777 |
\def\HyRef@name{#3}% |
| 12778 |
\fi |
| 12779 |
} |
| 12780 |
\def\HyRef@CaseStar{*\\} |
| 12781 |
\def\HyRef@currentHtag{} |
| 12782 |
% \end{macrocode} |
| 12783 |
% |
| 12784 |
% Support for package |showkeys|. |
| 12785 |
% \begin{macro}{\HyRef@ShowKeysRef} |
| 12786 |
% \begin{macrocode} |
| 12787 |
\let\HyRef@ShowKeysRef\@gobble |
| 12788 |
\def\HyRef@ShowKeysInit{% |
| 12789 |
\@ifundefined{SK@@label}{} |
| 12790 |
{% |
| 12791 |
\ifx\SK@ref\@empty |
| 12792 |
\else |
| 12793 |
\def\HyRef@ShowKeysRef{% |
| 12794 |
\SK@\SK@@ref |
| 12795 |
}% |
| 12796 |
\fi |
| 12797 |
}% |
| 12798 |
} |
| 12799 |
\AddToHook{package/showkeys/after}{\HyRef@ShowKeysInit} |
| 12800 |
% \end{macrocode} |
| 12801 |
% \end{macro} |
| 12802 |
% |
| 12803 |
% Defaults for the names that \cmd{\autoref} uses. |
| 12804 |
% \begin{macrocode} |
| 12805 |
\providecommand*\AMSautorefname{\equationautorefname} |
| 12806 |
\providecommand*\Hfootnoteautorefname{\footnoteautorefname} |
| 12807 |
\providecommand*\Itemautorefname{\itemautorefname} |
| 12808 |
\providecommand*\itemautorefname{item} |
| 12809 |
\providecommand*\equationautorefname{Equation} |
| 12810 |
\providecommand*\footnoteautorefname{footnote} |
| 12811 |
\providecommand*\itemautorefname{item} |
| 12812 |
\providecommand*\figureautorefname{Figure} |
| 12813 |
\providecommand*\tableautorefname{Table} |
| 12814 |
\providecommand*\partautorefname{Part} |
| 12815 |
\providecommand*\appendixautorefname{Appendix} |
| 12816 |
\providecommand*\chapterautorefname{chapter} |
| 12817 |
\providecommand*\sectionautorefname{section} |
| 12818 |
\providecommand*\subsectionautorefname{subsection} |
| 12819 |
\providecommand*\subsubsectionautorefname{subsubsection} |
| 12820 |
\providecommand*\paragraphautorefname{paragraph} |
| 12821 |
\providecommand*\subparagraphautorefname{subparagraph} |
| 12822 |
\providecommand*\FancyVerbLineautorefname{line} |
| 12823 |
\providecommand*\theoremautorefname{Theorem} |
| 12824 |
\providecommand*\pageautorefname{page} |
| 12825 |
% \end{macrocode} |
| 12826 |
% |
| 12827 |
% \begin{macrocode} |
| 12828 |
%</packageEnd> |
| 12829 |
% \end{macrocode} |
| 12830 |
% |
| 12831 |
% \section{Configuration files} |
| 12832 |
% |
| 12833 |
% \subsection{PS/PDF strings} |
| 12834 |
% |
| 12835 |
% Some drivers write PS or PDF strings. These strings are delimited |
| 12836 |
% by parentheses, therefore a lonely unmatched parenthesis must be |
| 12837 |
% avoided to avoid PS or PDF syntax errors. Also the backslash character |
| 12838 |
% itself has to be protected. |
| 12839 |
% |
| 12840 |
% \begin{macro}{\Hy@pstringdef} |
| 12841 |
% Therefore such strings should be passed through |\Hy@pstringdef|. |
| 12842 |
% The first argument holds a macro for the result, the second |
| 12843 |
% argument is the string that needs protecting. |
| 12844 |
% Since version 1.30.0 pdf\TeX\ offers \cs{pdfescapestring}. |
| 12845 |
% \begin{macrocode} |
| 12846 |
%<*pdftex|dvipdfm|xetex|vtex|pdfmarkbase|dviwindo> |
| 12847 |
\begingroup\expandafter\expandafter\expandafter\endgroup |
| 12848 |
\expandafter\ifx\csname pdf@escapestring\endcsname\relax |
| 12849 |
\begingroup |
| 12850 |
\catcode`\|=0 % |
| 12851 |
\@makeother\\% |
| 12852 |
|@firstofone{|endgroup |
| 12853 |
|def|Hy@pstringdef#1#2{% |
| 12854 |
|begingroup |
| 12855 |
|edef~{|string~}% |
| 12856 |
|xdef|Hy@gtemp{#2}% |
| 12857 |
|endgroup |
| 12858 |
|let#1|Hy@gtemp |
| 12859 |
|@onelevel@sanitize#1% |
| 12860 |
|edef#1{|expandafter|Hy@ExchangeBackslash#1\|@nil}% |
| 12861 |
|edef#1{|expandafter|Hy@ExchangeLeftParenthesis#1(|@nil}% |
| 12862 |
|edef#1{|expandafter|Hy@ExchangeRightParenthesis#1)|@nil}% |
| 12863 |
}% |
| 12864 |
|def|Hy@ExchangeBackslash#1\#2|@nil{% |
| 12865 |
#1% |
| 12866 |
|ifx|\#2|\%% |
| 12867 |
|else |
| 12868 |
\\% |
| 12869 |
|Hy@ReturnAfterFi{% |
| 12870 |
|Hy@ExchangeBackslash#2|@nil |
| 12871 |
}% |
| 12872 |
|fi |
| 12873 |
}% |
| 12874 |
}% |
| 12875 |
\def\Hy@ExchangeLeftParenthesis#1(#2\@nil{% |
| 12876 |
#1% |
| 12877 |
\ifx\\#2\\% |
| 12878 |
\else |
| 12879 |
\@backslashchar(% |
| 12880 |
\Hy@ReturnAfterFi{% |
| 12881 |
\Hy@ExchangeLeftParenthesis#2\@nil |
| 12882 |
}% |
| 12883 |
\fi |
| 12884 |
}% |
| 12885 |
\def\Hy@ExchangeRightParenthesis#1)#2\@nil{% |
| 12886 |
#1% |
| 12887 |
\ifx\\#2\\% |
| 12888 |
\else |
| 12889 |
\@backslashchar)% |
| 12890 |
\Hy@ReturnAfterFi{% |
| 12891 |
\Hy@ExchangeRightParenthesis#2\@nil |
| 12892 |
}% |
| 12893 |
\fi |
| 12894 |
}% |
| 12895 |
\else |
| 12896 |
\def\Hy@pstringdef#1#2{% |
| 12897 |
\begingroup |
| 12898 |
\edef~{\string~}% |
| 12899 |
\xdef\Hy@gtemp{\pdf@escapestring{#2}}% |
| 12900 |
\endgroup |
| 12901 |
\let#1\Hy@gtemp |
| 12902 |
}% |
| 12903 |
\fi |
| 12904 |
%</pdftex|dvipdfm|xetex|vtex|pdfmarkbase|dviwindo> |
| 12905 |
% \end{macrocode} |
| 12906 |
% \end{macro} |
| 12907 |
% |
| 12908 |
% \subsection{pdftex} |
| 12909 |
% |
| 12910 |
% \begin{macrocode} |
| 12911 |
%<*pdftex> |
| 12912 |
\providecommand*{\XR@ext}{pdf} |
| 12913 |
\Hy@setbreaklinks{true} |
| 12914 |
\def\HyPat@ObjRef{% |
| 12915 |
[0-9]*[1-9][0-9]* 0 R% |
| 12916 |
} |
| 12917 |
% \end{macrocode} |
| 12918 |
% This driver is for Han The Thanh's \TeX{} variant |
| 12919 |
% which produces PDF directly. This has new primitives |
| 12920 |
% to do PDF things, which usually translate almost directly to |
| 12921 |
% PDF code, so there is a lot of flexibility which we do not at |
| 12922 |
% present harness. |
| 12923 |
% |
| 12924 |
% Set PDF version if requested by option \textsf{pdfversion}. |
| 12925 |
% \begin{itemize} |
| 12926 |
% \item pdf\TeX\ 1.10a, 2003-01-16: \cs{pdfoptionpdfminorversion} |
| 12927 |
% \item pdf\TeX\ 1.30, 2005-08-081: \cs{pdfminorversion} |
| 12928 |
% \end{itemize} |
| 12929 |
% \begin{macrocode} |
| 12930 |
\def\Hy@pdfminorversion{\pdfoptionpdfminorversion}% |
| 12931 |
\def\Hy@pdfminorversion{\pdfminorversion}% |
| 12932 |
\ifHy@ocgcolorlinks |
| 12933 |
\ifnum\Hy@pdfmajorminor@version<105 % |
| 12934 |
\kvsetkeys{Hyp}{pdfversion=1.5}% |
| 12935 |
\fi |
| 12936 |
\fi |
| 12937 |
\ifHy@setpdfversion |
| 12938 |
\ifnum\Hy@pdf@majorminor@version<105 % |
| 12939 |
\@ifundefined{pdfobjcompresslevel}{% |
| 12940 |
}{% |
| 12941 |
\ifHy@verbose |
| 12942 |
\Hy@InfoNoLine{% |
| 12943 |
PDF object streams are disabled, because they are% |
| 12944 |
\MessageBreak |
| 12945 |
not supported in requested PDF version % |
| 12946 |
\Hy@pdf@majorversion.\Hy@pdf@minorversion |
| 12947 |
}% |
| 12948 |
\fi |
| 12949 |
\pdfobjcompresslevel=\z@ |
| 12950 |
}% |
| 12951 |
\fi |
| 12952 |
\ifnum\Hy@pdfmajorminor@version=\Hy@pdf@majorminor@version\relax |
| 12953 |
\else |
| 12954 |
\let\Hy@temp\@empty |
| 12955 |
\def\Hy@temp@A#1#2{% |
| 12956 |
\ifnum#1>\z@ |
| 12957 |
\edef\Hy@temp{% |
| 12958 |
\Hy@temp |
| 12959 |
\space\space |
| 12960 |
\the#1\space #2% |
| 12961 |
\ifnum#1=\@ne\else s\fi |
| 12962 |
\MessageBreak |
| 12963 |
}% |
| 12964 |
\fi |
| 12965 |
}% |
| 12966 |
\Hy@temp@A\pdflastobj{PDF object}% |
| 12967 |
\Hy@temp@A\pdflastxform{form XObject}% |
| 12968 |
\Hy@temp@A\pdflastximage{image XObject}% |
| 12969 |
\Hy@temp@A\pdflastannot{annotation}% |
| 12970 |
\@ifundefined{pdflastlink}{% |
| 12971 |
}{% |
| 12972 |
\Hy@temp@A\pdflastlink{link}% |
| 12973 |
}% |
| 12974 |
\ifx\Hy@temp\@empty |
| 12975 |
\Hy@pdfmajorversion=\Hy@pdf@majorversion\relax |
| 12976 |
\Hy@pdfminorversion=\Hy@pdf@minorversion\relax |
| 12977 |
\else |
| 12978 |
\let\Hy@temp@A\@empty |
| 12979 |
\ifnum\Hy@pdf@majorminor@version=104 % |
| 12980 |
\IfFileExists{pdf14.sty}{% |
| 12981 |
\def\Hy@temp@A{% |
| 12982 |
\MessageBreak |
| 12983 |
Or \string\RequirePackage{pdf14} can be used% |
| 12984 |
\MessageBreak |
| 12985 |
before \string\documentclass\space as shortcut% |
| 12986 |
}% |
| 12987 |
}{}% |
| 12988 |
\fi |
| 12989 |
\Hy@WarningNoLine{% |
| 12990 |
The PDF version number could not be set,\MessageBreak |
| 12991 |
because some PDF objects are already written:% |
| 12992 |
\MessageBreak |
| 12993 |
\Hy@temp |
| 12994 |
The version should be set as early as possible:% |
| 12995 |
\MessageBreak |
| 12996 |
\space\space |
| 12997 |
\expandafter\string\Hy@pdfmajorversion=\Hy@pdf@majorversion, % |
| 12998 |
\expandafter\string\Hy@pdfminorversion=\Hy@pdf@minorversion |
| 12999 |
\string\relax |
| 13000 |
\ifnum\Hy@pdf@majorminor@version<105 % |
| 13001 |
\@ifundefined{pdfobjcompresslevel}{% |
| 13002 |
}{% |
| 13003 |
\MessageBreak |
| 13004 |
\space\space |
| 13005 |
\string\pdfobjcompresslevel=0\string\relax |
| 13006 |
}% |
| 13007 |
\fi |
| 13008 |
\Hy@temp@A |
| 13009 |
}% |
| 13010 |
\fi |
| 13011 |
\fi |
| 13012 |
\PackageInfo{hyperref}{% |
| 13013 |
\expandafter\string\Hy@pdfmajorversion.% |
| 13014 |
\expandafter\string\Hy@pdfminorversion |
| 13015 |
:=\number\Hy@pdf@majorversion.\number\Hy@pdf@minorversion\space |
| 13016 |
}% |
| 13017 |
\fi |
| 13018 |
\edef\Hy@pdf@majorversion{\number\Hy@pdfmajorversion}% |
| 13019 |
\edef\Hy@pdf@minorversion{\number\Hy@pdfminorversion}% |
| 13020 |
\Hy@DisableOption{pdfversion}% |
| 13021 |
% \end{macrocode} |
| 13022 |
% |
| 13023 |
% \begin{macrocode} |
| 13024 |
\ifHy@ocgcolorlinks |
| 13025 |
\pdf@ifdraftmode{}{% |
| 13026 |
\immediate\pdfobj{% |
| 13027 |
<<% |
| 13028 |
/Type/OCG% |
| 13029 |
/Name(View)% |
| 13030 |
/Usage<<% |
| 13031 |
/Print<<% |
| 13032 |
/PrintState/OFF% |
| 13033 |
>>% |
| 13034 |
/View<<% |
| 13035 |
/ViewState/ON% |
| 13036 |
>>% |
| 13037 |
>>% |
| 13038 |
>>% |
| 13039 |
}% |
| 13040 |
\edef\OBJ@OCG@view{\the\pdflastobj\space 0 R}% |
| 13041 |
\immediate\pdfobj{% |
| 13042 |
<<% |
| 13043 |
/Type/OCG% |
| 13044 |
/Name(Print)% |
| 13045 |
/Usage<<% |
| 13046 |
/Print<<% |
| 13047 |
/PrintState/ON% |
| 13048 |
>>% |
| 13049 |
/View<<% |
| 13050 |
/ViewState/OFF% |
| 13051 |
>>% |
| 13052 |
>>% |
| 13053 |
>>% |
| 13054 |
}% |
| 13055 |
\edef\OBJ@OCG@print{\the\pdflastobj\space 0 R}% |
| 13056 |
\immediate\pdfobj{% |
| 13057 |
[% |
| 13058 |
\OBJ@OCG@view\space\OBJ@OCG@print |
| 13059 |
]% |
| 13060 |
}% |
| 13061 |
\edef\OBJ@OCGs{\the\pdflastobj\space 0 R}% |
| 13062 |
\pdfcatalog{% |
| 13063 |
/OCProperties<<% |
| 13064 |
/OCGs \OBJ@OCGs |
| 13065 |
/D<<% |
| 13066 |
/OFF[\OBJ@OCG@print]% |
| 13067 |
/AS[% |
| 13068 |
<<% |
| 13069 |
/Event/View% |
| 13070 |
/OCGs \OBJ@OCGs |
| 13071 |
/Category[/View]% |
| 13072 |
>>% |
| 13073 |
<<% |
| 13074 |
/Event/Print% |
| 13075 |
/OCGs \OBJ@OCGs |
| 13076 |
/Category[/Print]% |
| 13077 |
>>% |
| 13078 |
<<% |
| 13079 |
/Event/Export% |
| 13080 |
/OCGs \OBJ@OCGs |
| 13081 |
/Category[/Print]% |
| 13082 |
>>% |
| 13083 |
]% |
| 13084 |
>>% |
| 13085 |
>>% |
| 13086 |
}% |
| 13087 |
\begingroup |
| 13088 |
\edef\x{\endgroup |
| 13089 |
\pdfpageresources{% |
| 13090 |
\the\pdfpageresources |
| 13091 |
/Properties<<% |
| 13092 |
/OCView \OBJ@OCG@view |
| 13093 |
/OCPrint \OBJ@OCG@print |
| 13094 |
>>% |
| 13095 |
}% |
| 13096 |
}% |
| 13097 |
\x |
| 13098 |
}% |
| 13099 |
\Hy@AtBeginDocument{% |
| 13100 |
\def\Hy@colorlink#1{% |
| 13101 |
\begingroup |
| 13102 |
\ifHy@ocgcolorlinks |
| 13103 |
\def\Hy@ocgcolor{#1}% |
| 13104 |
\setbox0=\hbox\bgroup\color@begingroup |
| 13105 |
\else |
| 13106 |
\HyColor@UseColor#1% |
| 13107 |
\fi |
| 13108 |
}% |
| 13109 |
\def\Hy@endcolorlink{% |
| 13110 |
\ifHy@ocgcolorlinks |
| 13111 |
\color@endgroup\egroup |
| 13112 |
\mbox{% |
| 13113 |
\pdfliteral page{/OC/OCPrint BDC}% |
| 13114 |
\rlap{\copy0}% |
| 13115 |
\pdfliteral page{EMC/OC/OCView BDC}% |
| 13116 |
\begingroup |
| 13117 |
\expandafter\HyColor@UseColor\Hy@ocgcolor |
| 13118 |
\box0 % |
| 13119 |
\endgroup |
| 13120 |
\pdfliteral page{EMC}% |
| 13121 |
}% |
| 13122 |
\fi |
| 13123 |
\endgroup |
| 13124 |
}% |
| 13125 |
}% |
| 13126 |
\else |
| 13127 |
\Hy@DisableOption{ocgcolorlinks}% |
| 13128 |
\fi |
| 13129 |
% \end{macrocode} |
| 13130 |
% |
| 13131 |
% First, allow for some changes and additions to pdftex syntax: |
| 13132 |
% \begin{macrocode} |
| 13133 |
\def\setpdflinkmargin#1{% |
| 13134 |
\begingroup |
| 13135 |
\setlength{\dimen@}{#1}% |
| 13136 |
\expandafter\endgroup |
| 13137 |
\expandafter\pdflinkmargin\the\dimen@\relax |
| 13138 |
} |
| 13139 |
\pdflinkmargin1pt % |
| 13140 |
% \end{macrocode} |
| 13141 |
% First set up the default linking |
| 13142 |
% \begin{macrocode} |
| 13143 |
\providecommand*\@pdfview{XYZ} |
| 13144 |
% \end{macrocode} |
| 13145 |
% First define the anchors: |
| 13146 |
% \begin{macrocode} |
| 13147 |
\Hy@WrapperDef\new@pdflink#1{% |
| 13148 |
\ifhmode |
| 13149 |
\@savsf\spacefactor |
| 13150 |
\fi |
| 13151 |
\Hy@SaveLastskip |
| 13152 |
\Hy@VerboseAnchor{#1}% |
| 13153 |
\Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% |
| 13154 |
\Hy@DestName\Hy@pstringDest\@pdfview |
| 13155 |
\Hy@RestoreLastskip |
| 13156 |
\ifhmode |
| 13157 |
\spacefactor\@savsf |
| 13158 |
\fi |
| 13159 |
} |
| 13160 |
\let\pdf@endanchor\@empty |
| 13161 |
% \end{macrocode} |
| 13162 |
% \begin{macro}{\Hy@DestName} |
| 13163 |
% Wrap the call of \verb|\pdfdest name| in \cs{Hy@DestName}. |
| 13164 |
% Then it can easier be caught by package |hypdestopt|. |
| 13165 |
% \begin{macrocode} |
| 13166 |
\def\Hy@DestName#1#2{% |
| 13167 |
\pdfdest name{#1}#2\relax |
| 13168 |
} |
| 13169 |
% \end{macrocode} |
| 13170 |
% \end{macro} |
| 13171 |
% |
| 13172 |
% Now the links; the interesting part here is the set of attributes |
| 13173 |
% which define how the link looks. We probably want to add a border |
| 13174 |
% and color it, but there are other choices. This directly translates |
| 13175 |
% to PDF code, so consult the manual for how to change this. We will |
| 13176 |
% add an interface at some point. |
| 13177 |
% \begin{macrocode} |
| 13178 |
\providecommand*\@pdfborder{0 0 1} |
| 13179 |
\providecommand*\@pdfborderstyle{} |
| 13180 |
\def\Hy@undefinedname{UNDEFINED} |
| 13181 |
\def\find@pdflink#1#2{% |
| 13182 |
\leavevmode |
| 13183 |
\protected@edef\Hy@testname{#2}% |
| 13184 |
\ifx\Hy@testname\@empty |
| 13185 |
\Hy@Warning{% |
| 13186 |
Empty destination name,\MessageBreak |
| 13187 |
using `\Hy@undefinedname'% |
| 13188 |
}% |
| 13189 |
\let\Hy@testname\Hy@undefinedname |
| 13190 |
\else |
| 13191 |
\Hy@pstringdef\Hy@testname{% |
| 13192 |
\expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% |
| 13193 |
}% |
| 13194 |
\fi |
| 13195 |
\Hy@StartlinkName{% |
| 13196 |
\ifHy@pdfa /F 4\fi |
| 13197 |
\Hy@setpdfborder |
| 13198 |
\Hy@setpdfhighlight |
| 13199 |
\ifx\CurrentBorderColor\relax |
| 13200 |
\else |
| 13201 |
/C[\CurrentBorderColor]% |
| 13202 |
\fi |
| 13203 |
}\Hy@testname |
| 13204 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 13205 |
} |
| 13206 |
\def\Hy@StartlinkName#1#2{% |
| 13207 |
\pdfstartlink attr{#1}goto name{#2}\relax |
| 13208 |
} |
| 13209 |
\def\close@pdflink{% |
| 13210 |
\Hy@endcolorlink |
| 13211 |
\Hy@VerboseLinkStop |
| 13212 |
\pdfendlink |
| 13213 |
} |
| 13214 |
\def\hyper@anchor#1{% |
| 13215 |
\new@pdflink{#1}\anchor@spot\pdf@endanchor |
| 13216 |
} |
| 13217 |
\def\hyper@anchorstart#1{% |
| 13218 |
\new@pdflink{#1}% |
| 13219 |
\Hy@activeanchortrue |
| 13220 |
} |
| 13221 |
\def\hyper@anchorend{% |
| 13222 |
\pdf@endanchor |
| 13223 |
\Hy@activeanchorfalse |
| 13224 |
} |
| 13225 |
\def\hyper@linkstart#1#2{% |
| 13226 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 13227 |
\@ifundefined{@#1bordercolor}{% |
| 13228 |
\let\CurrentBorderColor\relax |
| 13229 |
}{% |
| 13230 |
\edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% |
| 13231 |
}% |
| 13232 |
\find@pdflink{#1}{#2}% |
| 13233 |
} |
| 13234 |
\def\hyper@linkend{\close@pdflink} |
| 13235 |
\def\hyper@link#1#2#3{% |
| 13236 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 13237 |
\@ifundefined{@#1bordercolor}{% |
| 13238 |
\let\CurrentBorderColor\relax |
| 13239 |
}{% |
| 13240 |
\edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% |
| 13241 |
}% |
| 13242 |
\find@pdflink{#1}{#2}#3\Hy@xspace@end |
| 13243 |
\close@pdflink |
| 13244 |
} |
| 13245 |
\let\CurrentBorderColor\@linkbordercolor |
| 13246 |
\def\hyper@linkurl#1#2{% |
| 13247 |
\begingroup |
| 13248 |
\Hy@pstringdef\Hy@pstringURI{#2}% |
| 13249 |
\hyper@chars |
| 13250 |
\leavevmode |
| 13251 |
\pdfstartlink |
| 13252 |
attr{% |
| 13253 |
\Hy@setpdfborder |
| 13254 |
\Hy@setpdfhighlight |
| 13255 |
\ifx\@urlbordercolor\relax |
| 13256 |
\else |
| 13257 |
/C[\@urlbordercolor]% |
| 13258 |
\fi |
| 13259 |
}% |
| 13260 |
user{% |
| 13261 |
/Subtype/Link% |
| 13262 |
\ifHy@pdfa /F 4\fi |
| 13263 |
/A<<% |
| 13264 |
/Type/Action% |
| 13265 |
/S/URI% |
| 13266 |
/URI(\Hy@pstringURI)% |
| 13267 |
\ifHy@href@ismap |
| 13268 |
/IsMap true% |
| 13269 |
\fi |
| 13270 |
\Hy@href@nextactionraw |
| 13271 |
>>% |
| 13272 |
}% |
| 13273 |
\relax |
| 13274 |
\Hy@colorlink\@urlcolor#1\Hy@xspace@end |
| 13275 |
\close@pdflink |
| 13276 |
\endgroup |
| 13277 |
} |
| 13278 |
\def\hyper@linkfile#1#2#3{% anchor text, filename, linkname |
| 13279 |
\begingroup |
| 13280 |
\def\Hy@pstringF{#2}% |
| 13281 |
\Hy@CleanupFile\Hy@pstringF |
| 13282 |
\Hy@pstringdef\Hy@pstringF\Hy@pstringF |
| 13283 |
\Hy@pstringdef\Hy@pstringD{#3}% |
| 13284 |
\Hy@MakeRemoteAction |
| 13285 |
\leavevmode |
| 13286 |
\pdfstartlink |
| 13287 |
attr{% |
| 13288 |
\Hy@setpdfborder |
| 13289 |
\Hy@setpdfhighlight |
| 13290 |
\ifx\@filebordercolor\relax |
| 13291 |
\else |
| 13292 |
/C[\@filebordercolor]% |
| 13293 |
\fi |
| 13294 |
}% |
| 13295 |
user {% |
| 13296 |
/Subtype/Link% |
| 13297 |
\ifHy@pdfa /F 4\fi |
| 13298 |
/A<<% |
| 13299 |
/F(\Hy@pstringF)% |
| 13300 |
/S/GoToR% |
| 13301 |
\Hy@SetNewWindow |
| 13302 |
% \end{macrocode} |
| 13303 |
% If |#3| is empty, page 0; if its a number, Page number, otherwise |
| 13304 |
% a named destination. |
| 13305 |
% \begin{verbatim} |
| 13306 |
% \afterassignment\xxx\count@=0\foo!% |
| 13307 |
% |
| 13308 |
%\def\xxx#1!{% |
| 13309 |
% \ifx\xxx#1\xxx |
| 13310 |
% foo was an integer |
| 13311 |
% \else |
| 13312 |
% it wasnt |
| 13313 |
% \fi} |
| 13314 |
% \end{verbatim} |
| 13315 |
% \begin{macrocode} |
| 13316 |
\ifx\\#3\\% |
| 13317 |
/D[\Hy@href@page\@pdfremotestartview]% |
| 13318 |
\else |
| 13319 |
/D(\Hy@pstringD)% |
| 13320 |
\fi |
| 13321 |
\Hy@href@nextactionraw |
| 13322 |
>>% |
| 13323 |
}% |
| 13324 |
\relax |
| 13325 |
\Hy@colorlink\@filecolor#1\Hy@xspace@end |
| 13326 |
\close@pdflink |
| 13327 |
\endgroup |
| 13328 |
} |
| 13329 |
\def\@hyper@launch run:#1\\#2#3{% filename, anchor text linkname |
| 13330 |
\begingroup |
| 13331 |
\Hy@pstringdef\Hy@pstringF{#1}% |
| 13332 |
\Hy@pstringdef\Hy@pstringP{#3}% |
| 13333 |
\leavevmode |
| 13334 |
\pdfstartlink |
| 13335 |
attr{% |
| 13336 |
\Hy@setpdfborder |
| 13337 |
\Hy@setpdfhighlight |
| 13338 |
\ifx\@runbordercolor\relax |
| 13339 |
\else |
| 13340 |
/C[\@runbordercolor]% |
| 13341 |
\fi |
| 13342 |
}% |
| 13343 |
user {% |
| 13344 |
/Subtype/Link% |
| 13345 |
\ifHy@pdfa /F 4\fi |
| 13346 |
/A<<% |
| 13347 |
/F(\Hy@pstringF)% |
| 13348 |
/S/Launch% |
| 13349 |
\Hy@SetNewWindow |
| 13350 |
\ifx\\#3\\% |
| 13351 |
\else |
| 13352 |
/Win<</P(\Hy@pstringP)/F(\Hy@pstringF)>>% |
| 13353 |
\fi |
| 13354 |
\Hy@href@nextactionraw |
| 13355 |
>>% |
| 13356 |
}% |
| 13357 |
\relax |
| 13358 |
\Hy@colorlink\@runcolor#2\Hy@xspace@end |
| 13359 |
\close@pdflink |
| 13360 |
\endgroup |
| 13361 |
} |
| 13362 |
% \end{macrocode} |
| 13363 |
% \begin{macro}{\PDF@SetupDox} |
| 13364 |
% \begin{macrocode} |
| 13365 |
\def\PDF@SetupDoc{% |
| 13366 |
\ifx\@pdfpagescrop\@empty |
| 13367 |
\else |
| 13368 |
\edef\process@me{% |
| 13369 |
\pdfpagesattr={% |
| 13370 |
/CropBox[\@pdfpagescrop]% |
| 13371 |
\expandafter\ifx\expandafter\\\the\pdfpagesattr\\% |
| 13372 |
\else |
| 13373 |
^^J\the\pdfpagesattr |
| 13374 |
\fi |
| 13375 |
}% |
| 13376 |
}% |
| 13377 |
\process@me |
| 13378 |
\fi |
| 13379 |
\Hy@pstringdef\Hy@pstringB{\@baseurl}% |
| 13380 |
\pdfcatalog{% |
| 13381 |
/PageMode/\@pdfpagemode |
| 13382 |
\ifx\@baseurl\@empty |
| 13383 |
\else |
| 13384 |
/URI<</Base(\Hy@pstringB)>>% |
| 13385 |
\fi |
| 13386 |
}% |
| 13387 |
\ifx\@pdfstartpage\@empty |
| 13388 |
\else |
| 13389 |
\ifx\@pdfstartview\@empty |
| 13390 |
\else |
| 13391 |
openaction goto page\@pdfstartpage{\@pdfstartview}% |
| 13392 |
\fi |
| 13393 |
\fi |
| 13394 |
\edef\Hy@temp{% |
| 13395 |
\ifHy@pdftoolbar\else /HideToolbar true\fi |
| 13396 |
\ifHy@pdfmenubar\else /HideMenubar true\fi |
| 13397 |
\ifHy@pdfwindowui\else /HideWindowUI true\fi |
| 13398 |
\ifHy@pdffitwindow /FitWindow true\fi |
| 13399 |
\ifHy@pdfcenterwindow /CenterWindow true\fi |
| 13400 |
\ifHy@pdfdisplaydoctitle /DisplayDocTitle true\fi |
| 13401 |
\Hy@UseNameKey{NonFullScreenPageMode}\@pdfnonfullscreenpagemode |
| 13402 |
\Hy@UseNameKey{Direction}\@pdfdirection |
| 13403 |
\Hy@UseNameKey{ViewArea}\@pdfviewarea |
| 13404 |
\Hy@UseNameKey{ViewClip}\@pdfviewclip |
| 13405 |
\Hy@UseNameKey{PrintArea}\@pdfprintarea |
| 13406 |
\Hy@UseNameKey{PrintClip}\@pdfprintclip |
| 13407 |
\Hy@UseNameKey{PrintScaling}\@pdfprintscaling |
| 13408 |
\Hy@UseNameKey{Duplex}\@pdfduplex |
| 13409 |
\ifx\@pdfpicktraybypdfsize\@empty |
| 13410 |
\else |
| 13411 |
/PickTrayByPDFSize \@pdfpicktraybypdfsize |
| 13412 |
\fi |
| 13413 |
\ifx\@pdfprintpagerange\@empty |
| 13414 |
\else |
| 13415 |
/PrintPageRange[\@pdfprintpagerange]% |
| 13416 |
\fi |
| 13417 |
\ifx\@pdfnumcopies\@empty |
| 13418 |
\else |
| 13419 |
/NumCopies \@pdfnumcopies |
| 13420 |
\fi |
| 13421 |
}% |
| 13422 |
\pdfcatalog{% |
| 13423 |
\ifx\Hy@temp\@empty |
| 13424 |
\else |
| 13425 |
/ViewerPreferences<<\Hy@temp>>% |
| 13426 |
\fi |
| 13427 |
\Hy@UseNameKey{PageLayout}\@pdfpagelayout |
| 13428 |
\ifx\@pdflang\relax |
| 13429 |
\else |
| 13430 |
/Lang(\@pdflang)% |
| 13431 |
\fi |
| 13432 |
}% |
| 13433 |
} |
| 13434 |
% \end{macrocode} |
| 13435 |
% \end{macro} |
| 13436 |
% \begin{macro}{\PDF@FinishDoc} |
| 13437 |
% \begin{macrocode} |
| 13438 |
\def\PDF@FinishDoc{% |
| 13439 |
\pdf@ifdraftmode{}{% |
| 13440 |
\Hy@UseMaketitleInfos |
| 13441 |
\HyInfo@GenerateAddons |
| 13442 |
\pdfinfo{% |
| 13443 |
/Author(\@pdfauthor)% |
| 13444 |
/Title(\@pdftitle)% |
| 13445 |
/Subject(\@pdfsubject)% |
| 13446 |
/Creator(\@pdfcreator)% |
| 13447 |
\ifx\@pdfcreationdate\@empty |
| 13448 |
\else |
| 13449 |
/CreationDate(\@pdfcreationdate)% |
| 13450 |
\fi |
| 13451 |
\ifx\@pdfmoddate\@empty |
| 13452 |
\else |
| 13453 |
/ModDate(\@pdfmoddate)% |
| 13454 |
\fi |
| 13455 |
\ifx\@pdfproducer\relax |
| 13456 |
\else |
| 13457 |
/Producer(\@pdfproducer)% |
| 13458 |
\fi |
| 13459 |
/Keywords(\@pdfkeywords)% |
| 13460 |
\ifx\@pdftrapped\@empty |
| 13461 |
\else |
| 13462 |
/Trapped/\@pdftrapped |
| 13463 |
\fi |
| 13464 |
\HyInfo@Addons |
| 13465 |
}% |
| 13466 |
}% |
| 13467 |
\Hy@DisableOption{pdfauthor}% |
| 13468 |
\Hy@DisableOption{pdftitle}% |
| 13469 |
\Hy@DisableOption{pdfsubject}% |
| 13470 |
\Hy@DisableOption{pdfcreator}% |
| 13471 |
\Hy@DisableOption{addtopdfcreator}% |
| 13472 |
\Hy@DisableOption{pdfcreationdate}% |
| 13473 |
\Hy@DisableOption{pdfmoddate}% |
| 13474 |
\Hy@DisableOption{pdfproducer}% |
| 13475 |
\Hy@DisableOption{pdfkeywords}% |
| 13476 |
\Hy@DisableOption{pdftrapped}% |
| 13477 |
\Hy@DisableOption{pdfinfo}% |
| 13478 |
} |
| 13479 |
% \end{macrocode} |
| 13480 |
% \end{macro} |
| 13481 |
% \begin{macro}{\hyper@pagetransition} |
| 13482 |
% \cmd{\@pdfpagetransition} is initialized with \cmd{\relax}. So |
| 13483 |
% it indicates, if option pdfpagetransition is used. First previous |
| 13484 |
% |/Trans| entries are removed. If a new |/Trans| key exists, it is |
| 13485 |
% appended to \cmd{\pdfpageattr}. |
| 13486 |
% \begin{macrocode} |
| 13487 |
\def\hyper@pagetransition{% |
| 13488 |
\ifx\@pdfpagetransition\relax |
| 13489 |
\else |
| 13490 |
\expandafter\Hy@RemoveTransPageAttr |
| 13491 |
\the\pdfpageattr^^J/Trans{}>>\END |
| 13492 |
\ifx\@pdfpagetransition\@empty |
| 13493 |
\else |
| 13494 |
\edef\@processme{% |
| 13495 |
\global\pdfpageattr{% |
| 13496 |
\the\pdfpageattr |
| 13497 |
^^J/Trans << /S /\@pdfpagetransition\space >>% |
| 13498 |
}% |
| 13499 |
}% |
| 13500 |
\@processme |
| 13501 |
\fi |
| 13502 |
\fi |
| 13503 |
} |
| 13504 |
% \end{macrocode} |
| 13505 |
% \end{macro} |
| 13506 |
% \begin{macro}{\Hy@RemoveTransPageAttr} |
| 13507 |
% Macro \cmd{\Hy@RemoveTransPageAttr} removes a |/Trans| |
| 13508 |
% entry from \cmd{\pdfpageattr}. It is called with |
| 13509 |
% the end marker |^^J/Trans{}>>\END|. The trick is the |
| 13510 |
% empty group that does not appear in legal |
| 13511 |
% \cmd{\pdfpageattr} code. It appears in argument |
| 13512 |
% |#2| and shows, whether the parameter text |
| 13513 |
% catches a really |/Trans| object or the end marker. |
| 13514 |
% \begin{macrocode} |
| 13515 |
\gdef\Hy@RemoveTransPageAttr#1^^J/Trans#2#3>>#4\END{% |
| 13516 |
\ifx\\#2\\% |
| 13517 |
\global\pdfpageattr{#1}% |
| 13518 |
\else |
| 13519 |
\Hy@RemoveTransPageAttr#1#4\END |
| 13520 |
\fi |
| 13521 |
} |
| 13522 |
% \end{macrocode} |
| 13523 |
% \end{macro} |
| 13524 |
% |
| 13525 |
% \begin{macro}{\hyper@pageduration} |
| 13526 |
% \cmd{\@pdfpageduration} is initialized with \cmd{\relax}. So |
| 13527 |
% it indicates, if option pdfpageduration is used. First previous |
| 13528 |
% |/Dur| entries are removed. If a new |/Dur| key exists, it is |
| 13529 |
% appended to \cmd{\pdfpageattr}. |
| 13530 |
% \begin{macrocode} |
| 13531 |
\def\hyper@pageduration{% |
| 13532 |
\ifx\@pdfpageduration\relax |
| 13533 |
\else |
| 13534 |
\expandafter |
| 13535 |
\Hy@RemoveDurPageAttr\the\pdfpageattr^^J/Dur{} \END |
| 13536 |
\ifx\@pdfpageduration\@empty |
| 13537 |
\else |
| 13538 |
\edef\@processme{% |
| 13539 |
\global\pdfpageattr{% |
| 13540 |
\the\pdfpageattr |
| 13541 |
^^J/Dur \@pdfpageduration\space |
| 13542 |
}% |
| 13543 |
}% |
| 13544 |
\@processme |
| 13545 |
\fi |
| 13546 |
\fi |
| 13547 |
} |
| 13548 |
% \end{macrocode} |
| 13549 |
% \end{macro} |
| 13550 |
% \begin{macro}{\Hy@RemoveDurPageAttr} |
| 13551 |
% Macro \cmd{\Hy@RemoveDurPageAttr} removes a |/Dur| |
| 13552 |
% entry from \cmd{\pdfpageattr}. It is called with |
| 13553 |
% the end marker |^^J/Dur{} \END|. The trick is the |
| 13554 |
% empty group that does not appear in legal |
| 13555 |
% \cmd{\pdfpageattr} code. It appears in argument |
| 13556 |
% |#2| and shows, whether the parameter text |
| 13557 |
% catches a really |/Dur| object or the end marker. |
| 13558 |
% \begin{macrocode} |
| 13559 |
\gdef\Hy@RemoveDurPageAttr#1^^J/Dur#2#3 #4\END{% |
| 13560 |
\ifx\\#2\\% |
| 13561 |
\global\pdfpageattr{#1}% |
| 13562 |
\else |
| 13563 |
\Hy@RemoveDurPageAttr#1#4\END |
| 13564 |
\fi |
| 13565 |
} |
| 13566 |
% \end{macrocode} |
| 13567 |
% \end{macro} |
| 13568 |
% |
| 13569 |
% |
| 13570 |
% \begin{macrocode} |
| 13571 |
\pdf@ifdraftmode{}{% |
| 13572 |
\g@addto@macro\Hy@EveryPageHook{% |
| 13573 |
\hyper@pagetransition |
| 13574 |
\hyper@pageduration |
| 13575 |
}% |
| 13576 |
} |
| 13577 |
% \end{macrocode} |
| 13578 |
% |
| 13579 |
% Also Xe\TeX\ support \cs{pdfpagewidth} and \cs{pdfpageheight}, |
| 13580 |
% but it does not provide \cs{pdfhorigin} and \cs{pdfvorigin}. |
| 13581 |
% \begin{macrocode} |
| 13582 |
%</pdftex> |
| 13583 |
%<*pdftex|xetex> |
| 13584 |
\Hy@AtBeginDocument{% |
| 13585 |
\ifHy@setpagesize |
| 13586 |
\expandafter\@firstofone |
| 13587 |
\else |
| 13588 |
\expandafter\@gobble |
| 13589 |
\fi |
| 13590 |
{% |
| 13591 |
\@ifclassloaded{seminar}{% |
| 13592 |
%<*pdftex> |
| 13593 |
\setlength{\pdfhorigin}{1truein}% |
| 13594 |
\setlength{\pdfvorigin}{1truein}% |
| 13595 |
%</pdftex> |
| 13596 |
\ifportrait |
| 13597 |
\ifdim\paperwidth=\z@ |
| 13598 |
\else |
| 13599 |
\setlength{\pdfpagewidth}{\strip@pt\paperwidth truept}% |
| 13600 |
\fi |
| 13601 |
\ifdim\paperheight=\z@ |
| 13602 |
\else |
| 13603 |
\setlength{\pdfpageheight}{\strip@pt\paperheight truept}% |
| 13604 |
\fi |
| 13605 |
\else |
| 13606 |
\ifdim\paperheight=\z@ |
| 13607 |
\else |
| 13608 |
\setlength{\pdfpagewidth}{\strip@pt\paperheight truept}% |
| 13609 |
\fi |
| 13610 |
\ifdim\paperwidth=\z@ |
| 13611 |
\else |
| 13612 |
\setlength{\pdfpageheight}{\strip@pt\paperwidth truept}% |
| 13613 |
\fi |
| 13614 |
\fi |
| 13615 |
}{% |
| 13616 |
\ifnum\mag=\@m |
| 13617 |
\ifdim\stockwidth>\z@ |
| 13618 |
\ifdim\stockheight>\z@ |
| 13619 |
\setlength{\pdfpagewidth}{\stockwidth}% |
| 13620 |
\setlength{\pdfpageheight}{\stockheight}% |
| 13621 |
\else |
| 13622 |
\ifdim\paperwidth>\z@ |
| 13623 |
\ifdim\paperheight>\z@ |
| 13624 |
\setlength{\pdfpagewidth}{\paperwidth}% |
| 13625 |
\setlength{\pdfpageheight}{\paperheight}% |
| 13626 |
\fi |
| 13627 |
\fi |
| 13628 |
\fi |
| 13629 |
\else |
| 13630 |
\ifdim\stockwidth=\z@ |
| 13631 |
\ifdim\paperwidth>\z@ |
| 13632 |
\ifdim\paperheight>\z@ |
| 13633 |
\setlength{\pdfpagewidth}{\paperwidth}% |
| 13634 |
\setlength{\pdfpageheight}{\paperheight}% |
| 13635 |
\fi |
| 13636 |
\fi |
| 13637 |
\fi |
| 13638 |
\fi |
| 13639 |
\fi |
| 13640 |
}% |
| 13641 |
}% |
| 13642 |
\Hy@DisableOption{setpagesize}% |
| 13643 |
} |
| 13644 |
%</pdftex|xetex> |
| 13645 |
%<*pdftex> |
| 13646 |
\def\Acrobatmenu#1#2{% |
| 13647 |
\Hy@Acrobatmenu{#1}{#2}{% |
| 13648 |
\leavevmode |
| 13649 |
\EdefEscapeName\Hy@temp@menu{#1}% |
| 13650 |
\pdfstartlink |
| 13651 |
attr{% |
| 13652 |
\Hy@setpdfborder |
| 13653 |
\Hy@setpdfhighlight |
| 13654 |
\ifx\@menubordercolor\relax |
| 13655 |
\else |
| 13656 |
/C[\@menubordercolor]% |
| 13657 |
\fi |
| 13658 |
}% |
| 13659 |
user{% |
| 13660 |
/Subtype/Link% |
| 13661 |
\ifHy@pdfa /F 4\fi |
| 13662 |
/A<<% |
| 13663 |
/S/Named% |
| 13664 |
/N/\Hy@temp@menu |
| 13665 |
\Hy@href@nextactionraw |
| 13666 |
>>% |
| 13667 |
}% |
| 13668 |
\relax |
| 13669 |
\Hy@colorlink\@menucolor#2% |
| 13670 |
\close@pdflink |
| 13671 |
}% |
| 13672 |
} |
| 13673 |
% \end{macrocode} |
| 13674 |
% |
| 13675 |
% |
| 13676 |
% \begin{macrocode} |
| 13677 |
%</pdftex> |
| 13678 |
% \end{macrocode} |
| 13679 |
% |
| 13680 |
% \subsection{hypertex} |
| 13681 |
% |
| 13682 |
% The Hyper\TeX\ specification (this is |
| 13683 |
% borrowed from an article by Arthur Smith) |
| 13684 |
% says that conformant viewers/translators |
| 13685 |
% must recognize the following set of |\special| commands: |
| 13686 |
% \begin{description} |
| 13687 |
% \item[href:] |html:<a href = "href_string">| |
| 13688 |
% \item[name:] |html:<a name = "name_string">| |
| 13689 |
% \item[end:] |html:</a>| |
| 13690 |
% \item[image:] |html:<img src = "href_string">| |
| 13691 |
% \item[base\_name:] |html:<base href = "href_string">| |
| 13692 |
% \end{description} |
| 13693 |
% |
| 13694 |
% The \emph{href}, \emph{name} and \emph{end} commands are used to do |
| 13695 |
% the basic hypertext operations of establishing links between sections |
| 13696 |
% of documents. The \emph{image} command is intended (as with current |
| 13697 |
% html viewers) to place an image of arbitrary graphical |
| 13698 |
% format on the page in the current location. The \emph{base\_name} |
| 13699 |
% command is be used to communicate to the \emph{dvi} viewer the full (URL) |
| 13700 |
% location of the current document so that |
| 13701 |
% files specified by relative URL's may be retrieved correctly. |
| 13702 |
% |
| 13703 |
% The \emph{href} and \emph{name} commands must be paired with an |
| 13704 |
% \emph{end} command later in |
| 13705 |
% the \TeX{} file --- the \TeX{} commands between the two ends of a pair |
| 13706 |
% form an \emph{anchor} in the document. In the case of an \emph{href} |
| 13707 |
% command, the \emph{anchor} is to be highlighted in the |
| 13708 |
% \emph{dvi} viewer, and |
| 13709 |
% when clicked on will cause the scene to shift to the destination |
| 13710 |
% specified by \emph{href\_string}. The \emph{anchor} associated with a |
| 13711 |
% name command represents a possible location to which other hypertext |
| 13712 |
% links may refer, either as local references (of the form |
| 13713 |
% \texttt{href="\#name\_string"} with the \emph{name\_string} |
| 13714 |
% identical to the one in the name command) or as part of a URL (of the |
| 13715 |
% form \emph{URL\#name\_string}). Here \emph{href\_string} is a valid |
| 13716 |
% URL or local identifier, while name\_string could be any string at |
| 13717 |
% all: the only caveat is that `|"|' characters should be escaped with a |
| 13718 |
% backslash (|\|), and if it looks like a URL name it may cause |
| 13719 |
% problems. |
| 13720 |
% |
| 13721 |
% \begin{macrocode} |
| 13722 |
%<*hypertex> |
| 13723 |
\providecommand*{\XR@ext}{dvi} |
| 13724 |
\let\PDF@FinishDoc\@empty |
| 13725 |
\def\PDF@SetupDoc{% |
| 13726 |
\ifx\@baseurl\@empty |
| 13727 |
\else |
| 13728 |
\special{html:<base href="\@baseurl">}% |
| 13729 |
\fi |
| 13730 |
} |
| 13731 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 13732 |
\Hy@SaveLastskip |
| 13733 |
\Hy@VerboseAnchor{#1}% |
| 13734 |
\begingroup |
| 13735 |
\let\protect=\string |
| 13736 |
\hyper@chars |
| 13737 |
\special{html:<a name=% |
| 13738 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 13739 |
\endgroup |
| 13740 |
\Hy@activeanchortrue |
| 13741 |
\Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink |
| 13742 |
\special{html:</a>}% |
| 13743 |
\Hy@activeanchorfalse |
| 13744 |
\Hy@RestoreLastskip |
| 13745 |
} |
| 13746 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 13747 |
\Hy@SaveLastskip |
| 13748 |
\Hy@VerboseAnchor{#1}% |
| 13749 |
\begingroup |
| 13750 |
\hyper@chars |
| 13751 |
\special{html:<a name=% |
| 13752 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 13753 |
\endgroup |
| 13754 |
\Hy@activeanchortrue |
| 13755 |
} |
| 13756 |
\def\hyper@anchorend{% |
| 13757 |
\special{html:</a>}% |
| 13758 |
\Hy@activeanchorfalse |
| 13759 |
\Hy@RestoreLastskip |
| 13760 |
} |
| 13761 |
\def\@urltype{url} |
| 13762 |
\def\hyper@linkstart#1#2{% |
| 13763 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 13764 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 13765 |
\def\Hy@tempa{#1}% |
| 13766 |
\ifx\Hy@tempa\@urltype |
| 13767 |
\special{html:<a href=\hyper@quote#2\hyper@quote>}% |
| 13768 |
\else |
| 13769 |
\begingroup |
| 13770 |
\hyper@chars |
| 13771 |
\special{html:<a href=% |
| 13772 |
\hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% |
| 13773 |
\endgroup |
| 13774 |
\fi |
| 13775 |
} |
| 13776 |
\def\hyper@linkend{% |
| 13777 |
\special{html:</a>}% |
| 13778 |
\Hy@endcolorlink |
| 13779 |
} |
| 13780 |
\def\hyper@linkfile#1#2#3{% |
| 13781 |
\hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% |
| 13782 |
} |
| 13783 |
\def\hyper@linkurl#1#2{% |
| 13784 |
% \end{macrocode} |
| 13785 |
% If we want to raise up the final link |\special|, we need to |
| 13786 |
% get its height; ask me why \LaTeX\ constructs make this totally |
| 13787 |
% foul up, and make us revert to basic \TeX. I do not know. |
| 13788 |
% \begin{macrocode} |
| 13789 |
\leavevmode |
| 13790 |
\ifHy@raiselinks |
| 13791 |
\Hy@SaveSpaceFactor |
| 13792 |
\Hy@SaveSavedSpaceFactor |
| 13793 |
\sbox\@tempboxa{\Hy@RestoreSpaceFactor#1}% |
| 13794 |
\Hy@RestoreSavedSpaceFactor |
| 13795 |
\@linkdim\dp\@tempboxa |
| 13796 |
\lower\@linkdim\hbox{% |
| 13797 |
\hyper@chars |
| 13798 |
\special{html:<a href=\hyper@quote#2\hyper@quote>}% |
| 13799 |
}% |
| 13800 |
\Hy@colorlink\@urlcolor |
| 13801 |
\Hy@RestoreSpaceFactor |
| 13802 |
#1% |
| 13803 |
\Hy@SaveSpaceFactor |
| 13804 |
\@linkdim\ht\@tempboxa |
| 13805 |
% \end{macrocode} |
| 13806 |
% Because of the interaction with the dvihps processor, we have to subtract a |
| 13807 |
% little from the height. This is not clean, or checked. Check with Mark |
| 13808 |
% Doyle about what gives here. It may not be needed with |
| 13809 |
% the new dvips (Jan 1997). |
| 13810 |
% \begin{macrocode} |
| 13811 |
\advance\@linkdim by -6.5\p@ |
| 13812 |
\raise\@linkdim\hbox{\special{html:</a>}}% |
| 13813 |
\Hy@endcolorlink |
| 13814 |
\Hy@RestoreSpaceFactor |
| 13815 |
\else |
| 13816 |
\begingroup |
| 13817 |
\hyper@chars |
| 13818 |
\special{html:<a href=\hyper@quote#2\hyper@quote>}% |
| 13819 |
\Hy@colorlink\@urlcolor#1\Hy@xspace@end |
| 13820 |
\special{html:</a>}% |
| 13821 |
\Hy@endcolorlink |
| 13822 |
\endgroup |
| 13823 |
\fi |
| 13824 |
} |
| 13825 |
% \end{macrocode} |
| 13826 |
% Very poor implementation of \cs{hyper@link} without considering |#1|. |
| 13827 |
% \begin{macrocode} |
| 13828 |
\def\hyper@link#1#2#3{% |
| 13829 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 13830 |
\hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% |
| 13831 |
} |
| 13832 |
% \end{macrocode} |
| 13833 |
% |
| 13834 |
% \begin{macrocode} |
| 13835 |
\def\hyper@image#1#2{% |
| 13836 |
\begingroup |
| 13837 |
\hyper@chars |
| 13838 |
\special{html:<img src=\hyper@quote#1\hyper@quote>}% |
| 13839 |
\endgroup |
| 13840 |
} |
| 13841 |
%</hypertex> |
| 13842 |
%<*dviwindo> |
| 13843 |
% \end{macrocode} |
| 13844 |
% \subsection{dviwindo} |
| 13845 |
% [This was developed by David Carlisle]. |
| 13846 |
% Within a file dviwindo hyperlinking is used, for external |
| 13847 |
% URL's a call to |\wwwbrowser| is made. (You can define |
| 13848 |
% this command before or after loading the hyperref package |
| 13849 |
% if the default |c:/netscape/netscape| is not suitable) |
| 13850 |
% Dviwindo could in fact handle external links to dvi files on |
| 13851 |
% the same machine without calling a web browser, but that would |
| 13852 |
% mean parsing the URL to recognise such, and this is currently |
| 13853 |
% not done. |
| 13854 |
% |
| 13855 |
% This was more or less blindly copied from the hypertex cfg. |
| 13856 |
% For dviwindo, \LaTeX{} must specify the size of the active area |
| 13857 |
% for links. For some hooks this information is available |
| 13858 |
% but for some, the start and end of the link are |
| 13859 |
% specified separately in which case a fixed size area |
| 13860 |
% of 10000000sp wide by |\baselineskip| high is used. |
| 13861 |
% \begin{macrocode} |
| 13862 |
\providecommand*{\XR@ext}{dvi} |
| 13863 |
\providecommand*\wwwbrowser{c:\string\netscape\string\netscape} |
| 13864 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 13865 |
\Hy@SaveLastskip |
| 13866 |
\Hy@VerboseAnchor{#1}% |
| 13867 |
\begingroup |
| 13868 |
\let\protect=\string |
| 13869 |
\special{mark: #1}% |
| 13870 |
\endgroup |
| 13871 |
\Hy@activeanchortrue |
| 13872 |
\Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink |
| 13873 |
\Hy@activeanchorfalse |
| 13874 |
\Hy@RestoreLastskip |
| 13875 |
} |
| 13876 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 13877 |
\Hy@SaveLastskip |
| 13878 |
\Hy@VerboseAnchor{#1}% |
| 13879 |
\special{mark: #1}% |
| 13880 |
\Hy@activeanchortrue |
| 13881 |
} |
| 13882 |
\def\hyper@anchorend{% |
| 13883 |
\Hy@activeanchorfalse |
| 13884 |
\Hy@RestoreLastskip |
| 13885 |
} |
| 13886 |
\def\hyper@linkstart#1#2{% |
| 13887 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 13888 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 13889 |
\special{button: % |
| 13890 |
10000000 % |
| 13891 |
\number\baselineskip\space |
| 13892 |
#2% |
| 13893 |
}% |
| 13894 |
} |
| 13895 |
\def\hyper@linkend{% |
| 13896 |
\Hy@endcolorlink |
| 13897 |
} |
| 13898 |
\def\hyper@link#1#2#3{% |
| 13899 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 13900 |
\leavevmode |
| 13901 |
\ifHy@raiselinks |
| 13902 |
\Hy@SaveSpaceFactor |
| 13903 |
\Hy@SaveSavedSpaceFactor |
| 13904 |
\sbox\@tempboxa{\Hy@RestoreSpaceFactor#3}% |
| 13905 |
\Hy@RestoreSavedSpaceFactor |
| 13906 |
\@linkdim\dp\@tempboxa |
| 13907 |
\lower\@linkdim\hbox{% |
| 13908 |
\special{button: % |
| 13909 |
\number\wd\@tempboxa\space |
| 13910 |
\number\ht\@tempboxa\space |
| 13911 |
#2% |
| 13912 |
}% |
| 13913 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 13914 |
\Hy@RestoreSpaceFactor |
| 13915 |
#3\Hy@xspace@end |
| 13916 |
\Hy@SaveSpaceFactor |
| 13917 |
\Hy@endcolorlink |
| 13918 |
}% |
| 13919 |
\@linkdim\ht\@tempboxa |
| 13920 |
\advance\@linkdim by -6.5\p@ |
| 13921 |
\raise\@linkdim\hbox{}% |
| 13922 |
\Hy@RestoreSpaceFactor |
| 13923 |
\else |
| 13924 |
\special{button: % |
| 13925 |
\number\wd\@tempboxa\space |
| 13926 |
\number\ht\@tempboxa\space |
| 13927 |
#2% |
| 13928 |
}% |
| 13929 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 13930 |
#3\Hy@xspace@end |
| 13931 |
\Hy@endcolorlink |
| 13932 |
\fi |
| 13933 |
} |
| 13934 |
\def\hyper@linkurl#1#2{% |
| 13935 |
\begingroup |
| 13936 |
\hyper@chars |
| 13937 |
\leavevmode |
| 13938 |
\ifHy@raiselinks |
| 13939 |
\Hy@SaveSpaceFactor |
| 13940 |
\Hy@SaveSavedSpaceFactor |
| 13941 |
\sbox\@tempboxa{\Hy@RestoreSpaceFactor#1}% |
| 13942 |
\Hy@RestoreSavedSpaceFactor |
| 13943 |
\@linkdim\dp\@tempboxa |
| 13944 |
\lower\@linkdim\hbox{% |
| 13945 |
\special{button: % |
| 13946 |
\number\wd\@tempboxa\space |
| 13947 |
\number\ht\@tempboxa\space |
| 13948 |
launch: \wwwbrowser\space |
| 13949 |
#2% |
| 13950 |
}% |
| 13951 |
\Hy@colorlink\@urlcolor |
| 13952 |
\Hy@RestoreSpaceFactor |
| 13953 |
#1\Hy@xspace@end |
| 13954 |
\Hy@SaveSpaceFactor |
| 13955 |
\Hy@endcolorlink |
| 13956 |
}% |
| 13957 |
\@linkdim\ht\@tempboxa |
| 13958 |
\advance\@linkdim by -6.5\p@ |
| 13959 |
\raise\@linkdim\hbox{}% |
| 13960 |
\Hy@RestoreSpaceFactor |
| 13961 |
\else |
| 13962 |
\special{button: % |
| 13963 |
\number\wd\@tempboxa\space |
| 13964 |
\number\ht\@tempboxa\space |
| 13965 |
launch: \wwwbrowser\space |
| 13966 |
#2% |
| 13967 |
}% |
| 13968 |
\Hy@colorlink\@urlcolor |
| 13969 |
#1\Hy@xspace@end |
| 13970 |
\Hy@endcolorlink |
| 13971 |
\fi |
| 13972 |
\endgroup |
| 13973 |
} |
| 13974 |
\def\hyper@linkfile#1#2#3{% |
| 13975 |
\begingroup |
| 13976 |
\hyper@chars |
| 13977 |
\leavevmode |
| 13978 |
\ifHy@raiselinks |
| 13979 |
\Hy@SaveSpaceFactor |
| 13980 |
\Hy@SaveSavedSpaceFactor |
| 13981 |
\sbox\@tempboxa{\Hy@RestoreSpaceFactor#1}% |
| 13982 |
\Hy@RestoreSavedSpaceFactor |
| 13983 |
\@linkdim\dp\@tempboxa |
| 13984 |
\lower\@linkdim\hbox{% |
| 13985 |
\special{button: % |
| 13986 |
\number\wd\@tempboxa\space |
| 13987 |
\number\ht\@tempboxa\space |
| 13988 |
#3,% |
| 13989 |
file: #2% |
| 13990 |
}% |
| 13991 |
\Hy@colorlink\@filecolor |
| 13992 |
\Hy@RestoreSpaceFactor |
| 13993 |
#1\Hy@xspace@end |
| 13994 |
\Hy@SaveSpaceFactor |
| 13995 |
\Hy@endcolorlink |
| 13996 |
}% |
| 13997 |
\@linkdim\ht\@tempboxa |
| 13998 |
\advance\@linkdim by -6.5\p@ |
| 13999 |
\raise\@linkdim\hbox{}% |
| 14000 |
\Hy@RestoreSpaceFactor |
| 14001 |
\else |
| 14002 |
\special{button: % |
| 14003 |
\number\wd\@tempboxa\space |
| 14004 |
\number\ht\@tempboxa\space |
| 14005 |
#3,% |
| 14006 |
file: #2% |
| 14007 |
}% |
| 14008 |
\Hy@colorlink\@filecolor |
| 14009 |
#1\Hy@xspace@end |
| 14010 |
\Hy@endcolorlink |
| 14011 |
\fi |
| 14012 |
\endgroup |
| 14013 |
} |
| 14014 |
\HyInfo@AddonUnsupportedtrue |
| 14015 |
\def\PDF@FinishDoc{% |
| 14016 |
\Hy@UseMaketitleInfos |
| 14017 |
\HyInfo@TrappedUnsupported |
| 14018 |
\special{PDF: Keywords \@pdfkeywords}% |
| 14019 |
\special{PDF: Title \@pdftitle}% |
| 14020 |
\special{PDF: Creator \@pdfcreator}% |
| 14021 |
\ifx\@pdfcreationdate\@empty |
| 14022 |
\else |
| 14023 |
\special{PDF: CreationDate \@pdfcreationdate}% |
| 14024 |
\fi |
| 14025 |
\ifx\@pdfmoddate\@empty |
| 14026 |
\else |
| 14027 |
\special{PDF: ModDate \@pdfmoddate}% |
| 14028 |
\fi |
| 14029 |
\special{PDF: Author \@pdfauthor}% |
| 14030 |
\ifx\@pdfproducer\relax |
| 14031 |
\else |
| 14032 |
\special{PDF: Producer \@pdfproducer}% |
| 14033 |
\fi |
| 14034 |
\special{PDF: Subject \@pdfsubject}% |
| 14035 |
\Hy@DisableOption{pdfauthor}% |
| 14036 |
\Hy@DisableOption{pdftitle}% |
| 14037 |
\Hy@DisableOption{pdfsubject}% |
| 14038 |
\Hy@DisableOption{pdfcreator}% |
| 14039 |
\Hy@DisableOption{addtopdfcreator}% |
| 14040 |
\Hy@DisableOption{pdfcreationdate}% |
| 14041 |
\Hy@DisableOption{pdfcreationdate}% |
| 14042 |
\Hy@DisableOption{pdfmoddate}% |
| 14043 |
\Hy@DisableOption{pdfproducer}% |
| 14044 |
\Hy@DisableOption{pdfkeywords}% |
| 14045 |
\Hy@DisableOption{pdftrapped}% |
| 14046 |
\Hy@DisableOption{pdfinfo}% |
| 14047 |
} |
| 14048 |
\def\PDF@SetupDoc{% |
| 14049 |
\ifx\@baseurl\@empty |
| 14050 |
\else |
| 14051 |
\special{PDF: Base \@baseurl}% |
| 14052 |
\fi |
| 14053 |
\ifx\@pdfpagescrop\@empty\else |
| 14054 |
\special{PDF: BBox \@pdfpagescrop}% |
| 14055 |
\fi |
| 14056 |
\def\Hy@temp{}% |
| 14057 |
\ifx\@pdfstartpage\@empty |
| 14058 |
\else |
| 14059 |
\ifx\@pdfstartview\@empty |
| 14060 |
\else |
| 14061 |
\edef\Hy@temp{% |
| 14062 |
,Page=\@pdfstartpage |
| 14063 |
,View=\@pdfstartview |
| 14064 |
}% |
| 14065 |
\fi |
| 14066 |
\fi |
| 14067 |
\edef\Hy@temp{% |
| 14068 |
\noexpand\pdfmark{% |
| 14069 |
pdfmark=/DOCVIEW,% |
| 14070 |
PageMode=/\@pdfpagemode |
| 14071 |
\Hy@temp |
| 14072 |
}% |
| 14073 |
}% |
| 14074 |
\Hy@temp |
| 14075 |
\ifx\@pdfpagescrop\@empty |
| 14076 |
\else |
| 14077 |
\pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}% |
| 14078 |
\fi |
| 14079 |
\edef\Hy@temp{% |
| 14080 |
\ifHy@pdftoolbar\else /HideToolbar true\fi |
| 14081 |
\ifHy@pdfmenubar\else /HideMenubar true\fi |
| 14082 |
\ifHy@pdfwindowui\else /HideWindowUI true\fi |
| 14083 |
\ifHy@pdffitwindow /FitWindow true\fi |
| 14084 |
\ifHy@pdfcenterwindow /CenterWindow true\fi |
| 14085 |
\ifHy@pdfdisplaydoctitle /DisplayDocTitle true\fi |
| 14086 |
\Hy@UseNameKey{NonFullScreenPageMode}\@pdfnonfullscreenpagemode |
| 14087 |
\Hy@UseNameKey{Direction}\@pdfdirection |
| 14088 |
\Hy@UseNameKey{ViewArea}\@pdfviewarea |
| 14089 |
\Hy@UseNameKey{ViewClip}\@pdfviewclip |
| 14090 |
\Hy@UseNameKey{PrintArea}\@pdfprintarea |
| 14091 |
\Hy@UseNameKey{PrintClip}\@pdfprintclip |
| 14092 |
\Hy@UseNameKey{PrintScaling}\@pdfprintscaling |
| 14093 |
\Hy@UseNameKey{Duplex}\@pdfduplex |
| 14094 |
\ifx\@pdfpicktraybypdfsize\@empty |
| 14095 |
\else |
| 14096 |
/PickTrayByPDFSize \@pdfpicktraybypdfsize |
| 14097 |
\fi |
| 14098 |
\ifx\@pdfprintpagerange\@empty |
| 14099 |
\else |
| 14100 |
/PrintPageRange[\@pdfprintpagerange]% |
| 14101 |
\fi |
| 14102 |
\ifx\@pdfnumcopies\@empty |
| 14103 |
\else |
| 14104 |
/NumCopies \@pdfnumcopies |
| 14105 |
\fi |
| 14106 |
}% |
| 14107 |
\pdfmark{pdfmark=/PUT,% |
| 14108 |
Raw={% |
| 14109 |
\string{Catalog\string}<<% |
| 14110 |
\ifx\Hy@temp\@empty |
| 14111 |
\else |
| 14112 |
/ViewerPreferences<<\Hy@temp>>% |
| 14113 |
\fi |
| 14114 |
\Hy@UseNameKey{PageLayout}\@pdfpagelayout |
| 14115 |
\ifx\@pdflang\relax |
| 14116 |
\else |
| 14117 |
/Lang(\@pdflang)% |
| 14118 |
\fi |
| 14119 |
>>% |
| 14120 |
}% |
| 14121 |
}% |
| 14122 |
} |
| 14123 |
%</dviwindo> |
| 14124 |
%<*dvipdfm|xetex> |
| 14125 |
% \end{macrocode} |
| 14126 |
% \subsection{dvipdfm/xetex dvi to PDF converter} |
| 14127 |
% Provided by Mark Wicks ([email protected]) |
| 14128 |
% |
| 14129 |
% (x)dvipdfmx replaces destination names by numbers. This makes it impossible |
| 14130 |
% to link from an external document with xr-hyper, so from version 7.00j on |
| 14131 |
% this is suppressed with a config special. |
| 14132 |
% \begin{macrocode} |
| 14133 |
\special{dvipdfmx:config C 0x0010} |
| 14134 |
\providecommand*{\XR@ext}{pdf} |
| 14135 |
\Hy@setbreaklinks{true} |
| 14136 |
\def\HyPat@ObjRef{% |
| 14137 |
@[^ ]+% |
| 14138 |
} |
| 14139 |
\newsavebox{\pdfm@box} |
| 14140 |
\def\@pdfm@mark#1{\special{pdf:#1}} |
| 14141 |
\Hy@WrapperDef\@pdfm@dest#1{% |
| 14142 |
\Hy@SaveLastskip |
| 14143 |
\Hy@VerboseAnchor{#1}% |
| 14144 |
\begingroup |
| 14145 |
\Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% |
| 14146 |
\def\x{XYZ}% |
| 14147 |
\ifx\x\@pdfview |
| 14148 |
\def\x{XYZ @xpos @ypos null}% |
| 14149 |
\else |
| 14150 |
\def\x{FitH}% |
| 14151 |
\ifx\x\@pdfview |
| 14152 |
\def\x{FitH @ypos}% |
| 14153 |
\else |
| 14154 |
\def\x{FitBH}% |
| 14155 |
\ifx\x\@pdfview |
| 14156 |
\def\x{FitBH @ypos}% |
| 14157 |
\else |
| 14158 |
\def\x{FitV}% |
| 14159 |
\ifx\x\@pdfview |
| 14160 |
\def\x{FitV @xpos}% |
| 14161 |
\else |
| 14162 |
\def\x{FitBV}% |
| 14163 |
\ifx\x\@pdfview |
| 14164 |
\def\x{FitBV @xpos}% |
| 14165 |
\else |
| 14166 |
\def\x{Fit}% |
| 14167 |
\ifx\x\@pdfview |
| 14168 |
\let\x\@pdfview |
| 14169 |
\else |
| 14170 |
\def\x{FitB}% |
| 14171 |
\ifx\x\@pdfview |
| 14172 |
\let\x\@pdfview |
| 14173 |
\else |
| 14174 |
\def\x{FitR}% |
| 14175 |
\ifx\x\@pdfview |
| 14176 |
\Hy@Warning{`pdfview=FitR' is not supported}% |
| 14177 |
\def\x{XYZ @xpos @ypos null}% |
| 14178 |
\else |
| 14179 |
\@onelevel@sanitize\@pdfview |
| 14180 |
\Hy@Warning{% |
| 14181 |
Unknown value `\@pdfview' for pdfview% |
| 14182 |
}% |
| 14183 |
\def\x{XYZ @xpos @ypos null}% |
| 14184 |
\fi |
| 14185 |
\fi |
| 14186 |
\fi |
| 14187 |
\fi |
| 14188 |
\fi |
| 14189 |
\fi |
| 14190 |
\fi |
| 14191 |
\fi |
| 14192 |
\@pdfm@mark{dest (\Hy@pstringDest) [@thispage /\x]}% |
| 14193 |
\endgroup |
| 14194 |
\Hy@RestoreLastskip |
| 14195 |
} |
| 14196 |
\providecommand*\@pdfview{XYZ} |
| 14197 |
\providecommand*\@pdfborder{0 0 1} |
| 14198 |
\providecommand*\@pdfborderstyle{} |
| 14199 |
\def\hyper@anchor#1{% |
| 14200 |
\@pdfm@dest{#1}% |
| 14201 |
} |
| 14202 |
\def\hyper@anchorstart#1{% |
| 14203 |
\Hy@activeanchortrue |
| 14204 |
\@pdfm@dest{#1}% |
| 14205 |
} |
| 14206 |
\def\hyper@anchorend{% |
| 14207 |
\Hy@activeanchorfalse |
| 14208 |
} |
| 14209 |
% \end{macrocode} |
| 14210 |
% \begin{macrocode} |
| 14211 |
\newcounter{Hy@AnnotLevel} |
| 14212 |
% \end{macrocode} |
| 14213 |
% \begin{macrocode} |
| 14214 |
\ifHy@ocgcolorlinks |
| 14215 |
\def\OBJ@OCG@view{@OCG@view}% |
| 14216 |
\@pdfm@mark{% |
| 14217 |
obj \OBJ@OCG@view <<% |
| 14218 |
/Type/OCG% |
| 14219 |
/Name(View)% |
| 14220 |
/Usage<<% |
| 14221 |
/Print<<% |
| 14222 |
/PrintState/OFF% |
| 14223 |
>>% |
| 14224 |
/View<<% |
| 14225 |
/ViewState/ON% |
| 14226 |
>>% |
| 14227 |
>>% |
| 14228 |
>>% |
| 14229 |
}% |
| 14230 |
\@pdfm@mark{close \OBJ@OCG@view}% |
| 14231 |
\def\OBJ@OCG@print{@OCG@print}% |
| 14232 |
\@pdfm@mark{% |
| 14233 |
obj \OBJ@OCG@print <<% |
| 14234 |
/Type/OCG% |
| 14235 |
/Name(Print)% |
| 14236 |
/Usage<<% |
| 14237 |
/Print<<% |
| 14238 |
/PrintState/ON% |
| 14239 |
>>% |
| 14240 |
/View<<% |
| 14241 |
/ViewState/OFF% |
| 14242 |
>>% |
| 14243 |
>>% |
| 14244 |
>>% |
| 14245 |
}% |
| 14246 |
\@pdfm@mark{close \OBJ@OCG@print}% |
| 14247 |
\def\OBJ@OCGs{@OCGs}% |
| 14248 |
\@pdfm@mark{% |
| 14249 |
obj \OBJ@OCGs [% |
| 14250 |
\OBJ@OCG@view\space\OBJ@OCG@print |
| 14251 |
]% |
| 14252 |
}% |
| 14253 |
\@pdfm@mark{close \OBJ@OCGs}% |
| 14254 |
\@pdfm@mark{% |
| 14255 |
put @catalog <<% |
| 14256 |
/OCProperties<<% |
| 14257 |
/OCGs \OBJ@OCGs |
| 14258 |
/D<<% |
| 14259 |
/OFF[\OBJ@OCG@print]% |
| 14260 |
/AS[% |
| 14261 |
<<% |
| 14262 |
/Event/View% |
| 14263 |
/OCGs \OBJ@OCGs |
| 14264 |
/Category[/View]% |
| 14265 |
>>% |
| 14266 |
<<% |
| 14267 |
/Event/Print% |
| 14268 |
/OCGs \OBJ@OCGs |
| 14269 |
/Category[/Print]% |
| 14270 |
>>% |
| 14271 |
<<% |
| 14272 |
/Event/Export% |
| 14273 |
/OCGs \OBJ@OCGs |
| 14274 |
/Category[/Print]% |
| 14275 |
>>% |
| 14276 |
]% |
| 14277 |
>>% |
| 14278 |
>>% |
| 14279 |
>>% |
| 14280 |
}% |
| 14281 |
\AddToHook{shipout/before}{% |
| 14282 |
\setbox\ShipoutBox=\hbox{% |
| 14283 |
\copy\ShipoutBox |
| 14284 |
\@pdfm@mark{% |
| 14285 |
put @resources <<% |
| 14286 |
/Properties<<% |
| 14287 |
/OCView \OBJ@OCG@view |
| 14288 |
/OCPrint \OBJ@OCG@print |
| 14289 |
>>% |
| 14290 |
>>% |
| 14291 |
}% |
| 14292 |
}% |
| 14293 |
}% |
| 14294 |
\Hy@AtBeginDocument{% |
| 14295 |
\def\Hy@colorlink#1{% |
| 14296 |
\begingroup |
| 14297 |
\ifHy@ocgcolorlinks |
| 14298 |
\def\Hy@ocgcolor{#1}% |
| 14299 |
\setbox0=\hbox\bgroup\color@begingroup |
| 14300 |
\else |
| 14301 |
\HyColor@UseColor#1% |
| 14302 |
\fi |
| 14303 |
}% |
| 14304 |
\def\Hy@endcolorlink{% |
| 14305 |
\ifHy@ocgcolorlinks |
| 14306 |
\color@endgroup\egroup |
| 14307 |
\mbox{% |
| 14308 |
\@pdfm@mark{content /OC/OCPrint BDC}% |
| 14309 |
\rlap{\copy0}% |
| 14310 |
\@pdfm@mark{content EMC/OC/OCView BDC}% |
| 14311 |
\begingroup |
| 14312 |
\expandafter\HyColor@UseColor\Hy@ocgcolor |
| 14313 |
\box0 % |
| 14314 |
\endgroup |
| 14315 |
\@pdfm@mark{content EMC}% |
| 14316 |
}% |
| 14317 |
\fi |
| 14318 |
\endgroup |
| 14319 |
}% |
| 14320 |
}% |
| 14321 |
\else |
| 14322 |
\Hy@DisableOption{ocgcolorlinks}% |
| 14323 |
\fi |
| 14324 |
% \end{macrocode} |
| 14325 |
% Use primitive counter arithmetic here to avoid amsmath |
| 14326 |
% redefining |\stepcounter| (github issue/13) |
| 14327 |
% \begin{macrocode} |
| 14328 |
\def\Hy@BeginAnnot#1{% |
| 14329 |
\global\advance\c@Hy@AnnotLevel\@ne |
| 14330 |
\ifnum\c@Hy@AnnotLevel=\@ne |
| 14331 |
#1% |
| 14332 |
\fi |
| 14333 |
} |
| 14334 |
\def\Hy@EndAnnot{% |
| 14335 |
\ifnum\value{Hy@AnnotLevel}=\@ne |
| 14336 |
\Hy@endcolorlink |
| 14337 |
\@pdfm@mark{eann}% |
| 14338 |
\fi |
| 14339 |
\global\advance\c@Hy@AnnotLevel\m@ne |
| 14340 |
} |
| 14341 |
% \end{macrocode} |
| 14342 |
% \begin{macrocode} |
| 14343 |
\def\Hy@undefinedname{UNDEFINED} |
| 14344 |
\def\hyper@linkstart#1#2{% |
| 14345 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 14346 |
\leavevmode |
| 14347 |
\Hy@BeginAnnot{% |
| 14348 |
\protected@edef\Hy@testname{#2}% |
| 14349 |
\ifx\Hy@testname\@empty |
| 14350 |
\Hy@Warning{% |
| 14351 |
Empty destination name,\MessageBreak |
| 14352 |
using `\Hy@undefinedname'% |
| 14353 |
}% |
| 14354 |
\let\Hy@testname\Hy@undefinedname |
| 14355 |
\else |
| 14356 |
\Hy@pstringdef\Hy@testname{% |
| 14357 |
\expandafter\HyperDestNameFilter\expandafter{% |
| 14358 |
\Hy@testname |
| 14359 |
}% |
| 14360 |
}% |
| 14361 |
\fi |
| 14362 |
\@pdfm@mark{% |
| 14363 |
bann<<% |
| 14364 |
/Type/Annot% |
| 14365 |
/Subtype/Link% |
| 14366 |
\ifHy@pdfa /F 4\fi |
| 14367 |
\Hy@setpdfborder |
| 14368 |
\Hy@setpdfhighlight |
| 14369 |
\expandafter\ifx\csname @#1bordercolor\endcsname\relax |
| 14370 |
\else |
| 14371 |
/C[\csname @#1bordercolor\endcsname]% |
| 14372 |
\fi |
| 14373 |
/A<<% |
| 14374 |
/S/GoTo% |
| 14375 |
/D(\Hy@testname)% |
| 14376 |
\Hy@href@nextactionraw |
| 14377 |
>>% |
| 14378 |
>>% |
| 14379 |
}% |
| 14380 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 14381 |
}% |
| 14382 |
} |
| 14383 |
\def\hyper@linkend{\Hy@EndAnnot}% |
| 14384 |
\def\hyper@link#1#2#3{% |
| 14385 |
\hyper@linkstart{#1}{#2}#3\Hy@xspace@end\hyper@linkend |
| 14386 |
} |
| 14387 |
% \end{macrocode} |
| 14388 |
% 2025-05-20 added a group for issue \#380 |
| 14389 |
% \begin{macrocode} |
| 14390 |
\def\hyper@linkfile#1#2#3{% |
| 14391 |
\leavevmode |
| 14392 |
\begingroup |
| 14393 |
\Hy@BeginAnnot{% |
| 14394 |
\def\Hy@pstringF{#2}% |
| 14395 |
\Hy@CleanupFile\Hy@pstringF |
| 14396 |
\Hy@pstringdef\Hy@pstringF\Hy@pstringF |
| 14397 |
\Hy@pstringdef\Hy@pstringD{#3}% |
| 14398 |
\Hy@MakeRemoteAction |
| 14399 |
\@pdfm@mark{% |
| 14400 |
bann<<% |
| 14401 |
/Type/Annot% |
| 14402 |
/Subtype/Link% |
| 14403 |
\ifHy@pdfa /F 4\fi |
| 14404 |
\Hy@setpdfborder |
| 14405 |
\Hy@setpdfhighlight |
| 14406 |
\ifx\@filebordercolor\relax |
| 14407 |
\else |
| 14408 |
/C[\@filebordercolor]% |
| 14409 |
\fi |
| 14410 |
/A<<% |
| 14411 |
/S/GoToR% |
| 14412 |
/F(\Hy@pstringF)% |
| 14413 |
/D% |
| 14414 |
\ifx\\#3\\% |
| 14415 |
[\Hy@href@page\@pdfremotestartview]% |
| 14416 |
\else |
| 14417 |
(\Hy@pstringD)% |
| 14418 |
\fi |
| 14419 |
\Hy@SetNewWindow |
| 14420 |
\Hy@href@nextactionraw |
| 14421 |
>>% |
| 14422 |
>>% |
| 14423 |
}% |
| 14424 |
\Hy@colorlink\@filecolor |
| 14425 |
}% |
| 14426 |
#1\Hy@xspace@end |
| 14427 |
\Hy@EndAnnot |
| 14428 |
\endgroup |
| 14429 |
} |
| 14430 |
\def\@hyper@launch run:#1\\#2#3{% filename, anchor text linkname |
| 14431 |
\leavevmode |
| 14432 |
\Hy@BeginAnnot{% |
| 14433 |
\Hy@pstringdef\Hy@pstringF{#1}% |
| 14434 |
\Hy@pstringdef\Hy@pstringP{#3}% |
| 14435 |
\@pdfm@mark{% |
| 14436 |
bann<<% |
| 14437 |
/Type/Annot% |
| 14438 |
/Subtype/Link% |
| 14439 |
\ifHy@pdfa /F 4\fi |
| 14440 |
\Hy@setpdfborder |
| 14441 |
\Hy@setpdfhighlight |
| 14442 |
\ifx\@runbordercolor\relax |
| 14443 |
\else |
| 14444 |
/C[\@runbordercolor]% |
| 14445 |
\fi |
| 14446 |
/A<<% |
| 14447 |
/F(\Hy@pstringF)% |
| 14448 |
/S/Launch% |
| 14449 |
\Hy@SetNewWindow |
| 14450 |
\ifx\\#3\\% |
| 14451 |
\else |
| 14452 |
/Win<</P(\Hy@pstringP)/F(\Hy@pstringF)>>% |
| 14453 |
\fi |
| 14454 |
\Hy@href@nextactionraw |
| 14455 |
>>% |
| 14456 |
>>% |
| 14457 |
}% |
| 14458 |
\Hy@colorlink\@runcolor |
| 14459 |
}% |
| 14460 |
#2\Hy@xspace@end |
| 14461 |
\Hy@EndAnnot |
| 14462 |
} |
| 14463 |
\def\hyper@linkurl#1#2{% |
| 14464 |
\leavevmode |
| 14465 |
\Hy@BeginAnnot{% |
| 14466 |
\Hy@pstringdef\Hy@pstringURI{#2}% |
| 14467 |
\@pdfm@mark{% |
| 14468 |
bann<<% |
| 14469 |
/Type/Annot% |
| 14470 |
/Subtype/Link% |
| 14471 |
\ifHy@pdfa /F 4\fi |
| 14472 |
\Hy@setpdfborder |
| 14473 |
\Hy@setpdfhighlight |
| 14474 |
\ifx\@urlbordercolor\relax |
| 14475 |
\else |
| 14476 |
/C[\@urlbordercolor]% |
| 14477 |
\fi |
| 14478 |
/A<<% |
| 14479 |
/S/URI% |
| 14480 |
/URI(\Hy@pstringURI)% |
| 14481 |
\ifHy@href@ismap |
| 14482 |
/IsMap true% |
| 14483 |
\fi |
| 14484 |
\Hy@href@nextactionraw |
| 14485 |
>>% |
| 14486 |
>>% |
| 14487 |
}% |
| 14488 |
\Hy@colorlink\@urlcolor |
| 14489 |
}% |
| 14490 |
#1\Hy@xspace@end |
| 14491 |
\Hy@EndAnnot |
| 14492 |
} |
| 14493 |
\def\Acrobatmenu#1#2{% |
| 14494 |
\Hy@Acrobatmenu{#1}{#2}{% |
| 14495 |
\Hy@BeginAnnot{% |
| 14496 |
\EdefEscapeName\Hy@temp@menu{#1}% |
| 14497 |
\@pdfm@mark{% |
| 14498 |
bann<<% |
| 14499 |
/Type/Annot% |
| 14500 |
/Subtype/Link% |
| 14501 |
\ifHy@pdfa /F 4\fi |
| 14502 |
\Hy@setpdfborder |
| 14503 |
\Hy@setpdfhighlight |
| 14504 |
\ifx\@menubordercolor\relax |
| 14505 |
\else |
| 14506 |
/C[\@menubordercolor]% |
| 14507 |
\fi |
| 14508 |
/A<<% |
| 14509 |
/S/Named% |
| 14510 |
/N/\Hy@temp@menu |
| 14511 |
\Hy@href@nextactionraw |
| 14512 |
>>% |
| 14513 |
>>% |
| 14514 |
}% |
| 14515 |
\Hy@colorlink\@menucolor |
| 14516 |
}% |
| 14517 |
#2\Hy@xspace@end |
| 14518 |
\Hy@EndAnnot |
| 14519 |
}% |
| 14520 |
} |
| 14521 |
|
| 14522 |
\def\PDF@FinishDoc{% |
| 14523 |
\Hy@UseMaketitleInfos |
| 14524 |
\HyInfo@GenerateAddons |
| 14525 |
\@pdfm@mark{% |
| 14526 |
docinfo<<% |
| 14527 |
/Title(\@pdftitle)% |
| 14528 |
/Subject(\@pdfsubject)% |
| 14529 |
/Creator(\@pdfcreator)% |
| 14530 |
\ifx\@pdfcreationdate\@empty |
| 14531 |
\else |
| 14532 |
/CreationDate(\@pdfcreationdate)% |
| 14533 |
\fi |
| 14534 |
\ifx\@pdfmoddate\@empty |
| 14535 |
\else |
| 14536 |
/ModDate(\@pdfmoddate)% |
| 14537 |
\fi |
| 14538 |
/Author(\@pdfauthor)% |
| 14539 |
\ifx\@pdfproducer\relax |
| 14540 |
\else |
| 14541 |
/Producer(\@pdfproducer)% |
| 14542 |
\fi |
| 14543 |
/Keywords(\@pdfkeywords)% |
| 14544 |
\ifx\@pdftrapped\@empty |
| 14545 |
\else |
| 14546 |
/Trapped/\@pdftrapped |
| 14547 |
\fi |
| 14548 |
\HyInfo@Addons |
| 14549 |
>>% |
| 14550 |
}% |
| 14551 |
\Hy@DisableOption{pdfauthor}% |
| 14552 |
\Hy@DisableOption{pdftitle}% |
| 14553 |
\Hy@DisableOption{pdfsubject}% |
| 14554 |
\Hy@DisableOption{pdfcreator}% |
| 14555 |
\Hy@DisableOption{addtopdfcreator}% |
| 14556 |
\Hy@DisableOption{pdfcreationdate}% |
| 14557 |
\Hy@DisableOption{pdfcreationdate}% |
| 14558 |
\Hy@DisableOption{pdfmoddate}% |
| 14559 |
\Hy@DisableOption{pdfproducer}% |
| 14560 |
\Hy@DisableOption{pdfkeywords}% |
| 14561 |
\Hy@DisableOption{pdftrapped}% |
| 14562 |
\Hy@DisableOption{pdfinfo}% |
| 14563 |
} |
| 14564 |
% \end{macrocode} |
| 14565 |
% \begin{macrocode} |
| 14566 |
\def\PDF@SetupDoc{% |
| 14567 |
\edef\Hy@temp{% |
| 14568 |
\ifHy@pdftoolbar\else /HideToolbar true\fi |
| 14569 |
\ifHy@pdfmenubar\else /HideMenubar true\fi |
| 14570 |
\ifHy@pdfwindowui\else /HideWindowUI true\fi |
| 14571 |
\ifHy@pdffitwindow /FitWindow true\fi |
| 14572 |
\ifHy@pdfcenterwindow /CenterWindow true\fi |
| 14573 |
\ifHy@pdfdisplaydoctitle /DisplayDocTitle true\fi |
| 14574 |
\Hy@UseNameKey{NonFullScreenPageMode}\@pdfnonfullscreenpagemode |
| 14575 |
\Hy@UseNameKey{Direction}\@pdfdirection |
| 14576 |
\Hy@UseNameKey{ViewArea}\@pdfviewarea |
| 14577 |
\Hy@UseNameKey{ViewClip}\@pdfviewclip |
| 14578 |
\Hy@UseNameKey{PrintArea}\@pdfprintarea |
| 14579 |
\Hy@UseNameKey{PrintClip}\@pdfprintclip |
| 14580 |
\Hy@UseNameKey{PrintScaling}\@pdfprintscaling |
| 14581 |
\Hy@UseNameKey{Duplex}\@pdfduplex |
| 14582 |
\ifx\@pdfpicktraybypdfsize\@empty |
| 14583 |
\else |
| 14584 |
/PickTrayByPDFSize \@pdfpicktraybypdfsize |
| 14585 |
\fi |
| 14586 |
\ifx\@pdfprintpagerange\@empty |
| 14587 |
\else |
| 14588 |
/PrintPageRange[\@pdfprintpagerange]% |
| 14589 |
\fi |
| 14590 |
\ifx\@pdfnumcopies\@empty |
| 14591 |
\else |
| 14592 |
/NumCopies \@pdfnumcopies |
| 14593 |
\fi |
| 14594 |
}% |
| 14595 |
\Hy@pstringdef\Hy@pstringB{\@baseurl}% |
| 14596 |
\@pdfm@mark{% |
| 14597 |
docview<<% |
| 14598 |
\ifx\@pdfstartpage\@empty |
| 14599 |
\else |
| 14600 |
\ifx\@pdfstartview\@empty |
| 14601 |
\else |
| 14602 |
/OpenAction[@page\@pdfstartpage\@pdfstartview]% |
| 14603 |
\fi |
| 14604 |
\fi |
| 14605 |
\ifx\@baseurl\@empty |
| 14606 |
\else |
| 14607 |
/URI<</Base(\Hy@pstringB)>>% |
| 14608 |
\fi |
| 14609 |
/PageMode/\@pdfpagemode |
| 14610 |
\ifx\Hy@temp\@empty |
| 14611 |
\else |
| 14612 |
/ViewerPreferences<<\Hy@temp>>% |
| 14613 |
\fi |
| 14614 |
\Hy@UseNameKey{PageLayout}\@pdfpagelayout |
| 14615 |
\ifx\@pdflang\relax |
| 14616 |
\else |
| 14617 |
/Lang(\@pdflang)% |
| 14618 |
\fi |
| 14619 |
>>% |
| 14620 |
}% |
| 14621 |
\ifx\@pdfpagescrop\@empty |
| 14622 |
\else |
| 14623 |
\@pdfm@mark{put @pages <</CropBox[\@pdfpagescrop]>>}% |
| 14624 |
\fi |
| 14625 |
} |
| 14626 |
%</dvipdfm|xetex> |
| 14627 |
% \end{macrocode} |
| 14628 |
% |
| 14629 |
% \begin{macrocode} |
| 14630 |
%<*dvipdfm|xetex> |
| 14631 |
% \end{macrocode} |
| 14632 |
% \begin{macro}{\hyper@pagetransition} |
| 14633 |
% \begin{macrocode} |
| 14634 |
\def\hyper@pagetransition{% |
| 14635 |
\ifx\@pdfpagetransition\relax |
| 14636 |
\else |
| 14637 |
\ifx\@pdfpagetransition\@empty |
| 14638 |
\else |
| 14639 |
\special{pdf:put @thispage % |
| 14640 |
<</Trans<</S/\@pdfpagetransition>>>>% |
| 14641 |
}% |
| 14642 |
\fi |
| 14643 |
\fi |
| 14644 |
} |
| 14645 |
% \end{macrocode} |
| 14646 |
% \end{macro} |
| 14647 |
% \begin{macro}{\hyper@pageduration} |
| 14648 |
% \begin{macrocode} |
| 14649 |
\def\hyper@pageduration{% |
| 14650 |
\ifx\@pdfpageduration\relax |
| 14651 |
\else |
| 14652 |
\ifx\@pdfpageduration\@empty |
| 14653 |
\else |
| 14654 |
\special{pdf:put @thispage % |
| 14655 |
<</Dur \@pdfpageduration>>% |
| 14656 |
}% |
| 14657 |
\fi |
| 14658 |
\fi |
| 14659 |
} |
| 14660 |
% \end{macrocode} |
| 14661 |
% \end{macro} |
| 14662 |
% \begin{macrocode} |
| 14663 |
\g@addto@macro\Hy@EveryPageBoxHook{% |
| 14664 |
\hyper@pagetransition |
| 14665 |
\hyper@pageduration |
| 14666 |
} |
| 14667 |
% \end{macrocode} |
| 14668 |
% \begin{macrocode} |
| 14669 |
%</dvipdfm|xetex> |
| 14670 |
% \end{macrocode} |
| 14671 |
% |
| 14672 |
% Xe\TeX\ uses pdf\TeX's method \cs{pdfpagewidth} |
| 14673 |
% and \cs{pdfpageheight} for setting the paper size. |
| 14674 |
% \begin{macrocode} |
| 14675 |
%<*dvipdfm> |
| 14676 |
\AddToHook{shipout/firstpage}{% |
| 14677 |
\ifHy@setpagesize |
| 14678 |
\begingroup |
| 14679 |
\ifnum\mag=\@m |
| 14680 |
\ifdim\stockwidth>\z@ |
| 14681 |
\ifdim\stockheight>\z@ |
| 14682 |
\special{papersize=\the\stockwidth,\the\stockheight}% |
| 14683 |
\else |
| 14684 |
\ifdim\paperwidth>\z@ |
| 14685 |
\ifdim\paperheight>\z@ |
| 14686 |
\special{papersize=\the\paperwidth,\the\paperheight}% |
| 14687 |
\fi |
| 14688 |
\fi |
| 14689 |
\fi |
| 14690 |
\else |
| 14691 |
\ifdim\stockwidth=\z@ |
| 14692 |
\ifdim\paperwidth>\z@ |
| 14693 |
\ifdim\paperheight>\z@ |
| 14694 |
\special{papersize=\the\paperwidth,\the\paperheight}% |
| 14695 |
\fi |
| 14696 |
\fi |
| 14697 |
\fi |
| 14698 |
\fi |
| 14699 |
\fi |
| 14700 |
\endgroup |
| 14701 |
\fi |
| 14702 |
\Hy@DisableOption{setpagesize}% |
| 14703 |
} |
| 14704 |
%</dvipdfm> |
| 14705 |
% \end{macrocode} |
| 14706 |
% |
| 14707 |
% \subsection{VTeX typesetting system} |
| 14708 |
% Provided by MicroPress, May 1998. |
| 14709 |
% They require VTeX version 6.02 or newer; |
| 14710 |
% see \url{http://www.micropress-inc.com/} for details. |
| 14711 |
% \begin{macrocode} |
| 14712 |
%<*vtexhtml> |
| 14713 |
\providecommand*{\XR@ext}{htm} |
| 14714 |
\RequirePackage{vtexhtml} |
| 14715 |
\newif\if@Localurl |
| 14716 |
\let\PDF@FinishDoc\@empty |
| 14717 |
\def\PDF@SetupDoc{% |
| 14718 |
\ifx\@baseurl\@empty |
| 14719 |
\else |
| 14720 |
\special{!direct <base href="\@baseurl">}% |
| 14721 |
\fi |
| 14722 |
} |
| 14723 |
\def\@urltype{url} |
| 14724 |
\def\hyper@link#1#2#3{% |
| 14725 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 14726 |
\leavevmode |
| 14727 |
\special{!direct <a href=% |
| 14728 |
\hyper@quote\hyper@hash\HyperDestNameFilter{#2}\hyper@quote>}% |
| 14729 |
#3\Hy@xspace@end |
| 14730 |
\special{!direct </a>}% |
| 14731 |
} |
| 14732 |
\def\hyper@linkurl#1#2{% |
| 14733 |
\begingroup |
| 14734 |
\hyper@chars |
| 14735 |
\leavevmode |
| 14736 |
\MathBSuppress=1\relax |
| 14737 |
\special{!direct <a href=% |
| 14738 |
\hyper@quote\HyperDestNameFilter{#2}\hyper@quote>}% |
| 14739 |
#1\Hy@xspace@end |
| 14740 |
\MathBSuppress=0\relax |
| 14741 |
\special{!direct </a>}% |
| 14742 |
\endgroup |
| 14743 |
} |
| 14744 |
\def\hyper@linkfile#1#2#3{% |
| 14745 |
\hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% |
| 14746 |
} |
| 14747 |
\def\hyper@linkstart#1#2{% |
| 14748 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 14749 |
\def\Hy@tempa{#1}\ifx\Hy@tempa\@urltype |
| 14750 |
\@Localurltrue |
| 14751 |
\special{!direct <a href=\hyper@quote#2\hyper@quote>}% |
| 14752 |
\else |
| 14753 |
\@Localurlfalse |
| 14754 |
\begingroup |
| 14755 |
\hyper@chars |
| 14756 |
\special{!aref \HyperDestNameFilter{#2}}% |
| 14757 |
\endgroup |
| 14758 |
\fi |
| 14759 |
} |
| 14760 |
\def\hyper@linkend{% |
| 14761 |
\if@Localurl |
| 14762 |
\special{!endaref}% |
| 14763 |
\else |
| 14764 |
\special{!direct </a>}% |
| 14765 |
\fi |
| 14766 |
} |
| 14767 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 14768 |
\Hy@SaveLastskip |
| 14769 |
\Hy@VerboseAnchor{#1}% |
| 14770 |
\begingroup |
| 14771 |
\hyper@chars |
| 14772 |
\special{!aname #1}% |
| 14773 |
\special{!direct <a name=% |
| 14774 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 14775 |
\endgroup |
| 14776 |
\Hy@activeanchortrue |
| 14777 |
} |
| 14778 |
\def\hyper@anchorend{% |
| 14779 |
\special{!direct </a>}% |
| 14780 |
\Hy@activeanchorfalse |
| 14781 |
\Hy@RestoreLastskip |
| 14782 |
} |
| 14783 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 14784 |
\Hy@SaveLastskip |
| 14785 |
\Hy@VerboseAnchor{#1}% |
| 14786 |
\begingroup |
| 14787 |
\let\protect=\string |
| 14788 |
\hyper@chars |
| 14789 |
\leavevmode |
| 14790 |
\special{!aname #1}% |
| 14791 |
\special{!direct <a name=% |
| 14792 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 14793 |
\endgroup |
| 14794 |
\Hy@activeanchortrue |
| 14795 |
\bgroup\anchor@spot\egroup |
| 14796 |
\special{!direct </a>}% |
| 14797 |
\Hy@activeanchorfalse |
| 14798 |
\Hy@RestoreLastskip |
| 14799 |
} |
| 14800 |
\def\@Form[#1]{% |
| 14801 |
\Hy@Message{Sorry, TeXpider does not yet support FORMs}% |
| 14802 |
} |
| 14803 |
\let\@endForm\@empty |
| 14804 |
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum |
| 14805 |
\Hy@Message{Sorry, TeXpider does not yet support FORM gauges}% |
| 14806 |
} |
| 14807 |
\def\@TextField[#1]#2{% parameters, label |
| 14808 |
\Hy@Message{Sorry, TeXpider does not yet support FORM text fields}% |
| 14809 |
} |
| 14810 |
\def\@CheckBox[#1]#2{% parameters, label |
| 14811 |
\Hy@Message{Sorry, TeXpider does not yet support FORM checkboxes}% |
| 14812 |
} |
| 14813 |
\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices |
| 14814 |
\Hy@Message{Sorry, TeXpider does not yet support FORM choice menus}% |
| 14815 |
} |
| 14816 |
\def\@PushButton[#1]#2{% parameters, label |
| 14817 |
\Hy@Message{Sorry, TeXpider does not yet support FORM pushbuttons}% |
| 14818 |
} |
| 14819 |
\def\@Reset[#1]#2{% |
| 14820 |
\Hy@Message{Sorry, TeXpider does not yet support FORMs}% |
| 14821 |
} |
| 14822 |
\def\@Submit[#1]#2{% |
| 14823 |
\Hy@Message{Sorry, TeXpider does not yet support FORMs}% |
| 14824 |
} |
| 14825 |
%</vtexhtml> |
| 14826 |
% \end{macrocode} |
| 14827 |
% \begin{macrocode} |
| 14828 |
%<*vtex> |
| 14829 |
% \end{macrocode} |
| 14830 |
% VTeX version 6.68 supports \cs{mediawidth} and \cs{mediaheight}. |
| 14831 |
% The \cs{ifx} construct is better than a \cs{csname}, because |
| 14832 |
% it avoids the definition and the hash table entry of a |
| 14833 |
% previous undefined macro. |
| 14834 |
% \begin{macrocode} |
| 14835 |
\ifcsname mediaheight\endcsname |
| 14836 |
\ifHy@setpagesize |
| 14837 |
\providecommand*{\VTeXInitMediaSize}{% |
| 14838 |
\ifnum\mag=\@m |
| 14839 |
\ifdim\stockwidth>\z@ |
| 14840 |
\ifdim\stockheight>\z@ |
| 14841 |
\setlength\mediaheight\stockheight |
| 14842 |
\setlength\mediawidth\stockwidth |
| 14843 |
\else |
| 14844 |
\ifdim\paperwidth>\z@ |
| 14845 |
\ifdim\paperheight>\z@ |
| 14846 |
\setlength\mediaheight\paperheight |
| 14847 |
\setlength\mediawidth\paperwidth |
| 14848 |
\fi |
| 14849 |
\fi |
| 14850 |
\fi |
| 14851 |
\else |
| 14852 |
\ifdim\stockwidth=\z@ |
| 14853 |
\ifdim\paperwidth>\z@ |
| 14854 |
\ifdim\paperheight>\z@ |
| 14855 |
\setlength\mediaheight\paperheight |
| 14856 |
\setlength\mediawidth\paperwidth |
| 14857 |
\fi |
| 14858 |
\fi |
| 14859 |
\fi |
| 14860 |
\fi |
| 14861 |
\fi |
| 14862 |
}% |
| 14863 |
\Hy@AtBeginDocument{\VTeXInitMediaSize}% |
| 14864 |
\fi |
| 14865 |
\Hy@DisableOption{setpagesize}% |
| 14866 |
\fi |
| 14867 |
% \end{macrocode} |
| 14868 |
% Older versions of VTeX require |xyz| in lower case. |
| 14869 |
% \begin{macrocode} |
| 14870 |
\providecommand*\@pdfview{xyz} |
| 14871 |
\providecommand*\@pdfborder{0 0 1} |
| 14872 |
\providecommand*\@pdfborderstyle{} |
| 14873 |
\let\CurrentBorderColor\@linkbordercolor |
| 14874 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 14875 |
\Hy@SaveLastskip |
| 14876 |
\Hy@VerboseAnchor{#1}% |
| 14877 |
\begingroup |
| 14878 |
\let\protect=\string |
| 14879 |
\hyper@chars |
| 14880 |
\special{!aname \HyperDestNameFilter{#1};\@pdfview}% |
| 14881 |
\endgroup |
| 14882 |
\Hy@activeanchortrue |
| 14883 |
\Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink |
| 14884 |
\Hy@activeanchorfalse |
| 14885 |
\Hy@RestoreLastskip |
| 14886 |
} |
| 14887 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 14888 |
\Hy@SaveLastskip |
| 14889 |
\Hy@VerboseAnchor{#1}% |
| 14890 |
\begingroup |
| 14891 |
\hyper@chars |
| 14892 |
\special{!aname \HyperDestNameFilter{#1};\@pdfview}% |
| 14893 |
\endgroup |
| 14894 |
\Hy@activeanchortrue |
| 14895 |
} |
| 14896 |
\def\hyper@anchorend{% |
| 14897 |
\Hy@activeanchorfalse |
| 14898 |
\Hy@RestoreLastskip |
| 14899 |
} |
| 14900 |
\def\@urltype{url} |
| 14901 |
\def\Hy@undefinedname{UNDEFINED} |
| 14902 |
\def\hyper@linkstart#1#2{% |
| 14903 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 14904 |
\Hy@pstringdef\Hy@pstringURI{#2}% |
| 14905 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 14906 |
\@ifundefined{@#1bordercolor}{% |
| 14907 |
\let\CurrentBorderColor\relax |
| 14908 |
}{% |
| 14909 |
\edef\CurrentBorderColor{% |
| 14910 |
\csname @#1bordercolor\endcsname |
| 14911 |
}% |
| 14912 |
}% |
| 14913 |
\def\Hy@tempa{#1}% |
| 14914 |
\ifx\Hy@tempa\@urltype |
| 14915 |
\special{!% |
| 14916 |
aref <u=/Type/Action/S/URI/URI(\Hy@pstringURI)% |
| 14917 |
\ifHy@href@ismap |
| 14918 |
/IsMap true% |
| 14919 |
\fi |
| 14920 |
\Hy@href@nextactionraw |
| 14921 |
>;% |
| 14922 |
a=<% |
| 14923 |
\ifHy@pdfa /F 4\fi |
| 14924 |
\Hy@setpdfborder |
| 14925 |
\ifx\CurrentBorderColor\relax |
| 14926 |
\else |
| 14927 |
/C [\CurrentBorderColor]% |
| 14928 |
\fi |
| 14929 |
>% |
| 14930 |
}% |
| 14931 |
\else |
| 14932 |
\protected@edef\Hy@testname{#2}% |
| 14933 |
\ifx\Hy@testname\@empty |
| 14934 |
\Hy@Warning{% |
| 14935 |
Empty destination name,\MessageBreak |
| 14936 |
using `\Hy@undefinedname'% |
| 14937 |
}% |
| 14938 |
\let\Hy@testname\Hy@undefinedname |
| 14939 |
\fi |
| 14940 |
\special{!% |
| 14941 |
aref \expandafter\HyperDestNameFilter |
| 14942 |
\expandafter{\Hy@testname};% |
| 14943 |
a=<% |
| 14944 |
\ifHy@pdfa /F 4\fi |
| 14945 |
\Hy@setpdfborder |
| 14946 |
\ifx\CurrentBorderColor\relax |
| 14947 |
\else |
| 14948 |
/C [\CurrentBorderColor]% |
| 14949 |
\fi |
| 14950 |
>% |
| 14951 |
}% |
| 14952 |
\fi |
| 14953 |
} |
| 14954 |
\def\hyper@linkend{% |
| 14955 |
\special{!endaref}% |
| 14956 |
\Hy@endcolorlink |
| 14957 |
} |
| 14958 |
\def\hyper@linkfile#1#2#3{% |
| 14959 |
\leavevmode |
| 14960 |
\def\Hy@pstringF{#2}% |
| 14961 |
\Hy@CleanupFile\Hy@pstringF |
| 14962 |
\special{!% |
| 14963 |
aref <% |
| 14964 |
\ifnum\Hy@VTeXversion>753 \ifHy@pdfnewwindow n\fi\fi |
| 14965 |
f=\Hy@pstringF>#3;% |
| 14966 |
a=<% |
| 14967 |
\ifHy@pdfa /F 4\fi |
| 14968 |
\Hy@setpdfborder |
| 14969 |
\ifx\@filebordercolor\relax |
| 14970 |
\else |
| 14971 |
/C [\@filebordercolor]% |
| 14972 |
\fi |
| 14973 |
>% |
| 14974 |
}% |
| 14975 |
\Hy@colorlink\@filecolor |
| 14976 |
#1\Hy@xspace@end |
| 14977 |
\Hy@endcolorlink |
| 14978 |
\special{!endaref}% |
| 14979 |
} |
| 14980 |
\def\hyper@linkurl#1#2{% |
| 14981 |
\begingroup |
| 14982 |
\Hy@pstringdef\Hy@pstringURI{#2}% |
| 14983 |
\hyper@chars |
| 14984 |
\leavevmode |
| 14985 |
\special{!% |
| 14986 |
aref <u=/Type/Action/S/URI/URI(\Hy@pstringURI)% |
| 14987 |
\ifHy@href@ismap |
| 14988 |
/IsMap true% |
| 14989 |
\fi |
| 14990 |
\Hy@href@nextactionraw |
| 14991 |
>;% |
| 14992 |
a=<% |
| 14993 |
\ifHy@pdfa /F 4\fi |
| 14994 |
\Hy@setpdfborder |
| 14995 |
\ifx\@urlbordercolor\relax |
| 14996 |
\else |
| 14997 |
/C [\@urlbordercolor]% |
| 14998 |
\fi |
| 14999 |
>% |
| 15000 |
}% |
| 15001 |
\Hy@colorlink\@urlcolor |
| 15002 |
#1\Hy@xspace@end |
| 15003 |
\Hy@endcolorlink |
| 15004 |
\special{!endaref}% |
| 15005 |
\endgroup |
| 15006 |
} |
| 15007 |
\def\hyper@link#1#2#3{% |
| 15008 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 15009 |
\@ifundefined{@#1bordercolor}{% |
| 15010 |
\let\CurrentBorderColor\relax |
| 15011 |
}{% |
| 15012 |
\edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% |
| 15013 |
}% |
| 15014 |
\leavevmode |
| 15015 |
\protected@edef\Hy@testname{#2}% |
| 15016 |
\ifx\Hy@testname\@empty |
| 15017 |
\Hy@Warning{% |
| 15018 |
Empty destination name,\MessageBreak |
| 15019 |
using `\Hy@undefinedname'% |
| 15020 |
}% |
| 15021 |
\let\Hy@testname\Hy@undefinedname |
| 15022 |
\fi |
| 15023 |
\special{!% |
| 15024 |
aref \expandafter\HyperDestNameFilter |
| 15025 |
\expandafter{\Hy@testname};% |
| 15026 |
a=<% |
| 15027 |
\ifHy@pdfa /F 4\fi |
| 15028 |
\Hy@setpdfborder |
| 15029 |
\ifx\CurrentBorderColor\relax |
| 15030 |
\else |
| 15031 |
/C [\CurrentBorderColor]% |
| 15032 |
\fi |
| 15033 |
>% |
| 15034 |
}% |
| 15035 |
\expandafter |
| 15036 |
\Hy@colorlink\csname @#1color\endcsname |
| 15037 |
#3\Hy@xspace@end |
| 15038 |
\Hy@endcolorlink |
| 15039 |
\special{!endaref}% |
| 15040 |
} |
| 15041 |
\def\hyper@image#1#2{% |
| 15042 |
\hyper@linkurl{#2}{#1}% |
| 15043 |
} |
| 15044 |
\def\@hyper@launch run:#1\\#2#3{% |
| 15045 |
\Hy@pstringdef\Hy@pstringF{#1}% |
| 15046 |
\Hy@pstringdef\Hy@pstringP{#3}% |
| 15047 |
\leavevmode |
| 15048 |
\special{!aref % |
| 15049 |
<u=% |
| 15050 |
/Type/Action% |
| 15051 |
/S/Launch% |
| 15052 |
/F(\Hy@pstringF)% |
| 15053 |
\Hy@SetNewWindow |
| 15054 |
\ifx\\#3\\% |
| 15055 |
\else |
| 15056 |
/Win<</F(\Hy@pstringF)/P(\Hy@pstringP)>>% |
| 15057 |
\fi |
| 15058 |
\Hy@href@nextactionraw |
| 15059 |
>;% |
| 15060 |
a=<% |
| 15061 |
\ifHy@pdfa /F 4\fi |
| 15062 |
\Hy@setpdfborder |
| 15063 |
\ifx\@runbordercolor\relax |
| 15064 |
\else |
| 15065 |
/C[\@runbordercolor]% |
| 15066 |
\fi |
| 15067 |
>% |
| 15068 |
}% |
| 15069 |
\Hy@colorlink\@runcolor |
| 15070 |
#2\Hy@xspace@end |
| 15071 |
\Hy@endcolorlink |
| 15072 |
\special{!endaref}% |
| 15073 |
} |
| 15074 |
\def\Acrobatmenu#1#2{% |
| 15075 |
\EdefEscapeName\Hy@temp@menu{#1}% |
| 15076 |
\Hy@Acrobatmenu{#1}{#2}{% |
| 15077 |
\special{!% |
| 15078 |
aref <u=/S /Named /N /\Hy@temp@menu>;% |
| 15079 |
a=<% |
| 15080 |
\ifHy@pdfa /F 4\fi |
| 15081 |
\Hy@setpdfborder |
| 15082 |
\ifx\@menubordercolor\relax |
| 15083 |
\else |
| 15084 |
/C[\@menubordercolor]% |
| 15085 |
\fi |
| 15086 |
>% |
| 15087 |
}% |
| 15088 |
\Hy@colorlink\@menucolor |
| 15089 |
#2\Hy@xspace@end |
| 15090 |
\Hy@endcolorlink |
| 15091 |
\special{!endaref}% |
| 15092 |
}% |
| 15093 |
} |
| 15094 |
% \end{macrocode} |
| 15095 |
% |
| 15096 |
% The following code (transition effects) is |
| 15097 |
% made by Alex Kostin. |
| 15098 |
% |
| 15099 |
% The code below makes sense for V\TeX\ 7.02 or later. |
| 15100 |
% |
| 15101 |
% Please never use |\@ifundefined{VTeXversion}{..}{..}| \emph{globally}. |
| 15102 |
% \begin{macrocode} |
| 15103 |
\ifnum\Hy@VTeXversion<702 % |
| 15104 |
\else |
| 15105 |
\def\hyper@pagetransition{% |
| 15106 |
\ifx\@pdfpagetransition\relax |
| 15107 |
\else |
| 15108 |
\ifx\@pdfpagetransition\@empty |
| 15109 |
% \end{macrocode} |
| 15110 |
% |
| 15111 |
% Standard incantation. |
| 15112 |
% |
| 15113 |
% 1. Does an old entry have to be deleted? |
| 15114 |
% 2. If 1=yes, how to delete? |
| 15115 |
% \begin{macrocode} |
| 15116 |
\else |
| 15117 |
\hvtex@parse@trans\@pdfpagetransition |
| 15118 |
\fi |
| 15119 |
\fi |
| 15120 |
}% |
| 15121 |
% \end{macrocode} |
| 15122 |
% |
| 15123 |
% I have to write an ``honest'' parser to convert raw PDF code |
| 15124 |
% into V\TeX\ |\special|. (AVK) |
| 15125 |
% |
| 15126 |
% Syntax of V\TeX\ |\special{!trans <transition_effect>}|: |
| 15127 |
%\begin{verbatim} |
| 15128 |
%<transition_effect> ::= <transition_style>[,<transition_duration>] |
| 15129 |
%<transition_style> ::= <Blinds_effect> | <Box_effect> | |
| 15130 |
% <Dissolve_effect> | <Glitter_effect> | |
| 15131 |
% <Split_effect> | <Wipe_effect> |
| 15132 |
%<Blinds_effect> ::= B[<effect_dimension>] |
| 15133 |
%<Box_effect> ::= X[<effect_motion>] |
| 15134 |
%<Dissolve_effect> ::= D |
| 15135 |
%<Glitter_effect> ::= G[<effect_direction>] |
| 15136 |
%<Split_effect> ::= S[<effect_motion>][<effect_dimension>] |
| 15137 |
%<Wipe_effect> ::= W[<effect_direction>] |
| 15138 |
%<Replace_effect> ::= R |
| 15139 |
%<effect_direction> ::= <number> |
| 15140 |
%<effect_dimension> ::= H | V |
| 15141 |
%<effect_motion> ::= I | O |
| 15142 |
%<transition_duration> ::= <number> |
| 15143 |
%\end{verbatim} |
| 15144 |
% |
| 15145 |
% Transition codes: |
| 15146 |
% \begin{macrocode} |
| 15147 |
\def\hvtex@trans@effect@Blinds{\def\hvtex@trans@code{B}}% |
| 15148 |
\def\hvtex@trans@effect@Box{\def\hvtex@trans@code{X}}% |
| 15149 |
\def\hvtex@trans@effect@Dissolve{\def\hvtex@trans@code{D}}% |
| 15150 |
\def\hvtex@trans@effect@Glitter{\def\hvtex@trans@code{G}}% |
| 15151 |
\def\hvtex@trans@effect@Split{\def\hvtex@trans@code{S}}% |
| 15152 |
\def\hvtex@trans@effect@Wipe{\def\hvtex@trans@code{W}}% |
| 15153 |
\def\hvtex@trans@effect@R{\def\hvtex@trans@code{R}}% |
| 15154 |
% \end{macrocode} |
| 15155 |
% |
| 15156 |
% Optional parameters: |
| 15157 |
% \begin{macrocode} |
| 15158 |
\def\hvtex@par@dimension{/Dm}% |
| 15159 |
\def\hvtex@par@direction{/Di}% |
| 15160 |
\def\hvtex@par@duration{/D}% |
| 15161 |
\def\hvtex@par@motion{/M}% |
| 15162 |
% \end{macrocode} |
| 15163 |
% |
| 15164 |
% Tokenizer: |
| 15165 |
% \begin{macrocode} |
| 15166 |
\def\hvtex@gettoken{% |
| 15167 |
\expandafter\hvtex@gettoken@\hvtex@buffer\@nil |
| 15168 |
}% |
| 15169 |
% \end{macrocode} |
| 15170 |
% |
| 15171 |
% Notice that tokens in the input buffer must be space delimited. |
| 15172 |
% \begin{macrocode} |
| 15173 |
\def\hvtex@gettoken@#1 #2\@nil{% |
| 15174 |
\edef\hvtex@token{#1}% |
| 15175 |
\edef\hvtex@buffer{#2}% |
| 15176 |
}% |
| 15177 |
\def\hvtex@parse@trans#1{% |
| 15178 |
% \end{macrocode} |
| 15179 |
% |
| 15180 |
% Initializing code: |
| 15181 |
% \begin{macrocode} |
| 15182 |
\let\hvtex@trans@code\@empty |
| 15183 |
\let\hvtex@param@dimension\@empty |
| 15184 |
\let\hvtex@param@direction\@empty |
| 15185 |
\let\hvtex@param@duration\@empty |
| 15186 |
\let\hvtex@param@motion\@empty |
| 15187 |
\edef\hvtex@buffer{#1\space}% |
| 15188 |
% \end{macrocode} |
| 15189 |
% First token is the PDF transition name without escape. |
| 15190 |
% \begin{macrocode} |
| 15191 |
\hvtex@gettoken |
| 15192 |
\ifx\hvtex@token\@empty |
| 15193 |
% \end{macrocode} |
| 15194 |
% Leading space(s)? |
| 15195 |
% \begin{macrocode} |
| 15196 |
\ifx\hvtex@buffer\@empty |
| 15197 |
% \end{macrocode} |
| 15198 |
% The buffer is empty, nothing to do. |
| 15199 |
% \begin{macrocode} |
| 15200 |
\else |
| 15201 |
\hvtex@gettoken |
| 15202 |
\fi |
| 15203 |
\fi |
| 15204 |
\csname hvtex@trans@effect@\hvtex@token\endcsname |
| 15205 |
% \end{macrocode} |
| 15206 |
% Now is time to parse optional parameters. |
| 15207 |
% \begin{macrocode} |
| 15208 |
\hvtex@trans@params |
| 15209 |
}% |
| 15210 |
% \end{macrocode} |
| 15211 |
% |
| 15212 |
% Reentrable macro to parse optional parameters. |
| 15213 |
% \begin{macrocode} |
| 15214 |
\def\hvtex@trans@params{% |
| 15215 |
\ifx\hvtex@buffer\@empty |
| 15216 |
\else |
| 15217 |
\hvtex@gettoken |
| 15218 |
\let\hvtex@trans@par\hvtex@token |
| 15219 |
\ifx\hvtex@buffer\@empty |
| 15220 |
\else |
| 15221 |
\hvtex@gettoken |
| 15222 |
\ifx\hvtex@trans@par\hvtex@par@duration |
| 15223 |
% \end{macrocode} |
| 15224 |
% /D is the effect duration in seconds. V\TeX\ special |
| 15225 |
% takes it in milliseconds. |
| 15226 |
% \begin{macrocode} |
| 15227 |
\let\hvtex@param@duration\hvtex@token |
| 15228 |
\else \ifx\hvtex@trans@par\hvtex@par@motion |
| 15229 |
% \end{macrocode} |
| 15230 |
% /M can be either /I or /O |
| 15231 |
% \begin{macrocode} |
| 15232 |
\expandafter\edef\expandafter\hvtex@param@motion |
| 15233 |
\expandafter{\expandafter\@gobble\hvtex@token}% |
| 15234 |
\else \ifx\hvtex@trans@par\hvtex@par@dimension |
| 15235 |
% \end{macrocode} |
| 15236 |
% /Dm can be either /H or /V |
| 15237 |
% \begin{macrocode} |
| 15238 |
\expandafter\edef\expandafter\hvtex@param@dimension |
| 15239 |
\expandafter{\expandafter\@gobble\hvtex@token}% |
| 15240 |
\else \ifx\hvtex@trans@par\hvtex@par@direction |
| 15241 |
% \end{macrocode} |
| 15242 |
% |
| 15243 |
% Valid values for /Di are 0, 270, 315 (the Glitter effect) or |
| 15244 |
% 0, 90, 180, 270 (the Wipe effect). |
| 15245 |
% \begin{macrocode} |
| 15246 |
\let\hvtex@param@direction\hvtex@token |
| 15247 |
\fi\fi\fi\fi |
| 15248 |
\fi |
| 15249 |
\fi |
| 15250 |
\ifx\hvtex@buffer\@empty |
| 15251 |
\let\next\hvtex@produce@trans |
| 15252 |
\else |
| 15253 |
\let\next\hvtex@trans@params |
| 15254 |
\fi |
| 15255 |
\next |
| 15256 |
}% |
| 15257 |
% \end{macrocode} |
| 15258 |
% |
| 15259 |
% Merge |<transition_effect>| and issue the special when possible. |
| 15260 |
% Too lazy to validate optional parameters. |
| 15261 |
% \begin{macrocode} |
| 15262 |
\def\hvtex@produce@trans{% |
| 15263 |
\let\vtex@trans@special\@empty |
| 15264 |
\if S\hvtex@trans@code |
| 15265 |
\edef\vtex@trans@special{\hvtex@trans@code |
| 15266 |
\hvtex@param@dimension\hvtex@param@motion}% |
| 15267 |
\else\if B\hvtex@trans@code |
| 15268 |
\edef\vtex@trans@special{% |
| 15269 |
\hvtex@trans@code\hvtex@param@dimension |
| 15270 |
}% |
| 15271 |
\else\if X\hvtex@trans@code |
| 15272 |
\edef\vtex@trans@special{% |
| 15273 |
\hvtex@trans@code\hvtex@param@motion |
| 15274 |
}% |
| 15275 |
\else\if W\hvtex@trans@code |
| 15276 |
\edef\vtex@trans@special{% |
| 15277 |
\hvtex@trans@code\hvtex@param@direction |
| 15278 |
}% |
| 15279 |
\else\if D\hvtex@trans@code |
| 15280 |
\let\vtex@trans@special\hvtex@trans@code |
| 15281 |
\else\if R\hvtex@trans@code |
| 15282 |
\let\vtex@trans@special\hvtex@trans@code |
| 15283 |
\else\if G\hvtex@trans@code |
| 15284 |
\edef\vtex@trans@special{% |
| 15285 |
\hvtex@trans@code\hvtex@param@direction |
| 15286 |
}% |
| 15287 |
\fi\fi\fi\fi\fi\fi\fi |
| 15288 |
\ifx\vtex@trans@special\@empty |
| 15289 |
\else |
| 15290 |
\ifx\hvtex@param@duration\@empty |
| 15291 |
\else |
| 15292 |
\setlength{\dimen@}{\hvtex@param@duration\p@}% |
| 15293 |
% \end{macrocode} |
| 15294 |
% I'm not guilty of possible overflow. |
| 15295 |
% \begin{macrocode} |
| 15296 |
\multiply\dimen@\@m |
| 15297 |
\edef\vtex@trans@special{% |
| 15298 |
\vtex@trans@special,\strip@pt\dimen@ |
| 15299 |
}% |
| 15300 |
\fi |
| 15301 |
% \end{macrocode} |
| 15302 |
% |
| 15303 |
% And all the mess is just for this. |
| 15304 |
% |
| 15305 |
% \begin{macrocode} |
| 15306 |
\special{!trans \vtex@trans@special}% |
| 15307 |
\fi |
| 15308 |
}% |
| 15309 |
% \end{macrocode} |
| 15310 |
% \begin{macrocode} |
| 15311 |
\def\hyper@pageduration{% |
| 15312 |
\ifx\@pdfpageduration\relax |
| 15313 |
\else |
| 15314 |
\ifx\@pdfpageduration\@empty |
| 15315 |
\special{!duration-}% |
| 15316 |
\else |
| 15317 |
\special{!duration \@pdfpageduration}% |
| 15318 |
\fi |
| 15319 |
\fi |
| 15320 |
}% |
| 15321 |
\g@addto@macro\Hy@EveryPageBoxHook{% |
| 15322 |
\hyper@pagetransition |
| 15323 |
\hyper@pageduration |
| 15324 |
}% |
| 15325 |
\fi |
| 15326 |
% \end{macrocode} |
| 15327 |
% |
| 15328 |
% Caution: In opposite to the other drivers, |
| 15329 |
% the argument of |\special{!onopen #1}| is |
| 15330 |
% a reference name. The VTeX's postscript |
| 15331 |
% mode will work with a version higher than |
| 15332 |
% 7.0x. |
| 15333 |
% |
| 15334 |
% The command \verb|\VTeXOS| is defined since version 7.45. |
| 15335 |
% Magic values encode the operating system:\\ |
| 15336 |
% \begin{tabular}{@{}l@{: }l@{}} |
| 15337 |
% 1 & WinTel\\ |
| 15338 |
% 2 & Linux\\ |
| 15339 |
% 3 & OS/2\\ |
| 15340 |
% 4 & MacOS\\ |
| 15341 |
% 5 & MacOS/X\\ |
| 15342 |
% \end{tabular} |
| 15343 |
% \begin{macrocode} |
| 15344 |
\ifx\@pdfproducer\relax |
| 15345 |
\def\@pdfproducer{VTeX}% |
| 15346 |
\ifnum\Hy@VTeXversion>\z@ |
| 15347 |
\count@\VTeXversion |
| 15348 |
\divide\count@ 100 % |
| 15349 |
\edef\@pdfproducer{\@pdfproducer\space v\the\count@}% |
| 15350 |
\multiply\count@ -100 % |
| 15351 |
\advance\count@\VTeXversion |
| 15352 |
\edef\@pdfproducer{% |
| 15353 |
\@pdfproducer |
| 15354 |
.\ifnum\count@<10 0\fi\the\count@ |
| 15355 |
\ifx\VTeXOS\@undefined\else |
| 15356 |
\ifnum\VTeXOS>0 % |
| 15357 |
\ifnum\VTeXOS<6 % |
| 15358 |
\space(% |
| 15359 |
\ifcase\VTeXOS |
| 15360 |
\or Windows\or Linux\or OS/2\or MacOS\or MacOS/X% |
| 15361 |
\fi |
| 15362 |
)% |
| 15363 |
\fi |
| 15364 |
\fi |
| 15365 |
\fi |
| 15366 |
,\space |
| 15367 |
\ifnum\OpMode=\@ne PDF\else PS\fi |
| 15368 |
\space backend% |
| 15369 |
\ifx\gexmode\@undefined\else |
| 15370 |
\ifnum\gexmode>\z@\space with GeX\fi |
| 15371 |
\fi |
| 15372 |
}% |
| 15373 |
\fi |
| 15374 |
\fi |
| 15375 |
% \end{macrocode} |
| 15376 |
% |
| 15377 |
% Current |!pdfinfo| key syntax: |
| 15378 |
% |
| 15379 |
% \begin{tabular}{lll} |
| 15380 |
% \hline |
| 15381 |
% Key & Field & Type \\ |
| 15382 |
% \hline |
| 15383 |
% \texttt{a} & \textbf{A}uthor & String \\ |
| 15384 |
% \texttt{b} & Crop\textbf{B}ox & String \\ |
| 15385 |
% \texttt{c} & \textbf{C}reator & String \\ |
| 15386 |
% \texttt{k} & \textbf{K}eywords & String \\ |
| 15387 |
% \texttt{l} & Page\textbf{L}ayout & PS \\ |
| 15388 |
% \texttt{p} & \textbf{P}ageMode & PS \\ |
| 15389 |
% \texttt{r} & P\textbf{r}oducer & String \\ |
| 15390 |
% \texttt{s} & \textbf{S}ubject & String \\ |
| 15391 |
% \texttt{t} & \textbf{T}itle & String \\ |
| 15392 |
% \texttt{u} & \textbf{U}RI & PS \\ |
| 15393 |
% \texttt{v} & \textbf{V}iewPreferences & PS \\ |
| 15394 |
% \hline |
| 15395 |
% \end{tabular} |
| 15396 |
% |
| 15397 |
% Note: PS objects that are dicts are in |<<<..>>>| (yuck; no choice). |
| 15398 |
% |
| 15399 |
% \begin{macrocode} |
| 15400 |
\def\PDF@SetupDoc{% |
| 15401 |
\ifx\@pdfpagescrop\@empty |
| 15402 |
\else |
| 15403 |
\special{!pdfinfo b=<\@pdfpagescrop>}% |
| 15404 |
\fi |
| 15405 |
\ifx\@pdfstartpage\@empty |
| 15406 |
\else |
| 15407 |
\ifx\@pdfstartview\@empty |
| 15408 |
\else |
| 15409 |
\special{!onopen Page\@pdfstartpage}% |
| 15410 |
\fi |
| 15411 |
\fi |
| 15412 |
\special{!pdfinfo p=</\@pdfpagemode>}% |
| 15413 |
\ifx\@baseurl\@empty |
| 15414 |
\else |
| 15415 |
\special{!pdfinfo u=<<</Base (\@baseurl)>>>}% |
| 15416 |
\fi |
| 15417 |
\special{!pdfinfo v=<<<% |
| 15418 |
\ifHy@pdftoolbar\else /HideToolbar true\fi |
| 15419 |
\ifHy@pdfmenubar\else /HideMenubar true\fi |
| 15420 |
\ifHy@pdfwindowui\else /HideWindowUI true\fi |
| 15421 |
\ifHy@pdffitwindow /FitWindow true\fi |
| 15422 |
\ifHy@pdfcenterwindow /CenterWindow true\fi |
| 15423 |
\ifHy@pdfdisplaydoctitle /DisplayDocTitle true\fi |
| 15424 |
\Hy@UseNameKey{NonFullScreenPageMode}\@pdfnonfullscreenpagemode |
| 15425 |
\Hy@UseNameKey{Direction}\@pdfdirection |
| 15426 |
\Hy@UseNameKey{ViewArea}\@pdfviewarea |
| 15427 |
\Hy@UseNameKey{ViewClip}\@pdfviewclip |
| 15428 |
\Hy@UseNameKey{PrintArea}\@pdfprintarea |
| 15429 |
\Hy@UseNameKey{PrintClip}\@pdfprintclip |
| 15430 |
\Hy@UseNameKey{PrintScaling}\@pdfprintscaling |
| 15431 |
\Hy@UseNameKey{Duplex}\@pdfduplex |
| 15432 |
\ifx\@pdfpicktraybypdfsize\@empty |
| 15433 |
\else |
| 15434 |
/PickTrayByPDFSize \@pdfpicktraybypdfsize |
| 15435 |
\fi |
| 15436 |
\ifx\@pdfprintpagerange\@empty |
| 15437 |
\else |
| 15438 |
/PrintPageRange[\@pdfprintpagerange]% |
| 15439 |
\fi |
| 15440 |
\ifx\@pdfnumcopies\@empty |
| 15441 |
\else |
| 15442 |
/NumCopies \@pdfnumcopies |
| 15443 |
\fi |
| 15444 |
>>>}% |
| 15445 |
\ifx\@pdfpagelayout\@empty |
| 15446 |
\else |
| 15447 |
\special{!pdfinfo l=</\@pdfpagelayout\space>}% |
| 15448 |
\fi |
| 15449 |
}% |
| 15450 |
\HyInfo@AddonUnsupportedtrue |
| 15451 |
\define@key{Hyp}{pdfcreationdate}{% |
| 15452 |
\Hy@Warning{% |
| 15453 |
VTeX does not support pdfcreationdate.\MessageBreak |
| 15454 |
Therefore its setting is ignored% |
| 15455 |
}% |
| 15456 |
} |
| 15457 |
\define@key{Hyp}{pdfmoddate}{% |
| 15458 |
\Hy@Warning{% |
| 15459 |
VTeX does not support pdfmoddate.\MessageBreak |
| 15460 |
Therefore its setting is ignored% |
| 15461 |
}% |
| 15462 |
} |
| 15463 |
\def\PDF@FinishDoc{% |
| 15464 |
\Hy@UseMaketitleInfos |
| 15465 |
\HyInfo@TrappedUnsupported |
| 15466 |
\special{!pdfinfo a=<\@pdfauthor>}% |
| 15467 |
\special{!pdfinfo t=<\@pdftitle>}% |
| 15468 |
\special{!pdfinfo s=<\@pdfsubject>}% |
| 15469 |
\special{!pdfinfo c=<\@pdfcreator>}% |
| 15470 |
\ifx\@pdfproducer\relax |
| 15471 |
\else |
| 15472 |
\special{!pdfinfo r=<\@pdfproducer>}% |
| 15473 |
\fi |
| 15474 |
\special{!pdfinfo k=<\@pdfkeywords>}% |
| 15475 |
\Hy@DisableOption{pdfauthor}% |
| 15476 |
\Hy@DisableOption{pdftitle}% |
| 15477 |
\Hy@DisableOption{pdfsubject}% |
| 15478 |
\Hy@DisableOption{pdfcreator}% |
| 15479 |
\Hy@DisableOption{addtopdfcreator}% |
| 15480 |
\Hy@DisableOption{pdfcreationdate}% |
| 15481 |
\Hy@DisableOption{pdfcreationdate}% |
| 15482 |
\Hy@DisableOption{pdfmoddate}% |
| 15483 |
\Hy@DisableOption{pdfproducer}% |
| 15484 |
\Hy@DisableOption{pdfkeywords}% |
| 15485 |
\Hy@DisableOption{pdftrapped}% |
| 15486 |
\Hy@DisableOption{pdfinfo}% |
| 15487 |
} |
| 15488 |
%</vtex> |
| 15489 |
% \end{macrocode} |
| 15490 |
% |
| 15491 |
% \subsection{Fix for Adobe bug number 466320} |
| 15492 |
% If a destination occurs at the very begin of a page, |
| 15493 |
% the destination is moved to the previous page by |
| 15494 |
% Adobe Distiller 5. |
| 15495 |
% As workaround Adobe suggests: |
| 15496 |
%\begin{verbatim} |
| 15497 |
%/showpage { |
| 15498 |
% //showpage |
| 15499 |
% clippath stroke erasepage |
| 15500 |
%} bind def |
| 15501 |
%\end{verbatim} |
| 15502 |
% |
| 15503 |
% But unfortunately this fix generates an empty page |
| 15504 |
% at the end of the document. Therefore another fix |
| 15505 |
% is used by writing some clipped text. |
| 15506 |
% \begin{macrocode} |
| 15507 |
%<dviwindo>\def\literalps@out#1{\special{ps:#1}}% |
| 15508 |
%<packageEnd>\providecommand*{\Hy@DistillerDestFix}{} |
| 15509 |
%<*pdfmark|dviwindo> |
| 15510 |
\def\Hy@DistillerDestFix{% |
| 15511 |
\begingroup |
| 15512 |
\let\x\literalps@out |
| 15513 |
% \end{macrocode} |
| 15514 |
% The fix has to be passed unchanged through GeX, if |
| 15515 |
% VTeX in PostScript mode with GeX is used. |
| 15516 |
% \begin{macrocode} |
| 15517 |
\ifnum \@ifundefined{OpMode}{0}{% |
| 15518 |
\@ifundefined{gexmode}{0}{% |
| 15519 |
\ifnum\gexmode>0 \OpMode\else 0\fi |
| 15520 |
}}>1 % |
| 15521 |
\def\x##1{% |
| 15522 |
\immediate\special{!=##1}% |
| 15523 |
}% |
| 15524 |
\fi |
| 15525 |
\x{% |
| 15526 |
/product where{% |
| 15527 |
pop % |
| 15528 |
product(Distiller)search{% |
| 15529 |
pop pop pop % |
| 15530 |
version(.)search{% |
| 15531 |
exch pop exch pop% |
| 15532 |
(3011)eq{% |
| 15533 |
gsave % |
| 15534 |
newpath 0 0 moveto closepath clip% |
| 15535 |
/Courier findfont 10 scalefont setfont % |
| 15536 |
72 72 moveto(.)show % |
| 15537 |
grestore% |
| 15538 |
}if% |
| 15539 |
}{pop}ifelse% |
| 15540 |
}{pop}ifelse% |
| 15541 |
}if% |
| 15542 |
}% |
| 15543 |
\endgroup |
| 15544 |
} |
| 15545 |
%</pdfmark|dviwindo> |
| 15546 |
% \end{macrocode} |
| 15547 |
% |
| 15548 |
% \subsection{Direct pdfmark support} |
| 15549 |
% Drivers that load |pdfmark.def| have to provide the |
| 15550 |
% correct macro definitions of |
| 15551 |
% \begin{center} |
| 15552 |
% \begin{tabular}{@{}ll@{}} |
| 15553 |
% |\@pdfproducer|& for document information\\ |
| 15554 |
% |\literalps@out|& PostScript output\\ |
| 15555 |
% |\headerps@out|& PostScript output that goes in the header area\\ |
| 15556 |
% \end{tabular} |
| 15557 |
% \end{center} |
| 15558 |
% and the correct definitions of the following PostScript procedures: |
| 15559 |
% \begin{center} |
| 15560 |
% \begin{tabular}{@{}ll@{}} |
| 15561 |
% |H.S|& start of anchor, link or rect\\ |
| 15562 |
% |#1 H.A|& end of anchor, argument=baselineskip in pt\\ |
| 15563 |
% |#1 H.L|& end of link, argument=baselineskip in pt\\ |
| 15564 |
% |H.R|& end of rect\\ |
| 15565 |
% |H.B|& raw rect code\\ |
| 15566 |
% \end{tabular} |
| 15567 |
% \end{center} |
| 15568 |
% |
| 15569 |
% \begin{macrocode} |
| 15570 |
%<*pdfmark> |
| 15571 |
\Hy@breaklinks@unsupported |
| 15572 |
\def\HyPat@ObjRef{% |
| 15573 |
\{[^{}]+\}% |
| 15574 |
} |
| 15575 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 15576 |
\Hy@SaveLastskip |
| 15577 |
\Hy@VerboseAnchor{#1}% |
| 15578 |
\begingroup |
| 15579 |
\pdfmark[\anchor@spot]{% |
| 15580 |
pdfmark=/DEST,% |
| 15581 |
linktype=anchor,% |
| 15582 |
View=/\@pdfview \@pdfviewparams,% |
| 15583 |
DestAnchor={#1}% |
| 15584 |
}% |
| 15585 |
\endgroup |
| 15586 |
\Hy@RestoreLastskip |
| 15587 |
} |
| 15588 |
\@ifundefined{hyper@anchorstart}{}{\endinput} |
| 15589 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 15590 |
\Hy@SaveLastskip |
| 15591 |
\Hy@VerboseAnchor{#1}% |
| 15592 |
\literalps@out{H.S}% |
| 15593 |
\Hy@AllowHyphens |
| 15594 |
\xdef\hyper@currentanchor{#1}% |
| 15595 |
\Hy@activeanchortrue |
| 15596 |
} |
| 15597 |
\def\hyper@anchorend{% |
| 15598 |
\literalps@out{\strip@pt@and@otherjunk\baselineskip\space H.A}% |
| 15599 |
\pdfmark{% |
| 15600 |
pdfmark=/DEST,% |
| 15601 |
linktype=anchor,% |
| 15602 |
View=/\@pdfview \@pdfviewparams,% |
| 15603 |
DestAnchor=\hyper@currentanchor,% |
| 15604 |
}% |
| 15605 |
\Hy@activeanchorfalse |
| 15606 |
\Hy@RestoreLastskip |
| 15607 |
} |
| 15608 |
\def\hyper@linkstart#1#2{% |
| 15609 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 15610 |
\ifHy@breaklinks |
| 15611 |
\else |
| 15612 |
\leavevmode |
| 15613 |
\ifmmode |
| 15614 |
\def\Hy@LinkMath{$}% |
| 15615 |
\else |
| 15616 |
\let\Hy@LinkMath\@empty |
| 15617 |
\fi |
| 15618 |
\Hy@SaveSpaceFactor |
| 15619 |
\hbox\bgroup |
| 15620 |
\Hy@RestoreSpaceFactor |
| 15621 |
\Hy@LinkMath |
| 15622 |
\fi |
| 15623 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 15624 |
\literalps@out{H.S}% |
| 15625 |
\Hy@AllowHyphens |
| 15626 |
\xdef\hyper@currentanchor{#2}% |
| 15627 |
\gdef\hyper@currentlinktype{#1}% |
| 15628 |
} |
| 15629 |
\def\hyper@linkend{% |
| 15630 |
\literalps@out{\strip@pt@and@otherjunk\baselineskip\space H.L}% |
| 15631 |
\@ifundefined{@\hyper@currentlinktype bordercolor}{% |
| 15632 |
\let\Hy@tempcolor\relax |
| 15633 |
}{% |
| 15634 |
\edef\Hy@tempcolor{% |
| 15635 |
\csname @\hyper@currentlinktype bordercolor\endcsname |
| 15636 |
}% |
| 15637 |
}% |
| 15638 |
\pdfmark{% |
| 15639 |
pdfmark=/ANN,% |
| 15640 |
linktype=link,% |
| 15641 |
Subtype=/Link,% |
| 15642 |
PDFAFlags=4,% |
| 15643 |
Dest=\hyper@currentanchor,% |
| 15644 |
AcroHighlight=\@pdfhighlight,% |
| 15645 |
Border=\@pdfborder,% |
| 15646 |
BorderStyle=\@pdfborderstyle,% |
| 15647 |
Color=\Hy@tempcolor,% |
| 15648 |
Raw=H.B% |
| 15649 |
}% |
| 15650 |
\Hy@endcolorlink |
| 15651 |
\ifHy@breaklinks |
| 15652 |
\else |
| 15653 |
\Hy@LinkMath |
| 15654 |
\Hy@SaveSpaceFactor |
| 15655 |
\egroup |
| 15656 |
\Hy@RestoreSpaceFactor |
| 15657 |
\fi |
| 15658 |
} |
| 15659 |
% \end{macrocode} |
| 15660 |
% |
| 15661 |
% We have to allow for |\baselineskip| having an optional |
| 15662 |
% stretch and shrink (you meet this in slide packages, for instance), |
| 15663 |
% so we need to strip off the junk. David Carlisle, of course, |
| 15664 |
% wrote this bit of code. |
| 15665 |
% \begin{macrocode} |
| 15666 |
\begingroup |
| 15667 |
\catcode`P=12 % |
| 15668 |
\catcode`T=12 % |
| 15669 |
\lowercase{\endgroup |
| 15670 |
\gdef\rem@ptetc#1.#2PT#3!{#1\ifnum#2>\z@.#2\fi}% |
| 15671 |
} |
| 15672 |
\def\strip@pt@and@otherjunk#1{\expandafter\rem@ptetc\the#1!} |
| 15673 |
% \end{macrocode} |
| 15674 |
% |
| 15675 |
% \begin{macro}{\hyper@pagetransition} |
| 15676 |
% \begin{macrocode} |
| 15677 |
\def\hyper@pagetransition{% |
| 15678 |
\ifx\@pdfpagetransition\relax |
| 15679 |
\else |
| 15680 |
\ifx\@pdfpagetransition\@empty |
| 15681 |
% 1. Does an old entry have to be deleted? |
| 15682 |
% 2. If 1=yes, how to delete? |
| 15683 |
\else |
| 15684 |
\pdfmark{% |
| 15685 |
pdfmark=/PUT,% |
| 15686 |
Raw={% |
| 15687 |
\string{ThisPage\string}% |
| 15688 |
<</Trans << /S /\@pdfpagetransition\space >> >>% |
| 15689 |
}% |
| 15690 |
}% |
| 15691 |
\fi |
| 15692 |
\fi |
| 15693 |
} |
| 15694 |
% \end{macrocode} |
| 15695 |
% \end{macro} |
| 15696 |
% \begin{macro}{\hyper@pageduration} |
| 15697 |
% \begin{macrocode} |
| 15698 |
\def\hyper@pageduration{% |
| 15699 |
\ifx\@pdfpageduration\relax |
| 15700 |
\else |
| 15701 |
\ifx\@pdfpageduration\@empty |
| 15702 |
% 1. Does an old entry have to be deleted? |
| 15703 |
% 2. If 1=yes, how to delete? |
| 15704 |
\else |
| 15705 |
\pdfmark{% |
| 15706 |
pdfmark=/PUT,% |
| 15707 |
Raw={% |
| 15708 |
\string{ThisPage\string}% |
| 15709 |
<</Dur \@pdfpageduration>>% |
| 15710 |
}% |
| 15711 |
}% |
| 15712 |
\fi |
| 15713 |
\fi |
| 15714 |
} |
| 15715 |
% \end{macrocode} |
| 15716 |
% \end{macro} |
| 15717 |
% \begin{macrocode} |
| 15718 |
\g@addto@macro\Hy@EveryPageBoxHook{% |
| 15719 |
\hyper@pagetransition |
| 15720 |
\hyper@pageduration |
| 15721 |
} |
| 15722 |
% \end{macrocode} |
| 15723 |
% \begin{macrocode} |
| 15724 |
\def\hyper@image#1#2{% |
| 15725 |
\hyper@linkurl{#2}{#1}% |
| 15726 |
} |
| 15727 |
\def\Hy@undefinedname{UNDEFINED} |
| 15728 |
\def\hyper@link#1#2#3{% |
| 15729 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 15730 |
\@ifundefined{@#1bordercolor}{% |
| 15731 |
\let\Hy@tempcolor\relax |
| 15732 |
}{% |
| 15733 |
\edef\Hy@tempcolor{\csname @#1bordercolor\endcsname}% |
| 15734 |
}% |
| 15735 |
\begingroup |
| 15736 |
\protected@edef\Hy@testname{#2}% |
| 15737 |
\ifx\Hy@testname\@empty |
| 15738 |
\Hy@Warning{% |
| 15739 |
Empty destination name,\MessageBreak |
| 15740 |
using `\Hy@undefinedname'% |
| 15741 |
}% |
| 15742 |
\let\Hy@testname\Hy@undefinedname |
| 15743 |
\fi |
| 15744 |
\pdfmark[{#3}]{% |
| 15745 |
Color=\Hy@tempcolor,% |
| 15746 |
linktype={#1},% |
| 15747 |
AcroHighlight=\@pdfhighlight,% |
| 15748 |
Border=\@pdfborder,% |
| 15749 |
BorderStyle=\@pdfborderstyle,% |
| 15750 |
pdfmark=/ANN,% |
| 15751 |
Subtype=/Link,% |
| 15752 |
PDFAFlags=4,% |
| 15753 |
Dest=\Hy@testname |
| 15754 |
}% |
| 15755 |
\endgroup |
| 15756 |
} |
| 15757 |
\newtoks\pdf@docset |
| 15758 |
\def\PDF@FinishDoc{% |
| 15759 |
\Hy@UseMaketitleInfos |
| 15760 |
\HyInfo@GenerateAddons |
| 15761 |
\let\Hy@temp\@empty |
| 15762 |
\ifx\@pdfcreationdate\@empty |
| 15763 |
\else |
| 15764 |
\def\Hy@temp{CreationDate=\@pdfcreationdate,}% |
| 15765 |
\fi |
| 15766 |
\ifx\@pdfmoddate\@empty |
| 15767 |
\else |
| 15768 |
\expandafter\def\expandafter\Hy@temp\expandafter{% |
| 15769 |
\Hy@temp |
| 15770 |
ModDate=\@pdfmoddate,% |
| 15771 |
}% |
| 15772 |
\fi |
| 15773 |
\ifx\@pdfproducer\relax |
| 15774 |
\else |
| 15775 |
\expandafter\def\expandafter\Hy@temp\expandafter{% |
| 15776 |
\Hy@temp |
| 15777 |
Producer=\@pdfproducer,% |
| 15778 |
}% |
| 15779 |
\fi |
| 15780 |
\expandafter |
| 15781 |
\pdfmark\expandafter{% |
| 15782 |
\Hy@temp |
| 15783 |
pdfmark=/DOCINFO,% |
| 15784 |
Title=\@pdftitle,% |
| 15785 |
Subject=\@pdfsubject,% |
| 15786 |
Creator=\@pdfcreator,% |
| 15787 |
Author=\@pdfauthor,% |
| 15788 |
Keywords=\@pdfkeywords,% |
| 15789 |
Trapped=\@pdftrapped |
| 15790 |
}% |
| 15791 |
\ifx\HyInfo@Addons\@empty |
| 15792 |
\else |
| 15793 |
\pdfmark{% |
| 15794 |
pdfmark=/DOCINFO,% |
| 15795 |
Raw={\HyInfo@Addons}% |
| 15796 |
}% |
| 15797 |
\fi |
| 15798 |
\Hy@DisableOption{pdfauthor}% |
| 15799 |
\Hy@DisableOption{pdftitle}% |
| 15800 |
\Hy@DisableOption{pdfsubject}% |
| 15801 |
\Hy@DisableOption{pdfcreator}% |
| 15802 |
\Hy@DisableOption{addtopdfcreator}% |
| 15803 |
\Hy@DisableOption{pdfcreationdate}% |
| 15804 |
\Hy@DisableOption{pdfcreationdate}% |
| 15805 |
\Hy@DisableOption{pdfmoddate}% |
| 15806 |
\Hy@DisableOption{pdfproducer}% |
| 15807 |
\Hy@DisableOption{pdfkeywords}% |
| 15808 |
\Hy@DisableOption{pdftrapped}% |
| 15809 |
\Hy@DisableOption{pdfinfo}% |
| 15810 |
} |
| 15811 |
\def\PDF@SetupDoc{% |
| 15812 |
\def\Hy@temp{}% |
| 15813 |
\ifx\@pdfstartpage\@empty |
| 15814 |
\else |
| 15815 |
\ifx\@pdfstartview\@empty |
| 15816 |
\else |
| 15817 |
\edef\Hy@temp{% |
| 15818 |
,Page=\@pdfstartpage |
| 15819 |
,View=\@pdfstartview |
| 15820 |
}% |
| 15821 |
\fi |
| 15822 |
\fi |
| 15823 |
\edef\Hy@temp{% |
| 15824 |
\noexpand\pdfmark{% |
| 15825 |
pdfmark=/DOCVIEW,% |
| 15826 |
PageMode=/\@pdfpagemode |
| 15827 |
\Hy@temp |
| 15828 |
}% |
| 15829 |
}% |
| 15830 |
\Hy@temp |
| 15831 |
\ifx\@pdfpagescrop\@empty |
| 15832 |
\else |
| 15833 |
\pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}% |
| 15834 |
\fi |
| 15835 |
\edef\Hy@temp{% |
| 15836 |
\ifHy@pdftoolbar\else /HideToolbar true\fi |
| 15837 |
\ifHy@pdfmenubar\else /HideMenubar true\fi |
| 15838 |
\ifHy@pdfwindowui\else /HideWindowUI true\fi |
| 15839 |
\ifHy@pdffitwindow /FitWindow true\fi |
| 15840 |
\ifHy@pdfcenterwindow /CenterWindow true\fi |
| 15841 |
\ifHy@pdfdisplaydoctitle /DisplayDocTitle true\fi |
| 15842 |
\Hy@UseNameKey{NonFullScreenPageMode}\@pdfnonfullscreenpagemode |
| 15843 |
\Hy@UseNameKey{Direction}\@pdfdirection |
| 15844 |
\Hy@UseNameKey{ViewArea}\@pdfviewarea |
| 15845 |
\Hy@UseNameKey{ViewClip}\@pdfviewclip |
| 15846 |
\Hy@UseNameKey{PrintArea}\@pdfprintarea |
| 15847 |
\Hy@UseNameKey{PrintClip}\@pdfprintclip |
| 15848 |
\Hy@UseNameKey{PrintScaling}\@pdfprintscaling |
| 15849 |
\Hy@UseNameKey{Duplex}\@pdfduplex |
| 15850 |
\ifx\@pdfpicktraybypdfsize\@empty |
| 15851 |
\else |
| 15852 |
/PickTrayByPDFSize \@pdfpicktraybypdfsize |
| 15853 |
\fi |
| 15854 |
\ifx\@pdfprintpagerange\@empty |
| 15855 |
\else |
| 15856 |
/PrintPageRange[\@pdfprintpagerange]% |
| 15857 |
\fi |
| 15858 |
\ifx\@pdfnumcopies\@empty |
| 15859 |
\else |
| 15860 |
/NumCopies \@pdfnumcopies |
| 15861 |
\fi |
| 15862 |
}% |
| 15863 |
\Hy@pstringdef\Hy@pstringB{\@baseurl}% |
| 15864 |
\pdfmark{% |
| 15865 |
pdfmark=/PUT,% |
| 15866 |
Raw={% |
| 15867 |
\string{Catalog\string}<<% |
| 15868 |
\ifx\Hy@temp\@empty |
| 15869 |
\else |
| 15870 |
/ViewerPreferences<<\Hy@temp>>% |
| 15871 |
\fi |
| 15872 |
\Hy@UseNameKey{PageLayout}\@pdfpagelayout |
| 15873 |
\ifx\@pdflang\relax |
| 15874 |
\else |
| 15875 |
/Lang(\@pdflang)% |
| 15876 |
\fi |
| 15877 |
\ifx\@baseurl\@empty |
| 15878 |
\else |
| 15879 |
/URI<</Base(\Hy@pstringB)>>% |
| 15880 |
\fi |
| 15881 |
>>% |
| 15882 |
}% |
| 15883 |
}% |
| 15884 |
} |
| 15885 |
%</pdfmark> |
| 15886 |
%<*pdfmarkbase> |
| 15887 |
% \end{macrocode} |
| 15888 |
% We define a single macro, pdfmark, which uses the `keyval' system |
| 15889 |
% to define the various allowable keys; these are \emph{exactly} |
| 15890 |
% as listed in the pdfmark reference for Acrobat 3.0. The only addition |
| 15891 |
% is \texttt{pdfmark} which specifies the type of pdfmark to create |
| 15892 |
% (like ANN, LINK etc). The |
| 15893 |
% surrounding round and square brackets in the pdfmark commands |
| 15894 |
% are supplied, but you have to put in / characters as needed for the |
| 15895 |
% values. |
| 15896 |
% |
| 15897 |
% \begin{macrocode} |
| 15898 |
\newif\ifHy@pdfmarkerror |
| 15899 |
\def\pdfmark{\@ifnextchar[{\pdfmark@}{\pdfmark@[]}} |
| 15900 |
\def\pdfmark@[#1]#2{% |
| 15901 |
\Hy@pdfmarkerrorfalse |
| 15902 |
\edef\@processme{\noexpand\pdf@toks={\the\pdf@defaulttoks}}% |
| 15903 |
\@processme |
| 15904 |
\let\pdf@type\relax |
| 15905 |
\let\pdf@objdef\@empty |
| 15906 |
\kvsetkeys{PDF}{#2}% |
| 15907 |
\ifHy@pdfmarkerror |
| 15908 |
\else |
| 15909 |
\ifx\pdf@type\relax |
| 15910 |
\Hy@WarningNoLine{no pdfmark type specified in #2!!}% |
| 15911 |
\ifx\\#1\\% |
| 15912 |
\else |
| 15913 |
\pdf@rect{#1}% |
| 15914 |
\fi |
| 15915 |
\else |
| 15916 |
\ifx\\#1\\% |
| 15917 |
\literalps@out{% |
| 15918 |
[% |
| 15919 |
\ifx\pdf@objdef\@empty |
| 15920 |
\else |
| 15921 |
/_objdef\string{\pdf@objdef\string}% |
| 15922 |
\fi |
| 15923 |
\the\pdf@toks\space\pdf@type\space pdfmark% |
| 15924 |
}% |
| 15925 |
\else |
| 15926 |
\@ifundefined{@\pdf@linktype color}{% |
| 15927 |
\Hy@colorlink\@linkcolor |
| 15928 |
}{% |
| 15929 |
\expandafter\Hy@colorlink |
| 15930 |
\csname @\pdf@linktype color\endcsname |
| 15931 |
}% |
| 15932 |
\pdf@rect{#1}% |
| 15933 |
\literalps@out{% |
| 15934 |
[% |
| 15935 |
\ifx\pdf@objdef\@empty |
| 15936 |
\else |
| 15937 |
/_objdef\string{\pdf@objdef\string}% |
| 15938 |
\fi |
| 15939 |
\the\pdf@toks\space\pdf@type\space pdfmark% |
| 15940 |
}% |
| 15941 |
\Hy@endcolorlink |
| 15942 |
\fi |
| 15943 |
\fi |
| 15944 |
\fi |
| 15945 |
} |
| 15946 |
% \end{macrocode} |
| 15947 |
% The complicated bit is working out the right enclosing rectangle of |
| 15948 |
% some piece of \TeX\ text, needed by the /Rect key. This solution originates |
| 15949 |
% with Toby Thain (\texttt{[email protected]}). |
| 15950 |
% |
| 15951 |
% For the case breaklinks is enabled, I have added two hooks, |
| 15952 |
% the first one for package setouterhbox, it provides |
| 15953 |
% a hopefully better method without setting the text twice. |
| 15954 |
% \begin{quote} |
| 15955 |
% \verb|\usepackage[hyperref]{setouterhbox}| |
| 15956 |
% \end{quote} |
| 15957 |
% With the second hook, also you can set the text twice, e.g.: |
| 15958 |
% \begin{quote} |
| 15959 |
% \verb|\long\def\Hy@setouterhbox#1#2{\long\def\my@temp{#2}}|\\ |
| 15960 |
% \verb|\def\Hy@breaklinksunhbox#1{\my@temp}| |
| 15961 |
% \end{quote} |
| 15962 |
% \begin{macrocode} |
| 15963 |
\newsavebox{\pdf@box} |
| 15964 |
\providecommand*{\Hy@setouterhbox}{\sbox} |
| 15965 |
\providecommand*{\Hy@breaklinksunhbox}{\unhbox} |
| 15966 |
\def\Hy@DEST{/DEST} |
| 15967 |
\def\pdf@rect#1{% |
| 15968 |
\begingroup |
| 15969 |
\chardef\x=1 % |
| 15970 |
\def\Hy@temp{#1}% |
| 15971 |
\ifx\Hy@temp\@empty |
| 15972 |
\chardef\x=0 % |
| 15973 |
\else |
| 15974 |
\def\y{\anchor@spot}% |
| 15975 |
\ifx\Hy@temp\y |
| 15976 |
\def\y{\relax}% |
| 15977 |
\ifx\anchor@spot\y |
| 15978 |
\chardef\x=0 % |
| 15979 |
\fi |
| 15980 |
\fi |
| 15981 |
\fi |
| 15982 |
\expandafter\endgroup |
| 15983 |
\ifcase\x |
| 15984 |
\literalps@out{H.S}% |
| 15985 |
\literalps@out{H.R}% |
| 15986 |
\else |
| 15987 |
\leavevmode |
| 15988 |
\Hy@SaveSpaceFactor |
| 15989 |
\ifmmode |
| 15990 |
\def\Hy@LinkMath{$}% |
| 15991 |
\else |
| 15992 |
\let\Hy@LinkMath\@empty |
| 15993 |
\fi |
| 15994 |
\ifHy@breaklinks |
| 15995 |
\Hy@setouterhbox\pdf@box{% |
| 15996 |
\Hy@RestoreSpaceFactor |
| 15997 |
\Hy@LinkMath |
| 15998 |
\Hy@AllowHyphens#1\Hy@xspace@end |
| 15999 |
\Hy@LinkMath |
| 16000 |
\Hy@SaveSpaceFactor |
| 16001 |
}% |
| 16002 |
\else |
| 16003 |
\sbox\pdf@box{% |
| 16004 |
\Hy@RestoreSpaceFactor |
| 16005 |
\Hy@LinkMath |
| 16006 |
#1\Hy@xspace@end |
| 16007 |
\Hy@LinkMath |
| 16008 |
\Hy@SaveSpaceFactor |
| 16009 |
}% |
| 16010 |
\fi |
| 16011 |
\dimen@\ht\pdf@box |
| 16012 |
\ifdim\dp\pdf@box=\z@ |
| 16013 |
\literalps@out{H.S}% |
| 16014 |
\else |
| 16015 |
\lower\dp\pdf@box\hbox{\literalps@out{H.S}}% |
| 16016 |
\fi |
| 16017 |
% \end{macrocode} |
| 16018 |
% If the text has to be horizontal mode stuff then just unbox |
| 16019 |
% the saved box like this, which saves executing it twice, which can |
| 16020 |
% mess up counters etc (thanks DPC\ldots). |
| 16021 |
% \begin{macrocode} |
| 16022 |
\ifHy@breaklinks |
| 16023 |
\ifhmode |
| 16024 |
\Hy@breaklinksunhbox\pdf@box |
| 16025 |
\else |
| 16026 |
\box\pdf@box |
| 16027 |
\fi |
| 16028 |
\else |
| 16029 |
\expandafter\box\pdf@box |
| 16030 |
\fi |
| 16031 |
% \end{macrocode} |
| 16032 |
% but if it can have multiple paragraphs you'd need one of these, |
| 16033 |
% but in that case the measured box size would be wrong anyway. |
| 16034 |
% \begin{quote} |
| 16035 |
% |\ifHy@breaklinks#1\else\box\pdf@box\fi|\\ |
| 16036 |
% |\ifHy@breaklinks{#1}\else\box\pdf@box\fi| |
| 16037 |
% \end{quote} |
| 16038 |
% \begin{macrocode} |
| 16039 |
\ifdim\dimen@=\z@ |
| 16040 |
\literalps@out{H.R}% |
| 16041 |
\else |
| 16042 |
\raise\dimen@\hbox{\literalps@out{H.R}}% |
| 16043 |
\fi |
| 16044 |
\Hy@RestoreSpaceFactor |
| 16045 |
\fi |
| 16046 |
\ifx\pdf@type\Hy@DEST |
| 16047 |
\else |
| 16048 |
\pdf@addtoksx{H.B}% |
| 16049 |
\fi |
| 16050 |
} |
| 16051 |
% \end{macrocode} |
| 16052 |
% All the supplied material is stored in a token list; since I do not |
| 16053 |
% feel sure I quite understand these, things may not work as expected |
| 16054 |
% with expansion. We'll have to experiment. |
| 16055 |
% \begin{macrocode} |
| 16056 |
\newtoks\pdf@toks |
| 16057 |
\newtoks\pdf@defaulttoks |
| 16058 |
\pdf@defaulttoks={}% |
| 16059 |
\def\pdf@addtoks#1#2{% |
| 16060 |
\edef\@processme{\pdf@toks{\the\pdf@toks/#2 #1}}% |
| 16061 |
\@processme |
| 16062 |
} |
| 16063 |
\def\pdf@addtoksx#1{% |
| 16064 |
\edef\@processme{\pdf@toks{\the\pdf@toks\space #1}}% |
| 16065 |
\@processme |
| 16066 |
} |
| 16067 |
\def\PDFdefaults#1{% |
| 16068 |
\pdf@defaulttoks={#1}% |
| 16069 |
} |
| 16070 |
% \end{macrocode} |
| 16071 |
% This is the list of allowed keys. See the Acrobat manual for an |
| 16072 |
% explanation. |
| 16073 |
% \begin{macrocode} |
| 16074 |
% what is the type of pdfmark? |
| 16075 |
\define@key{PDF}{pdfmark}{\def\pdf@type{#1}} |
| 16076 |
% what is the link type? |
| 16077 |
\define@key{PDF}{linktype}{\def\pdf@linktype{#1}} |
| 16078 |
\def\pdf@linktype{link} |
| 16079 |
% named object? |
| 16080 |
\define@key{PDF}{objdef}{\edef\pdf@objdef{#1}} |
| 16081 |
\let\pdf@objdef\@empty |
| 16082 |
% parameter is a stream of PDF |
| 16083 |
\define@key{PDF}{Raw}{\pdf@addtoksx{#1}} |
| 16084 |
% parameter is a name |
| 16085 |
\define@key{PDF}{Action}{\pdf@addtoks{#1}{Action}} |
| 16086 |
% parameter is a array |
| 16087 |
\define@key{PDF}{Border}{% |
| 16088 |
\edef\Hy@temp{#1}% |
| 16089 |
\ifx\Hy@temp\@empty |
| 16090 |
\else |
| 16091 |
\pdf@addtoks{[#1]\Hy@BorderArrayPatch}{Border}% hash-ok |
| 16092 |
\fi |
| 16093 |
} |
| 16094 |
\let\Hy@BorderArrayPatch\@empty |
| 16095 |
% parameter is a dictionary |
| 16096 |
\define@key{PDF}{BorderStyle}{% |
| 16097 |
\edef\Hy@temp{#1}% |
| 16098 |
\ifx\Hy@temp\@empty |
| 16099 |
\else |
| 16100 |
\pdf@addtoks{<<#1>>}{BS}% |
| 16101 |
\fi |
| 16102 |
} |
| 16103 |
% parameter is a array |
| 16104 |
\define@key{PDF}{Color}{% |
| 16105 |
\ifx\relax#1\relax |
| 16106 |
\else |
| 16107 |
\pdf@addtoks{[#1]}{Color}% hash-ok |
| 16108 |
\fi |
| 16109 |
} |
| 16110 |
% parameter is a string |
| 16111 |
\define@key{PDF}{Contents}{\pdf@addtoks{(#1)}{Contents}} |
| 16112 |
% parameter is a integer |
| 16113 |
\define@key{PDF}{Count}{\pdf@addtoks{#1}{Count}} |
| 16114 |
% parameter is a array |
| 16115 |
\define@key{PDF}{CropBox}{\pdf@addtoks{[#1]}{CropBox}}% hash-ok |
| 16116 |
% parameter is a string |
| 16117 |
\define@key{PDF}{DOSFile}{\pdf@addtoks{(#1)}{DOSFile}} |
| 16118 |
% parameter is a string or file |
| 16119 |
\define@key{PDF}{DataSource}{\pdf@addtoks{(#1)}{DataSource}} |
| 16120 |
% parameter is a destination |
| 16121 |
\define@key{PDF}{Dest}{% |
| 16122 |
\Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% |
| 16123 |
\ifx\Hy@pstringDest\@empty |
| 16124 |
\Hy@pdfmarkerrortrue |
| 16125 |
\Hy@Warning{Destination with empty name ignored}% |
| 16126 |
\else |
| 16127 |
\pdf@addtoks{(\Hy@pstringDest) cvn}{Dest}% |
| 16128 |
\fi |
| 16129 |
} |
| 16130 |
\define@key{PDF}{DestAnchor}{% |
| 16131 |
\Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% |
| 16132 |
\ifx\Hy@pstringDest\@empty |
| 16133 |
\Hy@pdfmarkerrortrue |
| 16134 |
\Hy@Warning{Destination with empty name ignored}% |
| 16135 |
\else |
| 16136 |
\pdf@addtoks{(\Hy@pstringDest) cvn}{Dest}% |
| 16137 |
\fi |
| 16138 |
} |
| 16139 |
% parameter is a string |
| 16140 |
\define@key{PDF}{Dir}{\pdf@addtoks{(#1)}{Dir}} |
| 16141 |
% parameter is a string |
| 16142 |
\define@key{PDF}{File}{\pdf@addtoks{(#1)}{File}} |
| 16143 |
% parameter is a int |
| 16144 |
\define@key{PDF}{Flags}{\pdf@addtoks{#1}{Flags}} |
| 16145 |
\define@key{PDF}{PDFAFlags}{% |
| 16146 |
\ifHy@pdfa |
| 16147 |
\pdf@addtoks{#1}{F}% |
| 16148 |
\fi |
| 16149 |
} |
| 16150 |
% parameter is a name |
| 16151 |
\define@key{PDF}{AcroHighlight}{% |
| 16152 |
\begingroup |
| 16153 |
\edef\x{#1}% |
| 16154 |
\expandafter\endgroup\ifx\x\@empty |
| 16155 |
\else |
| 16156 |
\pdf@addtoks{#1}{H}% |
| 16157 |
\fi |
| 16158 |
} |
| 16159 |
% parameter is a string |
| 16160 |
\define@key{PDF}{ID}{\pdf@addtoks{[#1]}{ID}}% hash-ok |
| 16161 |
% parameter is a string |
| 16162 |
\define@key{PDF}{MacFile}{\pdf@addtoks{(#1)}{MacFile}} |
| 16163 |
% parameter is a string |
| 16164 |
\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} |
| 16165 |
% parameter is a string |
| 16166 |
\define@key{PDF}{Op}{\pdf@addtoks{(#1)}{Op}} |
| 16167 |
% parameter is a Boolean |
| 16168 |
\define@key{PDF}{Open}{\pdf@addtoks{#1}{Open}} |
| 16169 |
% parameter is a integer or name |
| 16170 |
\define@key{PDF}{Page}{\pdf@addtoks{#1}{Page}} |
| 16171 |
% parameter is a name |
| 16172 |
\define@key{PDF}{PageMode}{\pdf@addtoks{#1}{PageMode}} |
| 16173 |
% parameter is a string |
| 16174 |
\define@key{PDF}{Params}{\pdf@addtoks{(#1)}{Params}} |
| 16175 |
% parameter is a array |
| 16176 |
\define@key{PDF}{Rect}{\pdf@addtoks{[#1]}{Rect}}% hash-ok |
| 16177 |
% parameter is a integer |
| 16178 |
\define@key{PDF}{SrcPg}{\pdf@addtoks{#1}{SrcPg}} |
| 16179 |
% parameter is a name |
| 16180 |
\define@key{PDF}{Subtype}{\pdf@addtoks{#1}{Subtype}} |
| 16181 |
% parameter is a string |
| 16182 |
\define@key{PDF}{Title}{\pdf@addtoks{(#1)}{Title}} |
| 16183 |
% parameter is a string |
| 16184 |
\define@key{PDF}{Unix}{\pdf@addtoks{(#1)}{Unix}} |
| 16185 |
% parameter is a string |
| 16186 |
\define@key{PDF}{UnixFile}{\pdf@addtoks{(#1)}{UnixFile}} |
| 16187 |
% parameter is an array |
| 16188 |
\define@key{PDF}{View}{\pdf@addtoks{[#1]}{View}}% hash-ok |
| 16189 |
% parameter is a string |
| 16190 |
\define@key{PDF}{WinFile}{\pdf@addtoks{(#1)}{WinFile}} |
| 16191 |
% \end{macrocode} |
| 16192 |
% These are the keys used in the DOCINFO section. |
| 16193 |
% \begin{macrocode} |
| 16194 |
\define@key{PDF}{Author}{\pdf@addtoks{(#1)}{Author}} |
| 16195 |
\define@key{PDF}{Creator}{\pdf@addtoks{(#1)}{Creator}} |
| 16196 |
\define@key{PDF}{CreationDate}{\pdf@addtoks{(#1)}{CreationDate}} |
| 16197 |
\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} |
| 16198 |
\define@key{PDF}{Producer}{\pdf@addtoks{(#1)}{Producer}} |
| 16199 |
\define@key{PDF}{Subject}{\pdf@addtoks{(#1)}{Subject}} |
| 16200 |
\define@key{PDF}{Keywords}{\pdf@addtoks{(#1)}{Keywords}} |
| 16201 |
\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} |
| 16202 |
\define@key{PDF}{Base}{\pdf@addtoks{(#1)}{Base}} |
| 16203 |
\define@key{PDF}{URI}{\pdf@addtoks{#1}{URI}} |
| 16204 |
\define@key{PDF}{Trapped}{% |
| 16205 |
\edef\Hy@temp{#1}% |
| 16206 |
\ifx\Hy@temp\@empty |
| 16207 |
\else |
| 16208 |
\pdf@addtoks{/#1}{Trapped}% |
| 16209 |
\fi |
| 16210 |
} |
| 16211 |
|
| 16212 |
%</pdfmarkbase> |
| 16213 |
%<*pdfmark> |
| 16214 |
\def\Acrobatmenu#1#2{% |
| 16215 |
\EdefEscapeName\Hy@temp@menu{#1}% |
| 16216 |
\Hy@Acrobatmenu{#1}{#2}{% |
| 16217 |
\pdfmark[{#2}]{% |
| 16218 |
linktype=menu,% |
| 16219 |
pdfmark=/ANN,% |
| 16220 |
AcroHighlight=\@pdfhighlight,% |
| 16221 |
Border=\@pdfborder,% |
| 16222 |
BorderStyle=\@pdfborderstyle,% |
| 16223 |
Color=\@menubordercolor,% |
| 16224 |
Action={<</Subtype/Named/N/\Hy@temp@menu>>},% |
| 16225 |
Subtype=/Link,% |
| 16226 |
PDFAFlags=4% |
| 16227 |
}% |
| 16228 |
}% |
| 16229 |
} |
| 16230 |
% \end{macrocode} |
| 16231 |
% And now for some useful examples: |
| 16232 |
% \begin{macrocode} |
| 16233 |
\def\PDFNextPage{\@ifnextchar[{\PDFNextPage@}{\PDFNextPage@[]}} |
| 16234 |
\def\PDFNextPage@[#1]#2{% |
| 16235 |
\pdfmark[{#2}]{% |
| 16236 |
#1,% |
| 16237 |
Border=\@pdfborder,% |
| 16238 |
BorderStyle=\@pdfborderstyle,% |
| 16239 |
Color=.2 .1 .5,% |
| 16240 |
pdfmark=/ANN,% |
| 16241 |
Subtype=/Link,% |
| 16242 |
PDFAFlags=4,% |
| 16243 |
Page=/Next% |
| 16244 |
}% |
| 16245 |
} |
| 16246 |
\def\PDFPreviousPage{% |
| 16247 |
\@ifnextchar[{\PDFPreviousPage@}{\PDFPreviousPage@[]}% |
| 16248 |
} |
| 16249 |
\def\PDFPreviousPage@[#1]#2{% |
| 16250 |
\pdfmark[{#2}]{% |
| 16251 |
#1,% |
| 16252 |
Border=\@pdfborder,% |
| 16253 |
BorderStyle=\@pdfborderstyle,% |
| 16254 |
Color=.4 .4 .1,% |
| 16255 |
pdfmark=/ANN,% |
| 16256 |
Subtype=/Link,% |
| 16257 |
PDFAFlags=4,% |
| 16258 |
Page=/Prev% |
| 16259 |
}% |
| 16260 |
} |
| 16261 |
\def\PDFOpen#1{% |
| 16262 |
\pdfmark{#1,pdfmark=/DOCVIEW}% |
| 16263 |
} |
| 16264 |
% \end{macrocode} |
| 16265 |
% This will only work if you use Distiller 2.1 or higher. |
| 16266 |
% \begin{macrocode} |
| 16267 |
\def\hyper@linkurl#1#2{% |
| 16268 |
\begingroup |
| 16269 |
\Hy@pstringdef\Hy@pstringURI{#2}% |
| 16270 |
\hyper@chars |
| 16271 |
\leavevmode |
| 16272 |
\pdfmark[{#1}]{% |
| 16273 |
pdfmark=/ANN,% |
| 16274 |
linktype=url,% |
| 16275 |
AcroHighlight=\@pdfhighlight,% |
| 16276 |
Border=\@pdfborder,% |
| 16277 |
BorderStyle=\@pdfborderstyle,% |
| 16278 |
Color=\@urlbordercolor,% |
| 16279 |
Action={<<% |
| 16280 |
/Subtype/URI% |
| 16281 |
/URI(\Hy@pstringURI)% |
| 16282 |
\ifHy@href@ismap |
| 16283 |
/IsMap true% |
| 16284 |
\fi |
| 16285 |
>>},% |
| 16286 |
Subtype=/Link,% |
| 16287 |
PDFAFlags=4% |
| 16288 |
}% |
| 16289 |
\endgroup |
| 16290 |
} |
| 16291 |
\def\hyper@linkfile#1#2#3{% |
| 16292 |
\begingroup |
| 16293 |
\def\Hy@pstringF{#2}% |
| 16294 |
\Hy@CleanupFile\Hy@pstringF |
| 16295 |
\Hy@pstringdef\Hy@pstringF\Hy@pstringF |
| 16296 |
\Hy@pstringdef\Hy@pstringD{#3}% |
| 16297 |
\Hy@MakeRemoteAction |
| 16298 |
\leavevmode |
| 16299 |
\pdfmark[{#1}]{% |
| 16300 |
pdfmark=/ANN,% |
| 16301 |
Subtype=/Link,% |
| 16302 |
PDFAFlags=4,% |
| 16303 |
AcroHighlight=\@pdfhighlight,% |
| 16304 |
Border=\@pdfborder,% |
| 16305 |
BorderStyle=\@pdfborderstyle,% |
| 16306 |
linktype=file,% |
| 16307 |
Color=\@filebordercolor,% |
| 16308 |
Action={% |
| 16309 |
<<% |
| 16310 |
/S/GoToR% |
| 16311 |
\Hy@SetNewWindow |
| 16312 |
/F(\Hy@pstringF)% |
| 16313 |
/D% |
| 16314 |
\ifx\\#3\\% |
| 16315 |
[\Hy@href@page\@pdfremotestartview]% |
| 16316 |
\else |
| 16317 |
(\Hy@pstringD)cvn% |
| 16318 |
\fi |
| 16319 |
\Hy@href@nextactionraw |
| 16320 |
>>% |
| 16321 |
}% |
| 16322 |
}% |
| 16323 |
\endgroup |
| 16324 |
} |
| 16325 |
\def\@hyper@launch run:#1\\#2#3{% |
| 16326 |
\begingroup |
| 16327 |
\Hy@pstringdef\Hy@pstringF{#1}% |
| 16328 |
\Hy@pstringdef\Hy@pstringP{#3}% |
| 16329 |
\leavevmode |
| 16330 |
\pdfmark[{#2}]{% |
| 16331 |
pdfmark=/ANN,% |
| 16332 |
Subtype=/Link,% |
| 16333 |
PDFAFlags=4,% |
| 16334 |
AcroHighlight=\@pdfhighlight,% |
| 16335 |
Border=\@pdfborder,% |
| 16336 |
BorderStyle=\@pdfborderstyle,% |
| 16337 |
linktype=run,% |
| 16338 |
Color=\@runbordercolor,% |
| 16339 |
Action={% |
| 16340 |
<<% |
| 16341 |
/S/Launch% |
| 16342 |
\Hy@SetNewWindow |
| 16343 |
/F(\Hy@pstringF)% |
| 16344 |
\ifx\\#3\\% |
| 16345 |
\else |
| 16346 |
/Win<</P(\Hy@pstringP)/F(\Hy@pstringF)>>% |
| 16347 |
\fi |
| 16348 |
\Hy@href@nextactionraw |
| 16349 |
>>% |
| 16350 |
}% |
| 16351 |
}% |
| 16352 |
\endgroup |
| 16353 |
} |
| 16354 |
%</pdfmark> |
| 16355 |
% \end{macrocode} |
| 16356 |
% Unfortunately, some parts of the |pdfmark| |
| 16357 |
% PostScript code depend on vagaries |
| 16358 |
% of the dvi driver. We isolate here all the problems. |
| 16359 |
% |
| 16360 |
% \subsection{Rokicki's dvips} |
| 16361 |
% dvips thinks in 10ths of a big point, its |
| 16362 |
% coordinate space is resolution dependent, |
| 16363 |
% and its $y$ axis starts at the top of the |
| 16364 |
% page. Other drivers can and will be different! |
| 16365 |
% |
| 16366 |
% The work is done in |SDict|, because we add in some header |
| 16367 |
% definitions in a moment. |
| 16368 |
% \begin{macrocode} |
| 16369 |
%<*dvips> |
| 16370 |
\providecommand*{\XR@ext}{pdf} |
| 16371 |
\let\Hy@raisedlink\@empty |
| 16372 |
\def\literalps@out#1{\special{ps:SDict begin #1 end}}% |
| 16373 |
\def\headerps@out#1{\special{! #1}}% |
| 16374 |
\input{pdfmark.def}% |
| 16375 |
\ifx\@pdfproducer\relax |
| 16376 |
\def\@pdfproducer{dvips + Distiller}% |
| 16377 |
\fi |
| 16378 |
\providecommand*\@pdfborder{0 0 1} |
| 16379 |
\providecommand*\@pdfborderstyle{} |
| 16380 |
\providecommand*\@pdfview{XYZ} |
| 16381 |
\providecommand*\@pdfviewparams{ H.V} |
| 16382 |
\def\Hy@BorderArrayPatch{BorderArrayPatch} |
| 16383 |
% \end{macrocode} |
| 16384 |
% |
| 16385 |
% \begin{macrocode} |
| 16386 |
\g@addto@macro\Hy@FirstPageHook{% |
| 16387 |
\headerps@out{% |
| 16388 |
% \end{macrocode} |
| 16389 |
% Unless I am going mad, this \emph{appears} to be the relationship |
| 16390 |
% between the default coordinate system (PDF), and dvips; |
| 16391 |
% \begin{verbatim} |
| 16392 |
% /DvipsToPDF { .01383701 div Resolution div } def |
| 16393 |
% /PDFToDvips { .01383701 mul Resolution mul } def |
| 16394 |
% \end{verbatim} |
| 16395 |
% the latter's coordinates are resolution dependent, but what that |
| 16396 |
% .01383701 is, who knows? well, almost everyone except me, I expect\ldots |
| 16397 |
% And yes, Maarten Gelderman \texttt{<[email protected]>} |
| 16398 |
% points out that its 1/72.27 (the number of points to an inch, big points |
| 16399 |
% to inch is 1/72). This also suggests that the code would be more |
| 16400 |
% understandable (and exact) if 0.013 div would be replaced by 72.27 mul, |
| 16401 |
% so here we go. If this isn't right, I'll revert it. |
| 16402 |
% \begin{macrocode} |
| 16403 |
/DvipsToPDF{72.27 mul Resolution div} def% |
| 16404 |
/PDFToDvips{72.27 div Resolution mul} def% |
| 16405 |
/BPToDvips{72 div Resolution mul}def |
| 16406 |
% \end{macrocode} |
| 16407 |
% The values inside the /Border array are not taken literally, but |
| 16408 |
% interpreted by ghostscript using the resolution of the dvi driver. |
| 16409 |
% I don't know how other distiller programs behaves in this manner. |
| 16410 |
% |
| 16411 |
% Note GhostScript changed its behaviour here and later versions do |
| 16412 |
% not need this scaling, so test the PostScript interpreter is GhostScript |
| 16413 |
% and if so check its version. |
| 16414 |
% |
| 16415 |
% If using gs and release $>$ 9.27 no-op, otherwise patch. |
| 16416 |
% \begin{macrocode} |
| 16417 |
product (Ghostscript) search {pop pop pop revision 927 gt}% |
| 16418 |
{pop false} ifelse% |
| 16419 |
{% |
| 16420 |
/BorderArrayPatch{} def% |
| 16421 |
}% |
| 16422 |
{% |
| 16423 |
/BorderArrayPatch{% |
| 16424 |
[exch{% |
| 16425 |
dup dup type/integertype eq exch type/realtype eq or% |
| 16426 |
{BPToDvips}if% |
| 16427 |
}forall]% |
| 16428 |
}def% |
| 16429 |
} ifelse |
| 16430 |
% \end{macrocode} |
| 16431 |
% The rectangle around the links starts off |
| 16432 |
% \emph{exactly} the size of the box; |
| 16433 |
% we will to make it slightly bigger, 1 point on all sides. |
| 16434 |
% \begin{macrocode} |
| 16435 |
/HyperBorder {1 PDFToDvips} def% |
| 16436 |
/H.V {pdf@hoff pdf@voff null} def% |
| 16437 |
/H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def% |
| 16438 |
% \end{macrocode} |
| 16439 |
% |H.S| (start of anchor, link, or rect) stores |
| 16440 |
% the $x$ and $y$ coordinates of the current point, in PDF coordinates |
| 16441 |
% \begin{macrocode} |
| 16442 |
/H.S {% |
| 16443 |
currentpoint % |
| 16444 |
HyperBorder add /pdf@lly exch def % |
| 16445 |
dup DvipsToPDF 72 add /pdf@hoff exch def % |
| 16446 |
HyperBorder sub /pdf@llx exch def% |
| 16447 |
} def% |
| 16448 |
% \end{macrocode} |
| 16449 |
% |
| 16450 |
% The calculation of upper left $y$ is done without |
| 16451 |
% raising the point in \TeX, |
| 16452 |
% by simply adding on the current |\baselineskip| to the current $y$. |
| 16453 |
% This is usually too much, so we remove a notional 2 points. |
| 16454 |
% |
| 16455 |
% We have to see what the current baselineskip is, and convert it |
| 16456 |
% to the dvips coordinate system. |
| 16457 |
% |
| 16458 |
% Argument: baselineskip in pt. |
| 16459 |
% The $x$ and $y$ coordinates of the current point, minus the baselineskip |
| 16460 |
% \begin{macrocode} |
| 16461 |
/H.L {% |
| 16462 |
2 sub dup% |
| 16463 |
/HyperBasePt exch def % |
| 16464 |
PDFToDvips /HyperBaseDvips exch def % |
| 16465 |
currentpoint % |
| 16466 |
HyperBaseDvips sub /pdf@ury exch def% |
| 16467 |
/pdf@urx exch def% |
| 16468 |
} def% |
| 16469 |
/H.A {% |
| 16470 |
H.L % |
| 16471 |
% |/pdf@voff| = the distance from the top of the page to a point |
| 16472 |
% |\baselineskip| above the current point in PDF coordinates |
| 16473 |
currentpoint exch pop % |
| 16474 |
vsize 72 sub exch DvipsToPDF % |
| 16475 |
HyperBasePt sub % baseline skip |
| 16476 |
sub /pdf@voff exch def% |
| 16477 |
} def% |
| 16478 |
/H.R {% |
| 16479 |
currentpoint % |
| 16480 |
HyperBorder sub /pdf@ury exch def % |
| 16481 |
HyperBorder add /pdf@urx exch def % |
| 16482 |
% |/pdf@voff| = the distance from the top of the page to the current point, in |
| 16483 |
% PDF coordinates |
| 16484 |
currentpoint exch pop vsize 72 sub % |
| 16485 |
exch DvipsToPDF sub /pdf@voff exch def% |
| 16486 |
} def% |
| 16487 |
}% |
| 16488 |
} |
| 16489 |
\AddToHook{shipout/firstpage}{% |
| 16490 |
\ifHy@setpagesize |
| 16491 |
\begingroup |
| 16492 |
\ifnum\mag=\@m |
| 16493 |
\ifdim\stockwidth>\z@ |
| 16494 |
\ifdim\stockheight>\z@ |
| 16495 |
\special{papersize=\the\stockwidth,\the\stockheight}% |
| 16496 |
\else |
| 16497 |
\ifdim\paperwidth>\z@ |
| 16498 |
\ifdim\paperheight>\z@ |
| 16499 |
\special{papersize=\the\paperwidth,\the\paperheight}% |
| 16500 |
\fi |
| 16501 |
\fi |
| 16502 |
\fi |
| 16503 |
\else |
| 16504 |
\ifdim\stockwidth=\z@ |
| 16505 |
\ifdim\paperwidth>\z@ |
| 16506 |
\ifdim\paperheight>\z@ |
| 16507 |
\special{papersize=\the\paperwidth,\the\paperheight}% |
| 16508 |
\fi |
| 16509 |
\fi |
| 16510 |
\fi |
| 16511 |
\fi |
| 16512 |
\fi |
| 16513 |
\endgroup |
| 16514 |
\fi |
| 16515 |
\Hy@DisableOption{setpagesize}% |
| 16516 |
} |
| 16517 |
% \end{macrocode} |
| 16518 |
% \begin{macrocode} |
| 16519 |
\def\setpdflinkmargin#1{% |
| 16520 |
\begingroup |
| 16521 |
\setlength{\dimen@}{#1}% |
| 16522 |
\literalps@out{% |
| 16523 |
/HyperBorder{\strip@pt\dimen@\space PDFToDvips}def% |
| 16524 |
}% |
| 16525 |
\endgroup |
| 16526 |
} |
| 16527 |
% \end{macrocode} |
| 16528 |
% \begin{macrocode} |
| 16529 |
%</dvips> |
| 16530 |
% \end{macrocode} |
| 16531 |
% |
| 16532 |
% \subsection{VTeX's vtexpdfmark driver} |
| 16533 |
% |
| 16534 |
% This part is derived from the dvips |
| 16535 |
% (many names reflect this). |
| 16536 |
% |
| 16537 |
% The origin seems to be the same as TeX's origin, |
| 16538 |
% 1 in from the left and 1 in downwards from the top. |
| 16539 |
% The direction of the $y$ axis is downwards, |
| 16540 |
% the opposite of the dvips case. Units seems |
| 16541 |
% to be pt or bp. |
| 16542 |
% |
| 16543 |
% \begin{macrocode} |
| 16544 |
%<*vtexpdfmark> |
| 16545 |
\providecommand*{\XR@ext}{pdf} |
| 16546 |
\let\Hy@raisedlink\@empty |
| 16547 |
\def\literalps@out#1{\special{pS:#1}}% |
| 16548 |
\def\headerps@out#1{\immediate\special{pS:#1}}% |
| 16549 |
\input{pdfmark.def}% |
| 16550 |
\ifx\@pdfproducer\relax |
| 16551 |
\ifnum\OpMode=\@ne |
| 16552 |
\def\@pdfproducer{VTeX}% |
| 16553 |
\else |
| 16554 |
\def\@pdfproducer{VTeX + Distiller}% |
| 16555 |
\fi |
| 16556 |
\fi |
| 16557 |
\providecommand*\@pdfborder{0 0 1} |
| 16558 |
\providecommand*\@pdfborderstyle{} |
| 16559 |
\providecommand*\@pdfview{XYZ} |
| 16560 |
\providecommand*\@pdfviewparams{ H.V} |
| 16561 |
% \end{macrocode} |
| 16562 |
% |
| 16563 |
% \begin{macrocode} |
| 16564 |
\g@addto@macro\Hy@FirstPageHook{% |
| 16565 |
\headerps@out{% |
| 16566 |
/vsize {\Hy@pageheight} def% |
| 16567 |
% \end{macrocode} |
| 16568 |
% The rectangle around the links starts off |
| 16569 |
% \emph{exactly} the size of the box; |
| 16570 |
% we will to make it slightly bigger, 1 point on all sides. |
| 16571 |
% \begin{macrocode} |
| 16572 |
/HyperBorder {1} def% |
| 16573 |
/H.V {pdf@hoff pdf@voff null} def% |
| 16574 |
/H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def% |
| 16575 |
% \end{macrocode} |
| 16576 |
% |
| 16577 |
% |H.S| (start of anchor, link, or rect) stores |
| 16578 |
% the $x$ and $y$ coordinates of the current point, in PDF coordinates: |
| 16579 |
% $\mathtt{pdf@lly} = Y_c - \mathtt{HyperBorder}$, |
| 16580 |
% $\mathtt{pdf@hoff} = X_c + 72$, |
| 16581 |
% $\mathtt{pdf@llx} = X_c - \mathtt{HyperBorder}$ |
| 16582 |
% \begin{macrocode} |
| 16583 |
/H.S {% |
| 16584 |
currentpoint % |
| 16585 |
HyperBorder sub% |
| 16586 |
/pdf@lly exch def % |
| 16587 |
dup 72 add /pdf@hoff exch def % |
| 16588 |
HyperBorder sub% |
| 16589 |
/pdf@llx exch def% |
| 16590 |
} def% |
| 16591 |
% \end{macrocode} |
| 16592 |
% The $x$ and $y$ coordinates of the current point, minus the |
| 16593 |
% |\baselineskip|: |
| 16594 |
% $\mathtt{pdf@ury} = Y_c + \mathtt{HyperBasePt} + \mathtt{HyperBorder}$, |
| 16595 |
% $\mathtt{pdf@urx} = X_c + \mathtt{HyperBorder}$ |
| 16596 |
% \begin{macrocode} |
| 16597 |
/H.L {% |
| 16598 |
2 sub% |
| 16599 |
/HyperBasePt exch def % |
| 16600 |
currentpoint % |
| 16601 |
HyperBasePt add HyperBorder add% |
| 16602 |
/pdf@ury exch def % |
| 16603 |
HyperBorder add% |
| 16604 |
/pdf@urx exch def% |
| 16605 |
} def% |
| 16606 |
/H.A {% |
| 16607 |
H.L % |
| 16608 |
currentpoint exch pop % |
| 16609 |
vsize 72 sub exch % |
| 16610 |
HyperBasePt add add% |
| 16611 |
/pdf@voff exch def% |
| 16612 |
} def% |
| 16613 |
% \end{macrocode} |
| 16614 |
% $\mathtt{pdf@ury} = Y_c + \mathtt{HyperBorder}$, |
| 16615 |
% $\mathtt{pdf@urx} = X_c + \mathtt{HyperBorder}$ |
| 16616 |
% \begin{macrocode} |
| 16617 |
/H.R {% |
| 16618 |
currentpoint % |
| 16619 |
HyperBorder add% |
| 16620 |
/pdf@ury exch def % |
| 16621 |
HyperBorder add% |
| 16622 |
/pdf@urx exch def % |
| 16623 |
currentpoint exch pop vsize 72 sub add% |
| 16624 |
/pdf@voff exch def% |
| 16625 |
} def% |
| 16626 |
}% |
| 16627 |
} |
| 16628 |
% \end{macrocode} |
| 16629 |
% \begin{macrocode} |
| 16630 |
\def\setpdflinkmargin#1{% |
| 16631 |
\begingroup |
| 16632 |
\setlength{\dimen@}{#1}% |
| 16633 |
\literalps@out{% |
| 16634 |
/HyperBorder{\strip@pt\dimen@}def% |
| 16635 |
}% |
| 16636 |
\endgroup |
| 16637 |
} |
| 16638 |
% \end{macrocode} |
| 16639 |
% \begin{macrocode} |
| 16640 |
%</vtexpdfmark> |
| 16641 |
% \end{macrocode} |
| 16642 |
% |
| 16643 |
% \subsection{Textures} |
| 16644 |
% |
| 16645 |
% \begin{macrocode} |
| 16646 |
%<*textures> |
| 16647 |
\providecommand*{\XR@ext}{pdf} |
| 16648 |
% \end{macrocode} |
| 16649 |
% |
| 16650 |
% At the suggestion of Jacques Distler ([email protected]), try |
| 16651 |
% to derive a suitable driver for Textures. This was initially a copy of |
| 16652 |
% dvips, with some guesses about Textures behaviour. |
| 16653 |
% Ross Moore (\Email{[email protected]}) has added modifications |
| 16654 |
% for better compatibility, and to support use of pdfmark. |
| 16655 |
% |
| 16656 |
% Start by defining a macro that expands to the end-of-line character. |
| 16657 |
% This will be used to format the appearance of PostScript code, |
| 16658 |
% to enhance readability, and avoid excessively long lines which |
| 16659 |
% might otherwise become broken to bad places. |
| 16660 |
% |
| 16661 |
% \begin{macro}{\Hy@ps@CR} |
| 16662 |
% The macro \verb|\Hy@ps@CR| contains the end-of-line character. |
| 16663 |
% \begin{macrocode} |
| 16664 |
\begingroup |
| 16665 |
\obeylines % |
| 16666 |
\gdef\Hy@ps@CR{\noexpand |
| 16667 |
}% |
| 16668 |
\endgroup % |
| 16669 |
% \end{macrocode} |
| 16670 |
% \end{macro} |
| 16671 |
% |
| 16672 |
% Textures has two types of \verb|\special| command for inserting |
| 16673 |
% PostScript code directly into the dvi output. The `postscript' |
| 16674 |
% way preserves TeX's idea of where on the page the \verb|\special| |
| 16675 |
% occurred, but it wraps the contents with a \verb|save|--\verb|restore| |
| 16676 |
% pair, and adjusts the user-space coordinate system for local drawing |
| 16677 |
% commands. The `rawpostscript' way simply inserts code, without regard |
| 16678 |
% for the location on the page. |
| 16679 |
% |
| 16680 |
% Thus, to put arbitrary PostScript coding at a fixed location requires |
| 16681 |
% using \emph{both} \verb|\special| constructions. |
| 16682 |
% It works by pushing the device-space coordinates onto the operand stack, |
| 16683 |
% where they can be used to transform back to the correct user-space |
| 16684 |
% coordinates for the whole page, within a `rawpostscript' \verb|\special|. |
| 16685 |
% |
| 16686 |
% \begin{macrocode} |
| 16687 |
\def\literalps@out#1{% |
| 16688 |
\special{postscript 0 0 transform}% |
| 16689 |
\special{rawpostscript itransform moveto\Hy@ps@CR #1}% |
| 16690 |
}% |
| 16691 |
% |
| 16692 |
% \end{macrocode} |
| 16693 |
% |
| 16694 |
% The `prepostscript' is a 3rd kind of \verb|\special|, used for |
| 16695 |
% inserting definitions into the dictionaries, before page-building |
| 16696 |
% begins. These are to be available for use on all pages. |
| 16697 |
% |
| 16698 |
% \begin{macrocode} |
| 16699 |
\def\headerps@out#1{% |
| 16700 |
\special{% |
| 16701 |
prepostscript TeXdict begin\Hy@ps@CR |
| 16702 |
#1\Hy@ps@CR |
| 16703 |
end% |
| 16704 |
}% |
| 16705 |
}% |
| 16706 |
% |
| 16707 |
% \end{macrocode} |
| 16708 |
% |
| 16709 |
% To correctly support the \verb|pdfmark| method, for embedding |
| 16710 |
% PDF definitions with \verb|.ps| files in a non-intrusive way, |
| 16711 |
% an appropriate definition needs to be made \emph{before} |
| 16712 |
% the file \verb|pdfmark.def| is read. Other parameters are best |
| 16713 |
% set afterwards. |
| 16714 |
% |
| 16715 |
% \begin{macrocode} |
| 16716 |
\g@addto@macro\Hy@FirstPageHook{% |
| 16717 |
\headerps@out{% |
| 16718 |
/betterpdfmark {% |
| 16719 |
systemdict begin % |
| 16720 |
dup /BP eq% |
| 16721 |
{cleartomark gsave nulldevice [}% |
| 16722 |
{dup /EP eq% |
| 16723 |
{cleartomark cleartomark grestore}% |
| 16724 |
{cleartomark}% |
| 16725 |
ifelse% |
| 16726 |
}ifelse % |
| 16727 |
end% |
| 16728 |
}def\Hy@ps@CR |
| 16729 |
__pdfmark__ not{/pdfmark /betterpdfmark load def}if% |
| 16730 |
}% end of \headerps@out |
| 16731 |
}% end of \AddToHook{shipout/firstpage} |
| 16732 |
% |
| 16733 |
\input{pdfmark.def}% |
| 16734 |
% |
| 16735 |
\ifx\@pdfproducer\relax |
| 16736 |
\def\@pdfproducer{Textures + Distiller}% |
| 16737 |
\fi |
| 16738 |
\providecommand*\@pdfborder{0 0 1} |
| 16739 |
\providecommand*\@pdfborderstyle{} |
| 16740 |
\providecommand*\@pdfview{XYZ} |
| 16741 |
\providecommand*\@pdfviewparams{ H.V} |
| 16742 |
% |
| 16743 |
% \end{macrocode} |
| 16744 |
% These are called at the start and end of unboxed links; |
| 16745 |
% their job is to leave available PS variables called |
| 16746 |
% |pdf@llx pdf@lly pdf@urx pdf@ury|, which are the coordinates |
| 16747 |
% of the bounding rectangle of the link, and |pdf@hoff pdf@voff| |
| 16748 |
% which are the PDF page offsets. |
| 16749 |
% The Rect pair are called at the LL and UR corners of a box |
| 16750 |
% known to \TeX. |
| 16751 |
% \begin{macrocode} |
| 16752 |
\Hy@AtBeginDocument{% |
| 16753 |
\headerps@out{% |
| 16754 |
% \end{macrocode} |
| 16755 |
% Textures lives in normal points, I think. So conversion from one |
| 16756 |
% coordinate system to another involves doing nothing. |
| 16757 |
% |
| 16758 |
% \begin{macrocode} |
| 16759 |
/vsize {\Hy@pageheight} def% |
| 16760 |
/DvipsToPDF {} def% |
| 16761 |
/PDFToDvips {} def% |
| 16762 |
/BPToDvips {} def% |
| 16763 |
/HyperBorder { 1 PDFToDvips } def\Hy@ps@CR |
| 16764 |
/H.V {pdf@hoff pdf@voff null} def\Hy@ps@CR |
| 16765 |
/H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def\Hy@ps@CR |
| 16766 |
/H.S {% |
| 16767 |
currentpoint % |
| 16768 |
HyperBorder add /pdf@lly exch def % |
| 16769 |
dup DvipsToPDF 72 add /pdf@hoff exch def % |
| 16770 |
HyperBorder sub /pdf@llx exch def% |
| 16771 |
} def\Hy@ps@CR |
| 16772 |
/H.L {% |
| 16773 |
2 sub % |
| 16774 |
PDFToDvips /HyperBase exch def % |
| 16775 |
currentpoint % |
| 16776 |
HyperBase sub /pdf@ury exch def% |
| 16777 |
/pdf@urx exch def% |
| 16778 |
} def\Hy@ps@CR |
| 16779 |
/H.A {% |
| 16780 |
H.L % |
| 16781 |
currentpoint exch pop % |
| 16782 |
vsize 72 sub exch DvipsToPDF % |
| 16783 |
HyperBase sub % baseline skip |
| 16784 |
sub /pdf@voff exch def% |
| 16785 |
} def\Hy@ps@CR |
| 16786 |
/H.R {% |
| 16787 |
currentpoint % |
| 16788 |
HyperBorder sub /pdf@ury exch def % |
| 16789 |
HyperBorder add /pdf@urx exch def % |
| 16790 |
currentpoint exch pop vsize 72 sub % |
| 16791 |
exch DvipsToPDF sub /pdf@voff exch def% |
| 16792 |
} def\Hy@ps@CR |
| 16793 |
}% |
| 16794 |
} |
| 16795 |
% \end{macrocode} |
| 16796 |
% \begin{macrocode} |
| 16797 |
\def\setpdflinkmargin#1{% |
| 16798 |
\begingroup |
| 16799 |
\setlength{\dimen@}{#1}% |
| 16800 |
\literalps@out{% |
| 16801 |
/HyperBorder{\strip@pt\dimen@\space PDFToDvips}def% |
| 16802 |
}% |
| 16803 |
\endgroup |
| 16804 |
} |
| 16805 |
% \end{macrocode} |
| 16806 |
% \begin{macrocode} |
| 16807 |
\Hy@AtBeginDocument{% |
| 16808 |
\ifHy@colorlinks |
| 16809 |
\headerps@out{/PDFBorder{/Border [0 0 0]}def}% |
| 16810 |
\fi |
| 16811 |
} |
| 16812 |
% \end{macrocode} |
| 16813 |
% Textures provides built-in support for HyperTeX specials |
| 16814 |
% so this part combines code from \verb|hypertex.def| with what |
| 16815 |
% is established by loading \verb|pdfmark.def|, or any other driver. |
| 16816 |
% \begin{macrocode} |
| 16817 |
\expandafter\let\expandafter\keepPDF@SetupDoc |
| 16818 |
\csname PDF@SetupDoc\endcsname |
| 16819 |
\def\PDF@SetupDoc{% |
| 16820 |
\ifx\@baseurl\@empty |
| 16821 |
\else |
| 16822 |
\special{html:<base href="\@baseurl">}% |
| 16823 |
\fi |
| 16824 |
\keepPDF@SetupDoc |
| 16825 |
} |
| 16826 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 16827 |
\Hy@SaveLastskip |
| 16828 |
\Hy@VerboseAnchor{#1}% |
| 16829 |
\begingroup |
| 16830 |
\let\protect=\string |
| 16831 |
\special{html:<a name=% |
| 16832 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 16833 |
\endgroup |
| 16834 |
\Hy@activeanchortrue |
| 16835 |
\Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink |
| 16836 |
\special{html:</a>}% |
| 16837 |
\Hy@activeanchorfalse |
| 16838 |
\Hy@RestoreLastskip |
| 16839 |
} |
| 16840 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 16841 |
\Hy@SaveLastskip |
| 16842 |
\Hy@VerboseAnchor{#1}% |
| 16843 |
\begingroup |
| 16844 |
\hyper@chars |
| 16845 |
\special{html:<a name=% |
| 16846 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 16847 |
\endgroup |
| 16848 |
\Hy@activeanchortrue |
| 16849 |
} |
| 16850 |
\def\hyper@anchorend{% |
| 16851 |
\special{html:</a>}% |
| 16852 |
\Hy@activeanchorfalse |
| 16853 |
\Hy@RestoreLastskip |
| 16854 |
} |
| 16855 |
\def\@urltype{url} |
| 16856 |
\def\hyper@linkstart#1#2{% |
| 16857 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 16858 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 16859 |
\def\Hy@tempa{#1}% |
| 16860 |
\ifx\Hy@tempa\@urltype |
| 16861 |
\special{html:<a href=\hyper@quote#2\hyper@quote>}% |
| 16862 |
\else |
| 16863 |
\begingroup |
| 16864 |
\hyper@chars |
| 16865 |
\special{% |
| 16866 |
html:<a href=% |
| 16867 |
\hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>% |
| 16868 |
}% |
| 16869 |
\endgroup |
| 16870 |
\fi |
| 16871 |
} |
| 16872 |
\def\hyper@linkend{% |
| 16873 |
\special{html:</a>}% |
| 16874 |
\Hy@endcolorlink |
| 16875 |
} |
| 16876 |
\def\hyper@linkfile#1#2#3{% |
| 16877 |
\hyper@linkurl{#1}{% |
| 16878 |
\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi |
| 16879 |
}% |
| 16880 |
} |
| 16881 |
\def\hyper@linkurl#1#2{% |
| 16882 |
\leavevmode |
| 16883 |
\ifHy@raiselinks |
| 16884 |
\Hy@SaveSpaceFactor |
| 16885 |
\Hy@SaveSavedSpaceFactor |
| 16886 |
\sbox\@tempboxa{\Hy@RestoreSpaceFactor#1}% |
| 16887 |
\Hy@RestoreSavedSpaceFactor |
| 16888 |
\@linkdim\dp\@tempboxa |
| 16889 |
\lower\@linkdim\hbox{% |
| 16890 |
\hyper@chars |
| 16891 |
\special{html:<a href=\hyper@quote#2\hyper@quote>}% |
| 16892 |
}% |
| 16893 |
\Hy@colorlink\@urlcolor |
| 16894 |
\Hy@RestoreSpaceFactor |
| 16895 |
#1\Hy@xspace@end |
| 16896 |
\Hy@SaveSpaceFactor |
| 16897 |
\@linkdim\ht\@tempboxa |
| 16898 |
\advance\@linkdim by -6.5\p@ |
| 16899 |
\raise\@linkdim\hbox{\special{html:</a>}}% |
| 16900 |
\Hy@endcolorlink |
| 16901 |
\Hy@RestoreSpaceFactor |
| 16902 |
\else |
| 16903 |
\begingroup |
| 16904 |
\hyper@chars |
| 16905 |
\special{html:<a href=\hyper@quote#2\hyper@quote>}% |
| 16906 |
\Hy@colorlink\@urlcolor#1\Hy@xspace@end |
| 16907 |
\special{html:</a>}% |
| 16908 |
\Hy@endcolorlink |
| 16909 |
\endgroup |
| 16910 |
\fi |
| 16911 |
} |
| 16912 |
% \end{macrocode} |
| 16913 |
% Very poor implementation of \cs{hyper@link} without considering |#1|. |
| 16914 |
% \begin{macrocode} |
| 16915 |
\def\hyper@link#1#2#3{% |
| 16916 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 16917 |
\hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% |
| 16918 |
} |
| 16919 |
\def\hyper@image#1#2{% |
| 16920 |
\begingroup |
| 16921 |
\hyper@chars |
| 16922 |
\special{html:<img src=\hyper@quote#1\hyper@quote>}% |
| 16923 |
\endgroup |
| 16924 |
} |
| 16925 |
%</textures> |
| 16926 |
% \end{macrocode} |
| 16927 |
% \subsection{dvipsone} |
| 16928 |
% \begin{macrocode} |
| 16929 |
% \subsection{dvipsone driver} |
| 16930 |
% Over-ride the default setup macro in pdfmark driver to use Y\&Y |
| 16931 |
% |\special| commands. |
| 16932 |
%<*dvipsone> |
| 16933 |
\providecommand*{\XR@ext}{pdf} |
| 16934 |
\let\Hy@raisedlink\@empty |
| 16935 |
\providecommand*\@pdfborder{0 0 1} |
| 16936 |
\providecommand*\@pdfborderstyle{} |
| 16937 |
\def\literalps@out#1{\special{ps:#1}}% |
| 16938 |
\def\headerps@out#1{\special{headertext=#1}}% |
| 16939 |
\input{pdfmark.def}% |
| 16940 |
\HyInfo@AddonUnsupportedtrue |
| 16941 |
\def\PDF@FinishDoc{% |
| 16942 |
\Hy@UseMaketitleInfos |
| 16943 |
\HyInfo@TrappedUnsupported |
| 16944 |
\special{PDF: Keywords \@pdfkeywords}% |
| 16945 |
\special{PDF: Title \@pdftitle}% |
| 16946 |
\special{PDF: Creator \@pdfcreator}% |
| 16947 |
\ifx\@pdfcreationdate\@empty |
| 16948 |
\else |
| 16949 |
\special{PDF: CreationDate \@pdfcreationdate}% |
| 16950 |
\fi |
| 16951 |
\ifx\@pdfmoddate\@empty |
| 16952 |
\else |
| 16953 |
\special{PDF: ModDate \@pdfmoddate}% |
| 16954 |
\fi |
| 16955 |
\special{PDF: Author \@pdfauthor}% |
| 16956 |
\ifx\@pdfproducer\relax |
| 16957 |
\else |
| 16958 |
\special{PDF: Producer \@pdfproducer}% |
| 16959 |
\fi |
| 16960 |
\special{PDF: Subject \@pdfsubject}% |
| 16961 |
\Hy@DisableOption{pdfauthor}% |
| 16962 |
\Hy@DisableOption{pdftitle}% |
| 16963 |
\Hy@DisableOption{pdfsubject}% |
| 16964 |
\Hy@DisableOption{pdfcreator}% |
| 16965 |
\Hy@DisableOption{addtopdfcreator}% |
| 16966 |
\Hy@DisableOption{pdfcreationdate}% |
| 16967 |
\Hy@DisableOption{pdfcreationdate}% |
| 16968 |
\Hy@DisableOption{pdfmoddate}% |
| 16969 |
\Hy@DisableOption{pdfproducer}% |
| 16970 |
\Hy@DisableOption{pdfkeywords}% |
| 16971 |
\Hy@DisableOption{pdftrapped}% |
| 16972 |
\Hy@DisableOption{pdfinfo}% |
| 16973 |
} |
| 16974 |
\def\PDF@SetupDoc{% |
| 16975 |
\def\Hy@temp{}% |
| 16976 |
\ifx\@pdfstartpage\@empty |
| 16977 |
\else |
| 16978 |
\ifx\@pdfstartview\@empty |
| 16979 |
\else |
| 16980 |
\edef\Hy@temp{% |
| 16981 |
,Page=\@pdfstartpage |
| 16982 |
,View=\@pdfstartview |
| 16983 |
}% |
| 16984 |
\fi |
| 16985 |
\fi |
| 16986 |
\edef\Hy@temp{% |
| 16987 |
\noexpand\pdfmark{% |
| 16988 |
pdfmark=/DOCVIEW,% |
| 16989 |
PageMode=/\@pdfpagemode |
| 16990 |
\Hy@temp |
| 16991 |
}% |
| 16992 |
}% |
| 16993 |
\Hy@temp |
| 16994 |
\ifx\@pdfpagescrop\@empty |
| 16995 |
\else |
| 16996 |
\pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}% |
| 16997 |
\fi |
| 16998 |
\edef\Hy@temp{% |
| 16999 |
\ifHy@pdftoolbar\else /HideToolbar true\fi |
| 17000 |
\ifHy@pdfmenubar\else /HideMenubar true\fi |
| 17001 |
\ifHy@pdfwindowui\else /HideWindowUI true\fi |
| 17002 |
\ifHy@pdffitwindow /FitWindow true\fi |
| 17003 |
\ifHy@pdfcenterwindow /CenterWindow true\fi |
| 17004 |
\ifHy@pdfdisplaydoctitle /DisplayDocTitle true\fi |
| 17005 |
\Hy@UseNameKey{NonFullScreenPageMode}\@pdfnonfullscreenpagemode |
| 17006 |
\Hy@UseNameKey{Direction}\@pdfdirection |
| 17007 |
\Hy@UseNameKey{ViewArea}\@pdfviewarea |
| 17008 |
\Hy@UseNameKey{ViewClip}\@pdfviewclip |
| 17009 |
\Hy@UseNameKey{PrintArea}\@pdfprintarea |
| 17010 |
\Hy@UseNameKey{PrintClip}\@pdfprintclip |
| 17011 |
\Hy@UseNameKey{PrintScaling}\@pdfprintscaling |
| 17012 |
\Hy@UseNameKey{Duplex}\@pdfduplex |
| 17013 |
\ifx\@pdfpicktraybypdfsize\@empty |
| 17014 |
\else |
| 17015 |
/PickTrayByPDFSize \@pdfpicktraybypdfsize |
| 17016 |
\fi |
| 17017 |
\ifx\@pdfprintpagerange\@empty |
| 17018 |
\else |
| 17019 |
/PrintPageRange[\@pdfprintpagerange]% |
| 17020 |
\fi |
| 17021 |
\ifx\@pdfnumcopies\@empty |
| 17022 |
\else |
| 17023 |
/NumCopies \@pdfnumcopies |
| 17024 |
\fi |
| 17025 |
}% |
| 17026 |
\Hy@pstringdef\Hy@pstringB{\@baseurl}% |
| 17027 |
\pdfmark{% |
| 17028 |
pdfmark=/PUT,% |
| 17029 |
Raw={% |
| 17030 |
\string{Catalog\string}<<% |
| 17031 |
\ifx\Hy@temp\@empty |
| 17032 |
\else |
| 17033 |
/ViewerPreferences<<\Hy@temp>>% |
| 17034 |
\fi |
| 17035 |
\Hy@UseNameKey{PageLayout}\@pdfpagelayout |
| 17036 |
\ifx\@pdflang\relax |
| 17037 |
\else |
| 17038 |
/Lang(\@pdflang)% |
| 17039 |
\fi |
| 17040 |
\ifx\@baseurl\@empty |
| 17041 |
\else |
| 17042 |
/URI<</Base(\Hy@pstringB)>>% |
| 17043 |
\fi |
| 17044 |
>>% |
| 17045 |
}% |
| 17046 |
}% |
| 17047 |
} |
| 17048 |
\providecommand*\@pdfview{XYZ} |
| 17049 |
\providecommand*\@pdfviewparams{ % |
| 17050 |
gsave revscl currentpoint grestore % |
| 17051 |
72 add exch pop null exch null% |
| 17052 |
} |
| 17053 |
\def\Hy@BorderArrayPatch{BorderArrayPatch} |
| 17054 |
% \end{macrocode} |
| 17055 |
% These are called at the start and end of unboxed links; |
| 17056 |
% their job is to leave available PS variables called |
| 17057 |
% |pdf@llx pdf@lly pdf@urx pdf@ury|, which are the coordinates |
| 17058 |
% of the bounding rectangle of the link, and |pdf@hoff pdf@voff| |
| 17059 |
% which are the PDF page offsets. These latter are currently not |
| 17060 |
% used in the dvipsone setup. |
| 17061 |
% The Rect pair are called at the LL and UR corners of a box |
| 17062 |
% known to \TeX. |
| 17063 |
% \begin{macrocode} |
| 17064 |
\g@addto@macro\Hy@FirstPageHook{% |
| 17065 |
\headerps@out{% |
| 17066 |
% \end{macrocode} |
| 17067 |
% dvipsone lives in scaled points; does this mean 65536 or 65781? |
| 17068 |
% \begin{macrocode} |
| 17069 |
/DvipsToPDF { 65781 div } def% |
| 17070 |
/PDFToDvips { 65781 mul } def% |
| 17071 |
/BPToDvips{65781 mul}def% |
| 17072 |
/HyperBorder { 1 PDFToDvips } def% |
| 17073 |
/H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def% |
| 17074 |
% \end{macrocode} |
| 17075 |
% The values inside the /Boder array are not taken literally, but |
| 17076 |
% interpreted by ghostscript using the resolution of the dvi driver. |
| 17077 |
% I don't know how other distiller programs behaves in this manner. |
| 17078 |
% \begin{macrocode} |
| 17079 |
/BorderArrayPatch{% |
| 17080 |
[exch{% |
| 17081 |
dup dup type/integertype eq exch type/realtype eq or% |
| 17082 |
{BPToDvips}if% |
| 17083 |
}forall]% |
| 17084 |
}def% |
| 17085 |
% \end{macrocode} |
| 17086 |
% |
| 17087 |
% \begin{macrocode} |
| 17088 |
/H.S {% |
| 17089 |
currentpoint % |
| 17090 |
HyperBorder add /pdf@lly exch def % |
| 17091 |
dup DvipsToPDF 72 add /pdf@hoff exch def % |
| 17092 |
HyperBorder sub /pdf@llx exch def% |
| 17093 |
} def% |
| 17094 |
/H.L {% |
| 17095 |
2 sub % |
| 17096 |
PDFToDvips /HyperBase exch def % |
| 17097 |
currentpoint % |
| 17098 |
HyperBase sub /pdf@ury exch def% |
| 17099 |
/pdf@urx exch def% |
| 17100 |
} def% |
| 17101 |
/H.A {% |
| 17102 |
H.L % |
| 17103 |
currentpoint exch pop % |
| 17104 |
HyperBase sub % baseline skip |
| 17105 |
DvipsToPDF /pdf@voff exch def% |
| 17106 |
} def% |
| 17107 |
/H.R {% |
| 17108 |
currentpoint % |
| 17109 |
HyperBorder sub /pdf@ury exch def % |
| 17110 |
HyperBorder add /pdf@urx exch def % |
| 17111 |
currentpoint exch pop DvipsToPDF /pdf@voff exch def% |
| 17112 |
} def% |
| 17113 |
}% |
| 17114 |
} |
| 17115 |
% \end{macrocode} |
| 17116 |
% \begin{macrocode} |
| 17117 |
\def\setpdflinkmargin#1{% |
| 17118 |
\begingroup |
| 17119 |
\setlength{\dimen@}{#1}% |
| 17120 |
\literalps@out{% |
| 17121 |
/HyperBorder{\strip@pt\dimen@\space PDFToDvips}def% |
| 17122 |
}% |
| 17123 |
\endgroup |
| 17124 |
} |
| 17125 |
% \end{macrocode} |
| 17126 |
% \begin{macrocode} |
| 17127 |
%</dvipsone> |
| 17128 |
% \end{macrocode} |
| 17129 |
% |
| 17130 |
% \subsection{TeX4ht} |
| 17131 |
% \begin{macrocode} |
| 17132 |
%<*tex4ht> |
| 17133 |
\providecommand*{\XR@ext}{html} |
| 17134 |
\let\Hy@raisedlink\@empty |
| 17135 |
\@ifpackageloaded{tex4ht}{% |
| 17136 |
\Hy@InfoNoLine{tex4ht is already loaded}% |
| 17137 |
}{% |
| 17138 |
\RequirePackage[htex4ht]{tex4ht}% |
| 17139 |
} |
| 17140 |
\hyperlinkfileprefix{} |
| 17141 |
\let\PDF@FinishDoc\@empty |
| 17142 |
\def\PDF@SetupDoc{% |
| 17143 |
\ifx\@baseurl\@empty |
| 17144 |
\else |
| 17145 |
\special{t4ht=<base href="\@baseurl">}% |
| 17146 |
\fi |
| 17147 |
} |
| 17148 |
\Hy@WrapperDef\hyper@anchor#1{% |
| 17149 |
\Hy@SaveLastskip |
| 17150 |
\Hy@VerboseAnchor{#1}% |
| 17151 |
\begingroup |
| 17152 |
\let\protect=\string |
| 17153 |
\special{t4ht=<a name=% |
| 17154 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 17155 |
\endgroup |
| 17156 |
\Hy@activeanchortrue |
| 17157 |
\Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink |
| 17158 |
\special{t4ht=</a>}% |
| 17159 |
\Hy@activeanchorfalse |
| 17160 |
\Hy@RestoreLastskip |
| 17161 |
} |
| 17162 |
\Hy@WrapperDef\hyper@anchorstart#1{% |
| 17163 |
\Hy@SaveLastskip |
| 17164 |
\Hy@VerboseAnchor{#1}% |
| 17165 |
\begingroup |
| 17166 |
\hyper@chars\special{t4ht=<a name=% |
| 17167 |
\hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% |
| 17168 |
\endgroup |
| 17169 |
\Hy@activeanchortrue |
| 17170 |
} |
| 17171 |
\def\hyper@anchorend{% |
| 17172 |
\special{t4ht=</a>}% |
| 17173 |
\Hy@activeanchorfalse |
| 17174 |
\Hy@RestoreLastskip |
| 17175 |
} |
| 17176 |
\def\@urltype{url} |
| 17177 |
\def\hyper@linkstart#1#2{% |
| 17178 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 17179 |
\expandafter\Hy@colorlink\csname @#1color\endcsname |
| 17180 |
\def\Hy@tempa{#1}% |
| 17181 |
\ifx\Hy@tempa\@urltype |
| 17182 |
\special{t4ht=<a href=\hyper@quote#2\hyper@quote>}% |
| 17183 |
\else |
| 17184 |
\begingroup |
| 17185 |
\hyper@chars |
| 17186 |
\special{t4ht=<a href=% |
| 17187 |
\hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% |
| 17188 |
\endgroup |
| 17189 |
\fi |
| 17190 |
} |
| 17191 |
\def\hyper@linkend{% |
| 17192 |
\special{t4ht=</a>}% |
| 17193 |
\Hy@endcolorlink |
| 17194 |
} |
| 17195 |
\def\hyper@linkfile#1#2#3{% |
| 17196 |
\hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% |
| 17197 |
} |
| 17198 |
\def\hyper@linkurl#1#2{% |
| 17199 |
\leavevmode |
| 17200 |
\ifHy@raiselinks |
| 17201 |
\Hy@SaveSpaceFactor |
| 17202 |
\Hy@SaveSavedSpaceFactor |
| 17203 |
\sbox\@tempboxa{\Hy@RestoreSpaceFactor#1}% |
| 17204 |
\Hy@RestoreSavedSpaceFactor |
| 17205 |
\@linkdim\dp\@tempboxa |
| 17206 |
\lower\@linkdim\hbox{% |
| 17207 |
\begingroup |
| 17208 |
\hyper@chars |
| 17209 |
\special{% |
| 17210 |
t4ht=<a href=\hyper@quote#2\hyper@quote>% |
| 17211 |
}% |
| 17212 |
\endgroup |
| 17213 |
}% |
| 17214 |
\Hy@colorlink\@urlcolor |
| 17215 |
\Hy@RestoreSpaceFactor |
| 17216 |
#1\Hy@xspace@end |
| 17217 |
\Hy@SaveSpaceFactor |
| 17218 |
\Hy@endcolorlink |
| 17219 |
\@linkdim\ht\@tempboxa |
| 17220 |
\advance\@linkdim by -6.5\p@ |
| 17221 |
\raise\@linkdim\hbox{\special{t4ht=</a>}}% |
| 17222 |
\Hy@RestoreSpaceFactor |
| 17223 |
\else |
| 17224 |
\begingroup |
| 17225 |
\hyper@chars |
| 17226 |
\special{t4ht=<a href=\hyper@quote#2\hyper@quote>}% |
| 17227 |
\Hy@colorlink\@urlcolor |
| 17228 |
#1\Hy@xspace@end |
| 17229 |
\Hy@endcolorlink |
| 17230 |
\special{t4ht=</a>}% |
| 17231 |
\endgroup |
| 17232 |
\fi |
| 17233 |
} |
| 17234 |
% \end{macrocode} |
| 17235 |
% Poor implementation of \cs{hyper@link} without considering |#1|. |
| 17236 |
% \begin{macrocode} |
| 17237 |
\def\hyper@link#1#2#3{% |
| 17238 |
\Hy@VerboseLinkStart{#1}{#2}% |
| 17239 |
\hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% |
| 17240 |
} |
| 17241 |
\def\hyper@image#1#2{% |
| 17242 |
\begingroup |
| 17243 |
\hyper@chars |
| 17244 |
\special{t4ht=<img src=\hyper@quote#1\hyper@quote>}% |
| 17245 |
\endgroup |
| 17246 |
} |
| 17247 |
\let\autoref\ref |
| 17248 |
\ifx \rEfLiNK \UnDef |
| 17249 |
\def\rEfLiNK #1#2{#2}% |
| 17250 |
\fi |
| 17251 |
\let\backref\@gobble |
| 17252 |
% \end{macrocode} |
| 17253 |
% Fix for tex4ht. |
| 17254 |
% \begin{macrocode} |
| 17255 |
\AtBeginDocument{% |
| 17256 |
\expandafter |
| 17257 |
\let\expandafter\Hy@OrgMakeLabel\csname Make:Label\endcsname |
| 17258 |
\expandafter\def\csname Make:Label\endcsname#1#2{% |
| 17259 |
\ifhmode |
| 17260 |
\Hy@SaveSpaceFactor |
| 17261 |
\else |
| 17262 |
\global\Hy@SavedSpaceFactor=1000 % |
| 17263 |
\fi |
| 17264 |
\Hy@OrgMakeLabel{#1}{% |
| 17265 |
\Hy@RestoreSpaceFactor |
| 17266 |
#2\Hy@xspace@end% |
| 17267 |
\Hy@SaveSpaceFactor |
| 17268 |
}% |
| 17269 |
\Hy@RestoreSpaceFactor |
| 17270 |
}% |
| 17271 |
} |
| 17272 |
%</tex4ht> |
| 17273 |
%<*tex4htcfg> |
| 17274 |
\IfFileExists{\jobname.cfg}{\endinput}{} |
| 17275 |
\Preamble{html} |
| 17276 |
\begin{document}% |
| 17277 |
\EndPreamble |
| 17278 |
\def\TeX{TeX} |
| 17279 |
\def\OMEGA{Omega} |
| 17280 |
\def\LaTeX{La\TeX} |
| 17281 |
\def\LaTeXe{\LaTeX2e} |
| 17282 |
\def\eTeX{e-\TeX} |
| 17283 |
\def\MF{Metafont} |
| 17284 |
\def\MP{MetaPost} |
| 17285 |
%</tex4htcfg> |
| 17286 |
% \end{macrocode} |
| 17287 |
% |
| 17288 |
% \section{Driver-specific form support} |
| 17289 |
% \subsection{pdfmarks} |
| 17290 |
% change 2020-06-20: added /Euro to encoding |
| 17291 |
% \begin{macrocode} |
| 17292 |
%<*pdfmark> |
| 17293 |
\long\def\@Form[#1]{% |
| 17294 |
\g@addto@macro\Hy@FirstPageHook{% |
| 17295 |
\headerps@out{% |
| 17296 |
[% |
| 17297 |
/_objdef{pdfDocEncoding}% |
| 17298 |
/type/dict% |
| 17299 |
/OBJ pdfmark% |
| 17300 |
[% |
| 17301 |
{pdfDocEncoding}% |
| 17302 |
<<% |
| 17303 |
/Type/Encoding% |
| 17304 |
/Differences[% |
| 17305 |
24/breve/caron/circumflex/dotaccent/hungarumlaut/ogonek/ring% |
| 17306 |
/tilde % |
| 17307 |
39/quotesingle % |
| 17308 |
96/grave % |
| 17309 |
128/bullet/dagger/daggerdbl/ellipsis/emdash/endash/florin% |
| 17310 |
/fraction/guilsinglleft/guilsinglright/minus/perthousand% |
| 17311 |
/quotedblbase/quotedblleft/quotedblright/quoteleft% |
| 17312 |
/quoteright/quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron% |
| 17313 |
/Ydieresis/Zcaron/dotlessi/lslash/oe/scaron/zcaron % |
| 17314 |
160/Euro % |
| 17315 |
164/currency % |
| 17316 |
166/brokenbar % |
| 17317 |
168/dieresis/copyright/ordfeminine % |
| 17318 |
172/logicalnot/.notdef/registered/macron/degree/plusminus% |
| 17319 |
/twosuperior/threesuperior/acute/mu % |
| 17320 |
183/periodcentered/cedilla/onesuperior/ordmasculine % |
| 17321 |
188/onequarter/onehalf/threequarters % |
| 17322 |
192/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE% |
| 17323 |
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave% |
| 17324 |
/Iacute/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute% |
| 17325 |
/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave% |
| 17326 |
/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls% |
| 17327 |
/agrave/aacute/acircumflex/atilde/adieresis/aring/ae% |
| 17328 |
/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave% |
| 17329 |
/iacute/icircumflex/idieresis/eth/ntilde/ograve/oacute% |
| 17330 |
/ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute% |
| 17331 |
/ucircumflex/udieresis/yacute/thorn/ydieresis% |
| 17332 |
]% |
| 17333 |
>>% |
| 17334 |
/PUT pdfmark% |
| 17335 |
[% |
| 17336 |
/_objdef{ZaDb}% |
| 17337 |
/type/dict% |
| 17338 |
/OBJ pdfmark% |
| 17339 |
[% |
| 17340 |
{ZaDb}% |
| 17341 |
<<% |
| 17342 |
/Type/Font% |
| 17343 |
/Subtype/Type1% |
| 17344 |
/Name/ZaDb% |
| 17345 |
/BaseFont/ZapfDingbats% |
| 17346 |
>>% |
| 17347 |
/PUT pdfmark% |
| 17348 |
[% |
| 17349 |
/_objdef{Helv}% |
| 17350 |
/type/dict% |
| 17351 |
/OBJ pdfmark% |
| 17352 |
[% |
| 17353 |
{Helv}% |
| 17354 |
<<% |
| 17355 |
/Type/Font% |
| 17356 |
/Subtype/Type1% |
| 17357 |
/Name/Helv% |
| 17358 |
/BaseFont/Helvetica% |
| 17359 |
/Encoding{pdfDocEncoding}% |
| 17360 |
>>% |
| 17361 |
/PUT pdfmark% |
| 17362 |
[% |
| 17363 |
/_objdef{aform}% |
| 17364 |
/type/dict% |
| 17365 |
/OBJ pdfmark% |
| 17366 |
[% |
| 17367 |
/_objdef{afields}% |
| 17368 |
/type/array% |
| 17369 |
/OBJ pdfmark% |
| 17370 |
[% |
| 17371 |
/_objdef{corder}% |
| 17372 |
/type/array% |
| 17373 |
/OBJ pdfmark% |
| 17374 |
{% |
| 17375 |
[% |
| 17376 |
/BBox[0 0 100 100]% |
| 17377 |
/_objdef{Check}% |
| 17378 |
/BP pdfmark % |
| 17379 |
1 0 0 setrgbcolor% |
| 17380 |
/ZapfDingbats 80 selectfont % |
| 17381 |
20 20 moveto% |
| 17382 |
(4)show% |
| 17383 |
[/EP pdfmark% |
| 17384 |
[% |
| 17385 |
/BBox[0 0 100 100]% |
| 17386 |
/_objdef{Cross}% |
| 17387 |
/BP pdfmark % |
| 17388 |
1 0 0 setrgbcolor% |
| 17389 |
/ZapfDingbats 80 selectfont % |
| 17390 |
20 20 moveto% |
| 17391 |
(8)show% |
| 17392 |
[/EP pdfmark% |
| 17393 |
[% |
| 17394 |
/BBox[0 0 250 100]% |
| 17395 |
/_objdef{Submit}% |
| 17396 |
/BP pdfmark % |
| 17397 |
0.6 setgray % |
| 17398 |
0 0 250 100 rectfill % |
| 17399 |
1 setgray % |
| 17400 |
2 2 moveto % |
| 17401 |
2 98 lineto % |
| 17402 |
248 98 lineto % |
| 17403 |
246 96 lineto % |
| 17404 |
4 96 lineto % |
| 17405 |
4 4 lineto % |
| 17406 |
fill % |
| 17407 |
0.34 setgray % |
| 17408 |
248 98 moveto % |
| 17409 |
248 2 lineto % |
| 17410 |
2 2 lineto % |
| 17411 |
4 4 lineto % |
| 17412 |
246 4 lineto % |
| 17413 |
246 96 lineto % |
| 17414 |
fill% |
| 17415 |
/Helvetica 76 selectfont % |
| 17416 |
0 setgray % |
| 17417 |
8 22.5 moveto% |
| 17418 |
(Submit)show% |
| 17419 |
[/EP pdfmark% |
| 17420 |
[% |
| 17421 |
/BBox[0 0 250 100]% |
| 17422 |
/_objdef{SubmitP}% |
| 17423 |
/BP pdfmark % |
| 17424 |
0.6 setgray % |
| 17425 |
0 0 250 100 rectfill % |
| 17426 |
0.34 setgray % |
| 17427 |
2 2 moveto % |
| 17428 |
2 98 lineto % |
| 17429 |
248 98 lineto % |
| 17430 |
246 96 lineto % |
| 17431 |
4 96 lineto % |
| 17432 |
4 4 lineto % |
| 17433 |
fill % |
| 17434 |
1 setgray % |
| 17435 |
248 98 moveto % |
| 17436 |
248 2 lineto % |
| 17437 |
2 2 lineto % |
| 17438 |
4 4 lineto % |
| 17439 |
246 4 lineto % |
| 17440 |
246 96 lineto % |
| 17441 |
fill% |
| 17442 |
/Helvetica 76 selectfont % |
| 17443 |
0 setgray % |
| 17444 |
10 20.5 moveto% |
| 17445 |
(Submit)show% |
| 17446 |
[/EP pdfmark% |
| 17447 |
} ?pdfmark% |
| 17448 |
[% |
| 17449 |
{aform}% |
| 17450 |
<<% |
| 17451 |
/Fields{afields}% |
| 17452 |
/DR<<% |
| 17453 |
/Font<<% |
| 17454 |
/ZaDb{ZaDb}% |
| 17455 |
/Helv{Helv}% |
| 17456 |
>>% |
| 17457 |
>>% |
| 17458 |
/DA(/Helv 10 Tf 0 g)% |
| 17459 |
/CO{corder}% |
| 17460 |
\ifHy@pdfa |
| 17461 |
\else |
| 17462 |
\ifHyField@NeedAppearances |
| 17463 |
/NeedAppearances true% |
| 17464 |
\fi |
| 17465 |
\fi |
| 17466 |
>>% |
| 17467 |
/PUT pdfmark% |
| 17468 |
[% |
| 17469 |
{Catalog}% |
| 17470 |
<<% |
| 17471 |
/AcroForm{aform}% |
| 17472 |
>>% |
| 17473 |
/PUT pdfmark% |
| 17474 |
}}% |
| 17475 |
\kvsetkeys{Form}{#1}% |
| 17476 |
} |
| 17477 |
\let\@endForm\@empty |
| 17478 |
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum |
| 17479 |
\Hy@Message{Sorry, pdfmark drivers do not support FORM gauges}% |
| 17480 |
} |
| 17481 |
% \end{macrocode} |
| 17482 |
% \begin{macrocode} |
| 17483 |
\newcount\HyField@AnnotCount |
| 17484 |
\HyField@AnnotCount=\z@ |
| 17485 |
\def\HyField@AdvanceAnnotCount{% |
| 17486 |
\global\advance\HyField@AnnotCount\@ne |
| 17487 |
} |
| 17488 |
\def\HyField@TheAnnotCount{% |
| 17489 |
\the\HyField@AnnotCount |
| 17490 |
} |
| 17491 |
% \end{macrocode} |
| 17492 |
% \begin{macrocode} |
| 17493 |
\edef\Fld@pageobjref{/P\string{ThisPage\string}} |
| 17494 |
% \end{macrocode} |
| 17495 |
% \begin{macrocode} |
| 17496 |
\def\HyField@AddToFields#1{% |
| 17497 |
\pdfmark{% |
| 17498 |
pdfmark=/APPEND,% |
| 17499 |
Raw={% |
| 17500 |
\string{afields\string}% |
| 17501 |
\string{#1\HyField@TheAnnotCount\string}% |
| 17502 |
}% |
| 17503 |
}% |
| 17504 |
\ifx\Fld@calculate@code\@empty |
| 17505 |
\else |
| 17506 |
\pdfmark{% |
| 17507 |
pdfmark=/APPEND,% |
| 17508 |
Raw={% |
| 17509 |
\string{corder\string}% |
| 17510 |
\string{#1\HyField@TheAnnotCount\string}% |
| 17511 |
}% |
| 17512 |
}% |
| 17513 |
\fi |
| 17514 |
} |
| 17515 |
% \end{macrocode} |
| 17516 |
% \begin{macrocode} |
| 17517 |
\def\@TextField[#1]#2{% parameters, label |
| 17518 |
\def\Fld@name{#2}% |
| 17519 |
\let\Fld@default\@empty |
| 17520 |
\let\Fld@value\@empty |
| 17521 |
\def\Fld@width{\DefaultWidthofText}% |
| 17522 |
\def\Fld@height{% |
| 17523 |
\ifFld@multiline |
| 17524 |
\DefaultHeightofTextMultiline |
| 17525 |
\else |
| 17526 |
\DefaultHeightofText |
| 17527 |
\fi |
| 17528 |
}% |
| 17529 |
\begingroup |
| 17530 |
\expandafter\HyField@SetKeys\expandafter{% |
| 17531 |
\DefaultOptionsofText,#1% |
| 17532 |
}% |
| 17533 |
\HyField@FlagsText |
| 17534 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 17535 |
\ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi |
| 17536 |
\HyField@AdvanceAnnotCount |
| 17537 |
\LayoutTextField{#2}{% |
| 17538 |
\leavevmode |
| 17539 |
\Hy@escapeform\PDFForm@Text |
| 17540 |
\pdfmark[\MakeTextField{\Fld@width}{\Fld@height}]{% |
| 17541 |
pdfmark=/ANN,% |
| 17542 |
objdef=text\HyField@TheAnnotCount,% |
| 17543 |
Raw={\PDFForm@Text}% |
| 17544 |
}% |
| 17545 |
}% |
| 17546 |
\HyField@AddToFields{text}% |
| 17547 |
\endgroup |
| 17548 |
} |
| 17549 |
\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices |
| 17550 |
\def\Fld@name{#2}% |
| 17551 |
\let\Fld@default\relax |
| 17552 |
\let\Fld@value\relax |
| 17553 |
\def\Fld@width{\DefaultWidthofChoiceMenu}% |
| 17554 |
\def\Fld@height{\DefaultHeightofChoiceMenu}% |
| 17555 |
\begingroup |
| 17556 |
\Fld@menulength=0 % |
| 17557 |
\@tempdima\z@ |
| 17558 |
\@for\@curropt:=#3\do{% |
| 17559 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 17560 |
\Hy@StepCount\Fld@menulength |
| 17561 |
\settowidth{\@tempdimb}{\@currDisplay}% |
| 17562 |
\ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi |
| 17563 |
}% |
| 17564 |
\advance\@tempdima by 15\p@ |
| 17565 |
\begingroup |
| 17566 |
\HyField@SetKeys{#1}% |
| 17567 |
\edef\x{\endgroup |
| 17568 |
\noexpand\expandafter |
| 17569 |
\noexpand\HyField@SetKeys |
| 17570 |
\noexpand\expandafter{% |
| 17571 |
\expandafter\noexpand\csname DefaultOptionsof% |
| 17572 |
\ifFld@radio |
| 17573 |
Radio% |
| 17574 |
\else |
| 17575 |
\ifFld@combo |
| 17576 |
\ifFld@popdown |
| 17577 |
PopdownBox% |
| 17578 |
\else |
| 17579 |
ComboBox% |
| 17580 |
\fi |
| 17581 |
\else |
| 17582 |
ListBox% |
| 17583 |
\fi |
| 17584 |
\fi |
| 17585 |
\endcsname |
| 17586 |
}% |
| 17587 |
}\x |
| 17588 |
\HyField@SetKeys{#1}% |
| 17589 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 17590 |
\ifx\Fld@value\relax |
| 17591 |
\let\Fld@value\Fld@default |
| 17592 |
\fi |
| 17593 |
\LayoutChoiceField{#2}{% |
| 17594 |
\ifFld@radio |
| 17595 |
\HyField@FlagsRadioButton |
| 17596 |
\@@Radio{#3}% |
| 17597 |
\else |
| 17598 |
\begingroup |
| 17599 |
\HyField@FlagsChoice |
| 17600 |
\ifdim\Fld@width<\@tempdima |
| 17601 |
\ifdim\@tempdima<1cm\@tempdima1cm\fi |
| 17602 |
\edef\Fld@width{\the\@tempdima}% |
| 17603 |
\fi |
| 17604 |
\ifFld@combo |
| 17605 |
\else |
| 17606 |
\@tempdima=\the\Fld@menulength\Fld@charsize |
| 17607 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 17608 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 17609 |
\edef\Fld@height{\the\@tempdima}% |
| 17610 |
\fi |
| 17611 |
\@@Listbox{#3}% |
| 17612 |
\endgroup |
| 17613 |
\fi |
| 17614 |
}% |
| 17615 |
\endgroup |
| 17616 |
} |
| 17617 |
\def\@@Radio#1{% |
| 17618 |
\Fld@listcount=0 % |
| 17619 |
\EdefEscapeName\Fld@default{\Fld@default}% |
| 17620 |
\@for\@curropt:=#1\do{% |
| 17621 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 17622 |
\EdefEscapeName\@currValue{\@currValue}% |
| 17623 |
\Hy@StepCount\Fld@listcount |
| 17624 |
\@currDisplay\space |
| 17625 |
\Hy@escapeform\PDFForm@Radio |
| 17626 |
\ifnum\Fld@listcount=1 % |
| 17627 |
\HyField@AdvanceAnnotCount |
| 17628 |
\fi |
| 17629 |
\pdfmark[\MakeRadioField{\Fld@width}{\Fld@height}]{% |
| 17630 |
pdfmark=/ANN,% |
| 17631 |
objdef=\ifnum\Fld@listcount=1 radio\HyField@TheAnnotCount\fi,% |
| 17632 |
Raw={% |
| 17633 |
\PDFForm@Radio /AP <</N <</\@currValue\space {Check}>> >>% |
| 17634 |
}% |
| 17635 |
} % deliberate space between radio buttons |
| 17636 |
\ifnum\Fld@listcount=1 % |
| 17637 |
\HyField@AddToFields{radio}% |
| 17638 |
\fi |
| 17639 |
}% |
| 17640 |
} |
| 17641 |
\newcount\Fld@listcount |
| 17642 |
\def\@@Listbox#1{% |
| 17643 |
\HyField@PDFChoices{#1}% |
| 17644 |
\Hy@escapeform\PDFForm@List |
| 17645 |
\HyField@AdvanceAnnotCount |
| 17646 |
\pdfmark[\MakeChoiceField{\Fld@width}{\Fld@height}]{% |
| 17647 |
pdfmark=/ANN,% |
| 17648 |
objdef=list\HyField@TheAnnotCount,% |
| 17649 |
Raw={\PDFForm@List}% |
| 17650 |
}% |
| 17651 |
\HyField@AddToFields{list}% |
| 17652 |
} |
| 17653 |
\def\@PushButton[#1]#2{% parameters, label |
| 17654 |
\def\Fld@name{#2}% |
| 17655 |
\begingroup |
| 17656 |
\expandafter\HyField@SetKeys\expandafter{% |
| 17657 |
\DefaultOptionsofPushButton,#1% |
| 17658 |
}% |
| 17659 |
\ifHy@pdfa |
| 17660 |
\Hy@Error{% |
| 17661 |
PDF/A: Push button with JavaScript is prohibited% |
| 17662 |
}\@ehc |
| 17663 |
\LayoutPushButtonField{% |
| 17664 |
\leavevmode |
| 17665 |
\MakeButtonField{#2}% |
| 17666 |
}% |
| 17667 |
\else |
| 17668 |
\HyField@FlagsPushButton |
| 17669 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 17670 |
\HyField@AdvanceAnnotCount |
| 17671 |
\LayoutPushButtonField{% |
| 17672 |
\leavevmode |
| 17673 |
\Hy@escapeform\PDFForm@Push |
| 17674 |
\pdfmark[\MakeButtonField{#2}]{% |
| 17675 |
pdfmark=/ANN,% |
| 17676 |
objdef=push\HyField@TheAnnotCount,% |
| 17677 |
Raw={\PDFForm@Push}% |
| 17678 |
}% |
| 17679 |
}% |
| 17680 |
\HyField@AddToFields{push}% |
| 17681 |
\fi |
| 17682 |
\endgroup |
| 17683 |
} |
| 17684 |
\def\@Submit[#1]#2{% |
| 17685 |
\def\Fld@width{\DefaultWidthofSubmit}% |
| 17686 |
\def\Fld@height{\DefaultHeightofSubmit}% |
| 17687 |
\begingroup |
| 17688 |
\expandafter\HyField@SetKeys\expandafter{% |
| 17689 |
\DefaultOptionsofSubmit,#1% |
| 17690 |
}% |
| 17691 |
\HyField@FlagsPushButton |
| 17692 |
\HyField@FlagsSubmit |
| 17693 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 17694 |
\Hy@escapeform\PDFForm@Submit |
| 17695 |
\HyField@AdvanceAnnotCount |
| 17696 |
\pdfmark[\MakeButtonField{#2}]{% |
| 17697 |
pdfmark=/ANN,% |
| 17698 |
objdef=submit\HyField@TheAnnotCount,% |
| 17699 |
Raw={\PDFForm@Submit /AP<</N{Submit}/D{SubmitP}>>}% |
| 17700 |
}% |
| 17701 |
\HyField@AddToFields{submit}% |
| 17702 |
\endgroup |
| 17703 |
} |
| 17704 |
\def\@Reset[#1]#2{% |
| 17705 |
\def\Fld@width{\DefaultWidthofReset}% |
| 17706 |
\def\Fld@height{\DefaultHeightofReset}% |
| 17707 |
\begingroup |
| 17708 |
\expandafter\HyField@SetKeys\expandafter{% |
| 17709 |
\DefaultOptionsofReset,#1% |
| 17710 |
}% |
| 17711 |
\leavevmode |
| 17712 |
\ifHy@pdfa |
| 17713 |
\Hy@Error{% |
| 17714 |
PDF/A: Reset action is prohibited% |
| 17715 |
}\@ehc |
| 17716 |
\MakeButtonField{#2}% |
| 17717 |
\else |
| 17718 |
\HyField@FlagsPushButton |
| 17719 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 17720 |
\Hy@escapeform\PDFForm@Reset |
| 17721 |
\HyField@AdvanceAnnotCount |
| 17722 |
\pdfmark[\MakeButtonField{#2}]{% |
| 17723 |
pdfmark=/ANN,% |
| 17724 |
objdef=reset\HyField@TheAnnotCount,% |
| 17725 |
Raw={\PDFForm@Reset}% |
| 17726 |
}% |
| 17727 |
\HyField@AddToFields{reset}% |
| 17728 |
\fi |
| 17729 |
\endgroup |
| 17730 |
}% |
| 17731 |
\def\@CheckBox[#1]#2{% parameters, label |
| 17732 |
\def\Fld@name{#2}% |
| 17733 |
\def\Fld@default{0}% |
| 17734 |
\begingroup |
| 17735 |
\def\Fld@width{\DefaultWidthofCheckBox}% |
| 17736 |
\def\Fld@height{\DefaultHeightofCheckBox}% |
| 17737 |
\expandafter\HyField@SetKeys\expandafter{% |
| 17738 |
\DefaultOptionsofCheckBox,#1% |
| 17739 |
}% |
| 17740 |
\HyField@FlagsCheckBox |
| 17741 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 17742 |
\HyField@AdvanceAnnotCount |
| 17743 |
\LayoutCheckField{#2}{% |
| 17744 |
\leavevmode |
| 17745 |
\Hy@escapeform\PDFForm@Check |
| 17746 |
\pdfmark[\MakeCheckField{\Fld@width}{\Fld@height}]{% |
| 17747 |
pdfmark=/ANN,% |
| 17748 |
objdef=check\HyField@TheAnnotCount,% |
| 17749 |
Raw={\PDFForm@Check}% |
| 17750 |
}% |
| 17751 |
}% |
| 17752 |
\HyField@AddToFields{check}% |
| 17753 |
\endgroup |
| 17754 |
} |
| 17755 |
%</pdfmark> |
| 17756 |
% \end{macrocode} |
| 17757 |
% |
| 17758 |
% \subsection{HyperTeX} |
| 17759 |
% \begin{macrocode} |
| 17760 |
%<*hypertex> |
| 17761 |
\def\@Form[#1]{% |
| 17762 |
\Hy@Message{Sorry, HyperTeX does not support FORMs}% |
| 17763 |
} |
| 17764 |
\let\@endForm\@empty |
| 17765 |
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum |
| 17766 |
\Hy@Message{Sorry, HyperTeX does not support FORM gauges}% |
| 17767 |
} |
| 17768 |
\def\@TextField[#1]#2{% parameters, label |
| 17769 |
\Hy@Message{Sorry, HyperTeX does not support FORM text fields}% |
| 17770 |
} |
| 17771 |
\def\@CheckBox[#1]#2{% parameters, label |
| 17772 |
\Hy@Message{Sorry, HyperTeX does not support FORM checkboxes}% |
| 17773 |
} |
| 17774 |
\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices |
| 17775 |
\Hy@Message{Sorry, HyperTeX does not support FORM choice menus}% |
| 17776 |
} |
| 17777 |
\def\@PushButton[#1]#2{% parameters, label |
| 17778 |
\Hy@Message{Sorry, HyperTeX does not support FORM pushbuttons}% |
| 17779 |
} |
| 17780 |
\def\@Reset[#1]#2{% |
| 17781 |
\Hy@Message{Sorry, HyperTeX does not support FORMs}% |
| 17782 |
} |
| 17783 |
\def\@Submit[#1]#2{% |
| 17784 |
\Hy@Message{Sorry, HyperTeX does not support FORMs}% |
| 17785 |
} |
| 17786 |
%</hypertex> |
| 17787 |
% \end{macrocode} |
| 17788 |
% \subsection{TeX4ht} |
| 17789 |
% \begin{macrocode} |
| 17790 |
%<*tex4ht> |
| 17791 |
\def\@Form[#1]{% |
| 17792 |
\kvsetkeys{Form}{#1}% |
| 17793 |
\HCode{<form action="\Form@action" method="\Form@method">}% |
| 17794 |
} |
| 17795 |
\def\@endForm{\HCode{</form>}} |
| 17796 |
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum |
| 17797 |
\Hy@Message{Sorry, TeX4ht does not support gauges}% |
| 17798 |
} |
| 17799 |
\def\@TextField[#1]#2{% parameters, label |
| 17800 |
\let\Hy@reserved@a\@empty |
| 17801 |
\def\Fld@name{#2}% |
| 17802 |
\let\Fld@default\@empty |
| 17803 |
\bgroup |
| 17804 |
\Field@toks={ }% |
| 17805 |
\kvsetkeys{Field}{#1}% |
| 17806 |
\HCode{<label for="\Fld@name">#2</label>}% |
| 17807 |
\ifFld@password |
| 17808 |
\@@PasswordField |
| 17809 |
\else |
| 17810 |
\@@TextField |
| 17811 |
\fi |
| 17812 |
\egroup |
| 17813 |
} |
| 17814 |
\def\@@PasswordField{% |
| 17815 |
\HCode{% |
| 17816 |
<input type="password" % |
| 17817 |
id="\Fld@name" % |
| 17818 |
name="\Fld@name" % |
| 17819 |
\ifFld@hidden type="hidden" \fi |
| 17820 |
value="\Fld@default" % |
| 17821 |
\the\Field@toks |
| 17822 |
>% |
| 17823 |
}% |
| 17824 |
} |
| 17825 |
\def\@@TextField{% |
| 17826 |
\ifFld@multiline |
| 17827 |
\HCode{<textarea % |
| 17828 |
\ifFld@readonly readonly \fi |
| 17829 |
id="\Fld@name" % |
| 17830 |
name="\Fld@name" % |
| 17831 |
\ifFld@hidden type="hidden" \fi |
| 17832 |
\the\Field@toks>% |
| 17833 |
}% |
| 17834 |
\Fld@default |
| 17835 |
\HCode{</textarea>}% |
| 17836 |
\else |
| 17837 |
\HCode{<input type="textbox" % |
| 17838 |
\ifFld@readonly readonly \fi |
| 17839 |
id="\Fld@name" % |
| 17840 |
name="\Fld@name" % |
| 17841 |
\ifFld@hidden type="hidden" \fi |
| 17842 |
value="\Fld@default" % |
| 17843 |
\the\Field@toks>% |
| 17844 |
}% |
| 17845 |
\fi |
| 17846 |
} |
| 17847 |
\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices |
| 17848 |
\def\Fld@name{#2}% |
| 17849 |
\let\Fld@default\@empty |
| 17850 |
\let\Hy@reserved@a\relax |
| 17851 |
\begingroup |
| 17852 |
\expandafter\Fld@findlength#3\\% |
| 17853 |
\Field@toks={ }% |
| 17854 |
\kvsetkeys{Field}{#1}% |
| 17855 |
#2% |
| 17856 |
\ifFld@radio |
| 17857 |
\expandafter\@@Radio#3\\% |
| 17858 |
\else |
| 17859 |
\expandafter\@@Menu#3\\% |
| 17860 |
\fi |
| 17861 |
\endgroup |
| 17862 |
} |
| 17863 |
\def\Fld@findlength#1\\{% |
| 17864 |
\Fld@menulength=0 % |
| 17865 |
\@for\@curropt:=#1\do{\Hy@StepCount\Fld@menulength}% |
| 17866 |
} |
| 17867 |
\def\@@Menu#1\\{% |
| 17868 |
\HCode{<select size="\the\Fld@menulength" % |
| 17869 |
name="\Fld@name" % |
| 17870 |
\the\Field@toks>% |
| 17871 |
}% |
| 17872 |
\@for\@curropt:=#1\do{% |
| 17873 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 17874 |
\HCode{<option % |
| 17875 |
\ifx\@curropt\Fld@default selected \fi |
| 17876 |
value="\@currValue">\@currDisplay</option>% |
| 17877 |
}% |
| 17878 |
}% |
| 17879 |
\HCode{</select>}% |
| 17880 |
} |
| 17881 |
\def\@@Radio#1\\{% |
| 17882 |
\@for\@curropt:=#1\do{% |
| 17883 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 17884 |
\HCode{<input type="radio" % |
| 17885 |
\ifx\@curropt\Fld@default checked \fi |
| 17886 |
name="\Fld@name" % |
| 17887 |
value="\@currValue" % |
| 17888 |
\the\Field@toks>% |
| 17889 |
}% |
| 17890 |
\@currDisplay |
| 17891 |
}% |
| 17892 |
} |
| 17893 |
\def\@PushButton[#1]#2{% parameters, label |
| 17894 |
\def\Fld@name{#2}% |
| 17895 |
\bgroup |
| 17896 |
\Field@toks={ }% |
| 17897 |
\kvsetkeys{Field}{#1}% |
| 17898 |
\HCode{<input type="button" % |
| 17899 |
name="\Fld@name" % |
| 17900 |
value="#2" % |
| 17901 |
\the\Field@toks>% |
| 17902 |
}% |
| 17903 |
\HCode{</button>}% |
| 17904 |
\egroup |
| 17905 |
} |
| 17906 |
\def\@Submit[#1]#2{% |
| 17907 |
\HCode{<button type="submit">#2</button>}% |
| 17908 |
} |
| 17909 |
\def\@Reset[#1]#2{% |
| 17910 |
\HCode{<button type="reset">#2</button>}% |
| 17911 |
} |
| 17912 |
\def\@CheckBox[#1]#2{% parameters, label |
| 17913 |
\let\Hy@reserved@a\@empty |
| 17914 |
\def\Fld@name{#2}% |
| 17915 |
\def\Fld@default{0}% |
| 17916 |
\bgroup |
| 17917 |
\Field@toks={ }% |
| 17918 |
\kvsetkeys{Field}{#1}% |
| 17919 |
\HCode{<input type="checkbox" % |
| 17920 |
\ifFld@checked checked \fi |
| 17921 |
\ifFld@disabled disabled \fi |
| 17922 |
\ifFld@readonly readonly \fi |
| 17923 |
name="\Fld@name" % |
| 17924 |
\ifFld@hidden type="hidden" \fi |
| 17925 |
value="\Fld@default" % |
| 17926 |
\the\Field@toks>% |
| 17927 |
#2% |
| 17928 |
}% |
| 17929 |
\egroup |
| 17930 |
} |
| 17931 |
%</tex4ht> |
| 17932 |
% \end{macrocode} |
| 17933 |
% |
| 17934 |
% \subsection{pdfTeX} |
| 17935 |
% \begin{macrocode} |
| 17936 |
%<*pdftex> |
| 17937 |
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum |
| 17938 |
\Hy@Message{Sorry, pdftex does not support FORM gauges}% |
| 17939 |
} |
| 17940 |
\def\MakeFieldObject#1#2{\sbox0{#1}% |
| 17941 |
\immediate\pdfxform0 % |
| 17942 |
\expandafter\edef\csname #2Object\endcsname{% |
| 17943 |
\the\pdflastxform\space 0 R% |
| 17944 |
}% |
| 17945 |
% \hbox to 0pt{\hskip-\maxdimen{\pdfrefxform \the\pdflastxform}}% |
| 17946 |
}% |
| 17947 |
\let\HyField@afields\@empty |
| 17948 |
\let\HyField@cofields\@empty |
| 17949 |
\@ifundefined{pdflastlink} |
| 17950 |
{% |
| 17951 |
\let\HyField@AddToFields\relax |
| 17952 |
\PackageInfo{hyperref}{% |
| 17953 |
You need pdfTeX 1.40.0 for setting the /Fields entry.% |
| 17954 |
\MessageBreak |
| 17955 |
Adobe Reader/Acrobat accepts an empty /Field array,% |
| 17956 |
\MessageBreak |
| 17957 |
but other PDF viewers might complain% |
| 17958 |
}}% |
| 17959 |
{% |
| 17960 |
\let\HyField@AuxAddToFields\@gobble |
| 17961 |
\let\HyField@AuxAddToCoFields\@gobbletwo |
| 17962 |
\def\HyField@AfterAuxOpen{\Hy@AtBeginDocument}% |
| 17963 |
% \end{macrocode} |
| 17964 |
% Insertion sort for calculation field list. |
| 17965 |
% In case of equal sort keys (for example, if `calculatesortkey` |
| 17966 |
% is not used at all) the keys keep document calling order. |
| 17967 |
% \begin{macrocode} |
| 17968 |
\def\HyField@ABD@AuxAddToCoFields#1#2{% |
| 17969 |
\begingroup |
| 17970 |
\Hy@safe@activestrue |
| 17971 |
\let\@secondoftwo\relax |
| 17972 |
\ifx\HyField@cofields\@empty |
| 17973 |
\xdef\HyField@cofields{% |
| 17974 |
\@secondoftwo{#1}{ #2 0 R}% |
| 17975 |
}% |
| 17976 |
\else |
| 17977 |
\let\@secondoftwo\relax |
| 17978 |
\def\HyField@AddCoField##1##2##3{% |
| 17979 |
\ifx##1\@empty |
| 17980 |
\@secondoftwo{#1}{ #2 0 R}% |
| 17981 |
\expandafter\@gobble |
| 17982 |
\else |
| 17983 |
\ifnum\pdfstrcmp{##2}{#1}>\z@ |
| 17984 |
\@secondoftwo{#1}{ #2 0 R}% |
| 17985 |
\@secondoftwo{##2}{##3}% |
| 17986 |
\expandafter\expandafter\expandafter\@gobble |
| 17987 |
\else |
| 17988 |
\@secondoftwo{##2}{##3}% |
| 17989 |
\fi |
| 17990 |
\fi |
| 17991 |
\HyField@AddCoField |
| 17992 |
}% |
| 17993 |
\xdef\HyField@cofields{% |
| 17994 |
\expandafter\HyField@AddCoField |
| 17995 |
\HyField@cofields\@empty\@empty\@empty |
| 17996 |
}% |
| 17997 |
\fi |
| 17998 |
\endgroup |
| 17999 |
}% |
| 18000 |
\Hy@AtBeginDocument{% |
| 18001 |
\if@filesw |
| 18002 |
\immediate\write\@mainaux{% |
| 18003 |
\string\providecommand\string\HyField@AuxAddToFields[1]{}% |
| 18004 |
}% |
| 18005 |
\immediate\write\@mainaux{% |
| 18006 |
\string\providecommand\string\HyField@AuxAddToCoFields[2]{}% |
| 18007 |
}% |
| 18008 |
\fi |
| 18009 |
\let\HyField@AfterAuxOpen\@firstofone |
| 18010 |
\def\HyField@AuxAddToFields#1{% |
| 18011 |
\xdef\HyField@afields{% |
| 18012 |
\ifx\HyField@afields\@empty |
| 18013 |
\else |
| 18014 |
\HyField@afields |
| 18015 |
\space |
| 18016 |
\fi |
| 18017 |
#1 0 R% |
| 18018 |
}% |
| 18019 |
}% |
| 18020 |
\let\HyField@AuxAddToCoFields\HyField@ABD@AuxAddToCoFields |
| 18021 |
}% |
| 18022 |
\def\HyField@AddToFields{% |
| 18023 |
\expandafter\HyField@@AddToFields\expandafter{% |
| 18024 |
\the\pdflastlink |
| 18025 |
}% |
| 18026 |
\ifx\Fld@calculate@code\@empty |
| 18027 |
\else |
| 18028 |
\begingroup |
| 18029 |
\Hy@safe@activestrue |
| 18030 |
\edef\Hy@temp{% |
| 18031 |
\endgroup |
| 18032 |
\if@filesw |
| 18033 |
\write\@mainaux{% |
| 18034 |
\string\HyField@AuxAddToCoFields{% |
| 18035 |
\Fld@calculate@sortkey |
| 18036 |
}{% |
| 18037 |
\the\pdflastlink |
| 18038 |
}% |
| 18039 |
}% |
| 18040 |
\fi |
| 18041 |
}% |
| 18042 |
\Hy@temp |
| 18043 |
\fi |
| 18044 |
}% |
| 18045 |
\def\HyField@@AddToFields#1{% |
| 18046 |
\HyField@AfterAuxOpen{% |
| 18047 |
\if@filesw |
| 18048 |
\write\@mainaux{% |
| 18049 |
\string\HyField@AuxAddToFields{#1}% |
| 18050 |
}% |
| 18051 |
\fi |
| 18052 |
}% |
| 18053 |
}% |
| 18054 |
} |
| 18055 |
\def\@Form[#1]{% |
| 18056 |
\@ifundefined{textcolor}{\let\textcolor\@gobble}{}% |
| 18057 |
\kvsetkeys{Form}{#1}% |
| 18058 |
\pdf@ifdraftmode{}{% |
| 18059 |
\Hy@FormObjects |
| 18060 |
\ifnum\pdftexversion>13 % |
| 18061 |
\pdfrefobj\OBJ@pdfdocencoding |
| 18062 |
\pdfrefobj\OBJ@ZaDb |
| 18063 |
\pdfrefobj\OBJ@Helv |
| 18064 |
\fi |
| 18065 |
\AddToHook{enddocument/afteraux}{% |
| 18066 |
\immediate\pdfobj{% |
| 18067 |
<<% |
| 18068 |
/Fields[\HyField@afields]% |
| 18069 |
\ifx\HyField@cofields\@empty |
| 18070 |
\else |
| 18071 |
/CO[\romannumeral-`\Q\HyField@cofields]% |
| 18072 |
\fi |
| 18073 |
/DR<<% |
| 18074 |
/Font<<% |
| 18075 |
/ZaDb \OBJ@ZaDb\space 0 R% |
| 18076 |
/Helv \OBJ@Helv\space 0 R% |
| 18077 |
>>% |
| 18078 |
>>% |
| 18079 |
/DA(/Helv 10 Tf 0 g)% |
| 18080 |
\ifHy@pdfa |
| 18081 |
\else |
| 18082 |
\ifHyField@NeedAppearances |
| 18083 |
/NeedAppearances true% |
| 18084 |
\fi |
| 18085 |
\fi |
| 18086 |
>>% |
| 18087 |
}% |
| 18088 |
\edef\OBJ@acroform{\the\pdflastobj}% |
| 18089 |
\pdfcatalog{/AcroForm \OBJ@acroform\space 0 R}% |
| 18090 |
}% |
| 18091 |
}% |
| 18092 |
\MakeFieldObject{% |
| 18093 |
% \end{macrocode} |
| 18094 |
% Same as \verb|\ding{123}| of package pifont. |
| 18095 |
% \begin{macrocode} |
| 18096 |
\begingroup |
| 18097 |
\fontfamily{pzd}% |
| 18098 |
\fontencoding{U}% |
| 18099 |
\fontseries{m}% |
| 18100 |
\fontshape{n}% |
| 18101 |
\selectfont |
| 18102 |
\char123 % |
| 18103 |
\endgroup |
| 18104 |
}{Ding}% |
| 18105 |
\MakeFieldObject{% |
| 18106 |
\fbox{\textcolor{yellow}{\textsf{Submit}}}% |
| 18107 |
}{Submit}% |
| 18108 |
\MakeFieldObject{% |
| 18109 |
\fbox{\textcolor{yellow}{\textsf{SubmitP}}}% |
| 18110 |
}{SubmitP}% |
| 18111 |
} |
| 18112 |
\let\@endForm\@empty |
| 18113 |
% \end{macrocode} |
| 18114 |
% \begin{macrocode} |
| 18115 |
\let\HyAnn@AbsPageLabel\@empty |
| 18116 |
\let\Fld@pageobjref\@empty |
| 18117 |
\@ifundefined{pdfpageref}{% |
| 18118 |
}{% |
| 18119 |
\@ifpackageloaded{zref-abspage}{% |
| 18120 |
\newcount\HyAnn@Count |
| 18121 |
\HyAnn@Count=\z@ |
| 18122 |
\def\HyAnn@AbsPageLabel{% |
| 18123 |
\global\advance\HyAnn@Count by\@ne |
| 18124 |
\zref@labelbyprops{HyAnn@\the\HyAnn@Count}{abspage}% |
| 18125 |
\zref@refused{HyAnn@\the\HyAnn@Count}% |
| 18126 |
}% |
| 18127 |
\def\Fld@pageobjref{% |
| 18128 |
\zref@ifrefundefined{HyAnn@\the\HyAnn@Count}{% |
| 18129 |
}{% |
| 18130 |
\zref@ifrefcontainsprop{HyAnn@\the\HyAnn@Count}{abspage}{% |
| 18131 |
/P \pdfpageref |
| 18132 |
\zref@extractdefault{HyAnn@\the\HyAnn@Count}{abspage}{1} % |
| 18133 |
\space 0 R% |
| 18134 |
}{% |
| 18135 |
}% |
| 18136 |
}% |
| 18137 |
}% |
| 18138 |
}{% |
| 18139 |
}% |
| 18140 |
} |
| 18141 |
% \end{macrocode} |
| 18142 |
% \begin{macrocode} |
| 18143 |
\def\@TextField[#1]#2{% parameters, label |
| 18144 |
\def\Fld@name{#2}% |
| 18145 |
\let\Fld@default\@empty |
| 18146 |
\let\Fld@value\@empty |
| 18147 |
\def\Fld@width{\DefaultWidthofText}% |
| 18148 |
\def\Fld@height{% |
| 18149 |
\ifFld@multiline |
| 18150 |
\DefaultHeightofTextMultiline |
| 18151 |
\else |
| 18152 |
\DefaultHeightofText |
| 18153 |
\fi |
| 18154 |
}% |
| 18155 |
\begingroup |
| 18156 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18157 |
\DefaultOptionsofText,#1% |
| 18158 |
}% |
| 18159 |
\PDFForm@Name |
| 18160 |
\HyField@FlagsText |
| 18161 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18162 |
\ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi |
| 18163 |
\LayoutTextField{#2}{% |
| 18164 |
\leavevmode |
| 18165 |
\HyAnn@AbsPageLabel |
| 18166 |
\Hy@escapeform\PDFForm@Text |
| 18167 |
\pdfstartlink user {\PDFForm@Text}\relax |
| 18168 |
\MakeTextField{\Fld@width}{\Fld@height}\pdfendlink |
| 18169 |
\HyField@AddToFields |
| 18170 |
}% |
| 18171 |
\endgroup |
| 18172 |
} |
| 18173 |
\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices |
| 18174 |
\def\Fld@name{#2}% |
| 18175 |
\let\Fld@default\relax |
| 18176 |
\let\Fld@value\relax |
| 18177 |
\def\Fld@width{\DefaultWidthofChoiceMenu}% |
| 18178 |
\def\Fld@height{\DefaultHeightofChoiceMenu}% |
| 18179 |
\begingroup |
| 18180 |
\Fld@menulength=0 % |
| 18181 |
\@tempdima\z@ |
| 18182 |
\@for\@curropt:=#3\do{% |
| 18183 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 18184 |
\Hy@StepCount\Fld@menulength |
| 18185 |
\settowidth{\@tempdimb}{\@currDisplay}% |
| 18186 |
\ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi |
| 18187 |
}% |
| 18188 |
\advance\@tempdima by 15\p@ |
| 18189 |
\begingroup |
| 18190 |
\HyField@SetKeys{#1}% |
| 18191 |
\edef\x{\endgroup |
| 18192 |
\noexpand\expandafter |
| 18193 |
\noexpand\HyField@SetKeys |
| 18194 |
\noexpand\expandafter{% |
| 18195 |
\expandafter\noexpand\csname DefaultOptionsof% |
| 18196 |
\ifFld@radio |
| 18197 |
Radio% |
| 18198 |
\else |
| 18199 |
\ifFld@combo |
| 18200 |
\ifFld@popdown |
| 18201 |
PopdownBox% |
| 18202 |
\else |
| 18203 |
ComboBox% |
| 18204 |
\fi |
| 18205 |
\else |
| 18206 |
ListBox% |
| 18207 |
\fi |
| 18208 |
\fi |
| 18209 |
\endcsname |
| 18210 |
}% |
| 18211 |
}\x |
| 18212 |
\HyField@SetKeys{#1}% |
| 18213 |
\PDFForm@Name |
| 18214 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18215 |
\ifx\Fld@value\relax |
| 18216 |
\let\Fld@value\Fld@default |
| 18217 |
\fi |
| 18218 |
\LayoutChoiceField{#2}{% |
| 18219 |
\ifFld@radio |
| 18220 |
\HyField@FlagsRadioButton |
| 18221 |
\@@Radio{#3}% |
| 18222 |
\else |
| 18223 |
\begingroup |
| 18224 |
\HyField@FlagsChoice |
| 18225 |
\ifdim\Fld@width<\@tempdima |
| 18226 |
\ifdim\@tempdima<1cm\@tempdima1cm\fi |
| 18227 |
\edef\Fld@width{\the\@tempdima}% |
| 18228 |
\fi |
| 18229 |
\ifFld@combo |
| 18230 |
\else |
| 18231 |
\@tempdima=\the\Fld@menulength\Fld@charsize |
| 18232 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 18233 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 18234 |
\edef\Fld@height{\the\@tempdima}% |
| 18235 |
\fi |
| 18236 |
\@@Listbox{#3}% |
| 18237 |
\endgroup |
| 18238 |
\fi |
| 18239 |
}% |
| 18240 |
\endgroup |
| 18241 |
} |
| 18242 |
\def\@@Radio#1{% |
| 18243 |
\Fld@listcount=0 % |
| 18244 |
\EdefEscapeName\Fld@default{\Fld@default}% |
| 18245 |
\@for\@curropt:=#1\do{% |
| 18246 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 18247 |
\EdefEscapeName\@currValue{\@currValue}% |
| 18248 |
\Hy@StepCount\Fld@listcount |
| 18249 |
\@currDisplay\space |
| 18250 |
\leavevmode |
| 18251 |
\HyAnn@AbsPageLabel |
| 18252 |
\Hy@escapeform\PDFForm@Radio |
| 18253 |
\pdfstartlink user {% |
| 18254 |
\PDFForm@Radio |
| 18255 |
/AP<<% |
| 18256 |
/N<<% |
| 18257 |
% \end{macrocode} |
| 18258 |
% [email protected] (Laurent Guillope) |
| 18259 |
% persuades me that this was wrong: |
| 18260 |
% |/\Fld@name\the\Fld@listcount|. But I leave it here to remind |
| 18261 |
% me that it is untested. |
| 18262 |
% \begin{macrocode} |
| 18263 |
/\@currValue\space \DingObject |
| 18264 |
>>% |
| 18265 |
>>% |
| 18266 |
}% |
| 18267 |
\relax |
| 18268 |
\MakeRadioField{\Fld@width}{\Fld@height}\pdfendlink |
| 18269 |
\ifnum\Fld@listcount=1 % |
| 18270 |
\HyField@AddToFields |
| 18271 |
\fi |
| 18272 |
\space % deliberate space between radio buttons |
| 18273 |
}% |
| 18274 |
} |
| 18275 |
\newcount\Fld@listcount |
| 18276 |
\def\@@Listbox#1{% |
| 18277 |
\HyField@PDFChoices{#1}% |
| 18278 |
\leavevmode |
| 18279 |
\HyAnn@AbsPageLabel |
| 18280 |
\Hy@escapeform\PDFForm@List |
| 18281 |
\pdfstartlink user {\PDFForm@List}\relax |
| 18282 |
\MakeChoiceField{\Fld@width}{\Fld@height}% |
| 18283 |
\pdfendlink |
| 18284 |
\HyField@AddToFields |
| 18285 |
} |
| 18286 |
\def\@PushButton[#1]#2{% parameters, label |
| 18287 |
\def\Fld@name{#2}% |
| 18288 |
\begingroup |
| 18289 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18290 |
\DefaultOptionsofPushButton,#1% |
| 18291 |
}% |
| 18292 |
\PDFForm@Name |
| 18293 |
\ifHy@pdfa |
| 18294 |
\Hy@Error{% |
| 18295 |
PDF/A: Push button with JavaScript is prohibited% |
| 18296 |
}\@ehc |
| 18297 |
\LayoutPushButtonField{% |
| 18298 |
\leavevmode |
| 18299 |
\MakeButtonField{#2}% |
| 18300 |
}% |
| 18301 |
\else |
| 18302 |
\HyField@FlagsPushButton |
| 18303 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18304 |
\LayoutPushButtonField{% |
| 18305 |
\leavevmode |
| 18306 |
\HyAnn@AbsPageLabel |
| 18307 |
\Hy@escapeform\PDFForm@Push |
| 18308 |
\pdfstartlink user {\PDFForm@Push}\relax |
| 18309 |
\MakeButtonField{#2}% |
| 18310 |
\pdfendlink |
| 18311 |
\HyField@AddToFields |
| 18312 |
}% |
| 18313 |
\fi |
| 18314 |
\endgroup |
| 18315 |
} |
| 18316 |
\def\@Submit[#1]#2{% |
| 18317 |
\def\Fld@width{\DefaultWidthofSubmit}% |
| 18318 |
\def\Fld@height{\DefaultHeightofSubmit}% |
| 18319 |
\begingroup |
| 18320 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18321 |
\DefaultOptionsofSubmit,#1% |
| 18322 |
}% |
| 18323 |
\HyField@FlagsPushButton |
| 18324 |
\HyField@FlagsSubmit |
| 18325 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18326 |
\leavevmode |
| 18327 |
\HyAnn@AbsPageLabel |
| 18328 |
\Hy@escapeform\PDFForm@Submit |
| 18329 |
\pdfstartlink user {% |
| 18330 |
\PDFForm@Submit |
| 18331 |
/AP<</N \SubmitObject/D \SubmitPObject>>% |
| 18332 |
}% |
| 18333 |
\relax |
| 18334 |
\MakeButtonField{#2}% |
| 18335 |
\pdfendlink |
| 18336 |
\HyField@AddToFields |
| 18337 |
\endgroup |
| 18338 |
} |
| 18339 |
\def\@Reset[#1]#2{% |
| 18340 |
\def\Fld@width{\DefaultWidthofReset}% |
| 18341 |
\def\Fld@height{\DefaultHeightofReset}% |
| 18342 |
\begingroup |
| 18343 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18344 |
\DefaultOptionsofReset,#1% |
| 18345 |
}% |
| 18346 |
\leavevmode |
| 18347 |
\ifHy@pdfa |
| 18348 |
\Hy@Error{% |
| 18349 |
PDF/A: Reset action is prohibited% |
| 18350 |
}\@ehc |
| 18351 |
\MakeButtonField{#2}% |
| 18352 |
\else |
| 18353 |
\HyField@FlagsPushButton |
| 18354 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18355 |
\HyAnn@AbsPageLabel |
| 18356 |
\Hy@escapeform\PDFForm@Reset |
| 18357 |
\pdfstartlink user {\PDFForm@Reset}\relax |
| 18358 |
\MakeButtonField{#2}% |
| 18359 |
\pdfendlink |
| 18360 |
\HyField@AddToFields |
| 18361 |
\fi |
| 18362 |
\endgroup |
| 18363 |
} |
| 18364 |
\def\@CheckBox[#1]#2{% parameters, label |
| 18365 |
\def\Fld@name{#2}% |
| 18366 |
\def\Fld@default{0}% |
| 18367 |
\begingroup |
| 18368 |
\def\Fld@width{\DefaultWidthofCheckBox}% |
| 18369 |
\def\Fld@height{\DefaultHeightofCheckBox}% |
| 18370 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18371 |
\DefaultOptionsofCheckBox,#1% |
| 18372 |
}% |
| 18373 |
\PDFForm@Name |
| 18374 |
\HyField@FlagsCheckBox |
| 18375 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18376 |
\LayoutCheckField{#2}{% |
| 18377 |
\leavevmode |
| 18378 |
\HyAnn@AbsPageLabel |
| 18379 |
\Hy@escapeform\PDFForm@Check |
| 18380 |
\pdfstartlink user {\PDFForm@Check}\relax |
| 18381 |
\MakeCheckField{\Fld@width}{\Fld@height}% |
| 18382 |
\pdfendlink |
| 18383 |
\HyField@AddToFields |
| 18384 |
}% |
| 18385 |
\endgroup |
| 18386 |
} |
| 18387 |
\def\Hy@FormObjects{% |
| 18388 |
\pdfobj {% |
| 18389 |
<<% |
| 18390 |
/Type/Encoding% |
| 18391 |
/Differences[% |
| 18392 |
24/breve/caron/circumflex/dotaccent/hungarumlaut/ogonek% |
| 18393 |
/ring/tilde % |
| 18394 |
39/quotesingle % |
| 18395 |
96/grave % |
| 18396 |
128/bullet/dagger/daggerdbl/ellipsis/emdash/endash/florin% |
| 18397 |
/fraction/guilsinglleft/guilsinglright/minus/perthousand% |
| 18398 |
/quotedblbase/quotedblleft/quotedblright/quoteleft% |
| 18399 |
/quoteright/quotesinglbase/trademark/fi/fl/Lslash/OE% |
| 18400 |
/Scaron/Ydieresis/Zcaron/dotlessi/lslash/oe/scaron/zcaron % |
| 18401 |
160/Euro % |
| 18402 |
164/currency % |
| 18403 |
166/brokenbar % |
| 18404 |
168/dieresis/copyright/ordfeminine % |
| 18405 |
172/logicalnot/.notdef/registered/macron/degree/plusminus% |
| 18406 |
/twosuperior/threesuperior/acute/mu % |
| 18407 |
183/periodcentered/cedilla/onesuperior/ordmasculine % |
| 18408 |
188/onequarter/onehalf/threequarters % |
| 18409 |
192/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE% |
| 18410 |
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave% |
| 18411 |
/Iacute/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute% |
| 18412 |
/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave% |
| 18413 |
/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls% |
| 18414 |
/agrave/aacute/acircumflex/atilde/adieresis/aring/ae% |
| 18415 |
/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave% |
| 18416 |
/iacute/icircumflex/idieresis/eth/ntilde/ograve/oacute% |
| 18417 |
/ocircumflex/otilde/odieresis/divide/oslash/ugrave% |
| 18418 |
/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis% |
| 18419 |
]% |
| 18420 |
>>% |
| 18421 |
}% |
| 18422 |
\xdef\OBJ@pdfdocencoding{\the\pdflastobj}% |
| 18423 |
\pdfobj{% |
| 18424 |
<<% |
| 18425 |
/Type/Font% |
| 18426 |
/Subtype/Type1% |
| 18427 |
/Name/ZaDb% |
| 18428 |
/BaseFont/ZapfDingbats% |
| 18429 |
>>% |
| 18430 |
}% |
| 18431 |
\xdef\OBJ@ZaDb{\the\pdflastobj}% |
| 18432 |
\pdfobj{% |
| 18433 |
<<% |
| 18434 |
/Type/Font% |
| 18435 |
/Subtype/Type1% |
| 18436 |
/Name/Helv% |
| 18437 |
/BaseFont/Helvetica% |
| 18438 |
/Encoding \OBJ@pdfdocencoding\space 0 R% |
| 18439 |
>>% |
| 18440 |
}% |
| 18441 |
\xdef\OBJ@Helv{\the\pdflastobj}% |
| 18442 |
\global\let\Hy@FormObjects\relax |
| 18443 |
} |
| 18444 |
%</pdftex> |
| 18445 |
% \end{macrocode} |
| 18446 |
% |
| 18447 |
% \subsection{dvipdfm, xetex} |
| 18448 |
% D. P. Story adapted the pdf\TeX{} forms part for dvipdfm, of which |
| 18449 |
% version 0.12.7b or higher is required because of a bug. |
| 18450 |
% \begin{macrocode} |
| 18451 |
%<*dvipdfm|xetex> |
| 18452 |
% \end{macrocode} |
| 18453 |
% |
| 18454 |
% \begin{macro}{\@Gauge} |
| 18455 |
% \begin{macrocode} |
| 18456 |
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum |
| 18457 |
\Hy@Message{Sorry, dvipdfm/XeTeX does not support FORM gauges}% |
| 18458 |
} |
| 18459 |
% \end{macrocode} |
| 18460 |
% \end{macro} |
| 18461 |
% |
| 18462 |
% \begin{macro}{\@Form} |
| 18463 |
% \begin{macrocode} |
| 18464 |
\def\@Form[#1]{% |
| 18465 |
\@ifundefined{textcolor}{\let\textcolor\@gobble}{}% |
| 18466 |
\kvsetkeys{Form}{#1}% |
| 18467 |
\Hy@FormObjects |
| 18468 |
\@pdfm@mark{obj @afields []}% |
| 18469 |
\@pdfm@mark{obj @corder []}% |
| 18470 |
\@pdfm@mark{% |
| 18471 |
obj @aform <<% |
| 18472 |
/Fields @afields% |
| 18473 |
/DR<<% |
| 18474 |
/Font<<% |
| 18475 |
/ZaDb @OBJZaDb% |
| 18476 |
/Helv @OBJHelv% |
| 18477 |
>>% |
| 18478 |
>>% |
| 18479 |
/DA(/Helv 10 Tf 0 g)% |
| 18480 |
/CO @corder% |
| 18481 |
\ifHy@pdfa |
| 18482 |
\else |
| 18483 |
\ifHyField@NeedAppearances |
| 18484 |
/NeedAppearances true% |
| 18485 |
\fi |
| 18486 |
\fi |
| 18487 |
>>% |
| 18488 |
}% |
| 18489 |
\@pdfm@mark{put @catalog <</AcroForm @aform>>}% |
| 18490 |
} |
| 18491 |
% \end{macrocode} |
| 18492 |
% \end{macro} |
| 18493 |
% \begin{macro}{\@endForm} |
| 18494 |
% \begin{macrocode} |
| 18495 |
\let\@endForm\@empty |
| 18496 |
% \end{macrocode} |
| 18497 |
% \end{macro} |
| 18498 |
% |
| 18499 |
% \begin{macro}{\dvipdfm@setdim} |
| 18500 |
% \cmd{\dvipdfm@setdim} sets dimensions for ann using |
| 18501 |
% \cmd{\pdfm@box}. |
| 18502 |
% \begin{macrocode} |
| 18503 |
\def\dvipdfm@setdim{% |
| 18504 |
height \the\ht\pdfm@box\space |
| 18505 |
width \the\wd\pdfm@box\space |
| 18506 |
depth \the\dp\pdfm@box\space |
| 18507 |
} |
| 18508 |
% \end{macrocode} |
| 18509 |
% \end{macro} |
| 18510 |
% |
| 18511 |
% \begin{macro}{\HyField@AnnotCount} |
| 18512 |
% \begin{macrocode} |
| 18513 |
\newcount\HyField@AnnotCount |
| 18514 |
\HyField@AnnotCount=\z@ |
| 18515 |
% \end{macrocode} |
| 18516 |
% \end{macro} |
| 18517 |
% \begin{macro}{\HyField@AdvanceAnnotCount} |
| 18518 |
% \begin{macrocode} |
| 18519 |
\def\HyField@AdvanceAnnotCount{% |
| 18520 |
\global\advance\HyField@AnnotCount\@ne |
| 18521 |
} |
| 18522 |
% \end{macrocode} |
| 18523 |
% \end{macro} |
| 18524 |
% \begin{macro}{\HyField@TheAnnotCount} |
| 18525 |
% \begin{macrocode} |
| 18526 |
\def\HyField@TheAnnotCount{% |
| 18527 |
\the\HyField@AnnotCount |
| 18528 |
} |
| 18529 |
% \end{macrocode} |
| 18530 |
% \end{macro} |
| 18531 |
% |
| 18532 |
% \begin{macro}{\Fld@pageobjref} |
| 18533 |
% \begin{macrocode} |
| 18534 |
\def\Fld@pageobjref{/P @thispage}% |
| 18535 |
% \end{macrocode} |
| 18536 |
% \end{macro} |
| 18537 |
% |
| 18538 |
% \begin{macro}{\HyField@AddToFields} |
| 18539 |
% \begin{macrocode} |
| 18540 |
\def\HyField@AddToFields#1{% |
| 18541 |
\@pdfm@mark{put @afields @#1\HyField@TheAnnotCount}% |
| 18542 |
\ifx\Fld@calculate@code\@empty |
| 18543 |
\else |
| 18544 |
\@pdfm@mark{put @corder @#1\HyField@TheAnnotCount}% |
| 18545 |
\fi |
| 18546 |
} |
| 18547 |
% \end{macrocode} |
| 18548 |
% \end{macro} |
| 18549 |
% |
| 18550 |
% \begin{macro}{\@TextField} |
| 18551 |
% \begin{macrocode} |
| 18552 |
\def\@TextField[#1]#2{% parameters, label |
| 18553 |
\def\Fld@name{#2}% |
| 18554 |
\let\Fld@default\@empty |
| 18555 |
\let\Fld@value\@empty |
| 18556 |
\def\Fld@width{\DefaultWidthofText}% |
| 18557 |
\def\Fld@height{% |
| 18558 |
\ifFld@multiline |
| 18559 |
\DefaultHeightofTextMultiline |
| 18560 |
\else |
| 18561 |
\DefaultHeightofText |
| 18562 |
\fi |
| 18563 |
}% |
| 18564 |
\begingroup |
| 18565 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18566 |
\DefaultOptionsofText,#1% |
| 18567 |
}% |
| 18568 |
\PDFForm@Name |
| 18569 |
\HyField@FlagsText |
| 18570 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18571 |
\ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi |
| 18572 |
\setbox\pdfm@box=\hbox{% |
| 18573 |
\MakeTextField{\Fld@width}{\Fld@height}% |
| 18574 |
}% |
| 18575 |
\HyField@AdvanceAnnotCount |
| 18576 |
\LayoutTextField{#2}{% |
| 18577 |
\leavevmode |
| 18578 |
\Hy@escapeform\PDFForm@Text |
| 18579 |
\@pdfm@mark{% |
| 18580 |
ann @text\HyField@TheAnnotCount\space |
| 18581 |
\dvipdfm@setdim << \PDFForm@Text >>% |
| 18582 |
}% |
| 18583 |
}% |
| 18584 |
\unhbox\pdfm@box |
| 18585 |
\HyField@AddToFields{text}% |
| 18586 |
% record in @afields array |
| 18587 |
\endgroup |
| 18588 |
} |
| 18589 |
% \end{macrocode} |
| 18590 |
% \end{macro} |
| 18591 |
% |
| 18592 |
% \begin{macro}{\@ChoiceMenu} |
| 18593 |
% \begin{macrocode} |
| 18594 |
\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices |
| 18595 |
\def\Fld@name{#2}% |
| 18596 |
\let\Fld@default\relax |
| 18597 |
\let\Fld@value\relax |
| 18598 |
\def\Fld@width{\DefaultWidthofChoiceMenu}% |
| 18599 |
\def\Fld@height{\DefaultHeightofChoiceMenu}% |
| 18600 |
\begingroup |
| 18601 |
\Fld@menulength=0 % |
| 18602 |
\@tempdima\z@ |
| 18603 |
\@for\@curropt:=#3\do{% |
| 18604 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 18605 |
\Hy@StepCount\Fld@menulength |
| 18606 |
\settowidth{\@tempdimb}{\@currDisplay}% |
| 18607 |
\ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi |
| 18608 |
}% |
| 18609 |
\advance\@tempdima by 15\p@ |
| 18610 |
\begingroup |
| 18611 |
\HyField@SetKeys{#1}% |
| 18612 |
\edef\x{\endgroup |
| 18613 |
\noexpand\expandafter |
| 18614 |
\noexpand\HyField@SetKeys |
| 18615 |
\noexpand\expandafter{% |
| 18616 |
\expandafter\noexpand\csname DefaultOptionsof% |
| 18617 |
\ifFld@radio |
| 18618 |
Radio% |
| 18619 |
\else |
| 18620 |
\ifFld@combo |
| 18621 |
\ifFld@popdown |
| 18622 |
PopdownBox% |
| 18623 |
\else |
| 18624 |
ComboBox% |
| 18625 |
\fi |
| 18626 |
\else |
| 18627 |
ListBox% |
| 18628 |
\fi |
| 18629 |
\fi |
| 18630 |
\endcsname |
| 18631 |
}% |
| 18632 |
}\x |
| 18633 |
\HyField@SetKeys{#1}% |
| 18634 |
\PDFForm@Name |
| 18635 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18636 |
\ifx\Fld@value\relax |
| 18637 |
\let\Fld@value\Fld@default |
| 18638 |
\fi |
| 18639 |
\LayoutChoiceField{#2}{% |
| 18640 |
\ifFld@radio |
| 18641 |
\HyField@FlagsRadioButton |
| 18642 |
\@@Radio{#3}% |
| 18643 |
\else |
| 18644 |
\begingroup |
| 18645 |
\HyField@FlagsChoice |
| 18646 |
\ifdim\Fld@width<\@tempdima |
| 18647 |
\ifdim\@tempdima<1cm\@tempdima1cm\fi |
| 18648 |
\edef\Fld@width{\the\@tempdima}% |
| 18649 |
\fi |
| 18650 |
\ifFld@combo |
| 18651 |
\else |
| 18652 |
\@tempdima=\the\Fld@menulength\Fld@charsize |
| 18653 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 18654 |
\advance\@tempdima by \Fld@borderwidth bp % |
| 18655 |
\edef\Fld@height{\the\@tempdima}% |
| 18656 |
\fi |
| 18657 |
\@@Listbox{#3}% |
| 18658 |
\endgroup |
| 18659 |
\fi |
| 18660 |
}% |
| 18661 |
\endgroup |
| 18662 |
} |
| 18663 |
% \end{macrocode} |
| 18664 |
% \end{macro} |
| 18665 |
% |
| 18666 |
% \begin{macro}{\@@Radio} |
| 18667 |
% \begin{macrocode} |
| 18668 |
\def\@@Radio#1{% |
| 18669 |
\Fld@listcount=0 % |
| 18670 |
\EdefEscapeName\Fld@default{\Fld@default}% |
| 18671 |
\setbox\pdfm@box=\hbox{% |
| 18672 |
\MakeRadioField{\Fld@width}{\Fld@height}% |
| 18673 |
}% |
| 18674 |
\@for\@curropt:=#1\do{% |
| 18675 |
\expandafter\Fld@checkequals\@curropt==\\% |
| 18676 |
\EdefEscapeName\@currValue{\@currValue}% |
| 18677 |
\Hy@StepCount\Fld@listcount |
| 18678 |
\@currDisplay\space |
| 18679 |
\leavevmode |
| 18680 |
\Hy@escapeform\PDFForm@Radio |
| 18681 |
\ifnum\Fld@listcount=1 % |
| 18682 |
\HyField@AdvanceAnnotCount |
| 18683 |
\fi |
| 18684 |
\@pdfm@mark{% |
| 18685 |
ann % |
| 18686 |
\ifnum\Fld@listcount=1 % |
| 18687 |
@radio\HyField@TheAnnotCount% |
| 18688 |
\space |
| 18689 |
\fi |
| 18690 |
\dvipdfm@setdim |
| 18691 |
<<% |
| 18692 |
\PDFForm@Radio |
| 18693 |
/AP<</N<</\@currValue /null>>>>% |
| 18694 |
>>% |
| 18695 |
}% |
| 18696 |
\unhcopy\pdfm@box\space% deliberate space between radio buttons |
| 18697 |
\ifnum\Fld@listcount=1 % |
| 18698 |
\HyField@AddToFields{radio}% |
| 18699 |
\fi |
| 18700 |
}% |
| 18701 |
} |
| 18702 |
% \end{macrocode} |
| 18703 |
% \end{macro} |
| 18704 |
% |
| 18705 |
% \begin{macro}{\Fld@listcount} |
| 18706 |
% \begin{macrocode} |
| 18707 |
\newcount\Fld@listcount |
| 18708 |
% \end{macrocode} |
| 18709 |
% \end{macro} |
| 18710 |
% \begin{macro}{\@@Listbox} |
| 18711 |
% \begin{macrocode} |
| 18712 |
\def\@@Listbox#1{% |
| 18713 |
\HyField@PDFChoices{#1}% |
| 18714 |
\setbox\pdfm@box=\hbox{% |
| 18715 |
\MakeChoiceField{\Fld@width}{\Fld@height}% |
| 18716 |
}% |
| 18717 |
\leavevmode |
| 18718 |
\Hy@escapeform\PDFForm@List |
| 18719 |
\HyField@AdvanceAnnotCount |
| 18720 |
\@pdfm@mark{% |
| 18721 |
ann @list\HyField@TheAnnotCount\space |
| 18722 |
\dvipdfm@setdim |
| 18723 |
<<\PDFForm@List>>% |
| 18724 |
}% |
| 18725 |
\unhbox\pdfm@box |
| 18726 |
\HyField@AddToFields{list}% |
| 18727 |
} |
| 18728 |
% \end{macrocode} |
| 18729 |
% \end{macro} |
| 18730 |
% |
| 18731 |
% \begin{macro}{\@PushButton} |
| 18732 |
% \begin{macrocode} |
| 18733 |
\def\@PushButton[#1]#2{% parameters, label |
| 18734 |
\def\Fld@name{#2}% |
| 18735 |
\begingroup |
| 18736 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18737 |
\DefaultOptionsofPushButton,#1% |
| 18738 |
}% |
| 18739 |
\PDFForm@Name |
| 18740 |
\ifHy@pdfa |
| 18741 |
\Hy@Error{% |
| 18742 |
PDF/A: Push button with JavaScript is prohibited% |
| 18743 |
}\@ehc |
| 18744 |
\LayoutPushButtonField{% |
| 18745 |
\leavevmode |
| 18746 |
\MakeButtonField{#2}% |
| 18747 |
}% |
| 18748 |
\else |
| 18749 |
\setbox\pdfm@box=\hbox{\MakeButtonField{#2}}% |
| 18750 |
\HyField@FlagsPushButton |
| 18751 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18752 |
\HyField@AdvanceAnnotCount |
| 18753 |
\LayoutPushButtonField{% |
| 18754 |
\leavevmode |
| 18755 |
\Hy@escapeform\PDFForm@Push |
| 18756 |
\@pdfm@mark{% |
| 18757 |
ann @push\HyField@TheAnnotCount\space |
| 18758 |
\dvipdfm@setdim |
| 18759 |
<<\PDFForm@Push>>% |
| 18760 |
}% |
| 18761 |
}% |
| 18762 |
\unhbox\pdfm@box |
| 18763 |
\HyField@AddToFields{push}% |
| 18764 |
\fi |
| 18765 |
\endgroup |
| 18766 |
} |
| 18767 |
% \end{macrocode} |
| 18768 |
% \end{macro} |
| 18769 |
% |
| 18770 |
% \begin{macro}{\@Submit} |
| 18771 |
% \begin{macrocode} |
| 18772 |
\def\@Submit[#1]#2{% |
| 18773 |
\def\Fld@width{\DefaultWidthofSubmit}% |
| 18774 |
\def\Fld@height{\DefaultHeightofSubmit}% |
| 18775 |
\begingroup |
| 18776 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18777 |
\DefaultOptionsofSubmit,#1% |
| 18778 |
}% |
| 18779 |
\HyField@FlagsPushButton |
| 18780 |
\HyField@FlagsSubmit |
| 18781 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18782 |
\setbox\pdfm@box=\hbox{\MakeButtonField{#2}}% |
| 18783 |
\leavevmode |
| 18784 |
\Hy@escapeform\PDFForm@Submit |
| 18785 |
\HyField@AdvanceAnnotCount |
| 18786 |
\@pdfm@mark{% |
| 18787 |
ann @submit\HyField@TheAnnotCount\space |
| 18788 |
\dvipdfm@setdim |
| 18789 |
<<\PDFForm@Submit>>% |
| 18790 |
}% |
| 18791 |
\unhbox\pdfm@box% |
| 18792 |
\HyField@AddToFields{submit}% |
| 18793 |
\endgroup |
| 18794 |
} |
| 18795 |
% \end{macrocode} |
| 18796 |
% \end{macro} |
| 18797 |
% |
| 18798 |
% \begin{macro}{\@Reset} |
| 18799 |
% \begin{macrocode} |
| 18800 |
\def\@Reset[#1]#2{% |
| 18801 |
\def\Fld@width{\DefaultWidthofReset}% |
| 18802 |
\def\Fld@height{\DefaultHeightofReset}% |
| 18803 |
\begingroup |
| 18804 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18805 |
\DefaultOptionsofReset,#1% |
| 18806 |
}% |
| 18807 |
\leavevmode |
| 18808 |
\ifHy@pdfa |
| 18809 |
\Hy@Error{% |
| 18810 |
PDF/A: Reset action is prohibited% |
| 18811 |
}\@ehc |
| 18812 |
\MakeButtonField{#2}% |
| 18813 |
\else |
| 18814 |
\HyField@FlagsPushButton |
| 18815 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18816 |
\setbox\pdfm@box=\hbox{\MakeButtonField{#2}}% |
| 18817 |
\Hy@escapeform\PDFForm@Reset |
| 18818 |
\HyField@AdvanceAnnotCount |
| 18819 |
\@pdfm@mark{% |
| 18820 |
ann @reset\HyField@TheAnnotCount\space |
| 18821 |
\dvipdfm@setdim |
| 18822 |
<<\PDFForm@Reset>>% |
| 18823 |
}% |
| 18824 |
\unhbox\pdfm@box |
| 18825 |
\HyField@AddToFields{reset}% |
| 18826 |
\fi |
| 18827 |
\endgroup |
| 18828 |
} |
| 18829 |
% \end{macrocode} |
| 18830 |
% \end{macro} |
| 18831 |
% |
| 18832 |
% \begin{macro}{\@CheckBox} |
| 18833 |
% \begin{macrocode} |
| 18834 |
\def\@CheckBox[#1]#2{% parameters, label |
| 18835 |
\def\Fld@name{#2}% |
| 18836 |
\def\Fld@default{0}% |
| 18837 |
\begingroup |
| 18838 |
\def\Fld@width{\DefaultWidthofCheckBox}% |
| 18839 |
\def\Fld@height{\DefaultHeightofCheckBox}% |
| 18840 |
\expandafter\HyField@SetKeys\expandafter{% |
| 18841 |
\DefaultOptionsofCheckBox,#1% |
| 18842 |
}% |
| 18843 |
\PDFForm@Name |
| 18844 |
\HyField@FlagsCheckBox |
| 18845 |
\ifFld@hidden\def\Fld@width{1sp}\fi |
| 18846 |
\setbox\pdfm@box=\hbox{% |
| 18847 |
\MakeCheckField{\Fld@width}{\Fld@height}% |
| 18848 |
}% |
| 18849 |
\HyField@AdvanceAnnotCount |
| 18850 |
\LayoutCheckField{#2}{% |
| 18851 |
\leavevmode |
| 18852 |
\Hy@escapeform\PDFForm@Check |
| 18853 |
\@pdfm@mark{% |
| 18854 |
ann @check\HyField@TheAnnotCount\space |
| 18855 |
\dvipdfm@setdim |
| 18856 |
<<\PDFForm@Check>>% |
| 18857 |
}% |
| 18858 |
\unhbox\pdfm@box |
| 18859 |
\HyField@AddToFields{check}% |
| 18860 |
}% |
| 18861 |
\endgroup |
| 18862 |
} |
| 18863 |
% \end{macrocode} |
| 18864 |
% \end{macro} |
| 18865 |
% |
| 18866 |
% \begin{macrocode} |
| 18867 |
\def\Hy@FormObjects{% |
| 18868 |
\@pdfm@mark{obj @OBJpdfdocencoding% |
| 18869 |
<<% |
| 18870 |
/Type/Encoding% |
| 18871 |
/Differences[% |
| 18872 |
24/breve/caron/circumflex/dotaccent/hungarumlaut/ogonek/ring/tilde % |
| 18873 |
39/quotesingle % |
| 18874 |
96/grave % |
| 18875 |
128/bullet/dagger/daggerdbl/ellipsis/emdash/endash/florin% |
| 18876 |
/fraction/guilsinglleft/guilsinglright/minus/perthousand% |
| 18877 |
/quotedblbase/quotedblleft/quotedblright/quoteleft/quoteright% |
| 18878 |
/quotesinglbase/trademark/fi/fl/Lslash/OE/Scaron/Ydieresis% |
| 18879 |
/Zcaron/dotlessi/lslash/oe/scaron/zcaron % |
| 18880 |
160/Euro % |
| 18881 |
164/currency % |
| 18882 |
166/brokenbar % |
| 18883 |
168/dieresis/copyright/ordfeminine % |
| 18884 |
172/logicalnot/.notdef/registered/macron/degree/plusminus% |
| 18885 |
/twosuperior/threesuperior/acute/mu % |
| 18886 |
183/periodcentered/cedilla/onesuperior/ordmasculine % |
| 18887 |
188/onequarter/onehalf/threequarters % |
| 18888 |
192/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE% |
| 18889 |
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute% |
| 18890 |
/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex% |
| 18891 |
/Otilde/Odieresis/multiply/Oslash/Ugrave/Uacute/Ucircumflex% |
| 18892 |
/Udieresis/Yacute/Thorn/germandbls/agrave/aacute/acircumflex% |
| 18893 |
/atilde/adieresis/aring/ae/ccedilla/egrave/eacute% |
| 18894 |
/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis% |
| 18895 |
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis% |
| 18896 |
/divide/oslash/ugrave/uacute/ucircumflex/udieresis/yacute% |
| 18897 |
/thorn/ydieresis% |
| 18898 |
]% |
| 18899 |
>>% |
| 18900 |
}% |
| 18901 |
\@pdfm@mark{obj @OBJZaDb% |
| 18902 |
<<% |
| 18903 |
/Type/Font% |
| 18904 |
/Subtype/Type1% |
| 18905 |
/Name/ZaDb% |
| 18906 |
/BaseFont/ZapfDingbats% |
| 18907 |
>>% |
| 18908 |
}% |
| 18909 |
\@pdfm@mark{obj @OBJHelv% |
| 18910 |
<<% |
| 18911 |
/Type/Font% |
| 18912 |
/Subtype/Type1% |
| 18913 |
/Name/Helv% |
| 18914 |
/BaseFont/Helvetica% |
| 18915 |
/Encoding @OBJpdfdocencoding% |
| 18916 |
>>% |
| 18917 |
}% |
| 18918 |
\global\let\Hy@FormObjects\relax |
| 18919 |
} |
| 18920 |
%</dvipdfm|xetex> |
| 18921 |
% \end{macrocode} |
| 18922 |
% |
| 18923 |
% \subsection{Common forms part} |
| 18924 |
% \begin{macrocode} |
| 18925 |
%<*pdfform> |
| 18926 |
% \end{macrocode} |
| 18927 |
% |
| 18928 |
% \begin{macro}{\Fld@pageobjref} |
| 18929 |
% \begin{macrocode} |
| 18930 |
\providecommand*{\Fld@pageobjref}{} |
| 18931 |
% \end{macrocode} |
| 18932 |
% \end{macro} |
| 18933 |
% |
| 18934 |
% \begin{macro}{\Hy@escapestring} |
| 18935 |
% \begin{macrocode} |
| 18936 |
\@ifundefined{pdf@escapestring} |
| 18937 |
{% |
| 18938 |
\let\Hy@escapestring\@firstofone |
| 18939 |
\def\Hy@escapeform#1{% |
| 18940 |
\ifHy@pdfescapeform |
| 18941 |
\def\Hy@escapestring##1{% |
| 18942 |
\noexpand\Hy@escapestring{\noexpand##1}% |
| 18943 |
}% |
| 18944 |
\edef\Hy@temp{#1}% |
| 18945 |
\expandafter\Hy@@escapeform\Hy@temp\Hy@escapestring{}\@nil |
| 18946 |
\def\Hy@escapestring##1{% |
| 18947 |
\@ifundefined{Hy@esc@\string##1}{% |
| 18948 |
##1% |
| 18949 |
\ThisShouldNotHappen |
| 18950 |
}{% |
| 18951 |
\csname Hy@esc@\string##1\endcsname |
| 18952 |
}% |
| 18953 |
}% |
| 18954 |
\else |
| 18955 |
\let\Hy@escapestring\@firstofone |
| 18956 |
\fi |
| 18957 |
}% |
| 18958 |
\def\Hy@@escapeform#1\Hy@escapestring#2#3\@nil{% |
| 18959 |
\ifx\\#3\\% |
| 18960 |
\else |
| 18961 |
\expandafter |
| 18962 |
\Hy@pstringdef\csname Hy@esc@\string#2\endcsname{#2}% |
| 18963 |
\Hy@ReturnAfterFi{% |
| 18964 |
\Hy@@escapeform#3\@nil |
| 18965 |
}% |
| 18966 |
\fi |
| 18967 |
}% |
| 18968 |
}{% |
| 18969 |
\def\Hy@escapeform#1{% |
| 18970 |
\ifHy@pdfescapeform |
| 18971 |
\let\Hy@escapestring\pdfescapestring |
| 18972 |
\else |
| 18973 |
\let\Hy@escapestring\@firstofone |
| 18974 |
\fi |
| 18975 |
}% |
| 18976 |
\Hy@escapeform{}% |
| 18977 |
} |
| 18978 |
% \end{macrocode} |
| 18979 |
% \end{macro} |
| 18980 |
% |
| 18981 |
% \begin{macro}{\PDFForm@Name} |
| 18982 |
% \begin{macrocode} |
| 18983 |
\def\PDFForm@Name{% |
| 18984 |
\PDFForm@@Name\Fld@name |
| 18985 |
\ifx\Fld@altname\relax |
| 18986 |
\else |
| 18987 |
\PDFForm@@Name\Fld@altname |
| 18988 |
\fi |
| 18989 |
\ifx\Fld@mappingname\relax |
| 18990 |
\else |
| 18991 |
\PDFForm@@Name\Fld@mappingname |
| 18992 |
\fi |
| 18993 |
} |
| 18994 |
% \end{macrocode} |
| 18995 |
% \end{macro} |
| 18996 |
% \begin{macro}{\PDFForm@@Name} |
| 18997 |
% \begin{macrocode} |
| 18998 |
\def\PDFForm@@Name#1{% |
| 18999 |
\begingroup |
| 19000 |
\ifnum\Hy@pdf@majorminor@version<105 % implementation note 117, PDF spec 1.7 |
| 19001 |
\ifHy@unicode |
| 19002 |
\Hy@unicodefalse |
| 19003 |
\fi |
| 19004 |
\fi |
| 19005 |
\pdfstringdef\Hy@gtemp#1% |
| 19006 |
\endgroup |
| 19007 |
\let#1\Hy@gtemp |
| 19008 |
} |
| 19009 |
% \end{macrocode} |
| 19010 |
% \end{macro} |
| 19011 |
% |
| 19012 |
% \begin{macro}{\Fld@additionalactions} |
| 19013 |
% \begin{macrocode} |
| 19014 |
\def\Fld@@additionalactions{% |
| 19015 |
% \end{macrocode} |
| 19016 |
% K input (keystroke) format |
| 19017 |
% \begin{macrocode} |
| 19018 |
\ifx\Fld@keystroke@code\@empty |
| 19019 |
\else |
| 19020 |
/K<</S/JavaScript/JS(\Hy@escapestring{\Fld@keystroke@code})>>% |
| 19021 |
\fi |
| 19022 |
% \end{macrocode} |
| 19023 |
% F display format |
| 19024 |
% \begin{macrocode} |
| 19025 |
\ifx\Fld@format@code\@empty |
| 19026 |
\else |
| 19027 |
/F<</S/JavaScript/JS(\Hy@escapestring{\Fld@format@code})>>% |
| 19028 |
\fi |
| 19029 |
% \end{macrocode} |
| 19030 |
% V validation |
| 19031 |
% \begin{macrocode} |
| 19032 |
\ifx\Fld@validate@code\@empty |
| 19033 |
\else |
| 19034 |
/V<</S/JavaScript/JS(\Hy@escapestring{\Fld@validate@code})>>% |
| 19035 |
\fi |
| 19036 |
% \end{macrocode} |
| 19037 |
% C calculation |
| 19038 |
% \begin{macrocode} |
| 19039 |
\ifx\Fld@calculate@code\@empty |
| 19040 |
\else |
| 19041 |
/C<</S/JavaScript/JS(\Hy@escapestring{\Fld@calculate@code})>>% |
| 19042 |
\fi |
| 19043 |
% \end{macrocode} |
| 19044 |
% Fo receiving the input focus |
| 19045 |
% \begin{macrocode} |
| 19046 |
\ifx\Fld@onfocus@code\@empty |
| 19047 |
\else |
| 19048 |
/Fo<</S/JavaScript/JS(\Hy@escapestring{\Fld@onfocus@code})>>% |
| 19049 |
\fi |
| 19050 |
% \end{macrocode} |
| 19051 |
% Bl losing the input focus (blurred) |
| 19052 |
% \begin{macrocode} |
| 19053 |
\ifx\Fld@onblur@code\@empty |
| 19054 |
\else |
| 19055 |
/Bl<</S/JavaScript/JS(\Hy@escapestring{\Fld@onblur@code})>>% |
| 19056 |
\fi |
| 19057 |
% \end{macrocode} |
| 19058 |
% D pressing the mouse button (down) |
| 19059 |
% \begin{macrocode} |
| 19060 |
\ifx\Fld@onmousedown@code\@empty |
| 19061 |
\else |
| 19062 |
/D<</S/JavaScript/JS(\Hy@escapestring{\Fld@onmousedown@code})>>% |
| 19063 |
\fi |
| 19064 |
% \end{macrocode} |
| 19065 |
% U releasing the mouse button (up) |
| 19066 |
% \begin{macrocode} |
| 19067 |
\ifx\Fld@onmouseup@code\@empty |
| 19068 |
\else |
| 19069 |
/U<</S/JavaScript/JS(\Hy@escapestring{\Fld@onmouseup@code})>>% |
| 19070 |
\fi |
| 19071 |
% \end{macrocode} |
| 19072 |
% E cursor enters the annotation's active area. |
| 19073 |
% \begin{macrocode} |
| 19074 |
\ifx\Fld@onenter@code\@empty |
| 19075 |
\else |
| 19076 |
/E<</S/JavaScript/JS(\Hy@escapestring{\Fld@onenter@code})>>% |
| 19077 |
\fi |
| 19078 |
% \end{macrocode} |
| 19079 |
% X cursor exits the annotation's active area. |
| 19080 |
% \begin{macrocode} |
| 19081 |
\ifx\Fld@onexit@code\@empty |
| 19082 |
\else |
| 19083 |
/X<</S/JavaScript/JS(\Hy@escapestring{\Fld@onexit@code})>>% |
| 19084 |
\fi |
| 19085 |
} |
| 19086 |
\def\Fld@additionalactions{% |
| 19087 |
\if-\Fld@@additionalactions-% |
| 19088 |
\else |
| 19089 |
\ifHy@pdfa |
| 19090 |
\else |
| 19091 |
/AA<<\Fld@@additionalactions>>% |
| 19092 |
\fi |
| 19093 |
\fi |
| 19094 |
} |
| 19095 |
% \end{macrocode} |
| 19096 |
% \end{macro} |
| 19097 |
% \begin{macro}{\Fld@annotnames} |
| 19098 |
% \begin{macrocode} |
| 19099 |
\def\Fld@annotnames{% |
| 19100 |
/T(\Fld@name)% |
| 19101 |
\ifx\Fld@altname\relax |
| 19102 |
\else |
| 19103 |
/TU(\Fld@altname)% |
| 19104 |
\fi |
| 19105 |
\ifx\Fld@mappingname\relax |
| 19106 |
\else |
| 19107 |
/TM(\Fld@mappingname)% |
| 19108 |
\fi |
| 19109 |
} |
| 19110 |
% \end{macrocode} |
| 19111 |
% \end{macro} |
| 19112 |
% |
| 19113 |
% \begin{macro}{\PDFForm@Check} |
| 19114 |
% \begin{macrocode} |
| 19115 |
\def\PDFForm@Check{% |
| 19116 |
/Subtype/Widget% |
| 19117 |
\Fld@annotflags |
| 19118 |
\Fld@pageobjref |
| 19119 |
\Fld@annotnames |
| 19120 |
/FT/Btn% |
| 19121 |
\Fld@flags |
| 19122 |
/Q \Fld@align |
| 19123 |
/BS<</W \Fld@borderwidth /S/\Fld@borderstyle>>% |
| 19124 |
/AP<< /N <</Yes<<>>>> >> %new string /Yes is from below |
| 19125 |
/MK<<% |
| 19126 |
\ifnum\Fld@rotation=\z@ |
| 19127 |
\else |
| 19128 |
/R \Fld@rotation |
| 19129 |
\fi |
| 19130 |
\ifx\Fld@bordercolor\relax |
| 19131 |
\else |
| 19132 |
/BC[\Fld@bordercolor]% |
| 19133 |
\fi |
| 19134 |
\ifx\Fld@bcolor\relax |
| 19135 |
\else |
| 19136 |
/BG[\Fld@bcolor]% |
| 19137 |
\fi |
| 19138 |
/CA(\Hy@escapestring{\Fld@cbsymbol})% |
| 19139 |
>>% |
| 19140 |
/DA(/ZaDb \strip@pt\Fld@charsize\space Tf% |
| 19141 |
\ifx\Fld@color\@empty\else\space\Fld@color\fi)% |
| 19142 |
/H/P% |
| 19143 |
\ifFld@checked /V/Yes/AS/Yes\else /V/Off/AS/Off\fi |
| 19144 |
\Fld@additionalactions |
| 19145 |
} |
| 19146 |
% \end{macrocode} |
| 19147 |
% \end{macro} |
| 19148 |
% \begin{macro}{\PDFForm@Push} |
| 19149 |
% \begin{macrocode} |
| 19150 |
\ifHy@pdfa |
| 19151 |
\else |
| 19152 |
\def\PDFForm@Push{% |
| 19153 |
/Subtype/Widget% |
| 19154 |
\Fld@annotflags |
| 19155 |
\Fld@pageobjref |
| 19156 |
\Fld@annotnames |
| 19157 |
/FT/Btn% |
| 19158 |
\Fld@flags |
| 19159 |
/H/P% |
| 19160 |
/BS<</W \Fld@borderwidth/S/\Fld@borderstyle>>% |
| 19161 |
\ifcase0\ifnum\Fld@rotation=\z@ \else 1\fi |
| 19162 |
\ifx\Fld@bordercolor\relax\else 1\fi |
| 19163 |
\space |
| 19164 |
\else |
| 19165 |
/MK<<% |
| 19166 |
\ifnum\Fld@rotation=\z@ |
| 19167 |
\else |
| 19168 |
/R \Fld@rotation |
| 19169 |
\fi |
| 19170 |
\ifx\Fld@bordercolor\relax |
| 19171 |
\else |
| 19172 |
/BC[\Fld@bordercolor]% |
| 19173 |
\fi |
| 19174 |
>>% |
| 19175 |
\fi |
| 19176 |
/A<</S/JavaScript/JS(\Hy@escapestring{\Fld@onclick@code})>>% |
| 19177 |
\Fld@additionalactions |
| 19178 |
}% |
| 19179 |
\fi |
| 19180 |
% \end{macrocode} |
| 19181 |
% \end{macro} |
| 19182 |
% |
| 19183 |
% \begin{macro}{\PDFForm@List} |
| 19184 |
% \begin{macrocode} |
| 19185 |
\def\PDFForm@List{% |
| 19186 |
/Subtype/Widget% |
| 19187 |
\Fld@annotflags |
| 19188 |
\Fld@pageobjref |
| 19189 |
\Fld@annotnames |
| 19190 |
/FT/Ch% |
| 19191 |
\Fld@flags |
| 19192 |
/Q \Fld@align |
| 19193 |
/BS<</W \Fld@borderwidth/S/\Fld@borderstyle>>% |
| 19194 |
\ifcase0\ifnum\Fld@rotation=\z@ \else 1\fi |
| 19195 |
\ifx\Fld@bordercolor\relax\else 1\fi |
| 19196 |
\ifx\fld@bcolor\relax \else 1\fi |
| 19197 |
\space |
| 19198 |
\else |
| 19199 |
/MK<<% |
| 19200 |
\ifnum\Fld@rotation=\z@ |
| 19201 |
\else |
| 19202 |
/R \Fld@rotation |
| 19203 |
\fi |
| 19204 |
\ifx\Fld@bordercolor\relax |
| 19205 |
\else |
| 19206 |
/BC[\Fld@bordercolor]% |
| 19207 |
\fi |
| 19208 |
\ifx\Fld@bcolor\relax |
| 19209 |
\else |
| 19210 |
/BG[\Fld@bcolor]% |
| 19211 |
\fi |
| 19212 |
>>% |
| 19213 |
\fi |
| 19214 |
/DA(/Helv \strip@pt\Fld@charsize\space Tf% |
| 19215 |
\ifx\Fld@color\@empty\else\space\Fld@color\fi)% |
| 19216 |
\Fld@choices |
| 19217 |
\Fld@additionalactions |
| 19218 |
} |
| 19219 |
% \end{macrocode} |
| 19220 |
% \end{macro} |
| 19221 |
% \begin{macro}{\PDFForm@Radio} |
| 19222 |
% \begin{macrocode} |
| 19223 |
\def\PDFForm@Radio{% |
| 19224 |
/Subtype/Widget% |
| 19225 |
\Fld@annotflags |
| 19226 |
\Fld@pageobjref |
| 19227 |
\Fld@annotnames |
| 19228 |
/FT/Btn% |
| 19229 |
\Fld@flags |
| 19230 |
/H/P% |
| 19231 |
/BS<</W \Fld@borderwidth/S/\Fld@borderstyle>>% |
| 19232 |
/MK<<% |
| 19233 |
\ifnum\Fld@rotation=\z@ |
| 19234 |
\else |
| 19235 |
/R \Fld@rotation |
| 19236 |
\fi |
| 19237 |
\ifx\Fld@bordercolor\relax |
| 19238 |
\else |
| 19239 |
/BC[\Fld@bordercolor]% |
| 19240 |
\fi |
| 19241 |
\ifx\Fld@bcolor\relax |
| 19242 |
\else |
| 19243 |
/BG[\Fld@bcolor]% |
| 19244 |
\fi |
| 19245 |
/CA(\Hy@escapestring{\Fld@radiosymbol})% |
| 19246 |
>>% |
| 19247 |
/DA(/ZaDb \strip@pt\Fld@charsize\space Tf% |
| 19248 |
\ifx\Fld@color\@empty\else\space\Fld@color\fi)% |
| 19249 |
% \end{macrocode} |
| 19250 |
%^^A \ifx\@currValue\Fld@default %old code |
| 19251 |
%^^A /V/\Fld@default |
| 19252 |
%^^A /DV/\Fld@default |
| 19253 |
%^^A \else |
| 19254 |
%^^A /V/Off% |
| 19255 |
%^^A /DV/Off% |
| 19256 |
%^^A \fi |
| 19257 |
% New code, the default value is used for all buttons |
| 19258 |
% \begin{macrocode} |
| 19259 |
\ifx\Fld@default\@empty |
| 19260 |
/V/Off% |
| 19261 |
/DV/Off% |
| 19262 |
\else |
| 19263 |
/V/\Fld@default |
| 19264 |
/DV/\Fld@default |
| 19265 |
\fi |
| 19266 |
\Fld@additionalactions |
| 19267 |
} |
| 19268 |
% \end{macrocode} |
| 19269 |
% \end{macro} |
| 19270 |
% \begin{macro}{\PDFForm@Text} |
| 19271 |
% \begin{macrocode} |
| 19272 |
\def\PDFForm@Text{% |
| 19273 |
/Subtype/Widget% |
| 19274 |
\Fld@annotflags |
| 19275 |
\Fld@pageobjref |
| 19276 |
\Fld@annotnames |
| 19277 |
/FT/Tx% |
| 19278 |
\Fld@flags |
| 19279 |
/Q \Fld@align |
| 19280 |
/BS<</W \Fld@borderwidth\space /S /\Fld@borderstyle>>% |
| 19281 |
\ifcase0\ifnum\Fld@rotation=\z@ \else 1\fi |
| 19282 |
\ifx\Fld@bordercolor\relax\else 1\fi |
| 19283 |
\ifx\Fld@bcolor\relax \else 1\fi |
| 19284 |
\space |
| 19285 |
\else |
| 19286 |
/MK<<% |
| 19287 |
\ifnum\Fld@rotation=\z@ |
| 19288 |
\else |
| 19289 |
/R \Fld@rotation |
| 19290 |
\fi |
| 19291 |
\ifx\Fld@bordercolor\relax |
| 19292 |
\else |
| 19293 |
/BC[\Fld@bordercolor]% |
| 19294 |
\fi |
| 19295 |
\ifx\Fld@bcolor\relax |
| 19296 |
\else |
| 19297 |
/BG[\Fld@bcolor]% |
| 19298 |
\fi |
| 19299 |
>>% |
| 19300 |
\fi |
| 19301 |
/DA(/Helv \strip@pt\Fld@charsize\space Tf% |
| 19302 |
\ifx\Fld@color\@empty\else\space\Fld@color\fi)% |
| 19303 |
/DV(\Hy@escapestring{\Fld@default})% |
| 19304 |
/V(\Hy@escapestring{\Fld@value})% |
| 19305 |
\Fld@additionalactions |
| 19306 |
\ifnum\Fld@maxlen>\z@/MaxLen \Fld@maxlen \fi |
| 19307 |
} |
| 19308 |
% \end{macrocode} |
| 19309 |
% \end{macro} |
| 19310 |
% \begin{macro}{\PDFForm@Submit} |
| 19311 |
% \begin{macrocode} |
| 19312 |
\def\PDFForm@Submit{% |
| 19313 |
/Subtype/Widget% |
| 19314 |
\Fld@annotflags |
| 19315 |
\Fld@pageobjref |
| 19316 |
\Fld@annotnames |
| 19317 |
/FT/Btn% |
| 19318 |
\Fld@flags |
| 19319 |
/H/P% |
| 19320 |
/BS<</W \Fld@borderwidth/S/\Fld@borderstyle>>% |
| 19321 |
\ifcase0\ifnum\Fld@rotation=\z@ \else 1\fi |
| 19322 |
\ifx\Fld@bordercolor\relax\else 1\fi |
| 19323 |
\space |
| 19324 |
\else |
| 19325 |
/MK<<% |
| 19326 |
\ifnum\Fld@rotation=\z@ |
| 19327 |
\else |
| 19328 |
/R \Fld@rotation |
| 19329 |
\fi |
| 19330 |
\ifx\Fld@bordercolor\relax |
| 19331 |
\else |
| 19332 |
/BC[\Fld@bordercolor]% |
| 19333 |
\fi |
| 19334 |
>>% |
| 19335 |
\fi |
| 19336 |
/A<<% |
| 19337 |
/S/SubmitForm% |
| 19338 |
/F<<% |
| 19339 |
/FS/URL% |
| 19340 |
/F(\Hy@escapestring{\Form@action})% |
| 19341 |
>>% |
| 19342 |
\Fld@submitflags |
| 19343 |
>>% |
| 19344 |
\Fld@additionalactions |
| 19345 |
} |
| 19346 |
% \end{macrocode} |
| 19347 |
% \end{macro} |
| 19348 |
% \begin{macro}{\PDFForm@Reset} |
| 19349 |
% \begin{macrocode} |
| 19350 |
\ifHy@pdfa |
| 19351 |
\else |
| 19352 |
\def\PDFForm@Reset{% |
| 19353 |
/Subtype/Widget% |
| 19354 |
\Fld@annotflags |
| 19355 |
\Fld@pageobjref |
| 19356 |
\Fld@annotnames |
| 19357 |
/FT/Btn% |
| 19358 |
\Fld@flags |
| 19359 |
/H/P% |
| 19360 |
/DA(/Helv \strip@pt\Fld@charsize\space Tf 0 0 1 rg)% |
| 19361 |
\ifcase0\ifnum\Fld@rotation=\z@ \else 1\fi |
| 19362 |
\ifx\Fld@bordercolor\relax\else 1\fi |
| 19363 |
\space |
| 19364 |
\else |
| 19365 |
/MK<<% |
| 19366 |
\ifnum\Fld@rotation=\z@ |
| 19367 |
\else |
| 19368 |
/R \Fld@rotation |
| 19369 |
\fi |
| 19370 |
\ifx\Fld@bordercolor\relax |
| 19371 |
\else |
| 19372 |
/BC[\Fld@bordercolor]% |
| 19373 |
\fi |
| 19374 |
% /CA (Clear) |
| 19375 |
% /AC (Done) |
| 19376 |
>>% |
| 19377 |
\fi |
| 19378 |
/BS<</W \Fld@borderwidth/S/\Fld@borderstyle>>% |
| 19379 |
/A<</S/ResetForm>>% |
| 19380 |
\Fld@additionalactions |
| 19381 |
}% |
| 19382 |
\fi |
| 19383 |
% \end{macrocode} |
| 19384 |
% \end{macro} |
| 19385 |
% \begin{macrocode} |
| 19386 |
%</pdfform> |
| 19387 |
%<*packageEnd> |
| 19388 |
% \end{macrocode} |
| 19389 |
% |
| 19390 |
% \section{Bookmarks in the PDF file} |
| 19391 |
% This was originally developed by Yannis Haralambous |
| 19392 |
% (it was the separate |repere.sty|); it needed |
| 19393 |
% the |repere| or |makebook.pl| post-processor to work properly. Now |
| 19394 |
% redundant, as it is done entirely in \LaTeX{} macros. |
| 19395 |
% |
| 19396 |
% To write out the current section title, and its rationalized number, |
| 19397 |
% we have to intercept the |\@sect| command, which is rather |
| 19398 |
% dangerous. But how else to see the information we need? |
| 19399 |
% We do the \emph{same} for |\@ssect|, giving anchors to |
| 19400 |
% unnumbered sections. This allows things like bibliographies |
| 19401 |
% to get bookmarks when used with a manual |\addcontentsline| |
| 19402 |
% |
| 19403 |
% change 2026-02-22: Use \cs{MakeLinkTarget} |
| 19404 |
% \begin{macrocode} |
| 19405 |
\def\phantomsection{\MakeLinkTarget[section]{}} |
| 19406 |
%</packageEnd> |
| 19407 |
% \end{macrocode} |
| 19408 |
% |
| 19409 |
% \subsection{Bookmarks} |
| 19410 |
% \begin{macrocode} |
| 19411 |
%<*outlines> |
| 19412 |
% \end{macrocode} |
| 19413 |
% |
| 19414 |
% This section was written by Heiko Oberdiek; the code replaces |
| 19415 |
% an earlier version by David Carlisle. |
| 19416 |
% |
| 19417 |
% The first part of bookmark code is in section \ref{sec:pdfstring}. |
| 19418 |
% Further documentation is available as paper and slides of the |
| 19419 |
% talk, that Heiko Oberdiek has given at the EuroTeX'99 meating |
| 19420 |
% in Heidelberg. See |paper.pdf| and |slides.pdf| in the |
| 19421 |
% |doc| directory of hyperref. |
| 19422 |
% |
| 19423 |
% When using the right-to-left typesetting based on \eTeX, the order |
| 19424 |
% of the |\BOOKMARK| commands written to the |\@outlinefile| could |
| 19425 |
% appear wrong, because of mis-feature of \eTeX's implementation (that |
| 19426 |
% it processes the shipped out lines left-to-right, instead of the |
| 19427 |
% order in which they appear in the document). The wrong order will |
| 19428 |
% appear when the file contains two bookmarks on the same line typeset |
| 19429 |
% right-to-left. |
| 19430 |
% |
| 19431 |
% To work around this problem, the |bookmark@seq@number| counter is |
| 19432 |
% used to write the bookmark's sequential number into a comment in the |
| 19433 |
% |\@outlinefile|, which could be used to post-process it to achieve |
| 19434 |
% the proper ordering of |\BOOKMARK| commands in that file. |
| 19435 |
% |
| 19436 |
% \begin{macrocode} |
| 19437 |
\def\Hy@writebookmark#1#2#3#4#5{% |
| 19438 |
% section number, text, label, level, file |
| 19439 |
\ifx\WriteBookmarks\relax% |
| 19440 |
\else |
| 19441 |
\ifnum#4>\Hy@bookmarksdepth\relax |
| 19442 |
\else |
| 19443 |
\@@writetorep{#1}{#2}{#3}{#4}{#5}% |
| 19444 |
\fi |
| 19445 |
\fi |
| 19446 |
} |
| 19447 |
\def\Hy@currentbookmarklevel{0} |
| 19448 |
\def\Hy@numberline#1{#1 } |
| 19449 |
\def\@@writetorep#1#2#3#4#5{% |
| 19450 |
\begingroup |
| 19451 |
\edef\Hy@tempa{#5}% |
| 19452 |
\ifx\Hy@tempa\Hy@bookmarkstype |
| 19453 |
\edef\Hy@level{#4}% |
| 19454 |
\ifx\Hy@levelcheck Y% |
| 19455 |
\@tempcnta\Hy@level\relax |
| 19456 |
\advance\@tempcnta by -1 % |
| 19457 |
\ifnum\Hy@currentbookmarklevel<\@tempcnta |
| 19458 |
\advance\@tempcnta by -\Hy@currentbookmarklevel\relax |
| 19459 |
\advance\@tempcnta by 1 % |
| 19460 |
\Hy@Warning{% |
| 19461 |
Difference (\the\@tempcnta) between bookmark levels is % |
| 19462 |
greater \MessageBreak than one, level fixed% |
| 19463 |
}% |
| 19464 |
\@tempcnta\Hy@currentbookmarklevel |
| 19465 |
\advance\@tempcnta by 1 % |
| 19466 |
\edef\Hy@level{\the\@tempcnta}% |
| 19467 |
\fi |
| 19468 |
\else |
| 19469 |
\global\let\Hy@levelcheck Y% |
| 19470 |
\fi |
| 19471 |
\global\let\Hy@currentbookmarklevel\Hy@level |
| 19472 |
\@tempcnta\Hy@level\relax |
| 19473 |
\expandafter\xdef\csname Parent\Hy@level\endcsname{#3}% |
| 19474 |
\advance\@tempcnta by -1 % |
| 19475 |
\edef\Hy@tempa{#3}% |
| 19476 |
\edef\Hy@tempb{\csname Parent\the\@tempcnta\endcsname}% |
| 19477 |
\ifx\Hy@tempa\Hy@tempb |
| 19478 |
\Hy@Warning{% |
| 19479 |
The anchor of a bookmark and its parent's must not% |
| 19480 |
\MessageBreak be the same. Added a new anchor% |
| 19481 |
}% |
| 19482 |
\phantomsection |
| 19483 |
\fi |
| 19484 |
\ifHy@bookmarksnumbered |
| 19485 |
\let\numberline\Hy@numberline |
| 19486 |
\let\booknumberline\Hy@numberline |
| 19487 |
\let\partnumberline\Hy@numberline |
| 19488 |
\let\chapternumberline\Hy@numberline |
| 19489 |
\else |
| 19490 |
\let\numberline\@gobble |
| 19491 |
\let\booknumberline\@gobble |
| 19492 |
\let\partnumberline\@gobble |
| 19493 |
\let\chapternumberline\@gobble |
| 19494 |
\fi |
| 19495 |
\pdfstringdef\Hy@tempa{#2}% |
| 19496 |
\HyPsd@SanitizeForOutFile\Hy@tempa |
| 19497 |
\if@filesw |
| 19498 |
\stepcounter{bookmark@seq@number}% |
| 19499 |
\@ifundefined{@outlinefile}{% |
| 19500 |
}{% |
| 19501 |
\protected@write\@outlinefile{}{% |
| 19502 |
\protect\BOOKMARK |
| 19503 |
[\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}% |
| 19504 |
{\Hy@tempa}{\Hy@tempb}% |
| 19505 |
\@percentchar\space\thebookmark@seq@number |
| 19506 |
}% |
| 19507 |
}% |
| 19508 |
\fi |
| 19509 |
\fi |
| 19510 |
\endgroup |
| 19511 |
} |
| 19512 |
\newcounter{bookmark@seq@number} |
| 19513 |
% \end{macrocode} |
| 19514 |
% \begin{macrocode} |
| 19515 |
\begingroup |
| 19516 |
\lccode`(=`{% |
| 19517 |
\lccode`)=`}% |
| 19518 |
\lccode`1=\z@ |
| 19519 |
\lccode`2=\z@ |
| 19520 |
\lccode`3=\z@ |
| 19521 |
\lccode`5=\z@ |
| 19522 |
\lccode`7=\z@ |
| 19523 |
\lccode`\#=\z@ |
| 19524 |
\lccode`\`=\z@ |
| 19525 |
\lccode`\{=\z@ |
| 19526 |
\lccode`\}=\z@ |
| 19527 |
\lowercase{% |
| 19528 |
\endgroup |
| 19529 |
\def\HyPsd@SanitizeForOutFile#1{% |
| 19530 |
\@onelevel@sanitize\Hy@tempa |
| 19531 |
\escapechar`\\% |
| 19532 |
\edef\Hy@tempa{% |
| 19533 |
\expandafter\HyPsd@SanitizeOut@BraceLeft\Hy@tempa(\@nil |
| 19534 |
}% |
| 19535 |
\edef\Hy@tempa{% |
| 19536 |
\expandafter\HyPsd@SanitizeOut@BraceRight\Hy@tempa)\@nil |
| 19537 |
}% |
| 19538 |
}% |
| 19539 |
\def\HyPsd@SanitizeOut@BraceLeft#1(#2\@nil{% |
| 19540 |
#1% |
| 19541 |
\ifx\\#2\\% |
| 19542 |
\expandafter\@gobble |
| 19543 |
\else |
| 19544 |
\expandafter\@firstofone |
| 19545 |
\fi |
| 19546 |
{% |
| 19547 |
\string\173% |
| 19548 |
\HyPsd@SanitizeOut@BraceLeft#2\@nil |
| 19549 |
}% |
| 19550 |
}% |
| 19551 |
\def\HyPsd@SanitizeOut@BraceRight#1)#2\@nil{% |
| 19552 |
#1% |
| 19553 |
\ifx\\#2\\% |
| 19554 |
\expandafter\@gobble |
| 19555 |
\else |
| 19556 |
\expandafter\@firstofone |
| 19557 |
\fi |
| 19558 |
{% |
| 19559 |
\string\175% |
| 19560 |
\HyPsd@SanitizeOut@BraceRight#2\@nil |
| 19561 |
}% |
| 19562 |
}% |
| 19563 |
} |
| 19564 |
% \end{macrocode} |
| 19565 |
% In the call of \cmd{\BOOKMARK} the braces around \verb|#4| |
| 19566 |
% are omitted, because it is not likely, that the level number |
| 19567 |
% contains \verb|]|. |
| 19568 |
% \begin{macrocode} |
| 19569 |
\newcommand{\currentpdfbookmark}{% |
| 19570 |
\pdfbookmark[\Hy@currentbookmarklevel]% |
| 19571 |
} |
| 19572 |
\newcommand{\subpdfbookmark}{% |
| 19573 |
\@tempcnta\Hy@currentbookmarklevel |
| 19574 |
\Hy@StepCount\@tempcnta |
| 19575 |
\expandafter\pdfbookmark\expandafter[\the\@tempcnta]% |
| 19576 |
} |
| 19577 |
\newcommand{\belowpdfbookmark}[2]{% |
| 19578 |
\@tempcnta\Hy@currentbookmarklevel |
| 19579 |
\Hy@StepCount\@tempcnta |
| 19580 |
\expandafter\pdfbookmark\expandafter[\the\@tempcnta]{#1}{#2}% |
| 19581 |
\advance\@tempcnta by -1 % |
| 19582 |
\xdef\Hy@currentbookmarklevel{\the\@tempcnta}% |
| 19583 |
} |
| 19584 |
% \end{macrocode} |
| 19585 |
% Tobias Oetiker rightly points out that we need a way to |
| 19586 |
% force a bookmark entry. So we introduce |\pdfbookmark|, |
| 19587 |
% with two parameters, the title, and a symbolic name. |
| 19588 |
% By default this is at level 1, but we can reset that with the |
| 19589 |
% optional first argument. |
| 19590 |
% \begin{macrocode} |
| 19591 |
\renewcommand\pdfbookmark[3][0]{% |
| 19592 |
\Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}% |
| 19593 |
\hyper@anchorstart{#3.#1}\hyper@anchorend |
| 19594 |
} |
| 19595 |
\def\BOOKMARK{% |
| 19596 |
\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}% |
| 19597 |
} |
| 19598 |
\def\@BOOKMARK[#1]{% |
| 19599 |
\@ifnextchar[{\@@BOOKMARK[{#1}]}{\@@BOOKMARK[{#1}][-]}% |
| 19600 |
} |
| 19601 |
% \end{macrocode} |
| 19602 |
% The macros for calculating structure of outlines |
| 19603 |
% are derived from those by Petr Olsak used in the texinfopdf macros. |
| 19604 |
% |
| 19605 |
% \subsubsection{Rerun warning} |
| 19606 |
% |
| 19607 |
% \begin{macro}{\Hy@OutlineRerunCheck} |
| 19608 |
% \begin{macrocode} |
| 19609 |
\RequirePackage{rerunfilecheck}[2009/12/10] |
| 19610 |
\def\Hy@OutlineRerunCheck{% |
| 19611 |
\RerunFileCheck{\jobname.out}{% |
| 19612 |
\immediate\closeout\@outlinefile |
| 19613 |
}{% |
| 19614 |
Rerun to get outlines right\MessageBreak |
| 19615 |
or use package `bookmark'% |
| 19616 |
}% |
| 19617 |
} |
| 19618 |
% \end{macrocode} |
| 19619 |
% \end{macro} |
| 19620 |
% |
| 19621 |
% \subsubsection{Driver stuff} |
| 19622 |
% |
| 19623 |
% The VTEX section was written originally by VTEX, but then |
| 19624 |
% amended by Denis Girou (\Email{[email protected]}), |
| 19625 |
% then by by Taco Hoekwater (\Email{[email protected]}. The problem |
| 19626 |
% is that VTEX, with its close integration of the PDF backend, does |
| 19627 |
% look at the contents of bookmarks, escaping |\| and the like. |
| 19628 |
% \begin{macrocode} |
| 19629 |
%<*vtex> |
| 19630 |
% \end{macrocode} |
| 19631 |
% \begin{macrocode} |
| 19632 |
\newcount\@serial@counter\@serial@counter=1\relax |
| 19633 |
% \end{macrocode} |
| 19634 |
% \begin{macro}{\hv@pdf@char} |
| 19635 |
% Plain octal codes doesn't work with versions below 6.50. |
| 19636 |
% So for early versions hex numbers have to be used. |
| 19637 |
% It would be possible to program this instead of the |
| 19638 |
% large |\ifcase|, but I'm too lazy to sort that out now. |
| 19639 |
% \begin{macrocode} |
| 19640 |
\begingroup |
| 19641 |
\catcode`\'=12 % |
| 19642 |
\ifnum\Hy@VTeXversion<650 % |
| 19643 |
\catcode`\"=12 % |
| 19644 |
\gdef\hv@pdf@char#1#2#3{% |
| 19645 |
\char |
| 19646 |
\ifcase'#1#2#3 % |
| 19647 |
"00\or"01\or"02\or"03\or"04\or"05\or"06\or"07% |
| 19648 |
\or"08\or"09\or"0A\or"0B\or"0C\or"0D\or"0E\or"0F% |
| 19649 |
\or"10\or"11\or"12\or"13\or"14\or"15\or"16\or"17% |
| 19650 |
\or"18\or"19\or"1A\or"1B\or"1C\or"1D\or"1E\or"1F% |
| 19651 |
\or"20\or"21\or"22\or"23\or"24\or"25\or"26\or"27% |
| 19652 |
\or"28\or"29\or"2A\or"2B\or"2C\or"2D\or"2E\or"2F% |
| 19653 |
\or"30\or"31\or"32\or"33\or"34\or"35\or"36\or"37% |
| 19654 |
\or"38\or"39\or"3A\or"3B\or"3C\or"3D\or"3E\or"3F% |
| 19655 |
\or"40\or"41\or"42\or"43\or"44\or"45\or"46\or"47% |
| 19656 |
\or"48\or"49\or"4A\or"4B\or"4C\or"4D\or"4E\or"4F% |
| 19657 |
\or"50\or"51\or"52\or"53\or"54\or"55\or"56\or"57% |
| 19658 |
\or"58\or"59\or"5A\or"5B\or"5C\or"5D\or"5E\or"5F% |
| 19659 |
\or"60\or"61\or"62\or"63\or"64\or"65\or"66\or"67% |
| 19660 |
\or"68\or"69\or"6A\or"6B\or"6C\or"6D\or"6E\or"6F% |
| 19661 |
\or"70\or"71\or"72\or"73\or"74\or"75\or"76\or"77% |
| 19662 |
\or"78\or"79\or"7A\or"7B\or"7C\or"7D\or"7E\or"7F% |
| 19663 |
\or"80\or"81\or"82\or"83\or"84\or"85\or"86\or"87% |
| 19664 |
\or"88\or"89\or"8A\or"8B\or"8C\or"8D\or"8E\or"8F% |
| 19665 |
\or"90\or"91\or"92\or"93\or"94\or"95\or"96\or"97% |
| 19666 |
\or"98\or"99\or"9A\or"9B\or"9C\or"9D\or"9E\or"9F% |
| 19667 |
\or"A0\or"A1\or"A2\or"A3\or"A4\or"A5\or"A6\or"A7% |
| 19668 |
\or"A8\or"A9\or"AA\or"AB\or"AC\or"AD\or"AE\or"AF% |
| 19669 |
\or"B0\or"B1\or"B2\or"B3\or"B4\or"B5\or"B6\or"B7% |
| 19670 |
\or"B8\or"B9\or"BA\or"BB\or"BC\or"BD\or"BE\or"BF% |
| 19671 |
\or"C0\or"C1\or"C2\or"C3\or"C4\or"C5\or"C6\or"C7% |
| 19672 |
\or"C8\or"C9\or"CA\or"CB\or"CC\or"CD\or"CE\or"CF% |
| 19673 |
\or"D0\or"D1\or"D2\or"D3\or"D4\or"D5\or"D6\or"D7% |
| 19674 |
\or"D8\or"D9\or"DA\or"DB\or"DC\or"DD\or"DE\or"DF% |
| 19675 |
\or"E0\or"E1\or"E2\or"E3\or"E4\or"E5\or"E6\or"E7% |
| 19676 |
\or"E8\or"E9\or"EA\or"EB\or"EC\or"ED\or"EE\or"EF% |
| 19677 |
\or"F0\or"F1\or"F2\or"F3\or"F4\or"F5\or"F6\or"F7% |
| 19678 |
\or"F8\or"F9\or"FA\or"FB\or"FC\or"FD\or"FE\or"FF% |
| 19679 |
\fi |
| 19680 |
}% |
| 19681 |
\else |
| 19682 |
\gdef\hv@pdf@char{\char'}% |
| 19683 |
\fi |
| 19684 |
\endgroup |
| 19685 |
% \end{macrocode} |
| 19686 |
% \end{macro} |
| 19687 |
% \begin{macro}{\@@BOOKMARK} |
| 19688 |
% \begin{macrocode} |
| 19689 |
\def\@@BOOKMARK[#1][#2]#3#4#5{% |
| 19690 |
\expandafter\edef\csname @count@#3\endcsname{% |
| 19691 |
\the\@serial@counter |
| 19692 |
}% |
| 19693 |
\edef\@mycount{\the\@serial@counter}% |
| 19694 |
\Hy@StepCount\@serial@counter |
| 19695 |
\edef\@parcount{% |
| 19696 |
\expandafter\ifx\csname @count@#5\endcsname\relax |
| 19697 |
0% |
| 19698 |
\else |
| 19699 |
\csname @count@#5\endcsname |
| 19700 |
\fi |
| 19701 |
}% |
| 19702 |
\immediate\special{% |
| 19703 |
!outline \HyperDestNameFilter{#3};p=\@parcount,i=\@mycount,% |
| 19704 |
s=\ifx#2-c\else o\fi,t=#4% |
| 19705 |
}% |
| 19706 |
}% |
| 19707 |
% \end{macrocode} |
| 19708 |
% \end{macro} |
| 19709 |
% \begin{macro}{\ReadBookmarks} |
| 19710 |
% \begin{macrocode} |
| 19711 |
\def\ReadBookmarks{% |
| 19712 |
\begingroup |
| 19713 |
\def\0{\hv@pdf@char 0}% |
| 19714 |
\def\1{\hv@pdf@char 1}% |
| 19715 |
\def\2{\hv@pdf@char 2}% |
| 19716 |
\def\3{\hv@pdf@char 3}% |
| 19717 |
\def\({(}% |
| 19718 |
\def\){)}% |
| 19719 |
\def\do##1{% |
| 19720 |
\ifnum\catcode`##1=\active |
| 19721 |
\@makeother##1% |
| 19722 |
\else |
| 19723 |
\ifnum\catcode`##1=6 % |
| 19724 |
\@makeother##1% |
| 19725 |
\fi |
| 19726 |
\fi |
| 19727 |
}% |
| 19728 |
\dospecials |
| 19729 |
\Hy@safe@activestrue |
| 19730 |
\InputIfFileExists{\jobname.out}{}{}% |
| 19731 |
\endgroup |
| 19732 |
\ifx\WriteBookmarks\relax |
| 19733 |
\else |
| 19734 |
\if@filesw |
| 19735 |
\newwrite\@outlinefile |
| 19736 |
\Hy@OutlineRerunCheck |
| 19737 |
\immediate\openout\@outlinefile=\jobname.out\relax |
| 19738 |
\fi |
| 19739 |
\fi |
| 19740 |
} |
| 19741 |
% \end{macrocode} |
| 19742 |
% \end{macro} |
| 19743 |
% \begin{macrocode} |
| 19744 |
%</vtex> |
| 19745 |
% \end{macrocode} |
| 19746 |
% \begin{macrocode} |
| 19747 |
%<*!vtex> |
| 19748 |
\def\ReadBookmarks{% |
| 19749 |
\pdf@ifdraftmode{}{% |
| 19750 |
\begingroup |
| 19751 |
\def\do##1{% |
| 19752 |
\ifnum\catcode`##1=\active |
| 19753 |
\@makeother##1% |
| 19754 |
\else |
| 19755 |
\ifnum\catcode`##1=6 % |
| 19756 |
\@makeother##1% |
| 19757 |
\fi |
| 19758 |
\fi |
| 19759 |
}% |
| 19760 |
\dospecials |
| 19761 |
\Hy@safe@activestrue |
| 19762 |
\escapechar=`\\% |
| 19763 |
\def\@@BOOKMARK[##1][##2]##3##4##5{% |
| 19764 |
\calc@bm@number{##5}% |
| 19765 |
}% |
| 19766 |
\InputIfFileExists{\jobname.out}{}{}% |
| 19767 |
\ifx\WriteBookmarks\relax |
| 19768 |
\global\let\WriteBookmarks\relax |
| 19769 |
\fi |
| 19770 |
\def\@@BOOKMARK[##1][##2]##3##4##5{% |
| 19771 |
\def\Hy@temp{##4}% |
| 19772 |
%<*pdftex> |
| 19773 |
\Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% |
| 19774 |
\Hy@OutlineName{}\Hy@pstringName{% |
| 19775 |
##2\check@bm@number{##3}% |
| 19776 |
}{% |
| 19777 |
\expandafter\strip@prefix\meaning\Hy@temp |
| 19778 |
}% |
| 19779 |
%</pdftex> |
| 19780 |
%<*pdfmark> |
| 19781 |
\pdfmark{% |
| 19782 |
pdfmark=/OUT,% |
| 19783 |
Count={##2\check@bm@number{##3}},% |
| 19784 |
Dest={##3},% |
| 19785 |
Title=\expandafter\strip@prefix\meaning\Hy@temp |
| 19786 |
}% |
| 19787 |
%</pdfmark> |
| 19788 |
%<*dvipdfm|xetex> |
| 19789 |
\Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% |
| 19790 |
\@pdfm@mark{% |
| 19791 |
outline \ifHy@DvipdfmxOutlineOpen |
| 19792 |
[% |
| 19793 |
\ifnum##21>\z@ |
| 19794 |
\else |
| 19795 |
-% |
| 19796 |
\fi |
| 19797 |
] % |
| 19798 |
\fi |
| 19799 |
##1<<% |
| 19800 |
/Title(\expandafter\strip@prefix\meaning\Hy@temp)% |
| 19801 |
/A<<% |
| 19802 |
/S/GoTo% |
| 19803 |
/D(\Hy@pstringName)% |
| 19804 |
>>% |
| 19805 |
>>% |
| 19806 |
}% |
| 19807 |
%</dvipdfm|xetex> |
| 19808 |
}% |
| 19809 |
\begingroup |
| 19810 |
\def\WriteBookmarks{0}% |
| 19811 |
\InputIfFileExists{\jobname.out}{}{}% |
| 19812 |
\endgroup |
| 19813 |
%{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}% |
| 19814 |
\endgroup |
| 19815 |
}% |
| 19816 |
\ifx\WriteBookmarks\relax |
| 19817 |
\else |
| 19818 |
\if@filesw |
| 19819 |
\newwrite\@outlinefile |
| 19820 |
\Hy@OutlineRerunCheck |
| 19821 |
\immediate\openout\@outlinefile=\jobname.out\relax |
| 19822 |
\fi |
| 19823 |
\fi |
| 19824 |
} |
| 19825 |
%<*pdftex> |
| 19826 |
\def\Hy@OutlineName#1#2#3#4{% |
| 19827 |
\pdfoutline goto name{#2}count#3{#4}% |
| 19828 |
} |
| 19829 |
%</pdftex> |
| 19830 |
\def\check@bm@number#1{% |
| 19831 |
\expandafter\ifx\csname B_#1\endcsname\relax |
| 19832 |
0% |
| 19833 |
\else |
| 19834 |
\csname B_#1\endcsname |
| 19835 |
\fi |
| 19836 |
} |
| 19837 |
\def\calc@bm@number#1{% |
| 19838 |
\@tempcnta=\check@bm@number{#1}\relax |
| 19839 |
\advance\@tempcnta by 1 % |
| 19840 |
\expandafter\xdef\csname B_#1\endcsname{\the\@tempcnta}% |
| 19841 |
} |
| 19842 |
%</!vtex> |
| 19843 |
% \end{macrocode} |
| 19844 |
% |
| 19845 |
% \begin{macrocode} |
| 19846 |
\ifHy@implicit |
| 19847 |
\else |
| 19848 |
\expandafter\endinput |
| 19849 |
\fi |
| 19850 |
% \end{macrocode} |
| 19851 |
% |
| 19852 |
% \begin{macrocode} |
| 19853 |
%</outlines> |
| 19854 |
%<*outlines|hypertex> |
| 19855 |
% \end{macrocode} |
| 19856 |
% \begin{macrocode} |
| 19857 |
\newlength\Hy@SectionHShift |
| 19858 |
\def\Hy@SectionAnchorHref#1{% |
| 19859 |
\ifx\protect\@typeset@protect |
| 19860 |
\Hy@@SectionAnchor{#1}% |
| 19861 |
\fi |
| 19862 |
} |
| 19863 |
\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{% |
| 19864 |
\leavevmode |
| 19865 |
\hbox to 0pt{% |
| 19866 |
\kern-\Hy@SectionHShift |
| 19867 |
\Hy@raisedlink{% |
| 19868 |
\hyper@anchorstart{#1}\hyper@anchorend |
| 19869 |
}% |
| 19870 |
\hss |
| 19871 |
}% |
| 19872 |
} |
| 19873 |
\AddToNoCaseChangeList{\Hy@@SectionAnchor} |
| 19874 |
\@ifundefined{hyper@nopatch@sectioning} |
| 19875 |
{ |
| 19876 |
\let\H@old@ssect\@ssect |
| 19877 |
\def\@ssect#1#2#3#4#5{% |
| 19878 |
\Hy@MakeCurrentHrefAuto{section*}% |
| 19879 |
\setlength{\Hy@SectionHShift}{#1}% |
| 19880 |
\begingroup |
| 19881 |
\toks@{\H@old@ssect{#1}{#2}{#3}{#4}}% |
| 19882 |
\toks\tw@\expandafter{% |
| 19883 |
\expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% |
| 19884 |
#5% |
| 19885 |
}% |
| 19886 |
\edef\x{\endgroup |
| 19887 |
\the\toks@{\the\toks\tw@}% |
| 19888 |
}\x |
| 19889 |
} |
| 19890 |
\let\H@old@schapter\@schapter |
| 19891 |
\def\@schapter#1{% |
| 19892 |
\begingroup |
| 19893 |
\let\@mkboth\@gobbletwo |
| 19894 |
\Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% |
| 19895 |
\Hy@raisedlink{% |
| 19896 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 19897 |
}% |
| 19898 |
\endgroup |
| 19899 |
\H@old@schapter{#1}% |
| 19900 |
} |
| 19901 |
% \end{macrocode} |
| 19902 |
% If there is no chapter number (\cmd{\frontmatter} or |
| 19903 |
% \cmd{\backmatter}) then the counting by |\refstepcounter{chapter}| |
| 19904 |
% is not executed, so there will be no destination for \cmd{addcontentsline}. |
| 19905 |
% So \cmd{\@chapter} is overloaded to avoid this: |
| 19906 |
% \begin{macrocode} |
| 19907 |
\@ifundefined{@chapter}{}{% |
| 19908 |
\let\Hy@org@chapter\@chapter |
| 19909 |
\def\@chapter{% |
| 19910 |
\def\Hy@next{% |
| 19911 |
\Hy@MakeCurrentHrefAuto{\Hy@chapapp*}% |
| 19912 |
\Hy@raisedlink{% |
| 19913 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 19914 |
}% |
| 19915 |
}% |
| 19916 |
\ifnum\c@secnumdepth>\m@ne |
| 19917 |
\@ifundefined{if@mainmatter}% |
| 19918 |
\iftrue{\csname if@mainmatter\endcsname}% |
| 19919 |
\let\Hy@next\relax |
| 19920 |
\fi |
| 19921 |
\fi |
| 19922 |
\Hy@next |
| 19923 |
\Hy@org@chapter |
| 19924 |
}% |
| 19925 |
} |
| 19926 |
% \end{macrocode} |
| 19927 |
% \begin{macrocode} |
| 19928 |
\let\H@old@part\@part |
| 19929 |
\@ifundefined{chapter} |
| 19930 |
{\let\Hy@secnum@part\z@} |
| 19931 |
{\let\Hy@secnum@part\m@ne} |
| 19932 |
\def\@part{% |
| 19933 |
\ifnum\Hy@secnum@part>\c@secnumdepth |
| 19934 |
\phantomsection |
| 19935 |
\fi |
| 19936 |
\H@old@part |
| 19937 |
} |
| 19938 |
% \end{macrocode} |
| 19939 |
% \begin{macrocode} |
| 19940 |
\let\H@old@spart\@spart |
| 19941 |
\def\@spart#1{% |
| 19942 |
\Hy@MakeCurrentHrefAuto{part*}% |
| 19943 |
\Hy@raisedlink{% |
| 19944 |
\hyper@anchorstart{\@currentHref}\hyper@anchorend |
| 19945 |
}% |
| 19946 |
\H@old@spart{#1}% |
| 19947 |
} |
| 19948 |
\let\H@old@sect\@sect |
| 19949 |
\def\@sect#1#2#3#4#5#6[#7]#8{% |
| 19950 |
\ifnum #2>\c@secnumdepth |
| 19951 |
\expandafter\@firstoftwo |
| 19952 |
\else |
| 19953 |
\expandafter\@secondoftwo |
| 19954 |
\fi |
| 19955 |
{% |
| 19956 |
\Hy@MakeCurrentHrefAuto{section*}% |
| 19957 |
\setlength{\Hy@SectionHShift}{#3}% |
| 19958 |
\begingroup |
| 19959 |
\toks@{\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}% |
| 19960 |
\toks\tw@\expandafter{% |
| 19961 |
\expandafter\Hy@SectionAnchorHref\expandafter{\@currentHref}% |
| 19962 |
#8% |
| 19963 |
}% |
| 19964 |
\edef\x{\endgroup |
| 19965 |
\the\toks@{\the\toks\tw@}% |
| 19966 |
}\x |
| 19967 |
}{% |
| 19968 |
\H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% |
| 19969 |
}% |
| 19970 |
} |
| 19971 |
}{} |
| 19972 |
% \end{macrocode} |
| 19973 |
% \begin{macrocode} |
| 19974 |
%</outlines|hypertex> |
| 19975 |
%<*outlines> |
| 19976 |
% \end{macrocode} |
| 19977 |
% |
| 19978 |
% \begin{macrocode} |
| 19979 |
\expandafter\def\csname Parent-4\endcsname{} |
| 19980 |
\expandafter\def\csname Parent-3\endcsname{} |
| 19981 |
\expandafter\def\csname Parent-2\endcsname{} |
| 19982 |
\expandafter\def\csname Parent-1\endcsname{} |
| 19983 |
\expandafter\def\csname Parent0\endcsname{} |
| 19984 |
\expandafter\def\csname Parent1\endcsname{} |
| 19985 |
\expandafter\def\csname Parent2\endcsname{} |
| 19986 |
\expandafter\def\csname Parent3\endcsname{} |
| 19987 |
\expandafter\def\csname Parent4\endcsname{} |
| 19988 |
% \end{macrocode} |
| 19989 |
% |
| 19990 |
% \begin{macrocode} |
| 19991 |
%</outlines> |
| 19992 |
% \end{macrocode} |
| 19993 |
% |
| 19994 |
% \section{Encoding definition files for encodings of PDF strings} |
| 19995 |
% This was contributed by |
| 19996 |
% Heiko Oberdiek. |
| 19997 |
% |
| 19998 |
% \subsection{PD1 encoding} |
| 19999 |
% \begin{macrocode} |
| 20000 |
%<*pd1enc> |
| 20001 |
\DeclareFontEncoding{PD1}{}{} |
| 20002 |
% \end{macrocode} |
| 20003 |
% Accents |
| 20004 |
% \begin{macrocode} |
| 20005 |
\DeclareTextAccent{\`}{PD1}{\textasciigrave} |
| 20006 |
\DeclareTextAccent{\'}{PD1}{\textacute} |
| 20007 |
\DeclareTextAccent{\^}{PD1}{\textasciicircum} |
| 20008 |
\DeclareTextAccent{\~}{PD1}{\texttilde} |
| 20009 |
\DeclareTextAccent{\"}{PD1}{\textasciidieresis} |
| 20010 |
\DeclareTextAccent{\r}{PD1}{\textring} |
| 20011 |
\DeclareTextAccent{\v}{PD1}{\textasciicaron} |
| 20012 |
\DeclareTextAccent{\.}{PD1}{\textdotaccent} |
| 20013 |
\DeclareTextAccent{\c}{PD1}{\textcedilla} |
| 20014 |
\DeclareTextAccent{\=}{PD1}{\textasciimacron} |
| 20015 |
\DeclareTextAccent{\b}{PD1}{\textmacronbelow} |
| 20016 |
\DeclareTextAccent{\d}{PD1}{\textdotbelow} |
| 20017 |
\DeclareTextCompositeCommand{\`}{PD1}{\@empty}{\textasciigrave} |
| 20018 |
\DeclareTextCompositeCommand{\'}{PD1}{\@empty}{\textacute} |
| 20019 |
\DeclareTextCompositeCommand{\^}{PD1}{\@empty}{\textasciicircum} |
| 20020 |
\DeclareTextCompositeCommand{\~}{PD1}{\@empty}{\texttilde} |
| 20021 |
\DeclareTextCompositeCommand{\"}{PD1}{\@empty}{\textasciidieresis} |
| 20022 |
\DeclareTextCompositeCommand{\r}{PD1}{\@empty}{\textring} |
| 20023 |
\DeclareTextCompositeCommand{\v}{PD1}{\@empty}{\textasciicaron} |
| 20024 |
\DeclareTextCompositeCommand{\.}{PD1}{\@empty}{\textdotaccent} |
| 20025 |
\DeclareTextCompositeCommand{\c}{PD1}{\@empty}{\textcedilla} |
| 20026 |
\DeclareTextCompositeCommand{\=}{PD1}{\@empty}{\textasciimacron} |
| 20027 |
\DeclareTextCompositeCommand{\b}{PD1}{\@empty}{\textmacronbelow} |
| 20028 |
\DeclareTextCompositeCommand{\d}{PD1}{\@empty}{\textdotbelow} |
| 20029 |
\DeclareTextCompositeCommand{\`}{PD1}{\ }{\textasciigrave} |
| 20030 |
\DeclareTextCompositeCommand{\'}{PD1}{\ }{\textacute} |
| 20031 |
\DeclareTextCompositeCommand{\^}{PD1}{\ }{\textasciicircum} |
| 20032 |
\DeclareTextCompositeCommand{\~}{PD1}{\ }{\texttilde} |
| 20033 |
\DeclareTextCompositeCommand{\"}{PD1}{\ }{\textasciidieresis} |
| 20034 |
\DeclareTextCompositeCommand{\r}{PD1}{\ }{\textring} |
| 20035 |
\DeclareTextCompositeCommand{\v}{PD1}{\ }{\textasciicaron} |
| 20036 |
\DeclareTextCompositeCommand{\.}{PD1}{\ }{\textdotaccent} |
| 20037 |
\DeclareTextCompositeCommand{\c}{PD1}{\ }{\textcedilla} |
| 20038 |
\DeclareTextCompositeCommand{\=}{PD1}{\ }{\textasciimacron} |
| 20039 |
\DeclareTextCompositeCommand{\b}{PD1}{\ }{\textmacronbelow} |
| 20040 |
\DeclareTextCompositeCommand{\d}{PD1}{\ }{\textdotbelow} |
| 20041 |
\DeclareTextCommand{\k}{PD1}[1]{\TextSymbolUnavailable{\k{#1}}#1} |
| 20042 |
\DeclareTextCommand{\t}{PD1}[1]{\TextSymbolUnavailable{\t{#1}}#1} |
| 20043 |
\DeclareTextCommand{\newtie}{PD1}[1]{% |
| 20044 |
\TextSymbolUnavailable{\newtie{#1}}#1% |
| 20045 |
} |
| 20046 |
% \end{macrocode} |
| 20047 |
% Special white space escape characters |
| 20048 |
% not for use in bookmarks but for other PDF strings. |
| 20049 |
% \begin{macrocode} |
| 20050 |
% U+0009 (CHARACTER TABULATION) |
| 20051 |
\DeclareTextCommand{\textHT}{PD1}{\011}% U+0009 |
| 20052 |
% U+000A (LINE FEED) |
| 20053 |
\DeclareTextCommand{\textLF}{PD1}{\012}% U+000A |
| 20054 |
% U+000D (CARRIAGE RETURN) |
| 20055 |
\DeclareTextCommand{\textCR}{PD1}{\015}% U+000D |
| 20056 |
% \end{macrocode} |
| 20057 |
% Accent glyph names |
| 20058 |
% \begin{macrocode} |
| 20059 |
% U+02D8 BREVE; breve |
| 20060 |
\DeclareTextCommand{\textasciibreve}{PD1}{\030}% U+02D8 |
| 20061 |
% U+02C7 CARON; caron |
| 20062 |
\DeclareTextCommand{\textasciicaron}{PD1}{\031}% U+02C7 |
| 20063 |
% U+02C6 MODIFIER LETTER CIRCUMFLEX ACCENT; circumflex |
| 20064 |
\DeclareTextCommand{\textcircumflex}{PD1}{\032}% U+02C6 |
| 20065 |
% U+02D9 DOT ABOVE; dotaccent |
| 20066 |
\DeclareTextCommand{\textdotaccent}{PD1}{\033}% U+02D9 |
| 20067 |
% U+02DD DOUBLE ACUTE ACCENT; hungarumlaut |
| 20068 |
\DeclareTextCommand{\texthungarumlaut}{PD1}{\034}% U+02DD |
| 20069 |
% U+02DB OGONEK; ogonek |
| 20070 |
\DeclareTextCommand{\textogonek}{PD1}{\035}% U+02DB |
| 20071 |
% U+02DA RING ABOVE; ring |
| 20072 |
\DeclareTextCommand{\textring}{PD1}{\036}% U+02DA |
| 20073 |
% U+02DC SMALL TILDE; ilde, *tilde |
| 20074 |
\DeclareTextCommand{\texttilde}{PD1}{\037}% U+02DC |
| 20075 |
% \end{macrocode} |
| 20076 |
% \cs{040}: U+0020 SPACE; *space, spacehackarabic\\ |
| 20077 |
% \cs{041}: U+0021 EXCLAMATION MARK; exclam |
| 20078 |
% \begin{macrocode} |
| 20079 |
% U+0022 QUOTATION MARK; quotedbl |
| 20080 |
\DeclareTextCommand{\textquotedbl}{PD1}{"}% \042 U+0022 |
| 20081 |
% U+0023 NUMBER SIGN; numbersign |
| 20082 |
\DeclareTextCommand{\textnumbersign}{PD1}{\043}% U+0023 |
| 20083 |
% U+0024 DOLLAR SIGN; dollar |
| 20084 |
\DeclareTextCommand{\textdollar}{PD1}{\044}% U+0024 |
| 20085 |
% U+0025 PERCENT SIGN; percent |
| 20086 |
\DeclareTextCommand{\textpercent}{PD1}{\045}% U+0025 |
| 20087 |
% U+0026 AMPERSAND; ampersand |
| 20088 |
\DeclareTextCommand{\textampersand}{PD1}{\046}% U+0026 |
| 20089 |
% \end{macrocode} |
| 20090 |
% \cs{047}: U+0027 APOSTROPHE; quotesingle\\ |
| 20091 |
% \begin{macrocode} |
| 20092 |
% U+0028 LEFT PARENTHESIS; parenleft |
| 20093 |
\DeclareTextCommand{\textparenleft}{PD1}{\string\(}% \050 U+0028 |
| 20094 |
% U+0029 RIGHT PARENTHESIS; parenright |
| 20095 |
\DeclareTextCommand{\textparenright}{PD1}{\string\)}% \051 U+0029 |
| 20096 |
% \end{macrocode} |
| 20097 |
% \cs{052}: U+002A ASTERISK; asterisk\\ |
| 20098 |
% \cs{053}: U+002B PLUS SIGN; plus\\ |
| 20099 |
% \cs{054}: U+002C COMMA; comma\\ |
| 20100 |
% \cs{055}: U+002D HYPHEN-MINUS; hyphen\\ |
| 20101 |
% \cs{056}: U+002E FULL STOP; period |
| 20102 |
% \begin{macrocode} |
| 20103 |
% U+002E FULL STOP; period |
| 20104 |
\DeclareTextCommand{\textdotbelow}{PD1}{.}% \056 U+002E |
| 20105 |
% \end{macrocode} |
| 20106 |
% \cs{057}: % U+002F SOLIDUS; slash\\ |
| 20107 |
% \cs{060}: U+0030 DIGIT ZERO; zero\\ |
| 20108 |
% \dots\\ |
| 20109 |
% \cs{071}: U+0039 DIGIT NINE; nine\\ |
| 20110 |
% \cs{072}: U+003A COLON; colon\\ |
| 20111 |
% \cs{073}: U+003B SEMICOLON; semicolon |
| 20112 |
% \begin{macrocode} |
| 20113 |
% U+003C LESS-THAN SIGN; less |
| 20114 |
\DeclareTextCommand{\textless}{PD1}{<}% \074 U+003C |
| 20115 |
% \end{macrocode} |
| 20116 |
% \cs{075}: U+003D EQUALS SIGN; equal |
| 20117 |
% \begin{macrocode} |
| 20118 |
% U+003E GREATER-THAN SIGN; greater |
| 20119 |
\DeclareTextCommand{\textgreater}{PD1}{>}% \076 U+003E |
| 20120 |
% \end{macrocode} |
| 20121 |
% \cs{077}: U+003F QUESTION MARK; question\\ |
| 20122 |
% \cs{100}: U+0040 COMMERCIAL AT; at\\ |
| 20123 |
% \cs{101}: U+0041 LATIN CAPITAL LETTER A; A\\ |
| 20124 |
% \dots\\ |
| 20125 |
% \cs{132}: U+005A LATIN CAPITAL LETTER Z; Z\\ |
| 20126 |
% \cs{133}: U+005B LEFT SQUARE BRACKET; bracketleft |
| 20127 |
% \begin{macrocode} |
| 20128 |
% U+005C REVERSE SOLIDUS; backslash |
| 20129 |
\DeclareTextCommand{\textbackslash}{PD1}{\134}% U+005C |
| 20130 |
% "U+2216 SET MINUS" simulated by "U+005C REVERSE SOLIDUS" |
| 20131 |
\DeclareTextCommand{\textsetminus}{PD1}{\textbackslash} |
| 20132 |
% \end{macrocode} |
| 20133 |
% \cs{135}: U+005D RIGHT SQUARE BRACKET; bracketright |
| 20134 |
% \begin{macrocode} |
| 20135 |
% U+005E CIRCUMFLEX ACCENT; asciicircum |
| 20136 |
\DeclareTextCommand{\textasciicircum}{PD1}{\136}% U+005E |
| 20137 |
% U+005F LOW LINE; underscore |
| 20138 |
\DeclareTextCommand{\textunderscore}{PD1}{\137}% U+005F |
| 20139 |
\DeclareTextCommand{\textmacronbelow}{PD1}{\137}% U+005F |
| 20140 |
% U+0060 GRAVE ACCENT; grave |
| 20141 |
\DeclareTextCommand{\textasciigrave}{PD1}{\140}% U+0060 |
| 20142 |
% \end{macrocode} |
| 20143 |
% \cs{141}: U+0061 LATIN SMALL LETTER A; a\\ |
| 20144 |
% \dots\\ |
| 20145 |
% \cs{150}: U+0068 LATIN SMALL LETTER H; h |
| 20146 |
% \begin{macrocode} |
| 20147 |
% U+0069 LATIN SMALL LETTER I; i |
| 20148 |
\DeclareTextCompositeCommand{\.}{PD1}{i}{i}% \151 U+0069 |
| 20149 |
% \end{macrocode} |
| 20150 |
% \cs{152}: U+006A LATIN SMALL LETTER J; j\\ |
| 20151 |
% \dots\\ |
| 20152 |
% \cs{172}: U+007A LATIN SMALL LETTER Z; z |
| 20153 |
% \begin{macrocode} |
| 20154 |
% U+007B LEFT CURLY BRACKET; braceleft |
| 20155 |
\DeclareTextCommand{\textbraceleft}{PD1}{\173}% U+007B |
| 20156 |
% U+007C VERTICAL LINE; *bar, verticalbar |
| 20157 |
\DeclareTextCommand{\textbar}{PD1}{|}% U+007C |
| 20158 |
% U+007D RIGHT CURLY BRACKET; braceright |
| 20159 |
\DeclareTextCommand{\textbraceright}{PD1}{\175}% U+007D |
| 20160 |
% U+007E TILDE; asciitilde |
| 20161 |
\DeclareTextCommand{\textasciitilde}{PD1}{\176}% U+007E |
| 20162 |
% \end{macrocode} |
| 20163 |
% Slot \cs{177} (0x7F) is undefined in PDFDocEncoding. |
| 20164 |
% \begin{macrocode} |
| 20165 |
% U+2022 BULLET; bullet |
| 20166 |
\DeclareTextCommand{\textbullet}{PD1}{\200}% U+2022 |
| 20167 |
% U+2020 DAGGER; dagger |
| 20168 |
\DeclareTextCommand{\textdagger}{PD1}{\201}% U+2020 |
| 20169 |
% U+2021 DOUBLE DAGGER; daggerdbl; \ddagger (LaTeX) |
| 20170 |
\DeclareTextCommand{\textdaggerdbl}{PD1}{\202}% U+2021 |
| 20171 |
\DeclareTextCommand{\textddagger}{PD1}{\textdaggerdbl} |
| 20172 |
% U+2026 HORIZONTAL ELLIPSIS; ellipsis |
| 20173 |
\DeclareTextCommand{\textellipsis}{PD1}{\203}% U+2026 |
| 20174 |
% U+2014 EM DASH; emdash |
| 20175 |
\DeclareTextCommand{\textemdash}{PD1}{\204}% U+2014 |
| 20176 |
% U+2013 EN DASH; endash |
| 20177 |
\DeclareTextCommand{\textendash}{PD1}{\205}% U+2013 |
| 20178 |
% U+0192 LATIN SMALL LETTER F WITH HOOK; florin |
| 20179 |
\DeclareTextCommand{\textflorin}{PD1}{\206}% U+0192 |
| 20180 |
% U+2044 FRACTION SLASH; fraction |
| 20181 |
\DeclareTextCommand{\textfractionsolidus}{PD1}{\207}% U+2044 |
| 20182 |
% U+2039 SINGLE LEFT-POINTING ANGLE QUOTATION MARK; guilsinglleft |
| 20183 |
\DeclareTextCommand{\guilsinglleft}{PD1}{\210}% U+2039 |
| 20184 |
% U+203A SINGLE RIGHT-POINTING ANGLE QUOTATION MARK; guilsinglright |
| 20185 |
\DeclareTextCommand{\guilsinglright}{PD1}{\211}% U+203A |
| 20186 |
% U+2212 MINUS SIGN; minus |
| 20187 |
\DeclareTextCommand{\textminus}{PD1}{\212}% U+2212 |
| 20188 |
% U+2030 PER MILLE SIGN; perthousand |
| 20189 |
\DeclareTextCommand{\textperthousand}{PD1}{\213}% U+2030 |
| 20190 |
% U+201E DOUBLE LOW-9 QUOTATION MARK; quotedblbase |
| 20191 |
\DeclareTextCommand{\quotedblbase}{PD1}{\214}% U+201E |
| 20192 |
% U+201C LEFT DOUBLE QUOTATION MARK; quotedblleft |
| 20193 |
\DeclareTextCommand{\textquotedblleft}{PD1}{\215}% U+201C |
| 20194 |
% U+201D RIGHT DOUBLE QUOTATION MARK; quotedblright |
| 20195 |
\DeclareTextCommand{\textquotedblright}{PD1}{\216}% U+201D |
| 20196 |
% U+2018 LEFT SINGLE QUOTATION MARK; quoteleft |
| 20197 |
\DeclareTextCommand{\textquoteleft}{PD1}{\217}% U+2018 |
| 20198 |
% U+2019 RIGHT SINGLE QUOTATION MARK; quoteright |
| 20199 |
\DeclareTextCommand{\textquoteright}{PD1}{\220}% U+2019 |
| 20200 |
% U+201A SINGLE LOW-9 QUOTATION MARK; quotesinglbase |
| 20201 |
\DeclareTextCommand{\quotesinglbase}{PD1}{\221}% U+201A |
| 20202 |
% U+2122 TRADE MARK SIGN; trademark |
| 20203 |
\DeclareTextCommand{\texttrademark}{PD1}{\222}% U+2122 |
| 20204 |
% U+FB01 LATIN SMALL LIGATURE FI; fi |
| 20205 |
\DeclareTextCommand{\textfi}{PD1}{\223}% U+FB01 |
| 20206 |
% U+FB02 LATIN SMALL LIGATURE FL; fl |
| 20207 |
\DeclareTextCommand{\textfl}{PD1}{\224}% U+FB02 |
| 20208 |
% U+0141 LATIN CAPITAL LETTER L WITH STROKE; Lslash |
| 20209 |
\DeclareTextCommand{\L}{PD1}{\225}% U+0141 |
| 20210 |
% U+0152 LATIN CAPITAL LIGATURE OE; OE |
| 20211 |
\DeclareTextCommand{\OE}{PD1}{\226}% U+0152 |
| 20212 |
% U+0160 LATIN CAPITAL LETTER S WITH CARON; Scaron |
| 20213 |
\DeclareTextCompositeCommand{\v}{PD1}{S}{\227}% U+0160 |
| 20214 |
% U+0178 LATIN CAPITAL LETTER Y WITH DIAERESIS; Ydieresis |
| 20215 |
\DeclareTextCompositeCommand{\"}{PD1}{Y}{\230}% U+0178 |
| 20216 |
\DeclareTextCommand{\IJ}{PD1}{IJ}% ligature U+0049 U+004A |
| 20217 |
% U+017D LATIN CAPITAL LETTER Z WITH CARON; Zcaron |
| 20218 |
\DeclareTextCompositeCommand{\v}{PD1}{Z}{\231}% U+017D |
| 20219 |
% U+0131 LATIN SMALL LETTER DOTLESS I; dotlessi |
| 20220 |
\DeclareTextCommand{\i}{PD1}{\232}% U+0131 |
| 20221 |
% U+0142 LATIN SMALL LETTER L WITH STROKE; lslash |
| 20222 |
\DeclareTextCommand{\l}{PD1}{\233}% U+0142 |
| 20223 |
% U+0153 LATIN SMALL LIGATURE OE; oe |
| 20224 |
\DeclareTextCommand{\oe}{PD1}{\234}% U+0153 |
| 20225 |
% U+0161 LATIN SMALL LETTER S WITH CARON; scaron |
| 20226 |
\DeclareTextCompositeCommand{\v}{PD1}{s}{\235}% U+0161 |
| 20227 |
% U+017E LATIN SMALL LETTER Z WITH CARON; zcaron |
| 20228 |
\DeclareTextCompositeCommand{\v}{PD1}{z}{\236}% U+017E |
| 20229 |
% \end{macrocode} |
| 20230 |
% Slot \cs{237} (0x9F) is not defined in PDFDocEncoding.\\ |
| 20231 |
% The euro \cs{240} is inserted in version 1.3 of the pdf |
| 20232 |
% specification. |
| 20233 |
% \begin{macrocode} |
| 20234 |
% U+20AC EURO SIGN; *Euro, euro |
| 20235 |
\DeclareTextCommand{\texteuro}{PD1}{\240}% U+20AC |
| 20236 |
% U+00A1 INVERTED EXCLAMATION MARK; exclamdown |
| 20237 |
\DeclareTextCommand{\textexclamdown}{PD1}{\241}% U+00A1 |
| 20238 |
% U+00A2 CENT SIGN; cent |
| 20239 |
\DeclareTextCommand{\textcent}{PD1}{\242}% U+00A2 |
| 20240 |
% U+00A3 POUND SIGN; sterling |
| 20241 |
\DeclareTextCommand{\textsterling}{PD1}{\243}% U+00A3 |
| 20242 |
% U+00A4 CURRENCY SIGN; currency |
| 20243 |
\DeclareTextCommand{\textcurrency}{PD1}{\244}% U+00A4 |
| 20244 |
% U+00A5 YEN SIGN; yen |
| 20245 |
\DeclareTextCommand{\textyen}{PD1}{\245}% U+00A5 |
| 20246 |
% U+00A6 BROKEN BAR; brokenbar |
| 20247 |
\DeclareTextCommand{\textbrokenbar}{PD1}{\246}% U+00A6 |
| 20248 |
% U+00A7 SECTION SIGN; section |
| 20249 |
\DeclareTextCommand{\textsection}{PD1}{\247}% U+00A7 |
| 20250 |
% U+00A8 DIAERESIS; dieresis |
| 20251 |
\DeclareTextCommand{\textasciidieresis}{PD1}{\250}% U+00A8 |
| 20252 |
% U+00A9 COPYRIGHT SIGN; copyright |
| 20253 |
\DeclareTextCommand{\textcopyright}{PD1}{\251}% U+00A9 |
| 20254 |
% U+00AA FEMININE ORDINAL INDICATOR; ordfeminine |
| 20255 |
\DeclareTextCommand{\textordfeminine}{PD1}{\252}% U+00AA |
| 20256 |
% U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetleft |
| 20257 |
\DeclareTextCommand{\guillemotleft}{PD1}{\253}% U+00AB |
| 20258 |
\DeclareTextCommand{\guillemetleft}{PD1}{\253}% U+00AB |
| 20259 |
% U+00AC NOT SIGN; logicalnot |
| 20260 |
\DeclareTextCommand{\textlogicalnot}{PD1}{\254}% U+00AC |
| 20261 |
\DeclareTextCommand{\textlnot}{PD1}{\254}% logical not |
| 20262 |
% \end{macrocode} |
| 20263 |
% No glyph \cs{255} in PDFDocEncoding. |
| 20264 |
% \begin{macrocode} |
| 20265 |
% U+00AE REGISTERED SIGN; registered |
| 20266 |
\DeclareTextCommand{\textregistered}{PD1}{\256}% U+00AE |
| 20267 |
% U+00AF MACRON; *macron, overscore |
| 20268 |
\DeclareTextCommand{\textasciimacron}{PD1}{\257}% U+00AF |
| 20269 |
% U+00B0 DEGREE SIGN; degree |
| 20270 |
\DeclareTextCommand{\textdegree}{PD1}{\260}% U+00B0 |
| 20271 |
% U+00B1 PLUS-MINUS SIGN; plusminus |
| 20272 |
\DeclareTextCommand{\textplusminus}{PD1}{\261}% U+00B1 |
| 20273 |
% U+00B2 SUPERSCRIPT TWO; twosuperior |
| 20274 |
\DeclareTextCommand{\texttwosuperior}{PD1}{\262}%* U+00B2 |
| 20275 |
% U+00B3 SUPERSCRIPT THREE; threesuperior |
| 20276 |
\DeclareTextCommand{\textthreesuperior}{PD1}{\263}%* U+00B3 |
| 20277 |
% U+00B4 ACUTE ACCENT; acute |
| 20278 |
\DeclareTextCommand{\textacute}{PD1}{\264}% U+00B4 |
| 20279 |
% U+00B5 MICRO SIGN; mu, mu1 |
| 20280 |
\DeclareTextCommand{\textmu}{PD1}{\265}% U+00B5 |
| 20281 |
% U+00B6 PILCROW SIGN; paragraph |
| 20282 |
\DeclareTextCommand{\textparagraph}{PD1}{\266}% U+00B6 |
| 20283 |
% U+00B7 MIDDLE DOT; middot, *periodcentered |
| 20284 |
\DeclareTextCommand{\textperiodcentered}{PD1}{\267}% U+00B7 |
| 20285 |
% U+00B8 CEDILLA; cedilla |
| 20286 |
\DeclareTextCommand{\textcedilla}{PD1}{\270}% U+00B8 |
| 20287 |
% U+00B9 SUPERSCRIPT ONE; onesuperior |
| 20288 |
\DeclareTextCommand{\textonesuperior}{PD1}{\271}%* U+00B9 |
| 20289 |
% U+00BA MASCULINE ORDINAL INDICATOR; ordmasculine |
| 20290 |
\DeclareTextCommand{\textordmasculine}{PD1}{\272}% U+00BA |
| 20291 |
% U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetright |
| 20292 |
\DeclareTextCommand{\guillemotright}{PD1}{\273}% U+00BB |
| 20293 |
\DeclareTextCommand{\guillemetright}{PD1}{\273}% U+00BB |
| 20294 |
% U+00BC VULGAR FRACTION ONE QUARTER; onequarter |
| 20295 |
\DeclareTextCommand{\textonequarter}{PD1}{\274}% U+00BC |
| 20296 |
% U+00BD VULGAR FRACTION ONE HALF; onehalf |
| 20297 |
\DeclareTextCommand{\textonehalf}{PD1}{\275}% U+00BD |
| 20298 |
% U+00BE VULGAR FRACTION THREE QUARTERS; threequarters |
| 20299 |
\DeclareTextCommand{\textthreequarters}{PD1}{\276}% U+00BE |
| 20300 |
% U+00BF INVERTED QUESTION MARK; questiondown |
| 20301 |
\DeclareTextCommand{\textquestiondown}{PD1}{\277}% U+00BF |
| 20302 |
% U+00C0 LATIN CAPITAL LETTER A WITH GRAVE; Agrave |
| 20303 |
\DeclareTextCompositeCommand{\`}{PD1}{A}{\300}% U+00C0 |
| 20304 |
% U+00C1 LATIN CAPITAL LETTER A WITH ACUTE; Aacute |
| 20305 |
\DeclareTextCompositeCommand{\'}{PD1}{A}{\301}% U+00C1 |
| 20306 |
% U+00C2 LATIN CAPITAL LETTER A WITH CIRCUMFLEX; Acircumflex |
| 20307 |
\DeclareTextCompositeCommand{\^}{PD1}{A}{\302}% U+00C2 |
| 20308 |
% U+00C3 LATIN CAPITAL LETTER A WITH TILDE; Atilde |
| 20309 |
\DeclareTextCompositeCommand{\~}{PD1}{A}{\303}% U+00C3 |
| 20310 |
% U+00C4 LATIN CAPITAL LETTER A WITH DIAERESIS; Adieresis |
| 20311 |
\DeclareTextCompositeCommand{\"}{PD1}{A}{\304}% U+00C4 |
| 20312 |
% U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE; Aring |
| 20313 |
\DeclareTextCompositeCommand{\r}{PD1}{A}{\305}% U+00C5 |
| 20314 |
% U+00C6 LATIN CAPITAL LETTER AE; AE |
| 20315 |
\DeclareTextCommand{\AE}{PD1}{\306}% U+00C6 |
| 20316 |
% U+00C7 LATIN CAPITAL LETTER C WITH CEDILLA; Ccedilla |
| 20317 |
\DeclareTextCompositeCommand{\c}{PD1}{C}{\307}% U+00C7 |
| 20318 |
% U+00C8 LATIN CAPITAL LETTER E WITH GRAVE; Egrave |
| 20319 |
\DeclareTextCompositeCommand{\`}{PD1}{E}{\310}% U+00C8 |
| 20320 |
% U+00C9 LATIN CAPITAL LETTER E WITH ACUTE; Eacute |
| 20321 |
\DeclareTextCompositeCommand{\'}{PD1}{E}{\311}% U+00C9 |
| 20322 |
% U+00CA LATIN CAPITAL LETTER E WITH CIRCUMFLEX; Ecircumflex |
| 20323 |
\DeclareTextCompositeCommand{\^}{PD1}{E}{\312}% U+00CA |
| 20324 |
% U+00CB LATIN CAPITAL LETTER E WITH DIAERESIS; Edieresis |
| 20325 |
\DeclareTextCompositeCommand{\"}{PD1}{E}{\313}% U+00CB |
| 20326 |
% U+00CC LATIN CAPITAL LETTER I WITH GRAVE; Igrave |
| 20327 |
\DeclareTextCompositeCommand{\`}{PD1}{I}{\314}% U+00CC |
| 20328 |
% U+00CD LATIN CAPITAL LETTER I WITH ACUTE; Iacute |
| 20329 |
\DeclareTextCompositeCommand{\'}{PD1}{I}{\315}% U+00CD |
| 20330 |
% U+00CE LATIN CAPITAL LETTER I WITH CIRCUMFLEX; Icircumflex |
| 20331 |
\DeclareTextCompositeCommand{\^}{PD1}{I}{\316}% U+00CE |
| 20332 |
% U+00CF LATIN CAPITAL LETTER I WITH DIAERESIS; Idieresis |
| 20333 |
\DeclareTextCompositeCommand{\"}{PD1}{I}{\317}% U+00CF |
| 20334 |
% U+00D0 LATIN CAPITAL LETTER ETH; Eth |
| 20335 |
\DeclareTextCommand{\DH}{PD1}{\320}% U+00D0 |
| 20336 |
\DeclareTextCommand{\DJ}{PD1}{\320}% U+00D0 |
| 20337 |
% U+00D1 LATIN CAPITAL LETTER N WITH TILDE; Ntilde |
| 20338 |
\DeclareTextCompositeCommand{\~}{PD1}{N}{\321}% U+00D1 |
| 20339 |
% U+00D2 LATIN CAPITAL LETTER O WITH GRAVE; Ograve |
| 20340 |
\DeclareTextCompositeCommand{\`}{PD1}{O}{\322}% U+00D2 |
| 20341 |
% U+00D3 LATIN CAPITAL LETTER O WITH ACUTE; Oacute |
| 20342 |
\DeclareTextCompositeCommand{\'}{PD1}{O}{\323}% U+00D3 |
| 20343 |
% U+00D4 LATIN CAPITAL LETTER O WITH CIRCUMFLEX; Ocircumflex |
| 20344 |
\DeclareTextCompositeCommand{\^}{PD1}{O}{\324}% U+00D4 |
| 20345 |
% U+00D5 LATIN CAPITAL LETTER O WITH TILDE; Otilde |
| 20346 |
\DeclareTextCompositeCommand{\~}{PD1}{O}{\325}% U+00D5 |
| 20347 |
% U+00D6 LATIN CAPITAL LETTER O WITH DIAERESIS; Odieresis |
| 20348 |
\DeclareTextCompositeCommand{\"}{PD1}{O}{\326}% U+00D6 |
| 20349 |
% U+00D7 MULTIPLICATION SIGN; multiply |
| 20350 |
\DeclareTextCommand{\textmultiply}{PD1}{\327}% U+00D7 |
| 20351 |
% U+00D8 LATIN CAPITAL LETTER O WITH STROKE; Oslash |
| 20352 |
\DeclareTextCommand{\O}{PD1}{\330}% U+00D8 |
| 20353 |
% U+00D9 LATIN CAPITAL LETTER U WITH GRAVE; Ugrave |
| 20354 |
\DeclareTextCompositeCommand{\`}{PD1}{U}{\331}% U+00D9 |
| 20355 |
% U+00DA LATIN CAPITAL LETTER U WITH ACUTE; Uacute |
| 20356 |
\DeclareTextCompositeCommand{\'}{PD1}{U}{\332}% U+00DA |
| 20357 |
% U+00DB LATIN CAPITAL LETTER U WITH CIRCUMFLEX; Ucircumflex |
| 20358 |
\DeclareTextCompositeCommand{\^}{PD1}{U}{\333}% U+00DB |
| 20359 |
% U+00DC LATIN CAPITAL LETTER U WITH DIAERESIS; Udieresis |
| 20360 |
\DeclareTextCompositeCommand{\"}{PD1}{U}{\334}% U+00DC |
| 20361 |
% U+00DD LATIN CAPITAL LETTER Y WITH ACUTE; Yacute |
| 20362 |
\DeclareTextCompositeCommand{\'}{PD1}{Y}{\335}% U+00DD |
| 20363 |
% U+00DE LATIN CAPITAL LETTER THORN; Thorn; \TH, \Thorn (wasysym) |
| 20364 |
\DeclareTextCommand{\TH}{PD1}{\336}% U+00DE |
| 20365 |
\DeclareTextCommand{\textThorn}{PD1}{\336}%* U+00DE |
| 20366 |
% U+00DF LATIN SMALL LETTER SHARP S; germandbls |
| 20367 |
\DeclareTextCommand{\ss}{PD1}{\337}% U+00DF |
| 20368 |
% U+00E0 LATIN SMALL LETTER A WITH GRAVE; agrave |
| 20369 |
\DeclareTextCompositeCommand{\`}{PD1}{a}{\340}% U+00E0 |
| 20370 |
% U+00E1 LATIN SMALL LETTER A WITH ACUTE; aacute |
| 20371 |
\DeclareTextCompositeCommand{\'}{PD1}{a}{\341}% U+00E1 |
| 20372 |
% U+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX; acircumflex |
| 20373 |
\DeclareTextCompositeCommand{\^}{PD1}{a}{\342}% U+00E2 |
| 20374 |
% U+00E3 LATIN SMALL LETTER A WITH TILDE; atilde |
| 20375 |
\DeclareTextCompositeCommand{\~}{PD1}{a}{\343}% U+00E3 |
| 20376 |
% U+00E4 LATIN SMALL LETTER A WITH DIAERESIS; adieresis |
| 20377 |
\DeclareTextCompositeCommand{\"}{PD1}{a}{\344}% U+00E4 |
| 20378 |
% U+00E5 LATIN SMALL LETTER A WITH RING ABOVE; aring |
| 20379 |
\DeclareTextCompositeCommand{\r}{PD1}{a}{\345}% U+00E5 |
| 20380 |
% U+00E6 LATIN SMALL LETTER AE; ae |
| 20381 |
\DeclareTextCommand{\ae}{PD1}{\346}% U+00E6 |
| 20382 |
% U+00E7 LATIN SMALL LETTER C WITH CEDILLA; ccedilla |
| 20383 |
\DeclareTextCompositeCommand{\c}{PD1}{c}{\347}% U+00E7 |
| 20384 |
% U+00E8 LATIN SMALL LETTER E WITH GRAVE; egrave |
| 20385 |
\DeclareTextCompositeCommand{\`}{PD1}{e}{\350}% U+00E8 |
| 20386 |
% U+00E9 LATIN SMALL LETTER E WITH ACUTE; eacute |
| 20387 |
\DeclareTextCompositeCommand{\'}{PD1}{e}{\351}% U+00E9 |
| 20388 |
% U+00EA LATIN SMALL LETTER E WITH CIRCUMFLEX; ecircumflex |
| 20389 |
\DeclareTextCompositeCommand{\^}{PD1}{e}{\352}% U+00EA |
| 20390 |
% U+00EB LATIN SMALL LETTER E WITH DIAERESIS; edieresis |
| 20391 |
\DeclareTextCompositeCommand{\"}{PD1}{e}{\353}% U+00EB |
| 20392 |
% U+00EC LATIN SMALL LETTER I WITH GRAVE; igrave |
| 20393 |
\DeclareTextCompositeCommand{\`}{PD1}{i}{\354}% U+00EC |
| 20394 |
\DeclareTextCompositeCommand{\`}{PD1}{\i}{\354}% U+00EC |
| 20395 |
% U+00ED LATIN SMALL LETTER I WITH ACUTE; iacute |
| 20396 |
\DeclareTextCompositeCommand{\'}{PD1}{i}{\355}% U+00ED |
| 20397 |
\DeclareTextCompositeCommand{\'}{PD1}{\i}{\355}% U+00ED |
| 20398 |
% U+00EE LATIN SMALL LETTER I WITH CIRCUMFLEX; icircumflex |
| 20399 |
\DeclareTextCompositeCommand{\^}{PD1}{i}{\356}% U+00EE |
| 20400 |
\DeclareTextCompositeCommand{\^}{PD1}{\i}{\356}% U+00EE |
| 20401 |
% U+00EF LATIN SMALL LETTER I WITH DIAERESIS; idieresis |
| 20402 |
\DeclareTextCompositeCommand{\"}{PD1}{i}{\357}% U+00EF |
| 20403 |
\DeclareTextCompositeCommand{\"}{PD1}{\i}{\357}% U+00EF |
| 20404 |
% U+00F0 LATIN SMALL LETTER ETH; eth |
| 20405 |
\DeclareTextCommand{\dh}{PD1}{\360}% U+00F0 |
| 20406 |
% U+00F1 LATIN SMALL LETTER N WITH TILDE; ntilde |
| 20407 |
\DeclareTextCompositeCommand{\~}{PD1}{n}{\361}% U+00F1 |
| 20408 |
% U+00F2 LATIN SMALL LETTER O WITH GRAVE; ograve |
| 20409 |
\DeclareTextCompositeCommand{\`}{PD1}{o}{\362}% U+00F2 |
| 20410 |
% U+00F3 LATIN SMALL LETTER O WITH ACUTE; oacute |
| 20411 |
\DeclareTextCompositeCommand{\'}{PD1}{o}{\363}% U+00F3 |
| 20412 |
% U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX; ocircumflex |
| 20413 |
\DeclareTextCompositeCommand{\^}{PD1}{o}{\364}% U+00F4 |
| 20414 |
% U+00F5 LATIN SMALL LETTER O WITH TILDE; otilde |
| 20415 |
\DeclareTextCompositeCommand{\~}{PD1}{o}{\365}% U+00F5 |
| 20416 |
% U+00F6 LATIN SMALL LETTER O WITH DIAERESIS; odieresis |
| 20417 |
\DeclareTextCompositeCommand{\"}{PD1}{o}{\366}% U+00F6 |
| 20418 |
% U+00F7 DIVISION SIGN; divide |
| 20419 |
\DeclareTextCommand{\textdivide}{PD1}{\367}% U+00F7 |
| 20420 |
% U+00F8 LATIN SMALL LETTER O WITH STROKE; oslash |
| 20421 |
\DeclareTextCommand{\o}{PD1}{\370}% U+00F8 |
| 20422 |
% U+00F9 LATIN SMALL LETTER U WITH GRAVE; ugrave |
| 20423 |
\DeclareTextCompositeCommand{\`}{PD1}{u}{\371}% U+00F9 |
| 20424 |
% U+00FA LATIN SMALL LETTER U WITH ACUTE; uacute |
| 20425 |
\DeclareTextCompositeCommand{\'}{PD1}{u}{\372}% U+00FA |
| 20426 |
% U+00FB LATIN SMALL LETTER U WITH CIRCUMFLEX; ucircumflex |
| 20427 |
\DeclareTextCompositeCommand{\^}{PD1}{u}{\373}% U+00FB |
| 20428 |
% U+00FC LATIN SMALL LETTER U WITH DIAERESIS; udieresis |
| 20429 |
\DeclareTextCompositeCommand{\"}{PD1}{u}{\374}% U+00FC |
| 20430 |
% U+00FD LATIN SMALL LETTER Y WITH ACUTE; yacute |
| 20431 |
\DeclareTextCompositeCommand{\'}{PD1}{y}{\375}% U+00FD |
| 20432 |
% U+00FE LATIN SMALL LETTER THORN; thorn; \th, \thorn (wasysym) |
| 20433 |
\DeclareTextCommand{\th}{PD1}{\376}% U+00FE |
| 20434 |
\DeclareTextCommand{\textthorn}{PD1}{\376}%* U+00FE |
| 20435 |
% U+00FF LATIN SMALL LETTER Y WITH DIAERESIS; ydieresis |
| 20436 |
\DeclareTextCompositeCommand{\"}{PD1}{y}{\377}% U+00FF |
| 20437 |
\DeclareTextCommand{\ij}{PD1}{ij}% ligature U+0069 U+006A |
| 20438 |
% \end{macrocode} |
| 20439 |
% Glyphs that consist of several characters. |
| 20440 |
% \begin{macrocode} |
| 20441 |
\DeclareTextCommand{\SS}{PD1}{SS}% |
| 20442 |
\DeclareTextCommand{\textcelsius}{PD1}{\textdegree C}% |
| 20443 |
% \end{macrocode} |
| 20444 |
% Aliases (german.sty) |
| 20445 |
% \begin{macrocode} |
| 20446 |
\DeclareTextCommand{\textglqq}{PD1}{\quotedblbase}% |
| 20447 |
\DeclareTextCommand{\textgrqq}{PD1}{\textquotedblleft}% |
| 20448 |
\DeclareTextCommand{\textglq}{PD1}{\quotesinglbase}% |
| 20449 |
\DeclareTextCommand{\textgrq}{PD1}{\textquoteleft}% |
| 20450 |
\DeclareTextCommand{\textflqq}{PD1}{\guillemetleft}% |
| 20451 |
\DeclareTextCommand{\textfrqq}{PD1}{\guillemetright}% |
| 20452 |
\DeclareTextCommand{\textflq}{PD1}{\guilsinglleft}% |
| 20453 |
\DeclareTextCommand{\textfrq}{PD1}{\guilsinglright}% |
| 20454 |
% \end{macrocode} |
| 20455 |
% Aliases (math names) |
| 20456 |
% \begin{macrocode} |
| 20457 |
\DeclareTextCommand{\textneg}{PD1}{\textlogicalnot}% |
| 20458 |
\DeclareTextCommand{\texttimes}{PD1}{\textmultiply}% |
| 20459 |
\DeclareTextCommand{\textdiv}{PD1}{\textdivide}% |
| 20460 |
\DeclareTextCommand{\textpm}{PD1}{\textplusminus}% |
| 20461 |
\DeclareTextCommand{\textcdot}{PD1}{\textperiodcentered}% |
| 20462 |
\DeclareTextCommand{\textbeta}{PD1}{\ss}% |
| 20463 |
% \end{macrocode} |
| 20464 |
% Polish aliases. PDF encoding does not have the characters, but it |
| 20465 |
% is useful to Poles to have the plain letters regardless. Requested by |
| 20466 |
% Wojciech Myszka (\Email{[email protected]}). |
| 20467 |
% \begin{macrocode} |
| 20468 |
\DeclareTextCompositeCommand{\k}{PD1}{a}{a}% aogonek |
| 20469 |
\DeclareTextCompositeCommand{\'}{PD1}{c}{c}% cacute |
| 20470 |
\DeclareTextCompositeCommand{\k}{PD1}{e}{e}% eogonek |
| 20471 |
\DeclareTextCompositeCommand{\'}{PD1}{n}{n}% nacute |
| 20472 |
\DeclareTextCompositeCommand{\'}{PD1}{s}{s}% sacute |
| 20473 |
\DeclareTextCompositeCommand{\'}{PD1}{z}{z}% zacute |
| 20474 |
\DeclareTextCompositeCommand{\.}{PD1}{z}{z}% zdot |
| 20475 |
% \end{macrocode} |
| 20476 |
% \begin{macrocode} |
| 20477 |
\DeclareTextCompositeCommand{\k}{PD1}{A}{A}% Aogonek |
| 20478 |
\DeclareTextCompositeCommand{\'}{PD1}{C}{C}% Cacute |
| 20479 |
\DeclareTextCompositeCommand{\k}{PD1}{E}{E}% Eogonek |
| 20480 |
\DeclareTextCompositeCommand{\'}{PD1}{N}{N}% Nacute |
| 20481 |
\DeclareTextCompositeCommand{\'}{PD1}{S}{S}% Sacute |
| 20482 |
\DeclareTextCompositeCommand{\'}{PD1}{Z}{Z}% Zacute |
| 20483 |
\DeclareTextCompositeCommand{\.}{PD1}{Z}{Z}% Zdot |
| 20484 |
% \end{macrocode} |
| 20485 |
% \begin{macrocode} |
| 20486 |
%</pd1enc> |
| 20487 |
% \end{macrocode} |
| 20488 |
% |
| 20489 |
% \subsection{PU encoding} |
| 20490 |
% \begin{macrocode} |
| 20491 |
%<*puenc> |
| 20492 |
\DeclareFontEncoding{PU}{}{} |
| 20493 |
% \end{macrocode} |
| 20494 |
% |
| 20495 |
% \subsubsection{NFSS2 accents} |
| 20496 |
% |
| 20497 |
% \begin{macrocode} |
| 20498 |
% U+0300 COMBINING GRAVE ACCENT; gravecmb, *gravecomb |
| 20499 |
\DeclareTextCommand{\`}{PU}[1]{#1\83\000}% U+0300 |
| 20500 |
% U+0301 COMBINING ACUTE ACCENT; acutecmb, *acutecomb |
| 20501 |
\DeclareTextCommand{\'}{PU}[1]{#1\83\001}% U+0301 |
| 20502 |
% U+0302 COMBINING CIRCUMFLEX ACCENT; circumflexcmb |
| 20503 |
\DeclareTextCommand{\^}{PU}[1]{#1\83\002}% U+0302 |
| 20504 |
% U+0303 COMBINING TILDE; tildecmb, *tildecomb |
| 20505 |
\DeclareTextCommand{\~}{PU}[1]{#1\83\003}% U+0303 |
| 20506 |
% U+0304 COMBINING MACRON; macroncmb |
| 20507 |
\DeclareTextCommand{\=}{PU}[1]{#1\83\004}% U+0304 |
| 20508 |
% U+0306 COMBINING BREVE; brevecmb |
| 20509 |
\DeclareTextCommand{\u}{PU}[1]{#1\83\006}% U+0306 |
| 20510 |
\ifx\CYRDZE\@undefined \else |
| 20511 |
\DeclareTextCommand{\U}{PU}[1]{#1\83\006}% U+0306 |
| 20512 |
\fi |
| 20513 |
% U+0307 COMBINING DOT ABOVE; dotaccentcmb |
| 20514 |
\DeclareTextCommand{\.}{PU}[1]{#1\83\007}% U+0307 |
| 20515 |
% U+0308 COMBINING DIAERESIS; dieresiscmb |
| 20516 |
\DeclareTextCommand{\"}{PU}[1]{#1\83\010}% U+0308 |
| 20517 |
% U+030A COMBINING RING ABOVE; ringcmb |
| 20518 |
\DeclareTextCommand{\r}{PU}[1]{#1\83\012}% U+030A |
| 20519 |
% U+030B COMBINING DOUBLE ACUTE ACCENT; hungarumlautcmb |
| 20520 |
\DeclareTextCommand{\H}{PU}[1]{#1\83\013}% U+030B |
| 20521 |
% U+030C COMBINING CARON; caroncmb |
| 20522 |
\DeclareTextCommand{\v}{PU}[1]{#1\83\014}% U+030C |
| 20523 |
%</puenc> |
| 20524 |
% U+030F COMBINING DOUBLE GRAVE ACCENT; dblgravecmb |
| 20525 |
%<puextra>\DeclareTextCommand{\G}{PU}[1]{#1\83\017}% U+030F |
| 20526 |
%<*puenc> |
| 20527 |
\ifx\CYRDZE\@undefined \else |
| 20528 |
\DeclareTextCommand{\C}{PU}[1]{#1\83\017}% U+030F |
| 20529 |
\fi |
| 20530 |
% U+0311 COMBINING INVERTED BREVE; breveinvertedcmb |
| 20531 |
\DeclareTextCommand{\textinvbreve}{PU}[1]{#1\83\021}% U+0311 |
| 20532 |
\DeclareTextCommand{\newtie}{PU}[1]{#1\83\021}% U+0311 |
| 20533 |
% U+0323 COMBINING DOT BELOW; dotbelowcmb, *dotbelowcomb |
| 20534 |
\DeclareTextCommand{\d}{PU}[1]{#1\83\043}% U+0323 |
| 20535 |
% U+0324 COMBINING DIAERESIS BELOW; dieresisbelowcmb; \textsubumlaut (tipa) |
| 20536 |
\DeclareTextCommand{\textsubumlaut}{PU}[1]{#1\83\044}% U+0324 |
| 20537 |
% U+0325 COMBINING RING BELOW; ringbelowcmb; \textsubring (tipa) |
| 20538 |
\DeclareTextCommand{\textsubring}{PU}[1]{#1\83\045}% U+0325 |
| 20539 |
% U+0327 COMBINING CEDILLA; cedillacmb |
| 20540 |
\DeclareTextCommand{\c}{PU}[1]{#1\83\047}% U+0327 |
| 20541 |
% U+0328 COMBINING OGONEK; ogonekcmb |
| 20542 |
\DeclareTextCommand{\k}{PU}[1]{#1\83\050}% U+0328 |
| 20543 |
% U+032D COMBINING CIRCUMFLEX ACCENT BELOW; |
| 20544 |
% \textsubcircum (tipa) |
| 20545 |
\DeclareTextCommand{\textsubcircum}{PU}[1]{#1\83\055}% U+032D |
| 20546 |
% U+032E COMBINING BREVE BELOW; brevebelowcmb |
| 20547 |
\DeclareTextCommand{\textsubbreve}{PU}[1]{#1\83\056}% U+032E |
| 20548 |
% U+0330 COMBINING TILDE BELOW; tildebelowcmb; \textsubtilde (tipa) |
| 20549 |
\DeclareTextCommand{\textsubtilde}{PU}[1]{#1\83\060}% U+0330 |
| 20550 |
% U+0331 COMBINING MACRON BELOW; macronbelowcmb |
| 20551 |
\DeclareTextCommand{\b}{PU}[1]{#1\83\061}% U+0331 |
| 20552 |
% U+0361 COMBINING DOUBLE INVERTED BREVE; breveinverteddoublecmb |
| 20553 |
\DeclareTextCommand{\t}{PU}[1]{#1\83\141}% U+0361 |
| 20554 |
% U+20DD COMBINING ENCLOSING CIRCLE |
| 20555 |
\DeclareTextCommand{\textcircled}{PU}[1]{#1\9040\335}% U+20DD |
| 20556 |
% \end{macrocode} |
| 20557 |
% |
| 20558 |
% Double accents. |
| 20559 |
% \begin{macrocode} |
| 20560 |
\DeclareTextCommand{\textacutemacron}{PU}[1]{#1\83\001\83\004}% U+0301 U+0304 |
| 20561 |
\DeclareTextCommand{\textgravemacron}{PU}[1]{#1\83\000\83\004}% U+0300 U+0304 |
| 20562 |
% \end{macrocode} |
| 20563 |
% |
| 20564 |
% \cs{@empty} is an artefact of the NFSS2 machinery, it |
| 20565 |
% gets inserted for empty arguments and spaces. |
| 20566 |
% \begin{macrocode} |
| 20567 |
\DeclareTextCompositeCommand{\`}{PU}{\@empty}{\textasciigrave}% |
| 20568 |
\DeclareTextCompositeCommand{\'}{PU}{\@empty}{\textacute}% |
| 20569 |
\DeclareTextCompositeCommand{\^}{PU}{\@empty}{\textasciicircum}% |
| 20570 |
\DeclareTextCompositeCommand{\~}{PU}{\@empty}{\texttilde}% |
| 20571 |
\DeclareTextCompositeCommand{\"}{PU}{\@empty}{\textasciidieresis}% |
| 20572 |
\DeclareTextCompositeCommand{\r}{PU}{\@empty}{\textring}% |
| 20573 |
\DeclareTextCompositeCommand{\v}{PU}{\@empty}{\textasciicaron}% |
| 20574 |
\DeclareTextCompositeCommand{\.}{PU}{\@empty}{\textdotaccent}% |
| 20575 |
\DeclareTextCompositeCommand{\c}{PU}{\@empty}{\textcedilla}% |
| 20576 |
\DeclareTextCompositeCommand{\u}{PU}{\@empty}{\textasciibreve}% |
| 20577 |
%</puenc> |
| 20578 |
%<puextra>\DeclareTextCompositeCommand{\G}{PU}{\@empty}{\textdoublegrave}% |
| 20579 |
%<*puenc> |
| 20580 |
\DeclareTextCompositeCommand{\=}{PU}{\@empty}{\textasciimacron}% |
| 20581 |
\DeclareTextCompositeCommand{\H}{PU}{\@empty}{\texthungarumlaut}% |
| 20582 |
\DeclareTextCompositeCommand{\k}{PU}{\@empty}{\textogonek}% |
| 20583 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{\@empty}{{ \83\021}}% U+0311 |
| 20584 |
\DeclareTextCompositeCommand{\textsubumlaut}{PU}{\@empty}{{ \83\044}}% U+0324 |
| 20585 |
\DeclareTextCompositeCommand{\textsubring}{PU}{\@empty}{\textringlow}% |
| 20586 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{\@empty}{\textcircumlow}% |
| 20587 |
\DeclareTextCompositeCommand{\textsubbreve}{PU}{\@empty}{{ \83\056}}% U+032E |
| 20588 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{\@empty}{\texttildelow}% |
| 20589 |
\DeclareTextCompositeCommand{\b}{PU}{\@empty}{\textmacronbelow}% |
| 20590 |
\DeclareTextCompositeCommand{\d}{PU}{\@empty}{\textdotbelow}% |
| 20591 |
\DeclareTextCompositeCommand{\t}{PU}{\@empty}{\texttie}% |
| 20592 |
\DeclareTextCompositeCommand{\newtie}{PU}{\@empty}{\textnewtie}% |
| 20593 |
\DeclareTextCompositeCommand{\textcircled}{PU}{\@empty}{\textbigcircle}% |
| 20594 |
\DeclareTextCompositeCommand{\textacutemacron}{PU}{\@empty}{{ \83\001\83\004}}% U+0301 U+0304 |
| 20595 |
\DeclareTextCompositeCommand{\textgravemacron}{PU}{\@empty}{{ \83\000\83\004}}% U+0300 U+0304 |
| 20596 |
% \end{macrocode} |
| 20597 |
% \begin{macrocode} |
| 20598 |
\DeclareTextCompositeCommand{\`}{PU}{\ }{\textasciigrave}% |
| 20599 |
\DeclareTextCompositeCommand{\'}{PU}{\ }{\textacute}% |
| 20600 |
\DeclareTextCompositeCommand{\^}{PU}{\ }{\textasciicircum}% |
| 20601 |
\DeclareTextCompositeCommand{\~}{PU}{\ }{\texttilde}% |
| 20602 |
\DeclareTextCompositeCommand{\"}{PU}{\ }{\textasciidieresis}% |
| 20603 |
\DeclareTextCompositeCommand{\r}{PU}{\ }{\textring}% |
| 20604 |
\DeclareTextCompositeCommand{\v}{PU}{\ }{\textasciicaron}% |
| 20605 |
\DeclareTextCompositeCommand{\.}{PU}{\ }{\textdotaccent}% |
| 20606 |
\DeclareTextCompositeCommand{\c}{PU}{\ }{\textcedilla}% |
| 20607 |
\DeclareTextCompositeCommand{\u}{PU}{\ }{\textasciibreve}% |
| 20608 |
%</puenc> |
| 20609 |
%<puextra>\DeclareTextCompositeCommand{\G}{PU}{\ }{\textdoublegrave}% |
| 20610 |
%<*puenc> |
| 20611 |
\DeclareTextCompositeCommand{\=}{PU}{\ }{\textasciimacron}% |
| 20612 |
\DeclareTextCompositeCommand{\H}{PU}{\ }{\texthungarumlaut}% |
| 20613 |
\DeclareTextCompositeCommand{\k}{PU}{\ }{\textogonek}% |
| 20614 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{\ }{{ \83\021}}% U+0311 |
| 20615 |
\DeclareTextCompositeCommand{\textsubumlaut}{PU}{\ }{{ \83\044}}% U+0324 |
| 20616 |
\DeclareTextCompositeCommand{\textsubring}{PU}{\ }{\textringlow}% |
| 20617 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{\ }{\textcircumlow}% |
| 20618 |
\DeclareTextCompositeCommand{\textsubbreve}{PU}{\ }{{ \83\056}}% U+032E |
| 20619 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{\ }{\texttildelow}% |
| 20620 |
\DeclareTextCompositeCommand{\b}{PU}{\ }{\textmacronbelow}% |
| 20621 |
\DeclareTextCompositeCommand{\d}{PU}{\ }{\textdotbelow}% |
| 20622 |
\DeclareTextCompositeCommand{\t}{PU}{\ }{\texttie}% |
| 20623 |
\DeclareTextCompositeCommand{\newtie}{PU}{\ }{\textnewtie}% |
| 20624 |
\DeclareTextCompositeCommand{\textcircled}{PU}{\ }{\textbigcircle}% |
| 20625 |
\DeclareTextCompositeCommand{\textacutemacron}{PU}{\ }{{ \83\001\83\004}}% U+0301 U+0304 |
| 20626 |
\DeclareTextCompositeCommand{\textgravemacron}{PU}{\ }{{ \83\000\83\004}}% U+0300 U+0304 |
| 20627 |
% \end{macrocode} |
| 20628 |
% Accents for capitals (see encoding TS1) |
| 20629 |
% \begin{macrocode} |
| 20630 |
\DeclareTextCommand{\capitalcedilla}{PU}[1]{\c{#1}}% |
| 20631 |
\DeclareTextCommand{\capitalogonek}{PU}[1]{\k{#1}}% |
| 20632 |
\DeclareTextCommand{\capitalgrave}{PU}[1]{\`{#1}}% |
| 20633 |
\DeclareTextCommand{\capitalacute}{PU}[1]{\'{#1}}% |
| 20634 |
\DeclareTextCommand{\capitalcircumflex}{PU}[1]{\^{#1}}% |
| 20635 |
\DeclareTextCommand{\capitaltilde}{PU}[1]{\~{#1}}% |
| 20636 |
\DeclareTextCommand{\capitaldieresis}{PU}[1]{\"{#1}}% |
| 20637 |
\DeclareTextCommand{\capitalhungarumlaut}{PU}[1]{\H{#1}}% |
| 20638 |
\DeclareTextCommand{\capitalring}{PU}[1]{\r{#1}}% |
| 20639 |
\DeclareTextCommand{\capitalcaron}{PU}[1]{\v{#1}}% |
| 20640 |
\DeclareTextCommand{\capitalbreve}{PU}[1]{\u{#1}}% |
| 20641 |
\DeclareTextCommand{\capitalmacron}{PU}[1]{\={#1}}% |
| 20642 |
\DeclareTextCommand{\capitaldotaccent}{PU}[1]{\.{#1}}% |
| 20643 |
\DeclareTextCommand{\capitaltie}{PU}[1]{\t{#1}}% |
| 20644 |
\DeclareTextCommand{\capitalnewtie}{PU}[1]{\newtie{#1}}% |
| 20645 |
% \end{macrocode} |
| 20646 |
% |
| 20647 |
% \subsubsection{Basic Latin: U+0000 to U+007F} |
| 20648 |
% |
| 20649 |
% Special white space escape characters. |
| 20650 |
% \begin{macrocode} |
| 20651 |
% U+0009 (CHARACTER TABULATION) |
| 20652 |
\DeclareTextCommand{\textHT}{PU}{\80\011}% U+0009 |
| 20653 |
% U+000A (LINE FEED) |
| 20654 |
\DeclareTextCommand{\textLF}{PU}{\80\012}% U+000A |
| 20655 |
% U+000D (CARRIAGE RETURN) |
| 20656 |
\DeclareTextCommand{\textCR}{PU}{\80\015}% U+000D |
| 20657 |
% \end{macrocode} |
| 20658 |
% |\80\040|: U+0020 SPACE; space, spacehackarabic\\ |
| 20659 |
% |\80\041|: U+0021 EXCLAMATION MARK; exclam |
| 20660 |
% \begin{macrocode} |
| 20661 |
% U+0022 QUOTATION MARK; quotedbl |
| 20662 |
\DeclareTextCommand{\textquotedbl}{PU}{"}% \80\042 U+0022 |
| 20663 |
% U+0023 NUMBER SIGN; numbersign |
| 20664 |
\DeclareTextCommand{\textnumbersign}{PU}{\80\043}% U+0023 |
| 20665 |
% U+0024 DOLLAR SIGN; dollar |
| 20666 |
\DeclareTextCommand{\textdollar}{PU}{\80\044}% U+0024 |
| 20667 |
%* \textdollar -> \mathdollar |
| 20668 |
%* \textdollar -> \EyesDollar (marvosym) |
| 20669 |
% U+0025 PERCENT SIGN; percent |
| 20670 |
\DeclareTextCommand{\textpercent}{PU}{\80\045}% U+0025 |
| 20671 |
% U+0026 AMPERSAND; ampersand |
| 20672 |
\DeclareTextCommand{\textampersand}{PU}{\80\046}% U+0026 |
| 20673 |
%* \textampersand -> \binampersand (stmaryrd) |
| 20674 |
%* \textampersand -> \with (cmll) |
| 20675 |
% U+0027 APOSTROPHE; quotesingle |
| 20676 |
\DeclareTextCommand{\textquotesingle}{PU}{\80\047}% U+0027 |
| 20677 |
% U+0028 LEFT PARENTHESIS; parenleft |
| 20678 |
\DeclareTextCommand{\textparenleft}{PU}{\80\050}% U+0028 |
| 20679 |
% U+0029 RIGHT PARENTHESIS; parenright |
| 20680 |
\DeclareTextCommand{\textparenright}{PU}{\80\051}% U+0029 |
| 20681 |
% U+002A ASTERISK; asterisk; (?) |
| 20682 |
\DeclareTextCommand{\textasteriskcentered}{PU}{\80\052}% U+002A |
| 20683 |
% U+002B PLUS SIGN; plus; \MVPlus (marvosym) |
| 20684 |
\DeclareTextCommand{\textMVPlus}{PU}{\80\053}%* U+002B |
| 20685 |
% U+002C COMMA; comma; \MVComma (marvosym) |
| 20686 |
\DeclareTextCommand{\textMVComma}{PU}{\80\054}%* U+002C |
| 20687 |
% U+002D HYPHEN-MINUS; hyphen; \MVMinus (marvosym) |
| 20688 |
\DeclareTextCommand{\textMVMinus}{PU}{\80\055}%* U+002D |
| 20689 |
% U+002E FULL STOP; period; \MVPeriod (marvosym) |
| 20690 |
\DeclareTextCommand{\textMVPeriod}{PU}{\80\056}%* U+002E |
| 20691 |
% U+002F SOLIDUS; slash; \MVDivision (marvosym) |
| 20692 |
\DeclareTextCommand{\textMVDivision}{PU}{\80\057}%* U+002F |
| 20693 |
% U+0030 DIGIT ZERO; zero; \MVZero (marvosym) |
| 20694 |
\DeclareTextCommand{\textMVZero}{PU}{\80\060}%* U+0030 |
| 20695 |
% U+0031 DIGIT ONE; one; \MVOne (marvosym) |
| 20696 |
\DeclareTextCommand{\textMVOne}{PU}{\80\061}%* U+0031 |
| 20697 |
% U+0032 DIGIT TWO; two; \MVTwo (marvosym) |
| 20698 |
\DeclareTextCommand{\textMVTwo}{PU}{\80\062}%* U+0032 |
| 20699 |
% U+0033 DIGIT THREE; three; \MVThree (marvosym) |
| 20700 |
\DeclareTextCommand{\textMVThree}{PU}{\80\063}%* U+0033 |
| 20701 |
% U+0034 DIGIT FOUR; four; \MVFour (marvosym) |
| 20702 |
\DeclareTextCommand{\textMVFour}{PU}{\80\064}%* U+0034 |
| 20703 |
% U+0035 DIGIT FIVE; five; \MVFive (marvosym) |
| 20704 |
\DeclareTextCommand{\textMVFive}{PU}{\80\065}%* U+0035 |
| 20705 |
% U+0036 DIGIT SIX; six; \MVSix (marvosym) |
| 20706 |
\DeclareTextCommand{\textMVSix}{PU}{\80\066}%* U+0036 |
| 20707 |
% U+0037 DIGIT SEVEM; seven; \MVSeven (marvosym) |
| 20708 |
\DeclareTextCommand{\textMVSeven}{PU}{\80\067}%* U+0037 |
| 20709 |
% U+0038 DIGIT EIGHT; eight; \MVEight (marvosym) |
| 20710 |
\DeclareTextCommand{\textMVEight}{PU}{\80\070}%* U+0038 |
| 20711 |
% U+0039 DIGIT NINE; nine; \MVNine (marvosym) |
| 20712 |
\DeclareTextCommand{\textMVNine}{PU}{\80\071}%* U+0039 |
| 20713 |
% \end{macrocode} |
| 20714 |
% |\80\072|: U+003A COLON; colon\\ |
| 20715 |
% |\80\073|: U+003B SEMICOLON; semicolon |
| 20716 |
% \begin{macrocode} |
| 20717 |
% U+003C LESS-THAN SIGN; less |
| 20718 |
\DeclareTextCommand{\textless}{PU}{<}% \80\074 U+003C |
| 20719 |
% \end{macrocode} |
| 20720 |
% |\80\075|: U+003D EQUALS SIGN; equal |
| 20721 |
% \begin{macrocode} |
| 20722 |
% U+003E GREATER-THAN SIGN; greater |
| 20723 |
\DeclareTextCommand{\textgreater}{PU}{>}% \80\076 U+003E |
| 20724 |
% \end{macrocode} |
| 20725 |
% |\80\077|: U+003F QUESTION MARK; question |
| 20726 |
% \begin{macrocode} |
| 20727 |
% U+0040 COMMERCIAL AT; at; \MVAt (marvosym) |
| 20728 |
\DeclareTextCommand{\textMVAt}{PU}{\80\100}%* U+0040 |
| 20729 |
% \end{macrocode} |
| 20730 |
% |\80\101|: U+0041 LATIN CAPITAL LETTER A; A\\ |
| 20731 |
% \dots\\ |
| 20732 |
% |\80\132|: U+005A LATIN CAPITAL LETTER Z; Z\\ |
| 20733 |
% |\80\133|: U+005B LEFT SQUARE BRACKET; bracketleft |
| 20734 |
% \begin{macrocode} |
| 20735 |
% U+005C REVERSE SOLIDUS; backslash |
| 20736 |
\DeclareTextCommand{\textbackslash}{PU}{\80\134}% U+005C |
| 20737 |
% \end{macrocode} |
| 20738 |
% |\80\135|: U+005D RIGHT SQUARE BRACKET; bracketright |
| 20739 |
% \begin{macrocode} |
| 20740 |
% U+005E CIRCUMFLEX ACCENT; asciicircum |
| 20741 |
\DeclareTextCommand{\textasciicircum}{PU}{\80\136}% U+005E |
| 20742 |
% U+005F LOW LINE; underscore |
| 20743 |
\DeclareTextCommand{\textunderscore}{PU}{\80\137}% U+005F |
| 20744 |
%* \textunderscore -> \mathunderscore (LaTeX) |
| 20745 |
% U+0060 GRAVE ACCENT; grave |
| 20746 |
\DeclareTextCommand{\textasciigrave}{PU}{\80\140}% U+0060 |
| 20747 |
% \end{macrocode} |
| 20748 |
% |\80\141|: U+0061 LATIN SMALL LETTER A; a\\ |
| 20749 |
% \dots\\ |
| 20750 |
% |\80\150|: U+0068 LATIN SMALL LETTER H; h |
| 20751 |
% \begin{macrocode} |
| 20752 |
% U+0069 LATIN SMALL LETTER I; i |
| 20753 |
\DeclareTextCompositeCommand{\.}{PU}{\i}{i}% \80\151 U+0069 |
| 20754 |
\DeclareTextCompositeCommand{\.}{PU}{i}{i}% \80\151 U+0069 |
| 20755 |
% \end{macrocode} |
| 20756 |
% |\80\152|: U+006A LATIN SMALL LETTER J; j\\ |
| 20757 |
% \dots\\ |
| 20758 |
% |\80\172|: U+007A LATIN SMALL LETTER Z; z |
| 20759 |
% \begin{macrocode} |
| 20760 |
% U+007B LEFT CURLY BRACKET; braceleft |
| 20761 |
\DeclareTextCommand{\textbraceleft}{PU}{\80\173}% U+007B |
| 20762 |
% U+007C VERTICAL LINE; *bar, verticalbar |
| 20763 |
\DeclareTextCommand{\textbar}{PU}{|}% \80\174 U+007C |
| 20764 |
%* \textbar -> \textvertline (tipa) |
| 20765 |
% U+007D RIGHT CURLY BRACKET; braceright |
| 20766 |
\DeclareTextCommand{\textbraceright}{PU}{\80\175}% U+007D |
| 20767 |
% U+007E TILDE; asciitilde |
| 20768 |
\DeclareTextCommand{\textasciitilde}{PU}{\80\176}% U+007E |
| 20769 |
% \end{macrocode} |
| 20770 |
% |
| 20771 |
% \subsubsection{Latin-1 Supplement: U+0080 to U+00FF} |
| 20772 |
% |
| 20773 |
% |\80\240|: U+00A0 NO-BREAK SPACE; nbspace, nonbreakingspace |
| 20774 |
% \begin{macrocode} |
| 20775 |
% U+00A1 INVERTED EXCLAMATION MARK; exclamdown |
| 20776 |
\DeclareTextCommand{\textexclamdown}{PU}{\80\241}% U+00A1 |
| 20777 |
% U+00A2 CENT SIGN; cent |
| 20778 |
\DeclareTextCommand{\textcent}{PU}{\80\242}% U+00A2 |
| 20779 |
% U+00A3 POUND SIGN; sterling |
| 20780 |
\DeclareTextCommand{\textsterling}{PU}{\80\243}% U+00A3 |
| 20781 |
%* \textsterling -> \mathsterling (LaTeX) |
| 20782 |
%* \textsterling -> \pounds (LaTeX) |
| 20783 |
% U+00A4 CURRENCY SIGN; currency |
| 20784 |
\DeclareTextCommand{\textcurrency}{PU}{\80\244}% U+00A4 |
| 20785 |
% U+00A5 YEN SIGN; yen |
| 20786 |
\DeclareTextCommand{\textyen}{PU}{\80\245}% U+00A5 |
| 20787 |
% U+00A6 BROKEN BAR; brokenbar |
| 20788 |
\DeclareTextCommand{\textbrokenbar}{PU}{\80\246}% U+00A6 |
| 20789 |
%* \textbrokenbar -> \brokenvert (wasysym) |
| 20790 |
% U+00A7 SECTION SIGN; section |
| 20791 |
\DeclareTextCommand{\textsection}{PU}{\80\247}% U+00A7 |
| 20792 |
%* \textsection -> \mathsection (LaTeX) |
| 20793 |
%* \textsection -> \S (LaTeX) |
| 20794 |
% U+00A8 DIAERESIS; dieresis |
| 20795 |
\DeclareTextCommand{\textasciidieresis}{PU}{\80\250}% U+00A8 |
| 20796 |
% U+00A9 COPYRIGHT SIGN; copyright |
| 20797 |
\DeclareTextCommand{\textcopyright}{PU}{\80\251}%* U+00A9 |
| 20798 |
% U+00AA FEMININE ORDINAL INDICATOR; ordfeminine |
| 20799 |
\DeclareTextCommand{\textordfeminine}{PU}{\80\252}% U+00AA |
| 20800 |
% U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetleft |
| 20801 |
\DeclareTextCommand{\guillemotleft}{PU}{\80\253}% U+00AB |
| 20802 |
\DeclareTextCommand{\guillemetleft}{PU}{\80\253}% U+00AB |
| 20803 |
% U+00AC NOT SIGN; logicalnot |
| 20804 |
\DeclareTextCommand{\textlogicalnot}{PU}{\80\254}% U+00AC |
| 20805 |
\DeclareTextCommand{\textlnot}{PU}{\80\254}% U+00AC |
| 20806 |
% \end{macrocode} |
| 20807 |
% |\80\255|: U+00AD SOFT HYPHEN; sfthyphen, softhyphen |
| 20808 |
% \begin{macrocode} |
| 20809 |
% U+00AE REGISTERED SIGN; registered |
| 20810 |
\DeclareTextCommand{\textregistered}{PU}{\80\256}% U+00AE |
| 20811 |
% U+00AF MACRON; *macron, overscore |
| 20812 |
\DeclareTextCommand{\textasciimacron}{PU}{\80\257}% U+00AF |
| 20813 |
% U+00B0 DEGREE SIGN; degree |
| 20814 |
\DeclareTextCommand{\textdegree}{PU}{\80\260}% U+00B0 |
| 20815 |
% U+00B1 PLUS-MINUS SIGN; plusminus |
| 20816 |
\DeclareTextCommand{\textplusminus}{PU}{\80\261}% U+00B1 |
| 20817 |
% U+00B2 SUPERSCRIPT TWO; twosuperior |
| 20818 |
\DeclareTextCommand{\texttwosuperior}{PU}{\80\262}%* U+00B2 |
| 20819 |
% U+00B3 SUPERSCRIPT THREE; threesuperior |
| 20820 |
\DeclareTextCommand{\textthreesuperior}{PU}{\80\263}%* U+00B3 |
| 20821 |
% U+00B4 ACUTE ACCENT; acute |
| 20822 |
\DeclareTextCommand{\textacute}{PU}{\80\264}% U+00B4 |
| 20823 |
\DeclareTextCommand{\textasciiacute}{PU}{\80\264}% U+00B4 |
| 20824 |
% U+00B5 MICRO SIGN; mu, mu1 |
| 20825 |
\DeclareTextCommand{\textmu}{PU}{\80\265}% U+00B5 |
| 20826 |
% U+00B6 PILCROW SIGN; paragraph |
| 20827 |
\DeclareTextCommand{\textparagraph}{PU}{\80\266}% U+00B6 |
| 20828 |
%* \textparagraph -> \mathparagraph (LaTeX) |
| 20829 |
% U+00B7 MIDDLE DOT; middot, *periodcentered |
| 20830 |
\DeclareTextCommand{\textperiodcentered}{PU}{\80\267}% U+00B7 |
| 20831 |
%* \textperiodcentered -> \MultiplicationDot (marvosym) |
| 20832 |
%* \textperiodcentered -> \Squaredot (marvosym) |
| 20833 |
% U+00B8 CEDILLA; cedilla |
| 20834 |
\DeclareTextCommand{\textcedilla}{PU}{\80\270}% U+00B8 |
| 20835 |
% U+00B9 SUPERSCRIPT ONE; onesuperior |
| 20836 |
\DeclareTextCommand{\textonesuperior}{PU}{\80\271}%* U+00B9 |
| 20837 |
% U+00BA MASCULINE ORDINAL INDICATOR; ordmasculine |
| 20838 |
\DeclareTextCommand{\textordmasculine}{PU}{\80\272}% U+00BA |
| 20839 |
% U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetright |
| 20840 |
\DeclareTextCommand{\guillemotright}{PU}{\80\273}% U+00BB |
| 20841 |
\DeclareTextCommand{\guillemetright}{PU}{\80\273}% U+00BB |
| 20842 |
% U+00BC VULGAR FRACTION ONE QUARTER; onequarter |
| 20843 |
\DeclareTextCommand{\textonequarter}{PU}{\80\274}% U+00BC |
| 20844 |
% U+00BD VULGAR FRACTION ONE HALF; onehalf |
| 20845 |
\DeclareTextCommand{\textonehalf}{PU}{\80\275}% U+00BD |
| 20846 |
% U+00BE VULGAR FRACTION THREE QUARTERS; threequarters |
| 20847 |
\DeclareTextCommand{\textthreequarters}{PU}{\80\276}% U+00BE |
| 20848 |
% U+00BF INVERTED QUESTION MARK; questiondown |
| 20849 |
\DeclareTextCommand{\textquestiondown}{PU}{\80\277}% U+00BF |
| 20850 |
% U+00C0 LATIN CAPITAL LETTER A WITH GRAVE; Agrave |
| 20851 |
\DeclareTextCompositeCommand{\`}{PU}{A}{\80\300}% U+00C0 |
| 20852 |
% U+00C1 LATIN CAPITAL LETTER A WITH ACUTE; Aacute |
| 20853 |
\DeclareTextCompositeCommand{\'}{PU}{A}{\80\301}% U+00C1 |
| 20854 |
% U+00C2 LATIN CAPITAL LETTER A WITH CIRCUMFLEX; Acircumflex |
| 20855 |
\DeclareTextCompositeCommand{\^}{PU}{A}{\80\302}% U+00C2 |
| 20856 |
% U+00C3 LATIN CAPITAL LETTER A WITH TILDE; Atilde |
| 20857 |
\DeclareTextCompositeCommand{\~}{PU}{A}{\80\303}% U+00C3 |
| 20858 |
% U+00C4 LATIN CAPITAL LETTER A WITH DIAERESIS; Adieresis |
| 20859 |
\DeclareTextCompositeCommand{\"}{PU}{A}{\80\304}% U+00C4 |
| 20860 |
% U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE; Aring |
| 20861 |
\DeclareTextCompositeCommand{\r}{PU}{A}{\80\305}% U+00C5 |
| 20862 |
% U+00C6 LATIN CAPITAL LETTER AE; AE |
| 20863 |
\DeclareTextCommand{\AE}{PU}{\80\306}% U+00C6 |
| 20864 |
% U+00C7 LATIN CAPITAL LETTER C WITH CEDILLA; Ccedilla |
| 20865 |
\DeclareTextCompositeCommand{\c}{PU}{C}{\80\307}% U+00C7 |
| 20866 |
% U+00C8 LATIN CAPITAL LETTER E WITH GRAVE; Egrave |
| 20867 |
\DeclareTextCompositeCommand{\`}{PU}{E}{\80\310}% U+00C8 |
| 20868 |
% U+00C9 LATIN CAPITAL LETTER E WITH ACUTE; Eacute |
| 20869 |
\DeclareTextCompositeCommand{\'}{PU}{E}{\80\311}% U+00C9 |
| 20870 |
% U+00CA LATIN CAPITAL LETTER E WITH CIRCUMFLEX; Ecircumflex |
| 20871 |
\DeclareTextCompositeCommand{\^}{PU}{E}{\80\312}% U+00CA |
| 20872 |
% U+00CB LATIN CAPITAL LETTER E WITH DIAERESIS; Edieresis |
| 20873 |
\DeclareTextCompositeCommand{\"}{PU}{E}{\80\313}% U+00CB |
| 20874 |
% U+00CC LATIN CAPITAL LETTER I WITH GRAVE; Igrave |
| 20875 |
\DeclareTextCompositeCommand{\`}{PU}{I}{\80\314}% U+00CC |
| 20876 |
% U+00CD LATIN CAPITAL LETTER I WITH ACUTE; Iacute |
| 20877 |
\DeclareTextCompositeCommand{\'}{PU}{I}{\80\315}% U+00CD |
| 20878 |
% U+00CE LATIN CAPITAL LETTER I WITH CIRCUMFLEX; Icircumflex |
| 20879 |
\DeclareTextCompositeCommand{\^}{PU}{I}{\80\316}% U+00CE |
| 20880 |
% U+00CF LATIN CAPITAL LETTER I WITH DIAERESIS; Idieresis |
| 20881 |
\DeclareTextCompositeCommand{\"}{PU}{I}{\80\317}% U+00CF |
| 20882 |
% U+00D0 LATIN CAPITAL LETTER ETH; Eth |
| 20883 |
\DeclareTextCommand{\DH}{PU}{\80\320}% U+00D0 |
| 20884 |
% U+00D1 LATIN CAPITAL LETTER N WITH TILDE; Ntilde |
| 20885 |
\DeclareTextCompositeCommand{\~}{PU}{N}{\80\321}% U+00D1 |
| 20886 |
% U+00D2 LATIN CAPITAL LETTER O WITH GRAVE; Ograve |
| 20887 |
\DeclareTextCompositeCommand{\`}{PU}{O}{\80\322}% U+00D2 |
| 20888 |
% U+00D3 LATIN CAPITAL LETTER O WITH ACUTE; Oacute |
| 20889 |
\DeclareTextCompositeCommand{\'}{PU}{O}{\80\323}% U+00D3 |
| 20890 |
% U+00D4 LATIN CAPITAL LETTER O WITH CIRCUMFLEX; Ocircumflex |
| 20891 |
\DeclareTextCompositeCommand{\^}{PU}{O}{\80\324}% U+00D4 |
| 20892 |
% U+00D5 LATIN CAPITAL LETTER O WITH TILDE; Otilde |
| 20893 |
\DeclareTextCompositeCommand{\~}{PU}{O}{\80\325}% U+00D5 |
| 20894 |
% U+00D6 LATIN CAPITAL LETTER O WITH DIAERESIS; Odieresis |
| 20895 |
\DeclareTextCompositeCommand{\"}{PU}{O}{\80\326}% U+00D6 |
| 20896 |
% U+00D7 MULTIPLICATION SIGN; multiply |
| 20897 |
\DeclareTextCommand{\textmultiply}{PU}{\80\327}% U+00D7 |
| 20898 |
%* \textmultiply -> \vartimes (stmaryrd) |
| 20899 |
%* \textmultiply -> \MVMultiplication (marvosym) |
| 20900 |
% U+00D8 LATIN CAPITAL LETTER O WITH STROKE; Oslash |
| 20901 |
\DeclareTextCommand{\O}{PU}{\80\330}% U+00D8 |
| 20902 |
% U+00D9 LATIN CAPITAL LETTER U WITH GRAVE; Ugrave |
| 20903 |
\DeclareTextCompositeCommand{\`}{PU}{U}{\80\331}% U+00D9 |
| 20904 |
% U+00DA LATIN CAPITAL LETTER U WITH ACUTE; Uacute |
| 20905 |
\DeclareTextCompositeCommand{\'}{PU}{U}{\80\332}% U+00DA |
| 20906 |
% U+00DB LATIN CAPITAL LETTER U WITH CIRCUMFLEX; Ucircumflex |
| 20907 |
\DeclareTextCompositeCommand{\^}{PU}{U}{\80\333}% U+00DB |
| 20908 |
% U+00DC LATIN CAPITAL LETTER U WITH DIAERESIS; Udieresis |
| 20909 |
\DeclareTextCompositeCommand{\"}{PU}{U}{\80\334}% U+00DC |
| 20910 |
% U+00DD LATIN CAPITAL LETTER Y WITH ACUTE; Yacute |
| 20911 |
\DeclareTextCompositeCommand{\'}{PU}{Y}{\80\335}% U+00DD |
| 20912 |
% U+00DE LATIN CAPITAL LETTER THORN; Thorn; \TH, \Thorn (wasysym) |
| 20913 |
\DeclareTextCommand{\TH}{PU}{\80\336}% U+00DE |
| 20914 |
\DeclareTextCommand{\textThorn}{PU}{\80\336}%* U+00DE |
| 20915 |
% U+00DF LATIN SMALL LETTER SHARP S; germandbls |
| 20916 |
\DeclareTextCommand{\ss}{PU}{\80\337}% U+00DF |
| 20917 |
% U+00E0 LATIN SMALL LETTER A WITH GRAVE; agrave |
| 20918 |
\DeclareTextCompositeCommand{\`}{PU}{a}{\80\340}% U+00E0 |
| 20919 |
% U+00E1 LATIN SMALL LETTER A WITH ACUTE; aacute |
| 20920 |
\DeclareTextCompositeCommand{\'}{PU}{a}{\80\341}% U+00E1 |
| 20921 |
% U+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX; acircumflex |
| 20922 |
\DeclareTextCompositeCommand{\^}{PU}{a}{\80\342}% U+00E2 |
| 20923 |
% U+00E3 LATIN SMALL LETTER A WITH TILDE; atilde |
| 20924 |
\DeclareTextCompositeCommand{\~}{PU}{a}{\80\343}% U+00E3 |
| 20925 |
% U+00E4 LATIN SMALL LETTER A WITH DIAERESIS; adieresis |
| 20926 |
\DeclareTextCompositeCommand{\"}{PU}{a}{\80\344}% U+00E4 |
| 20927 |
% U+00E5 LATIN SMALL LETTER A WITH RING ABOVE; aring |
| 20928 |
\DeclareTextCompositeCommand{\r}{PU}{a}{\80\345}% U+00E5 |
| 20929 |
% U+00E6 LATIN SMALL LETTER AE; ae |
| 20930 |
\DeclareTextCommand{\ae}{PU}{\80\346}% U+00E6 |
| 20931 |
% U+00E7 LATIN SMALL LETTER C WITH CEDILLA; ccedilla |
| 20932 |
\DeclareTextCompositeCommand{\c}{PU}{c}{\80\347}% U+00E7 |
| 20933 |
% U+00E8 LATIN SMALL LETTER E WITH GRAVE; egrave |
| 20934 |
\DeclareTextCompositeCommand{\`}{PU}{e}{\80\350}% U+00E8 |
| 20935 |
% U+00E9 LATIN SMALL LETTER E WITH ACUTE; eacute |
| 20936 |
\DeclareTextCompositeCommand{\'}{PU}{e}{\80\351}% U+00E9 |
| 20937 |
% U+00EA LATIN SMALL LETTER E WITH CIRCUMFLEX; ecircumflex |
| 20938 |
\DeclareTextCompositeCommand{\^}{PU}{e}{\80\352}% U+00EA |
| 20939 |
% U+00EB LATIN SMALL LETTER E WITH DIAERESIS; edieresis |
| 20940 |
\DeclareTextCompositeCommand{\"}{PU}{e}{\80\353}% U+00EB |
| 20941 |
% U+00EC LATIN SMALL LETTER I WITH GRAVE; igrave |
| 20942 |
\DeclareTextCompositeCommand{\`}{PU}{i}{\80\354}% U+00EC |
| 20943 |
\DeclareTextCompositeCommand{\`}{PU}{\i}{\80\354}% U+00EC |
| 20944 |
% U+00ED LATIN SMALL LETTER I WITH ACUTE; iacute |
| 20945 |
\DeclareTextCompositeCommand{\'}{PU}{i}{\80\355}% U+00ED |
| 20946 |
\DeclareTextCompositeCommand{\'}{PU}{\i}{\80\355}% U+00ED |
| 20947 |
% U+00EE LATIN SMALL LETTER I WITH CIRCUMFLEX; icircumflex |
| 20948 |
\DeclareTextCompositeCommand{\^}{PU}{i}{\80\356}% U+00EE |
| 20949 |
\DeclareTextCompositeCommand{\^}{PU}{\i}{\80\356}% U+00EE |
| 20950 |
% U+00EF LATIN SMALL LETTER I WITH DIAERESIS; idieresis |
| 20951 |
\DeclareTextCompositeCommand{\"}{PU}{i}{\80\357}% U+00EF |
| 20952 |
\DeclareTextCompositeCommand{\"}{PU}{\i}{\80\357}% U+00EF |
| 20953 |
% U+00F0 LATIN SMALL LETTER ETH; eth |
| 20954 |
\DeclareTextCommand{\dh}{PU}{\80\360}% U+00F0 |
| 20955 |
%* \dh -> \eth (wsuipa, phonetic) |
| 20956 |
% U+00F1 LATIN SMALL LETTER N WITH TILDE; ntilde |
| 20957 |
\DeclareTextCompositeCommand{\~}{PU}{n}{\80\361}% U+00F1 |
| 20958 |
% U+00F2 LATIN SMALL LETTER O WITH GRAVE; ograve |
| 20959 |
\DeclareTextCompositeCommand{\`}{PU}{o}{\80\362}% U+00F2 |
| 20960 |
% U+00F3 LATIN SMALL LETTER O WITH ACUTE; oacute |
| 20961 |
\DeclareTextCompositeCommand{\'}{PU}{o}{\80\363}% U+00F3 |
| 20962 |
% U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX; ocircumflex |
| 20963 |
\DeclareTextCompositeCommand{\^}{PU}{o}{\80\364}% U+00F4 |
| 20964 |
% U+00F5 LATIN SMALL LETTER O WITH TILDE; otilde |
| 20965 |
\DeclareTextCompositeCommand{\~}{PU}{o}{\80\365}% U+00F5 |
| 20966 |
% U+00F6 LATIN SMALL LETTER O WITH DIAERESIS; odieresis |
| 20967 |
\DeclareTextCompositeCommand{\"}{PU}{o}{\80\366}% U+00F6 |
| 20968 |
% U+00F7 DIVISION SIGN; divide |
| 20969 |
\DeclareTextCommand{\textdivide}{PU}{\80\367}% U+00F7 |
| 20970 |
% U+00F8 LATIN SMALL LETTER O WITH STROKE; oslash |
| 20971 |
\DeclareTextCommand{\o}{PU}{\80\370}% U+00F8 |
| 20972 |
% U+00F9 LATIN SMALL LETTER U WITH GRAVE; ugrave |
| 20973 |
\DeclareTextCompositeCommand{\`}{PU}{u}{\80\371}% U+00F9 |
| 20974 |
% U+00FA LATIN SMALL LETTER U WITH ACUTE; uacute |
| 20975 |
\DeclareTextCompositeCommand{\'}{PU}{u}{\80\372}% U+00FA |
| 20976 |
% U+00FB LATIN SMALL LETTER U WITH CIRCUMFLEX; ucircumflex |
| 20977 |
\DeclareTextCompositeCommand{\^}{PU}{u}{\80\373}% U+00FB |
| 20978 |
% U+00FC LATIN SMALL LETTER U WITH DIAERESIS; udieresis |
| 20979 |
\DeclareTextCompositeCommand{\"}{PU}{u}{\80\374}% U+00FC |
| 20980 |
% U+00FD LATIN SMALL LETTER Y WITH ACUTE; yacute |
| 20981 |
\DeclareTextCompositeCommand{\'}{PU}{y}{\80\375}% U+00FD |
| 20982 |
% U+00FE LATIN SMALL LETTER THORN; thorn; |
| 20983 |
% \th, \thorn (wasysym), \textthorn (tipa) |
| 20984 |
\DeclareTextCommand{\th}{PU}{\80\376}% U+00FE |
| 20985 |
\DeclareTextCommand{\textthorn}{PU}{\80\376}%* U+00FE |
| 20986 |
% U+00FF LATIN SMALL LETTER Y WITH DIAERESIS; ydieresis |
| 20987 |
\DeclareTextCompositeCommand{\"}{PU}{y}{\80\377}% U+00FF |
| 20988 |
% \end{macrocode} |
| 20989 |
% |
| 20990 |
% \subsubsection{Latin Extended-A: U+0080 to U+017F} |
| 20991 |
% |
| 20992 |
% \begin{macrocode} |
| 20993 |
% U+0100 LATIN CAPITAL LETTER A WITH MACRON; Amacron |
| 20994 |
\DeclareTextCompositeCommand{\=}{PU}{A}{\81\000}% U+0100 |
| 20995 |
% U+0101 LATIN SMALL LETTER A WITH MACRON; amacron |
| 20996 |
\DeclareTextCompositeCommand{\=}{PU}{a}{\81\001}% U+0101 |
| 20997 |
% U+0102 LATIN CAPITAL LETTER A WITH BREVE; Abreve |
| 20998 |
\DeclareTextCompositeCommand{\u}{PU}{A}{\81\002}% U+0102 |
| 20999 |
% U+0103 LATIN SMALL LETTER A WITH BREVE; abreve |
| 21000 |
\DeclareTextCompositeCommand{\u}{PU}{a}{\81\003}% U+0103 |
| 21001 |
% U+0104 LATIN CAPITAL LETTER A WITH OGONEK; Aogonek |
| 21002 |
\DeclareTextCompositeCommand{\k}{PU}{A}{\81\004}% U+0104 |
| 21003 |
% U+0105 LATIN SMALL LETTER A WITH OGONEK; aogonek |
| 21004 |
\DeclareTextCompositeCommand{\k}{PU}{a}{\81\005}% U+0105 |
| 21005 |
% U+0106 LATIN CAPITAL LETTER C WITH ACUTE; Cacute |
| 21006 |
\DeclareTextCompositeCommand{\'}{PU}{C}{\81\006}% U+0106 |
| 21007 |
% U+0107 LATIN SMALL LETTER C WITH ACUTE; cacute |
| 21008 |
\DeclareTextCompositeCommand{\'}{PU}{c}{\81\007}% U+0107 |
| 21009 |
% U+0108 LATIN CAPITAL LETTER C WITH CIRCUMFLEX; Ccircumflex |
| 21010 |
\DeclareTextCompositeCommand{\^}{PU}{C}{\81\010}% U+0108 |
| 21011 |
% U+0109 LATIN SMALL LETTER C WITH CIRCUMFLEX; ccircumflex |
| 21012 |
\DeclareTextCompositeCommand{\^}{PU}{c}{\81\011}% U+0109 |
| 21013 |
% U+010A LATIN CAPITAL LETTER C WITH DOT ABOVE; Cdot, Cdotaccent |
| 21014 |
\DeclareTextCompositeCommand{\.}{PU}{C}{\81\012}% U+010A |
| 21015 |
% U+010B LATIN SMALL LETTER C WITH DOT ABOVE; cdot, cdotaccent |
| 21016 |
\DeclareTextCompositeCommand{\.}{PU}{c}{\81\013}% U+010B |
| 21017 |
% U+010C LATIN CAPITAL LETTER C WITH CARON; Ccaron |
| 21018 |
\DeclareTextCompositeCommand{\v}{PU}{C}{\81\014}% U+010C |
| 21019 |
% U+010D LATIN SMALL LETTER C WITH CARON; ccaron |
| 21020 |
\DeclareTextCompositeCommand{\v}{PU}{c}{\81\015}% U+010D |
| 21021 |
% U+010E LATIN CAPITAL LETTER D WITH CARON; Dcaron |
| 21022 |
\DeclareTextCompositeCommand{\v}{PU}{D}{\81\016}% U+010E |
| 21023 |
% U+010F LATIN SMALL LETTER D WITH CARON; dcaron |
| 21024 |
\DeclareTextCompositeCommand{\v}{PU}{d}{\81\017}% U+010F |
| 21025 |
% U+0110 LATIN CAPITAL LETTER D WITH STROKE; Dcroat, Dslash |
| 21026 |
\DeclareTextCommand{\DJ}{PU}{\81\020}% U+0110 |
| 21027 |
% U+0111 LATIN SMALL LETTER D WITH STROKE; dcroat, dmacron; |
| 21028 |
% \textcrd (tipa) |
| 21029 |
\DeclareTextCommand{\dj}{PU}{\81\021}% U+0111 |
| 21030 |
\DeclareTextCommand{\textcrd}{PU}{\81\021}% U+0111 |
| 21031 |
%* \textcrd -> \crossd (wsuipa) |
| 21032 |
% An alternate glyph with the stroke through the bowl: |
| 21033 |
%* \textcrd -> \textbard (tipa) |
| 21034 |
%* \textcrd -> \bard (wsuipa) |
| 21035 |
% U+0112 LATIN CAPITAL LETTER E WITH MACRON; Emacron |
| 21036 |
\DeclareTextCompositeCommand{\=}{PU}{E}{\81\022}% U+0112 |
| 21037 |
% U+0113 LATIN SMALL LETTER E WITH MACRON; emacron |
| 21038 |
\DeclareTextCompositeCommand{\=}{PU}{e}{\81\023}% U+0113 |
| 21039 |
% U+0114 LATIN CAPITAL LETTER E WITH BREVE; Ebreve |
| 21040 |
\DeclareTextCompositeCommand{\u}{PU}{E}{\81\024}% U+0114 |
| 21041 |
% U+0115 LATIN SMALL LETTER E WITH BREVE; ebreve |
| 21042 |
\DeclareTextCompositeCommand{\u}{PU}{e}{\81\025}% U+0115 |
| 21043 |
% U+0116 LATIN CAPITAL LETTER E WITH DOT ABOVE; Edot, Edotaccent |
| 21044 |
\DeclareTextCompositeCommand{\.}{PU}{E}{\81\026}% U+0116 |
| 21045 |
% U+0117 LATIN SMALL LETTER E WITH DOT ABOVE; edot, edotaccent |
| 21046 |
\DeclareTextCompositeCommand{\.}{PU}{e}{\81\027}% U+0117 |
| 21047 |
% U+0118 LATIN CAPITAL LETTER E WITH OGONEK; Eogonek |
| 21048 |
\DeclareTextCompositeCommand{\k}{PU}{E}{\81\030}% U+0118 |
| 21049 |
% U+0119 LATIN SMALL LETTER E WITH OGONEK; eogonek |
| 21050 |
\DeclareTextCompositeCommand{\k}{PU}{e}{\81\031}% U+0119 |
| 21051 |
% U+011A LATIN CAPITAL LETTER E WITH CARON; Ecaron |
| 21052 |
\DeclareTextCompositeCommand{\v}{PU}{E}{\81\032}% U+011A |
| 21053 |
% U+011B LATIN SMALL LETTER E WITH CARON; ecaron |
| 21054 |
\DeclareTextCompositeCommand{\v}{PU}{e}{\81\033}% U+011B |
| 21055 |
% U+011C LATIN CAPITAL LETTER G WITH CIRCUMFLEX; Gcircumflex |
| 21056 |
\DeclareTextCompositeCommand{\^}{PU}{G}{\81\034}% U+011C |
| 21057 |
% U+011D LATIN SMALL LETTER G WITH CIRCUMFLEX; gcircumflex |
| 21058 |
\DeclareTextCompositeCommand{\^}{PU}{g}{\81\035}% U+011D |
| 21059 |
% U+011E LATIN CAPITAL LETTER G WITH BREVE; Gbreve |
| 21060 |
\DeclareTextCompositeCommand{\u}{PU}{G}{\81\036}% U+011E |
| 21061 |
% U+011F LATIN SMALL LETTER G WITH BREVE; gbreve |
| 21062 |
\DeclareTextCompositeCommand{\u}{PU}{g}{\81\037}% U+011F |
| 21063 |
% U+0120 LATIN CAPITAL LETTER G WITH DOT ABOVE; Gdot, Gdotaccent |
| 21064 |
\DeclareTextCompositeCommand{\.}{PU}{G}{\81\040}% U+0120 |
| 21065 |
% U+0121 LATIN SMALL LETTER G WITH DOT ABOVE; gdot, gdotaccent |
| 21066 |
\DeclareTextCompositeCommand{\.}{PU}{g}{\81\041}% U+0121 |
| 21067 |
% U+0122 LATIN CAPITAL LETTER G WITH CEDILLA; Gcedilla, Gcommaaccent |
| 21068 |
\DeclareTextCompositeCommand{\c}{PU}{G}{\81\042}% U+0122 |
| 21069 |
% U+0123 LATIN SMALL LETTER G WITH CEDILLA; gcedilla, gcommaaccent |
| 21070 |
\DeclareTextCompositeCommand{\c}{PU}{g}{\81\043}% U+0123 |
| 21071 |
% U+0124 LATIN CAPITAL LETTER H WITH CIRCUMFLEX; Hcircumflex |
| 21072 |
\DeclareTextCompositeCommand{\^}{PU}{H}{\81\044}% U+0124 |
| 21073 |
% U+0125 LATIN SMALL LETTER H WITH CIRCUMFLEX; hcircumflex |
| 21074 |
\DeclareTextCompositeCommand{\^}{PU}{h}{\81\045}% U+0125 |
| 21075 |
% U+0126 LATIN CAPITAL LETTER H WITH STROKE; Hbar |
| 21076 |
\DeclareTextCommand{\textHslash}{PU}{\81\046}% U+0126 |
| 21077 |
% U+0127 LATIN SMALL LETTER H WITH STROKE; hbar; \hbar (AmS) |
| 21078 |
\DeclareTextCommand{\texthbar}{PU}{\81\047}%* U+0127 |
| 21079 |
%* \texthbar -> \textcrh (tipa) |
| 21080 |
%* \texthbar -> \crossh (wsuipa) |
| 21081 |
%* \texthbar -> \planck (phonetic) |
| 21082 |
% U+0128 LATIN CAPITAL LETTER I WITH TILDE; Itilde |
| 21083 |
\DeclareTextCompositeCommand{\~}{PU}{I}{\81\050}% U+0128 |
| 21084 |
% U+0129 LATIN SMALL LETTER I WITH TILDE; itilde |
| 21085 |
\DeclareTextCompositeCommand{\~}{PU}{i}{\81\051}% U+0129 |
| 21086 |
\DeclareTextCompositeCommand{\~}{PU}{\i}{\81\051}% U+0129 |
| 21087 |
% U+012A LATIN CAPITAL LETTER I WITH MACRON; Imacron |
| 21088 |
\DeclareTextCompositeCommand{\=}{PU}{I}{\81\052}% U+012A |
| 21089 |
% U+012B LATIN SMALL LETTER I WITH MACRON; imacron |
| 21090 |
\DeclareTextCompositeCommand{\=}{PU}{i}{\81\053}% U+012B |
| 21091 |
\DeclareTextCompositeCommand{\=}{PU}{\i}{\81\053}% U+012B |
| 21092 |
% U+012C LATIN CAPITAL LETTER I WITH BREVE; Ibreve |
| 21093 |
\DeclareTextCompositeCommand{\u}{PU}{I}{\81\054}% U+012C |
| 21094 |
% U+012D LATIN SMALL LETTER I WITH BREVE; ibreve |
| 21095 |
\DeclareTextCompositeCommand{\u}{PU}{i}{\81\055}% U+012D |
| 21096 |
\DeclareTextCompositeCommand{\u}{PU}{\i}{\81\055}% U+012D |
| 21097 |
% U+012E LATIN CAPITAL LETTER I WITH OGONEK; Iogonek |
| 21098 |
\DeclareTextCompositeCommand{\k}{PU}{I}{\81\056}% U+012E |
| 21099 |
% U+012F LATIN SMALL LETTER I WITH OGONEK; iogonek |
| 21100 |
\DeclareTextCompositeCommand{\k}{PU}{i}{\81\057}% U+012F |
| 21101 |
\DeclareTextCompositeCommand{\k}{PU}{\i}{\81\057}% U+012F |
| 21102 |
% U+0130 LATIN CAPITAL LETTER I WITH DOT ABOVE; Idot, Idotaccent |
| 21103 |
\DeclareTextCompositeCommand{\.}{PU}{I}{\81\060}% U+0130 |
| 21104 |
% U+0131 LATIN SMALL LETTER DOTLESS I; dotlessi |
| 21105 |
\DeclareTextCommand{\i}{PU}{\81\061}% U+0131 |
| 21106 |
% U+0132 LATIN CAPITAL LIGATURE IJ; IJ |
| 21107 |
\DeclareTextCommand{\IJ}{PU}{\81\062}% U+0132 |
| 21108 |
% U+0133 LATIN SMALL LIGATURE IJ; ij |
| 21109 |
\DeclareTextCommand{\ij}{PU}{\81\063}% U+0133 |
| 21110 |
% U+0134 LATIN CAPITAL LETTER J WITH CIRCUMFLEX; Jcircumflex |
| 21111 |
\DeclareTextCompositeCommand{\^}{PU}{J}{\81\064}% U+0134 |
| 21112 |
% U+0135 LATIN SMALL LETTER J WITH CIRCUMFLEX; jcircumflex |
| 21113 |
\DeclareTextCompositeCommand{\^}{PU}{j}{\81\065}% U+0135 |
| 21114 |
\DeclareTextCompositeCommand{\^}{PU}{\j}{\81\065}% U+0135 |
| 21115 |
% U+0136 LATIN CAPITAL LETTER K WITH CEDILLA; Kcedilla, Kcommaaccent |
| 21116 |
\DeclareTextCompositeCommand{\c}{PU}{K}{\81\066}% U+0136 |
| 21117 |
% U+0137 LATIN SMALL LETTER K WITH CEDILLA; kcedilla, kcommaaccent |
| 21118 |
\DeclareTextCompositeCommand{\c}{PU}{k}{\81\067}% U+0137 |
| 21119 |
% \end{macrocode} |
| 21120 |
% The canonical name of U+0138, small letter kra, would be |
| 21121 |
% \cs{textkgreenlandic}, following the glyph naming convention. |
| 21122 |
% However |latex/base/inputenc.dtx| has chosen \cs{textkra}. |
| 21123 |
% \begin{macrocode} |
| 21124 |
% U+0138 LATIN SMALL LETTER KRA; kgreenlandic |
| 21125 |
\DeclareTextCommand{\textkra}{PU}{\81\070}% U+0138 |
| 21126 |
% U+0139 LATIN CAPITAL LETTER L WITH ACUTE; Lacute |
| 21127 |
\DeclareTextCompositeCommand{\'}{PU}{L}{\81\071}% U+0139 |
| 21128 |
% U+013A LATIN SMALL LETTER L WITH ACUTE; lacute |
| 21129 |
\DeclareTextCompositeCommand{\'}{PU}{l}{\81\072}% U+013A |
| 21130 |
% U+013B LATIN CAPITAL LETTER L WITH CEDILLA; Lcedilla, Lcommaaccent |
| 21131 |
\DeclareTextCompositeCommand{\c}{PU}{L}{\81\073}% U+013B |
| 21132 |
% U+013C LATIN SMALL LETTER L WITH CEDILLA; lcedilla, lcommaaccent |
| 21133 |
\DeclareTextCompositeCommand{\c}{PU}{l}{\81\074}% U+013C |
| 21134 |
% U+013D LATIN CAPITAL LETTER L WITH CARON; Lcaron |
| 21135 |
\DeclareTextCompositeCommand{\v}{PU}{L}{\81\075}% U+013D |
| 21136 |
% U+013E LATIN SMALL LETTER L WITH CARON; lcaron |
| 21137 |
\DeclareTextCompositeCommand{\v}{PU}{l}{\81\076}% U+013E |
| 21138 |
% \end{macrocode} |
| 21139 |
% There seems to be no variants of letters `L' and `l' with |
| 21140 |
% a dot above (reasonable). Therefore the \cs{.} accent |
| 21141 |
% is reused instead of making a separate accent macro |
| 21142 |
% \cs{textmiddledot}. |
| 21143 |
% \begin{macrocode} |
| 21144 |
% U+013F LATIN CAPITAL LETTER L WITH MIDDLE DOT; Ldot, Ldotaccent |
| 21145 |
\DeclareTextCompositeCommand{\.}{PU}{L}{\81\077}% U+013F |
| 21146 |
% U+0140 LATIN SMALL LETTER L WITH MIDDLE DOT; ldot, ldotaccent |
| 21147 |
\DeclareTextCompositeCommand{\.}{PU}{l}{\81\100}% U+0140 |
| 21148 |
% U+0141 LATIN CAPITAL LETTER L WITH STROKE; Lslash |
| 21149 |
\DeclareTextCommand{\L}{PU}{\81\101}% U+0141 |
| 21150 |
% U+0142 LATIN SMALL LETTER L WITH STROKE; lslash |
| 21151 |
\DeclareTextCommand{\l}{PU}{\81\102}% U+0142 |
| 21152 |
% U+0143 LATIN CAPITAL LETTER N WITH ACUTE; Nacute |
| 21153 |
\DeclareTextCompositeCommand{\'}{PU}{N}{\81\103}% U+0143 |
| 21154 |
% U+0144 LATIN SMALL LETTER N WITH ACUTE; nacute |
| 21155 |
\DeclareTextCompositeCommand{\'}{PU}{n}{\81\104}% U+0144 |
| 21156 |
% U+0145 LATIN CAPITAL LETTER N WITH CEDILLA; Ncedilla, Ncommaaccent |
| 21157 |
\DeclareTextCompositeCommand{\c}{PU}{N}{\81\105}% U+0145 |
| 21158 |
% U+0146 LATIN SMALL LETTER N WITH CEDILLA; ncedilla, ncommaaccent |
| 21159 |
\DeclareTextCompositeCommand{\c}{PU}{n}{\81\106}% U+0146 |
| 21160 |
% U+0147 LATIN CAPITAL LETTER N WITH CARON; Ncaron |
| 21161 |
\DeclareTextCompositeCommand{\v}{PU}{N}{\81\107}% U+0147 |
| 21162 |
% U+0148 LATIN SMALL LETTER N WITH CARON; ncaron |
| 21163 |
\DeclareTextCompositeCommand{\v}{PU}{n}{\81\110}% U+0148 |
| 21164 |
% U+0149 LATIN SMALL LETTER N PRECEDED BY APOSTROPHE; napostrophe, quoterightn |
| 21165 |
\DeclareTextCommand{\textnapostrophe}{PU}{\81\111}% U+0149 |
| 21166 |
% U+014A LATIN CAPITAL LETTER ENG; Eng |
| 21167 |
\DeclareTextCommand{\NG}{PU}{\81\112}% U+014A |
| 21168 |
% U+014B LATIN SMALL LETTER ENG; eng |
| 21169 |
\DeclareTextCommand{\ng}{PU}{\81\113}% U+014B |
| 21170 |
%* \ng -> \eng (wsuipa) |
| 21171 |
%* \ng -> \engma (phonetic) |
| 21172 |
% U+014C LATIN CAPITAL LETTER O WITH MACRON; Omacron |
| 21173 |
\DeclareTextCompositeCommand{\=}{PU}{O}{\81\114}% U+014C |
| 21174 |
% U+014D LATIN SMALL LETTER O WITH MACRON; omacron |
| 21175 |
\DeclareTextCompositeCommand{\=}{PU}{o}{\81\115}% U+014D |
| 21176 |
% U+014E LATIN CAPITAL LETTER O WITH BREVE; Obreve |
| 21177 |
\DeclareTextCompositeCommand{\u}{PU}{O}{\81\116}% U+014E |
| 21178 |
% U+014F LATIN SMALL LETTER O WITH BREVE; obreve |
| 21179 |
\DeclareTextCompositeCommand{\u}{PU}{o}{\81\117}% U+014F |
| 21180 |
% U+0150 LATIN CAPITAL LETTER O WITH DOUBLE ACUTE; Odblacute, Ohungarumlaut |
| 21181 |
\DeclareTextCompositeCommand{\H}{PU}{O}{\81\120}% U+0150 |
| 21182 |
% U+0151 LATIN SMALL LETTER O WITH DOUBLE ACUTE; odblacute, ohungarumlaut |
| 21183 |
\DeclareTextCompositeCommand{\H}{PU}{o}{\81\121}% U+0151 |
| 21184 |
% U+0152 LATIN CAPITAL LIGATURE OE; OE |
| 21185 |
\DeclareTextCommand{\OE}{PU}{\81\122}% U+0152 |
| 21186 |
% U+0153 LATIN SMALL LIGATURE OE; oe |
| 21187 |
\DeclareTextCommand{\oe}{PU}{\81\123}% U+0153 |
| 21188 |
% U+0154 LATIN CAPITAL LETTER R WITH ACUTE; Racute |
| 21189 |
\DeclareTextCompositeCommand{\'}{PU}{R}{\81\124}% U+0154 |
| 21190 |
% U+0155 LATIN SMALL LETTER R WITH ACUTE; racute |
| 21191 |
\DeclareTextCompositeCommand{\'}{PU}{r}{\81\125}% U+0155 |
| 21192 |
% U+0156 LATIN CAPITAL LETTER R WITH CEDILLA; Rcedilla, Rcommaaccent |
| 21193 |
\DeclareTextCompositeCommand{\c}{PU}{R}{\81\126}% U+0156 |
| 21194 |
% U+0157 LATIN SMALL LETTER R WITH CEDILLA; rcedilla, rcommaaccent |
| 21195 |
\DeclareTextCompositeCommand{\c}{PU}{r}{\81\127}% U+0157 |
| 21196 |
% U+0158 LATIN CAPITAL LETTER R WITH CARON; Rcaron |
| 21197 |
\DeclareTextCompositeCommand{\v}{PU}{R}{\81\130}% U+0158 |
| 21198 |
% U+0159 LATIN SMALL LETTER R WITH CARON; rcaron |
| 21199 |
\DeclareTextCompositeCommand{\v}{PU}{r}{\81\131}% U+0159 |
| 21200 |
% U+015A LATIN CAPITAL LETTER S WITH ACUTE; Sacute |
| 21201 |
\DeclareTextCompositeCommand{\'}{PU}{S}{\81\132}% U+015A |
| 21202 |
% U+015B LATIN SMALL LETTER S WITH ACUTE; sacute |
| 21203 |
\DeclareTextCompositeCommand{\'}{PU}{s}{\81\133}% U+015B |
| 21204 |
% U+015C LATIN CAPITAL LETTER S WITH CIRCUMFLEX; Scircumflex |
| 21205 |
\DeclareTextCompositeCommand{\^}{PU}{S}{\81\134}% U+015C |
| 21206 |
% U+015D LATIN SMALL LETTER S WITH CIRCUMFLEX; scircumflex |
| 21207 |
\DeclareTextCompositeCommand{\^}{PU}{s}{\81\135}% U+015D |
| 21208 |
% U+015E LATIN CAPITAL LETTER S WITH CEDILLA; Scedilla |
| 21209 |
\DeclareTextCompositeCommand{\c}{PU}{S}{\81\136}% U+015E |
| 21210 |
% U+015F LATIN SMALL LETTER S WITH CEDILLA; scedilla |
| 21211 |
\DeclareTextCompositeCommand{\c}{PU}{s}{\81\137}% U+015F |
| 21212 |
% U+0160 LATIN CAPITAL LETTER S WITH CARON; Scaron |
| 21213 |
\DeclareTextCompositeCommand{\v}{PU}{S}{\81\140}% U+0160 |
| 21214 |
% U+0161 LATIN SMALL LETTER S WITH CARON; scaron |
| 21215 |
\DeclareTextCompositeCommand{\v}{PU}{s}{\81\141}% U+0161 |
| 21216 |
% U+0162 LATIN CAPITAL LETTER T WITH CEDILLA; Tcedilla, Tcommaaccent |
| 21217 |
\DeclareTextCompositeCommand{\c}{PU}{T}{\81\142}% U+0162 |
| 21218 |
% U+0163 LATIN SMALL LETTER T WITH CEDILLA; tcedilla, tcommaaccent |
| 21219 |
\DeclareTextCompositeCommand{\c}{PU}{t}{\81\143}% U+0163 |
| 21220 |
% U+0164 LATIN CAPITAL LETTER T WITH CARON; Tcaron |
| 21221 |
\DeclareTextCompositeCommand{\v}{PU}{T}{\81\144}% U+0164 |
| 21222 |
% U+0165 LATIN SMALL LETTER T WITH CARON; tcaron |
| 21223 |
\DeclareTextCompositeCommand{\v}{PU}{t}{\81\145}% U+0165 |
| 21224 |
% U+0166 LATIN CAPITAL LETTER T WITH STROKE; Tbar |
| 21225 |
\DeclareTextCommand{\textTslash}{PU}{\81\146}% U+0166 |
| 21226 |
% U+0167 LATIN SMALL LETTER T WITH STROKE; tbar |
| 21227 |
\DeclareTextCommand{\texttslash}{PU}{\81\147}% U+0167 |
| 21228 |
% U+0168 LATIN CAPITAL LETTER U WITH TILDE; Utilde |
| 21229 |
\DeclareTextCompositeCommand{\~}{PU}{U}{\81\150}% U+0168 |
| 21230 |
% U+0169 LATIN SMALL LETTER U WITH TILDE; utilde |
| 21231 |
\DeclareTextCompositeCommand{\~}{PU}{u}{\81\151}% U+0169 |
| 21232 |
% U+016A LATIN CAPITAL LETTER U WITH MACRON; Umacron |
| 21233 |
\DeclareTextCompositeCommand{\=}{PU}{U}{\81\152}% U+016A |
| 21234 |
% U+016B LATIN SMALL LETTER U WITH MACRON; umacron |
| 21235 |
\DeclareTextCompositeCommand{\=}{PU}{u}{\81\153}% U+016B |
| 21236 |
% U+016C LATIN CAPITAL LETTER U WITH BREVE; Ubreve |
| 21237 |
\DeclareTextCompositeCommand{\u}{PU}{U}{\81\154}% U+016C |
| 21238 |
% U+016D LATIN SMALL LETTER U WITH BREVE; ubreve |
| 21239 |
\DeclareTextCompositeCommand{\u}{PU}{u}{\81\155}% U+016D |
| 21240 |
% U+016E LATIN CAPITAL LETTER U WITH RING ABOVE; Uring |
| 21241 |
\DeclareTextCompositeCommand{\r}{PU}{U}{\81\156}% U+016E |
| 21242 |
% U+016F LATIN SMALL LETTER U WITH RING ABOVE; uring |
| 21243 |
\DeclareTextCompositeCommand{\r}{PU}{u}{\81\157}% U+016F |
| 21244 |
% U+0170 LATIN CAPITAL LETTER U WITH DOUBLE ACUTE; Udblacute, Uhungarumlaut |
| 21245 |
\DeclareTextCompositeCommand{\H}{PU}{U}{\81\160}% U+0170 |
| 21246 |
% U+0171 LATIN SMALL LETTER U WITH DOUBLE ACUTE; udblacute, uhungarumlaut |
| 21247 |
\DeclareTextCompositeCommand{\H}{PU}{u}{\81\161}% U+0171 |
| 21248 |
% U+0172 LATIN CAPITAL LETTER U WITH OGONEK; Uogonek |
| 21249 |
\DeclareTextCompositeCommand{\k}{PU}{U}{\81\162}% U+0172 |
| 21250 |
% U+0173 LATIN SMALL LETTER U WITH OGONEK; uogonek |
| 21251 |
\DeclareTextCompositeCommand{\k}{PU}{u}{\81\163}% U+0173 |
| 21252 |
% U+0174 LATIN CAPITAL LETTER W WITH CIRCUMFLEX; Wcircumflex |
| 21253 |
\DeclareTextCompositeCommand{\^}{PU}{W}{\81\164}% U+0174 |
| 21254 |
% U+0175 LATIN SMALL LETTER W WITH CIRCUMFLEX; wcircumflex |
| 21255 |
\DeclareTextCompositeCommand{\^}{PU}{w}{\81\165}% U+0175 |
| 21256 |
% U+0176 LATIN CAPITAL LETTER Y WITH CIRCUMFLEX; Ycircumflex |
| 21257 |
\DeclareTextCompositeCommand{\^}{PU}{Y}{\81\166}% U+0176 |
| 21258 |
% U+0177 LATIN SMALL LETTER Y WITH CIRCUMFLEX; ycircumflex |
| 21259 |
\DeclareTextCompositeCommand{\^}{PU}{y}{\81\167}% U+0177 |
| 21260 |
% U+0178 LATIN CAPITAL LETTER Y WITH DIAERESIS; Ydieresis |
| 21261 |
\DeclareTextCompositeCommand{\"}{PU}{Y}{\81\170}% U+0178 |
| 21262 |
% U+0179 LATIN CAPITAL LETTER Z WITH ACUTE; Zacute |
| 21263 |
\DeclareTextCompositeCommand{\'}{PU}{Z}{\81\171}% U+0179 |
| 21264 |
% U+017A LATIN SMALL LETTER Z WITH ACUTE; zacute |
| 21265 |
\DeclareTextCompositeCommand{\'}{PU}{z}{\81\172}% U+017A |
| 21266 |
% U+017B LATIN CAPITAL LETTER Z WITH DOT ABOVE; Zdot, Zdotaccent |
| 21267 |
\DeclareTextCompositeCommand{\.}{PU}{Z}{\81\173}% U+017B |
| 21268 |
% U+017C LATIN SMALL LETTER Z WITH DOT ABOVE; zdot, zdotaccent |
| 21269 |
\DeclareTextCompositeCommand{\.}{PU}{z}{\81\174}% U+017C |
| 21270 |
% U+017D LATIN CAPITAL LETTER Z WITH CARON; Zcaron |
| 21271 |
\DeclareTextCompositeCommand{\v}{PU}{Z}{\81\175}% U+017D |
| 21272 |
% U+017E LATIN SMALL LETTER Z WITH CARON; zcaron |
| 21273 |
\DeclareTextCompositeCommand{\v}{PU}{z}{\81\176}% U+017E |
| 21274 |
% U+017F LATIN SMALL LETTER LONG S; longs, slong |
| 21275 |
\DeclareTextCommand{\textlongs}{PU}{\81\177}% U+017F |
| 21276 |
% \end{macrocode} |
| 21277 |
% |
| 21278 |
% \subsubsection{Latin Extended-B: U+0180 to U+024F} |
| 21279 |
% |
| 21280 |
% \begin{macrocode} |
| 21281 |
% U+0180 LATIN SMALL LETTER B WITH STROKE; bstroke; \textcrb (tipa) |
| 21282 |
\DeclareTextCommand{\textcrb}{PU}{\81\200}% U+0180 |
| 21283 |
%* \textcrb -> \crossb (wsuipa) |
| 21284 |
% An alternate glyph with the stroke through the bowl: |
| 21285 |
%* \textcrb -> \textbarb (tipa) |
| 21286 |
%* \textcrb -> \barb (wsuipa) |
| 21287 |
% U+0181 LATIN CAPITAL LETTER B WITH HOOK; Bhook; \hausaB (phonetic) |
| 21288 |
\DeclareTextCommand{\texthausaB}{PU}{\81\201}%* U+0181 |
| 21289 |
% U+0188 LATIN SMALL LETTER C WITH HOOK; chook; \texthtc (tipa) |
| 21290 |
\DeclareTextCommand{\texthtc}{PU}{\81\210}% U+0188 |
| 21291 |
% U+018A LATIN CAPITAL LETTER D WITH HOOK; Dhook; \hausaD (phonetic) |
| 21292 |
\DeclareTextCommand{\texthausaD}{PU}{\81\212}%* U+018A |
| 21293 |
% U+018E LATIN CAPITAL LETTER REVERSED E; Ereversed |
| 21294 |
\DeclareTextCommand{\textEreversed}{PU}{\81\216}% U+018E |
| 21295 |
\DeclareTextCommand{\textrevE}{PU}{\81\216}% U+018E |
| 21296 |
% U+0192 LATIN SMALL LETTER F WITH HOOK; florin |
| 21297 |
\DeclareTextCommand{\textflorin}{PU}{\81\222}% U+0192 |
| 21298 |
%* \textflorin -> \Florin (marvosym) |
| 21299 |
% U+0195 LATIN SMALL LETTER HV; hv; \texthvlig (tipa) |
| 21300 |
\DeclareTextCommand{\texthvlig}{PU}{\81\225}% U+0195 |
| 21301 |
%* \texthvlig -> \hv (wsuipa) |
| 21302 |
% U+0198 LATIN CAPITAL LETTER K WITH HOOK; Khook; \hausaK (phonetic) |
| 21303 |
\DeclareTextCommand{\texthausaK}{PU}{\81\230}%* U+0198 |
| 21304 |
% U+0199 LATIN SMALL LETTER K WITH HOOK; khook; \texthtk (tipa) |
| 21305 |
\DeclareTextCommand{\texthtk}{PU}{\81\231}% U+0199 |
| 21306 |
%* \texthtk -> \hausak (phonetic) |
| 21307 |
% U+019A LATIN SMALL LETTER L WITH BAR; lbar; |
| 21308 |
% \textbarl (tipa), \barl (wsuipa) |
| 21309 |
\DeclareTextCommand{\textbarl}{PU}{\81\232}%* U+019A |
| 21310 |
% U+019B LATIN SMALL LETTER LAMBDA WITH STROKE/ |
| 21311 |
% LATIN SMALL LETTER BARRED LAMBDA; lambdastroke; |
| 21312 |
% \textcrlambda (tipa) |
| 21313 |
\DeclareTextCommand{\textcrlambda}{PU}{\81\233}% U+019B |
| 21314 |
%* \textcrlambda -> \crossnilambda (wsuipa) |
| 21315 |
%* \textcrlambda -> \barlambda (phonetic) |
| 21316 |
%* \textcrlambda -> \lambdabar (txfonts/pxfonts) |
| 21317 |
%* \textcrlambda -> \lambdaslash (txfonts/pxfonts) |
| 21318 |
% U+019E LATIN SMALL LETTER N WITH LONG RIGHT LEG; nlegrightlong; |
| 21319 |
% \textnrleg (tipx) |
| 21320 |
\DeclareTextCommand{\textPUnrleg}{PU}{\81\236}% U+019E |
| 21321 |
%* \textPUnrleg -> \textnrleg (tipx) |
| 21322 |
% U+01A5 LATIN SMALL LETTER P WITH HOOK; phook; \texthtp (tipa) |
| 21323 |
\DeclareTextCommand{\texthtp}{PU}{\81\245}% U+01A5 |
| 21324 |
% U+01AB LATIN SMALL LETTER T WITH PALATAL HOOK; tpalatalhook; |
| 21325 |
% \textlhookt (tipa) |
| 21326 |
\DeclareTextCommand{\textlhookt}{PU}{\81\253}% U+01AB |
| 21327 |
% U+01AD LATIN SMALL LETTER T WITH HOOK; thook; \texthtt (tipa) |
| 21328 |
\DeclareTextCommand{\texthtt}{PU}{\81\255}% U+01AD |
| 21329 |
% U+01B9 LATIN SMALL LETTER EZH REVERSED/ |
| 21330 |
% LATIN SMALL LETTER REVERSED YOGH; \textrevyogh (tipa) |
| 21331 |
\DeclareTextCommand{\textrevyogh}{PU}{\81\271}% U+01B9 |
| 21332 |
% U+01BB LATIN LETTER TWO WITH STROKE; twostroke; \textcrtwo (tipa) |
| 21333 |
\DeclareTextCommand{\textcrtwo}{PU}{\81\273}% U+01BB |
| 21334 |
% U+01BE LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE; |
| 21335 |
% glottalinvertedstroke; \textcrinvglotstop (tipa) |
| 21336 |
\DeclareTextCommand{\textcrinvglotstop}{PU}{\81\276}% U+01BE |
| 21337 |
% U+01BF LATIN LETTER WYNN; wynn; \textwynn (tipa) |
| 21338 |
\DeclareTextCommand{\textwynn}{PU}{\81\277}% U+01BF |
| 21339 |
% U+01C0 LATIN LETTER DENTAL CLICK/LATIN LETTER PIPE; clickdental; |
| 21340 |
% \textpipe (tipa) |
| 21341 |
\DeclareTextCommand{\textpipe}{PU}{\81\300}% U+01C0 |
| 21342 |
%* \textpipe -> \textpipevar (tipx) |
| 21343 |
% U+01C1 LATIN LETTER LATERAL CLICK/LATIN LETTER |
| 21344 |
% DOUBLE PIPE; clicklateral; \textdoublepipe (tipa) |
| 21345 |
\DeclareTextCommand{\textdoublepipe}{PU}{\81\301}% U+01C1 |
| 21346 |
%* \textdoublepipe -> \textdoublepipevar (tipx) |
| 21347 |
% U+01C2 LATIN LETTER ALVEOLAR CLICK/LATIN LETTER PIPE DOUBLE BAR; |
| 21348 |
% clickalveolar; \textdoublebarpipe (tipa) |
| 21349 |
\DeclareTextCommand{\textdoublebarpipe}{PU}{\81\302}% U+01C2 |
| 21350 |
%* \textdoublebarpipe -> \textdoublebarpipevar (tipx) |
| 21351 |
% U+01CD LATIN CAPITAL LETTER A WITH CARON; Acaron |
| 21352 |
\DeclareTextCompositeCommand{\v}{PU}{A}{\81\315}% U+01CD |
| 21353 |
% U+01CE LATIN SMALL LETTER A WITH CARON; acaron |
| 21354 |
\DeclareTextCompositeCommand{\v}{PU}{a}{\81\316}% U+01CE |
| 21355 |
% U+01CF LATIN CAPITAL LETTER I WITH CARON; Icaron |
| 21356 |
\DeclareTextCompositeCommand{\v}{PU}{I}{\81\317}% U+01CF |
| 21357 |
% U+01D0 LATIN SMALL LETTER I WITH CARON; icaron |
| 21358 |
\DeclareTextCompositeCommand{\v}{PU}{\i}{\81\320}% U+01D0 |
| 21359 |
\DeclareTextCompositeCommand{\v}{PU}{i}{\81\320}% U+01D0 |
| 21360 |
% U+01D1 LATIN CAPITAL LETTER O WITH CARON; Ocaron |
| 21361 |
\DeclareTextCompositeCommand{\v}{PU}{O}{\81\321}% U+01D1 |
| 21362 |
% U+01D2 LATIN SMALL LETTER O WITH CARON; ocaron |
| 21363 |
\DeclareTextCompositeCommand{\v}{PU}{o}{\81\322}% U+01D2 |
| 21364 |
% U+01D3 LATIN CAPITAL LETTER U WITH CARON; Ucaron |
| 21365 |
\DeclareTextCompositeCommand{\v}{PU}{U}{\81\323}% U+01D3 |
| 21366 |
% U+01D4 LATIN SMALL LETTER U WITH CARON; ucaron |
| 21367 |
\DeclareTextCompositeCommand{\v}{PU}{u}{\81\324}% U+01D4 |
| 21368 |
% U+01DD LATIN SMALL LETTER TURNED E; eturned; \inve (wasysym) |
| 21369 |
\DeclareTextCommand{\textinve}{PU}{\81\335}%* U+01DD |
| 21370 |
% U+01E4 LATIN CAPITAL LETTER G WITH STROKE; Gstroke |
| 21371 |
\DeclareTextCommand{\textGslash}{PU}{\81\344}% U+01E4 |
| 21372 |
% U+01E5 LATIN SMALL LETTER G WITH STROKE; gstroke |
| 21373 |
\DeclareTextCommand{\textgslash}{PU}{\81\345}% U+01E5 |
| 21374 |
%* \textgslash -> \textcrg (tipa) |
| 21375 |
% U+01E6 LATIN CAPITAL LETTER G WITH CARON; Gcaron |
| 21376 |
\DeclareTextCompositeCommand{\v}{PU}{G}{\81\346}% U+01E6 |
| 21377 |
% U+01E7 LATIN SMALL LETTER G WITH CARON; gcaron |
| 21378 |
\DeclareTextCompositeCommand{\v}{PU}{g}{\81\347}% U+01E7 |
| 21379 |
% U+01E8 LATIN CAPITAL LETTER K WITH CARON; Kcaron |
| 21380 |
\DeclareTextCompositeCommand{\v}{PU}{K}{\81\350}% U+01E8 |
| 21381 |
% U+01E9 LATIN SMALL LETTER K WITH CARON; kcaron |
| 21382 |
\DeclareTextCompositeCommand{\v}{PU}{k}{\81\351}% U+01E9 |
| 21383 |
% U+01EA LATIN CAPITAL LETTER O WITH OGONEK; Oogonek |
| 21384 |
\DeclareTextCompositeCommand{\k}{PU}{O}{\81\352}% U+01EA |
| 21385 |
% U+01EB LATIN SMALL LETTER O WITH OGONEK; oogonek |
| 21386 |
\DeclareTextCompositeCommand{\k}{PU}{o}{\81\353}% U+01EB |
| 21387 |
% U+01F0 LATIN SMALL LETTER J WITH CARON; jcaron |
| 21388 |
\DeclareTextCompositeCommand{\v}{PU}{\j}{\81\360}% U+01F0 |
| 21389 |
\DeclareTextCompositeCommand{\v}{PU}{j}{\81\360}% U+01F0 |
| 21390 |
% U+01F4 LATIN CAPITAL LETTER G WITH ACUTE; Gacute |
| 21391 |
\DeclareTextCompositeCommand{\'}{PU}{G}{\81\364}% U+01F4 |
| 21392 |
% U+01F5 LATIN SMALL LETTER G WITH ACUTE; gacute |
| 21393 |
\DeclareTextCompositeCommand{\'}{PU}{g}{\81\365}% U+01F5 |
| 21394 |
% U+01F8 LATIN CAPITAL LETTER N WITH GRAVE |
| 21395 |
\DeclareTextCompositeCommand{\`}{PU}{N}{\81\370}% U+01F8 |
| 21396 |
% U+01F9 LATIN SMALL LETTER N WITH GRAVE |
| 21397 |
\DeclareTextCompositeCommand{\`}{PU}{n}{\81\371}% U+01F9 |
| 21398 |
% U+01FC LATIN CAPITAL LETTER AE WITH ACUTE; AEacute |
| 21399 |
\DeclareTextCompositeCommand{\'}{PU}{\AE}{\81\374}% U+01FC |
| 21400 |
% U+01FD LATIN SMALL LETTER AE WITH ACUTE; aeacute |
| 21401 |
\DeclareTextCompositeCommand{\'}{PU}{\ae}{\81\375}% U+01FD |
| 21402 |
% U+01FE LATIN CAPITAL LETTER O WITH STROKE AND ACUTE; |
| 21403 |
% *Oslashacute, Ostrokeacut |
| 21404 |
\DeclareTextCompositeCommand{\'}{PU}{\O}{\81\376}% U+01FE |
| 21405 |
% U+01FF LATIN SMALL LETTER O WITH STROKE AND ACUTE; |
| 21406 |
% *oslashacute, ostrokeacute |
| 21407 |
\DeclareTextCompositeCommand{\'}{PU}{\o}{\81\377}% U+01FF |
| 21408 |
%</puenc> |
| 21409 |
%<*puextra> |
| 21410 |
% U+0200 LATIN CAPITAL LETTER A WITH DOUBLE GRAVE; Adblgrave |
| 21411 |
\DeclareTextCompositeCommand{\G}{PU}{A}{\82\000}% U+0200 |
| 21412 |
% U+0201 LATIN SMALL LETTER A WITH DOUBLE GRAVE; adblgrave |
| 21413 |
\DeclareTextCompositeCommand{\G}{PU}{a}{\82\001}% U+0201 |
| 21414 |
% U+0204 LATIN CAPITAL LETTER E WITH DOUBLE GRAVE; Edblgrave |
| 21415 |
\DeclareTextCompositeCommand{\G}{PU}{E}{\82\004}% U+0204 |
| 21416 |
% U+0205 LATIN SMALL LETTER E WITH DOUBLE GRAVE; edblgrave |
| 21417 |
\DeclareTextCompositeCommand{\G}{PU}{e}{\82\005}% U+0205 |
| 21418 |
%</puextra> |
| 21419 |
%<*puenc> |
| 21420 |
% U+0206 LATIN CAPITAL LETTER E WITH INVERTED BREVE; Einvertedbreve |
| 21421 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{E}{\82\006}% U+0206 |
| 21422 |
% U+0207 LATIN SMALL LETTER E WITH INVERTED BREVE; einvertedbreve |
| 21423 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{e}{\82\007}% U+0207 |
| 21424 |
%</puenc> |
| 21425 |
%<*puextra> |
| 21426 |
% U+0208 LATIN CAPITAL LETTER I WITH DOUBLE GRAVE; Idblgrave |
| 21427 |
\DeclareTextCompositeCommand{\G}{PU}{I}{\82\010}% U+0208 |
| 21428 |
% U+0209 LATIN SMALL LETTER I WITH DOUBLE GRAVE; idblgrave |
| 21429 |
\DeclareTextCompositeCommand{\G}{PU}{\i}{\82\011}% U+0209 |
| 21430 |
\DeclareTextCompositeCommand{\G}{PU}{i}{\82\011}% U+0209 |
| 21431 |
%</puextra> |
| 21432 |
%<*puenc> |
| 21433 |
% U+020A LATIN CAPITAL LETTER I WITH INVERTED BREVE; Iinvertedbreve |
| 21434 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{I}{\82\012}% U+020A |
| 21435 |
% U+020B LATIN SMALL LETTER I WITH INVERTED BREVE; iinvertedbreve |
| 21436 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{i}{\82\013}% U+020B |
| 21437 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{\i}{\82\013}% U+020B |
| 21438 |
%</puenc> |
| 21439 |
%<*puextra> |
| 21440 |
% U+020C LATIN CAPITAL LETTER O WITH DOUBLE GRAVE; Odblgrave |
| 21441 |
\DeclareTextCompositeCommand{\G}{PU}{O}{\82\014}% U+020C |
| 21442 |
% U+020D LATIN SMALL LETTER O WITH DOUBLE GRAVE; odblgrave |
| 21443 |
\DeclareTextCompositeCommand{\G}{PU}{o}{\82\015}% U+020D |
| 21444 |
%</puextra> |
| 21445 |
%<*puenc> |
| 21446 |
% U+020E LATIN CAPITAL LETTER O WITH INVERTED BREVE; Oinvertedbreve |
| 21447 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{O}{\82\016}% U+020E |
| 21448 |
% U+020F LATIN SMALL LETTER O WITH INVERTED BREVE; oinvertedbreve |
| 21449 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{o}{\82\017}% U+020F |
| 21450 |
%</puenc> |
| 21451 |
%<*puextra> |
| 21452 |
% U+0210 LATIN CAPITAL LETTER R WITH DOUBLE GRAVE; Rdblgrave |
| 21453 |
\DeclareTextCompositeCommand{\G}{PU}{R}{\82\020}% U+0210 |
| 21454 |
% U+0211 LATIN SMALL LETTER R WITH DOUBLE GRAVE; rdblgrave |
| 21455 |
\DeclareTextCompositeCommand{\G}{PU}{r}{\82\021}% U+0211 |
| 21456 |
% U+0214 LATIN CAPITAL LETTER U WITH DOUBLE GRAVE; Udblgrave |
| 21457 |
\DeclareTextCompositeCommand{\G}{PU}{U}{\82\024}% U+0214 |
| 21458 |
% U+0215 LATIN SMALL LETTER U WITH DOUBLE GRAVE; udblgrave |
| 21459 |
\DeclareTextCompositeCommand{\G}{PU}{u}{\82\025}% U+0215 |
| 21460 |
%</puextra> |
| 21461 |
%<*puenc> |
| 21462 |
% U+0216 LATIN CAPITAL LETTER U WITH INVERTED BREVE; Uinvertedbreve |
| 21463 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{U}{\82\026}% U+0216 |
| 21464 |
% U+0217 LATIN SMALL LETTER U WITH INVERTED BREVE; uinvertedbreve |
| 21465 |
\DeclareTextCompositeCommand{\textinvbreve}{PU}{u}{\82\027}% U+0217 |
| 21466 |
% U+021E LATIN CAPITAL LETTER H WITH CARON |
| 21467 |
\DeclareTextCompositeCommand{\v}{PU}{H}{\82\036}% U+021E |
| 21468 |
% U+021F LATIN SMALL LETTER H WITH CARON |
| 21469 |
\DeclareTextCompositeCommand{\v}{PU}{h}{\82\037}% U+021F |
| 21470 |
% U+0221 LATIN SMALL LETTER D WITH CURL; \textctd (tipa) |
| 21471 |
\DeclareTextCommand{\textctd}{PU}{\82\041}% U+0221 |
| 21472 |
% U+0225 LATIN SMALL LETTER Z WITH HOOK; \textcommatailz (tipa) |
| 21473 |
\DeclareTextCommand{\textcommatailz}{PU}{\82\045}% U+0225 |
| 21474 |
% U+0226 LATIN CAPITAL LETTER A WITH DOT ABOVE |
| 21475 |
\DeclareTextCompositeCommand{\.}{PU}{A}{\82\046}% U+0226 |
| 21476 |
% U+0227 LATIN SMALL LETTER A WITH DOT ABOVE |
| 21477 |
\DeclareTextCompositeCommand{\.}{PU}{a}{\82\047}% U+0227 |
| 21478 |
% U+0228 LATIN CAPITAL LETTER E WITH CEDILLA |
| 21479 |
\DeclareTextCompositeCommand{\c}{PU}{E}{\82\050}% U+0228 |
| 21480 |
% U+0229 LATIN SMALL LETTER E WITH CEDILLA |
| 21481 |
\DeclareTextCompositeCommand{\c}{PU}{e}{\82\051}% U+0229 |
| 21482 |
% U+022E LATIN CAPITAL LETTER O WITH DOT ABOVE |
| 21483 |
\DeclareTextCompositeCommand{\.}{PU}{O}{\82\056}% U+022E |
| 21484 |
% U+022F LATIN SMALL LETTER O WITH DOT ABOVE |
| 21485 |
\DeclareTextCompositeCommand{\.}{PU}{o}{\82\057}% U+022F |
| 21486 |
% U+0232 LATIN CAPITAL LETTER Y WITH MACRON |
| 21487 |
\DeclareTextCompositeCommand{\=}{PU}{Y}{\82\062}% U+0232 |
| 21488 |
% U+0233 LATIN SMALL LETTER Y WITH MACRON |
| 21489 |
\DeclareTextCompositeCommand{\=}{PU}{y}{\82\063}% U+0233 |
| 21490 |
% U+0235 LATIN SMALL LETTER N WITH CURL; \textctn (tipa) |
| 21491 |
\DeclareTextCommand{\textctn}{PU}{\82\065}% U+0235 |
| 21492 |
% U+0236 LATIN SMALL LETTER T WITH CURL; \textctt (tipa) |
| 21493 |
\DeclareTextCommand{\textctt}{PU}{\82\066}% U+0236 |
| 21494 |
% U+0237 LATIN SMALL LETTER DOTLESS J |
| 21495 |
\DeclareTextCommand{\j}{PU}{\82\067}% U+0237 |
| 21496 |
% U+0238 LATIN SMALL LETTER DB DIGRAPH; \textdblig (tipx) |
| 21497 |
\DeclareTextCommand{\textPUdblig}{PU}{\82\070}% U+0238 |
| 21498 |
%* \textPUdblig -> \textdblig (tipx) |
| 21499 |
% U+0239 LATIN SMALL LETTER QP DIGRAPH; \textqplig (tipx) |
| 21500 |
\DeclareTextCommand{\textPUqplig}{PU}{\82\071}% U+0239 |
| 21501 |
%* \textPUqplig -> \textqplig (tipx) |
| 21502 |
% U+023C LATIN SMALL LETTER C WITH STROKE; \slashc (wsuipa) |
| 21503 |
\DeclareTextCommand{\textslashc}{PU}{\82\074}%* U+023C |
| 21504 |
%* \textslashc -> \textcentoldstyle (textcomp) |
| 21505 |
% With bar instead of stroke: |
| 21506 |
%* \textslashc -> \textbarc (tipa) |
| 21507 |
% \end{macrocode} |
| 21508 |
% |
| 21509 |
% \subsubsection{IPA Extensions: U+0250 to U+02AF} |
| 21510 |
% |
| 21511 |
% \begin{macrocode} |
| 21512 |
% U+0250 LATIN SMALL LETTER TURNED A; aturned; \textturna (tipa) |
| 21513 |
\DeclareTextCommand{\textturna}{PU}{\82\120}% U+0250 |
| 21514 |
%* \textturna -> \inva (wasysym) |
| 21515 |
% U+0251 LATIN SMALL LETTER ALPHA/LATIN SMALL LETTER |
| 21516 |
% SCRIPT A; ascript; \textscripta (tipa), \scripta (wsuipa) |
| 21517 |
\DeclareTextCommand{\textscripta}{PU}{\82\121}%* U+0251 |
| 21518 |
%* \textscripta -> \vara (phonetic) |
| 21519 |
% U+0252 LATIN SMALL LETTER TURNED ALPHA; ascriptturned; |
| 21520 |
% \textturnscripta (tipa) |
| 21521 |
\DeclareTextCommand{\textturnscripta}{PU}{\82\122}% U+0252 |
| 21522 |
%* \textturnscripta -> \invscripta (wsuipa) |
| 21523 |
%* \textturnscripta -> \rotvara (phonetic) |
| 21524 |
% U+0253 LATIN CAPITAL LETTER B WITH HOOK; bhook; \texthtb (tipa) |
| 21525 |
\DeclareTextCommand{\texthtb}{PU}{\82\123}% U+0253 |
| 21526 |
%* \texthtb -> \hookb (wsuipa) |
| 21527 |
%* \texthtb -> \hausab (phonetic) |
| 21528 |
% U+0254 LATIN SMALL LETTER OPEN O; oopen; |
| 21529 |
% \textopeno (tipa), \openo (wasysym) |
| 21530 |
\DeclareTextCommand{\textopeno}{PU}{\82\124}%* U+0254 |
| 21531 |
%* \textopeno -> \varopeno (phonetic) |
| 21532 |
% U+0255 LATIN SMALL LETTER C WITH CURL; ccurl; \textctc (tipa) |
| 21533 |
\DeclareTextCommand{\textctc}{PU}{\82\125}% U+0255 |
| 21534 |
%* \textctc -> \curlyc (wsuipa) |
| 21535 |
% U+0256 LATIN SMALL LETTER D WITH TAIL; dtail; \textrtaild (tipa) |
| 21536 |
\DeclareTextCommand{\textrtaild}{PU}{\82\126}%* U+0256 |
| 21537 |
%* \textrtaild -> \taild (wsuipa) |
| 21538 |
% U+0257 LATIN SMALL LETTER D WITH HOOK; dhook; \texthtd (tipa) |
| 21539 |
\DeclareTextCommand{\texthtd}{PU}{\82\127}% U+0257 |
| 21540 |
%* \texthtd -> \hookd (wsuipa) |
| 21541 |
%* \texthtd -> \hausad (phonetic) |
| 21542 |
% U+0258 LATIN SMALL LETTER REVERSED E; ereversed; |
| 21543 |
% \textreve (tipa), \reve (wsuipa) |
| 21544 |
\DeclareTextCommand{\textreve}{PU}{\82\130}%* U+0258 |
| 21545 |
% U+0259 LATIN SMALL LETTER SCHWA; schwa; |
| 21546 |
% \textschwa (tipa), \schwa (wsuipa, phonetic) |
| 21547 |
\DeclareTextCommand{\textschwa}{PU}{\82\131}%* U+0259 |
| 21548 |
% U+025A LATIN SMALL LETTER SCHWA WITH HOOK; schwahook; |
| 21549 |
% \textrhookschwa (tipa) |
| 21550 |
\DeclareTextCommand{\textrhookschwa}{PU}{\82\132}% U+025A |
| 21551 |
%* \textrhookschwa -> \er (wsuipa) |
| 21552 |
% U+025B LATIN SMALL LETTER OPEN E/LATIN SMALL LETTER EPSILON; eopen; |
| 21553 |
% \niepsilon (wsuipa) |
| 21554 |
\DeclareTextCommand{\textniepsilon}{PU}{\82\133}%* U+025B |
| 21555 |
%* \textniepsilon -> \epsi (phonetic) |
| 21556 |
% U+025C LATIN SMALL LETTER REVERSED OPEN E; eopenreversed; |
| 21557 |
% \textrevepsilon (tipa), \revepsilon (wsuipa) |
| 21558 |
\DeclareTextCommand{\textrevepsilon}{PU}{\82\134}%* U+025C |
| 21559 |
% U+025D LATIN SMALL LETTER REVERSED OPEN E WITH HOOK; eopenreversedhook; |
| 21560 |
% \textrhookrevepsilon (tipa) |
| 21561 |
\DeclareTextCommand{\textrhookrevepsilon}{PU}{\82\135}%* U+025D |
| 21562 |
%* \textrhookrevepsilon -> \hookrevepsilon (wsuipa) |
| 21563 |
% U+025E LATIN SMALL LETTER CLOSED REVERSED OPEN E; eopenreversedclosed; |
| 21564 |
% \textcloserevepsilon (tipa) |
| 21565 |
\DeclareTextCommand{\textcloserevepsilon}{PU}{\82\136}% U+025E |
| 21566 |
%* \textcloserevepsilon -> \closedrevepsilon (wsuipa) |
| 21567 |
% U+025F LATIN SMALL LETTER DOTLESS J WITH STROKE; jdotlessstroke; |
| 21568 |
% \textbardotlessj (tipa) |
| 21569 |
\DeclareTextCommand{\textbardotlessj}{PU}{\82\137}% U+025F |
| 21570 |
%* \textbardotlessj -> \barj (phonetic) |
| 21571 |
% U+0260 LATIN SMALL LETTER G WITH HOOK; ghook; \texthtg (tipa) |
| 21572 |
\DeclareTextCommand{\texthtg}{PU}{\82\140}% U+0260 |
| 21573 |
%* \texthtg -> \hookg (wsuipa) |
| 21574 |
% U+0261 LATIN SMALL LETTER SCRIPT G; gscript; |
| 21575 |
% \textscriptg (tipa), \scriptg (wsuipa) |
| 21576 |
\DeclareTextCommand{\textscriptg}{PU}{\82\141}%* U+0261 |
| 21577 |
%* \textscriptg -> \varg (phonetic) |
| 21578 |
% U+0262 LATIN LETTER SMALL CAPITAL G; \textscg (tipa), \scg (wsuipa) |
| 21579 |
\DeclareTextCommand{\textscg}{PU}{\82\142}%* U+0262 |
| 21580 |
% U+0263 LATIN SMALL LETTER GAMMA; gammalatinsmall; |
| 21581 |
% \ipagamma (wsuipa), \vod (phonetic) |
| 21582 |
\DeclareTextCommand{\textipagamma}{PU}{\82\143}%* U+0263 |
| 21583 |
%* \textipagamma -> \vod (pnonetic) |
| 21584 |
% U+0264 LATIN SMALL LETTER RAMS HORN; ramshorn; |
| 21585 |
% \babygamma (wsuipa) |
| 21586 |
\DeclareTextCommand{\textbabygamma}{PU}{\82\144}%* U+0264 |
| 21587 |
% U+0265 LATIN SMALL LETTER TURNED H; hturned; \textturnh (tipa) |
| 21588 |
\DeclareTextCommand{\textturnh}{PU}{\82\145}% U+0265 |
| 21589 |
%* \textturnh -> \invh (wsuipa) |
| 21590 |
%* \textturnh -> \udesc (phonetic) |
| 21591 |
% U+0266 LATIN SMALL LETTER H WITH HOOK; hhook; \texthth (tipa) |
| 21592 |
\DeclareTextCommand{\texthth}{PU}{\82\146}% U+0266 |
| 21593 |
%* \texthth -> \hookh (wsuipa) |
| 21594 |
%* \texthth -> \voicedh (phonetic) |
| 21595 |
% U+0267 LATIN SMALL LETTER HENG WITH HOOK; henghook; \texththeng (tipa) |
| 21596 |
\DeclareTextCommand{\texththeng}{PU}{\82\147}% U+0267 |
| 21597 |
%* \texththeng -> \hookheng (wsuipa) |
| 21598 |
% U+0268 LATIN SMALL LETTER I WITH STROKE; |
| 21599 |
% \textbari (tipa), \bari (wsuipa) |
| 21600 |
\DeclareTextCommand{\textbari}{PU}{\82\150}%* U+0268 |
| 21601 |
%* \textbari -> \ibar (phonetic) |
| 21602 |
% U+0269 LATIN SMALL LETTER IOTA; iotalatin; \niiota (wsuipa) |
| 21603 |
\DeclareTextCommand{\textniiota}{PU}{\82\151}%* U+0269 |
| 21604 |
%* \textniiota -> \vari (phonetic) |
| 21605 |
% U+026A LATIN LETTER SMALL CAPITAL I; \textsci (tipa), \sci (wsuipa) |
| 21606 |
\DeclareTextCommand{\textsci}{PU}{\82\152}%* U+026A |
| 21607 |
% U+026B LATIN SMALL LETTER L WITH MIDDLE TILDE; lmiddletilde; |
| 21608 |
% \textltilde (tipa) |
| 21609 |
\DeclareTextCommand{\textltilde}{PU}{\82\153}% U+026B |
| 21610 |
%* \textltilde -> \tildel (wsuipa) |
| 21611 |
% U+026C LATIN SMALL LETTER L WITH BELT; lbelt; \textbeltl (tipa) |
| 21612 |
\DeclareTextCommand{\textbeltl}{PU}{\82\154}% U+026C |
| 21613 |
%* \textbeltl -> \latfric (wsuipa) |
| 21614 |
% U+026D LATIN SMALL LETTER L WITH RETROFLEX HOOK; |
| 21615 |
% lhookretroflex; \textrtaill (tipa) |
| 21616 |
\DeclareTextCommand{\textrtaill}{PU}{\82\155}% U+026D |
| 21617 |
%* \textrtaill -> \taill (wsuipa) |
| 21618 |
% U+026E LATIN SMALL LETTER LEZH; lezh; \textlyoghlig (tipa) |
| 21619 |
\DeclareTextCommand{\textlyoghlig}{PU}{\82\156}% U+026E |
| 21620 |
%* \textlyoghlig -> \lz (wsuipa) |
| 21621 |
% U+026F LATIN SMALL LETTER TURNED M; mturned; \textturnm (tipa) |
| 21622 |
\DeclareTextCommand{\textturnm}{PU}{\82\157}% U+026F |
| 21623 |
%* \textturnm -> \invm (wsuipa) |
| 21624 |
%* \textturnm -> \rotm (phonetic) |
| 21625 |
% U+0270 LATIN SMALL LETTER TURNED M WITH LONG LEG; mlonglegturned; |
| 21626 |
% \textturnmrleg (tipa) |
| 21627 |
\DeclareTextCommand{\textturnmrleg}{PU}{\82\160}% U+0270 |
| 21628 |
%* \textturnmrleg -> \legm (wsuipa) |
| 21629 |
% U+0271 LATIN SMALL LETTER M WITH HOOK; mhook; \textltailm (tipa) |
| 21630 |
\DeclareTextCommand{\textltailm}{PU}{\82\161}% U+0271 |
| 21631 |
%* \textltailm -> \labdentalnas (wsuipa) |
| 21632 |
%* \textltailm -> \emgma (phonetic) |
| 21633 |
% U+0272 LATIN SMALL LETTER N WITH LEFT HOOK; nhookleft; \textltailn (tipa) |
| 21634 |
\DeclareTextCommand{\textltailn}{PU}{\82\162}% U+0272 |
| 21635 |
%* \textltailn -> \nj (wsuipa) |
| 21636 |
%* \textltailn -> \enya (phonetic) |
| 21637 |
% U+0273 LATIN SMALL LETTER N WITH RETROFLEX HOOK; |
| 21638 |
% nhookretroflex; \textrtailn (tipa) |
| 21639 |
\DeclareTextCommand{\textrtailn}{PU}{\82\163}% U+0273 |
| 21640 |
%* \textrtailn -> \tailn (wsuipa) |
| 21641 |
% U+0274 LATIN LETTER SMALL CAPITAL N; \textscn (tipa), \scn (wsuipa) |
| 21642 |
\DeclareTextCommand{\textscn}{PU}{\82\164}%* U+0274 |
| 21643 |
% U+0275 LATIN CAPITAL LETTER O WITH MIDDLE TILDE/ |
| 21644 |
% LATIN CAPITAL LETTER BARRED O; obarred; |
| 21645 |
% \textbaro (tipa), \baro (wsuipa) |
| 21646 |
% But \baro from stmaryrd is different! |
| 21647 |
\DeclareTextCommand{\textbaro}{PU}{\82\165}% U+0275 |
| 21648 |
% U+0276 LATIN LETTER SMALL CAPITAL OE; \textscoelig (tipa) |
| 21649 |
\DeclareTextCommand{\textscoelig}{PU}{\82\166}% U+0276 |
| 21650 |
% U+0277 LATIN SMALL LETTER CLOSED OMEGA; omegalatinclosed; |
| 21651 |
% \textcloseomega (tipa) |
| 21652 |
\DeclareTextCommand{\textcloseomega}{PU}{\82\167}% U+0277 |
| 21653 |
%* \textcloseomega -> \closedniomega (wsuipa) |
| 21654 |
%* \textcloseomega -> \varomega (phonetic) |
| 21655 |
% U+0278 LATIN SMALL LETTER PHI; philatin; \niphi (wsuipa) |
| 21656 |
\DeclareTextCommand{\textniphi}{PU}{\82\170}%* U+0278 |
| 21657 |
% U+0279 LATIN SMALL LETTER TURNED R; rturned; \textturnr (tipa) |
| 21658 |
\DeclareTextCommand{\textturnr}{PU}{\82\171}% U+0279 |
| 21659 |
%* \textturnr -> \invr (wsuipa) |
| 21660 |
%* \textturnr -> \rotr (phonetic) |
| 21661 |
% U+027A LATIN SMALL LETTER TURNED R WITH LONG LEG; |
| 21662 |
% rlonglegturned; \textturnlonglegr (tipa) |
| 21663 |
\DeclareTextCommand{\textturnlonglegr}{PU}{\82\172}% U+027A |
| 21664 |
%* \textturnlonglegr -> \invlegr (wsuipa) |
| 21665 |
% U+027B LATIN SMALL LETTER TURNED R WITH HOOK; rhookturned; |
| 21666 |
% \textturnrrtail (tipa) |
| 21667 |
\DeclareTextCommand{\textturnrrtail}{PU}{\82\173}% U+027B |
| 21668 |
%* \textturnrrtail -> \tailinvr (wsuipa) |
| 21669 |
% U+027C LATIN SMALL LETTER R WITH LONG LEG; rlongleg; \textlonglegr (tipa) |
| 21670 |
\DeclareTextCommand{\textlonglegr}{PU}{\82\174}%* U+027C |
| 21671 |
%* \textlonglegr -> \legr (wsuipa) |
| 21672 |
% U+027D LATIN SMALL LETTER R WITH TAIL; rhook; \textrtailr (tipa) |
| 21673 |
\DeclareTextCommand{\textrtailr}{PU}{\82\175}% U+027D |
| 21674 |
%* \textrtailr -> \tailr (wsuipa) |
| 21675 |
% U+027E LATIN SMALL LETTER R WITH FISHHOOK; rfishhook; |
| 21676 |
% \textfishhookr (tipa) |
| 21677 |
\DeclareTextCommand{\textfishhookr}{PU}{\82\176}% U+027E |
| 21678 |
%* \textfishhookr -> \flapr (wsuipa) |
| 21679 |
%* \textfishhookr -> \flap (phonetic) |
| 21680 |
% U+027F LATIN SMALL LETTER REVERSED R WITH FISHHOOK; rfishhookreversed; |
| 21681 |
% \textlhtlongi (tipa) |
| 21682 |
\DeclareTextCommand{\textlhtlongi}{PU}{\82\177}% U+027F |
| 21683 |
% U+0280 LATIN LETTER SMALL CAPITAL R; \textscr (tipa), \scr (wsuipa) |
| 21684 |
\DeclareTextCommand{\textscr}{PU}{\82\200}%* U+0280 |
| 21685 |
% U+0281 LATIN LETTER SMALL CAPITAL INVERTED R; Rsmallinverted; |
| 21686 |
% \textinvscr (tipa), \invscr (wsuipa) |
| 21687 |
\DeclareTextCommand{\textinvscr}{PU}{\82\201}%* U+0281 |
| 21688 |
% U+0282 LATIN SMALL LETTER S WITH HOOK; shook; \textrtails (tipa) |
| 21689 |
\DeclareTextCommand{\textrtails}{PU}{\82\202}% U+0282 |
| 21690 |
%* \textrtails -> \tails (wsuipa) |
| 21691 |
% U+0283 LATIN SMALL LETTER ESH; esh; \textesh (tipa), \esh (wsuipa) |
| 21692 |
\DeclareTextCommand{\textesh}{PU}{\82\203}%* U+0283 |
| 21693 |
% U+0284 LATIN SMALL LETTER DOTLESS J WITH STROKE AND HOOK; |
| 21694 |
% dotlessjstrokehook; \texthtbardotlessj (tipa) |
| 21695 |
\DeclareTextCommand{\texthtbardotlessj}{PU}{\82\204}% U+0284 |
| 21696 |
% U+0285 LATIN SMALL LETTER SQUAT REVERSED ESH; eshsquatreversed; |
| 21697 |
% \textvibyi (tipa) |
| 21698 |
\DeclareTextCommand{\textvibyi}{PU}{\82\205}% U+0285 |
| 21699 |
% U+0286 LATIN SMALL LETTER ESH WITH CURL; eshcurl; \textctesh (tipa) |
| 21700 |
\DeclareTextCommand{\textctesh}{PU}{\82\206}% U+0286 |
| 21701 |
%* \textctesh -> \curlyesh (wsuipa) |
| 21702 |
% U+0287 LATIN SMALL LETTER TURNED T; tturned; \textturnt (tipa) |
| 21703 |
\DeclareTextCommand{\textturnt}{PU}{\82\207}% U+0287 |
| 21704 |
%* \textturnt -> \clickt (wsuipa) |
| 21705 |
% U+0288 LATIN SMALL LETTER T WITH RETROFLEX HOOK; tretroflexhook; |
| 21706 |
% \textrtailt (tipa) |
| 21707 |
\DeclareTextCommand{\textrtailt}{PU}{\82\210}% U+0288 |
| 21708 |
%* \textrtailt -> \tailt (wsuipa) |
| 21709 |
% U+0289 LATIN SMALL LETTER U BAR; ubar; |
| 21710 |
% \textbaru (tipa), \baru (wsuipa) |
| 21711 |
\DeclareTextCommand{\textbaru}{PU}{\82\211}%* U+0289 |
| 21712 |
%* \textbaru -> \ubar (phonetic) |
| 21713 |
% U+028A LATIN SMALL LETTER UPSILON; \niupsilon (wsuipa) |
| 21714 |
\DeclareTextCommand{\textniupsilon}{PU}{\82\212}%* U+028A |
| 21715 |
%* \textniupsilon -> \rotOmega (phonetic) |
| 21716 |
% U+028B LATIN SMALL LETTER V WITH HOOK/LATIN SMALL LETTER SCRIPT V; |
| 21717 |
% vhook; \textscriptv (tipa), \scriptv (wsuipa) |
| 21718 |
\DeclareTextCommand{\textscriptv}{PU}{\82\213}%* U+028B |
| 21719 |
% U+028C LATIN SMALL LETTER TURNED V; vturned; \textturnv (tipa) |
| 21720 |
\DeclareTextCommand{\textturnv}{PU}{\82\214}%* U+028C |
| 21721 |
%* \textturnv -> \invv (wsuipa) |
| 21722 |
%* \textturnv -> \pwedge (phonetic) |
| 21723 |
% U+028D LATIN SMALL LETTER TURNED W; wturned; \textturnw (tipa) |
| 21724 |
\DeclareTextCommand{\textturnw}{PU}{\82\215}%* U+028D |
| 21725 |
%* \textturnw -> \invw (wsuipa) |
| 21726 |
%* \textturnw -> \rotw (phonetic) |
| 21727 |
% U+028E LATIN SMALL LETTER TURNED Y; yturned; \textturny (tipa) |
| 21728 |
\DeclareTextCommand{\textturny}{PU}{\82\216}%* U+028E |
| 21729 |
%* \textturny -> \invy (wsuipa) |
| 21730 |
%* \textturny -> \roty (phonetic) |
| 21731 |
% U+028F LATIN LETTER SMALL CAPITAL Y; \textscy (tipa), \scy (wsuipa) |
| 21732 |
\DeclareTextCommand{\textscy}{PU}{\82\217}%* U+028F |
| 21733 |
% U+0290 LATIN SMALL LETTER Z WITH RETROFLEX HOOK; zretroflexhook; |
| 21734 |
% \textrtailz (tipa) |
| 21735 |
\DeclareTextCommand{\textrtailz}{PU}{\82\220}% U+0290 |
| 21736 |
%* \textrtailz -> \tailz (wsuipa) |
| 21737 |
% U+0291 LATIN SMALL LETTER Z WITH CURL; zcurl; \textctz (tipa) |
| 21738 |
\DeclareTextCommand{\textctz}{PU}{\82\221}% U+0291 |
| 21739 |
%* \textctz -> \curlyz (wsuipa) |
| 21740 |
% U+0292 LATIN SMALL LETTER EZH/LATIN SMALL LETTER YOGH; ezh; |
| 21741 |
% \textyogh (tipa), \yogh (wsuipa) |
| 21742 |
\DeclareTextCommand{\textyogh}{PU}{\82\222}%* U+0292 |
| 21743 |
% U+0293 LATIN SMALL LETTER EZH WITH CURL/LATIN SMALL LETTER YOGH CURL; |
| 21744 |
% ezhcurl; \textctyogh (tipa) |
| 21745 |
\DeclareTextCommand{\textctyogh}{PU}{\82\223}% U+0293 |
| 21746 |
%* \textctyogh -> \curlyyogh (wsuipa) |
| 21747 |
% U+0294 LATIN LETTER GLOTTAL STOP; glottalstop; |
| 21748 |
% \textglotstop (tipa), \glotstop (wsuipa) |
| 21749 |
\DeclareTextCommand{\textglotstop}{PU}{\82\224}%* U+0294 |
| 21750 |
%* \textglotstop -> \ejective (wsuipa) |
| 21751 |
%* \textglotstop -> \glottal (phonetic) |
| 21752 |
% U+0295 LATIN LETTER PHARYNGEAL VOICED FRICATIVE/ |
| 21753 |
% LATIN LETTER REVERSED GLOTTAL STOP; glottalstopreversed; |
| 21754 |
% \textrevglotstop (tipa), \revglotstop (wsuipa) |
| 21755 |
\DeclareTextCommand{\textrevglotstop}{PU}{\82\225}%* U+0295 |
| 21756 |
%* \textrevglotstop -> \reveject (wsuipa) |
| 21757 |
% U+0296 LATIN LETTER INVERTED GLOTTAL STOP; glottalstopinverted; |
| 21758 |
% \textinvglotstop (tipa), \invglotstop (wsuipa) |
| 21759 |
\DeclareTextCommand{\textinvglotstop}{PU}{\82\226}%* U+0296 |
| 21760 |
% U+0297 LATIN LETTER STRETCHED C; cstretched; \textstretchc (tipa) |
| 21761 |
\DeclareTextCommand{\textstretchc}{PU}{\82\227}% U+0297 |
| 21762 |
%* \textstretchc -> \clickc (wsuipa) |
| 21763 |
%* \textstretchc -> \textstretchcvar (tipx) |
| 21764 |
% U+0298 LATIN LETTER BILABIAL CLICK; bilabialclick; |
| 21765 |
% \textbullseye (tipa) |
| 21766 |
\DeclareTextCommand{\textbullseye}{PU}{\82\230}% U+0298 |
| 21767 |
%* \textbullseye -> \clickb (wsuipa) |
| 21768 |
%* \textbullseye -> \textObullseye (tipx) |
| 21769 |
% U+0299 LATIN LETTER SMALL CAPITAL B; \textscb (tipa) |
| 21770 |
\DeclareTextCommand{\textscb}{PU}{\82\231}% U+0299 |
| 21771 |
% U+029A LATIN SMALL LETTER CLOSED OPEN E; eopenclosed; |
| 21772 |
% \textcloseepsilon (tipa) |
| 21773 |
\DeclareTextCommand{\textcloseepsilon}{PU}{\82\232}% U+029A |
| 21774 |
% U+029B LATIN LETTER SMALL CAPITAL G WITH HOOK; Gsmallhook; |
| 21775 |
% \texthtscg (tipa) |
| 21776 |
\DeclareTextCommand{\texthtscg}{PU}{\82\233}% U+029B |
| 21777 |
% U+029C LATIN LETTER SMALL CAPITAL H; \textsch (tipa) |
| 21778 |
\DeclareTextCommand{\textsch}{PU}{\82\234}% U+029C |
| 21779 |
% U+029D LATIN SMALL LETTER J WITH CROSSED-TAIL; jcrossedtail; \textcdj (tipa) |
| 21780 |
\DeclareTextCommand{\textctj}{PU}{\82\235}% U+029D |
| 21781 |
%* \textctj -> \textctjvar (tipx) |
| 21782 |
% U+029E LATIN SMALL LETTER TURNED K; kturned; \textturnk (tipa) |
| 21783 |
\DeclareTextCommand{\textturnk}{PU}{\82\236}% U+029E |
| 21784 |
%* \textturnk -> \textturnsck (tipx) |
| 21785 |
% U+029F LATIN LETTER SMALL CAPITAL L; \textscl (tipa) |
| 21786 |
\DeclareTextCommand{\textscl}{PU}{\82\237}% U+029F |
| 21787 |
% U+02A0 LATIN SMALL LETTER Q WITH HOOK; qhook; \texthtq (tipa) |
| 21788 |
\DeclareTextCommand{\texthtq}{PU}{\82\240}% U+02A0 |
| 21789 |
% U+02A1 LATIN LETTER GLOTTAL STOP WITH STROKE; glottalstopstroke; |
| 21790 |
% \textbarglotstop (tipa) |
| 21791 |
\DeclareTextCommand{\textbarglotstop}{PU}{\82\241}% U+02A1 |
| 21792 |
% U+02A2 LATIN LETTER REVERSED GLOTTAL STOP WITH STROKE/ |
| 21793 |
% LATIN LETTER REVERSED GLOTTAL STOP BAR; glottalstopstrokereversed; |
| 21794 |
% \textbarrevglotstop (tipa) |
| 21795 |
\DeclareTextCommand{\textbarrevglotstop}{PU}{\82\242}% U+02A2 |
| 21796 |
% U+02A3 LATIN SMALL LETTER DZ DIGRAPH; dzaltone; \textdzlig (tipa) |
| 21797 |
\DeclareTextCommand{\textdzlig}{PU}{\82\243}% U+02A3 |
| 21798 |
%* \textdzlig -> \dz (wsupipa) |
| 21799 |
% U+02A4 LATIN SMALL LETTER DEZH DIGRAPH; dezh; \textdyoghlig (tipa) |
| 21800 |
\DeclareTextCommand{\textdyoghlig}{PU}{\82\244}% U+02A4 |
| 21801 |
% U+02A5 LATIN SMALL LETTER DZ DIGRAPH WITH CURL; dzcurl; |
| 21802 |
% \textdctzlig (tipa) |
| 21803 |
\DeclareTextCommand{\textdctzlig}{PU}{\82\245}% U+02A5 |
| 21804 |
% U+02A6 LATIN SMALL LETTER TS DIGRAPH; ts; \texttslig (tipa) |
| 21805 |
\DeclareTextCommand{\texttslig}{PU}{\82\246}% U+02A6 |
| 21806 |
% U+02A7 LATIN SMALL LETTER TESH DIGRAPH; tesh; \textteshlig (tipa) |
| 21807 |
\DeclareTextCommand{\textteshlig}{PU}{\82\247}% U+02A7 |
| 21808 |
%* \textteshlig -> \tesh (wsuipa) |
| 21809 |
% U+02A8 LATIN SMALL LETTER TC DIGRAPH WITH CURL; tccurl; |
| 21810 |
% \texttctclig (tipa) |
| 21811 |
\DeclareTextCommand{\texttctclig}{PU}{\82\250}% U+02A8 |
| 21812 |
% U+02AE LATIN SMALL LETTER TURNED H WITH FISHHOOK; |
| 21813 |
% \textlhtlongy (tipa) |
| 21814 |
\DeclareTextCommand{\textlhtlongy}{PU}{\82\256}% U+02AE |
| 21815 |
% U+02AF LATIN SMALL LETTER TURNED H WITH FISHHOOK AND TAIL; |
| 21816 |
% \textvibyy (tipa) |
| 21817 |
\DeclareTextCommand{\textvibyy}{PU}{\82\257}% U+02AF |
| 21818 |
% \end{macrocode} |
| 21819 |
% |
| 21820 |
% \subsubsection{Spacing Modifier Letters: U+02B0 to U+02FF} |
| 21821 |
% |
| 21822 |
% \begin{macrocode} |
| 21823 |
% U+02BD MODIFIER LETTER REVERSED COMMA; |
| 21824 |
% commareversedmod, afii64937; \textrevapostrophe (tipa) |
| 21825 |
\DeclareTextCommand{\textrevapostrophe}{PU}{\82\275}% U+02BD |
| 21826 |
% U+02C0 MODIFIER LETTER GLOTTAL STOP; glottalstopmod; |
| 21827 |
% \textraiseglotstop (tipa) |
| 21828 |
\DeclareTextCommand{\textraiseglotstop}{PU}{\82\300}% U+02C0 |
| 21829 |
% U+02C2 MODIFIER LETTER LEFT ARROWHEAD; arrowheadleftmod; |
| 21830 |
% \textlptr (tipa) |
| 21831 |
\DeclareTextCommand{\textlptr}{PU}{\82\302}% U+02C2 |
| 21832 |
% U+02C3 MODIFIER LETTER RIGHT ARROWHEAD; arrowheadrightmod; |
| 21833 |
% \textrptr (tipa) |
| 21834 |
\DeclareTextCommand{\textrptr}{PU}{\82\303}% U+02C3 |
| 21835 |
% U+02C7 CARON; caron |
| 21836 |
\DeclareTextCommand{\textasciicaron}{PU}{\82\307}% U+02C7 |
| 21837 |
% U+02C8 MODIFIER LETTER VERTICAL LINE; verticallinemod; |
| 21838 |
% \textprimstress (tipa) |
| 21839 |
\DeclareTextCommand{\textprimstress}{PU}{\82\310}% U+02C8 |
| 21840 |
% U+02CC MODIFIER LETTER LOW VERTICAL LINE; verticallinelowmod; |
| 21841 |
% \textsecstress (tipa) |
| 21842 |
\DeclareTextCommand{\textsecstress}{PU}{\82\314}% U+02CC |
| 21843 |
% U+02D0 MODIFIER LETTER TRIANGULAR COLON; colontriangularmod; |
| 21844 |
% \textlengthmark (tipa) |
| 21845 |
\DeclareTextCommand{\textlengthmark}{PU}{\82\320}% U+02D0 |
| 21846 |
% U+02D1 MODIFIER LETTER HALF TRIANGULAR COLON; colontriangularhalfmod; |
| 21847 |
% \texthalflength (tipa) |
| 21848 |
\DeclareTextCommand{\texthalflength}{PU}{\82\321}% U+02D1 |
| 21849 |
% U+02D8 BREVE; breve |
| 21850 |
\DeclareTextCommand{\textasciibreve}{PU}{\82\330}% U+02D8 |
| 21851 |
% U+02D9 DOT ABOVE; dotaccent |
| 21852 |
\DeclareTextCommand{\textdotaccent}{PU}{\82\331}% U+02D9 |
| 21853 |
% U+02DA RING ABOVE; ring |
| 21854 |
\DeclareTextCommand{\textring}{PU}{\82\332}% U+02DA |
| 21855 |
% U+02DB OGONEK; ogonek |
| 21856 |
\DeclareTextCommand{\textogonek}{PU}{\82\333}% U+02DB |
| 21857 |
% U+02DC SMALL TILDE; ilde, *tilde |
| 21858 |
\DeclareTextCommand{\texttilde}{PU}{\82\334}% U+02DC |
| 21859 |
% U+02DD DOUBLE ACUTE ACCENT; hungarumlaut |
| 21860 |
\DeclareTextCommand{\texthungarumlaut}{PU}{\82\335}% U+02DD |
| 21861 |
\DeclareTextCommand{\textacutedbl}{PU}{\82\335}% U+02DD |
| 21862 |
% U+02F3 MODIFIER LETTER LOW RING |
| 21863 |
\DeclareTextCommand{\textringlow}{PU}{\82\363}% U+02F3 |
| 21864 |
% U+02F5 MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT |
| 21865 |
\DeclareTextCommand{\textgravedbl}{PU}{\82\365}% U+02F5 |
| 21866 |
% U+02F7 MODIFIER LETTER LOW TILDE |
| 21867 |
\DeclareTextCommand{\texttildelow}{PU}{\82\367}% U+02F7 |
| 21868 |
% U+02F9 MODIFIER LETTER BEGIN HIGH TONE; \textopencorner (tipa) |
| 21869 |
\DeclareTextCommand{\textopencorner}{PU}{\82\371}% U+02F9 |
| 21870 |
% U+02FA MODIFIER LETTER END HIGH TONE; \textcorner (tipa) |
| 21871 |
\DeclareTextCommand{\textcorner}{PU}{\82\372}% U+02FA |
| 21872 |
% \end{macrocode} |
| 21873 |
% |
| 21874 |
% \subsubsection{Combining Diacritical Marks: U+0300 to U+036F} |
| 21875 |
% |
| 21876 |
% \begin{macrocode} |
| 21877 |
% U+030F COMBINING DOUBLE GRAVE ACCENT; dblgravecmb |
| 21878 |
\DeclareTextCommand{\textdoublegrave}{PU}{ \83\017}% U+030F |
| 21879 |
% U+0311 COMBINING INVERTED BREVE; breveinvertedcmb |
| 21880 |
\DeclareTextCommand{\textnewtie}{PU}{ \83\021}% U+0311 |
| 21881 |
% U+0323 COMBINING DOT BELOW; dotbelowcmb, *dotbelowcomb |
| 21882 |
\DeclareTextCommand{\textdotbelow}{PU}{ \83\043}% U+0323 |
| 21883 |
% U+0331 COMBINING MACRON BELOW; macronbelowcmb |
| 21884 |
\DeclareTextCommand{\textmacronbelow}{PU}{ \83\061}% U+0331 |
| 21885 |
% U+0361 COMBINING DOUBLE INVERTED BREVE; breveinverteddoublecmb |
| 21886 |
\DeclareTextCommand{\texttie}{PU}{ \83\141}% U+0361 |
| 21887 |
% \end{macrocode} |
| 21888 |
% |
| 21889 |
% \subsubsection{Greek and Coptic: U+0370 to U+03FF} |
| 21890 |
% Greek is only loaded if \cs{textBeta} is defined. |
| 21891 |
% \begin{macrocode} |
| 21892 |
\ifx\textBeta\@undefined \else |
| 21893 |
\input{puenc-greek.def} |
| 21894 |
\fi |
| 21895 |
%</puenc> |
| 21896 |
% \end{macrocode} |
| 21897 |
% |
| 21898 |
% \subsubsection{Cyrillic: U+0400 to U+04FF} |
| 21899 |
% |
| 21900 |
% Thanks to Vladimir Volovich (\Email{[email protected]}) for |
| 21901 |
% the help with the Cyrillic glyph names. |
| 21902 |
% Cyrillic only loaded if \cs{CYRDZE} is defined. |
| 21903 |
% \begin{macrocode} |
| 21904 |
%<*puenc> |
| 21905 |
\ifx\CYRDZE\@undefined \else |
| 21906 |
% U+0400 CYRILLIC CAPITAL LETTER IE WITH GRAVE |
| 21907 |
\DeclareTextCompositeCommand{\`}{PU}{\CYRE}{\84\000}% U+0400 |
| 21908 |
% U+0401 CYRILLIC CAPITAL LETTER IO; Iocyrillic, *afii10023 |
| 21909 |
\DeclareTextCommand{\CYRYO}{PU}{\84\001}% U+0401 |
| 21910 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRE}{\84\001}% U+0401 |
| 21911 |
% U+0402 CYRILLIC CAPITAL LETTER DJE; Djecyrillic, *afii10051 |
| 21912 |
\DeclareTextCommand{\CYRDJE}{PU}{\84\002}% U+0402 |
| 21913 |
% U+0403 CYRILLIC CAPITAL LETTER GJE; Gjecyrillic, *afii10052 |
| 21914 |
\DeclareTextCompositeCommand{\'}{PU}{\CYRG}{\84\003}% U+0403 |
| 21915 |
% U+0404 CYRILLIC CAPITAL LETTER UKRAINIAN IE; Ecyrillic, *afii10053 |
| 21916 |
\DeclareTextCommand{\CYRIE}{PU}{\84\004}% U+0404 |
| 21917 |
% U+0405 CYRILLIC CAPITAL LETTER DZE; Dzecyrillic, *afii10054 |
| 21918 |
\DeclareTextCommand{\CYRDZE}{PU}{\84\005}% U+0405 |
| 21919 |
% U+0406 CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I; |
| 21920 |
% Icyrillic, *afii10055 |
| 21921 |
\DeclareTextCommand{\CYRII}{PU}{\84\006}% U+0406 |
| 21922 |
% U+0407 CYRILLIC CAPITAL LETTER YI; Yicyrillic, *afii10056 |
| 21923 |
\DeclareTextCommand{\CYRYI}{PU}{\84\007}% U+0407 |
| 21924 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRII}{\84\007}% U+0407 |
| 21925 |
% U+0408 CYRILLIC CAPITAL LETTER JE; Jecyrillic, *afii10057 |
| 21926 |
\DeclareTextCommand{\CYRJE}{PU}{\84\010}% U+0408 |
| 21927 |
% U+0409 CYRILLIC CAPITAL LETTER LJE; Ljecyrillic, *afii10058 |
| 21928 |
\DeclareTextCommand{\CYRLJE}{PU}{\84\011}% U+0409 |
| 21929 |
% U+040A CYRILLIC CAPITAL LETTER NJE; Njecyrillic, *afii10059 |
| 21930 |
\DeclareTextCommand{\CYRNJE}{PU}{\84\012}% U+040A |
| 21931 |
% U+040B CYRILLIC CAPITAL LETTER TSHE; Tshecyrillic, *afii10060 |
| 21932 |
\DeclareTextCommand{\CYRTSHE}{PU}{\84\013}% U+040B |
| 21933 |
% U+040C CYRILLIC CAPITAL LETTER KJE; Kjecyrillic, *afii10061 |
| 21934 |
\DeclareTextCompositeCommand{\'}{PU}{\CYRK}{\84\014}% U+040C |
| 21935 |
% U+040D CYRILLIC CAPITAL LETTER I WITH GRAVE |
| 21936 |
\DeclareTextCompositeCommand{\`}{PU}{\CYRI}{\84\015}% U+040D |
| 21937 |
% U+040E CYRILLIC CAPITAL LETTER SHORT U; Ushortcyrillic, *afii10062 |
| 21938 |
\DeclareTextCommand{\CYRUSHRT}{PU}{\84\016}% U+040E |
| 21939 |
\DeclareTextCompositeCommand{\U}{PU}{\CYRU}{\84\016}% U+040E |
| 21940 |
% U+040F CYRILLIC CAPITAL LETTER DZHE; Dzhecyrillic, *afii10145 |
| 21941 |
\DeclareTextCommand{\CYRDZHE}{PU}{\84\017}% U+040F |
| 21942 |
% U+0410 CYRILLIC CAPITAL LETTER A; Acyrillic, *afii10017 |
| 21943 |
\DeclareTextCommand{\CYRA}{PU}{\84\020}% U+0410 |
| 21944 |
% U+0411 CYRILLIC CAPITAL LETTER BE; Becyrillic, *afii10018 |
| 21945 |
\DeclareTextCommand{\CYRB}{PU}{\84\021}% U+0411 |
| 21946 |
% U+0412 CYRILLIC CAPITAL LETTER VE; Vecyrillic, *afii10019 |
| 21947 |
\DeclareTextCommand{\CYRV}{PU}{\84\022}% U+0412 |
| 21948 |
% U+0413 CYRILLIC CAPITAL LETTER GHE; Gecyrillic, *afii10020 |
| 21949 |
\DeclareTextCommand{\CYRG}{PU}{\84\023}% U+0413 |
| 21950 |
% U+0414 CYRILLIC CAPITAL LETTER DE; Decyrillic, *afii10021 |
| 21951 |
\DeclareTextCommand{\CYRD}{PU}{\84\024}% U+0414 |
| 21952 |
% U+0415 CYRILLIC CAPITAL LETTER IE; Iecyrillic, *afii10022 |
| 21953 |
\DeclareTextCommand{\CYRE}{PU}{\84\025}% U+0415 |
| 21954 |
% U+0416 CYRILLIC CAPITAL LETTER ZHE; Zhecyrillic, *afii10024 |
| 21955 |
\DeclareTextCommand{\CYRZH}{PU}{\84\026}% U+0416 |
| 21956 |
% U+0417 CYRILLIC CAPITAL LETTER ZE; Zecyrillic, *afii10025 |
| 21957 |
\DeclareTextCommand{\CYRZ}{PU}{\84\027}% U+0417 |
| 21958 |
% U+0418 CYRILLIC CAPITAL LETTER I; Iicyrillic, *afii10026 |
| 21959 |
\DeclareTextCommand{\CYRI}{PU}{\84\030}% U+0418 |
| 21960 |
% U+0419 CYRILLIC CAPITAL LETTER SHORT I; Iishortcyrillic, *afii10027 |
| 21961 |
\DeclareTextCommand{\CYRISHRT}{PU}{\84\031}% U+0419 |
| 21962 |
\DeclareTextCompositeCommand{\U}{PU}{\CYRI}{\84\031}% U+0419 |
| 21963 |
% U+041A CYRILLIC CAPITAL LETTER KA; Kacyrillic, *afii10028 |
| 21964 |
\DeclareTextCommand{\CYRK}{PU}{\84\032}% U+041A |
| 21965 |
% U+041B CYRILLIC CAPITAL LETTER EL; Elcyrillic, *afii10029 |
| 21966 |
\DeclareTextCommand{\CYRL}{PU}{\84\033}% U+041B |
| 21967 |
% U+041C CYRILLIC CAPITAL LETTER EM; Emcyrillic, *afii10030 |
| 21968 |
\DeclareTextCommand{\CYRM}{PU}{\84\034}% U+041C |
| 21969 |
% U+041D CYRILLIC CAPITAL LETTER EN; Encyrillic, *afii10031 |
| 21970 |
\DeclareTextCommand{\CYRN}{PU}{\84\035}% U+041D |
| 21971 |
% U+041E CYRILLIC CAPITAL LETTER O; Ocyrillic, *afii10032 |
| 21972 |
\DeclareTextCommand{\CYRO}{PU}{\84\036}% U+041E |
| 21973 |
% U+041F CYRILLIC CAPITAL LETTER PE; Pecyrillic, *afii10033 |
| 21974 |
\DeclareTextCommand{\CYRP}{PU}{\84\037}% U+041F |
| 21975 |
% U+0420 CYRILLIC CAPITAL LETTER ER; Ercyrillic, *afii10034 |
| 21976 |
\DeclareTextCommand{\CYRR}{PU}{\84\040}% U+0420 |
| 21977 |
% U+0421 CYRILLIC CAPITAL LETTER ES; Escyrillic, *afii10035 |
| 21978 |
\DeclareTextCommand{\CYRS}{PU}{\84\041}% U+0421 |
| 21979 |
% U+0422 CYRILLIC CAPITAL LETTER TE; Tecyrillic, *afii10036 |
| 21980 |
\DeclareTextCommand{\CYRT}{PU}{\84\042}% U+0422 |
| 21981 |
% U+0423 CYRILLIC CAPITAL LETTER U; Ucyrillic, *afii10037 |
| 21982 |
\DeclareTextCommand{\CYRU}{PU}{\84\043}% U+0423 |
| 21983 |
% U+0424 CYRILLIC CAPITAL LETTER EF; Efcyrillic, *afii10038 |
| 21984 |
\DeclareTextCommand{\CYRF}{PU}{\84\044}% U+0424 |
| 21985 |
% U+0425 CYRILLIC CAPITAL LETTER HA; Khacyrillic, *afii10039 |
| 21986 |
\DeclareTextCommand{\CYRH}{PU}{\84\045}% U+0425 |
| 21987 |
% U+0426 CYRILLIC CAPITAL LETTER TSE; Tsecyrillic, *afii10040 |
| 21988 |
\DeclareTextCommand{\CYRC}{PU}{\84\046}% U+0426 |
| 21989 |
% U+0427 CYRILLIC CAPITAL LETTER CHE; Checyrillic, *afii10041 |
| 21990 |
\DeclareTextCommand{\CYRCH}{PU}{\84\047}% U+0427 |
| 21991 |
% U+0428 CYRILLIC CAPITAL LETTER SHA; Shacyrillic, *afii10042 |
| 21992 |
\DeclareTextCommand{\CYRSH}{PU}{\84\050}% U+0428 |
| 21993 |
% U+0429 CYRILLIC CAPITAL LETTER SHCHA; Shchacyrillic, *afii10043 |
| 21994 |
\DeclareTextCommand{\CYRSHCH}{PU}{\84\051}% U+0429 |
| 21995 |
% U+042A CYRILLIC CAPITAL LETTER HARD SIGN; |
| 21996 |
% Hardsigncyrillic, *afii10044 |
| 21997 |
\DeclareTextCommand{\CYRHRDSN}{PU}{\84\052}% U+042A |
| 21998 |
% U+042B CYRILLIC CAPITAL LETTER YERU; Yericyrillic, *afii10045 |
| 21999 |
\DeclareTextCommand{\CYRERY}{PU}{\84\053}% U+042B |
| 22000 |
% U+042C CYRILLIC CAPITAL LETTER SOFT SIGN; |
| 22001 |
% Softsigncyrillic, *afii10046 |
| 22002 |
\DeclareTextCommand{\CYRSFTSN}{PU}{\84\054}% U+042C |
| 22003 |
% U+042D CYRILLIC CAPITAL LETTER E; Ereversedcyrillic, *afii10047 |
| 22004 |
\DeclareTextCommand{\CYREREV}{PU}{\84\055}% U+042D |
| 22005 |
% U+042E CYRILLIC CAPITAL LETTER YU; IUcyrillic, *afii10048 |
| 22006 |
\DeclareTextCommand{\CYRYU}{PU}{\84\056}% U+042E |
| 22007 |
% U+042F CYRILLIC CAPITAL LETTER YA; IAcyrillic, *afii10049 |
| 22008 |
\DeclareTextCommand{\CYRYA}{PU}{\84\057}% U+042F |
| 22009 |
% U+0430 CYRILLIC SMALL LETTER A; acyrillic, *afii10065 |
| 22010 |
\DeclareTextCommand{\cyra}{PU}{\84\060}% U+0430 |
| 22011 |
% U+0431 CYRILLIC SMALL LETTER BE; *afii10066, becyrillic |
| 22012 |
\DeclareTextCommand{\cyrb}{PU}{\84\061}% U+0431 |
| 22013 |
% U+0432 CYRILLIC SMALL LETTER VE; *afii10067, vecyrillic |
| 22014 |
\DeclareTextCommand{\cyrv}{PU}{\84\062}% U+0432 |
| 22015 |
% U+0433 CYRILLIC SMALL LETTER GHE; *afii10068, gecyrillic |
| 22016 |
\DeclareTextCommand{\cyrg}{PU}{\84\063}% U+0433 |
| 22017 |
% U+0434 CYRILLIC SMALL LETTER DE; *afii10069, decyrillic |
| 22018 |
\DeclareTextCommand{\cyrd}{PU}{\84\064}% U+0434 |
| 22019 |
% U+0435 CYRILLIC SMALL LETTER IE; *afii10070, iecyrillic |
| 22020 |
\DeclareTextCommand{\cyre}{PU}{\84\065}% U+0435 |
| 22021 |
% U+0436 CYRILLIC SMALL LETTER ZHE; *afii10072, zhecyrillic |
| 22022 |
\DeclareTextCommand{\cyrzh}{PU}{\84\066}% U+0436 |
| 22023 |
% U+0437 CYRILLIC SMALL LETTER ZE; *afii10073, zecyrillic |
| 22024 |
\DeclareTextCommand{\cyrz}{PU}{\84\067}% U+0437 |
| 22025 |
% U+0438 CYRILLIC SMALL LETTER I; *afii10074, iicyrillic |
| 22026 |
\DeclareTextCommand{\cyri}{PU}{\84\070}% U+0438 |
| 22027 |
% U+0439 CYRILLIC SMALL LETTER SHORT I; *afii10075, iishortcyrillic |
| 22028 |
\DeclareTextCommand{\cyrishrt}{PU}{\84\071}% U+0439 |
| 22029 |
\DeclareTextCompositeCommand{\U}{PU}{\cyri}{\84\071}% U+0439 |
| 22030 |
% U+043A CYRILLIC SMALL LETTER KA; *afii10076, kacyrillic |
| 22031 |
\DeclareTextCommand{\cyrk}{PU}{\84\072}% U+043A |
| 22032 |
% U+043B CYRILLIC SMALL LETTER EL; *afii10077, elcyrillic |
| 22033 |
\DeclareTextCommand{\cyrl}{PU}{\84\073}% U+043B |
| 22034 |
% U+043C CYRILLIC SMALL LETTER EM; *afii10078, emcyrillic |
| 22035 |
\DeclareTextCommand{\cyrm}{PU}{\84\074}% U+043C |
| 22036 |
% U+043D CYRILLIC SMALL LETTER EN; *afii10079, encyrillic |
| 22037 |
\DeclareTextCommand{\cyrn}{PU}{\84\075}% U+043D |
| 22038 |
% U+043E CYRILLIC SMALL LETTER O; *afii10080, ocyrillic |
| 22039 |
\DeclareTextCommand{\cyro}{PU}{\84\076}% U+043E |
| 22040 |
% U+043F CYRILLIC SMALL LETTER PE; *afii10081, pecyrillic |
| 22041 |
\DeclareTextCommand{\cyrp}{PU}{\84\077}% U+043F |
| 22042 |
% U+0440 CYRILLIC SMALL LETTER ER; *afii10082, ercyrillic |
| 22043 |
\DeclareTextCommand{\cyrr}{PU}{\84\100}% U+0440 |
| 22044 |
% U+0441 CYRILLIC SMALL LETTER ES; *afii10083, escyrillic |
| 22045 |
\DeclareTextCommand{\cyrs}{PU}{\84\101}% U+0441 |
| 22046 |
% U+0442 CYRILLIC SMALL LETTER TE; *afii10084, tecyrillic |
| 22047 |
\DeclareTextCommand{\cyrt}{PU}{\84\102}% U+0442 |
| 22048 |
% U+0443 CYRILLIC SMALL LETTER U; *afii10085, ucyrillic |
| 22049 |
\DeclareTextCommand{\cyru}{PU}{\84\103}% U+0443 |
| 22050 |
% U+0444 CYRILLIC SMALL LETTER EF; *afii10086, efcyrillic |
| 22051 |
\DeclareTextCommand{\cyrf}{PU}{\84\104}% U+0444 |
| 22052 |
% U+0445 CYRILLIC SMALL LETTER HA; *afii10087, khacyrillic |
| 22053 |
\DeclareTextCommand{\cyrh}{PU}{\84\105}% U+0445 |
| 22054 |
% U+0446 CYRILLIC SMALL LETTER TSE; *afii10088, tsecyrillic |
| 22055 |
\DeclareTextCommand{\cyrc}{PU}{\84\106}% U+0446 |
| 22056 |
% U+0447 CYRILLIC SMALL LETTER CHE; *afii10089, checyrillic |
| 22057 |
\DeclareTextCommand{\cyrch}{PU}{\84\107}% U+0447 |
| 22058 |
% U+0448 CYRILLIC SMALL LETTER SHA; *afii10090, shacyrillic |
| 22059 |
\DeclareTextCommand{\cyrsh}{PU}{\84\110}% U+0448 |
| 22060 |
% U+0449 CYRILLIC SMALL LETTER SHCHA; *afii10091, shchacyrillic |
| 22061 |
\DeclareTextCommand{\cyrshch}{PU}{\84\111}% U+0449 |
| 22062 |
% U+044A CYRILLIC SMALL LETTER HARD SIGN; *afii10092, hardsigncyrillic |
| 22063 |
\DeclareTextCommand{\cyrhrdsn}{PU}{\84\112}% U+044A |
| 22064 |
%* \cyrhrdsn -> \hardsign (tipa) |
| 22065 |
% U+044B CYRILLIC SMALL LETTER YERU; *afii10093, yericyrillic |
| 22066 |
\DeclareTextCommand{\cyrery}{PU}{\84\113}% U+044B |
| 22067 |
% U+044C CYRILLIC SMALL LETTER SOFT SIGN; *afii10094, softsigncyrillic |
| 22068 |
\DeclareTextCommand{\cyrsftsn}{PU}{\84\114}% U+044C |
| 22069 |
%* \cyrsftsn -> \softsign (tipa) |
| 22070 |
% U+044D CYRILLIC SMALL LETTER E; *afii10095, ereversedcyrillic |
| 22071 |
\DeclareTextCommand{\cyrerev}{PU}{\84\115}% U+044D |
| 22072 |
% U+044E CYRILLIC SMALL LETTER YU; *afii10096, iucyrillic |
| 22073 |
\DeclareTextCommand{\cyryu}{PU}{\84\116}% U+044E |
| 22074 |
% U+044F CYRILLIC SMALL LETTER YA; *afii10097, iacyrillic |
| 22075 |
\DeclareTextCommand{\cyrya}{PU}{\84\117}% U+044F |
| 22076 |
% U+0450 CYRILLIC SMALL LETTER IE WITH GRAVE |
| 22077 |
\DeclareTextCompositeCommand{\`}{PU}{\cyre}{\84\120}% U+0450 |
| 22078 |
% U+0451 CYRILLIC SMALL LETTER IO; *afii10071, iocyrillic |
| 22079 |
\DeclareTextCommand{\cyryo}{PU}{\84\121}% U+0451 |
| 22080 |
\DeclareTextCompositeCommand{\"}{PU}{\cyre}{\84\121}% U+0451 |
| 22081 |
% U+0452 CYRILLIC SMALL LETTER DJE; *afii10099, djecyrillic |
| 22082 |
\DeclareTextCommand{\cyrdje}{PU}{\84\122}% U+0452 |
| 22083 |
% U+0453 CYRILLIC SMALL LETTER GJE; *afii10100, gjecyrillic |
| 22084 |
\DeclareTextCompositeCommand{\'}{PU}{\cyrg}{\84\123}% U+0453 |
| 22085 |
% U+0454 CYRILLIC SMALL LETTER UKRAINIAN IE; *afii10101, ecyrillic |
| 22086 |
\DeclareTextCommand{\cyrie}{PU}{\84\124}% U+0454 |
| 22087 |
% U+0455 CYRILLIC SMALL LETTER DZE; *afii10102, dzecyrillic |
| 22088 |
\DeclareTextCommand{\cyrdze}{PU}{\84\125}% U+0455 |
| 22089 |
% U+0456 CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I; |
| 22090 |
% *afii10103, icyrillic |
| 22091 |
\DeclareTextCommand{\cyrii}{PU}{\84\126}% U+0456 |
| 22092 |
% U+0457 CYRILLIC SMALL LETTER YI; *afii10104, yicyrillic |
| 22093 |
\DeclareTextCommand{\cyryi}{PU}{\84\127}% U+0457 |
| 22094 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrii}{\84\127}% U+0457 |
| 22095 |
% U+0458 CYRILLIC SMALL LETTER JE; *afii10105, jecyrillic |
| 22096 |
\DeclareTextCommand{\cyrje}{PU}{\84\130}% U+0458 |
| 22097 |
% U+0459 CYRILLIC SMALL LETTER LJE; *afii10106, ljecyrillic |
| 22098 |
\DeclareTextCommand{\cyrlje}{PU}{\84\131}% U+0459 |
| 22099 |
% U+045A CYRILLIC SMALL LETTER NJE; *afii10107, njecyrillic |
| 22100 |
\DeclareTextCommand{\cyrnje}{PU}{\84\132}% U+045A |
| 22101 |
% U+045B CYRILLIC SMALL LETTER TSHE; *afii10108, tshecyrillic |
| 22102 |
\DeclareTextCommand{\cyrtshe}{PU}{\84\133}% U+045B |
| 22103 |
% U+045C CYRILLIC SMALL LETTER KJE; *afii10109, kjecyrillic |
| 22104 |
\DeclareTextCompositeCommand{\'}{PU}{\cyrk}{\84\134}% U+045C |
| 22105 |
% U+045D CYRILLIC SMALL LETTER I WITH GRAVE |
| 22106 |
\DeclareTextCompositeCommand{\`}{PU}{\cyri}{\84\135}% U+045D |
| 22107 |
% U+045E CYRILLIC SMALL LETTER SHORT U; *afii10110, ushortcyrillic |
| 22108 |
\DeclareTextCommand{\cyrushrt}{PU}{\84\136}% U+045E |
| 22109 |
\DeclareTextCompositeCommand{\U}{PU}{\curu}{\84\136}% U+045E |
| 22110 |
% U+045F CYRILLIC SMALL LETTER DZHE; *afii10193, dzhecyrillic |
| 22111 |
\DeclareTextCommand{\cyrdzhe}{PU}{\84\137}% U+045F |
| 22112 |
% U+0460 CYRILLIC CAPITAL LETTER OMEGA; Omegacyrillic |
| 22113 |
\DeclareTextCommand{\CYROMEGA}{PU}{\84\140}% U+0460 |
| 22114 |
% U+0461 CYRILLIC SMALL LETTER OMEGA; omegacyrillic |
| 22115 |
\DeclareTextCommand{\cyromega}{PU}{\84\141}% U+0461 |
| 22116 |
% U+0462 CYRILLIC CAPITAL LETTER YAT; Yatcyrillic, *afii10146 |
| 22117 |
\DeclareTextCommand{\CYRYAT}{PU}{\84\142}% U+0462 |
| 22118 |
% U+0463 CYRILLIC SMALL LETTER YAT; *afii10194, yatcyrillic |
| 22119 |
\DeclareTextCommand{\cyryat}{PU}{\84\143}% U+0463 |
| 22120 |
% U+0464 CYRILLIC CAPITAL LETTER IOTIFIED E; Eiotifiedcyrillic |
| 22121 |
\DeclareTextCommand{\CYRIOTE}{PU}{\84\144}% U+0464 |
| 22122 |
% U+0465 CYRILLIC SMALL LETTER IOTIFIED E; eiotifiedcyrillic |
| 22123 |
\DeclareTextCommand{\cyriote}{PU}{\84\145}% U+0465 |
| 22124 |
% U+0466 CYRILLIC CAPITAL LETTER LITTLE YUS; Yuslittlecyrillic |
| 22125 |
\DeclareTextCommand{\CYRLYUS}{PU}{\84\146}% U+0466 |
| 22126 |
% U+0467 CYRILLIC SMALL LETTER LITTLE YUS; yuslittlecyrillic |
| 22127 |
\DeclareTextCommand{\cyrlyus}{PU}{\84\147}% U+0467 |
| 22128 |
% U+0468 CYRILLIC CAPITAL LETTER IOTIFIED LITTLE YUS; Yuslittleiotifiedcyrillic |
| 22129 |
\DeclareTextCommand{\CYRIOTLYUS}{PU}{\84\150}% U+0468 |
| 22130 |
% U+0469 CYRILLIC SMALL LETTER IOTIFIED LITTLE YUS; yuslittleiotifiedcyrillic |
| 22131 |
\DeclareTextCommand{\cyriotlyus}{PU}{\84\151}% U+0469 |
| 22132 |
% U+046A CYRILLIC CAPITAL LETTER BIG YUS; Yusbigcyrillic |
| 22133 |
\DeclareTextCommand{\CYRBYUS}{PU}{\84\152}% U+046A |
| 22134 |
% U+046B CYRILLIC SMALL LETTER BIG YUS; yusbigcyrillic |
| 22135 |
\DeclareTextCommand{\cyrbyus}{PU}{\84\153}% U+046B |
| 22136 |
% U+046C CYRILLIC CAPITAL LETTER IOTIFIED BIG YUS; Yusbigiotifiedcyrillic |
| 22137 |
\DeclareTextCommand{\CYRIOTBYUS}{PU}{\84\154}% U+046C |
| 22138 |
% U+046D CYRILLIC SMALL LETTER IOTIFIED BIG YUS; yusbigiotifiedcyrillic |
| 22139 |
\DeclareTextCommand{\cyriotbyus}{PU}{\84\155}% U+046D |
| 22140 |
% U+046E CYRILLIC CAPITAL LETTER KSI; Ksicyrillic |
| 22141 |
\DeclareTextCommand{\CYRKSI}{PU}{\84\156}% U+046E |
| 22142 |
% U+046F CYRILLIC SMALL LETTER KSI; ksicyrillic |
| 22143 |
\DeclareTextCommand{\cyrksi}{PU}{\84\157}% U+046F |
| 22144 |
% U+0470 CYRILLIC CAPITAL LETTER PSI; Psicyrillic |
| 22145 |
\DeclareTextCommand{\CYRPSI}{PU}{\84\160}% U+0470 |
| 22146 |
% U+0471 CYRILLIC SMALL LETTER PSI; psicyrillic |
| 22147 |
\DeclareTextCommand{\cyrpsi}{PU}{\84\161}% U+0471 |
| 22148 |
% U+0472 CYRILLIC CAPITAL LETTER FITA; Fitacyrillic, *afii10147 |
| 22149 |
\DeclareTextCommand{\CYRFITA}{PU}{\84\162}% U+0472 |
| 22150 |
% U+0473 CYRILLIC SMALL LETTER FITA; *afii10195, fitacyrillic |
| 22151 |
\DeclareTextCommand{\cyrfita}{PU}{\84\163}% U+0473 |
| 22152 |
% U+0474 CYRILLIC CAPITAL LETTER IZHITSA; Izhitsacyrillic, *afii10148 |
| 22153 |
\DeclareTextCommand{\CYRIZH}{PU}{\84\164}% U+0474 |
| 22154 |
% U+0475 CYRILLIC SMALL LETTER IZHITSA; *afii10196, izhitsacyrillic |
| 22155 |
\DeclareTextCommand{\cyrizh}{PU}{\84\165}% U+0475 |
| 22156 |
% U+0476 CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE |
| 22157 |
% GRAVE ACCENT; Izhitsadblgravecyrillic |
| 22158 |
\DeclareTextCompositeCommand{\C}{PU}{\CYRIZH}{\84\166}% U+0476 |
| 22159 |
% U+0477 CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE |
| 22160 |
% GRAVE ACCENT; izhitsadblgravecyrillic |
| 22161 |
\DeclareTextCompositeCommand{\C}{PU}{\cyrizh}{\84\167}% U+0477 |
| 22162 |
% U+0478 CYRILLIC CAPITAL LETTER UK; Ukcyrillic |
| 22163 |
\DeclareTextCommand{\CYRUK}{PU}{\84\170}% U+0478 |
| 22164 |
% U+0479 CYRILLIC SMALL LETTER UK; ukcyrillic |
| 22165 |
\DeclareTextCommand{\cyruk}{PU}{\84\171}% U+0479 |
| 22166 |
% U+047A CYRILLIC CAPITAL LETTER ROUND OMEGA; Omegaroundcyrillic |
| 22167 |
\DeclareTextCommand{\CYROMEGARND}{PU}{\84\172}% U+047A |
| 22168 |
% U+047B CYRILLIC SMALL LETTER ROUND OMEGA; omegaroundcyrillic |
| 22169 |
\DeclareTextCommand{\cyromegarnd}{PU}{\84\173}% U+047B |
| 22170 |
% U+047C CYRILLIC CAPITAL LETTER OMEGA WITH TITLO; Omegatitlocyrillic |
| 22171 |
\DeclareTextCommand{\CYROMEGATITLO}{PU}{\84\174}% U+047C |
| 22172 |
% U+047D CYRILLIC SMALL LETTER OMEGA WITH TITLO; omegatitlocyrillic |
| 22173 |
\DeclareTextCommand{\cyromegatitlo}{PU}{\84\175}% U+047D |
| 22174 |
% U+047E CYRILLIC CAPITAL LETTER OT; Otcyrillic |
| 22175 |
\DeclareTextCommand{\CYROT}{PU}{\84\176}% U+047E |
| 22176 |
% U+047F CYRILLIC SMALL LETTER OT; otcyrillic |
| 22177 |
\DeclareTextCommand{\cyrot}{PU}{\84\177}% U+047F |
| 22178 |
% U+0480 CYRILLIC CAPITAL LETTER KOPPA; Koppacyrillic |
| 22179 |
\DeclareTextCommand{\CYRKOPPA}{PU}{\84\200}% U+0480 |
| 22180 |
% U+0481 CYRILLIC SMALL LETTER KOPPA; koppacyrillic |
| 22181 |
\DeclareTextCommand{\cyrkoppa}{PU}{\84\201}% U+0481 |
| 22182 |
% U+0482 CYRILLIC THOUSANDS SIGN; thousandcyrillic |
| 22183 |
\DeclareTextCommand{\cyrthousands}{PU}{\84\202}% U+0482 |
| 22184 |
% \end{macrocode} |
| 22185 |
% |\84\203|: U+0483 COMBINING CYRILLIC TITLO; titlocyrilliccmb\\ |
| 22186 |
% |\84\204|: U+0484 COMBINING CYRILLIC PALATALIZATION; palatalizationcyrilliccmb\\ |
| 22187 |
% |\84\205|: U+0485 COMBINING CYRILLIC DASIA PNEUMATA; dasiapneumatacyrilliccmb\\ |
| 22188 |
% |\84\206|: U+0486 COMBINING CYRILLIC PSILI PNEUMATA; psilipneumatacyrilliccmb\\ |
| 22189 |
% |\84\207|: U+0487 COMBINING CYRILLIC POKRYTIE\\ |
| 22190 |
% |\84\210|: U+0488 COMBINING CYRILLIC HUNDRED THOUSANDS SIGN\\ |
| 22191 |
% |\84\211|: U+0489 COMBINING CYRILLIC MILLIONS SIGN |
| 22192 |
% \begin{macrocode} |
| 22193 |
% U+048A CYRILLIC CAPITAL LETTER SHORT I WITH TAIL |
| 22194 |
\DeclareTextCommand{\CYRISHRTDSC}{PU}{\84\212}% U+048A |
| 22195 |
% U+048B CYRILLIC SMALL LETTER SHORT I WITH TAIL |
| 22196 |
\DeclareTextCommand{\cyrishrtdsc}{PU}{\84\213}% U+048B |
| 22197 |
% U+048C CYRILLIC CAPITAL LETTER SEMISOFT SIGN |
| 22198 |
\DeclareTextCommand{\CYRSEMISFTSN}{PU}{\84\214}% U+048C |
| 22199 |
% U+048D CYRILLIC SMALL LETTER SEMISOFT SIGN |
| 22200 |
\DeclareTextCommand{\cyrsemisftsn}{PU}{\84\215}% U+048D |
| 22201 |
% U+048E CYRILLIC CAPITAL LETTER ER WITH TICK |
| 22202 |
\DeclareTextCommand{\CYRRTICK}{PU}{\84\216}% U+048E |
| 22203 |
% U+048F CYRILLIC SMALL LETTER ER WITH TICK |
| 22204 |
\DeclareTextCommand{\cyrrtick}{PU}{\84\217}% U+048F |
| 22205 |
% U+0490 CYRILLIC CAPITAL LETTER GHE WITH UPTURN; Gheupturncyrillic, *afii10050 |
| 22206 |
\DeclareTextCommand{\CYRGUP}{PU}{\84\220}% U+0490 |
| 22207 |
% U+0491 CYRILLIC SMALL LETTER GHE WITH UPTURN; *afii10098, gheupturncyrillic |
| 22208 |
\DeclareTextCommand{\cyrgup}{PU}{\84\221}% U+0491 |
| 22209 |
% U+0492 CYRILLIC CAPITAL LETTER GHE WITH STROKE; Ghestrokecyrillic |
| 22210 |
\DeclareTextCommand{\CYRGHCRS}{PU}{\84\222}% U+0492 |
| 22211 |
% U+0493 CYRILLIC SMALL LETTER GHE WITH STROKE; ghestrokecyrillic |
| 22212 |
\DeclareTextCommand{\cyrghcrs}{PU}{\84\223}% U+0493 |
| 22213 |
% U+0494 CYRILLIC CAPITAL LETTER GHE WITH MIDDLE HOOK; |
| 22214 |
% Ghemiddlehookcyrillic |
| 22215 |
\DeclareTextCommand{\CYRGHK}{PU}{\84\224}% U+0494 |
| 22216 |
% U+0495 CYRILLIC SMALL LETTER GHE WITH MIDDLE HOOK; |
| 22217 |
% ghemiddlehookcyrillic |
| 22218 |
\DeclareTextCommand{\cyrghk}{PU}{\84\225}% U+0495 |
| 22219 |
% U+0496 CYRILLIC CAPITAL LETTER ZHE WITH DESCENDER; |
| 22220 |
% Zhedescendercyrillic |
| 22221 |
\DeclareTextCommand{\CYRZHDSC}{PU}{\84\226}% U+0496 |
| 22222 |
% U+0497 CYRILLIC SMALL LETTER ZHE WITH DESCENDER; |
| 22223 |
% zhedescendercyrillic |
| 22224 |
\DeclareTextCommand{\cyrzhdsc}{PU}{\84\227}% U+0497 |
| 22225 |
% U+0498 CYRILLIC CAPITAL LETTER ZE WITH DESCENDER; Zedescendercyrillic |
| 22226 |
\DeclareTextCommand{\CYRZDSC}{PU}{\84\230}% U+0498 |
| 22227 |
\DeclareTextCompositeCommand{\c}{PU}{\CYRZ}{\84\230}% U+0498 |
| 22228 |
% U+0499 CYRILLIC SMALL LETTER ZE WITH DESCENDER; zedescendercyrillic |
| 22229 |
\DeclareTextCommand{\cyrzdsc}{PU}{\84\231}% U+0499 |
| 22230 |
\DeclareTextCompositeCommand{\c}{PU}{\cyrz}{\84\231}% U+0499 |
| 22231 |
% U+049A CYRILLIC CAPITAL LETTER KA WITH DESCENDER; Kadescendercyrillic |
| 22232 |
\DeclareTextCommand{\CYRKDSC}{PU}{\84\232}% U+049A |
| 22233 |
% U+049B CYRILLIC SMALL LETTER KA WITH DESCENDER; kadescendercyrillic |
| 22234 |
\DeclareTextCommand{\cyrkdsc}{PU}{\84\233}% U+049B |
| 22235 |
% U+049C CYRILLIC CAPITAL LETTER KA WITH VERTICAL STROKE; |
| 22236 |
% Kaverticalstrokecyrillic |
| 22237 |
\DeclareTextCommand{\CYRKVCRS}{PU}{\84\234}% U+049C |
| 22238 |
% U+049D CYRILLIC SMALL LETTER KA WITH VERTICAL STROKE; |
| 22239 |
% kaverticalstrokecyrillic |
| 22240 |
\DeclareTextCommand{\cyrkvcrs}{PU}{\84\235}% U+049D |
| 22241 |
% U+049E CYRILLIC CAPITAL LETTER KA WITH STROKE; Kastrokecyrillic |
| 22242 |
\DeclareTextCommand{\CYRKHCRS}{PU}{\84\236}% U+049E |
| 22243 |
% U+049F CYRILLIC SMALL LETTER KA WITH STROKE; kastrokecyrillic |
| 22244 |
\DeclareTextCommand{\cyrkhcrs}{PU}{\84\237}% U+049F |
| 22245 |
% U+04A0 CYRILLIC CAPITAL LETTER BASHKIR KA; Kabashkircyrillic |
| 22246 |
\DeclareTextCommand{\CYRKBEAK}{PU}{\84\240}% U+04A0 |
| 22247 |
% U+04A1 CYRILLIC SMALL LETTER BASHKIR KA; kabashkircyrillic |
| 22248 |
\DeclareTextCommand{\cyrkbeak}{PU}{\84\241}% U+04A1 |
| 22249 |
% U+04A2 CYRILLIC CAPITAL LETTER EN WITH DESCENDER; Endescendercyrillic |
| 22250 |
\DeclareTextCommand{\CYRNDSC}{PU}{\84\242}% U+04A2 |
| 22251 |
% U+04A3 CYRILLIC SMALL LETTER EN WITH DESCENDER; endescendercyrillic |
| 22252 |
\DeclareTextCommand{\cyrndsc}{PU}{\84\243}% U+04A3 |
| 22253 |
% U+04A4 CYRILLIC CAPITAL LIGATURE EN GHE; Enghecyrillic |
| 22254 |
\DeclareTextCommand{\CYRNG}{PU}{\84\244}% U+04A4 |
| 22255 |
% U+04A5 CYRILLIC SMALL LIGATURE EN GHE; enghecyrillic |
| 22256 |
\DeclareTextCommand{\cyrng}{PU}{\84\245}% U+04A5 |
| 22257 |
% U+04A6 CYRILLIC CAPITAL LETTER PE WITH MIDDLE HOOK; Pemiddlehookcyrillic |
| 22258 |
\DeclareTextCommand{\CYRPHK}{PU}{\84\246}% U+04A6 |
| 22259 |
% U+04A7 CYRILLIC SMALL LETTER PE WITH MIDDLE HOOK; pemiddlehookcyrillic |
| 22260 |
\DeclareTextCommand{\cyrphk}{PU}{\84\247}% U+04A7 |
| 22261 |
% U+04A8 CYRILLIC CAPITAL LETTER ABKHASIAN HA; Haabkhasiancyrillic |
| 22262 |
\DeclareTextCommand{\CYRABHHA}{PU}{\84\250}% U+04A8 |
| 22263 |
% U+04A9 CYRILLIC SMALL LETTER ABKHASIAN HA; haabkhasiancyrillic |
| 22264 |
\DeclareTextCommand{\cyrabhha}{PU}{\84\251}% U+04A9 |
| 22265 |
% U+04AA CYRILLIC CAPITAL LETTER ES WITH DESCENDER; Esdescendercyrillic |
| 22266 |
\DeclareTextCommand{\CYRSDSC}{PU}{\84\252}% U+04AA |
| 22267 |
\DeclareTextCompositeCommand{\k}{PU}{\CYRS}{\84\252}% U+04AA |
| 22268 |
% U+04AB CYRILLIC SMALL LETTER ES WITH DESCENDER; esdescendercyrillic |
| 22269 |
\DeclareTextCommand{\cyrsdsc}{PU}{\84\253}% U+04AB |
| 22270 |
\DeclareTextCompositeCommand{\k}{PU}{\cyrs}{\84\253}% U+04AB |
| 22271 |
% U+04AC CYRILLIC CAPITAL LETTER TE WITH DESCENDER; Tedescendercyrillic |
| 22272 |
\DeclareTextCommand{\CYRTDSC}{PU}{\84\254}% U+04AC |
| 22273 |
% U+04AD CYRILLIC SMALL LETTER TE WITH DESCENDER; tedescendercyrillic |
| 22274 |
\DeclareTextCommand{\cyrtdsc}{PU}{\84\255}% U+04AD |
| 22275 |
% U+04AE CYRILLIC CAPITAL LETTER STRAIGHT U; Ustraightcyrillic |
| 22276 |
\DeclareTextCommand{\CYRY}{PU}{\84\256}% U+04AE |
| 22277 |
% U+04AF CYRILLIC SMALL LETTER STRAIGHT U; ustraightcyrillic |
| 22278 |
\DeclareTextCommand{\cyry}{PU}{\84\257}% U+04AF |
| 22279 |
% U+04B0 CYRILLIC CAPITAL LETTER STRAIGHT U WITH STROKE; Ustraightstrokecyrillic |
| 22280 |
\DeclareTextCommand{\CYRYHCRS}{PU}{\84\260}% U+04B0 |
| 22281 |
% U+04B1 CYRILLIC SMALL LETTER STRAIGHT U WITH STROKE; ustraightstrokecyrillic |
| 22282 |
\DeclareTextCommand{\cyryhcrs}{PU}{\84\261}% U+04B1 |
| 22283 |
% U+04B2 CYRILLIC CAPITAL LETTER HA WITH DESCENDER; Hadescendercyrillic |
| 22284 |
\DeclareTextCommand{\CYRHDSC}{PU}{\84\262}% U+04B2 |
| 22285 |
% U+04B3 CYRILLIC SMALL LETTER HA WITH DESCENDER; hadescendercyrillic |
| 22286 |
\DeclareTextCommand{\cyrhdsc}{PU}{\84\263}% U+04B3 |
| 22287 |
% U+04B4 CYRILLIC CAPITAL LIGATURE TE TSE; Tetsecyrillic |
| 22288 |
\DeclareTextCommand{\CYRTETSE}{PU}{\84\264}% U+04B4 |
| 22289 |
% U+04B5 CYRILLIC SMALL LIGATURE TE TSE; tetsecyrillic |
| 22290 |
\DeclareTextCommand{\cyrtetse}{PU}{\84\265}% U+04B5 |
| 22291 |
% U+04B6 CYRILLIC CAPITAL LETTER CHE WITH DESCENDER; |
| 22292 |
% Chedescendercyrillic |
| 22293 |
\DeclareTextCommand{\CYRCHRDSC}{PU}{\84\266}% U+04B6 |
| 22294 |
% U+04B7 CYRILLIC SMALL LETTER CHE WITH DESCENDER; chedescendercyrillic |
| 22295 |
\DeclareTextCommand{\cyrchrdsc}{PU}{\84\267}% U+04B7 |
| 22296 |
% U+04B8 CYRILLIC CAPITAL LETTER CHE WITH VERTICAL STROKE; |
| 22297 |
% Cheverticalstrokecyrillic |
| 22298 |
\DeclareTextCommand{\CYRCHVCRS}{PU}{\84\270}% U+04B8 |
| 22299 |
% U+04B9 CYRILLIC SMALL LETTER CHE WITH VERTICAL STROKE; |
| 22300 |
% cheverticalstrokecyrillic |
| 22301 |
\DeclareTextCommand{\cyrchvcrs}{PU}{\84\271}% U+04B9 |
| 22302 |
% U+04BA CYRILLIC CAPITAL LETTER SHHA; Shhacyrillic |
| 22303 |
\DeclareTextCommand{\CYRSHHA}{PU}{\84\272}% U+04BA |
| 22304 |
% U+04BB CYRILLIC SMALL LETTER SHHA; shhacyrillic |
| 22305 |
\DeclareTextCommand{\cyrshha}{PU}{\84\273}% U+04BB |
| 22306 |
% U+04BC CYRILLIC CAPITAL LETTER ABKHASIAN CHE; Cheabkhasiancyrillic |
| 22307 |
\DeclareTextCommand{\CYRABHCH}{PU}{\84\274}% U+04BC |
| 22308 |
% U+04BD CYRILLIC SMALL LETTER ABKHASIAN CHE; cheabkhasiancyrillic |
| 22309 |
\DeclareTextCommand{\cyrabhch}{PU}{\84\275}% U+04BD |
| 22310 |
% U+04BE CYRILLIC CAPITAL LETTER ABKHASIAN CHE WITH DESCENDER; Chedescenderabkhasiancyrillic |
| 22311 |
\DeclareTextCommand{\CYRABHCHDSC}{PU}{\84\276}% U+04BE |
| 22312 |
\DeclareTextCompositeCommand{\k}{PU}{\CYRABHCH}{\84\276}% U+04BE |
| 22313 |
% U+04BF CYRILLIC SMALL LETTER ABKHASIAN CHE WITH DESCENDER; chedescenderabkhasiancyrillic |
| 22314 |
\DeclareTextCommand{\cyrabhchdsc}{PU}{\84\277}% U+04BF |
| 22315 |
\DeclareTextCompositeCommand{\k}{PU}{\cyrabhch}{\84\277}% U+04BF |
| 22316 |
% U+04C0 CYRILLIC LETTER PALOCHKA; palochkacyrillic |
| 22317 |
\DeclareTextCommand{\CYRpalochka}{PU}{\84\300}% U+04C0 |
| 22318 |
% U+04C1 CYRILLIC CAPITAL LETTER ZHE WITH BREVE; Zhebrevecyrillic |
| 22319 |
\DeclareTextCompositeCommand{\U}{PU}{\CYRZH}{\84\301}% U+04C1 |
| 22320 |
% U+04C2 CYRILLIC SMALL LETTER ZHE WITH BREVE; zhebrevecyrillic |
| 22321 |
\DeclareTextCompositeCommand{\U}{PU}{\cyrzh}{\84\302}% U+04C2 |
| 22322 |
% U+04C3 CYRILLIC CAPITAL LETTER KA WITH HOOK; Kahookcyrillic |
| 22323 |
\DeclareTextCommand{\CYRKHK}{PU}{\84\303}% U+04C3 |
| 22324 |
% U+04C4 CYRILLIC SMALL LETTER KA WITH HOOK; kahookcyrillic |
| 22325 |
\DeclareTextCommand{\cyrkhk}{PU}{\84\304}% U+04C4 |
| 22326 |
% U+04C5 CYRILLIC CAPITAL LETTER EL WITH TAIL |
| 22327 |
\DeclareTextCommand{\CYRLDSC}{PU}{\84\305}% U+04C5 |
| 22328 |
% U+04C6 CYRILLIC SMALL LETTER EL WITH TAIL |
| 22329 |
\DeclareTextCommand{\cyrldsc}{PU}{\84\306}% U+04C6 |
| 22330 |
% U+04C7 CYRILLIC CAPITAL LETTER EN WITH HOOK; Enhookcyrillic |
| 22331 |
\DeclareTextCommand{\CYRNHK}{PU}{\84\307}% U+04C7 |
| 22332 |
% U+04C8 CYRILLIC SMALL LETTER EN WITH HOOK; enhookcyrillic |
| 22333 |
\DeclareTextCommand{\cyrnhk}{PU}{\84\310}% U+04C8 |
| 22334 |
% U+04CB CYRILLIC CAPITAL LETTER KHAKASSIAN CHE; Chekhakassiancyrillic |
| 22335 |
\DeclareTextCommand{\CYRCHLDSC}{PU}{\84\313}% U+04CB |
| 22336 |
% U+04CC CYRILLIC SMALL LETTER KHAKASSIAN CHE; chekhakassiancyrillic |
| 22337 |
\DeclareTextCommand{\cyrchldsc}{PU}{\84\314}% U+04CC |
| 22338 |
% U+04CD CYRILLIC CAPITAL LETTER EM WITH TAIL |
| 22339 |
\DeclareTextCommand{\CYRMDSC}{PU}{\84\315}% U+04CD |
| 22340 |
% U+04CE CYRILLIC SMALL LETTER EM WITH TAIL |
| 22341 |
\DeclareTextCommand{\cyrmdsc}{PU}{\84\316}% U+04CE |
| 22342 |
% \end{macrocode} |
| 22343 |
% |\84\317|: U+04CF CYRILLIC SMALL LETTER PALOCHKA |
| 22344 |
% \begin{macrocode} |
| 22345 |
% U+04D0 CYRILLIC CAPITAL LETTER A WITH BREVE; Abrevecyrillic |
| 22346 |
\DeclareTextCompositeCommand{\U}{PU}{\CYRA}{\84\320}% U+04D0 |
| 22347 |
% U+04D1 CYRILLIC SMALL LETTER A WITH BREVE; abrevecyrillic |
| 22348 |
\DeclareTextCompositeCommand{\U}{PU}{\cyra}{\84\321}% U+04D1 |
| 22349 |
% U+04D2 CYRILLIC CAPITAL LETTER A WITH DIAERESIS; Adieresiscyrillic |
| 22350 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRA}{\84\322}% U+04D2 |
| 22351 |
% U+04D3 CYRILLIC SMALL LETTER A WITH DIAERESIS; adieresiscyrillic |
| 22352 |
\DeclareTextCompositeCommand{\"}{PU}{\cyra}{\84\323}% U+04D3 |
| 22353 |
% U+04D4 CYRILLIC CAPITAL LIGATURE A IE; Aiecyrillic |
| 22354 |
\DeclareTextCommand{\CYRAE}{PU}{\84\324}% U+04D4 |
| 22355 |
% U+04D5 CYRILLIC SMALL LIGATURE A IE; aiecyrillic |
| 22356 |
\DeclareTextCommand{\cyrae}{PU}{\84\325}% U+04D5 |
| 22357 |
% U+04D6 CYRILLIC CAPITAL LETTER IE WITH BREVE; Iebrevecyrillic |
| 22358 |
\DeclareTextCompositeCommand{\U}{PU}{\CYRE}{\84\326}% U+04D6 |
| 22359 |
% U+04D7 CYRILLIC SMALL LETTER IE WITH BREVE; iebrevecyrillic |
| 22360 |
\DeclareTextCompositeCommand{\U}{PU}{\cyre}{\84\327}% U+04D7 |
| 22361 |
% U+04D8 CYRILLIC CAPITAL LETTER SCHWA; Schwacyrillic |
| 22362 |
\DeclareTextCommand{\CYRSCHWA}{PU}{\84\330}% U+04D8 |
| 22363 |
% U+04D9 CYRILLIC SMALL LETTER SCHWA; *afii10846, schwacyrillic |
| 22364 |
\DeclareTextCommand{\cyrschwa}{PU}{\84\331}% U+04D9 |
| 22365 |
% U+04DA CYRILLIC CAPITAL LETTER SCHWA WITH DIAERESIS; |
| 22366 |
% Schwadieresiscyrillic |
| 22367 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRSCHWA}{\84\332}% U+04DA |
| 22368 |
% U+04DB CYRILLIC SMALL LETTER SCHWA WITH DIAERESIS; |
| 22369 |
% schwadieresiscyrillic |
| 22370 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrschwa}{\84\333}% U+04DB |
| 22371 |
% U+04DC CYRILLIC CAPITAL LETTER ZHE WITH DIAERESIS; Zhedieresiscyrillic |
| 22372 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRZH}{\84\334}% U+04DC |
| 22373 |
% U+04DD CYRILLIC SMALL LETTER ZHE WITH DIAERESIS; zhedieresiscyrillic |
| 22374 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrzh}{\84\335}% U+04DD |
| 22375 |
% U+04DE CYRILLIC CAPITAL LETTER ZE WITH DIAERESIS; Zedieresiscyrillic |
| 22376 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRZ}{\84\336}% U+04DE |
| 22377 |
% U+04DF CYRILLIC SMALL LETTER ZE WITH DIAERESIS; zedieresiscyrillic |
| 22378 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrz}{\84\337}% U+04DF |
| 22379 |
% U+04E0 CYRILLIC CAPITAL LETTER ABKHASIAN DZE; Dzeabkhasiancyrillic |
| 22380 |
\DeclareTextCommand{\CYRABHDZE}{PU}{\84\340}% U+04E0 |
| 22381 |
% U+04E1 CYRILLIC SMALL LETTER ABKHASIAN DZE; dzeabkhasiancyrillic |
| 22382 |
\DeclareTextCommand{\cyrabhdze}{PU}{\84\341}% U+04E1 |
| 22383 |
% U+04E2 CYRILLIC CAPITAL LETTER I WITH MACRON; Imacroncyrillic |
| 22384 |
\DeclareTextCompositeCommand{\=}{PU}{\CYRI}{\84\342}% U+04E2 |
| 22385 |
% U+04E3 CYRILLIC SMALL LETTER I WITH MACRON; imacroncyrillic |
| 22386 |
\DeclareTextCompositeCommand{\=}{PU}{\cyri}{\84\343}% U+04E3 |
| 22387 |
% U+04E4 CYRILLIC CAPITAL LETTER I WITH DIAERESIS; Idieresiscyrillic |
| 22388 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRI}{\84\344}% U+04E4 |
| 22389 |
% U+04E5 CYRILLIC SMALL LETTER I WITH DIAERESIS; idieresiscyrillic |
| 22390 |
\DeclareTextCompositeCommand{\"}{PU}{\cyri}{\84\345}% U+04E5 |
| 22391 |
% U+04E6 CYRILLIC CAPITAL LETTER O WITH DIAERESIS; Odieresiscyrillic |
| 22392 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRO}{\84\346}% U+04E6 |
| 22393 |
% U+04E7 CYRILLIC SMALL LETTER O WITH DIAERESIS; odieresiscyrillic |
| 22394 |
\DeclareTextCompositeCommand{\"}{PU}{\cyro}{\84\347}% U+04E7 |
| 22395 |
% U+04E8 CYRILLIC CAPITAL LETTER BARRED O; Obarredcyrillic |
| 22396 |
\DeclareTextCommand{\CYROTLD}{PU}{\84\350}% U+04E8 |
| 22397 |
% U+04E9 CYRILLIC SMALL LETTER BARRED O; obarredcyrillic |
| 22398 |
\DeclareTextCommand{\cyrotld}{PU}{\84\351}% U+04E9 |
| 22399 |
% U+04EA CYRILLIC CAPITAL LETTER BARRED O WITH DIAERESIS; |
| 22400 |
% Obarreddieresiscyrillic |
| 22401 |
\DeclareTextCompositeCommand{\"}{PU}{\CYROTLD}{\84\352}% U+04EA |
| 22402 |
% U+04EB CYRILLIC SMALL LETTER BARRED O WITH DIAERESIS; |
| 22403 |
% obarreddieresiscyrillic |
| 22404 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrotld}{\84\353}% U+04EB |
| 22405 |
% U+04EC CYRILLIC CAPITAL LETTER E WITH DIAERESIS |
| 22406 |
\DeclareTextCompositeCommand{\"}{PU}{\CYREREV}{\84\354}% U+04EC |
| 22407 |
% U+04ED CYRILLIC SMALL LETTER E WITH DIAERESIS |
| 22408 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrerev}{\84\355}% U+04ED |
| 22409 |
% U+04EE CYRILLIC CAPITAL LETTER U WITH MACRON; Umacroncyrillic |
| 22410 |
\DeclareTextCompositeCommand{\=}{PU}{\CYRU}{\84\356}% U+04EE |
| 22411 |
% U+04EF CYRILLIC SMALL LETTER U WITH MACRON; umacroncyrillic |
| 22412 |
\DeclareTextCompositeCommand{\=}{PU}{\cyru}{\84\357}% U+04EF |
| 22413 |
% U+04F0 CYRILLIC CAPITAL LETTER U WITH DIAERESIS; Udieresiscyrillic |
| 22414 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRU}{\84\360}% U+04F0 |
| 22415 |
% U+04F1 CYRILLIC SMALL LETTER U WITH DIAERESIS; udieresiscyrillic |
| 22416 |
\DeclareTextCompositeCommand{\"}{PU}{\cyru}{\84\361}% U+04F1 |
| 22417 |
% U+04F2 CYRILLIC CAPITAL LETTER U WITH DOUBLE ACUTE; Uhungarumlautcyrillic |
| 22418 |
\DeclareTextCompositeCommand{\H}{PU}{\CYRU}{\84\362}% U+04F2 |
| 22419 |
% U+04F3 CYRILLIC SMALL LETTER U WITH DOUBLE ACUTE; uhungarumlautcyrillic |
| 22420 |
\DeclareTextCompositeCommand{\H}{PU}{\cyru}{\84\363}% U+04F3 |
| 22421 |
% U+04F4 CYRILLIC CAPITAL LETTER CHE WITH DIAERESIS; Chedieresiscyrillic |
| 22422 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRCH}{\84\364}% U+04F4 |
| 22423 |
% U+04F5 CYRILLIC SMALL LETTER CHE WITH DIAERESIS; chedieresiscyrillic |
| 22424 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrch}{\84\365}% U+04F5 |
| 22425 |
% U+04F6 CYRILLIC CAPITAL LETTER GHE WITH DESCENDER |
| 22426 |
\DeclareTextCommand{\CYRGDSC}{PU}{\84\366}% U+04F6 |
| 22427 |
% U+04F7 CYRILLIC SMALL LETTER GHE WITH DESCENDER |
| 22428 |
\DeclareTextCommand{\cyrgdsc}{PU}{\84\367}% U+04F7 |
| 22429 |
% U+04F8 CYRILLIC CAPITAL LETTER YERU WITH DIAERESIS; Yerudieresiscyrillic |
| 22430 |
\DeclareTextCompositeCommand{\"}{PU}{\CYRERY}{\84\370}% U+04F8 |
| 22431 |
% U+04F9 CYRILLIC SMALL LETTER YERU WITH DIAERESIS; yerudieresiscyrillic |
| 22432 |
\DeclareTextCompositeCommand{\"}{PU}{\cyrery}{\84\371}% U+04F9 |
| 22433 |
% \end{macrocode} |
| 22434 |
% |\84\372|: U+04FA CYRILLIC CAPITAL LETTER GHE WITH STROKE AND HOOK\\ |
| 22435 |
% |\84\373|: U+04FB CYRILLIC SMALL LETTER GHE WITH STROKE AND HOOK |
| 22436 |
% \begin{macrocode} |
| 22437 |
% U+04FC CYRILLIC CAPITAL LETTER HA WITH HOOK |
| 22438 |
\DeclareTextCommand{\CYRHHK}{PU}{\84\374}% U+04FC |
| 22439 |
% U+04FD CYRILLIC SMALL LETTER HA WITH HOOK |
| 22440 |
\DeclareTextCommand{\cyrhhk}{PU}{\84\375}% U+04FD |
| 22441 |
\fi |
| 22442 |
% \end{macrocode} |
| 22443 |
% |\84\376|: U+04FE CYRILLIC CAPITAL LETTER HA WITH STROKE\\ |
| 22444 |
% |\84\377|: U+04FF CYRILLIC SMALL LETTER HA WITH STROKE |
| 22445 |
% |
| 22446 |
% \subsubsection{Hebrew: U+0590 to U+05FF} |
| 22447 |
% |
| 22448 |
% Macro names are taken from \texttt{he8enc.def}. |
| 22449 |
% hebrew is only loaded if \cs{hebdalet} is defined |
| 22450 |
% \begin{macrocode} |
| 22451 |
\ifx\hebdalet\@undefined\else |
| 22452 |
% U+05C3 HEBREW PUNCTUATION SOF PASUQ |
| 22453 |
\DeclareTextCommand{\sofpasuq}{PU}{\85\303}% U+05C3 |
| 22454 |
% U+05D0 HEBREW LETTER ALEF |
| 22455 |
\DeclareTextCommand{\hebalef}{PU}{\85\320}% U+05D0 |
| 22456 |
% U+05D1 HEBREW LETTER BET |
| 22457 |
\DeclareTextCommand{\hebbet}{PU}{\85\321}% U+05D1 |
| 22458 |
% U+05D2 HEBREW LETTER GIMEL |
| 22459 |
\DeclareTextCommand{\hebgimel}{PU}{\85\322}% U+05D2 |
| 22460 |
% U+05D3 HEBREW LETTER DALET |
| 22461 |
\DeclareTextCommand{\hebdalet}{PU}{\85\323}% U+05D3 |
| 22462 |
% U+05D4 HEBREW LETTER HE |
| 22463 |
\DeclareTextCommand{\hebhe}{PU}{\85\324}% U+05D4 |
| 22464 |
% U+05D5 HEBREW LETTER VAV |
| 22465 |
\DeclareTextCommand{\hebvav}{PU}{\85\325}% U+05D5 |
| 22466 |
% U+05D6 HEBREW LETTER ZAYIN |
| 22467 |
\DeclareTextCommand{\hebzayin}{PU}{\85\326}% U+05D6 |
| 22468 |
% U+05D7 HEBREW LETTER HET |
| 22469 |
\DeclareTextCommand{\hebhet}{PU}{\85\327}% U+05D7 |
| 22470 |
% U+05D8 HEBREW LETTER TET |
| 22471 |
\DeclareTextCommand{\hebtet}{PU}{\85\330}% U+05D8 |
| 22472 |
% U+05D9 HEBREW LETTER YOD |
| 22473 |
\DeclareTextCommand{\hebyod}{PU}{\85\331}% U+05D9 |
| 22474 |
% U+05DA HEBREW LETTER FINAL KAF |
| 22475 |
\DeclareTextCommand{\hebfinalkaf}{PU}{\85\332}% U+05DA |
| 22476 |
% U+05DB HEBREW LETTER KAF |
| 22477 |
\DeclareTextCommand{\hebkaf}{PU}{\85\333}% U+05DB |
| 22478 |
% U+05DC HEBREW LETTER LAMED |
| 22479 |
\DeclareTextCommand{\heblamed}{PU}{\85\334}% U+05DC |
| 22480 |
% U+05DD HEBREW LETTER FINAL MEM |
| 22481 |
\DeclareTextCommand{\hebfinalmem}{PU}{\85\335}% U+05DD |
| 22482 |
% U+05DE HEBREW LETTER MEM |
| 22483 |
\DeclareTextCommand{\hebmem}{PU}{\85\336}% U+05DE |
| 22484 |
% U+05DF HEBREW LETTER FINAL NUN |
| 22485 |
\DeclareTextCommand{\hebfinalnun}{PU}{\85\337}% U+05DF |
| 22486 |
% U+05E0 HEBREW LETTER NUN |
| 22487 |
\DeclareTextCommand{\hebnun}{PU}{\85\340}% U+05E0 |
| 22488 |
% U+05E1 HEBREW LETTER SAMEKH |
| 22489 |
\DeclareTextCommand{\hebsamekh}{PU}{\85\341}% U+05E1 |
| 22490 |
% U+05E2 HEBREW LETTER AYIN |
| 22491 |
\DeclareTextCommand{\hebayin}{PU}{\85\342}% U+05E2 |
| 22492 |
% U+05E3 HEBREW LETTER FINAL PE |
| 22493 |
\DeclareTextCommand{\hebfinalpe}{PU}{\85\343}% U+05E3 |
| 22494 |
% U+05E4 HEBREW LETTER PE |
| 22495 |
\DeclareTextCommand{\hebpe}{PU}{\85\344}% U+05E4 |
| 22496 |
% U+05E5 HEBREW LETTER FINAL TSADI |
| 22497 |
\DeclareTextCommand{\hebfinaltsadi}{PU}{\85\345}% U+05E5 |
| 22498 |
% U+05E6 HEBREW LETTER TSADI |
| 22499 |
\DeclareTextCommand{\hebtsadi}{PU}{\85\346}% U+05E6 |
| 22500 |
% U+05E7 HEBREW LETTER QOF |
| 22501 |
\DeclareTextCommand{\hebqof}{PU}{\85\347}% U+05E7 |
| 22502 |
% U+05E8 HEBREW LETTER RESH |
| 22503 |
\DeclareTextCommand{\hebresh}{PU}{\85\350}% U+05E8 |
| 22504 |
% U+05E9 HEBREW LETTER SHIN |
| 22505 |
\DeclareTextCommand{\hebshin}{PU}{\85\351}% U+05E9 |
| 22506 |
%* \hebshin -> \hebsin (he8) |
| 22507 |
% U+05EA HEBREW LETTER TAV |
| 22508 |
\DeclareTextCommand{\hebtav}{PU}{\85\352}% U+05EA |
| 22509 |
% U+05F0 HEBREW LIGATURE YIDDISH DOUBLE VAV |
| 22510 |
\DeclareTextCommand{\doublevav}{PU}{\85\360}% U+05F0 |
| 22511 |
% U+05F1 HEBREW LIGATURE YIDDISH VAV YOD |
| 22512 |
\DeclareTextCommand{\vavyod}{PU}{\85\361}% U+05F1 |
| 22513 |
% U+05F2 HEBREW LIGATURE YIDDISH DOUBLE YOD |
| 22514 |
\DeclareTextCommand{\doubleyod}{PU}{\85\362}% U+05F2 |
| 22515 |
\fi |
| 22516 |
% \end{macrocode} |
| 22517 |
% |
| 22518 |
% \subsubsection{Thai: U+0E00 to U+0E7F} |
| 22519 |
% |
| 22520 |
% \begin{macrocode} |
| 22521 |
% U+0E3F THAI CURRENCY SYMBOL BAHT; bahtthai |
| 22522 |
\DeclareTextCommand{\textbaht}{PU}{\9016\077}% U+0E3F |
| 22523 |
% \end{macrocode} |
| 22524 |
% |
| 22525 |
% \subsubsection{Phonetic Extensions: U+1D00 to U+1D7F} |
| 22526 |
% |
| 22527 |
% \begin{macrocode} |
| 22528 |
% U+1D00 LATIN LETTER SMALL CAPITAL A; \textsca (tipa) |
| 22529 |
\DeclareTextCommand{\textsca}{PU}{\9035\000}% U+1D00 |
| 22530 |
% U+1D05 LATIN LETTER SMALL CAPITAL D; \scd (wsuipa) |
| 22531 |
\DeclareTextCommand{\textscd}{PU}{\9035\005}%* U+1D05 |
| 22532 |
% U+1D07 LATIN LETTER SMALL CAPITAL E; \textsce (tipa) |
| 22533 |
\DeclareTextCommand{\textsce}{PU}{\9035\007}% U+1D07 |
| 22534 |
% U+1D0A LATIN LETTER SMALL CAPITAL J; \textscj (tipa) |
| 22535 |
\DeclareTextCommand{\textscj}{PU}{\9035\012}% U+1D0A |
| 22536 |
% U+1D0B LATIN LETTER SMALL CAPITAL K; \textsck (tipx) |
| 22537 |
\DeclareTextCommand{\textPUsck}{PU}{\9035\013}% U+1D0B |
| 22538 |
%* \textPUsck -> \textsck (tipx) |
| 22539 |
% U+1D0D LATIN LETTER SMALL CAPITAL M; \textscm (tipx) |
| 22540 |
\DeclareTextCommand{\textPUscm}{PU}{\9035\015}% U+1D0D |
| 22541 |
%* \textPUscm -> \textscm (tipx) |
| 22542 |
% U+1D18 LATIN LETTER SMALL CAPITAL P; \textscp (tipx) |
| 22543 |
\DeclareTextCommand{\textPUscp}{PU}{\9035\030}% U+1D18 |
| 22544 |
%* \textPUscp -> \textscp (tipx) |
| 22545 |
% U+1D19 LATIN LETTER SMALL CAPITAL REVERSED R; \textrevscr (tipx) |
| 22546 |
\DeclareTextCommand{\textPUrevscr}{PU}{\9035\031}% U+1D19 |
| 22547 |
%* \textPUrevscr -> \textrevscr (tipx) |
| 22548 |
% U+1D1C LATIN LETTER SMALL CAPITAL U; \textscu (tipa), \scu (wsuipa) |
| 22549 |
\DeclareTextCommand{\textscu}{PU}{\9035\034}%* U+1D1C |
| 22550 |
% U+1D62 LATIN SUBSCRIPT SMALL LETTER I |
| 22551 |
\DeclareTextCommand{\textiinferior}{PU}{\9035\142}%* U+1D62 |
| 22552 |
% U+1D63 LATIN SUBSCRIPT SMALL LETTER R |
| 22553 |
\DeclareTextCommand{\textrinferior}{PU}{\9035\143}%* U+1D63 |
| 22554 |
% U+1D64 LATIN SUBSCRIPT SMALL LETTER U |
| 22555 |
\DeclareTextCommand{\textuinferior}{PU}{\9035\144}%* U+1D64 |
| 22556 |
% U+1D65 LATIN SUBSCRIPT SMALL LETTER V |
| 22557 |
\DeclareTextCommand{\textvinferior}{PU}{\9035\145}%* U+1D65 |
| 22558 |
% U+1D66 GREEK SUBSCRIPT SMALL LETTER BETA |
| 22559 |
\DeclareTextCommand{\textbetainferior}{PU}{\9035\146}%* U+1D66 |
| 22560 |
% U+1D67 GREEK SUBSCRIPT SMALL LETTER GAMMA |
| 22561 |
\DeclareTextCommand{\textgammainferior}{PU}{\9035\147}%* U+1D67 |
| 22562 |
% U+1D68 GREEK SUBSCRIPT SMALL LETTER RHO |
| 22563 |
\DeclareTextCommand{\textrhoinferior}{PU}{\9035\150}%* U+1D68 |
| 22564 |
% U+1D69 GREEK SUBSCRIPT SMALL LETTER PHI |
| 22565 |
\DeclareTextCommand{\textphiinferior}{PU}{\9035\151}%* U+1D69 |
| 22566 |
% U+1D6A GREEK SUBSCRIPT SMALL LETTER CHI |
| 22567 |
\DeclareTextCommand{\textchiinferior}{PU}{\9035\152}%* U+1D6A |
| 22568 |
% U+1D7B LATIN SMALL CAPITAL LETTER I WITH STROKE; |
| 22569 |
% \barsci (wsuipa) |
| 22570 |
\DeclareTextCommand{\textbarsci}{PU}{\9035\173}%* U+1D7B |
| 22571 |
% U+1D7D LATIN SMALL LETTER P WITH STROKE; \barp (wsuipa) |
| 22572 |
\DeclareTextCommand{\textbarp}{PU}{\9035\175}%* U+1D7D |
| 22573 |
% U+1D7E LATIN SMALL CAPITAL LETTER U WITH STROKE; |
| 22574 |
% \barscu (wsuipa) |
| 22575 |
\DeclareTextCommand{\textbarscu}{PU}{\9035\176}%* U+1D7E |
| 22576 |
% \end{macrocode} |
| 22577 |
% |
| 22578 |
% \subsubsection{Phonetic Extensions Supplement: U+1D80 to U+1DBF} |
| 22579 |
% |
| 22580 |
% \begin{macrocode} |
| 22581 |
% U+1D8F LATIN SMALL LETTER A WITH RETROFLEX HOOK; \textrhooka (tipx) |
| 22582 |
\DeclareTextCommand{\textPUrhooka}{PU}{\9035\217}% U+1D8F |
| 22583 |
%* \textPUrhooka -> \textrhooka (tipx) |
| 22584 |
% U+1D91 LATIN SMALL LETTER D WITH HOOK AND TAIL; \texthtrtaild (tipa) |
| 22585 |
\DeclareTextCommand{\texthtrtaild}{PU}{\9035\221}%* U+1D91 |
| 22586 |
% U+1D92 LATIN SMALL LETTER E WITH RETROFLEX HOOK; \textrhooke (tipx) |
| 22587 |
\DeclareTextCommand{\textPUrhooke}{PU}{\9035\222}% U+1D92 |
| 22588 |
%* \textPUrhooke -> \textrhooke (tipx) |
| 22589 |
% U+1D93 LATIN SMALL LETTER OPEN E WITH RETROFLEX HOOK; |
| 22590 |
% \textrhookepsilon (tipx) |
| 22591 |
\DeclareTextCommand{\textPUrhookepsilon}{PU}{\9035\223}% U+1D93 |
| 22592 |
%* \textPUrhookepsilon -> \textrhookepsilon (tipx) |
| 22593 |
% U+1D97 LATIN SMALL LETTER OPEN O WITH RETROFLEX HOOK; |
| 22594 |
% \textrhookopeno (tipx) |
| 22595 |
\DeclareTextCommand{\textPUrhookopeno}{PU}{\9035\227}% U+1D97 |
| 22596 |
%* \textPUrhookopeno -> \textrhookopeno (tipx) |
| 22597 |
% \end{macrocode} |
| 22598 |
% |
| 22599 |
% \subsubsection{Latin Extended Additional: U+1E00 to U+1EFF} |
| 22600 |
% |
| 22601 |
% \begin{macrocode} |
| 22602 |
% U+1E00 LATIN CAPITAL LETTER A WITH RING BELOW; Aringbelow |
| 22603 |
\DeclareTextCompositeCommand{\textsubring}{PU}{A}{\9036\000}% U+1E00 |
| 22604 |
% U+1E01 LATIN SMALL LETTER A WITH RING BELOW; aringbelow |
| 22605 |
\DeclareTextCompositeCommand{\textsubring}{PU}{a}{\9036\001}% U+1E01 |
| 22606 |
% U+1E02 LATIN CAPITAL LETTER B WITH DOT ABOVE; Bdotaccent |
| 22607 |
\DeclareTextCompositeCommand{\.}{PU}{B}{\9036\002}% U+1E02 |
| 22608 |
% U+1E03 LATIN SMALL LETTER B WITH DOT ABOVE; bdotaccent |
| 22609 |
\DeclareTextCompositeCommand{\.}{PU}{b}{\9036\003}% U+1E03 |
| 22610 |
% U+1E04 LATIN CAPITAL LETTER B WITH DOT BELOW; Bdotbelow |
| 22611 |
\DeclareTextCompositeCommand{\d}{PU}{B}{\9036\004}% U+1E04 |
| 22612 |
% U+1E05 LATIN SMALL LETTER B WITH DOT BELOW; bdotbelow |
| 22613 |
\DeclareTextCompositeCommand{\d}{PU}{b}{\9036\005}% U+1E05 |
| 22614 |
% U+1E06 LATIN CAPITAL LETTER B WITH LINE BELOW; Blinebelow |
| 22615 |
\DeclareTextCompositeCommand{\b}{PU}{B}{\9036\006}% U+1E06 |
| 22616 |
% U+1E07 LATIN SMALL LETTER B WITH LINE BELOW; blinebelow |
| 22617 |
\DeclareTextCompositeCommand{\b}{PU}{b}{\9036\007}% U+1E07 |
| 22618 |
% U+1E0A LATIN CAPITAL LETTER D WITH DOT ABOVE; Ddotaccent |
| 22619 |
\DeclareTextCompositeCommand{\.}{PU}{D}{\9036\012}% U+1E0A |
| 22620 |
% U+1E0B LATIN SMALL LETTER D WITH DOT ABOVE; ddotaccent |
| 22621 |
\DeclareTextCompositeCommand{\.}{PU}{d}{\9036\013}% U+1E0B |
| 22622 |
% U+1E0C LATIN CAPITAL LETTER D WITH DOT BELOW; Ddotbelow |
| 22623 |
\DeclareTextCompositeCommand{\d}{PU}{D}{\9036\014}% U+1E0C |
| 22624 |
% U+1E0D LATIN SMALL LETTER D WITH DOT BELOW; ddotbelow |
| 22625 |
\DeclareTextCompositeCommand{\d}{PU}{d}{\9036\015}% U+1E0D |
| 22626 |
% U+1E0E LATIN CAPITAL LETTER D WITH LINE BELOW; Dlinebelow |
| 22627 |
\DeclareTextCompositeCommand{\b}{PU}{D}{\9036\016}% U+1E0E |
| 22628 |
% U+1E0F LATIN SMALL LETTER D WITH LINE BELOW; dlinebelow |
| 22629 |
\DeclareTextCompositeCommand{\b}{PU}{d}{\9036\017}% U+1E0F |
| 22630 |
% U+1E10 LATIN CAPITAL LETTER D WITH CEDILLA; Dcedilla |
| 22631 |
\DeclareTextCompositeCommand{\c}{PU}{D}{\9036\020}% U+1E10 |
| 22632 |
% U+1E11 LATIN SMALL LETTER D WITH CEDILLA; dcedilla |
| 22633 |
\DeclareTextCompositeCommand{\c}{PU}{d}{\9036\021}% U+1E11 |
| 22634 |
% U+1E12 LATIN CAPITAL LETTER D WITH CIRCUMFLEX BELOW; Dcircumflexbelow |
| 22635 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{D}{\9036\022}% U+1E12 |
| 22636 |
% U+1E13 LATIN SMALL LETTER D WITH CIRCUMFLEX BELOW; dcircumflexbelow |
| 22637 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{d}{\9036\023}% U+1E13 |
| 22638 |
% U+1E14 LATIN CAPITAL LETTER E WITH MACRON AND GRAVE; |
| 22639 |
% Emacrongrave |
| 22640 |
\DeclareTextCompositeCommand{\textgravemacron}{PU}{E}{\9036\024}% U+1E14 |
| 22641 |
% U+1E15 LATIN SMALL LETTER E WITH MACRON AND GRAVE; |
| 22642 |
% emacrongrave |
| 22643 |
\DeclareTextCompositeCommand{\textgravemacron}{PU}{e}{\9036\025}% U+1E15 |
| 22644 |
% U+1E16 LATIN CAPITAL LETTER E WITH MACRON AND ACUTE; |
| 22645 |
% Emacronacute |
| 22646 |
\DeclareTextCompositeCommand{\textacutemacron}{PU}{E}{\9036\026}% U+1E16 |
| 22647 |
% U+1E17 LATIN SMALL LETTER E WITH MACRON AND ACUTE; |
| 22648 |
% emacronacute |
| 22649 |
\DeclareTextCompositeCommand{\textacutemacron}{PU}{e}{\9036\027}% U+1E17 |
| 22650 |
% U+1E18 LATIN CAPITAL LETTER E WITH CIRCUMFLEX BELOW; Ecircumflexbelow |
| 22651 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{E}{\9036\030}% U+1E18 |
| 22652 |
% U+1E19 LATIN SMALL LETTER E WITH CIRCUMFLEX BELOW; ecircumflexbelow |
| 22653 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{e}{\9036\031}% U+1E19 |
| 22654 |
% U+1E1A LATIN CAPITAL LETTER E WITH TILDE BELOW; Etildebelow |
| 22655 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{E}{\9036\032}% U+1E1A |
| 22656 |
% U+1E1B LATIN SMALL LETTER E WITH TILDE BELOW; etildebelow |
| 22657 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{e}{\9036\033}% U+1E1B |
| 22658 |
% U+1E1E LATIN CAPITAL LETTER F WITH DOT ABOVE; Fdotaccent |
| 22659 |
\DeclareTextCompositeCommand{\.}{PU}{F}{\9036\036}% U+1E1E |
| 22660 |
% U+1E1F LATIN SMALL LETTER F WITH DOT ABOVE; fdotaccent |
| 22661 |
\DeclareTextCompositeCommand{\.}{PU}{f}{\9036\037}% U+1E1F |
| 22662 |
% U+1E20 LATIN CAPITAL LETTER G WITH MACRON; Gmacron |
| 22663 |
\DeclareTextCompositeCommand{\=}{PU}{G}{\9036\040}% U+1E20 |
| 22664 |
% U+1E21 LATIN SMALL LETTER G WITH MACRON; gmacron |
| 22665 |
\DeclareTextCompositeCommand{\=}{PU}{g}{\9036\041}% U+1E21 |
| 22666 |
% U+1E22 LATIN CAPITAL LETTER H WITH DOT ABOVE; Hdotaccent |
| 22667 |
\DeclareTextCompositeCommand{\.}{PU}{H}{\9036\042}% U+1E22 |
| 22668 |
% U+1E23 LATIN SMALL LETTER H WITH DOT ABOVE; hdotaccent |
| 22669 |
\DeclareTextCompositeCommand{\.}{PU}{h}{\9036\043}% U+1E23 |
| 22670 |
% U+1E24 LATIN CAPITAL LETTER H WITH DOT BELOW; Hdotbelow |
| 22671 |
\DeclareTextCompositeCommand{\d}{PU}{H}{\9036\044}% U+1E24 |
| 22672 |
% U+1E25 LATIN SMALL LETTER H WITH DOT BELOW; hdotbelow |
| 22673 |
\DeclareTextCompositeCommand{\d}{PU}{h}{\9036\045}% U+1E25 |
| 22674 |
% U+1E26 LATIN CAPITAL LETTER H WITH DIAERESIS; Hdieresis |
| 22675 |
\DeclareTextCompositeCommand{\"}{PU}{H}{\9036\046}% U+1E26 |
| 22676 |
% U+1E27 LATIN SMALL LETTER H WITH DIAERESIS; hdieresis |
| 22677 |
\DeclareTextCompositeCommand{\"}{PU}{h}{\9036\047}% U+1E27 |
| 22678 |
% U+1E28 LATIN CAPITAL LETTER H WITH CEDILLA; Hcedilla |
| 22679 |
\DeclareTextCompositeCommand{\c}{PU}{H}{\9036\050}% U+1E28 |
| 22680 |
% U+1E29 LATIN SMALL LETTER H WITH CEDILLA; hcedilla |
| 22681 |
\DeclareTextCompositeCommand{\c}{PU}{h}{\9036\051}% U+1E29 |
| 22682 |
% U+1E2A LATIN CAPITAL LETTER H WITH BREVE BELOW; Hbrevebelow |
| 22683 |
\DeclareTextCompositeCommand{\textsubbreve}{PU}{H}{\9036\052}% U+1E2A |
| 22684 |
% U+1E2B LATIN SMALL LETTER H WITH BREVE BELOW; hbrevebelow |
| 22685 |
\DeclareTextCompositeCommand{\textsubbreve}{PU}{h}{\9036\053}% U+1E2B |
| 22686 |
% U+1E2C LATIN CAPITAL LETTER I WITH TILDE BELOW; Itildebelow |
| 22687 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{I}{\9036\054}% U+1E2C |
| 22688 |
% U+1E2D LATIN SMALL LETTER I WITH TILDE BELOW; itildebelow |
| 22689 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{i}{\9036\055}% U+1E2D |
| 22690 |
% U+1E30 LATIN CAPITAL LETTER K WITH ACUTE; Kacute |
| 22691 |
\DeclareTextCompositeCommand{\'}{PU}{K}{\9036\060}% U+1E30 |
| 22692 |
% U+1E31 LATIN SMALL LETTER K WITH ACUTE; kacute |
| 22693 |
\DeclareTextCompositeCommand{\'}{PU}{k}{\9036\061}% U+1E31 |
| 22694 |
% U+1E32 LATIN CAPITAL LETTER K WITH DOT BELOW; Kdotbelow |
| 22695 |
\DeclareTextCompositeCommand{\d}{PU}{K}{\9036\062}% U+1E32 |
| 22696 |
% U+1E33 LATIN SMALL LETTER K WITH DOT BELOW; kdotbelow |
| 22697 |
\DeclareTextCompositeCommand{\d}{PU}{k}{\9036\063}% U+1E33 |
| 22698 |
% U+1E34 LATIN CAPITAL LETTER K WITH LINE BELOW; Klinebelow |
| 22699 |
\DeclareTextCompositeCommand{\b}{PU}{K}{\9036\064}% U+1E34 |
| 22700 |
% U+1E35 LATIN SMALL LETTER K WITH LINE BELOW; klinebelow |
| 22701 |
\DeclareTextCompositeCommand{\b}{PU}{k}{\9036\065}% U+1E35 |
| 22702 |
% U+1E36 LATIN CAPITAL LETTER L WITH DOT BELOW; Ldotbelow |
| 22703 |
\DeclareTextCompositeCommand{\d}{PU}{L}{\9036\066}% U+1E36 |
| 22704 |
% U+1E37 LATIN SMALL LETTER L WITH DOT BELOW; ldotbelow |
| 22705 |
\DeclareTextCompositeCommand{\d}{PU}{l}{\9036\067}% U+1E37 |
| 22706 |
% U+1E3A LATIN CAPITAL LETTER L WITH LINE BELOW; Llinebelow |
| 22707 |
\DeclareTextCompositeCommand{\b}{PU}{L}{\9036\072}% U+1E3A |
| 22708 |
% U+1E3B LATIN SMALL LETTER L WITH LINE BELOW; llinebelow |
| 22709 |
\DeclareTextCompositeCommand{\b}{PU}{l}{\9036\073}% U+1E3B |
| 22710 |
% U+1E3C LATIN CAPITAL LETTER L WITH CIRCUMFLEX BELOW; Lcircumflexbelow |
| 22711 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{L}{\9036\074}% U+1E3C |
| 22712 |
% U+1E3D LATIN SMALL LETTER L WITH CIRCUMFLEX BELOW; lcircumflexbelow |
| 22713 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{l}{\9036\075}% U+1E3D |
| 22714 |
% U+1E3E LATIN CAPITAL LETTER M WITH ACUTE; Macute |
| 22715 |
\DeclareTextCompositeCommand{\'}{PU}{M}{\9036\076}% U+1E3E |
| 22716 |
% U+1E3F LATIN SMALL LETTER M WITH ACUTE; macute |
| 22717 |
\DeclareTextCompositeCommand{\'}{PU}{m}{\9036\077}% U+1E3F |
| 22718 |
% U+1E40 LATIN CAPITAL LETTER M WITH DOT ABOVE; Mdotaccent |
| 22719 |
\DeclareTextCompositeCommand{\.}{PU}{M}{\9036\100}% U+1E40 |
| 22720 |
% U+1E41 LATIN SMALL LETTER M WITH DOT ABOVE; mdotaccent |
| 22721 |
\DeclareTextCompositeCommand{\.}{PU}{m}{\9036\101}% U+1E41 |
| 22722 |
% U+1E42 LATIN CAPITAL LETTER M WITH DOT BELOW; Mdotbelow |
| 22723 |
\DeclareTextCompositeCommand{\d}{PU}{M}{\9036\102}% U+1E42 |
| 22724 |
% U+1E43 LATIN SMALL LETTER M WITH DOT BELOW; mdotbelow |
| 22725 |
\DeclareTextCompositeCommand{\d}{PU}{m}{\9036\103}% U+1E43 |
| 22726 |
% U+1E44 LATIN CAPITAL LETTER N WITH DOT ABOVE; Ndotaccent |
| 22727 |
\DeclareTextCompositeCommand{\.}{PU}{N}{\9036\104}% U+1E44 |
| 22728 |
% U+1E45 LATIN SMALL LETTER N WITH DOT ABOVE; ndotaccent |
| 22729 |
\DeclareTextCompositeCommand{\.}{PU}{n}{\9036\105}% U+1E45 |
| 22730 |
% U+1E46 LATIN CAPITAL LETTER N WITH DOT BELOW; Ndotbelow |
| 22731 |
\DeclareTextCompositeCommand{\d}{PU}{N}{\9036\106}% U+1E46 |
| 22732 |
% U+1E47 LATIN SMALL LETTER N WITH DOT BELOW; ndotbelow |
| 22733 |
\DeclareTextCompositeCommand{\d}{PU}{n}{\9036\107}% U+1E47 |
| 22734 |
% U+1E48 LATIN CAPITAL LETTER N WITH LINE BELOW; Nlinebelow |
| 22735 |
\DeclareTextCompositeCommand{\b}{PU}{N}{\9036\110}% U+1E48 |
| 22736 |
% U+1E49 LATIN SMALL LETTER N WITH LINE BELOW; nlinebelow |
| 22737 |
\DeclareTextCompositeCommand{\b}{PU}{n}{\9036\111}% U+1E49 |
| 22738 |
% U+1E4A LATIN CAPITAL LETTER N WITH CIRCUMFLEX BELOW; Ncircumflexbelow |
| 22739 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{N}{\9036\112}% U+1E4A |
| 22740 |
% U+1E4B LATIN SMALL LETTER N WITH CIRCUMFLEX BELOW; ncircumflexbelow |
| 22741 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{n}{\9036\113}% U+1E4B |
| 22742 |
% U+1E50 LATIN CAPITAL LETTER O WITH MACRON AND GRAVE; |
| 22743 |
% Omacrongrave |
| 22744 |
\DeclareTextCompositeCommand{\textgravemacron}{PU}{O}{\9036\120}% U+1E50 |
| 22745 |
% U+1E51 LATIN SMALL LETTER O WITH MACRON AND GRAVE; |
| 22746 |
% omacrongrave |
| 22747 |
\DeclareTextCompositeCommand{\textgravemacron}{PU}{o}{\9036\121}% U+1E51 |
| 22748 |
% U+1E52 LATIN CAPITAL LETTER O WITH MACRON AND ACUTE; |
| 22749 |
% Omacronacute |
| 22750 |
\DeclareTextCompositeCommand{\textacutemacron}{PU}{O}{\9036\122}% U+1E52 |
| 22751 |
% U+1E53 LATIN SMALL LETTER O WITH MACRON AND ACUTE; |
| 22752 |
% omacronacute |
| 22753 |
\DeclareTextCompositeCommand{\textacutemacron}{PU}{o}{\9036\123}% U+1E53 |
| 22754 |
% U+1E54 LATIN CAPITAL LETTER P WITH ACUTE; Pacute |
| 22755 |
\DeclareTextCompositeCommand{\'}{PU}{P}{\9036\124}% U+1E54 |
| 22756 |
% U+1E55 LATIN SMALL LETTER P WITH ACUTE; pacute |
| 22757 |
\DeclareTextCompositeCommand{\'}{PU}{p}{\9036\125}% U+1E55 |
| 22758 |
% U+1E56 LATIN CAPITAL LETTER P WITH DOT ABOVE; Pdotaccent |
| 22759 |
\DeclareTextCompositeCommand{\.}{PU}{P}{\9036\126}% U+1E56 |
| 22760 |
% U+1E57 LATIN SMALL LETTER P WITH DOT ABOVE; pdotaccent |
| 22761 |
\DeclareTextCompositeCommand{\.}{PU}{p}{\9036\127}% U+1E57 |
| 22762 |
% U+1E58 LATIN CAPITAL LETTER R WITH DOT ABOVE; Rdotaccent |
| 22763 |
\DeclareTextCompositeCommand{\.}{PU}{R}{\9036\130}% U+1E58 |
| 22764 |
% U+1E59 LATIN SMALL LETTER R WITH DOT ABOVE; rdotaccent |
| 22765 |
\DeclareTextCompositeCommand{\.}{PU}{r}{\9036\131}% U+1E59 |
| 22766 |
% U+1E5A LATIN CAPITAL LETTER R WITH DOT BELOW; Rdotbelow |
| 22767 |
\DeclareTextCompositeCommand{\d}{PU}{R}{\9036\132}% U+1E5A |
| 22768 |
% U+1E5B LATIN SMALL LETTER R WITH DOT BELOW; rdotbelow |
| 22769 |
\DeclareTextCompositeCommand{\d}{PU}{r}{\9036\133}% U+1E5B |
| 22770 |
% U+1E5E LATIN CAPITAL LETTER R WITH LINE BELOW; Rlinebelow |
| 22771 |
\DeclareTextCompositeCommand{\b}{PU}{R}{\9036\136}% U+1E5E |
| 22772 |
% U+1E5F LATIN SMALL LETTER R WITH LINE BELOW; rlinebelow |
| 22773 |
\DeclareTextCompositeCommand{\b}{PU}{r}{\9036\137}% U+1E5F |
| 22774 |
% U+1E60 LATIN CAPITAL LETTER S WITH DOT ABOVE; Sdotaccent |
| 22775 |
\DeclareTextCompositeCommand{\.}{PU}{S}{\9036\140}% U+1E60 |
| 22776 |
% U+1E61 LATIN SMALL LETTER S WITH DOT ABOVE; sdotaccent |
| 22777 |
\DeclareTextCompositeCommand{\.}{PU}{s}{\9036\141}% U+1E61 |
| 22778 |
% U+1E62 LATIN CAPITAL LETTER S WITH DOT BELOW; Sdotbelow |
| 22779 |
\DeclareTextCompositeCommand{\d}{PU}{S}{\9036\142}% U+1E62 |
| 22780 |
% U+1E63 LATIN SMALL LETTER S WITH DOT BELOW; sdotbelow |
| 22781 |
\DeclareTextCompositeCommand{\d}{PU}{s}{\9036\143}% U+1E63 |
| 22782 |
% U+1E6A LATIN CAPITAL LETTER T WITH DOT ABOVE; Tdotaccent |
| 22783 |
\DeclareTextCompositeCommand{\.}{PU}{T}{\9036\152}% U+1E6A |
| 22784 |
% U+1E6B LATIN SMALL LETTER T WITH DOT ABOVE; tdotaccent |
| 22785 |
\DeclareTextCompositeCommand{\.}{PU}{t}{\9036\153}% U+1E6B |
| 22786 |
% U+1E6C LATIN CAPITAL LETTER T WITH DOT BELOW; Tdotbelow |
| 22787 |
\DeclareTextCompositeCommand{\d}{PU}{T}{\9036\154}% U+1E6C |
| 22788 |
% U+1E6D LATIN SMALL LETTER T WITH DOT BELOW; tdotbelow |
| 22789 |
\DeclareTextCompositeCommand{\d}{PU}{t}{\9036\155}% U+1E6D |
| 22790 |
% U+1E6E LATIN CAPITAL LETTER T WITH LINE BELOW; Tlinebelow |
| 22791 |
\DeclareTextCompositeCommand{\b}{PU}{T}{\9036\156}% U+1E6E |
| 22792 |
% U+1E6F LATIN SMALL LETTER T WITH LINE BELOW; tlinebelow |
| 22793 |
\DeclareTextCompositeCommand{\b}{PU}{t}{\9036\157}% U+1E6F |
| 22794 |
% U+1E70 LATIN CAPITAL LETTER T WITH CIRCUMFLEX BELOW; Tcircumflexbelow |
| 22795 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{T}{\9036\160}% U+1E70 |
| 22796 |
% U+1E71 LATIN SMALL LETTER T WITH CIRCUMFLEX BELOW; tcircumflexbelow |
| 22797 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{t}{\9036\161}% U+1E71 |
| 22798 |
% U+1E72 LATIN CAPITAL LETTER U WITH DIAERESIS BELOW; Udieresisbelow |
| 22799 |
\DeclareTextCompositeCommand{\textsubumlaut}{PU}{U}{\9036\162}% U+1E72 |
| 22800 |
% U+1E73 LATIN SMALL LETTER U WITH DIAERESIS BELOW; udieresisbelow |
| 22801 |
\DeclareTextCompositeCommand{\textsubumlaut}{PU}{u}{\9036\163}% U+1E73 |
| 22802 |
% U+1E74 LATIN CAPITAL LETTER U WITH TILDE BELOW; Utildebelow |
| 22803 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{U}{\9036\164}% U+1E74 |
| 22804 |
% U+1E75 LATIN SMALL LETTER U WITH TILDE BELOW; utildebelow |
| 22805 |
\DeclareTextCompositeCommand{\textsubtilde}{PU}{u}{\9036\165}% U+1E75 |
| 22806 |
% U+1E76 LATIN CAPITAL LETTER U WITH CIRCUMFLEX BELOW; Ucircumflexbelow |
| 22807 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{U}{\9036\166}% U+1E76 |
| 22808 |
% U+1E77 LATIN SMALL LETTER U WITH CIRCUMFLEX BELOW; ucircumflexbelow |
| 22809 |
\DeclareTextCompositeCommand{\textsubcircum}{PU}{u}{\9036\167}% U+1E77 |
| 22810 |
% U+1E7C LATIN CAPITAL LETTER V WITH TILDE; Vtilde |
| 22811 |
\DeclareTextCompositeCommand{\~}{PU}{V}{\9036\174}% U+1E7C |
| 22812 |
% U+1E7D LATIN SMALL LETTER V WITH TILDE; vtilde |
| 22813 |
\DeclareTextCompositeCommand{\~}{PU}{v}{\9036\175}% U+1E7D |
| 22814 |
% U+1E7E LATIN CAPITAL LETTER V WITH DOT BELOW; Vdotbelow |
| 22815 |
\DeclareTextCompositeCommand{\d}{PU}{V}{\9036\176}% U+1E7E |
| 22816 |
% U+1E7F LATIN SMALL LETTER V WITH DOT BELOW; vdotbelow |
| 22817 |
\DeclareTextCompositeCommand{\d}{PU}{v}{\9036\177}% U+1E7F |
| 22818 |
% U+1E80 LATIN CAPITAL LETTER W WITH GRAVE; Wgrave |
| 22819 |
\DeclareTextCompositeCommand{\`}{PU}{W}{\9036\200}% U+1E80 |
| 22820 |
% U+1E81 LATIN SMALL LETTER W WITH GRAVE; wgrave |
| 22821 |
\DeclareTextCompositeCommand{\`}{PU}{w}{\9036\201}% U+1E81 |
| 22822 |
% U+1E82 LATIN CAPITAL LETTER W WITH ACUTE; Wacute |
| 22823 |
\DeclareTextCompositeCommand{\'}{PU}{W}{\9036\202}% U+1E82 |
| 22824 |
% U+1E83 LATIN SMALL LETTER W WITH ACUTE; wacute |
| 22825 |
\DeclareTextCompositeCommand{\'}{PU}{w}{\9036\203}% U+1E83 |
| 22826 |
% U+1E84 LATIN CAPITAL LETTER W WITH DIAERESIS; Wdieresis |
| 22827 |
\DeclareTextCompositeCommand{\"}{PU}{W}{\9036\204}% U+1E84 |
| 22828 |
% U+1E85 LATIN SMALL LETTER W WITH DIAERESIS; wdieresis |
| 22829 |
\DeclareTextCompositeCommand{\"}{PU}{w}{\9036\205}% U+1E85 |
| 22830 |
% U+1E86 LATIN CAPITAL LETTER W WITH DOT ABOVE; Wdotaccent |
| 22831 |
\DeclareTextCompositeCommand{\.}{PU}{W}{\9036\206}% U+1E86 |
| 22832 |
% U+1E87 LATIN SMALL LETTER W WITH DOT ABOVE; wdotaccent |
| 22833 |
\DeclareTextCompositeCommand{\.}{PU}{w}{\9036\207}% U+1E87 |
| 22834 |
% U+1E88 LATIN CAPITAL LETTER W WITH DOT BELOW; wdotbelow |
| 22835 |
\DeclareTextCompositeCommand{\d}{PU}{W}{\9036\210}% U+1E88 |
| 22836 |
% U+1E89 LATIN SMALL LETTER W WITH DOT BELOW; wdotbelow |
| 22837 |
\DeclareTextCompositeCommand{\d}{PU}{w}{\9036\211}% U+1E89 |
| 22838 |
% U+1E8A LATIN CAPITAL LETTER X WITH DOT ABOVE; Xdotaccent |
| 22839 |
\DeclareTextCompositeCommand{\.}{PU}{X}{\9036\212}% U+1E8A |
| 22840 |
% U+1E8B LATIN SMALL LETTER X WITH DOT ABOVE; xdotaccent |
| 22841 |
\DeclareTextCompositeCommand{\.}{PU}{x}{\9036\213}% U+1E8B |
| 22842 |
% U+1E8C LATIN CAPITAL LETTER X WITH DIAERESIS; Xdieresis |
| 22843 |
\DeclareTextCompositeCommand{\"}{PU}{X}{\9036\214}% U+1E8C |
| 22844 |
% U+1E8D LATIN SMALL LETTER X WITH DIAERESIS; xdieresis |
| 22845 |
\DeclareTextCompositeCommand{\"}{PU}{x}{\9036\215}% U+1E8D |
| 22846 |
% U+1E8E LATIN CAPITAL LETTER Y WITH DOT ABOVE; Ydotaccent |
| 22847 |
\DeclareTextCompositeCommand{\.}{PU}{Y}{\9036\216}% U+1E8E |
| 22848 |
% U+1E8F LATIN SMALL LETTER Y WITH DOT ABOVE; ydotaccent |
| 22849 |
\DeclareTextCompositeCommand{\.}{PU}{y}{\9036\217}% U+1E8F |
| 22850 |
% U+1E90 LATIN CAPITAL LETTER Z WITH CIRCUMFLEX; Zcircumflex |
| 22851 |
\DeclareTextCompositeCommand{\^}{PU}{Z}{\9036\220}% U+1E90 |
| 22852 |
% U+1E91 LATIN SMALL LETTER Z WITH CIRCUMFLEX; zcircumflex |
| 22853 |
\DeclareTextCompositeCommand{\^}{PU}{z}{\9036\221}% U+1E91 |
| 22854 |
% U+1E92 LATIN CAPITAL LETTER Z WITH DOT BELOW; Zdotbelow |
| 22855 |
\DeclareTextCompositeCommand{\d}{PU}{Z}{\9036\222}% U+1E92 |
| 22856 |
% U+1E93 LATIN SMALL LETTER Z WITH DOT BELOW; zdotbelow |
| 22857 |
\DeclareTextCompositeCommand{\d}{PU}{z}{\9036\223}% U+1E93 |
| 22858 |
% U+1E94 LATIN CAPITAL LETTER Z WITH LINE BELOW; Zlinebelow |
| 22859 |
\DeclareTextCompositeCommand{\b}{PU}{Z}{\9036\224}% U+1E94 |
| 22860 |
% U+1E95 LATIN SMALL LETTER Z WITH LINE BELOW; zlinebelow |
| 22861 |
\DeclareTextCompositeCommand{\b}{PU}{z}{\9036\225}% U+1E95 |
| 22862 |
% U+1E96 LATIN SMALL LETTER H WITH LINE BELOW; hlinebelow |
| 22863 |
\DeclareTextCompositeCommand{\b}{PU}{h}{\9036\226}% U+1E96 |
| 22864 |
% U+1E97 LATIN SMALL LETTER T WITH DIAERESIS; tdieresis |
| 22865 |
\DeclareTextCompositeCommand{\"}{PU}{t}{\9036\227}% U+1E97 |
| 22866 |
% U+1E98 LATIN SMALL LETTER W WITH RING ABOVE; wring |
| 22867 |
\DeclareTextCompositeCommand{\r}{PU}{w}{\9036\230}% U+1E98 |
| 22868 |
% U+1E99 LATIN SMALL LETTER Y WITH RING ABOVE; yring |
| 22869 |
\DeclareTextCompositeCommand{\r}{PU}{y}{\9036\231}% U+1E99 |
| 22870 |
% U+1E9B LATIN SMALL LETTER LONG S WITH DOT ABOVE; slongdotaccent |
| 22871 |
\DeclareTextCompositeCommand{\.}{PU}{\textlongs}{\9036\233}% U+1E9B |
| 22872 |
% U+1EA0 LATIN CAPITAL LETTER A WITH DOT BELOW; Adotbelow |
| 22873 |
\DeclareTextCompositeCommand{\d}{PU}{A}{\9036\240}% U+1EA0 |
| 22874 |
% U+1EA1 LATIN SMALL LETTER A WITH DOT BELOW; adotbelow |
| 22875 |
\DeclareTextCompositeCommand{\d}{PU}{a}{\9036\241}% U+1EA1 |
| 22876 |
% U+1EB8 LATIN CAPITAL LETTER E WITH DOT BELOW; Edotbelow |
| 22877 |
\DeclareTextCompositeCommand{\d}{PU}{E}{\9036\270}% U+1EB8 |
| 22878 |
% U+1EB9 LATIN SMALL LETTER E WITH DOT BELOW; edotbelow |
| 22879 |
\DeclareTextCompositeCommand{\d}{PU}{e}{\9036\271}% U+1EB9 |
| 22880 |
% U+1EBC LATIN CAPITAL LETTER E WITH TILDE; Etilde |
| 22881 |
\DeclareTextCompositeCommand{\~}{PU}{E}{\9036\274}% U+1EBC |
| 22882 |
% U+1EBD LATIN SMALL LETTER E WITH TILDE; etilde |
| 22883 |
\DeclareTextCompositeCommand{\~}{PU}{e}{\9036\275}% U+1EBD |
| 22884 |
% U+1ECA LATIN CAPITAL LETTER I WITH DOT BELOW; Idotbelow |
| 22885 |
\DeclareTextCompositeCommand{\d}{PU}{I}{\9036\312}% U+1ECA |
| 22886 |
% U+1ECB LATIN SMALL LETTER I WITH DOT BELOW; idotbelow |
| 22887 |
\DeclareTextCompositeCommand{\d}{PU}{i}{\9036\313}% U+1ECB |
| 22888 |
% U+1ECC LATIN CAPITAL LETTER O WITH DOT BELOW; Odotbelow |
| 22889 |
\DeclareTextCompositeCommand{\d}{PU}{O}{\9036\314}% U+1ECC |
| 22890 |
% U+1ECD LATIN SMALL LETTER O WITH DOT BELOW; odotbelow |
| 22891 |
\DeclareTextCompositeCommand{\d}{PU}{o}{\9036\315}% U+1ECD |
| 22892 |
% U+1EE4 LATIN CAPITAL LETTER U WITH DOT BELOW; Udotbelow |
| 22893 |
\DeclareTextCompositeCommand{\d}{PU}{U}{\9036\344}% U+1EE4 |
| 22894 |
% U+1EE5 LATIN SMALL LETTER U WITH DOT BELOW; udotbelow |
| 22895 |
\DeclareTextCompositeCommand{\d}{PU}{u}{\9036\345}% U+1EE5 |
| 22896 |
% U+1EF2 LATIN CAPITAL LETTER Y WITH GRAVE; Ygrave |
| 22897 |
\DeclareTextCompositeCommand{\`}{PU}{Y}{\9036\362}% U+1EF2 |
| 22898 |
% U+1EF3 LATIN SMALL LETTER Y WITH GRAVE; ygrave |
| 22899 |
\DeclareTextCompositeCommand{\`}{PU}{y}{\9036\363}% U+1EF3 |
| 22900 |
% U+1EF4 LATIN CAPITAL LETTER Y WITH DOT BELOW; Ydotbelow |
| 22901 |
\DeclareTextCompositeCommand{\d}{PU}{Y}{\9036\364}% U+1EF4 |
| 22902 |
% U+1EF5 LATIN SMALL LETTER Y WITH DOT BELOW; ydotbelow |
| 22903 |
\DeclareTextCompositeCommand{\d}{PU}{y}{\9036\365}% U+1EF5 |
| 22904 |
% U+1EF8 LATIN CAPITAL LETTER Y WITH TILDE; Ytilde |
| 22905 |
\DeclareTextCompositeCommand{\~}{PU}{Y}{\9036\370}% U+1EF8 |
| 22906 |
% U+1EF9 LATIN SMALL LETTER Y WITH TILDE; ytilde |
| 22907 |
\DeclareTextCompositeCommand{\~}{PU}{y}{\9036\371}% U+1EF9 |
| 22908 |
% \end{macrocode} |
| 22909 |
% |
| 22910 |
% \subsubsection{General Punctuation: U+2000 to U+206F} |
| 22911 |
% |
| 22912 |
% \begin{macrocode} |
| 22913 |
% U+200C ZERO WIDTH NON-JOINER; *afii61664, zerowidthnonjoiner |
| 22914 |
\DeclareTextCommand{\textcompwordmark}{PU}{\9040\014}% U+200C |
| 22915 |
% U+2013 EN DASH; endash |
| 22916 |
\DeclareTextCommand{\textendash}{PU}{\9040\023}% U+2013 |
| 22917 |
% U+2014 EM DASH; emdash |
| 22918 |
\DeclareTextCommand{\textemdash}{PU}{\9040\024}% U+2014 |
| 22919 |
% U+2016 DOUBLE VERTICAL LINE; dblverticalbar |
| 22920 |
\DeclareTextCommand{\textbardbl}{PU}{\9040\026}% U+2016 |
| 22921 |
%* \textbardbl -> \textdoublevertline (tipa) |
| 22922 |
% U+2018 LEFT SINGLE QUOTATION MARK; quoteleft |
| 22923 |
\DeclareTextCommand{\textquoteleft}{PU}{\9040\030}% U+2018 |
| 22924 |
% U+2019 RIGHT SINGLE QUOTATION MARK; quoteright |
| 22925 |
\DeclareTextCommand{\textquoteright}{PU}{\9040\031}% U+2019 |
| 22926 |
% U+201A SINGLE LOW-9 QUOTATION MARK; quotesinglbase |
| 22927 |
\DeclareTextCommand{\quotesinglbase}{PU}{\9040\032}% U+201A |
| 22928 |
% U+201C LEFT DOUBLE QUOTATION MARK; quotedblleft |
| 22929 |
\DeclareTextCommand{\textquotedblleft}{PU}{\9040\034}% U+201C |
| 22930 |
% U+201D RIGHT DOUBLE QUOTATION MARK; quotedblright |
| 22931 |
\DeclareTextCommand{\textquotedblright}{PU}{\9040\035}% U+201D |
| 22932 |
% U+201E DOUBLE LOW-9 QUOTATION MARK; quotedblbase |
| 22933 |
\DeclareTextCommand{\quotedblbase}{PU}{\9040\036}% U+201E |
| 22934 |
% U+2020 DAGGER; dagger |
| 22935 |
\DeclareTextCommand{\textdagger}{PU}{\9040\040}%* U+2020 |
| 22936 |
%* \textdagger -> \dag (LaTeX) |
| 22937 |
% U+2021 DOUBLE DAGGER; daggerdbl; \ddagger (LaTeX) |
| 22938 |
\DeclareTextCommand{\textdaggerdbl}{PU}{\9040\041}% U+2021 |
| 22939 |
%* \textdaggerdbl -> \ddagger (LaTeX) |
| 22940 |
%* \textdaggerdbl -> \ddag (LaTeX) |
| 22941 |
% U+2022 BULLET; bullet |
| 22942 |
\DeclareTextCommand{\textbullet}{PU}{\9040\042}%* U+2022 |
| 22943 |
% U+2025 TWO DOT LEADER; \hdotfor (MnSymbol) |
| 22944 |
\DeclareTextCommand{\texthdotfor}{PU}{\9040\045}%* U+2025 |
| 22945 |
% U+2026 HORIZONTAL ELLIPSIS; ellipsis |
| 22946 |
\DeclareTextCommand{\textellipsis}{PU}{\9040\046}% U+2026 |
| 22947 |
%* \textellipsis -> \mathellipsis |
| 22948 |
% U+2030 PER MILLE SIGN; perthousand |
| 22949 |
\DeclareTextCommand{\textperthousand}{PU}{\9040\060}% U+2030 |
| 22950 |
% U+2031 PER TEN THOUSAND SIGN |
| 22951 |
\DeclareTextCommand{\textpertenthousand}{PU}{\9040\061}% U+2031 |
| 22952 |
% U+2032 PRIME; minute; \prime (MnSymbol) |
| 22953 |
\DeclareTextCommand{\textprime}{PU}{\9040\062}%* U+2032 |
| 22954 |
% U+2033 DOUBLE PRIME; \second (mathabx) |
| 22955 |
\DeclareTextCommand{\textsecond}{PU}{\9040\063}%* U+2033 |
| 22956 |
% U+2034 TRIPLE PRIME; \third (mathabx) |
| 22957 |
\DeclareTextCommand{\textthird}{PU}{\9040\064}%* U+2034 |
| 22958 |
% U+2035 REVERSED PRIME; \backprime (AmS) |
| 22959 |
\DeclareTextCommand{\textbackprime}{PU}{\9040\065}%* U+2035 |
| 22960 |
% U+2039 SINGLE LEFT-POINTING ANGLE QUOTATION MARK; guilsinglleft |
| 22961 |
\DeclareTextCommand{\guilsinglleft}{PU}{\9040\071}% U+2039 |
| 22962 |
% U+203A SINGLE RIGHT-POINTING ANGLE QUOTATION MARK; guilsinglright |
| 22963 |
\DeclareTextCommand{\guilsinglright}{PU}{\9040\072}% U+203A |
| 22964 |
% U+203B REFERENCE MARK; referencemark |
| 22965 |
\DeclareTextCommand{\textreferencemark}{PU}{\9040\073}% U+203B |
| 22966 |
% U+203D INTERROBANG |
| 22967 |
\DeclareTextCommand{\textinterrobang}{PU}{\9040\075}% U+203D |
| 22968 |
% U+2044 FRACTION SLASH; fraction |
| 22969 |
\DeclareTextCommand{\textfractionsolidus}{PU}{\9040\104}% U+2044 |
| 22970 |
% U+2045 LEFT SQUARE BRACKET WITH QUILL |
| 22971 |
\DeclareTextCommand{\textlquill}{PU}{\9040\105}% U+2045 |
| 22972 |
% U+2046 RIGHT SQUARE BRACKET WITH QUILL |
| 22973 |
\DeclareTextCommand{\textrquill}{PU}{\9040\106}% U+2046 |
| 22974 |
% U+2052 COMMERCIAL MINUS SIGN |
| 22975 |
\DeclareTextCommand{\textdiscount}{PU}{\9040\122}% U+2052 |
| 22976 |
% U+2056 THREE DOT PUNCTUATION; \lefttherefore (MnSymbol) |
| 22977 |
\DeclareTextCommand{\textlefttherefore}{PU}{\9040\126}%* U+2056 |
| 22978 |
% U+2057 QUADRUPLE PRIME; \fourth (mathabx) |
| 22979 |
\DeclareTextCommand{\textfourth}{PU}{\9040\127}%* U+2057 |
| 22980 |
% U+2058 FOUR DOT PUNCTUATION; \diamonddots (MnSymbol) |
| 22981 |
\DeclareTextCommand{\textdiamonddots}{PU}{\9040\130}%* U+2058 |
| 22982 |
% \end{macrocode} |
| 22983 |
% |
| 22984 |
% \subsubsection{Superscripts and Subscripts: U+2070 to U+209F} |
| 22985 |
% |
| 22986 |
% \begin{macrocode} |
| 22987 |
% U+2070 SUPERSCRIPT ZERO; zerosuperior |
| 22988 |
\DeclareTextCommand{\textzerosuperior}{PU}{\9040\160}%* U+2070 |
| 22989 |
% U+2071 SUPERSCRIPT LATIN SMALL LETTER I |
| 22990 |
\DeclareTextCommand{\textisuperior}{PU}{\9040\161}%* U+2071 |
| 22991 |
% U+2074 SUPERSCRIPT FOUR; foursuperior |
| 22992 |
\DeclareTextCommand{\textfoursuperior}{PU}{\9040\164}%* U+2074 |
| 22993 |
% U+2075 SUPERSCRIPT FIVE; fivesuperior |
| 22994 |
\DeclareTextCommand{\textfivesuperior}{PU}{\9040\165}%* U+2075 |
| 22995 |
% U+2076 SUPERSCRIPT SIX; sixsuperior |
| 22996 |
\DeclareTextCommand{\textsixsuperior}{PU}{\9040\166}%* U+2076 |
| 22997 |
% U+2077 SUPERSCRIPT SEVEN; sevensuperior |
| 22998 |
\DeclareTextCommand{\textsevensuperior}{PU}{\9040\167}%* U+2077 |
| 22999 |
% U+2078 SUPERSCRIPT EIGHT; eightsuperior |
| 23000 |
\DeclareTextCommand{\texteightsuperior}{PU}{\9040\170}%* U+2078 |
| 23001 |
% U+2079 SUPERSCRIPT NINE; ninesuperior |
| 23002 |
\DeclareTextCommand{\textninesuperior}{PU}{\9040\171}%* U+2079 |
| 23003 |
% U+207A SUPERSCRIPT PLUS SIGN; plussuperior |
| 23004 |
\DeclareTextCommand{\textplussuperior}{PU}{\9040\172}%* U+207A |
| 23005 |
% U+207B SUPERSCRIPT MINUS |
| 23006 |
\DeclareTextCommand{\textminussuperior}{PU}{\9040\173}%* U+207B |
| 23007 |
% U+207C SUPERSCRIPT EQUALS SIGN; equalsuperior |
| 23008 |
\DeclareTextCommand{\textequalsuperior}{PU}{\9040\174}%* U+207C |
| 23009 |
% U+207D SUPERSCRIPT LEFT PARENTHESIS; parenleftsuperior |
| 23010 |
\DeclareTextCommand{\textparenleftsuperior}{PU}{\9040\175}%* U+207D |
| 23011 |
% U+207E SUPERSCRIPT RIGHT PARENTHESIS; parenrightsuperior |
| 23012 |
\DeclareTextCommand{\textparenrightsuperior}{PU}{\9040\176}%* U+207E |
| 23013 |
% U+207F SUPERSCRIPT LATIN SMALL LETTER N; nsuperior |
| 23014 |
\DeclareTextCommand{\textnsuperior}{PU}{\9040\177}%* U+207F |
| 23015 |
% U+2080 SUBSCRIPT ZERO; zeroinferior |
| 23016 |
\DeclareTextCommand{\textzeroinferior}{PU}{\9040\200}%* U+2080 |
| 23017 |
% U+2081 SUBSCRIPT ONE; oneinferior |
| 23018 |
\DeclareTextCommand{\textoneinferior}{PU}{\9040\201}%* U+2081 |
| 23019 |
% U+2082 SUBSCRIPT TWO; twoinferior |
| 23020 |
\DeclareTextCommand{\texttwoinferior}{PU}{\9040\202}%* U+2082 |
| 23021 |
% U+2083 SUBSCRIPT THREE; threeinferior |
| 23022 |
\DeclareTextCommand{\textthreeinferior}{PU}{\9040\203}%* U+2083 |
| 23023 |
% U+2084 SUBSCRIPT FOUR; fourinferior |
| 23024 |
\DeclareTextCommand{\textfourinferior}{PU}{\9040\204}%* U+2084 |
| 23025 |
% U+2085 SUBSCRIPT FIVE; fiveinferior |
| 23026 |
\DeclareTextCommand{\textfiveinferior}{PU}{\9040\205}%* U+2085 |
| 23027 |
% U+2086 SUBSCRIPT SIX; sixinferior |
| 23028 |
\DeclareTextCommand{\textsixinferior}{PU}{\9040\206}%* U+2086 |
| 23029 |
% U+2087 SUBSCRIPT SEVEN; seveninferior |
| 23030 |
\DeclareTextCommand{\textseveninferior}{PU}{\9040\207}%* U+2087 |
| 23031 |
% U+2088 SUBSCRIPT EIGHT; eightinferior |
| 23032 |
\DeclareTextCommand{\texteightinferior}{PU}{\9040\210}%* U+2088 |
| 23033 |
% U+2089 SUBSCRIPT NINE; nineinferior |
| 23034 |
\DeclareTextCommand{\textnineinferior}{PU}{\9040\211}%* U+2089 |
| 23035 |
% U+208A SUBSCRIPT PLUS SIGN |
| 23036 |
\DeclareTextCommand{\textplusinferior}{PU}{\9040\212}%* U+208A |
| 23037 |
% U+208B SUBSCRIPT MINUS |
| 23038 |
\DeclareTextCommand{\textminusinferior}{PU}{\9040\213}%* U+208B |
| 23039 |
% U+208C SUBSCRIPT EQUALS SIGN |
| 23040 |
\DeclareTextCommand{\textequalsinferior}{PU}{\9040\214}%* U+208C |
| 23041 |
% U+208D SUBSCRIPT LEFT PARENTHESIS; parenleftinferior |
| 23042 |
\DeclareTextCommand{\textparenleftinferior}{PU}{\9040\215}%* U+208D |
| 23043 |
% U+208E SUBSCRIPT RIGHT PARENTHESIS; parenrightinferior |
| 23044 |
\DeclareTextCommand{\textparenrightinferior}{PU}{\9040\216}%* U+208E |
| 23045 |
% U+2090 LATIN SUBSCRIPT SMALL LETTER A |
| 23046 |
\DeclareTextCommand{\textainferior}{PU}{\9040\220}%* U+2090 |
| 23047 |
% U+2091 LATIN SUBSCRIPT SMALL LETTER E |
| 23048 |
\DeclareTextCommand{\texteinferior}{PU}{\9040\221}%* U+2091 |
| 23049 |
% U+2092 LATIN SUBSCRIPT SMALL LETTER O |
| 23050 |
\DeclareTextCommand{\textoinferior}{PU}{\9040\222}%* U+2092 |
| 23051 |
% U+2093 LATIN SUBSCRIPT SMALL LETTER X |
| 23052 |
\DeclareTextCommand{\textxinferior}{PU}{\9040\223}%* U+2093 |
| 23053 |
% U+2094 LATIN SUBSCRIPT SMALL LETTER SCHWA |
| 23054 |
\DeclareTextCommand{\textschwainferior}{PU}{\9040\224}%* U+2094 |
| 23055 |
% U+2095 LATIN SUBSCRIPT SMALL LETTER H |
| 23056 |
\DeclareTextCommand{\texthinferior}{PU}{\9040\225}%* U+2095 |
| 23057 |
% U+2096 LATIN SUBSCRIPT SMALL LETTER K |
| 23058 |
\DeclareTextCommand{\textkinferior}{PU}{\9040\226}%* U+2096 |
| 23059 |
% U+2097 LATIN SUBSCRIPT SMALL LETTER L |
| 23060 |
\DeclareTextCommand{\textlinferior}{PU}{\9040\227}%* U+2097 |
| 23061 |
% U+2098 LATIN SUBSCRIPT SMALL LETTER M |
| 23062 |
\DeclareTextCommand{\textminferior}{PU}{\9040\230}%* U+2098 |
| 23063 |
% U+2099 LATIN SUBSCRIPT SMALL LETTER N |
| 23064 |
\DeclareTextCommand{\textninferior}{PU}{\9040\231}%* U+2099 |
| 23065 |
% U+209A LATIN SUBSCRIPT SMALL LETTER P |
| 23066 |
\DeclareTextCommand{\textpinferior}{PU}{\9040\232}%* U+209A |
| 23067 |
% U+209B LATIN SUBSCRIPT SMALL LETTER S |
| 23068 |
\DeclareTextCommand{\textsinferior}{PU}{\9040\233}%* U+209B |
| 23069 |
% U+209C LATIN SUBSCRIPT SMALL LETTER T |
| 23070 |
\DeclareTextCommand{\texttinferior}{PU}{\9040\234}%* U+209C |
| 23071 |
% \end{macrocode} |
| 23072 |
% |
| 23073 |
% \subsubsection{Currency Symbols: U+20A0 to U+20CF} |
| 23074 |
% |
| 23075 |
% \begin{macrocode} |
| 23076 |
% U+20A1 COLON SIGN; *colonmonetary, colonsign |
| 23077 |
\DeclareTextCommand{\textcolonmonetary}{PU}{\9040\241}% U+20A1 |
| 23078 |
% U+20A4 LIRA SIGN; afii08941, *lira |
| 23079 |
\DeclareTextCommand{\textlira}{PU}{\9040\244}% U+20A4 |
| 23080 |
% U+20A6 NAIRA SIGN |
| 23081 |
\DeclareTextCommand{\textnaira}{PU}{\9040\246}% U+20A6 |
| 23082 |
% U+20A7 PESETA SIGN; peseta |
| 23083 |
\DeclareTextCommand{\textpeseta}{PU}{\9040\247}% U+20A7 |
| 23084 |
% U+20A9 WON SIGN; won |
| 23085 |
\DeclareTextCommand{\textwon}{PU}{\9040\251}% U+20A9 |
| 23086 |
% U+20AB DONG SIGN; dong |
| 23087 |
\DeclareTextCommand{\textdong}{PU}{\9040\253}% U+20AB |
| 23088 |
% U+20AC EURO SIGN; *Euro, euro |
| 23089 |
\DeclareTextCommand{\texteuro}{PU}{\9040\254}% U+20AC |
| 23090 |
%* \texteuro -> \EurDig (marvosym) |
| 23091 |
%* \texteuro -> \EURdig (marvosym) |
| 23092 |
%* \texteuro -> \EurHv (marvosym) |
| 23093 |
%* \texteuro -> \EURhv (marvosym) |
| 23094 |
%* \texteuro -> \EurCr (marvosym) |
| 23095 |
%* \texteuro -> \EURcr (marvosym) |
| 23096 |
%* \texteuro -> \EurTm (marvosym) |
| 23097 |
%* \texteuro -> \EURtm (marvosym) |
| 23098 |
%* \texteuro -> \Eur (marvosym) |
| 23099 |
% U+20B0 GERMAN PENNY SIGN; \Deleatur (marvosym) |
| 23100 |
\DeclareTextCommand{\textDeleatur}{PU}{\9040\260}%* U+20B0 |
| 23101 |
%* \textDeleatur -> \Denarius (marvosym) |
| 23102 |
% U+20B1 PESO SIGN |
| 23103 |
\DeclareTextCommand{\textpeso}{PU}{\9040\261}% U+20B1 |
| 23104 |
% U+20B2 GUARANI SIGN |
| 23105 |
\DeclareTextCommand{\textguarani}{PU}{\9040\262}% U+20B2 |
| 23106 |
% \end{macrocode} |
| 23107 |
% |
| 23108 |
% \subsubsection{Letterlike Symbols: U+2100 to U+214F} |
| 23109 |
% |
| 23110 |
% \begin{macrocode} |
| 23111 |
% U+2103 DEGREE CELSIUS; centigrade |
| 23112 |
\DeclareTextCommand{\textcelsius}{PU}{\9041\003}% U+2103 |
| 23113 |
% U+210F PLANCK CONSTANT OVER TWO PI; \hslash (AmS) |
| 23114 |
\DeclareTextCommand{\texthslash}{PU}{\9041\017}%* U+210F |
| 23115 |
% U+2111 BLACK-LETTER CAPITAL I (=imaginary part); Ifraktur; \Im (LaTeX) |
| 23116 |
\DeclareTextCommand{\textIm}{PU}{\9041\021}%* U+2111 |
| 23117 |
% U+2113 SCRIPT SMALL L (=ell, liter); afii61289, lsquare; \ell (LaTeX) |
| 23118 |
\DeclareTextCommand{\textell}{PU}{\9041\023}%* U+2113 |
| 23119 |
% U+2116 NUMERO SIGN; *afii61352, numero |
| 23120 |
\DeclareTextCommand{\textnumero}{PU}{\9041\026}% U+2116 |
| 23121 |
% U+2117 SOUND RECORDING COPYRIGHT |
| 23122 |
\DeclareTextCommand{\textcircledP}{PU}{\9041\027}% U+2117 |
| 23123 |
% U+2118 SCRIPT CAPITAL P (=Weierstrass elliptic function); |
| 23124 |
% weierstrass; \wp (LaTeX) |
| 23125 |
\DeclareTextCommand{\textwp}{PU}{\9041\030}%* U+2118 |
| 23126 |
% U+211C BLACK-LETTER CAPITAL R (=real part); Rfraktur; \Re (LaTeX) |
| 23127 |
\DeclareTextCommand{\textRe}{PU}{\9041\034}%* U+211C |
| 23128 |
% U+211E PRESCRIPTION TAKE; prescription |
| 23129 |
\DeclareTextCommand{\textrecipe}{PU}{\9041\036}% U+211E |
| 23130 |
% U+2120 SERVICE MARK |
| 23131 |
\DeclareTextCommand{\textservicemark}{PU}{\9041\040}% U+2120 |
| 23132 |
% U+2122 TRADE MARK SIGN; trademark |
| 23133 |
\DeclareTextCommand{\texttrademark}{PU}{\9041\042}% U+2122 |
| 23134 |
% U+2126 OHM SIGN; Ohm, Omega |
| 23135 |
\DeclareTextCommand{\textohm}{PU}{\9041\046}% U+2126 |
| 23136 |
% U+2127 INVERTED OHM SIGN |
| 23137 |
\DeclareTextCommand{\textmho}{PU}{\9041\047}%* U+2127 |
| 23138 |
%* \textmho -> \agemO (wasysym) |
| 23139 |
% U+2129 TURNED GREEK SMALL LETTER IOTA; \riota (phonetic) |
| 23140 |
\DeclareTextCommand{\textriota}{PU}{\9041\051}%* U+2129 |
| 23141 |
% U+212B ANGSTROM SIGN; angstrom |
| 23142 |
\DeclareTextCommand{\textangstrom}{PU}{\9041\053}% U+212B |
| 23143 |
% U+212E ESTIMATED SYMBOL; estimated |
| 23144 |
\DeclareTextCommand{\textestimated}{PU}{\9041\056}% U+212E |
| 23145 |
%* \textestimated -> \EstimatedSign (marvosym) |
| 23146 |
%* \textestimated -> \Ecommerce (marvosym) |
| 23147 |
% U+2132 TURNED CAPITAL F; \Finv (AmS) |
| 23148 |
\DeclareTextCommand{\textFinv}{PU}{\9041\062}%* U+2132 |
| 23149 |
% U+2135 ALEF SYMBOL; aleph; \aleph (LaTeX) |
| 23150 |
\DeclareTextCommand{\textaleph}{PU}{\9041\065}%* U+2135 |
| 23151 |
% U+2136 BET SYMBOL; \beth (AmS, MnSymbol) |
| 23152 |
\DeclareTextCommand{\textbeth}{PU}{\9041\066}%* U+2136 |
| 23153 |
% U+2137 GIMEL SYMBOL; \gimel (AmS, MnSymbol) |
| 23154 |
\DeclareTextCommand{\textgimel}{PU}{\9041\067}%* U+2137 |
| 23155 |
% U+2138 DALET SYMBOL; \daleth (AmS, MnSymbol) |
| 23156 |
\DeclareTextCommand{\textdaleth}{PU}{\9041\070}%* U+2138 |
| 23157 |
% U+213B FACSIMILE SIGN; \fax (marvosym) |
| 23158 |
\DeclareTextCommand{\textfax}{PU}{\9041\073}%* U+213B |
| 23159 |
% U+2141 TURNED SANS-SERIF CAPITAL G (=game); \Game |
| 23160 |
\DeclareTextCommand{\textGame}{PU}{\9041\101}%* U+2141 |
| 23161 |
% U+214B TURNED AMPERSAND; \invamp (txfonts/pxfonts) |
| 23162 |
\DeclareTextCommand{\textinvamp}{PU}{\9041\113}% U+214B |
| 23163 |
%* \textinvamp -> \bindnasrepma (stmaryrd) |
| 23164 |
%* \textinvamp -> \parr (cmll) |
| 23165 |
% \end{macrocode} |
| 23166 |
% |
| 23167 |
% \subsubsection{Number Forms: U+2150 to U+218F} |
| 23168 |
% |
| 23169 |
% \begin{macrocode} |
| 23170 |
% U+2150 VULGAR FRACTION ONE SEVENTH |
| 23171 |
\DeclareTextCommand{\textoneseventh}{PU}{\9041\120}% U+2150 |
| 23172 |
% U+2151 VULGAR FRACTION ONE NINTH |
| 23173 |
\DeclareTextCommand{\textoneninth}{PU}{\9041\121}% U+2151 |
| 23174 |
% U+2152 VULGAR FRACTION ONE TENTH |
| 23175 |
\DeclareTextCommand{\textonetenth}{PU}{\9041\122}% U+2152 |
| 23176 |
% U+2153 VULGAR FRACTION ONE THIRD; onethird |
| 23177 |
\DeclareTextCommand{\textonethird}{PU}{\9041\123}% U+2153 |
| 23178 |
% U+2154 VULGAR FRACTION TWO THIRDS; twothirds |
| 23179 |
\DeclareTextCommand{\texttwothirds}{PU}{\9041\124}% U+2154 |
| 23180 |
% U+2155 VULGAR FRACTION ONE FIFTH |
| 23181 |
\DeclareTextCommand{\textonefifth}{PU}{\9041\125}% U+2155 |
| 23182 |
% U+2156 VULGAR FRACTION TWO FIFTHS |
| 23183 |
\DeclareTextCommand{\texttwofifths}{PU}{\9041\126}% U+2156 |
| 23184 |
% U+2157 VULGAR FRACTION THREE FIFTHS |
| 23185 |
\DeclareTextCommand{\textthreefifths}{PU}{\9041\127}% U+2157 |
| 23186 |
% U+2158 VULGAR FRACTION FOUR FIFTHS |
| 23187 |
\DeclareTextCommand{\textfourfifths}{PU}{\9041\130}% U+2158 |
| 23188 |
% U+2159 VULGAR FRACTION ONE SIXTH |
| 23189 |
\DeclareTextCommand{\textonesixth}{PU}{\9041\131}% U+2159 |
| 23190 |
% U+215A VULGAR FRACTION FIVE SIXTHS |
| 23191 |
\DeclareTextCommand{\textfivesixths}{PU}{\9041\132}% U+215A |
| 23192 |
% U+215B VULGAR FRACTION ONE EIGHTH; oneeighth |
| 23193 |
\DeclareTextCommand{\textoneeighth}{PU}{\9041\133}% U+215B |
| 23194 |
% U+215C VULGAR FRACTION THREE EIGHTHS; threeeighths |
| 23195 |
\DeclareTextCommand{\textthreeeighths}{PU}{\9041\134}% U+215C |
| 23196 |
% U+215D VULGAR FRACTION FIVE EIGHTHS; fiveeighths |
| 23197 |
\DeclareTextCommand{\textfiveeighths}{PU}{\9041\135}% U+215D |
| 23198 |
% U+215E VULGAR FRACTION SEVEN EIGHTHS; seveneighths |
| 23199 |
\DeclareTextCommand{\textseveneighths}{PU}{\9041\136}% U+215E |
| 23200 |
% U+2184 LATIN SMALL LETTER REVERSED C |
| 23201 |
\DeclareTextCommand{\textrevc}{PU}{\9041\204}% U+2184 |
| 23202 |
% U+2189 VULGAR FRACTION ZERO THIRDS |
| 23203 |
\DeclareTextCommand{\textzerothirds}{PU}{\9041\211}% U+2189 |
| 23204 |
% \end{macrocode} |
| 23205 |
% |
| 23206 |
% \subsubsection{Arrows: U+2190 to U+21FF} |
| 23207 |
% |
| 23208 |
% \begin{macrocode} |
| 23209 |
% U+2190 LEFTWARDS ARROW; arrowleft |
| 23210 |
\DeclareTextCommand{\textleftarrow}{PU}{\9041\220}%* U+2190 |
| 23211 |
% U+2191 UPWARDS ARROW; arrowup |
| 23212 |
\DeclareTextCommand{\textuparrow}{PU}{\9041\221}%* U+2191 |
| 23213 |
% U+2192 RIGHTWARDS ARROW; arrowright |
| 23214 |
\DeclareTextCommand{\textrightarrow}{PU}{\9041\222}%* U+2192 |
| 23215 |
%* \textrightarrow -> \MVRightArrow (marvosym) |
| 23216 |
%* \textrightarrow -> \MVRightarrow (marvosym) |
| 23217 |
% U+2193 DOWNWARDS ARROW; arrowdown |
| 23218 |
\DeclareTextCommand{\textdownarrow}{PU}{\9041\223}%* U+2193 |
| 23219 |
%* \textdownarrow -> \MVArrowDown (marvosym) |
| 23220 |
%* \textdownarrow -> \Force (marvosym) |
| 23221 |
% U+2194 LEFT RIGHT ARROW; arrowboth; \leftrightarrow (LaTeX) |
| 23222 |
\DeclareTextCommand{\textleftrightarrow}{PU}{\9041\224}%* U+2194 |
| 23223 |
% U+2195 UP DOWN ARROW; arrowupdn; \updownarrow (LaTeX) |
| 23224 |
\DeclareTextCommand{\textupdownarrow}{PU}{\9041\225}%* U+2195 |
| 23225 |
% U+2196 NORTH WEST ARROW; arrowupleft; \nwarrow (LaTeX) |
| 23226 |
\DeclareTextCommand{\textnwarrow}{PU}{\9041\226}%* U+2196 |
| 23227 |
% U+2197 NORTH EAST ARROW; arrowupright; \nearrow (LaTeX) |
| 23228 |
\DeclareTextCommand{\textnearrow}{PU}{\9041\227}%* U+2197 |
| 23229 |
%* \textnearrow -> \textglobrise (tipa) |
| 23230 |
% U+2198 SOUTH EAST ARROW; arrowdownright; \searrow (LaTeX) |
| 23231 |
\DeclareTextCommand{\textsearrow}{PU}{\9041\230}%* U+2198 |
| 23232 |
%* \textsearrow -> \textglobfall (tipa) |
| 23233 |
% U+2199 SOUTH WEST ARROW; arrowdownleft; \swarrow (LaTeX) |
| 23234 |
\DeclareTextCommand{\textswarrow}{PU}{\9041\231}%* U+2199 |
| 23235 |
% U+219A LEFTWARDS ARROW WITH STROKE; \nleftarrow (AmS) |
| 23236 |
\DeclareTextCommand{\textnleftarrow}{PU}{\9041\232}%* U+219A |
| 23237 |
% U+219B RIGHTWARDS ARROW WITH STROKE; \nrightarrow (AmS) |
| 23238 |
\DeclareTextCommand{\textnrightarrow}{PU}{\9041\233}%* U+219B |
| 23239 |
% U+219E LEFTWARDS TWO HEADED ARROW; \twoheadleftarrow (AmS) |
| 23240 |
\DeclareTextCommand{\texttwoheadleftarrow}{PU}{\9041\236}%* U+219E |
| 23241 |
% \ntwoheadleftarrow (txfonts/pxfonts) |
| 23242 |
\DeclareTextCommand{\textntwoheadleftarrow}{PU}{\9041\236\83\070}%* U+219E U+0338 |
| 23243 |
% U+219F UPWARDS TWO HEADED ARROW; \twoheaduparrow (MnSymbol) |
| 23244 |
\DeclareTextCommand{\texttwoheaduparrow}{PU}{\9041\237}%* U+219F |
| 23245 |
% U+21A0 RIGHTWARDS TWO HEADED ARROW; |
| 23246 |
% \twoheadrightarrow (AmS) |
| 23247 |
\DeclareTextCommand{\texttwoheadrightarrow}{PU}{\9041\240}%* U+21A0 |
| 23248 |
% \ntwoheadrightarrow (txfonts/pxfonts) |
| 23249 |
\DeclareTextCommand{\textntwoheadrightarrow}{PU}{\9041\240\83\070}%* U+21A0 U+0338 |
| 23250 |
% U+21A1 DOWNWARDS TWO HEADED ARROW; \twoheaddownarrow (MnSymbol) |
| 23251 |
\DeclareTextCommand{\texttwoheaddownarrow}{PU}{\9041\241}%* U+21A1 |
| 23252 |
% U+21A2 LEFTWARDS ARROW WITH TAIL; \leftarrowtail (AmS) |
| 23253 |
\DeclareTextCommand{\textleftarrowtail}{PU}{\9041\242}%* U+21A2 |
| 23254 |
% U+21A3 RIGHTWARDS ARROW WITH TAIL; \rightarrowtail (AmS) |
| 23255 |
\DeclareTextCommand{\textrightarrowtail}{PU}{\9041\243}%* U+21A3 |
| 23256 |
% U+21A6 RIGHTWARDS ARROW FROM BAR; \mapsto (LaTeX) |
| 23257 |
\DeclareTextCommand{\textmapsto}{PU}{\9041\246}%* U+21A6 |
| 23258 |
% U+21A9 LEFTWARDS ARROW WITH HOOK; \hookleftarrow (LaTeX) |
| 23259 |
\DeclareTextCommand{\texthookleftarrow}{PU}{\9041\251}%* U+21A9 |
| 23260 |
% U+21AA RIGHTWARDS ARROW WITH HOOK; \hookrightarrow (LaTeX) |
| 23261 |
\DeclareTextCommand{\texthookrightarrow}{PU}{\9041\252}%* U+21AA |
| 23262 |
% U+21AB LEFTWARDS ARROW WITH LOOP; \looparrowleft (AmS) |
| 23263 |
\DeclareTextCommand{\textlooparrowleft}{PU}{\9041\253}%* U+21AB |
| 23264 |
% U+21AC RIGHTWARDS ARROW WITH LOOP; \looparrowright (AmS) |
| 23265 |
\DeclareTextCommand{\textlooparrowright}{PU}{\9041\254}%* U+21AC |
| 23266 |
% U+21AE LEFT RIGHT ARROW WITH STROKE; \nleftrightarrow (AmS) |
| 23267 |
\DeclareTextCommand{\textnleftrightarrow}{PU}{\9041\256}%* U+21AE |
| 23268 |
% U+21AF DOWNWARDS ZIGZAG ARROW; \lightning (stmaryrd) |
| 23269 |
\DeclareTextCommand{\textlightning}{PU}{\9041\257}%* U+21AF |
| 23270 |
%* \textlightning -> \Lightning (marvosym) |
| 23271 |
% U+21B5 DOWNWARDS ARROW WITH CORNER LEFTWARDS; |
| 23272 |
% \dlsh (mathabx) |
| 23273 |
\DeclareTextCommand{\textdlsh}{PU}{\9041\265}%* U+21B5 |
| 23274 |
% U+21B6 ANTICLOCKWISE TOP SEMICIRCLE ARROW; |
| 23275 |
% \curvearrowleft (AmS) |
| 23276 |
\DeclareTextCommand{\textcurvearrowleft}{PU}{\9041\266}%* U+21B6 |
| 23277 |
% U+21B7 CLOCKWISE TOP SEMICIRCLE ARROW; \curvearrowright (AmS) |
| 23278 |
\DeclareTextCommand{\textcurvearrowright}{PU}{\9041\267}%* U+21B7 |
| 23279 |
% U+21BC LEFTWARDS HARPOON WITH BARB UPWARDS; harpoonleftbarbup; |
| 23280 |
% \leftharpoonup (LaTeX) |
| 23281 |
\DeclareTextCommand{\textleftharpoonup}{PU}{\9041\274}%* U+21BC |
| 23282 |
% U+21BD LEFTWARDS HARPOON WITH BARB DOWNWARDS; |
| 23283 |
% \leftharpoondown (LaTeX) |
| 23284 |
\DeclareTextCommand{\textleftharpoondown}{PU}{\9041\275}%* U+21BD |
| 23285 |
% U+21BE UPWARDS HARPOON WITH BARB RIGHTWARDS; |
| 23286 |
% \upharpoonright (AmS) |
| 23287 |
\DeclareTextCommand{\textupharpoonright}{PU}{\9041\276}%* U+21BE |
| 23288 |
% U+21BF UPWARDS HARPOON WITH BARB LEFTWARDS; |
| 23289 |
% \upharpoonleft (AmS) |
| 23290 |
\DeclareTextCommand{\textupharpoonleft}{PU}{\9041\277}%* U+21BF |
| 23291 |
% U+21C0 RIGHTWARDS HARPOON WITH BARB UPWARDS; harpoonrightbarbup |
| 23292 |
% \rightharpoonup (LaTeX) |
| 23293 |
\DeclareTextCommand{\textrightharpoonup}{PU}{\9041\300}%* U+21C0 |
| 23294 |
% U+21C1 RIGHTWARDS HARPOON WITH BARB DOWNWARDS; |
| 23295 |
% \rightharpoondown (LaTeX) |
| 23296 |
\DeclareTextCommand{\textrightharpoondown}{PU}{\9041\301}%* U+21C1 |
| 23297 |
% U+21C2 DOWNWARDS HARPOON WITH BARB RIGHTWARDS; |
| 23298 |
% \downharpoonright (AmS) |
| 23299 |
\DeclareTextCommand{\textdownharpoonright}{PU}{\9041\302}%* U+21C2 |
| 23300 |
% U+21C3 DOWNWARDS HARPOON WITH BARB LEFTWARDS; |
| 23301 |
% \downharpoonleft (AmS) |
| 23302 |
\DeclareTextCommand{\textdownharpoonleft}{PU}{\9041\303}%* U+21C3 |
| 23303 |
% U+21C4 RIGHTWARDS ARROW OVER LEFTWARDS ARROW; |
| 23304 |
% arrowrightoverleft; \rightleftarrows (MnSymbol) |
| 23305 |
\DeclareTextCommand{\textrightleftarrows}{PU}{\9041\304}%* U+21C4 |
| 23306 |
% U+21C5 UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW; arrowupleftofdown; |
| 23307 |
% \updownarrows (MnSymbol) |
| 23308 |
\DeclareTextCommand{\textupdownarrows}{PU}{\9041\305}%* U+21C5 |
| 23309 |
% U+21C6 LEFTWARDS ARROW OVER RIGHTWARDS ARROW; arrowleftoverright; |
| 23310 |
% \leftrightarrows (AmS) |
| 23311 |
\DeclareTextCommand{\textleftrightarrows}{PU}{\9041\306}%* U+21C6 |
| 23312 |
% U+21C7 LEFTWARDS PAIRED ARROWS; \leftleftarrows (AmS) |
| 23313 |
\DeclareTextCommand{\textleftleftarrows}{PU}{\9041\307}%* U+21C7 |
| 23314 |
% U+21C8 UPWARDS PAIRED ARROWS; \upuparrows (AmS) |
| 23315 |
\DeclareTextCommand{\textupuparrows}{PU}{\9041\310}%* U+21C8 |
| 23316 |
% U+21C9 RIGHTWARDS PAIRED ARROWS; \rightrightarrows (AmS) |
| 23317 |
\DeclareTextCommand{\textrightrightarrows}{PU}{\9041\311}%* U+21C9 |
| 23318 |
% U+21CA DOWNWARDS PAIRED ARROWS; \downdownarrows (AmS) |
| 23319 |
\DeclareTextCommand{\textdowndownarrows}{PU}{\9041\312}%* U+21CA |
| 23320 |
% U+21CB LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON; |
| 23321 |
% \leftrightharpoons (AmS); |
| 23322 |
\DeclareTextCommand{\textleftrightharpoons}{PU}{\9041\313}%* U+21CB |
| 23323 |
% U+21CC RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON; |
| 23324 |
% \rightleftharpoons (LaTeX, AmS) |
| 23325 |
\DeclareTextCommand{\textrightleftharpoons}{PU}{\9041\314}%* U+21CC |
| 23326 |
% U+21CD LEFTWARDS DOUBLE ARROW WITH STROKE; arrowleftdblstroke; |
| 23327 |
% \nLeftarrow (AmS) |
| 23328 |
\DeclareTextCommand{\textnLeftarrow}{PU}{\9041\315}%* U+21CD |
| 23329 |
% U+21CE LEFT RIGHT DOUBLE ARROW WITH STROKE; \nLeftrightarrow (AmS) |
| 23330 |
\DeclareTextCommand{\textnLeftrightarrow}{PU}{\9041\316}%* U+21CE |
| 23331 |
% U+21CF RIGHTWARDS DOUBLE ARROW WITH STROKE; arrowrightdblstroke; |
| 23332 |
% \nRightarrow (AmS) |
| 23333 |
\DeclareTextCommand{\textnRightarrow}{PU}{\9041\317}%* U+21CF |
| 23334 |
% U+21D0 LEFTWARDS DOUBLE ARROW; arrowdblleft, arrowleftdbl; |
| 23335 |
% \Leftarrow (LaTeX) |
| 23336 |
\DeclareTextCommand{\textLeftarrow}{PU}{\9041\320}%* U+21D0 |
| 23337 |
% U+21D1 UPWARDS DOUBLE ARROW; arrowdblup; \Uparrow (LaTeX) |
| 23338 |
\DeclareTextCommand{\textUparrow}{PU}{\9041\321}%* U+21D1 |
| 23339 |
% U+21D2 RIGHTWARDS DOUBLE ARROW; arrowdblright, dblarrowright; |
| 23340 |
% \Rightarrow (LaTeX) |
| 23341 |
\DeclareTextCommand{\textRightarrow}{PU}{\9041\322}%* U+21D2 |
| 23342 |
%* \textRightarrow -> \Conclusion (marvosym) |
| 23343 |
% U+21D3 DOWNWARDS DOUBLE ARROW; arrowdbldown; \Downarrow (LaTeX) |
| 23344 |
\DeclareTextCommand{\textDownarrow}{PU}{\9041\323}%* U+21D3 |
| 23345 |
% U+21D4 LEFT RIGHT DOUBLE ARROW; arrowdblboth; |
| 23346 |
% \Leftrightarrow (LaTeX) |
| 23347 |
\DeclareTextCommand{\textLeftrightarrow}{PU}{\9041\324}%* U+21D4 |
| 23348 |
%* textLeftrightarrow -> \Equivalence (marvosym) |
| 23349 |
% U+21D5 UP DOWN DOUBLE ARROW; \Updownarrow (LaTeX) |
| 23350 |
\DeclareTextCommand{\textUpdownarrow}{PU}{\9041\325}%* U+21D5 |
| 23351 |
% U+21D6 NORTH WEST DOUBLE ARROW; \Nwarrow (MnSymbol) |
| 23352 |
\DeclareTextCommand{\textNwarrow}{PU}{\9041\326}%* U+21D6 |
| 23353 |
% U+21D7 NORTH EAST DOUBLE ARROW; \Nearrow (MnSymbol) |
| 23354 |
\DeclareTextCommand{\textNearrow}{PU}{\9041\327}%* U+21D7 |
| 23355 |
% U+21D8 SOUTH EAST DOUBLE ARROW; \Searrow (MnSymbol) |
| 23356 |
\DeclareTextCommand{\textSearrow}{PU}{\9041\330}%* U+21D8 |
| 23357 |
% U+21D9 SOUTH WEST DOUBLE ARROW; \Swarrow (MnSymbol) |
| 23358 |
\DeclareTextCommand{\textSwarrow}{PU}{\9041\331}%* U+21D9 |
| 23359 |
% U+21DA LEFTWARDS TRIPLE ARROW; \Lleftarrow (AmS) |
| 23360 |
\DeclareTextCommand{\textLleftarrow}{PU}{\9041\332}%* U+21DA |
| 23361 |
% U+21DB RIGHTWARDS TRIPLE ARROW; \Rrightarrow (MnSymbol) |
| 23362 |
\DeclareTextCommand{\textRrightarrow}{PU}{\9041\333}%* U+21DB |
| 23363 |
% U+21DC LEFTWARDS SQUIGGLE ARROW; \leftsquigarrow (mathabx) |
| 23364 |
\DeclareTextCommand{\textleftsquigarrow}{PU}{\9041\334}%* U+21DC |
| 23365 |
% U+21DD RIGHTWARDS SQUIGGLE ARROW; \rightsquigarrow (mathabx) |
| 23366 |
\DeclareTextCommand{\textrightsquigarrow}{PU}{\9041\335}%* U+21DD |
| 23367 |
% U+21E0 LEFTWARDS DASHED ARROW; arrowdashleft; |
| 23368 |
% \dashleftarrow (AmS) |
| 23369 |
\DeclareTextCommand{\textdashleftarrow}{PU}{\9041\340}%* U+21E0 |
| 23370 |
%* \textdashleftarrow -> \dashedleftarrow (MnSymbol) |
| 23371 |
% U+21E1 UPWARDS DASHED ARROW; arrowdashup; \dasheduparrow (MnSymbol) |
| 23372 |
\DeclareTextCommand{\textdasheduparrow}{PU}{\9041\341}%* U+21E1 |
| 23373 |
% U+21E2 RIGHTWARDS DASHED ARROW; arrowdashright; \dashrightarrow (AmS) |
| 23374 |
\DeclareTextCommand{\textdashrightarrow}{PU}{\9041\342}%* U+21E2 |
| 23375 |
%* \textdashrightarrow -> \dashedrightarrow (MnSymbol) |
| 23376 |
% U+21E3 DOWNWARDS DASHED ARROW; arrowdashdown; \dasheddownarrow (MnSymbol) |
| 23377 |
\DeclareTextCommand{\textdasheddownarrow}{PU}{\9041\343}%* U+21E3 |
| 23378 |
% U+21E8 RIGHTWARDS WHITE ARROW; \pointer (wasysym) |
| 23379 |
\DeclareTextCommand{\textpointer}{PU}{\9041\350}%* U+21E8 |
| 23380 |
% U+21F5 DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW; |
| 23381 |
% \downuparrows (MnSymbol) |
| 23382 |
\DeclareTextCommand{\textdownuparrows}{PU}{\9041\365}%* U+21F5 |
| 23383 |
% U+21FD LEFTWARDS OPEN-HEADED ARROW; \leftarrowtriangle (stmaryrd) |
| 23384 |
\DeclareTextCommand{\textleftarrowtriangle}{PU}{\9041\375}%* U+21FD |
| 23385 |
% U+21FE RIGHTWARDS OPEN-HEADED ARROW; \rightarrowtriangle (stmaryrd) |
| 23386 |
\DeclareTextCommand{\textrightarrowtriangle}{PU}{\9041\376}%* U+21FE |
| 23387 |
% U+21FF LEFT RIGHT OPEN-HEADED ARROW; \leftrightarrowtriangle (stmaryrd) |
| 23388 |
\DeclareTextCommand{\textleftrightarrowtriangle}{PU}{\9041\377}%* U+21FF |
| 23389 |
% \end{macrocode} |
| 23390 |
% |
| 23391 |
% \subsubsection{Mathematical Operators: U+2200 to U+22FF} |
| 23392 |
% |
| 23393 |
% \begin{macrocode} |
| 23394 |
% U+2200 FOR ALL; forall; \forall (LaTeX) |
| 23395 |
\DeclareTextCommand{\textforall}{PU}{\9042\000}%* U+2200 |
| 23396 |
% U+2201 COMPLEMENT; \complement (AmS) |
| 23397 |
\DeclareTextCommand{\textcomplement}{PU}{\9042\001}%* U+2201 |
| 23398 |
% U+2202 PARTIAL DIFFERENTIAL; partialdiff; \partial (LaTeX) |
| 23399 |
\DeclareTextCommand{\textpartial}{PU}{\9042\002}%* U+2202 |
| 23400 |
% U+2203 THERE EXISTS; existential; \exists (LaTeX) |
| 23401 |
\DeclareTextCommand{\textexists}{PU}{\9042\003}%* U+2203 |
| 23402 |
% U+2204 THERE DOES NOT EXIST; \nexists (AmS) |
| 23403 |
\DeclareTextCommand{\textnexists}{PU}{\9042\004}%* U+2204 |
| 23404 |
% U+2205 EMPTY SET; emptyset; \emptyset (LaTeX), \varnothing (AmS) |
| 23405 |
\DeclareTextCommand{\textemptyset}{PU}{\9042\005}%* U+2205 |
| 23406 |
%* \textemptyset -> \varnothing (AmS) |
| 23407 |
% U+2206 INCREMENT; increment, Deta; \triangle (LaTeX) |
| 23408 |
\DeclareTextCommand{\texttriangle}{PU}{\9042\006}%* U+2206 |
| 23409 |
% U+2207 NABLA; nabla, gradient; \nabla (LaTeX) |
| 23410 |
\DeclareTextCommand{\textnabla}{PU}{\9042\007}%* U+2207 |
| 23411 |
% U+2208 ELEMENT OF; element; \in (LaTeX) |
| 23412 |
\DeclareTextCommand{\textinsymbol}{PU}{\9042\010}%* U+2208 |
| 23413 |
% U+2209 NOT AN ELEMENT OF; notelement, notelementof; \notin (LaTeX) |
| 23414 |
\DeclareTextCommand{\textnotin}{PU}{\9042\011}%* U+2209 |
| 23415 |
% U+220A SMALL ELEMENT OF; \smallin (mathdesign) |
| 23416 |
\DeclareTextCommand{\textsmallin}{PU}{\9042\012}%* U+220A |
| 23417 |
% U+220B CONTAINS AS MEMBER; suchthat; \ni (LaTeX) |
| 23418 |
\DeclareTextCommand{\textni}{PU}{\9042\013}%* U+220B |
| 23419 |
%* \textni -> \owns (mathabx) |
| 23420 |
% U+220C DOES NOT CONTAIN AS MEMBER; \notowner (mathabx) |
| 23421 |
\DeclareTextCommand{\textnotowner}{PU}{\9042\014}%* U+220C |
| 23422 |
%* \textnotowner -> \notni (txfonts/pxfonts) |
| 23423 |
% U+220D SMALL CONTAINS AS MEMBER; \smallowns (mathdesign) |
| 23424 |
\DeclareTextCommand{\textsmallowns}{PU}{\9042\015}%* U+220D |
| 23425 |
% U+220F N-ARY PRODUCT; \prod (LaTeX) |
| 23426 |
\DeclareTextCommand{\textprod}{PU}{\9042\017}%* U+220F |
| 23427 |
% U+2210 N-ARY COPRODUCT; \amalg (LaTeX) |
| 23428 |
\DeclareTextCommand{\textamalg}{PU}{\9042\020}%* U+2210 |
| 23429 |
% U+2211 N-ARY SUMMATION; summation; \sum (LaTeX) |
| 23430 |
\DeclareTextCommand{\textsum}{PU}{\9042\021}%* U+2211 |
| 23431 |
% U+2212 MINUS SIGN; minus |
| 23432 |
\DeclareTextCommand{\textminus}{PU}{\9042\022}% U+2212 |
| 23433 |
% U+2213 MINUS-OR-PLUS SIGN; minusplus; \mp (LaTeX) |
| 23434 |
\DeclareTextCommand{\textmp}{PU}{\9042\023}%* U+2213 |
| 23435 |
% U+2214 DOT PLUS; \dotplus (AmS) |
| 23436 |
\DeclareTextCommand{\textdotplus}{PU}{\9042\024}%* U+2214 |
| 23437 |
% U+2215 DIVISION SLASH; divisionslash; \Divides (marvosym) |
| 23438 |
\DeclareTextCommand{\textDivides}{PU}{\9042\025}%* U+2215 |
| 23439 |
% \DividesNot (marvosym) |
| 23440 |
\DeclareTextCommand{\textDividesNot}{PU}{\9042\025\9040\322}%* U+2215 U+20D2 |
| 23441 |
% U+2216 SET MINUS; \setminus (LaTeX) |
| 23442 |
\DeclareTextCommand{\textsetminus}{PU}{\9042\026}%* U+2216 |
| 23443 |
% U+2217 ASTERISK OPERATOR; asteriskmath; \ast (LaTeX) |
| 23444 |
\DeclareTextCommand{\textast}{PU}{\9042\027}%* U+2217 |
| 23445 |
% U+2218 RING OPERATOR; \circ (LaTeX) |
| 23446 |
\DeclareTextCommand{\textcirc}{PU}{\9042\030}%* U+2218 |
| 23447 |
% U+2219 BULLET OPERATOR; bulletoperator; \bullet (LaTeX) |
| 23448 |
\DeclareTextCommand{\textbulletoperator}{PU}{\9042\031}% U+2219 |
| 23449 |
% U+221A SQUARE ROOT; radical |
| 23450 |
\DeclareTextCommand{\textsurd}{PU}{\9042\032}%* U+221A |
| 23451 |
% U+221D PROPORTIONAL TO; proportional; \propto (LaTeX) |
| 23452 |
\DeclareTextCommand{\textpropto}{PU}{\9042\035}%* U+221D |
| 23453 |
%* \textpropto -> \varprop (wasysym) |
| 23454 |
% U+221E INFINITY; infinity; \infty (LaTeX) |
| 23455 |
\DeclareTextCommand{\textinfty}{PU}{\9042\036}%* U+221E |
| 23456 |
% U+2220 ANGLE; angle; \angle (LaTeX) |
| 23457 |
\DeclareTextCommand{\textangle}{PU}{\9042\040}%* U+2220 |
| 23458 |
% U+2221 MEASURED ANGLE; \measuredangle (mathabx, MnSymbol) |
| 23459 |
\DeclareTextCommand{\textmeasuredangle}{PU}{\9042\041}%* U+2221 |
| 23460 |
% U+2222 SPHERICAL ANGLE; \sphericalangle (AmS) |
| 23461 |
\DeclareTextCommand{\textsphericalangle}{PU}{\9042\042}%* U+2222 |
| 23462 |
%* \textsphericalangle -> \varangle (wasysym) |
| 23463 |
%* \textsphericalangle -> \Anglesign (marvosym) |
| 23464 |
%* \textsphericalangle -> \AngleSign (marvosym) |
| 23465 |
% U+2223 DIVIDES; divides; \mid (LaTeX) |
| 23466 |
\DeclareTextCommand{\textmid}{PU}{\9042\043}%* U+2223 |
| 23467 |
% U+2224 DOES NOT DIVIDE; \nmid (AmS) |
| 23468 |
\DeclareTextCommand{\textnmid}{PU}{\9042\044}%* U+2224 |
| 23469 |
%* \textnmid -> \notdivides (mathabx) |
| 23470 |
% U+2225 PARALLEL TO; parallel; \parallel (LaTeX) |
| 23471 |
\DeclareTextCommand{\textparallel}{PU}{\9042\045}%* U+2225 |
| 23472 |
% U+2226 NOT PARALLEL TO; notparallel; \nparallel (AmS) |
| 23473 |
\DeclareTextCommand{\textnparallel}{PU}{\9042\046}%* U+2226 |
| 23474 |
%* \textnparallel -> nUpdownline (MnSymbol) |
| 23475 |
% U+2227 LOGICAL AND; logicaland; \wedge (LaTeX) |
| 23476 |
\DeclareTextCommand{\textwedge}{PU}{\9042\047}%* U+2227 |
| 23477 |
% \owedge (stmaryrd) |
| 23478 |
\DeclareTextCommand{\textowedge}{PU}{\9042\047\9040\335}%* U+2227 U+20DD |
| 23479 |
%* \textowedge -> \varowedge (stmaryrd) |
| 23480 |
% U+2228 LOGICAL OR; logicalor; \vee (LaTeX) |
| 23481 |
\DeclareTextCommand{\textvee}{PU}{\9042\050}%* U+2228 |
| 23482 |
% \ovee (stmaryrd) |
| 23483 |
\DeclareTextCommand{\textovee}{PU}{\9042\050\9040\335}%* U+2228 U+20DD |
| 23484 |
%* \textovee -> \varovee (stmaryrd) |
| 23485 |
% U+2229 INTERSECTION; intersection; \cap (LaTeX) |
| 23486 |
\DeclareTextCommand{\textcap}{PU}{\9042\051}%* U+2229 |
| 23487 |
% U+222A UNION; union; \cup (LaTeX) |
| 23488 |
\DeclareTextCommand{\textcup}{PU}{\9042\052}%* U+222A |
| 23489 |
% U+222B INTEGRAL; integral; \int (LaTeX) |
| 23490 |
\DeclareTextCommand{\textint}{PU}{\9042\053}%* U+222B |
| 23491 |
%* \textint -> \varint (wasysym) |
| 23492 |
% U+222C DOUBLE INTEGRAL; dblintegral; \iint (AmS) |
| 23493 |
\DeclareTextCommand{\textiint}{PU}{\9042\054}%* U+222C |
| 23494 |
% U+222D TRIPLE INTEGRAL; \iiint (AmS) |
| 23495 |
\DeclareTextCommand{\textiiint}{PU}{\9042\055}%* U+222D |
| 23496 |
% U+222E CONTOUR INTEGRAL; contourintegral; \oint (LaTeX) |
| 23497 |
\DeclareTextCommand{\textoint}{PU}{\9042\056}%* U+222E |
| 23498 |
%* \textoint -> \varoint (wasysym) |
| 23499 |
% U+222F SURFACE INTEGRAL; \oiint (wasysym) |
| 23500 |
\DeclareTextCommand{\textoiint}{PU}{\9042\057}%* U+222F |
| 23501 |
% U+2232 CLOCKWISE CONTOUR INTEGRAL; |
| 23502 |
% \ointclockwise (txfonts/pxfonts) |
| 23503 |
\DeclareTextCommand{\textointclockwise}{PU}{\9042\062}%* U+2232 |
| 23504 |
% U+2233 ANTICLOCKWISE CONTOUR INTEGRAL; \ointctrclockwise (txfonts/pxfonts) |
| 23505 |
\DeclareTextCommand{\textointctrclockwise}{PU}{\9042\063}%* U+2233 |
| 23506 |
% U+2234 THEREFORE; therefore; \therefore (AmS) |
| 23507 |
\DeclareTextCommand{\texttherefore}{PU}{\9042\064}%* U+2234 |
| 23508 |
%* \texttherefore -> uptherefore (MnSymbol) |
| 23509 |
% U+2235 BECAUSE; because; \because (AmS) |
| 23510 |
\DeclareTextCommand{\textbecause}{PU}{\9042\065}%* U+2235 |
| 23511 |
%* \textbecause -> \downtherefore (MnSymbol) |
| 23512 |
% U+2236 RATIO; \vdotdot (MnSymbol) |
| 23513 |
\DeclareTextCommand{\textvdotdot}{PU}{\9042\066}%* U+2236 |
| 23514 |
% U+2237 PROPORTION; \squaredots (MnSymbol) |
| 23515 |
\DeclareTextCommand{\textsquaredots}{PU}{\9042\067}%* U+2237 |
| 23516 |
% U+2238 DOT MINUS; \dotminus (MnSymbol) |
| 23517 |
\DeclareTextCommand{\textdotminus}{PU}{\9042\070}%* U+2238 |
| 23518 |
%* \textdotminus -> \textdotdiv (mathabx) |
| 23519 |
% U+2239 EXCESS; \eqcolon (txfonts/pxfonts) |
| 23520 |
\DeclareTextCommand{\texteqcolon}{PU}{\9042\071}%* U+2239 |
| 23521 |
% U+223C TILDE OPERATOR; similar; \sim (LaTeX) |
| 23522 |
\DeclareTextCommand{\textsim}{PU}{\9042\074}%* U+223C |
| 23523 |
%* \textsim -> \AC (wasysym) |
| 23524 |
% U+223D REVERSED TILDE; reversedtilde; \backsim (AmS) |
| 23525 |
\DeclareTextCommand{\textbacksim}{PU}{\9042\075}%* U+223D |
| 23526 |
% \nbacksim (txfonts/pxfonts) |
| 23527 |
\DeclareTextCommand{\textnbacksim}{PU}{\9042\075\83\070}%* U+223D U+0338 |
| 23528 |
% U+2240 WREATH PRODUCT; \wr (LaTeX) |
| 23529 |
\DeclareTextCommand{\textwr}{PU}{\9042\100}%* U+2240 |
| 23530 |
%* \textwr -> \wreath (MnSymbol) |
| 23531 |
% U+2241 NOT TILDE; \nsim (AmS) |
| 23532 |
\DeclareTextCommand{\textnsim}{PU}{\9042\101}%* U+2241 |
| 23533 |
% U+2242 MINUS TILDE; \eqsim (MnSymbol) |
| 23534 |
\DeclareTextCommand{\texteqsim}{PU}{\9042\102}%* U+2242 |
| 23535 |
% \neqsim (MnSymbol) |
| 23536 |
\DeclareTextCommand{\textneqsim}{PU}{\9042\102\83\070}%* U+2242 U+0338 |
| 23537 |
% U+2243 ASYMPTOTICALLY EQUAL TO; asymptoticallyequal; \simeq (LaTeX) |
| 23538 |
\DeclareTextCommand{\textsimeq}{PU}{\9042\103}%* U+2243 |
| 23539 |
% U+2244 NOT ASYMPTOTICALLY EQUAL TO; \nsimeq (txfonts/pxfonts) |
| 23540 |
\DeclareTextCommand{\textnsimeq}{PU}{\9042\104}%* U+2244 |
| 23541 |
% U+2245 APPROXIMATELY EQUAL TO; approximatelyequal; \cong (LaTeX) |
| 23542 |
\DeclareTextCommand{\textcong}{PU}{\9042\105}%* U+2245 |
| 23543 |
% U+2247 NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO; |
| 23544 |
% \ncong (AmS) |
| 23545 |
\DeclareTextCommand{\textncong}{PU}{\9042\107}%* U+2247 |
| 23546 |
% U+2248 ALMOST EQUAL TO; approxequal; \approx (LaTeX) |
| 23547 |
\DeclareTextCommand{\textapprox}{PU}{\9042\110}%* U+2248 |
| 23548 |
% U+2249 NOT ALMOST EQUAL TO; \napprox (txfonts/pxfonts0 |
| 23549 |
\DeclareTextCommand{\textnapprox}{PU}{\9042\111}%* U+2249 |
| 23550 |
%* \textnapprox -> \nthickapprox (txfonts/pxfonts) |
| 23551 |
% U+224A ALMOST EQUAL OR EQUAL TO; \approxeq (AmS) |
| 23552 |
\DeclareTextCommand{\textapproxeq}{PU}{\9042\112}%* U+224A |
| 23553 |
% \napproxeq (txfonts/pxfonts) |
| 23554 |
\DeclareTextCommand{\textnapproxeq}{PU}{\9042\112\83\070}%* U+224A U+0338 |
| 23555 |
% U+224B TRIPLE TILDE; \triplesim (MnSymbol) |
| 23556 |
\DeclareTextCommand{\texttriplesim}{PU}{\9042\113}%* U+224B |
| 23557 |
%* \texttriplesim -> \VHF (wasysym) |
| 23558 |
% \ntriplesim (MnSymbol) |
| 23559 |
\DeclareTextCommand{\textntriplesim}{PU}{\9042\113\83\070}%* U+224B U+0338 |
| 23560 |
% U+224C ALL EQUAL TO; allequal; \backcong (MnSymbol) |
| 23561 |
\DeclareTextCommand{\textbackcong}{PU}{\9042\114}%* U+224C |
| 23562 |
% \nbackcong (MnSymbol) |
| 23563 |
\DeclareTextCommand{\textnbackcong}{PU}{\9042\114\83\070}%* U+224C U+0338 |
| 23564 |
% U+224D EQUIVALENT TO; \asymp (LaTeX) |
| 23565 |
\DeclareTextCommand{\textasymp}{PU}{\9042\115}%* U+224D |
| 23566 |
% \nasymp (txfonts/pxfonts) |
| 23567 |
\DeclareTextCommand{\textnasymp}{PU}{\9042\115\83\070}%* U+224D U+0338 |
| 23568 |
%* \textnasymp -> \notasymp (mathabx) |
| 23569 |
% U+224E GEOMETRICALLY EQUIVALENT TO; \Bumpeq (AmS) |
| 23570 |
\DeclareTextCommand{\textBumpeq}{PU}{\9042\116}%* U+224E |
| 23571 |
% \nBumpeq (txfonts/pxfonts) |
| 23572 |
\DeclareTextCommand{\textnBumpeq}{PU}{\9042\116\83\070}%* U+224E U+0338 |
| 23573 |
% U+224F DIFFERENCE BETWEEN; \bumpeq (AmS) |
| 23574 |
\DeclareTextCommand{\textbumpeq}{PU}{\9042\117}%* U+224F |
| 23575 |
% \nbumpeq (txfonts/pxfonts) |
| 23576 |
\DeclareTextCommand{\textnbumpeq}{PU}{\9042\117\83\070}%* U+224F U+0338 |
| 23577 |
% U+2250 APPROACHES THE LIMIT; approaches; \doteq (LaTeX) |
| 23578 |
\DeclareTextCommand{\textdoteq}{PU}{\9042\120}%* U+2250 |
| 23579 |
% \ndoteq (MnSymbol) |
| 23580 |
\DeclareTextCommand{\textndoteq}{PU}{\9042\120\83\070}%* U+2250 U+0338 |
| 23581 |
% U+2251 GEOMETRICALLY EQUAL TO; geometricallyequal; |
| 23582 |
% \doteqdot (AmS) |
| 23583 |
\DeclareTextCommand{\textdoteqdot}{PU}{\9042\121}%* U+2251 |
| 23584 |
%* \textdoteqdot -> \Doteq (MnSymbol) |
| 23585 |
% \nDoteq (MnSymbol) |
| 23586 |
\DeclareTextCommand{\textnDoteq}{PU}{\9042\121\83\070}%* U+2251 U+0338 |
| 23587 |
% U+2252 APPROXIMATELY EQUAL TO OR THE IMAGE OF; approxequalorimage; |
| 23588 |
% \fallingdotseq (AmS) |
| 23589 |
\DeclareTextCommand{\textfallingdoteq}{PU}{\9042\122}%* U+2252 |
| 23590 |
% \nfallingdotseq (MnSymbol) |
| 23591 |
\DeclareTextCommand{\textnfallingdoteq}{PU}{\9042\122\83\070}%* U+2252 U+0338 |
| 23592 |
% U+2253 IMAGE OF OR APPROXIMATELY EQUAL TO; imageorapproximatelyequal; |
| 23593 |
% \risingdotseq (AmS) |
| 23594 |
\DeclareTextCommand{\textrisingdoteq}{PU}{\9042\123}%* U+2253 |
| 23595 |
% \nrisingdoteq (MnSymbol) |
| 23596 |
\DeclareTextCommand{\textnrisingdoteq}{PU}{\9042\123\83\070}%* U+2253 U+0338 |
| 23597 |
% U+2254 COLON EQUALS; \colonequals (colonequals) |
| 23598 |
\DeclareTextCommand{\textcolonequals}{PU}{\9042\124}%* U+2254 |
| 23599 |
% U+2255 EQUALS COLON; \equalscolon (colonequals) |
| 23600 |
\DeclareTextCommand{\textequalscolon}{PU}{\9042\125}%* U+2255 |
| 23601 |
% U+2256 RING IN EQUAL TO; \eqcirc (AmS) |
| 23602 |
\DeclareTextCommand{\texteqcirc}{PU}{\9042\126}%* U+2256 |
| 23603 |
% \neqcirc (MnSymbol) |
| 23604 |
\DeclareTextCommand{\textneqcirc}{PU}{\9042\126\83\070}%* U+2256 U+0338 |
| 23605 |
% U+2257 RING EQUAL TO; \circeq (AmS) |
| 23606 |
\DeclareTextCommand{\textcirceq}{PU}{\9042\127}%* U+2257 |
| 23607 |
% \ncirceq (MnSymbol) |
| 23608 |
\DeclareTextCommand{\textncirceq}{PU}{\9042\127\83\070}%* U+2257 U+0338 |
| 23609 |
% U+2259 ESTIMATES; \hateq (MnSymbol) |
| 23610 |
\DeclareTextCommand{\texthateq}{PU}{\9042\131}%* U+2259 |
| 23611 |
%* \texthateq -> \corresponds (mathabx) |
| 23612 |
%* \texthateq -> \Corresponds (marvosym) |
| 23613 |
% \nhateq (MnSymbol) |
| 23614 |
\DeclareTextCommand{\textnhateq}{PU}{\9042\131\83\070}%* U+2259 U+0338 |
| 23615 |
% U+225C DELTA EQUAL TO; \triangleeq (AmS) |
| 23616 |
\DeclareTextCommand{\texttriangleeq}{PU}{\9042\134}%* U+225C |
| 23617 |
% U+2260 NOT EQUAL TO; notequal; \ne (LaTeX), \neq (LaTeX) |
| 23618 |
\DeclareTextCommand{\textneq}{PU}{\9042\140}%* U+2260 |
| 23619 |
\DeclareTextCommand{\textne}{PU}{\9042\140}%* U+2260 |
| 23620 |
%* \textneq -> \nequal (MnSymbol) |
| 23621 |
% U+2261 IDENTICAL TO; equivalence; \equiv (LaTeX) |
| 23622 |
\DeclareTextCommand{\textequiv}{PU}{\9042\141}%* U+2261 |
| 23623 |
%* \textequiv -> \Congruent (marvosym) |
| 23624 |
% U+2262 NOT IDENTICAL TO; notidentical; \nequiv (txfonts/pxfonts) |
| 23625 |
\DeclareTextCommand{\textnequiv}{PU}{\9042\142}%* U+2262 |
| 23626 |
%* \textnequiv -> \NotCongruent (marvosym) |
| 23627 |
%* \textnequiv -> \notequiv (mathabx) |
| 23628 |
% U+2264 LESS-THAN OR EQUAL TO; lessequal; \le (LaTeX), \leq (LaTeX) |
| 23629 |
\DeclareTextCommand{\textleq}{PU}{\9042\144}%* U+2264 |
| 23630 |
\DeclareTextCommand{\textle}{PU}{\9042\144}%* U+2264 |
| 23631 |
%* \textleq -> \LessOrEqual (marvosym) |
| 23632 |
% U+2265 GREATER-THAN OR EQUAL TO; greaterequal; |
| 23633 |
% \ge (LaTeX), \geq (LaTeX) |
| 23634 |
\DeclareTextCommand{\textgeq}{PU}{\9042\145}%* U+2265 |
| 23635 |
\DeclareTextCommand{\textge}{PU}{\9042\145}%* U+2265 |
| 23636 |
%* \textgeq -> \LargerOrEqual (marvosym) |
| 23637 |
% U+2266 LESS-THAN OVER EQUAL TO; lessoverequal; \leqq (AmS) |
| 23638 |
\DeclareTextCommand{\textleqq}{PU}{\9042\146}%* U+2266 |
| 23639 |
% \nleqq (txfonts/pxfonts) |
| 23640 |
\DeclareTextCommand{\textnleqq}{PU}{\9042\146\83\070}%* U+2266 U+0338 |
| 23641 |
% U+2267 GREATER-THAN OVER EQUAL TO; greateroverequal; \geqq (AmS) |
| 23642 |
\DeclareTextCommand{\textgeqq}{PU}{\9042\147}%* U+2267 |
| 23643 |
% \ngeqq (txfonts/pxfonts) |
| 23644 |
\DeclareTextCommand{\textngeqq}{PU}{\9042\147\83\070}%* U+2267 U+0338 |
| 23645 |
% U+2268 LESS-THAN BUT NOT EQUAL TO; \lneqq (AmS) |
| 23646 |
\DeclareTextCommand{\textlneqq}{PU}{\9042\150}%* U+2268 |
| 23647 |
% U+2269 GREATER-THAN BUT NOT EQUAL TO; \gneqq (AmS) |
| 23648 |
\DeclareTextCommand{\textgneqq}{PU}{\9042\151}%* U+2269 |
| 23649 |
% U+226A MUCH LESS-THAN; muchless; \ll (LaTeX) |
| 23650 |
\DeclareTextCommand{\textll}{PU}{\9042\152}%* U+226A |
| 23651 |
% \nll (txfonts/pxfonts) |
| 23652 |
\DeclareTextCommand{\textnll}{PU}{\9042\152\83\070}%* U+226A U+0338 |
| 23653 |
% U+226B MUCH GREATER-THAN; muchgreater; \gg (LaTeX) |
| 23654 |
\DeclareTextCommand{\textgg}{PU}{\9042\153}%* U+226B |
| 23655 |
% \ngg (txfonts/pxfonts) |
| 23656 |
\DeclareTextCommand{\textngg}{PU}{\9042\153\83\070}%* U+226B U+0338 |
| 23657 |
% U+226C BETWEEN; \between (AmS) |
| 23658 |
\DeclareTextCommand{\textbetween}{PU}{\9042\154}%* U+226C |
| 23659 |
% U+226E NOT LESS-THAN; notless; \nless (AmS) |
| 23660 |
\DeclareTextCommand{\textnless}{PU}{\9042\156}%* U+226E |
| 23661 |
% U+226F NOT GREATER-THAN; notgreater; \ngtr (AmS) |
| 23662 |
\DeclareTextCommand{\textngtr}{PU}{\9042\157}%* U+226F |
| 23663 |
% U+2270 NEITHER LESS-THAN NOR EQUAL TO; notlessnorequal; |
| 23664 |
% \nleq (AmS) |
| 23665 |
\DeclareTextCommand{\textnleq}{PU}{\9042\160}%* U+2270 |
| 23666 |
% U+2271 NEITHER GREATER-THAN NOR EQUAL TO; notgreaternorequal; \ngeq (AmS) |
| 23667 |
\DeclareTextCommand{\textngeq}{PU}{\9042\161}%* U+2271 |
| 23668 |
% U+2272 LESS-THAN OR EQUIVALENT TO; lessorequivalent; \lesssim (AmS) |
| 23669 |
\DeclareTextCommand{\textlesssim}{PU}{\9042\162}%* U+2272 |
| 23670 |
%* \textlesssim -> \apprle (wasysym) |
| 23671 |
% U+2273 GREATER-THAN OR EQUIVALENT TO; greaterorequivalent; \gtrsim (AmS) |
| 23672 |
\DeclareTextCommand{\textgtrsim}{PU}{\9042\163}%* U+2273 |
| 23673 |
%* \textgtrsim -> \apprge (wasysym) |
| 23674 |
% U+2274 NEITHER LESS-THAN NOR EQUIVALENT TO; \nlesssim (txfonts/pxfonts) |
| 23675 |
\DeclareTextCommand{\textnlesssim}{PU}{\9042\164}%* U+2274 |
| 23676 |
% U+2275 NEITHER GREATER-THAN NOR EQUIVALENT TO; \ngtrsim (txfonts/pxfonts) |
| 23677 |
\DeclareTextCommand{\textngtrsim}{PU}{\9042\165}%* U+2275 |
| 23678 |
% U+2276 LESS-THAN OR GREATER-THAN; lessorgreater; \lessgtr (AmS) |
| 23679 |
\DeclareTextCommand{\textlessgtr}{PU}{\9042\166}%* U+2276 |
| 23680 |
% U+2277 GREATER-THAN OR LESS-THAN; greaterorless; \gtrless (AmS) |
| 23681 |
\DeclareTextCommand{\textgtrless}{PU}{\9042\167}%* U+2277 |
| 23682 |
% U+2278 NEITHER LESS-THAN NOR GREATER-THAN; \ngtrless (txfonts/pxfonts) |
| 23683 |
\DeclareTextCommand{\textngtrless}{PU}{\9042\170}%* U+2278 |
| 23684 |
% U+2279 NEITHER GREATER-THAN NOR LESS-THAN; \nlessgtr (txfonts/pxfonts) |
| 23685 |
\DeclareTextCommand{\textnlessgtr}{PU}{\9042\171}%* U+2279 |
| 23686 |
% U+227A PRECEDES; precedes; \prec (LaTeX) |
| 23687 |
\DeclareTextCommand{\textprec}{PU}{\9042\172}%* U+227A |
| 23688 |
% U+227B SUCCEEDS; succeeds; \succ (LaTeX) |
| 23689 |
\DeclareTextCommand{\textsucc}{PU}{\9042\173}%* U+227B |
| 23690 |
% U+227C PRECEDES OR EQUAL TO; \preccurlyeq (AmS) |
| 23691 |
\DeclareTextCommand{\textpreccurlyeq}{PU}{\9042\174}%* U+227C |
| 23692 |
% U+227D SUCCEEDS OR EQUAL TO; \succcurlyeq (AmS) |
| 23693 |
\DeclareTextCommand{\textsucccurlyeq}{PU}{\9042\175}%* U+227D |
| 23694 |
% U+227E PRECEDES OR EQUIVALENT TO; \precsim (AmS) |
| 23695 |
\DeclareTextCommand{\textprecsim}{PU}{\9042\176}%* U+227E |
| 23696 |
% \nprecsim (txfonts/pxfonts) |
| 23697 |
\DeclareTextCommand{\textnprecsim}{PU}{\9042\176\83\070}%* U+227E U+0338 |
| 23698 |
% U+227F SUCCEEDS OR EQUIVALENT TO; \succsim (AmS) |
| 23699 |
\DeclareTextCommand{\textsuccsim}{PU}{\9042\177}%* U+227F |
| 23700 |
% \nsuccsim (txfonts/pxfonts) |
| 23701 |
\DeclareTextCommand{\textnsuccsim}{PU}{\9042\177\83\070}%* U+227F U+0338 |
| 23702 |
% U+2280 DOES NOT PRECEDE; notprecedes; \nprec (AmS) |
| 23703 |
\DeclareTextCommand{\textnprec}{PU}{\9042\200}%* U+2280 |
| 23704 |
% U+2281 DOES NOT SUCCEED; notsucceeds; \nsucc (AmS) |
| 23705 |
\DeclareTextCommand{\textnsucc}{PU}{\9042\201}%* U+2281 |
| 23706 |
% U+2282 SUBSET OF; propersubset; \subset (LaTeX) |
| 23707 |
\DeclareTextCommand{\textsubset}{PU}{\9042\202}%* U+2282 |
| 23708 |
% U+2283 SUPERSET OF; propersuperset; \supset (LaTeX) |
| 23709 |
\DeclareTextCommand{\textsupset}{PU}{\9042\203}%* U+2283 |
| 23710 |
% U+2284 NOT A SUBSET OF; notsubset; \nsubset (mathabx) |
| 23711 |
\DeclareTextCommand{\textnsubset}{PU}{\9042\204}%* U+2284 |
| 23712 |
% U+2285 NOT A SUPERSET OF; notsuperset; \nsupset (mathabx) |
| 23713 |
\DeclareTextCommand{\textnsupset}{PU}{\9042\205}%* U+2285 |
| 23714 |
% U+2286 SUBSET OF OR EQUAL TO; reflexsubset; \subseteq (LaTeX) |
| 23715 |
\DeclareTextCommand{\textsubseteq}{PU}{\9042\206}%* U+2286 |
| 23716 |
% U+2287 SUPERSET OF OR EQUAL TO; reflexsuperset; \supseteq (LaTeX) |
| 23717 |
\DeclareTextCommand{\textsupseteq}{PU}{\9042\207}%* U+2287 |
| 23718 |
% U+2288 NEITHER A SUBSET OF NOR EQUAL TO; \nsubseteq (AmS) |
| 23719 |
\DeclareTextCommand{\textnsubseteq}{PU}{\9042\210}%* U+2288 |
| 23720 |
% U+2289 NEITHER A SUPERSET OF NOR EQUAL TO; \nsupseteq (AmS) |
| 23721 |
\DeclareTextCommand{\textnsupseteq}{PU}{\9042\211}%* U+2289 |
| 23722 |
% U+228A SUBSET OF WITH NOT EQUAL TO; subsetnotequal; \subsetneq (AmS) |
| 23723 |
\DeclareTextCommand{\textsubsetneq}{PU}{\9042\212}%* U+228A |
| 23724 |
% U+228B SUPERSET OF WITH NOT EQUAL TO; supersetnotequal; \supsetneq (AmS) |
| 23725 |
\DeclareTextCommand{\textsupsetneq}{PU}{\9042\213}%* U+228B |
| 23726 |
% U+228D MULTISET MULTIPLICATION; \cupdot (MnSymbol) |
| 23727 |
\DeclareTextCommand{\textcupdot}{PU}{\9042\215}%* U+228D |
| 23728 |
% U+228E MULTISET UNION; \cupplus (MnSymbol) |
| 23729 |
\DeclareTextCommand{\textcupplus}{PU}{\9042\216}%* U+228E |
| 23730 |
% U+228F SQUARE IMAGE OF; \sqsubset (latexsym, ...) |
| 23731 |
\DeclareTextCommand{\textsqsubset}{PU}{\9042\217}%* U+228F |
| 23732 |
% \nsqsubset (txfonts/pxfonts) |
| 23733 |
\DeclareTextCommand{\textnsqsubset}{PU}{\9042\217\83\070}%* U+228F U+0338 |
| 23734 |
% U+2290 SQUARE ORIGINAL OF; \sqsupset (latexsym, ...) |
| 23735 |
\DeclareTextCommand{\textsqsupset}{PU}{\9042\220}%* U+2290 |
| 23736 |
% \nsqsupset (txfonts/pxfonts) |
| 23737 |
\DeclareTextCommand{\textnsqsupset}{PU}{\9042\220\83\070}%* U+2290 U+0338 |
| 23738 |
% U+2291 SQUARE IMAGE OF OR EQUAL TO; \sqsubseteq (LaTeX) |
| 23739 |
\DeclareTextCommand{\textsqsubseteq}{PU}{\9042\221}%* U+2291 |
| 23740 |
% \nsqsubseteq (txfonts/pxfonts) |
| 23741 |
\DeclareTextCommand{\textnsqsubseteq}{PU}{\9042\221\83\070}%* U+2291 U+0338 |
| 23742 |
% U+2292 SQUARE ORIGINAL OF OR EQUAL TO; \sqsupseteq (LaTeX) |
| 23743 |
\DeclareTextCommand{\textsqsupseteq}{PU}{\9042\222}%* U+2292 |
| 23744 |
% \nsqsupseteq (txfonts/pxfonts) |
| 23745 |
\DeclareTextCommand{\textnsqsupseteq}{PU}{\9042\222\83\070}%* U+2292 U+0338 |
| 23746 |
% U+2293 SQUARE CAP; \sqcap (LaTeX) |
| 23747 |
\DeclareTextCommand{\textsqcap}{PU}{\9042\223}%* U+2293 |
| 23748 |
% U+2294 SQUARE CUP; \sqcup (LaTeX) |
| 23749 |
\DeclareTextCommand{\textsqcup}{PU}{\9042\224}%* U+2294 |
| 23750 |
% U+2295 CIRCLED PLUS; circleplus; \oplus (LaTeX) |
| 23751 |
\DeclareTextCommand{\textoplus}{PU}{\9042\225}%* U+2295 |
| 23752 |
%* \textoplus -> \varoplus (stmaryrd) |
| 23753 |
% U+2296 CIRCLED MINUS; minuscircle; \ominus (LaTeX) |
| 23754 |
\DeclareTextCommand{\textominus}{PU}{\9042\226}%* U+2296 |
| 23755 |
%* \textominus -> \varominus (stmaryrd) |
| 23756 |
% U+2297 CIRCLED TIMES; circlemultiply; \otimes (LaTeX) |
| 23757 |
\DeclareTextCommand{\textotimes}{PU}{\9042\227}%* U+2297 |
| 23758 |
%* \textotimes -> \varotimes (stmaryrd) |
| 23759 |
% U+2298 CIRCLED DIVISION SLASH; \oslash (LaTeX) |
| 23760 |
\DeclareTextCommand{\textoslash}{PU}{\9042\230}%* U+2298 |
| 23761 |
%* \textoslash -> \varoslash (stmaryrd) |
| 23762 |
% U+2299 CIRCLED DOT OPERATOR; circle(d?)ot; \odot (LaTeX) |
| 23763 |
\DeclareTextCommand{\textodot}{PU}{\9042\231}%* U+2299 |
| 23764 |
%* \textodot -> \varodot (stmaryrd) |
| 23765 |
% U+229A CIRCLED RING OPERATOR; \circledcirc (AmS) |
| 23766 |
\DeclareTextCommand{\textcircledcirc}{PU}{\9042\232}%* U+229A |
| 23767 |
%* \textcircledcirc -> \ocirc (mathabx) |
| 23768 |
%* \textcircledcirc -> \varocircle (stmaryrd) |
| 23769 |
% U+229B CIRCLED ASTERISK OPERATOR; \circledast (AmS) |
| 23770 |
\DeclareTextCommand{\textcircledast}{PU}{\9042\233}%* U+229B |
| 23771 |
%* \textcircledast -> \varoast (stmaryrd) |
| 23772 |
%* \textcircledast -> \oasterisk (mathabx) |
| 23773 |
% U+229D CIRCLED DASH; \circleddash (AmS) |
| 23774 |
\DeclareTextCommand{\textcircleddash}{PU}{\9042\235}%* U+229D |
| 23775 |
% U+229E SQUARED PLUS; \boxplus (AmS) |
| 23776 |
\DeclareTextCommand{\textboxplus}{PU}{\9042\236}%* U+229E |
| 23777 |
% U+229F SQUARED MINUS; \boxminus (AmS) |
| 23778 |
\DeclareTextCommand{\textboxminus}{PU}{\9042\237}%* U+229F |
| 23779 |
% U+22A0 SQUARED TIMES; \boxtimes (AmS) |
| 23780 |
\DeclareTextCommand{\textboxtimes}{PU}{\9042\240}%* U+22A0 |
| 23781 |
% U+22A1 SQUARED DOT OPERATOR; \boxdot (AmS) |
| 23782 |
\DeclareTextCommand{\textboxdot}{PU}{\9042\241}%* U+22A1 |
| 23783 |
% U+22A2 RIGHT TACK; \vdash (LaTeX) |
| 23784 |
\DeclareTextCommand{\textvdash}{PU}{\9042\242}%* U+22A2 |
| 23785 |
%* \textvdash -> \rightvdash (MnSymbol) |
| 23786 |
% U+22A3 LEFT TACK; tackleft; \dashv (LaTeX) |
| 23787 |
\DeclareTextCommand{\textdashv}{PU}{\9042\243}%* U+22A3 |
| 23788 |
%* \textdashv -> \leftvdash (MnSymbol) |
| 23789 |
% \ndashv (mathabx) |
| 23790 |
\DeclareTextCommand{\textndashv}{PU}{\9042\243\83\070}%* U+22A3 U+0338 |
| 23791 |
%* \textndashv -> \nleftvdash (MnSymbol) |
| 23792 |
% U+22A4 DOWN TACK (=top); tackdown; \top (LaTeX) |
| 23793 |
\DeclareTextCommand{\texttop}{PU}{\9042\244}%* U+22A4 |
| 23794 |
%* \texttop -> \downvdash (MnSymbol) |
| 23795 |
% \ndownvdash (MnSymbol) |
| 23796 |
\DeclareTextCommand{\textndownvdash}{PU}{\9042\244\83\070}%* U+22A4 U+0338 |
| 23797 |
% U+22A5 UP TACK (=base, bottom); \bot (LaTeX) |
| 23798 |
\DeclareTextCommand{\textbot}{PU}{\9042\245}%* U+22A5 |
| 23799 |
%* \textbot -> \upvdash (MnSymbol) |
| 23800 |
% \nupvdash (MnSymbol) |
| 23801 |
\DeclareTextCommand{\textnupvdash}{PU}{\9042\245\83\070}%* U+22A5 U+0338 |
| 23802 |
%* \textnupvdash -> \nperp (MnSymbol) |
| 23803 |
% U+22A8 TRUE; \vDash (AmS) |
| 23804 |
\DeclareTextCommand{\textvDash}{PU}{\9042\250}%* U+22A8 |
| 23805 |
%* \textvDash -> \models (LaTeX) |
| 23806 |
%* \textvDash -> \rightmodels (MnSymbol) |
| 23807 |
% U+22A9 FORCES; \Vdash (AmS) |
| 23808 |
\DeclareTextCommand{\textVdash}{PU}{\9042\251}%* U+22A9 |
| 23809 |
%* \textVdash -> \rightVdash (MnSymbol) |
| 23810 |
% U+22AA TRIPLE VERTICAL BAR RIGHT TURNSTILE; \Vvdash (AmS) |
| 23811 |
\DeclareTextCommand{\textVvdash}{PU}{\9042\252}%* U+22AA |
| 23812 |
% \nVvash (mathabx) |
| 23813 |
\DeclareTextCommand{\textnVvash}{PU}{\9042\252\83\070}%* U+22AA U+0338 |
| 23814 |
% U+22AB DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE; |
| 23815 |
% \VDash (mathabx) |
| 23816 |
\DeclareTextCommand{\textVDash}{PU}{\9042\253}%* U+22AB |
| 23817 |
%* \textVDash -> \rightModels (MnSymbol) |
| 23818 |
% U+22AC DOES NOT PROVE; \nvdash (AmS) |
| 23819 |
\DeclareTextCommand{\textnvdash}{PU}{\9042\254}%* U+22AC |
| 23820 |
%* \textnvdash -> \nrightvdash (MnSymbol) |
| 23821 |
% U+22AD NOT TRUE; \nvDash (AmS) |
| 23822 |
\DeclareTextCommand{\textnvDash}{PU}{\9042\255}%* U+22AD |
| 23823 |
%* \textnvDash -> \nrightmodels (MnSymbol) |
| 23824 |
%* \textnvDash -> \nmodels (MnSymbol) |
| 23825 |
% U+22AE DOES NOT FORCE; \nVdash (txfonts/pxfonts) |
| 23826 |
\DeclareTextCommand{\textnVdash}{PU}{\9042\256}%* U+22AE |
| 23827 |
%* \textnVdash -> \nrightVdash (MnSymbol) |
| 23828 |
% U+22AF NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE; \nVDash (AmS) |
| 23829 |
\DeclareTextCommand{\textnVDash}{PU}{\9042\257}%* U+22AF |
| 23830 |
%* \textnVDash -> \nrightModels (MnSymbol) |
| 23831 |
% U+22B2 NORMAL SUBGROUP OF; \lhd (latexsym, ...) |
| 23832 |
\DeclareTextCommand{\textlhd}{PU}{\9042\262}%* U+22B2 |
| 23833 |
%* \textlhd -> \lessclosed (MnSymbol) |
| 23834 |
% U+22B3 CONTAINS AS NORMAL SUBGROUP; \rhd (latexsym, ...) |
| 23835 |
\DeclareTextCommand{\textrhd}{PU}{\9042\263}%* U+22B3 |
| 23836 |
%* \textrhd -> \gtrclosed (MnSymbol) |
| 23837 |
% U+22B4 NORMAL SUBGROUP OF OR EQUAL TO; \unlhd (latexsym, ...) |
| 23838 |
\DeclareTextCommand{\textunlhd}{PU}{\9042\264}%* U+22B4 |
| 23839 |
%* \textunlhd -> \leqclosed (MnSymbol) |
| 23840 |
%* \textunlhd -> \trianglelefteq (MnSymbol) |
| 23841 |
% U+22B5 CONTAINS AS NORMAL SUBGROUP OR EQUAL TO; \unrhd (latexsym, ...) |
| 23842 |
\DeclareTextCommand{\textunrhd}{PU}{\9042\265}%* U+22B5 |
| 23843 |
%* \textunrhd -> \geqclosed (MnSymbol) |
| 23844 |
%* \textunrhd -> \trianglerighteq (MnSymbol) |
| 23845 |
% U+22B6 ORIGINAL OF; \multimapdotbothA (txfonts/pxfonts) |
| 23846 |
\DeclareTextCommand{\textmultimapdotbothA}{PU}{\9042\266}%* U+22B6 |
| 23847 |
% U+22B7 IMAGE OF; \multimapdotbothB (txfonts/pxfonts) |
| 23848 |
\DeclareTextCommand{\textmultimapdotbothB}{PU}{\9042\267}%* U+22B7 |
| 23849 |
% U+22B8 MULTIMAP; \multimap (AmS, txfonts/pxfonts) |
| 23850 |
\DeclareTextCommand{\textmultimap}{PU}{\9042\270}%* U+22B8 |
| 23851 |
% U+22BB XOR; \veebar (AmS) |
| 23852 |
\DeclareTextCommand{\textveebar}{PU}{\9042\273}%* U+22BB |
| 23853 |
% U+22BC NAND; \barwedge (mathabx) |
| 23854 |
\DeclareTextCommand{\textbarwedge}{PU}{\9042\274}%* U+22BC |
| 23855 |
% U+22C6 STAR OPERATOR; \star (LaTeX) |
| 23856 |
\DeclareTextCommand{\textstar}{PU}{\9042\306}%* U+22C6 |
| 23857 |
% U+22C7 DIVISION TIMES; \divideontimes (AmS) |
| 23858 |
\DeclareTextCommand{\textdivideontimes}{PU}{\9042\307}%* U+22C7 |
| 23859 |
% U+22C8 BOWTIE; \bowtie (LaTeX) |
| 23860 |
\DeclareTextCommand{\textbowtie}{PU}{\9042\310}%* U+22C8 |
| 23861 |
%* \textbowtie -> \Bowtie (wasysym) |
| 23862 |
% U+22C9 LEFT NORMAL FACTOR SEMIDIRECT PRODUCT; \ltimes (AmS) |
| 23863 |
\DeclareTextCommand{\textltimes}{PU}{\9042\311}%* U+22C9 |
| 23864 |
% U+22CA RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT; |
| 23865 |
% \rtimes (AmS) |
| 23866 |
\DeclareTextCommand{\textrtimes}{PU}{\9042\312}%* U+22CA |
| 23867 |
% U+22CB LEFT SEMIDIRECT PRODUCT; \leftthreetimes (AmS) |
| 23868 |
\DeclareTextCommand{\textleftthreetimes}{PU}{\9042\313}%* U+22CB |
| 23869 |
% U+22CC RIGHT SEMIDIRECT PRODUCT; \rightthreetimes (AmS) |
| 23870 |
\DeclareTextCommand{\textrightthreetimes}{PU}{\9042\314}%* U+22CC |
| 23871 |
% U+22CD REVERSED TILDE EQUALS; \backsimeq (AmS) |
| 23872 |
\DeclareTextCommand{\textbacksimeq}{PU}{\9042\315}%* U+22CD |
| 23873 |
% \nbacksimeq (txfonts/pxfonts) |
| 23874 |
\DeclareTextCommand{\textnbacksimeq}{PU}{\9042\315\83\070}%* U+22CD U+0338 |
| 23875 |
% U+22CE CURLY LOGICAL OR; curlyor; \curlyvee (AmS) |
| 23876 |
\DeclareTextCommand{\textcurlyvee}{PU}{\9042\316}%* U+22CE |
| 23877 |
%* \textcurlyvee -> \varcurlyvee (stmaryrd) |
| 23878 |
% U+22CF CURLY LOGICAL AND; curlyand; \curlywedge (AmS) |
| 23879 |
\DeclareTextCommand{\textcurlywedge}{PU}{\9042\317}%* U+22CF |
| 23880 |
%* \textcurlywedge -> \varcurlywedge (stmaryrd) |
| 23881 |
% U+22D0 DOUBLE SUBSET; \Subset (AmS) |
| 23882 |
\DeclareTextCommand{\textSubset}{PU}{\9042\320}%* U+22D0 |
| 23883 |
% \nSubset (txfonts/pxfonts) |
| 23884 |
\DeclareTextCommand{\textnSubset}{PU}{\9042\320\83\070}%* U+22D0 U+0338 |
| 23885 |
% U+22D1 DOUBLE SUPERSET; \Supset (AmS) |
| 23886 |
\DeclareTextCommand{\textSupset}{PU}{\9042\321}%* U+22D1 |
| 23887 |
% \nSupset (txfonts/pxfonts) |
| 23888 |
\DeclareTextCommand{\textnSupset}{PU}{\9042\321\83\070}%* U+22D1 U+0338 |
| 23889 |
% U+22D2 DOUBLE INTERSECTION; \Cap (AmS) |
| 23890 |
\DeclareTextCommand{\textCap}{PU}{\9042\322}%* U+22D2 |
| 23891 |
%* \textCap -> \doublecap (mathabx) |
| 23892 |
% U+22D3 DOUBLE UNION; \Cup (AmS) |
| 23893 |
\DeclareTextCommand{\textCup}{PU}{\9042\323}%* U+22D3 |
| 23894 |
%* \textCup -> \doublecup (mathabx) |
| 23895 |
% U+22D4 PITCHFORK; \pitchfork (mathabx) |
| 23896 |
\DeclareTextCommand{\textpitchfork}{PU}{\9042\324}%* U+22D4 |
| 23897 |
% U+22D6 LESS-THAN WITH DOT; \lessdot (AmS) |
| 23898 |
\DeclareTextCommand{\textlessdot}{PU}{\9042\326}%* U+22D6 |
| 23899 |
% U+22D7 GREATER-THAN WITH DOT; \gtrdot (AmS) |
| 23900 |
\DeclareTextCommand{\textgtrdot}{PU}{\9042\327}%* U+22D7 |
| 23901 |
% U+22D8 VERY MUCH LESS-THAN; \lll (AmS) |
| 23902 |
\DeclareTextCommand{\textlll}{PU}{\9042\330}%* U+22D8 |
| 23903 |
% U+22D9 VERY MUCH GREATER-THAN; \ggg (AmS) |
| 23904 |
\DeclareTextCommand{\textggg}{PU}{\9042\331}%* U+22D9 |
| 23905 |
% U+22DA LESS-THAN EQUAL TO OR GREATER-THAN; lessequalorgreater; |
| 23906 |
% \lesseqgtr (AmS) |
| 23907 |
\DeclareTextCommand{\textlesseqgtr}{PU}{\9042\332}%* U+22DA |
| 23908 |
% U+22DB GREATER-THAN EQUAL TO OR LESS-THAN; greaterequalorless; |
| 23909 |
% \gtreqless (AmS) |
| 23910 |
\DeclareTextCommand{\textgtreqless}{PU}{\9042\333}%* U+22DB |
| 23911 |
% U+22DE EQUAL TO OR PRECEDES; \curlyeqprec (MnSymbol) |
| 23912 |
\DeclareTextCommand{\textcurlyeqprec}{PU}{\9042\336}%* U+22DE |
| 23913 |
% \ncurlyeqprec (mathabx) |
| 23914 |
\DeclareTextCommand{\textncurlyeqprec}{PU}{\9042\336\83\070}%* U+22DE U+0338 |
| 23915 |
% U+22DF EQUAL TO OR SUCCEEDS; \curlyeqsucc (MnSymbol) |
| 23916 |
\DeclareTextCommand{\textcurlyeqsucc}{PU}{\9042\337}%* U+22DF |
| 23917 |
% \ncurlyeqsucc (mathabx) |
| 23918 |
\DeclareTextCommand{\textncurlyeqsucc}{PU}{\9042\337\83\070}%* U+22DF U+0338 |
| 23919 |
% U+22E0 DOES NOT PRECEDE OR EQUAL; \npreccurlyeq (txfonts/pxfonts) |
| 23920 |
\DeclareTextCommand{\textnpreccurlyeq}{PU}{\9042\340}%* U+22E0 |
| 23921 |
% U+22E1 DOES NOT SUCCEED OR EQUAL; \nsucccurlyeq (txfonts/pxfonts) |
| 23922 |
\DeclareTextCommand{\textnsucccurlyeq}{PU}{\9042\341}%* U+22E1 |
| 23923 |
% U+22E2 NOT SQUARE IMAGE OF OR EQUAL TO; \nsqsubseteq (txfonts/pxfonts) |
| 23924 |
\DeclareTextCommand{\textnqsubseteq}{PU}{\9042\342}%* U+22E2 |
| 23925 |
% U+22E3 NOT SQUARE ORIGINAL OF OR EQUAL TO; \nsqsupseteq (txfonts/pxfonts) |
| 23926 |
\DeclareTextCommand{\textnqsupseteq}{PU}{\9042\343}%* U+22E3 |
| 23927 |
% U+22E4 SQUARE IMAGE OF OR NOT EQUAL TO; \sqsubsetneq (mathabx) |
| 23928 |
\DeclareTextCommand{\textsqsubsetneq}{PU}{\9042\344}%* U+22E4 |
| 23929 |
%* \textsqsubsetneq -> \varsqsubsetneq (mathabx) |
| 23930 |
% U+22E5 SQUARE ORIGINAL OF OR NOT EQUAL TO; \sqsupsetneq (mathabx) |
| 23931 |
\DeclareTextCommand{\textsqsupsetneq}{PU}{\9042\345}%* U+22E5 |
| 23932 |
%* \textsqsupsetneq -> \varsqsupsetneq (mathabx) |
| 23933 |
% U+22E6 LESS-THAN BUT NOT EQUIVALENT TO; \lnsim (AmS) |
| 23934 |
\DeclareTextCommand{\textlnsim}{PU}{\9042\346}%* U+22E6 |
| 23935 |
% U+22E7 GREATER-THAN BUT NOT EQUIVALENT TO; \gnsim (AmS) |
| 23936 |
\DeclareTextCommand{\textgnsim}{PU}{\9042\347}%* U+22E7 |
| 23937 |
% U+22E8 PRECEDES BUT NOT EQUIVALENT TO; \precnsim (AmS) |
| 23938 |
\DeclareTextCommand{\textprecnsim}{PU}{\9042\350}%* U+22E8 |
| 23939 |
% U+22E9 SUCCEEDS BUT NOT EQUIVALENT TO; \succnsim (AmS) |
| 23940 |
\DeclareTextCommand{\textsuccnsim}{PU}{\9042\351}%* U+22E9 |
| 23941 |
% U+22EA NOT NORMAL SUBGROUP OF; \ntriangleleft (AmS) |
| 23942 |
\DeclareTextCommand{\textntriangleleft}{PU}{\9042\352}%* U+22EA |
| 23943 |
%* \textntriangleleft -> \nlessclosed (MnSymbol) |
| 23944 |
% U+22EB DOES NOT CONTAIN AS NORMAL SUBGROUP; \ntriangleright (AmS) |
| 23945 |
\DeclareTextCommand{\textntriangleright}{PU}{\9042\353}%* U+22EB |
| 23946 |
%* \textntriangleright -> \ngtrclosed (MnSymbol) |
| 23947 |
% U+22EC NOT NORMAL SUBGROUP OF OR EQUAL TO; |
| 23948 |
% \ntrianglelefteq (AmS) |
| 23949 |
\DeclareTextCommand{\textntrianglelefteq}{PU}{\9042\354}%* U+22EC |
| 23950 |
% U+22ED DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL; |
| 23951 |
% \ntrianglerighteq (AmS) |
| 23952 |
\DeclareTextCommand{\textntrianglerighteq}{PU}{\9042\355}%* U+22ED |
| 23953 |
%* \textntrianglerighteq -> textngeqclosed |
| 23954 |
% U+22EE VERTICAL ELLIPSIS; ellipsisvertical; \vdots (LaTeX) |
| 23955 |
\DeclareTextCommand{\textvdots}{PU}{\9042\356}%* U+22EE |
| 23956 |
% U+22EF MIDLINE HORIZONTAL ELLIPSIS; \cdots (LaTeX) |
| 23957 |
\DeclareTextCommand{\textcdots}{PU}{\9042\357}%* U+22EF |
| 23958 |
% U+22F0 UP RIGHT DIAGONAL ELLIPSIS; \udots (MnSymbol) |
| 23959 |
\DeclareTextCommand{\textudots}{PU}{\9042\360}%* U+22F0 |
| 23960 |
% U+22F1 DOWN RIGHT DIAGONAL ELLIPSIS; \ddots (LaTeX) |
| 23961 |
\DeclareTextCommand{\textddots}{PU}{\9042\361}%* U+22F1 |
| 23962 |
% U+22F6 ELEMENT OF WITH OVERBAR; \barin (mathabx) |
| 23963 |
\DeclareTextCommand{\textbarin}{PU}{\9042\366}%* U+22F6 |
| 23964 |
% \end{macrocode} |
| 23965 |
% |
| 23966 |
% \subsubsection{Miscellaneous Technical: U+2300 to U+23FF} |
| 23967 |
% |
| 23968 |
% \begin{macrocode} |
| 23969 |
% U+2300 DIAMETER SIGN; \diameter (mathabx,wasysym) |
| 23970 |
\DeclareTextCommand{\textdiameter}{PU}{\9043\000}%* U+2300 |
| 23971 |
% U+2310 REVERSED NOT SIGN; \backneg (MnSymbol) |
| 23972 |
\DeclareTextCommand{\textbackneg}{PU}{\9043\020}%* U+2310 |
| 23973 |
% U+2311 SQUARE LOZENGE; \wasylozenge (wasysym) |
| 23974 |
\DeclareTextCommand{\textwasylozenge}{PU}{\9043\021}%* U+2311 |
| 23975 |
% U+2319 TURNED NOT SIGN; \invbackneg (MnSymbol) |
| 23976 |
\DeclareTextCommand{\textinvbackneg}{PU}{\9043\031}%* U+2319 |
| 23977 |
% U+231A WATCH; \clock (wasysym) |
| 23978 |
\DeclareTextCommand{\textclock}{PU}{\9043\032}%* U+231A |
| 23979 |
%* \textclock -> \Clocklogo (marvosym) |
| 23980 |
%* \textclock -> \ClockLogo (marvosym) |
| 23981 |
% U+231C TOP LEFT CORNER; \ulcorner (AmS) |
| 23982 |
\DeclareTextCommand{\textulcorner}{PU}{\9043\034}%* U+231C |
| 23983 |
% U+231D TOP RIGHT CORNER; \urcorner (AmS) |
| 23984 |
\DeclareTextCommand{\texturcorner}{PU}{\9043\035}%* U+231D |
| 23985 |
% U+231E BOTTOM LEFT CORNER; \llcorner (AmS) |
| 23986 |
\DeclareTextCommand{\textllcorner}{PU}{\9043\036}%* U+231E |
| 23987 |
% U+231F BOTTOM RIGHT CORNER; \lrcorner (AmS) |
| 23988 |
\DeclareTextCommand{\textlrcorner}{PU}{\9043\037}%* U+231F |
| 23989 |
% U+2322 FROWN; \frown (LaTeX) |
| 23990 |
\DeclareTextCommand{\textfrown}{PU}{\9043\042}%* U+2322 |
| 23991 |
% U+2323 SMILE; \smile (LaTeX) |
| 23992 |
\DeclareTextCommand{\textsmile}{PU}{\9043\043}%* U+2323 |
| 23993 |
% U+2328 KEYBOARD; \Keyboard (marvosym) |
| 23994 |
\DeclareTextCommand{\textKeyboard}{PU}{\9043\050}%* U+2328 |
| 23995 |
% U+2329 LEFT-POINTING ANGLE BRACKET; angleleft; \langle (LaTeX) |
| 23996 |
\DeclareTextCommand{\textlangle}{PU}{\9043\051}%* U+2329 |
| 23997 |
% U+232A RIGHT-POINTING ANGLE BRACKET; angleright; \rangle (LaTeX) |
| 23998 |
\DeclareTextCommand{\textrangle}{PU}{\9043\052}%* U+232A |
| 23999 |
% U+2339 APL FUNCTIONAL SYMBOL QUAD DIVIDE; \APLinv (wasysym) |
| 24000 |
\DeclareTextCommand{\textAPLinv}{PU}{\9043\071}%* U+2339 |
| 24001 |
% U+233C APL FUNCTIONAL SYMBOL QUAD CIRCLE; \Tumbler (marvosym) |
| 24002 |
\DeclareTextCommand{\textTumbler}{PU}{\9043\074}%* U+233C |
| 24003 |
% U+233D APL FUNCTIONAL SYMBOL CIRCLE STILE; \baro (stmaryrd) |
| 24004 |
\DeclareTextCommand{\textstmaryrdbaro}{PU}{\9043\075}% U+233D |
| 24005 |
%* \textstmaryrdbaro -> \baro (stmaryrd) |
| 24006 |
% U+233F APL FUNCTIONAL SYMBOL SLASH BAR; \notslash (wasysym) |
| 24007 |
\DeclareTextCommand{\textnotslash}{PU}{\9043\077}%* U+233F |
| 24008 |
% U+2340 APL FUNCTIONAL SYMBOL BACKSLASH BAR; |
| 24009 |
% \notbackslash (wasysym) |
| 24010 |
\DeclareTextCommand{\textnotbackslash}{PU}{\9043\100}%* U+2340 |
| 24011 |
% U+2342 APL FUNCTIONAL SYMBOL QUAD BACKSLASH; \boxbackslash (mathabx) |
| 24012 |
\DeclareTextCommand{\textboxbackslash}{PU}{\9043\102}%* U+2342 |
| 24013 |
% U+2347 APL FUNCTIONAL SYMBOL QUAD LEFTWARDS ARROW; |
| 24014 |
% \APLleftarrowbox (wasysym) |
| 24015 |
\DeclareTextCommand{\textAPLleftarrowbox}{PU}{\9043\107}%* U+2347 |
| 24016 |
% U+2348 APL FUNCTIONAL SYMBOL QUAD RIGHTWARDS ARROW; |
| 24017 |
% \APLrightarrowbox (wasysym) |
| 24018 |
\DeclareTextCommand{\textAPLrightarrowbox}{PU}{\9043\110}%* U+2348 |
| 24019 |
% U+2350 APL FUNCTIONAL SYMBOL QUAD UPWARDS ARROW; \APLuparrowbox (wasysym) |
| 24020 |
\DeclareTextCommand{\textAPLuparrowbox}{PU}{\9043\120}%* U+2350 |
| 24021 |
% U+2357 APL FUNCTIONAL SYMBOL QUAD DOWNWARDS ARROW; |
| 24022 |
% \APLdownarrowbox (wasysym) |
| 24023 |
\DeclareTextCommand{\textAPLdownarrowbox}{PU}{\9043\127}%* U+2357 |
| 24024 |
% U+235E APL FUNCTIONAL SYMBOL QUOTE QUAD; |
| 24025 |
% \APLinput (wasysym) |
| 24026 |
\DeclareTextCommand{\textAPLinput}{PU}{\9043\136}%* U+235E |
| 24027 |
% U+2370 APL FUNCTIONAL SYMBOL QUAD QUESTION; \Request (china2e) |
| 24028 |
\DeclareTextCommand{\textRequest}{PU}{\9043\160}%* U+2370 |
| 24029 |
% U+2393 DIRECT CURRENT SYMBOL FORM TWO; \Beam (marvosym) |
| 24030 |
\DeclareTextCommand{\textBeam}{PU}{\9043\223}%* U+2393 |
| 24031 |
% U+2394 SOFTWARE-FUNCTION SYMBOL; \hexagon (wasysym) |
| 24032 |
\DeclareTextCommand{\texthexagon}{PU}{\9043\224}%* U+2394 |
| 24033 |
% U+2395 APL FUNCTIONAL SYMBOL QUAD; \APLbox (wasysym) |
| 24034 |
\DeclareTextCommand{\textAPLbox}{PU}{\9043\225}%* U+2395 |
| 24035 |
% U+23ED BLACK RIGHT-POINTING DOUBLE TRIANGLE WITH VERTICAL BAR; |
| 24036 |
% \ForwardToIndex (marvosym) |
| 24037 |
\DeclareTextCommand{\textForwardToIndex}{PU}{\9043\355}%* U+23ED |
| 24038 |
% U+23EE BLACK LEFT-POINTING DOUBLE TRIANGLE WITH VERTICAL BAR; |
| 24039 |
% \RewindToIndex (marvosym) |
| 24040 |
\DeclareTextCommand{\textRewindToIndex}{PU}{\9043\356}%* U+23EE |
| 24041 |
% \end{macrocode} |
| 24042 |
% |
| 24043 |
% \subsubsection{Control Pictures: U+2400 to U+243F} |
| 24044 |
% |
| 24045 |
% \begin{macrocode} |
| 24046 |
% U+2422 BLANK SYMBOL |
| 24047 |
\DeclareTextCommand{\textblank}{PU}{\9044\042}% U+2422 |
| 24048 |
% U+2423 OPEN BOX; blank |
| 24049 |
\DeclareTextCommand{\textvisiblespace}{PU}{\9044\043}% U+2423 |
| 24050 |
% \end{macrocode} |
| 24051 |
% |
| 24052 |
% \subsubsection{Optical Character Recognition: U+2440 to U+245F} |
| 24053 |
% |
| 24054 |
% \begin{macrocode} |
| 24055 |
% U+244A OCR DOUBLE BACKSLASH; \bbslash (stmaryrd) |
| 24056 |
\DeclareTextCommand{\textbbslash}{PU}{\9044\112}%* U+244A |
| 24057 |
%* \textbbslash -> \varparallelinv (txfonts/pxfonts) |
| 24058 |
% \end{macrocode} |
| 24059 |
% |
| 24060 |
% \subsubsection{Enclosed Alphanumerics: U+2460 to U+24FF} |
| 24061 |
% |
| 24062 |
% \begin{macrocode} |
| 24063 |
% U+2460 CIRCLED DIGIT ONE; onecircle |
| 24064 |
\DeclareTextCompositeCommand{\textcircled}{PU}{1}{\9044\140}% U+2460 |
| 24065 |
% U+2461 CIRCLED DIGIT TWO; twocircle |
| 24066 |
\DeclareTextCompositeCommand{\textcircled}{PU}{2}{\9044\141}% U+2461 |
| 24067 |
% U+2462 CIRCLED DIGIT THREE; threecircle |
| 24068 |
\DeclareTextCompositeCommand{\textcircled}{PU}{3}{\9044\142}% U+2462 |
| 24069 |
% U+2463 CIRCLED DIGIT FOUR; fourcircle |
| 24070 |
\DeclareTextCompositeCommand{\textcircled}{PU}{4}{\9044\143}% U+2463 |
| 24071 |
% U+2464 CIRCLED DIGIT FIVE; fivecircle |
| 24072 |
\DeclareTextCompositeCommand{\textcircled}{PU}{5}{\9044\144}% U+2464 |
| 24073 |
% U+2465 CIRCLED DIGIT SIX; sixcircle |
| 24074 |
\DeclareTextCompositeCommand{\textcircled}{PU}{6}{\9044\145}% U+2465 |
| 24075 |
% U+2466 CIRCLED DIGIT SEVEN; sevencircle |
| 24076 |
\DeclareTextCompositeCommand{\textcircled}{PU}{7}{\9044\146}% U+2466 |
| 24077 |
% U+2467 CIRCLED DIGIT EIGHT; eightcircle |
| 24078 |
\DeclareTextCompositeCommand{\textcircled}{PU}{8}{\9044\147}% U+2467 |
| 24079 |
% U+2468 CIRCLED DIGIT NINE; ninecircle |
| 24080 |
\DeclareTextCompositeCommand{\textcircled}{PU}{9}{\9044\150}% U+2468 |
| 24081 |
% U+2469 CIRCLED NUMBER TEN; tencircle |
| 24082 |
\DeclareTextCompositeCommand{\textcircled}{PU}{10}{\9044\151}% U+2469 |
| 24083 |
% U+246A CIRCLED NUMBER ELEVEN; elevencircle |
| 24084 |
\DeclareTextCompositeCommand{\textcircled}{PU}{11}{\9044\152}% U+246A |
| 24085 |
% U+246B CIRCLED NUMBER TWELVE; twelvecircle |
| 24086 |
\DeclareTextCompositeCommand{\textcircled}{PU}{12}{\9044\153}% U+246B |
| 24087 |
% U+246C CIRCLED NUMBER THIRTEEN; thirteencircle |
| 24088 |
\DeclareTextCompositeCommand{\textcircled}{PU}{13}{\9044\154}% U+246C |
| 24089 |
% U+246D CIRCLED NUMBER FOURTEEN; fourteencircle |
| 24090 |
\DeclareTextCompositeCommand{\textcircled}{PU}{14}{\9044\155}% U+246D |
| 24091 |
% U+246E CIRCLED NUMBER FIFTEEN; fifteencircle |
| 24092 |
\DeclareTextCompositeCommand{\textcircled}{PU}{15}{\9044\156}% U+246E |
| 24093 |
% U+246F CIRCLED NUMBER SIXTEEN; sixteencircle |
| 24094 |
\DeclareTextCompositeCommand{\textcircled}{PU}{16}{\9044\157}% U+246F |
| 24095 |
% U+2470 CIRCLED NUMBER SEVENTEEN; seventeencircle |
| 24096 |
\DeclareTextCompositeCommand{\textcircled}{PU}{17}{\9044\160}% U+2470 |
| 24097 |
% U+2471 CIRCLED NUMBER EIGHTEEN; eighteencircle |
| 24098 |
\DeclareTextCompositeCommand{\textcircled}{PU}{18}{\9044\161}% U+2471 |
| 24099 |
% U+2472 CIRCLED NUMBER NINETEEN; nineteencircle |
| 24100 |
\DeclareTextCompositeCommand{\textcircled}{PU}{19}{\9044\162}% U+2472 |
| 24101 |
% U+2473 CIRCLED NUMBER TWENTY; twentycircle |
| 24102 |
\DeclareTextCompositeCommand{\textcircled}{PU}{20}{\9044\163}% U+2473 |
| 24103 |
% U+24B6 CIRCLED LATIN CAPITAL LETTER A; Acircle |
| 24104 |
\DeclareTextCompositeCommand{\textcircled}{PU}{A}{\9044\266}% U+24B6 |
| 24105 |
% \CircledA (marvosym) |
| 24106 |
\DeclareTextCommand{\textCircledA}{PU}{\9044\266}%* U+24B6 |
| 24107 |
%* \textCircledA -> \CleaningA |
| 24108 |
% U+24B7 CIRCLED LATIN CAPITAL LETTER B; Bcircle |
| 24109 |
\DeclareTextCompositeCommand{\textcircled}{PU}{B}{\9044\267}% U+24B7 |
| 24110 |
% U+24B8 CIRCLED LATIN CAPITAL LETTER C; Ccircle |
| 24111 |
\DeclareTextCompositeCommand{\textcircled}{PU}{C}{\9044\270}% U+24B8 |
| 24112 |
% U+24B9 CIRCLED LATIN CAPITAL LETTER D; Dcircle |
| 24113 |
\DeclareTextCompositeCommand{\textcircled}{PU}{D}{\9044\271}% U+24B9 |
| 24114 |
% U+24BA CIRCLED LATIN CAPITAL LETTER E; Ecircle |
| 24115 |
\DeclareTextCompositeCommand{\textcircled}{PU}{E}{\9044\272}% U+24BA |
| 24116 |
% U+24BB CIRCLED LATIN CAPITAL LETTER F; Fcircle |
| 24117 |
\DeclareTextCompositeCommand{\textcircled}{PU}{F}{\9044\273}% U+24BB |
| 24118 |
% \CleaningF (marvosym) |
| 24119 |
\DeclareTextCommand{\textCleaningF}{PU}{\9044\273}%* U+24BB |
| 24120 |
% \CleaningFF (marvosym) |
| 24121 |
\DeclareTextCommand{\textCleaningFF}{PU}{\9044\273\83\062}%* U+24BB U+0332 |
| 24122 |
% U+24BC CIRCLED LATIN CAPITAL LETTER G; Gcircle |
| 24123 |
\DeclareTextCompositeCommand{\textcircled}{PU}{G}{\9044\274}% U+24BC |
| 24124 |
% U+24BD CIRCLED LATIN CAPITAL LETTER H; Hcircle |
| 24125 |
\DeclareTextCompositeCommand{\textcircled}{PU}{H}{\9044\275}% U+24BD |
| 24126 |
% U+24BE CIRCLED LATIN CAPITAL LETTER I; Icircle |
| 24127 |
\DeclareTextCompositeCommand{\textcircled}{PU}{I}{\9044\276}% U+24BE |
| 24128 |
% U+24BF CIRCLED LATIN CAPITAL LETTER J; Jcircle |
| 24129 |
\DeclareTextCompositeCommand{\textcircled}{PU}{J}{\9044\277}% U+24BF |
| 24130 |
% U+24C0 CIRCLED LATIN CAPITAL LETTER K; Kcircle |
| 24131 |
\DeclareTextCompositeCommand{\textcircled}{PU}{K}{\9044\300}% U+24C0 |
| 24132 |
% U+24C1 CIRCLED LATIN CAPITAL LETTER L; Lcircle |
| 24133 |
\DeclareTextCompositeCommand{\textcircled}{PU}{L}{\9044\301}% U+24C1 |
| 24134 |
% U+24C2 CIRCLED LATIN CAPITAL LETTER M; Mcircle |
| 24135 |
\DeclareTextCompositeCommand{\textcircled}{PU}{M}{\9044\302}% U+24C2 |
| 24136 |
% U+24C3 CIRCLED LATIN CAPITAL LETTER N; Ncircle |
| 24137 |
\DeclareTextCompositeCommand{\textcircled}{PU}{N}{\9044\303}% U+24C3 |
| 24138 |
% U+24C4 CIRCLED LATIN CAPITAL LETTER O; Ocircle |
| 24139 |
\DeclareTextCompositeCommand{\textcircled}{PU}{O}{\9044\304}% U+24C4 |
| 24140 |
% U+24C5 CIRCLED LATIN CAPITAL LETTER P; Pcircle |
| 24141 |
\DeclareTextCompositeCommand{\textcircled}{PU}{P}{\9044\305}% U+24C5 |
| 24142 |
% \CleaningP (marvosym) |
| 24143 |
\DeclareTextCommand{\textCleaningP}{PU}{\9044\305}%* U+24C5 |
| 24144 |
% \CleaningPP (marvosym) |
| 24145 |
\DeclareTextCommand{\textCleaningPP}{PU}{\9044\305\83\062}%* U+24C5 U+0332 |
| 24146 |
% U+24C6 CIRCLED LATIN CAPITAL LETTER Q; Qcircle |
| 24147 |
\DeclareTextCompositeCommand{\textcircled}{PU}{Q}{\9044\306}% U+24C6 |
| 24148 |
% U+24C7 CIRCLED LATIN CAPITAL LETTER R; Rcircle |
| 24149 |
\DeclareTextCompositeCommand{\textcircled}{PU}{R}{\9044\307}% U+24C7 |
| 24150 |
% U+24C8 CIRCLED LATIN CAPITAL LETTER S; Scircle |
| 24151 |
\DeclareTextCompositeCommand{\textcircled}{PU}{S}{\9044\310}% U+24C8 |
| 24152 |
% U+24C9 CIRCLED LATIN CAPITAL LETTER T; Tcircle |
| 24153 |
\DeclareTextCompositeCommand{\textcircled}{PU}{T}{\9044\311}% U+24C9 |
| 24154 |
% U+24CA CIRCLED LATIN CAPITAL LETTER U; Ucircle |
| 24155 |
\DeclareTextCompositeCommand{\textcircled}{PU}{U}{\9044\312}% U+24CA |
| 24156 |
% U+24CB CIRCLED LATIN CAPITAL LETTER V; Vcircle |
| 24157 |
\DeclareTextCompositeCommand{\textcircled}{PU}{V}{\9044\313}% U+24CB |
| 24158 |
% U+24CC CIRCLED LATIN CAPITAL LETTER W; Wcircle |
| 24159 |
\DeclareTextCompositeCommand{\textcircled}{PU}{W}{\9044\314}% U+24CC |
| 24160 |
% U+24CD CIRCLED LATIN CAPITAL LETTER X; Xcircle |
| 24161 |
\DeclareTextCompositeCommand{\textcircled}{PU}{X}{\9044\315}% U+24CD |
| 24162 |
% U+24CE CIRCLED LATIN CAPITAL LETTER Y; Ycircle |
| 24163 |
\DeclareTextCompositeCommand{\textcircled}{PU}{Y}{\9044\316}% U+24CE |
| 24164 |
% U+24CF CIRCLED LATIN CAPITAL LETTER Z; Zcircle |
| 24165 |
\DeclareTextCompositeCommand{\textcircled}{PU}{Z}{\9044\317}% U+24CF |
| 24166 |
% U+24D0 CIRCLED LATIN SMALL LETTER A; acircle |
| 24167 |
\DeclareTextCompositeCommand{\textcircled}{PU}{a}{\9044\320}% U+24D0 |
| 24168 |
% U+24D1 CIRCLED LATIN SMALL LETTER B; bcircle |
| 24169 |
\DeclareTextCompositeCommand{\textcircled}{PU}{b}{\9044\321}% U+24D1 |
| 24170 |
% U+24D2 CIRCLED LATIN SMALL LETTER C; ccircle |
| 24171 |
\DeclareTextCompositeCommand{\textcircled}{PU}{c}{\9044\322}% U+24D2 |
| 24172 |
% U+24D3 CIRCLED LATIN SMALL LETTER D; dcircle |
| 24173 |
\DeclareTextCompositeCommand{\textcircled}{PU}{d}{\9044\323}% U+24D3 |
| 24174 |
% U+24D4 CIRCLED LATIN SMALL LETTER E; ecircle |
| 24175 |
\DeclareTextCompositeCommand{\textcircled}{PU}{e}{\9044\324}% U+24D4 |
| 24176 |
% U+24D5 CIRCLED LATIN SMALL LETTER F; fcircle |
| 24177 |
\DeclareTextCompositeCommand{\textcircled}{PU}{f}{\9044\325}% U+24D5 |
| 24178 |
% U+24D6 CIRCLED LATIN SMALL LETTER G; gcircle |
| 24179 |
\DeclareTextCompositeCommand{\textcircled}{PU}{g}{\9044\326}% U+24D6 |
| 24180 |
% U+24D7 CIRCLED LATIN SMALL LETTER H; hcircle |
| 24181 |
\DeclareTextCompositeCommand{\textcircled}{PU}{h}{\9044\327}% U+24D7 |
| 24182 |
% U+24D8 CIRCLED LATIN SMALL LETTER I; icircle |
| 24183 |
\DeclareTextCompositeCommand{\textcircled}{PU}{i}{\9044\330}% U+24D8 |
| 24184 |
% U+24D9 CIRCLED LATIN SMALL LETTER J; jcircle |
| 24185 |
\DeclareTextCompositeCommand{\textcircled}{PU}{j}{\9044\331}% U+24D9 |
| 24186 |
% U+24DA CIRCLED LATIN SMALL LETTER K; kcircle |
| 24187 |
\DeclareTextCompositeCommand{\textcircled}{PU}{k}{\9044\332}% U+24DA |
| 24188 |
% U+24DB CIRCLED LATIN SMALL LETTER L; lcircle |
| 24189 |
\DeclareTextCompositeCommand{\textcircled}{PU}{l}{\9044\333}% U+24DB |
| 24190 |
% U+24DC CIRCLED LATIN SMALL LETTER M; mcircle |
| 24191 |
\DeclareTextCompositeCommand{\textcircled}{PU}{m}{\9044\334}% U+24DC |
| 24192 |
% U+24DD CIRCLED LATIN SMALL LETTER N; ncircle |
| 24193 |
\DeclareTextCompositeCommand{\textcircled}{PU}{n}{\9044\335}% U+24DD |
| 24194 |
% U+24DE CIRCLED LATIN SMALL LETTER O; ocircle |
| 24195 |
\DeclareTextCompositeCommand{\textcircled}{PU}{o}{\9044\336}% U+24DE |
| 24196 |
% U+24DF CIRCLED LATIN SMALL LETTER P; pcircle |
| 24197 |
\DeclareTextCompositeCommand{\textcircled}{PU}{p}{\9044\337}% U+24DF |
| 24198 |
% U+24E0 CIRCLED LATIN SMALL LETTER Q; qcircle |
| 24199 |
\DeclareTextCompositeCommand{\textcircled}{PU}{q}{\9044\340}% U+24E0 |
| 24200 |
% U+24E1 CIRCLED LATIN SMALL LETTER R; rcircle |
| 24201 |
\DeclareTextCompositeCommand{\textcircled}{PU}{r}{\9044\341}% U+24E1 |
| 24202 |
% U+24E2 CIRCLED LATIN SMALL LETTER S; scircle |
| 24203 |
\DeclareTextCompositeCommand{\textcircled}{PU}{s}{\9044\342}% U+24E2 |
| 24204 |
% U+24E3 CIRCLED LATIN SMALL LETTER T; tcircle |
| 24205 |
\DeclareTextCompositeCommand{\textcircled}{PU}{t}{\9044\343}% U+24E3 |
| 24206 |
% U+24E4 CIRCLED LATIN SMALL LETTER U; ucircle |
| 24207 |
\DeclareTextCompositeCommand{\textcircled}{PU}{u}{\9044\344}% U+24E4 |
| 24208 |
% U+24E5 CIRCLED LATIN SMALL LETTER V; vcircle |
| 24209 |
\DeclareTextCompositeCommand{\textcircled}{PU}{v}{\9044\345}% U+24E5 |
| 24210 |
% U+24E6 CIRCLED LATIN SMALL LETTER W; wcircle |
| 24211 |
\DeclareTextCompositeCommand{\textcircled}{PU}{w}{\9044\346}% U+24E6 |
| 24212 |
% U+24E7 CIRCLED LATIN SMALL LETTER X; xcircle |
| 24213 |
\DeclareTextCompositeCommand{\textcircled}{PU}{x}{\9044\347}% U+24E7 |
| 24214 |
% U+24E8 CIRCLED LATIN SMALL LETTER Y; ycircle |
| 24215 |
\DeclareTextCompositeCommand{\textcircled}{PU}{y}{\9044\350}% U+24E8 |
| 24216 |
% U+24E9 CIRCLED LATIN SMALL LETTER Z; zcircle |
| 24217 |
\DeclareTextCompositeCommand{\textcircled}{PU}{z}{\9044\351}% U+24E9 |
| 24218 |
% U+24EA CIRCLED DIGIT ZERO |
| 24219 |
\DeclareTextCompositeCommand{\textcircled}{PU}{0}{\9044\352}% U+24EA |
| 24220 |
% \end{macrocode} |
| 24221 |
% |
| 24222 |
% \subsubsection{Box Drawing: U+2500 to 257F} |
| 24223 |
% |
| 24224 |
% \begin{macrocode} |
| 24225 |
% U+2504 BOX DRAWINGS LIGHT TRIPLE DASH HORIZONTAL; \CuttingLine (marvosym) |
| 24226 |
\DeclareTextCommand{\textCuttingLine}{PU}{\9045\004}%* U+2504 |
| 24227 |
%* \textCuttingLine -> \Kutline (marvosym) |
| 24228 |
%* \textCuttingLine -> \CutLine (marvosym) |
| 24229 |
%* \textCuttingLine -> \Cutline (marvosym) |
| 24230 |
% \end{macrocode} |
| 24231 |
% |
| 24232 |
% \subsubsection{Geometric Shapes: U+25A0 to U+25FF} |
| 24233 |
% |
| 24234 |
% \begin{macrocode} |
| 24235 |
% U+25B2 BLACK UP-POINTING TRIANGLE; \UParrow (wasysym) |
| 24236 |
\DeclareTextCommand{\textUParrow}{PU}{\9045\262}%* U+25B2 |
| 24237 |
%* \textUParrow -> \MoveUp (marvosym) |
| 24238 |
% U+25B3 WHITE UP-POINTING TRIANGLE; whiteuppointingtriangle; |
| 24239 |
% \bigtriangleup (LaTeX) |
| 24240 |
\DeclareTextCommand{\textbigtriangleup}{PU}{\9045\263}%* U+25B3 |
| 24241 |
%* \textbigtriangleup -> \APLup (wasysym) |
| 24242 |
%* \textbigtriangleup -> \Bleech (marvosym) |
| 24243 |
% U+25B6 BLACK RIGHT-POINTING TRIANGLE; \Forward (marvosym) |
| 24244 |
\DeclareTextCommand{\textForward}{PU}{\9045\266}%* U+25B6 |
| 24245 |
% U+25B7 WHITE RIGHT-POINTING TRIANGLE (= z notation range restriction); |
| 24246 |
% whiterightpointingtriangle; \triangleright (LaTeX) |
| 24247 |
\DeclareTextCommand{\texttriangleright}{PU}{\9045\267}%* U+25B7 |
| 24248 |
% U+25BA BLACK RIGHT-POINTING POINTER; \RHD (wasysym) |
| 24249 |
\DeclareTextCommand{\textRHD}{PU}{\9045\272}%* U+25BA |
| 24250 |
% U+25BC BLACK DOWN-POINTING TRIANGLE; \DOWNarrow (wasysym) |
| 24251 |
\DeclareTextCommand{\textDOWNarrow}{PU}{\9045\274}%* U+25BC |
| 24252 |
%* \textDOWNarrow -> \MoveDown (marvosym) |
| 24253 |
% U+25BD WHITE DOWN-POINTING TRIANGLE; whitedownpointingtriangle; |
| 24254 |
% \bigtriangledown (LaTeX) |
| 24255 |
\DeclareTextCommand{\textbigtriangledown}{PU}{\9045\275}%* U+25BD |
| 24256 |
%* \textbigtriangledown -> \APLdown (wasysym) |
| 24257 |
% U+25C0 BLACK LEFT-POINTING TRIANGLE; \Rewind (marvosym) |
| 24258 |
\DeclareTextCommand{\textRewind}{PU}{\9045\300}%* U+25C0 |
| 24259 |
% U+25C1 WHITE RIGHT-POINTING TRIANGLE (= z notation domain restriction); |
| 24260 |
% whiteleftpointingtriangle; \triangleleft (LaTeX) |
| 24261 |
\DeclareTextCommand{\texttriangleleft}{PU}{\9045\301}%* U+25C1 |
| 24262 |
% U+25C4 BLACK LEFT-POINTING POINTER; \LHD (wasysym) |
| 24263 |
\DeclareTextCommand{\textLHD}{PU}{\9045\304}%* U+25C4 |
| 24264 |
% U+25C7 WHITE DIAMOND; whitediamond; \diamond (LaTeX) |
| 24265 |
\DeclareTextCommand{\textdiamond}{PU}{\9045\307}%* U+25C7 |
| 24266 |
%* \textdiamond -> \Diamond (wasysym) |
| 24267 |
% U+25CA LOZENGE; lozenge; \lozenge (AmS) |
| 24268 |
\DeclareTextCommand{\textlozenge}{PU}{\9045\312}%* U+25CA |
| 24269 |
% U+25D6 LEFT HALF BLACK CIRCLE; \LEFTCIRCLE (wasysym) |
| 24270 |
\DeclareTextCommand{\textLEFTCIRCLE}{PU}{\9045\326}%* U+25D6 |
| 24271 |
% U+25D7 RIGHT HALF BLACK CIRCLE; \RIGHTCIRCLE (wasysym) |
| 24272 |
\DeclareTextCommand{\textRIGHTCIRCLE}{PU}{\9045\327}%* U+25D7 |
| 24273 |
% U+25E6 WHITE BULLET; *openbullet, whitebullet |
| 24274 |
\DeclareTextCommand{\textopenbullet}{PU}{\9045\346}%* U+25E6 |
| 24275 |
% U+25EB WHITE SQUARE WITH VERTICAL BISECTING LINE; |
| 24276 |
% \boxbar (stmaryrd) |
| 24277 |
\DeclareTextCommand{\textboxbar}{PU}{\9045\353}%* U+25EB |
| 24278 |
% U+25EF LARGE CIRCLE; largecircle |
| 24279 |
\DeclareTextCommand{\textbigcircle}{PU}{\9045\357}%* U+25EF |
| 24280 |
%* \textbigcircle -> \varbigcirc (stmaryrd) |
| 24281 |
% |
| 24282 |
% \end{macrocode} |
| 24283 |
% |
| 24284 |
% \subsubsection{Miscellaneous Symbols: U+2600 to U+26FF} |
| 24285 |
% |
| 24286 |
% \begin{macrocode} |
| 24287 |
% U+2601 CLOUD; \Cloud (ifsym) |
| 24288 |
\DeclareTextCommand{\textCloud}{PU}{\9046\001}%* U+2601 |
| 24289 |
% U+2605 BLACK STAR; \FiveStar (bbding) |
| 24290 |
\DeclareTextCommand{\textFiveStar}{PU}{\9046\005}%* U+2605 |
| 24291 |
% U+2606 WHITE STAR; \FiveStarOpen (bbding) |
| 24292 |
\DeclareTextCommand{\textFiveStarOpen}{PU}{\9046\006}%* U+2606 |
| 24293 |
% U+260E BLACK TELEPHONE; telephoneblack; \Phone (bbding) |
| 24294 |
\DeclareTextCommand{\textPhone}{PU}{\9046\016}%* U+260E |
| 24295 |
%* \textPhone -> \Telefon (marvosym) |
| 24296 |
% U+2610 BALLOT BOX; \boxempty (stmaryrd) |
| 24297 |
\DeclareTextCommand{\textboxempty}{PU}{\9046\020}%* U+2610 |
| 24298 |
%* \textboxempty -> \Box (wasysym) |
| 24299 |
% U+2611 BALLOT BOX WITH CHECK; \Checkedbox (marvosym) |
| 24300 |
\DeclareTextCommand{\textCheckedbox}{PU}{\9046\021}%* U+2611 |
| 24301 |
%* \textCheckedbox -> \CheckedBox (marvosym) |
| 24302 |
% U+2612 BALLOT BOX WITH X; \Crossedbox (marvosym) |
| 24303 |
\DeclareTextCommand{\textCrossedbox}{PU}{\9046\022}%* U+2612 |
| 24304 |
%* \textCrossedbox -> \XBox (wasysym) |
| 24305 |
%* \textCrossedbox -> \CrossedBox (marvosym) |
| 24306 |
% U+2615 HOT BEVERAGE; \Coffeecup (marvosym) |
| 24307 |
\DeclareTextCommand{\textCoffeecup}{PU}{\9046\025}%* U+2615 |
| 24308 |
% U+261A BLACK LEFT POINTING INDEX; \HandCuffLeft (bbding) |
| 24309 |
\DeclareTextCommand{\textHandCuffLeft}{PU}{\9046\032}%* U+261A |
| 24310 |
% U+261B BLACK RIGHT POINTING INDEX; \HandCuffRight (bbding) |
| 24311 |
\DeclareTextCommand{\textHandCuffRight}{PU}{\9046\033}%* U+261B |
| 24312 |
% U+261C WHITE LEFT POINTING INDEX; \HandLeft (bbding) |
| 24313 |
\DeclareTextCommand{\textHandLeft}{PU}{\9046\034}%* U+261C |
| 24314 |
%* \textHandLeft -> \rightpointleft (fourier) |
| 24315 |
% U+261E WHITE RIGHT POINTING INDEX; \HandRight (bbding) |
| 24316 |
\DeclareTextCommand{\textHandRight}{PU}{\9046\036}%* U+261E |
| 24317 |
%* \textHandRight -> \leftpointright (fourier) |
| 24318 |
%* \textHandRight -> \PointingHand (marvosym) |
| 24319 |
%* \textHandRight -> \Pointinghand (marvosym) |
| 24320 |
% U+2622 RADIOACTIVE SIGN; \Radioactivity (marvosym) |
| 24321 |
\DeclareTextCommand{\textRadioactivity}{PU}{\9046\042}%* U+2622 |
| 24322 |
%* \textRadioactivity -> \Radiation (ifsym) |
| 24323 |
% U+2623 BIOHAZARD SIGN; \Biohazard (marvosym) |
| 24324 |
\DeclareTextCommand{\textBiohazard}{PU}{\9046\043}%* U+2623 |
| 24325 |
% U+2625 ANKH; \Ankh (marvosym) |
| 24326 |
\DeclareTextCommand{\textAnkh}{PU}{\9046\045}%* U+2625 |
| 24327 |
% U+262F YIN YANG; \YinYang (marvosym) |
| 24328 |
\DeclareTextCommand{\textYinYang}{PU}{\9046\057}%* U+262F |
| 24329 |
%* \textYinYang -> \Yinyang (marvosym) |
| 24330 |
%* \textYinYang -> \YingYang (marvosym) |
| 24331 |
%* \textYinYang -> \Yingyang (marvosym) |
| 24332 |
% U+2639 WHITE FROWNING FACE; \frownie (wasysym) |
| 24333 |
\DeclareTextCommand{\textfrownie}{PU}{\9046\071}%* U+2639 |
| 24334 |
%* \textfrownie -> \Frowny (marvosym) |
| 24335 |
% U+263A WHITE SMILING FACE; \smiley (wasysym) |
| 24336 |
\DeclareTextCommand{\textsmiley}{PU}{\9046\072}%* U+263A |
| 24337 |
%* \textsmiley -> \Smiley (marvosym) |
| 24338 |
% U+263B BLACK SMILING FACE; \blacksmiley (wasysym) |
| 24339 |
\DeclareTextCommand{\textblacksmiley}{PU}{\9046\073}%* U+263B |
| 24340 |
% U+263C WHITE SUN WITH RAYS; \sun (wasysym) |
| 24341 |
\DeclareTextCommand{\textsun}{PU}{\9046\074}%* U+263C |
| 24342 |
%* \textsun -> \Sun (marvosym) |
| 24343 |
% U+263D FIRST QUARTER MOON; \leftmoon (wasysym, mathabx) |
| 24344 |
\DeclareTextCommand{\textleftmoon}{PU}{\9046\075}%* U+263D |
| 24345 |
% U+263E LAST QUARTER MOON; \rightmoon (wasysym, mathabx) |
| 24346 |
\DeclareTextCommand{\textrightmoon}{PU}{\9046\076}%* U+263E |
| 24347 |
% U+263F MERCURY; \mercury (wasysym) |
| 24348 |
\DeclareTextCommand{\textmercury}{PU}{\9046\077}%* U+263F |
| 24349 |
%* \textmercury -> \Mercury (marvosym) |
| 24350 |
% U+2640 FEMALE SIGN; female; \female (wasysym) |
| 24351 |
\DeclareTextCommand{\textPUfemale}{PU}{\9046\100}% U+2640 |
| 24352 |
%* \textPUfemale -> \textfemale (tipx) |
| 24353 |
%* \textPUfemale -> \female (wasysym) |
| 24354 |
%* \textPUfemale -> \venus (wasysym) |
| 24355 |
%* \textPUfemale -> \Venus (marvosym) |
| 24356 |
%* \textPUfemale -> \Female (marvosym) |
| 24357 |
% U+2641 EARTH; \earth (wasysym) |
| 24358 |
\DeclareTextCommand{\textearth}{PU}{\9046\101}%* U+2641 |
| 24359 |
%* \textearth -> \Earth (marvosym) |
| 24360 |
% U+2642 MALE SIGN; male, mars; \male (wasysym) |
| 24361 |
\DeclareTextCommand{\textmale}{PU}{\9046\102}%* U+2642 |
| 24362 |
%* \textmale -> \mars (wasysym) |
| 24363 |
%* \textmale -> \Mars (marvosym) |
| 24364 |
%* \textmale -> \Male (marvosym) |
| 24365 |
% U+2643 JUPITER; \jupiter (wasysym) |
| 24366 |
\DeclareTextCommand{\textjupiter}{PU}{\9046\103}%* U+2643 |
| 24367 |
%* \textjupiter -> \Jupiter (marvosym) |
| 24368 |
% U+2644 SATURN; \saturn (wasysym) |
| 24369 |
\DeclareTextCommand{\textsaturn}{PU}{\9046\104}%* U+2644 |
| 24370 |
%* \textsaturn -> \Saturn (marvosym) |
| 24371 |
% U+2645 URANUS; \uranus (wasysym) |
| 24372 |
\DeclareTextCommand{\texturanus}{PU}{\9046\105}%* U+2645 |
| 24373 |
%* \texturanus -> \Uranus (marvosym) |
| 24374 |
% U+2646 NEPTUNE; \neptune (wasysym) |
| 24375 |
\DeclareTextCommand{\textneptune}{PU}{\9046\106}%* U+2646 |
| 24376 |
%* \textneptune -> \Neptune (marvosym) |
| 24377 |
% U+2647 PLUTO; \pluto (wasysym) |
| 24378 |
\DeclareTextCommand{\textpluto}{PU}{\9046\107}%* U+2647 |
| 24379 |
%* \textpluto -> \Pluto (marvosym) |
| 24380 |
% U+2648 ARIES; \aries (wasysym) |
| 24381 |
\DeclareTextCommand{\textaries}{PU}{\9046\110}%* U+2648 |
| 24382 |
%* \textaries -> \Aries (marvosym) |
| 24383 |
% U+2649 TAURUS; \taurus (wasysym) |
| 24384 |
\DeclareTextCommand{\texttaurus}{PU}{\9046\111}%* U+2649 |
| 24385 |
%* \texttaurus -> \Taurus (marvosym) |
| 24386 |
% U+264A GEMINI; \gemini (wasysym) |
| 24387 |
\DeclareTextCommand{\textgemini}{PU}{\9046\112}%* U+264A |
| 24388 |
%* \textgemini -> \Gemini (marvosym) |
| 24389 |
% U+264B CANCER; \cancer (wasysym) |
| 24390 |
\DeclareTextCommand{\textcancer}{PU}{\9046\113}%* U+264B |
| 24391 |
%* \textcancer -> \Cancer (marvosym) |
| 24392 |
% U+264C LEO; \leo (wasysym) |
| 24393 |
\DeclareTextCommand{\textleo}{PU}{\9046\114}%* U+264C |
| 24394 |
%* \textleo -> \Leo (marvosym) |
| 24395 |
% U+264D VIRGO; \virgo (wasysym) |
| 24396 |
\DeclareTextCommand{\textvirgo}{PU}{\9046\115}%* U+264D |
| 24397 |
%* \textvirgo -> \Virgo (marvosym) |
| 24398 |
% U+264E LIBRA; \libra (wasysym) |
| 24399 |
\DeclareTextCommand{\textlibra}{PU}{\9046\116}%* U+264E |
| 24400 |
%* \textlibra -> \Libra (marvosym) |
| 24401 |
% U+264F SCORPIO; \scorpio (wasysym) |
| 24402 |
\DeclareTextCommand{\textscorpio}{PU}{\9046\117}%* U+264F |
| 24403 |
%* \textscorpio -> \Scorpio (marvosym) |
| 24404 |
% U+2650 SAGITTARIUS; \sagittarius (wasysym) |
| 24405 |
\DeclareTextCommand{\textsagittarius}{PU}{\9046\120}%* U+2650 |
| 24406 |
%* \textsagittarius -> \Sagittarius (marvosym) |
| 24407 |
% U+2651 CAPRICORN; \capricornus (wasysym) |
| 24408 |
\DeclareTextCommand{\textcapricornus}{PU}{\9046\121}%* U+2651 |
| 24409 |
%* \textcapricornus -> \Capricorn (marvosym) |
| 24410 |
% U+2652 AQUARIUS; \aquarius (wasysym) |
| 24411 |
\DeclareTextCommand{\textaquarius}{PU}{\9046\122}%* U+2652 |
| 24412 |
%* \textaquarius -> \Aquarius (marvosym) |
| 24413 |
% U+2653 PISCES; \pisces (wasysym) |
| 24414 |
\DeclareTextCommand{\textpisces}{PU}{\9046\123}%* U+2653 |
| 24415 |
%* \textpisces -> \Pisces (marvosym) |
| 24416 |
% U+2660 BLACK SPADE SUIT; spade, spadesuitblack; \spadesuit (LaTeX) |
| 24417 |
\DeclareTextCommand{\textspadesuitblack}{PU}{\9046\140}% U+2660 |
| 24418 |
%* \textspadesuitblack -> \spadesuit (MnSymbol) |
| 24419 |
% U+2661 WHITE HEART SUIT; heartsuitwhite; \heartsuit (LaTeX) |
| 24420 |
\DeclareTextCommand{\textheartsuitwhite}{PU}{\9046\141}% U+2661 |
| 24421 |
%* \textheartsuitwhite -> \Heart (marvosym) |
| 24422 |
%* \textheartsuitwhite -> \heartsuit (MnSymbol) |
| 24423 |
% U+2662 WHITE DIAMOND SUIT; diamondsuitwhite; \diamondsuit (LaTeX) |
| 24424 |
\DeclareTextCommand{\textdiamondsuitwhite}{PU}{\9046\142}% U+2662 |
| 24425 |
%* \textdiamondsuitwhite -> \diamondsuit (MnSymbol) |
| 24426 |
% U+2663 BLACK CLUB SUIT; club, clubsuitblack; \clubsuit (LaTeX) |
| 24427 |
\DeclareTextCommand{\textclubsuitblack}{PU}{\9046\143}% U+2663 |
| 24428 |
%* \textclubsuitblack -> \clubsuit (MnSymbol) |
| 24429 |
% U+2664 WHITE SPADE SUIT; spadesuitwhite |
| 24430 |
\DeclareTextCommand{\textspadesuitwhite}{PU}{\9046\144}% U+2664 |
| 24431 |
% U+2665 BLACK HEART SUIT; heartsuitblack, heart |
| 24432 |
\DeclareTextCommand{\textheartsuitblack}{PU}{\9046\145}% U+2665 |
| 24433 |
% U+2666 BLACK DIAMOND SUIT; diamond |
| 24434 |
\DeclareTextCommand{\textdiamondsuitblack}{PU}{\9046\146}% U+2666 |
| 24435 |
% U+2667 WHITE CLUB SUIT; clubsuitwhite |
| 24436 |
\DeclareTextCommand{\textclubsuitwhite}{PU}{\9046\147}% U+2667 |
| 24437 |
% U+2669 QUARTER NOTE; quarternote; \quarternote (wasysym, arev) |
| 24438 |
\DeclareTextCommand{\textquarternote}{PU}{\9046\151}%* U+2669 |
| 24439 |
% U+266A EIGHTH NOTE; musicalnote; \textmusicalnote (textcomp) |
| 24440 |
\DeclareTextCommand{\textmusicalnote}{PU}{\9046\152}% U+266A |
| 24441 |
%* \textmusicalnote -> \eighthnote (wasysym, arev) |
| 24442 |
% U+266B BEAMED EIGHTH NOTES; eighthnotebeamed; \twonotes (wasysym) |
| 24443 |
\DeclareTextCommand{\texttwonotes}{PU}{\9046\153}%* U+266B |
| 24444 |
% U+266C BEAMED SIXTEENTH NOTES; beamedsixteenthnotes; \sixteenthnote (arev) |
| 24445 |
\DeclareTextCommand{\textsixteenthnote}{PU}{\9046\154}%* U+266C |
| 24446 |
% U+266D MUSIC FLAT SIGN; musicflatsign; \flat (LaTeX) |
| 24447 |
\DeclareTextCommand{\textflat}{PU}{\9046\155}%* U+266D |
| 24448 |
% U+266E MUSIC NATURAL SIGN; \natural (LaTeX) |
| 24449 |
\DeclareTextCommand{\textnatural}{PU}{\9046\156}%* U+266E |
| 24450 |
% U+266F MUSIC SHARP SIGN; musicsharpsign; \sharp (LaTeX) |
| 24451 |
\DeclareTextCommand{\textsharp}{PU}{\9046\157}%* U+266F |
| 24452 |
% U+2672 UNIVERSAL RECYCLING SYMBOL; \recycle (recycle) |
| 24453 |
\DeclareTextCommand{\textrecycle}{PU}{\9046\162}%* U+2672 |
| 24454 |
%* \textrecycle -> \Recycling (marvosym) |
| 24455 |
% U+267F WHEELCHAIR SYMBOL; \Wheelchair (marvosym) |
| 24456 |
\DeclareTextCommand{\textWheelchair}{PU}{\9046\177}%* U+267F |
| 24457 |
% U+2691 BLACK FLAG; \Flag (ifsym) |
| 24458 |
\DeclareTextCommand{\textFlag}{PU}{\9046\221}%* U+2691 |
| 24459 |
%* \textFlag -> \VarFlag (ifsym) |
| 24460 |
% U+2692 HAMMER AND PICK; \MineSign (marvosym) |
| 24461 |
\DeclareTextCommand{\textMineSign}{PU}{\9046\222}%* U+2692 |
| 24462 |
% U+2694 CROSSED SWORDS; \dsmilitary (dictsym) |
| 24463 |
\DeclareTextCommand{\textdsmilitary}{PU}{\9046\224}%* U+2694 |
| 24464 |
%* \textdsmilitary -> \textxswup (fourier) |
| 24465 |
% U+2695 STAFF OF AESCULAPIUS; \dsmedical (dictsym) |
| 24466 |
\DeclareTextCommand{\textdsmedical}{PU}{\9046\225}%* U+2695 |
| 24467 |
% U+2696 SCALES; \dsjuridical (dictsym) |
| 24468 |
\DeclareTextCommand{\textdsjuridical}{PU}{\9046\226}%* U+2696 |
| 24469 |
% U+2697 ALEMBIC; \dschemical (dictsym) |
| 24470 |
\DeclareTextCommand{\textdschemical}{PU}{\9046\227}%* U+2697 |
| 24471 |
% U+2698 FLOWER; \dsbiological (dictsym) |
| 24472 |
\DeclareTextCommand{\textdsbiological}{PU}{\9046\230}%* U+2698 |
| 24473 |
% U+269A STAFF OF HERMES; \dscommercial (dictsym) |
| 24474 |
\DeclareTextCommand{\textdscommercial}{PU}{\9046\232}%* U+269A |
| 24475 |
% U+269D OUTLINED WHITE STAR; \manstar (manfnt) |
| 24476 |
\DeclareTextCommand{\textmanstar}{PU}{\9046\235}%* U+269D |
| 24477 |
% U+26A0 WARNING SIGN; \danger (fourier) |
| 24478 |
\DeclareTextCommand{\textdanger}{PU}{\9046\240}%* U+26A0 |
| 24479 |
% U+26A2 DOUBLED FEMALE SIGN; \FemaleFemale (marvosym) |
| 24480 |
\DeclareTextCommand{\textFemaleFemale}{PU}{\9046\242}%* U+26A2 |
| 24481 |
% U+26A3 DOUBLED MALE SIGN; \MaleMale (marvosym) |
| 24482 |
\DeclareTextCommand{\textMaleMale}{PU}{\9046\243}%* U+26A3 |
| 24483 |
% U+26A4 INTERLOCKED FEMALE AND MALE SIGN; \FemaleMale (marvosym) |
| 24484 |
\DeclareTextCommand{\textFemaleMale}{PU}{\9046\244}%* U+26A4 |
| 24485 |
% U+26A5 MALE AND FEMALE SIGN; \Hermaphrodite (marvosym) |
| 24486 |
\DeclareTextCommand{\textHermaphrodite}{PU}{\9046\245}%* U+26A5 |
| 24487 |
% U+26AA MEDIUM WHITE CIRCLE; \Neural (marvosym) |
| 24488 |
\DeclareTextCommand{\textNeutral}{PU}{\9046\252}%* U+26AA |
| 24489 |
% U+26AD MARRIAGE SYMBOL |
| 24490 |
\DeclareTextCommand{\textmarried}{PU}{\9046\255}% U+26AD |
| 24491 |
% U+26AE DIVORCE SYMBOL |
| 24492 |
\DeclareTextCommand{\textdivorced}{PU}{\9046\256}% U+26AE |
| 24493 |
% U+26B2 NEUTER; \textuncrfemale (tipx) |
| 24494 |
\DeclareTextCommand{\textPUuncrfemale}{PU}{\9046\262}% U+26B2 |
| 24495 |
%* \textPUuncrfemale -> \textuncrfemale (tipx) |
| 24496 |
% U+26B9 SEXTILE; \hexstar (wasysym) |
| 24497 |
\DeclareTextCommand{\texthexstar}{PU}{\9046\271}%* U+26B9 |
| 24498 |
% U+26BD SOCCER BALL; \Football (marvosym) |
| 24499 |
\DeclareTextCommand{\textSoccerBall}{PU}{\9046\275}% U+26BD |
| 24500 |
%* \textSoccerBall -> \Football (marvosym) |
| 24501 |
% U+26C5 SUN BEHIND CLOUD; \SunCloud (ifsym) |
| 24502 |
\DeclareTextCommand{\textSunCload}{PU}{\9046\305}%* U+26C5 |
| 24503 |
% U+26C6 RAIN; \Rain (ifsym) |
| 24504 |
\DeclareTextCommand{\textRain}{PU}{\9046\306}%* U+26C6 |
| 24505 |
% U+26D4 NO ENTRY; \noway (fourier) |
| 24506 |
\DeclareTextCommand{\textnoway}{PU}{\9046\324}%* U+26D4 |
| 24507 |
% U+26F0 MOUNTAIN; \Mountain (ifsym) |
| 24508 |
\DeclareTextCommand{\textMountain}{PU}{\9046\360}%* U+26F0 |
| 24509 |
% U+26FA TENT; \Tent (ifsym) |
| 24510 |
\DeclareTextCommand{\textTent}{PU}{\9046\372}%* U+26FA |
| 24511 |
% \end{macrocode} |
| 24512 |
% |
| 24513 |
% \subsubsection{Dingbats: U+2700 to U+27BF} |
| 24514 |
% |
| 24515 |
% \begin{macrocode} |
| 24516 |
% U+2701 UPPER BLADE SCISSORS; \ScissorRightBrokenBottom (bbding) |
| 24517 |
\DeclareTextCommand{\textScissorRightBrokenBottom}{PU}{\9047\001}% U+2701 |
| 24518 |
%* \textScissorRightBrokenBottom -> \CutLeft (marvosym) |
| 24519 |
%* \textScissorRightBrokenBottom -> \Cutright (marvosym) |
| 24520 |
% U+2702 BLACK SCISSORS; \ScissorRight (bbding) |
| 24521 |
\DeclareTextCommand{\textScissorRight}{PU}{\9047\002}%* U+2702 |
| 24522 |
%* \textScissorRight -> \RightScissors (marvosym) |
| 24523 |
%* \textScissorRight -> \Leftscissors (marvosym) |
| 24524 |
% U+2703 LOWER BLADE SCISSORS; \ScissorRightBrokenTop (bbding) |
| 24525 |
\DeclareTextCommand{\textScissorRightBrokenTop}{PU}{\9047\003}%* U+2703 |
| 24526 |
% U+2704 WHITE SCISSORS; \ScissorHollowRight (bbding) |
| 24527 |
\DeclareTextCommand{\textScissorHollowRight}{PU}{\9047\004}%* U+2704 |
| 24528 |
% U+2706 TELEPHONE LOCATION SIGN; \PhoneHandset (bbding) |
| 24529 |
\DeclareTextCommand{\textPhoneHandset}{PU}{\9047\006}%* U+2706 |
| 24530 |
% U+2707 TAPE DRIVE; \Tape (bbding) |
| 24531 |
\DeclareTextCommand{\textTape}{PU}{\9047\007}%* U+2707 |
| 24532 |
% U+2708 AIRPLANE; \Plane (bbding) |
| 24533 |
\DeclareTextCommand{\textPlane}{PU}{\9047\010}%* U+2708 |
| 24534 |
% U+2709 ENVELOPE; \Envelope (bbding), |
| 24535 |
\DeclareTextCommand{\textEnvelope}{PU}{\9047\011}%* U+2709 |
| 24536 |
%* \textEnvelope -> \Letter (marvosym) |
| 24537 |
% U+270C VICTORY HAND; \Peace (bbding) |
| 24538 |
\DeclareTextCommand{\textPeace}{PU}{\9047\014}%* U+270C |
| 24539 |
% U+270D WRITING HAND; \WritingHand (marvosym) |
| 24540 |
\DeclareTextCommand{\textWritingHand}{PU}{\9047\015}%* U+270D |
| 24541 |
%* \textWritingHand -> \Writinghand (marvosym) |
| 24542 |
% U+270E LOWER RIGHT PENCIL; \PencilRightDown (bbding) |
| 24543 |
\DeclareTextCommand{\textPencilRightDown}{PU}{\9047\016}%* U+270E |
| 24544 |
% U+270F PENCIL; \PencilRight (bbding) |
| 24545 |
\DeclareTextCommand{\textPencilRight}{PU}{\9047\017}%* U+270F |
| 24546 |
% U+2710 UPPER RIGHT PENCIL; \PencilRightUp (bbding) |
| 24547 |
\DeclareTextCommand{\textPencilRightUp}{PU}{\9047\020}%* U+2710 |
| 24548 |
% U+2711 WHITE NIB; \NibRight (bbding) |
| 24549 |
\DeclareTextCommand{\textNibRight}{PU}{\9047\021}%* U+2711 |
| 24550 |
% U+2712 BLACK NIB; \NibSolidRight (bbding) |
| 24551 |
\DeclareTextCommand{\textNibSolidRight}{PU}{\9047\022}%* U+2712 |
| 24552 |
% U+2713 CHECK MARK; checkmark; \Checkmark (bbding) |
| 24553 |
\DeclareTextCommand{\textCheckmark}{PU}{\9047\023}%* U+2713 |
| 24554 |
%* \textCheckmark -> \checkmark (MnSymbol) |
| 24555 |
% U+2714 HEAVY CHECK MARK; \CheckmarkBold (bbding) |
| 24556 |
\DeclareTextCommand{\textCheckmarkBold}{PU}{\9047\024}%* U+2714 |
| 24557 |
% U+2715 MULTIPLICATION X; \XSolid (bbding) |
| 24558 |
\DeclareTextCommand{\textXSolid}{PU}{\9047\025}%* U+2715 |
| 24559 |
% U+2716 HEAVY MULTIPLICATION X; \XSolidBold (bbding) |
| 24560 |
\DeclareTextCommand{\textXSolidBold}{PU}{\9047\026}%* U+2716 |
| 24561 |
% U+2717 BALLOT X; \XSolidBrush (bbding) |
| 24562 |
\DeclareTextCommand{\textXSolidBrush}{PU}{\9047\027}%* U+2717 |
| 24563 |
% U+2719 OUTLINED GREEK CROSS; \PlusOutline (bbding) |
| 24564 |
\DeclareTextCommand{\textPlusOutline}{PU}{\9047\031}%* U+2719 |
| 24565 |
% U+271A HEAVY GREEK CROSS; \Plus (bbding) |
| 24566 |
\DeclareTextCommand{\textPlus}{PU}{\9047\032}%* U+271A |
| 24567 |
% U+271B OPEN CENTRE CROSS; \PlusThinCenterOpen (bbding) |
| 24568 |
\DeclareTextCommand{\textPlusThinCenterOpen}{PU}{\9047\033}%* U+271B |
| 24569 |
% U+271C HEAVY OPEN CENTRE CROSS; \PlusCenterOpen (bbding) |
| 24570 |
\DeclareTextCommand{\textPlusCenterOpen}{PU}{\9047\034}%* U+271C |
| 24571 |
% U+271D LATIN CROSS; \Cross (bbding) |
| 24572 |
\DeclareTextCommand{\textCross}{PU}{\9047\035}%* U+271D |
| 24573 |
% U+271E SHADOWED WHITE LATIN CROSS; \CrossOpenShadow (bbding) |
| 24574 |
\DeclareTextCommand{\textCrossOpenShadow}{PU}{\9047\036}%* U+271E |
| 24575 |
% U+271F OUTLINED LATIN CROSS; \CrossOutline (bbding) |
| 24576 |
\DeclareTextCommand{\textCrossOutline}{PU}{\9047\037}%* U+271F |
| 24577 |
% U+2720 MALTESE CROSS; \CrossMaltese (bbding) |
| 24578 |
\DeclareTextCommand{\textCrossMaltese}{PU}{\9047\040}%* U+2720 |
| 24579 |
% U+2721 STAR OF DAVID; \DavidStar (bbding) |
| 24580 |
\DeclareTextCommand{\textDavidStar}{PU}{\9047\041}%* U+2721 |
| 24581 |
%* \textDavidStar -> \davidstar (wasysym) |
| 24582 |
% U+2722 FOUR TEARDROP-SPOKED ASTERISK; \FourAsterisk (bbding) |
| 24583 |
\DeclareTextCommand{\textFourAsterisk}{PU}{\9047\042}%* U+2722 |
| 24584 |
% U+2723 FOUR BALLOON-SPOKED ASTERISK; \JackStar (bbding) |
| 24585 |
\DeclareTextCommand{\textJackStar}{PU}{\9047\043}%* U+2723 |
| 24586 |
% U+2724 HEAVY FOUR BALLOON-SPOKED ASTERISK; \JackStarBold (bbding) |
| 24587 |
\DeclareTextCommand{\textJackStarBold}{PU}{\9047\044}%* U+2724 |
| 24588 |
% U+2725 FOUR CLUB-SPOKED ASTERISK; \CrossClowerTips (bbding) |
| 24589 |
\DeclareTextCommand{\textClowerTips}{PU}{\9047\045}%* U+2725 |
| 24590 |
% U+2726 BLACK FOUR POINTED STAR; \FourStar (bbding) |
| 24591 |
\DeclareTextCommand{\textFourStar}{PU}{\9047\046}%* U+2726 |
| 24592 |
% U+2727 WHITE FOUR POINTED STAR; \FourStarOpen (bbding) |
| 24593 |
\DeclareTextCommand{\textFourStarOpen}{PU}{\9047\047}%* U+2727 |
| 24594 |
% U+272A CIRCLED WHITE STAR; \FiveStarOpenCircled (bbding) |
| 24595 |
\DeclareTextCommand{\textFiveStarOpenCircled}{PU}{\9047\052}%* U+272A |
| 24596 |
% U+272B OPEN CENTRE BLACK STAR; \FiveStarCenterOpen (bbding) |
| 24597 |
\DeclareTextCommand{\textFiveStarCenterOpen}{PU}{\9047\053}%* U+272B |
| 24598 |
% U+272C BLACK CENTRE WHITE STAR; \FiveStarOpenDotted (bbding) |
| 24599 |
\DeclareTextCommand{\textFiveStarOpenDotted}{PU}{\9047\054}%* U+272C |
| 24600 |
% U+272D OUTLINED BLACK STAR; \FiveStarOutline (bbding) |
| 24601 |
\DeclareTextCommand{\textFiveStarOutline}{PU}{\9047\055}%* U+272D |
| 24602 |
% U+272E HEAVY OUTLINED BLACK STAR; \FiveStarOutlineHeavy (bbding) |
| 24603 |
\DeclareTextCommand{\textFiveStarOutlineHeavy}{PU}{\9047\056}%* U+272E |
| 24604 |
% U+272F PINWHEEL STAR; \FiveStarConvex (bbding) |
| 24605 |
\DeclareTextCommand{\textFiveStarConvex}{PU}{\9047\057}%* U+272F |
| 24606 |
% U+2730 SHADOWED WHITE STAR; \FiveStarShadow (bbding) |
| 24607 |
\DeclareTextCommand{\textFiveStarShadow}{PU}{\9047\060}%* U+2730 |
| 24608 |
% U+2731 HEAVY ASTERISK; \AsteriskBold (bbding) |
| 24609 |
\DeclareTextCommand{\textAsteriskBold}{PU}{\9047\061}%* U+2731 |
| 24610 |
% U+2732 OPEN CENTRE ASTERISK; \AsteriskCenterOpen (bbding) |
| 24611 |
\DeclareTextCommand{\textAsteriskCenterOpen}{PU}{\9047\062}%* U+2732 |
| 24612 |
% U+2734 EIGHT POINTED BLACK STAR; \EightStarTaper (bbding) |
| 24613 |
\DeclareTextCommand{\textEightStarTaper}{PU}{\9047\064}%* U+2734 |
| 24614 |
% U+2735 EIGHT POINTED PINWHEEL STAR; \EightStarConvex (bbding) |
| 24615 |
\DeclareTextCommand{\textEightStarConvex}{PU}{\9047\065}%* U+2735 |
| 24616 |
% U+2736 SIX POINTED BLACK STAR; \SixStar (bbding) |
| 24617 |
\DeclareTextCommand{\textSixStar}{PU}{\9047\066}%* U+2736 |
| 24618 |
% U+2737 EIGHT POINTED RECTILINEAR BLACK STAR; \EightStar (bbding) |
| 24619 |
\DeclareTextCommand{\textEightStar}{PU}{\9047\067}%* U+2737 |
| 24620 |
% U+2738 HEAVY EIGHT POINTED RECTILINEAR BLACK STAR; \EightStarBold (bbding) |
| 24621 |
\DeclareTextCommand{\textEightStarBold}{PU}{\9047\070}%* U+2738 |
| 24622 |
% U+2739 TWELVE POINTED BLACK STAR; \TwelveStar (bbding) |
| 24623 |
\DeclareTextCommand{\textTwelveStar}{PU}{\9047\071}%* U+2739 |
| 24624 |
% U+273A SIXTEEN POINTED ASTERISK; \SixteenStarLight (bbding) |
| 24625 |
\DeclareTextCommand{\textSixteenStarLight}{PU}{\9047\072}%* U+273A |
| 24626 |
% U+273B TEARDROP-SPOKED ASTERISK; \SixFlowerPetalRemoved (bbding) |
| 24627 |
\DeclareTextCommand{\textSixFlowerPetalRemoved}{PU}{\9047\073}%* U+273B |
| 24628 |
% U+273C OPEN CENTRE TEARDROP-SPOKED ASTERISK; |
| 24629 |
% \SixFlowerOpenCenter (bbding) |
| 24630 |
\DeclareTextCommand{\textSixFlowerOpenCenter}{PU}{\9047\074}%* U+273C |
| 24631 |
% U+273D HEAVY TEARDROP-SPOKED ASTERISK; \Asterisk (bbding) |
| 24632 |
\DeclareTextCommand{\textAsterisk}{PU}{\9047\075}%* U+273D |
| 24633 |
% U+273E SIX PETALLED BLACK AND WHITE FLORETTE; \SixFlowerAlternate (bbding) |
| 24634 |
\DeclareTextCommand{\textSixFlowerAlternate}{PU}{\9047\076}%* U+273E |
| 24635 |
% U+273F BLACK FLORETTE; \FiveFlowerPetal (bbding) |
| 24636 |
\DeclareTextCommand{\textFiveFlowerPetal}{PU}{\9047\077}%* U+273F |
| 24637 |
% U+2740 WHITE FLORETTE; \FiveFlowerOpen (bbding) |
| 24638 |
\DeclareTextCommand{\textFiveFlowerOpen}{PU}{\9047\100}%* U+2740 |
| 24639 |
% U+2741 EIGHT PETALLED OUTLINED BLACK FLORETTE; \EightFlowerPetal (bbding) |
| 24640 |
\DeclareTextCommand{\textEightFlowerPetal}{PU}{\9047\101}%* U+2741 |
| 24641 |
% U+2742 CIRCLED OPEN CENTRE EIGHT POINTED STAR; \SunshineOpenCircled (bbding) |
| 24642 |
\DeclareTextCommand{\textSunshineOpenCircled}{PU}{\9047\102}%* U+2742 |
| 24643 |
% U+2743 HEAVY TEARDROP-SPOKED PINWHEEL ASTERISK; \SixFlowerAltPetal (bbding) |
| 24644 |
\DeclareTextCommand{\textSixFlowerAltPetal}{PU}{\9047\103}%* U+2743 |
| 24645 |
% U+2744 SNOWFLAKE; \SnowflakeChevron (bbding) |
| 24646 |
\DeclareTextCommand{\textSnowflakeChevron}{PU}{\9047\104}%* U+2744 |
| 24647 |
% U+2745 TIGHT TRIFOLIATE SNOWFLAKE; \Snowflake (bbding) |
| 24648 |
\DeclareTextCommand{\textSnowflake}{PU}{\9047\105}%* U+2745 |
| 24649 |
% U+2746 HEAVY CHEVRON SNOWFLAKE; \SnowflakeChevronBold (bbding) |
| 24650 |
\DeclareTextCommand{\textSnowflakeChevronBold}{PU}{\9047\106}%* U+2746 |
| 24651 |
% U+2747 SPARKLE; \Sparkle (bbding) |
| 24652 |
\DeclareTextCommand{\textSparkle}{PU}{\9047\107}%* U+2747 |
| 24653 |
% U+2748 HEAVY SPARKLE; \SparkleBold (bbding) |
| 24654 |
\DeclareTextCommand{\textSparkleBold}{PU}{\9047\110}%* U+2748 |
| 24655 |
% U+2749 BALLOON-SPOKED ASTERISK; \AsteriskRoundedEnds (bbding) |
| 24656 |
\DeclareTextCommand{\textAsteriskRoundedEnds}{PU}{\9047\111}%* U+2749 |
| 24657 |
% U+274A EIGHT TEARDROP-SPOKED PROPELLER ASTERISK; |
| 24658 |
% \EightFlowerPetalRemoved (bbding) |
| 24659 |
\DeclareTextCommand{\textEightFlowerPetalRemoved}{PU}{\9047\112}%* U+274A |
| 24660 |
% U+274B HEAVY EIGHT TEARDROP-SPOKED PROPELLER ASTERISK; |
| 24661 |
% \EightAsterisk (bbding) |
| 24662 |
\DeclareTextCommand{\textEightAsterisk}{PU}{\9047\113}%* U+274B |
| 24663 |
% U+274D SHADOWED WHITE CIRCLE; \CircleShadow (bbding) |
| 24664 |
\DeclareTextCommand{\textCircleShadow}{PU}{\9047\115}%* U+274D |
| 24665 |
% U+274F LOWER RIGHT DROP-SHADOWED WHITE SQUARE; |
| 24666 |
% \SquareShadowBottomRight (bbding) |
| 24667 |
\DeclareTextCommand{\textSquareShadowBottomRight}{PU}{\9047\117}%* U+274F |
| 24668 |
% U+2750 UPPER RIGHT DROP-SHADOWED WHITE SQUARE; |
| 24669 |
% \SquareShadowTopRight (bbding) |
| 24670 |
\DeclareTextCommand{\textSquareTopRight}{PU}{\9047\120}%* U+2750 |
| 24671 |
% U+2751 LOWER RIGHT SHADOWED WHITE SQUARE; |
| 24672 |
% \SquareCastShadowBottomRight (bbding) |
| 24673 |
\DeclareTextCommand{\textSquareCastShadowBottomRight}{PU}{\9047\121}%* U+2751 |
| 24674 |
% U+2752 UPPER RIGHT SHADOWED WHITE SQUARE; |
| 24675 |
% \SquareCastShadowTopRight (bbding) |
| 24676 |
\DeclareTextCommand{\textSquareCastShadowTopRight}{PU}{\9047\122}%* U+2752 |
| 24677 |
% U+2756 BLACK DIAMOND MINUS WHITE X; \OrnamentDiamondSolid (bbding) |
| 24678 |
\DeclareTextCommand{\textDiamondSolid}{PU}{\9047\126}%* U+2756 |
| 24679 |
% U+2758 LIGHT VERTICAL BAR; \RectangleThin (bbding) |
| 24680 |
\DeclareTextCommand{\textRectangleThin}{PU}{\9047\130}%* U+2758 |
| 24681 |
% U+2759 MEDIUM VERTICAL BAR; \Rectangle (bbding) |
| 24682 |
\DeclareTextCommand{\textRectangle}{PU}{\9047\131}%* U+2759 |
| 24683 |
% U+275A HEAVY VERTICAL BAR; \RectangleBold (bbding) |
| 24684 |
\DeclareTextCommand{\textRectangleBold}{PU}{\9047\132}%* U+275A |
| 24685 |
% \end{macrocode} |
| 24686 |
% |
| 24687 |
% \subsubsection{Miscellaneous Mathematical Symbols-A: U+27C0 to U+27EF} |
| 24688 |
% |
| 24689 |
% \begin{macrocode} |
| 24690 |
% U+27C2 PERPENDICULAR; perpendicular; \perp (LaTeX) |
| 24691 |
\DeclareTextCommand{\textperp}{PU}{\9047\302}%* U+27C2 |
| 24692 |
% \notperp (mathabx) |
| 24693 |
\DeclareTextCommand{\textnotperp}{PU}{\9047\302\83\070}%* U+27C2 U+0338 |
| 24694 |
% U+27C7 OR WITH DOT INSIDE; \veedot (MnSymbol) |
| 24695 |
\DeclareTextCommand{\textveedot}{PU}{\9047\307}%* U+27C7 |
| 24696 |
% U+27D1 AND WITH DOT; \wedgedot (MnSymbol) |
| 24697 |
\DeclareTextCommand{\textwedgedot}{PU}{\9047\321}%* U+27D1 |
| 24698 |
% U+27DC LEFT MULTIMAP; \leftspoon (MnSymbol) |
| 24699 |
\DeclareTextCommand{\textleftspoon}{PU}{\9047\334}%* U+27DC |
| 24700 |
% U+27E6 MATHEMATICAL LEFT WHITE SQUARE BRACKET |
| 24701 |
\DeclareTextCommand{\textlbrackdbl}{PU}{\9047\346}%* U+27E6 |
| 24702 |
%* \textlbrackdbl -> \llbracket (stmaryrd) |
| 24703 |
% U+27E7 MATHEMATICAL RIGHT WHITE SQUARE BRACKET |
| 24704 |
\DeclareTextCommand{\textrbrackdbl}{PU}{\9047\347}%* U+27E7 |
| 24705 |
%* \textrbrackdbl -> \rrbracket (stmaryrd) |
| 24706 |
% \end{macrocode} |
| 24707 |
% |
| 24708 |
% \subsubsection{Supplemental Arrows-A: U+27F0 to U+27FF} |
| 24709 |
% |
| 24710 |
% \begin{macrocode} |
| 24711 |
% U+27F2 ANTICLOCKWISE GAPPED CIRCLE ARROW; |
| 24712 |
% \circlearrowleft (AmS) |
| 24713 |
\DeclareTextCommand{\textcirclearrowleft}{PU}{\9047\362}%* U+27F2 |
| 24714 |
% U+27F3 CLOCKWISE GAPPED CIRCLE ARROW; \circlearrowright (AmS) |
| 24715 |
\DeclareTextCommand{\textcirclearrowright}{PU}{\9047\363}%* U+27F3 |
| 24716 |
% U+27F5 LONG LEFTWARDS ARROW; \longleftarrow (AmS) |
| 24717 |
\DeclareTextCommand{\textlongleftarrow}{PU}{\9047\365}%* U+27F5 |
| 24718 |
% U+27F6 LONG RIGHTWARDS ARROW; \longrightarrow (AmS) |
| 24719 |
\DeclareTextCommand{\textlongrightarrow}{PU}{\9047\366}%* U+27F6 |
| 24720 |
% U+27F7 LONG LEFT RIGHT ARROW; \longleftrightarrow (AmS) |
| 24721 |
\DeclareTextCommand{\textlongleftrightarrow}{PU}{\9047\367}%* U+27F7 |
| 24722 |
% U+27F8 LONG LEFTWARDS DOUBLE ARROW; \Longleftarrow (AmS) |
| 24723 |
\DeclareTextCommand{\textLongleftarrow}{PU}{\9047\370}%* U+27F8 |
| 24724 |
% U+27F9 LONG RIGHTWARDS DOUBLE ARROW; \Longrightarrow (AmS) |
| 24725 |
\DeclareTextCommand{\textLongrightarrow}{PU}{\9047\371}%* U+27F9 |
| 24726 |
% U+27FA LONG LEFT RIGHT DOUBLE ARROW; \Longleftrightarrow (AmS) |
| 24727 |
\DeclareTextCommand{\textLongleftrightarrow}{PU}{\9047\372}%* U+27FA |
| 24728 |
% U+27FC LONG RIGHTWARDS ARROW FROM BAR; \longmapsto (AmS) |
| 24729 |
\DeclareTextCommand{\textlongmapsto}{PU}{\9047\374}%* U+27FC |
| 24730 |
% U+27FD LONG LEFTWARDS DOUBLE ARROW FROM BAR; \Longmapsfrom (stmaryrd) |
| 24731 |
\DeclareTextCommand{\textLongmapsfrom}{PU}{\9047\375}%* U+27FD |
| 24732 |
% U+27FE LONG RIGHTWARDS DOUBLE ARROW FROM BAR; \Longmapsto (stmaryrd) |
| 24733 |
\DeclareTextCommand{\textLongmapsto}{PU}{\9047\376}%* U+27FE |
| 24734 |
% \end{macrocode} |
| 24735 |
% |
| 24736 |
% \subsubsection{Supplemental Arrows-B: U+2900 to U+297F} |
| 24737 |
% |
| 24738 |
% \begin{macrocode} |
| 24739 |
% U+2921 NORTH WEST AND SOUTH EAST ARROW; \nwsearrow (MnSymbol) |
| 24740 |
\DeclareTextCommand{\textnwsearrow}{PU}{\9051\041}%* U+2921 |
| 24741 |
% U+2922 NORTH EAST AND SOUTH WEST ARROW; \neswarrow (MnSymbol) |
| 24742 |
\DeclareTextCommand{\textneswarrow}{PU}{\9051\042}%* U+2922 |
| 24743 |
% U+2923 NORTH WEST ARROW WITH HOOK; \lhooknwarrow (MnSymbol) |
| 24744 |
\DeclareTextCommand{\textlhooknwarrow}{PU}{\9051\043}%* U+2923 |
| 24745 |
% U+2924 NORTH EAST ARROW WITH HOOK; \rhooknearrow (MnSymbol) |
| 24746 |
\DeclareTextCommand{\textrhooknearrow}{PU}{\9051\044}%* U+2924 |
| 24747 |
% U+2925 SOUTH EAST ARROW WITH HOOK; \lhooksearrow (MnSymbol) |
| 24748 |
\DeclareTextCommand{\textlhooksearrow}{PU}{\9051\045}%* U+2925 |
| 24749 |
% U+2926 SOUTH WEST ARROW WITH HOOK; \rhookswarrow (MnSymbol) |
| 24750 |
\DeclareTextCommand{\textrhookswarrow}{PU}{\9051\046}%* U+2926 |
| 24751 |
% U+2933 WAVE ARROW POINTING DIRECTLY RIGHT; \leadsto (wasysym) |
| 24752 |
\DeclareTextCommand{\textleadsto}{PU}{\9051\063}%* U+2933 |
| 24753 |
% U+2934 ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS; |
| 24754 |
% \rcurvearrowne (MnSymbol) |
| 24755 |
\DeclareTextCommand{\textrcurvearrowne}{PU}{\9051\064}%* U+2934 |
| 24756 |
% U+2935 ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS; |
| 24757 |
% \lcurvearrowse (MnSymbol) |
| 24758 |
\DeclareTextCommand{\textlcurvearrowse}{PU}{\9051\065}%* U+2935 |
| 24759 |
% U+2936 ARROW POINTING DOWNWARDS THEN CURVING LEFTWARDS; |
| 24760 |
% \lcurvearrowsw (MnSymbol) |
| 24761 |
\DeclareTextCommand{\textlcurvearrowsw}{PU}{\9051\066}%* U+2936 |
| 24762 |
% U+2937 ARROW POINTING DOWNWARDS THEN CURVING RIGHTWARDS; |
| 24763 |
% \rcurvearrowse (MnSymbol) |
| 24764 |
\DeclareTextCommand{\textrcurvearrowse}{PU}{\9051\067}%* U+2937 |
| 24765 |
% U+2938 RIGHT-SIDE ARC CLOCKWISE ARROW; \lcurvearrowdown (MnSymbol) |
| 24766 |
\DeclareTextCommand{\textlcurvearrowdown}{PU}{\9051\070}%* U+2938 |
| 24767 |
%* \textlcurvearrowdown -> \RightTorque (marvosym) |
| 24768 |
%* \textlcurvearrowdown -> \Righttorque (marvosym) |
| 24769 |
% U+2939 LEFT-SIDE ARC ANTICLOCKWISE ARROW; |
| 24770 |
% \rcurvearrowdown (MnSymbol) |
| 24771 |
\DeclareTextCommand{\textrcurvearrowdown}{PU}{\9051\071}%* U+2939 |
| 24772 |
%* \textrcurvearrowdown -> \LeftTorque (marvosym) |
| 24773 |
%* \textrcurvearrowdown -> \Lefttorque (marvosym) |
| 24774 |
% U+293A TOP ARC ANTICLOCKWISE ARROW; \rcurvearrowleft (MnSymbol) |
| 24775 |
\DeclareTextCommand{\textrcurvearrowleft}{PU}{\9051\072}%* U+293A |
| 24776 |
% U+293B BOTTOM ARC ANTICLOCKWISE ARROW; |
| 24777 |
% \rcurvearrowright (MnSymbol) |
| 24778 |
\DeclareTextCommand{\textrcurvearrowright}{PU}{\9051\073}%* U+293B |
| 24779 |
% U+294A LEFT BARB UP RIGHT BARB DOWN HARPOON; \leftrightharpoon (mathabx) |
| 24780 |
\DeclareTextCommand{\textleftrightharpoon}{PU}{\9051\112}%* U+294A |
| 24781 |
% U+294B LEFT BARB DOWN RIGHT BARB UP HARPOON; \rightleftharpoon (mathabx) |
| 24782 |
\DeclareTextCommand{\textrightleftharpoon}{PU}{\9051\113}%* U+294B |
| 24783 |
% U+294C UP BARB RIGHT DOWN BARB LEFT HARPOON; |
| 24784 |
% \updownharpoonrightleft (MnSymbol) |
| 24785 |
\DeclareTextCommand{\textupdownharpoonrightleft}{PU}{\9051\114}%* U+294C |
| 24786 |
% U+294D UP BARB LEFT DOWN BARB RIGHT HARPOON; |
| 24787 |
% \updownharpoonleftright (MnSymbol) |
| 24788 |
\DeclareTextCommand{\textupdownharpoonleftright}{PU}{\9051\115}%* U+294D |
| 24789 |
% U+2962 LEFTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS |
| 24790 |
% HARPOON WITH BARB DOWN; \leftleftharpoons (mathabx) |
| 24791 |
\DeclareTextCommand{\textleftleftharpoons}{PU}{\9051\142}%* U+2962 |
| 24792 |
% U+2963 UPWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS |
| 24793 |
% HARPOON WITH BARB RIGHT; \upupharpoons (mathabx) |
| 24794 |
\DeclareTextCommand{\textupupharpoons}{PU}{\9051\143}%* U+2963 |
| 24795 |
% U+2964 RIGHTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON |
| 24796 |
% WITH BARB DOWN; \rightrightharpoons (mathabx) |
| 24797 |
\DeclareTextCommand{\textrightrightharpoons}{PU}{\9051\144}%* U+2964 |
| 24798 |
% U+2965 DOWNWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON |
| 24799 |
% WITH BARB RIGHT; \downdownharpoons (mathabx) |
| 24800 |
\DeclareTextCommand{\textdowndownharpoons}{PU}{\9051\145}%* U+2965 |
| 24801 |
% U+296A LEFTWARDS HARPOON WITH BARB UP ABOVE LONG DASH; |
| 24802 |
% \leftbarharpoon (mathabx) |
| 24803 |
\DeclareTextCommand{\textleftbarharpoon}{PU}{\9051\152}%* U+296A |
| 24804 |
% U+296B LEFTWARDS HARPOON WITH BARB DOWN BELOW |
| 24805 |
% LONG DASH; \barleftharpoon (mathabx) |
| 24806 |
\DeclareTextCommand{\textbarleftharpoon}{PU}{\9051\153}%* U+296B |
| 24807 |
% U+296C RIGHTWARDS HARPOON WITH BARB UP ABOVE |
| 24808 |
% LONG DASH; \rightbarharpoon (mathabx) |
| 24809 |
\DeclareTextCommand{\textrightbarharpoon}{PU}{\9051\154}%* U+296C |
| 24810 |
% U+296D RIGHTWARDS HARPOON WITH BARB DOWN BELOW |
| 24811 |
% LONG DASH; \barrightharpoon (mathabx) |
| 24812 |
\DeclareTextCommand{\textbarrightharpoon}{PU}{\9051\155}%* U+296D |
| 24813 |
% U+296E UPWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON |
| 24814 |
% WITH BARB RIGHT; \updownharpoons (mathabx) |
| 24815 |
\DeclareTextCommand{\textupdownharpoons}{PU}{\9051\156}%* U+296E |
| 24816 |
% U+296F DOWNWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON |
| 24817 |
% WITH BARB RIGHT; \downupharpoons (mathabx) |
| 24818 |
\DeclareTextCommand{\textdownupharpoons}{PU}{\9051\157}%* U+296F |
| 24819 |
% U+297F DOWN FISH TAIL |
| 24820 |
\DeclareTextCommand{\textmoo}{PU}{\9051\177\83\066}%* U+297F U+0336 |
| 24821 |
% \end{macrocode} |
| 24822 |
% |
| 24823 |
% \subsubsection{Miscellaneous Mathematical Symbols-B: U+2980 to U+29FF} |
| 24824 |
% |
| 24825 |
% \begin{macrocode} |
| 24826 |
% U+2987 Z NOTATION LEFT IMAGE BRACKET; \llparenthesis (stmaryrd) |
| 24827 |
\DeclareTextCommand{\textllparenthesis}{PU}{\9051\207}%* U+2987 |
| 24828 |
% U+2988 Z NOTATION RIGHT IMAGE BRACKET; \rrparenthesis (stmaryrd) |
| 24829 |
\DeclareTextCommand{\textrrparenthesis}{PU}{\9051\210}%* U+2988 |
| 24830 |
% U+29B0 REVERSED EMPTY SET; \invdiameter (wasysym) |
| 24831 |
\DeclareTextCommand{\textinvdiameter}{PU}{\9051\260}%* U+29B0 |
| 24832 |
% U+29B6 CIRCLED VERTICAL BAR; \obar (stmaryrd) |
| 24833 |
\DeclareTextCommand{\textobar}{PU}{\9051\266}%* U+29B6 |
| 24834 |
%* \textobar -> \textvarobar (stmaryrd) |
| 24835 |
% U+29B8 CIRCLED REVERSE SOLIDUS; \obslash (stmaryrd) |
| 24836 |
\DeclareTextCommand{\textobslash}{PU}{\9051\270}%* U+29B8 |
| 24837 |
%* \textobslash -> \circledbslash (txfonts/pxfonts) |
| 24838 |
%* \textobslash -> \obackslash (mathabx) |
| 24839 |
%* \textobslash -> \varobslash (stmaryrd) |
| 24840 |
% U+29BA CIRCLE DIVIDED BY HORIZONTAL BAR AND TOP HALF |
| 24841 |
% DIVIDED BY VERTICAL BAR; \obot (mathabx) |
| 24842 |
\DeclareTextCommand{\textobot}{PU}{\9051\272}%* U+29BA |
| 24843 |
%* \textobot -> \odplus (ulsy) |
| 24844 |
% U+29BB CIRCLE WITH SUPERIMPOSED X; \NoChemicalCleaning (marvosym) |
| 24845 |
\DeclareTextCommand{\textNoChemicalCleaning}{PU}{\9051\273}%* U+29BB |
| 24846 |
% U+29C0 CIRCLED LESS-THAN; \olessthan (stmaryrd) |
| 24847 |
\DeclareTextCommand{\textolessthan}{PU}{\9051\300}%* U+29C0 |
| 24848 |
%* \textolessthan -> \varolessthan (stmaryrd) |
| 24849 |
% U+29C1 CIRCLED GREATER-THAN; \ogreaterthan (stmaryrd) |
| 24850 |
\DeclareTextCommand{\textogreaterthan}{PU}{\9051\301}%* U+29C1 |
| 24851 |
%* \textogreaterthan -> \varogreaterthan (stmaryrd) |
| 24852 |
% U+29C4 SQUARED RISING DIAGONAL SLASH; \boxslash (mathabx, stmaryrd) |
| 24853 |
\DeclareTextCommand{\textboxslash}{PU}{\9051\304}%* U+29C4 |
| 24854 |
% U+29C5 SQUARED FALLING DIAGONAL SLASH; \boxbslash (stmaryrd) |
| 24855 |
\DeclareTextCommand{\textboxbslash}{PU}{\9051\305}%* U+29C5 |
| 24856 |
% U+29C6 SQUARED ASTERISK; \boxast (stmaryrd) |
| 24857 |
\DeclareTextCommand{\textboxast}{PU}{\9051\306}%* U+29C6 |
| 24858 |
% U+29C7 SQUARED SMALL CIRCLE; \boxcircle (stmaryrd) |
| 24859 |
\DeclareTextCommand{\textboxcircle}{PU}{\9051\307}%* U+29C7 |
| 24860 |
% U+29C8 SQUARED SQUARE; \boxbox (stmaryrd) |
| 24861 |
\DeclareTextCommand{\textboxbox}{PU}{\9051\310}%* U+29C8 |
| 24862 |
% U+29D3 BLACK BOWTIE; \Valve (marvosym) |
| 24863 |
\DeclareTextCommand{\textValve}{PU}{\9051\323}%* U+29D3 |
| 24864 |
% U+29DF DOUBLE-ENDED MULTIMAP; \multimapboth (txfonts/pxfonts) |
| 24865 |
\DeclareTextCommand{\textmultimapboth}{PU}{\9051\337}%* U+29DF |
| 24866 |
% U+29E2 SHUFFLE PRODUCT; \shuffle (shuffle) |
| 24867 |
\DeclareTextCommand{\textshuffle}{PU}{\9051\342}%* U+29E2 |
| 24868 |
% \end{macrocode} |
| 24869 |
% |
| 24870 |
% \subsubsection{Supplemental Mathematical Operators: U+2A00 to U+2AFF} |
| 24871 |
% |
| 24872 |
% \begin{macrocode} |
| 24873 |
% U+2A04 N-ARY UNION OPERATOR WITH PLUS; \uplus (LaTeX) |
| 24874 |
\DeclareTextCommand{\textuplus}{PU}{\9052\004}%* U+2A04 |
| 24875 |
% U+2A07 TWO LOGICAL AND OPERATOR; \bigdoublewedge (MnSymbol) |
| 24876 |
\DeclareTextCommand{\textbigdoublewedge}{PU}{\9052\007}%* U+2A07 |
| 24877 |
% U+2A08 TWO LOGICAL OR OPERATOR; \bigdoublevee (MnSymbol) |
| 24878 |
\DeclareTextCommand{\textbigdoublevee}{PU}{\9052\010}%* U+2A08 |
| 24879 |
% U+2A1D JOIN; \Join (latexsym, amsfonts, amssymb, mathabx, txfonts, |
| 24880 |
% pxfonts, wasysym) |
| 24881 |
\DeclareTextCommand{\textJoin}{PU}{\9052\035}%* U+2A1D |
| 24882 |
% U+2A1F Z NOTATION SCHEMA COMPOSITION; \fatsemi (stmaryrd) |
| 24883 |
\DeclareTextCommand{\textfatsemi}{PU}{\9052\037}%* U+2A1F |
| 24884 |
% U+2A22 PLUS SIGN WITH SMALL CIRCLE ABOVE; \circplus (mathabx) |
| 24885 |
\DeclareTextCommand{\textcircplus}{PU}{\9052\042}%* U+2A22 |
| 24886 |
% U+2A2A MINUS SIGN WITH DOT BELOW; \minusdot (MnSymbol) |
| 24887 |
\DeclareTextCommand{\textminusdot}{PU}{\9052\052}%* U+2A2A |
| 24888 |
%* \textminusdot -> \divdot (mathabx) |
| 24889 |
% U+2A30 MULTIPLICATION SIGN WITH DOT ABOVE; \dottimes (mathabx) |
| 24890 |
\DeclareTextCommand{\textdottimes}{PU}{\9052\060}%* U+2A30 |
| 24891 |
% U+2A32 SEMIDIRECT PRODUCT WITH BOTTOM CLOSED; |
| 24892 |
% \dtimes (mathdesign) |
| 24893 |
\DeclareTextCommand{\textdtimes}{PU}{\9052\062}%* U+2A32 |
| 24894 |
% U+2A38 CIRCLED DIVISION SIGN; \odiv (mathabx) |
| 24895 |
\DeclareTextCommand{\textodiv}{PU}{\9052\070}%* U+2A38 |
| 24896 |
% U+2A3C INTERIOR PRODUCT; \invneg (MnSymbol) |
| 24897 |
\DeclareTextCommand{\textinvneg}{PU}{\9052\074}%* U+2A3C |
| 24898 |
% U+2A4E DOUBLE SQUARE INTERSECTION; \sqdoublecap (mathabx) |
| 24899 |
\DeclareTextCommand{\textsqdoublecap}{PU}{\9052\116}%* U+2A4E |
| 24900 |
%* \textsqdoublecap -> \doublesqcap (MnSymbol) |
| 24901 |
% U+2A40 INTERSECTION WITH DOT; \capdot (MnSymbol) |
| 24902 |
\DeclareTextCommand{\textcapdot}{PU}{\9052\100}%* U+2A40 |
| 24903 |
% U+2A4F DOUBLE SQUARE UNION; \sqdoublecup (mathabx) |
| 24904 |
\DeclareTextCommand{\textsqdoublecup}{PU}{\9052\117}%* U+2A4F |
| 24905 |
%* \textsqdoublecup -> \doublesqcup (MnSymbol) |
| 24906 |
% U+2A55 TWO INTERSECTING LOGICAL AND; \doublewedge (MnSymbol) |
| 24907 |
\DeclareTextCommand{\textdoublewedge}{PU}{\9052\125}%* U+2A55 |
| 24908 |
% U+2A56 TWO INTERSECTING LOGICAL OR; \doublevee (MnSymbol |
| 24909 |
\DeclareTextCommand{\textdoublevee}{PU}{\9052\126}%* U+2A56 |
| 24910 |
%* \textdoublevee -> \merge (stmaryrd) |
| 24911 |
% U+2A5E LOGICAL AND WITH DOUBLE OVERBAR; |
| 24912 |
% \doublebarwedge (AmS) |
| 24913 |
\DeclareTextCommand{\textdoublebarwedge}{PU}{\9052\136}%* U+2A5E |
| 24914 |
% U+2A63 LOGICAL OR WITH DOUBLE UNDERBAR; |
| 24915 |
% \veedoublebar (mahtabx) |
| 24916 |
\DeclareTextCommand{\textveedoublebar}{PU}{\9052\143}%* U+2A63 |
| 24917 |
% U+2A66 EQUALS SIGN WITH DOT BELOW; \eqdot (MnSymbol) |
| 24918 |
\DeclareTextCommand{\texteqdot}{PU}{\9052\146}%* U+2A66 |
| 24919 |
% \neqdot (MnSymbol) |
| 24920 |
\DeclareTextCommand{\textneqdot}{PU}{\9052\146\83\070}%* U+2A66 U+0338 |
| 24921 |
% U+2A74 DOUBLE COLON EQUAL; \coloncolonequals (colonequals) |
| 24922 |
\DeclareTextCommand{\textcoloncolonequals}{PU}{\9052\164}%* U+2A74 |
| 24923 |
% U+2A7D LESS-THAN OR SLANTED EQUAL TO; \leqslant (AmS) |
| 24924 |
\DeclareTextCommand{\textleqslant}{PU}{\9052\175}%* U+2A7D |
| 24925 |
% \nleqslant (txfonts/pxfonts) |
| 24926 |
\DeclareTextCommand{\textnleqslant}{PU}{\9052\175\83\070}%* U+2A7D U+0338 |
| 24927 |
% U+2A7E GREATER-THAN OR SLANTED EQUAL TO; \geqslant (AmS) |
| 24928 |
\DeclareTextCommand{\textgeqslant}{PU}{\9052\176}%* U+2A7E |
| 24929 |
% \ngeqslang (txfonts/pxfonts) |
| 24930 |
\DeclareTextCommand{\textngeqslant}{PU}{\9052\176\83\070}%* U+2A7E U+0338 |
| 24931 |
% U+2A85 LESS-THAN OR APPROXIMATE; \lessapprox (AmS) |
| 24932 |
\DeclareTextCommand{\textlessapprox}{PU}{\9052\205}%* U+2A85 |
| 24933 |
% \nlessapprox (txfonts/pxfonts) |
| 24934 |
\DeclareTextCommand{\textnlessapprox}{PU}{\9052\205\83\070}%* U+2A85 U+0338 |
| 24935 |
% U+2A86 GREATER-THAN OR APPROXIMATE; \gtrapprox (AmS) |
| 24936 |
\DeclareTextCommand{\textgtrapprox}{PU}{\9052\206}%* U+2A86 |
| 24937 |
% \ngtrapprox (txfonts/pxfonts) |
| 24938 |
\DeclareTextCommand{\textngtrapprox}{PU}{\9052\206\83\070}%* U+2A86 U+0338 |
| 24939 |
% U+2A87 LESS-THAN AND SINGLE-LINE NOT EQUAL TO; \lneq (AmS) |
| 24940 |
\DeclareTextCommand{\textlneq}{PU}{\9052\207}%* U+2A87 |
| 24941 |
% U+2A88 GREATER-THAN AND SINGLE-LINE NOT EQUAL TO; |
| 24942 |
% \gneq (AmS) |
| 24943 |
\DeclareTextCommand{\textgneq}{PU}{\9052\210}%* U+2A88 |
| 24944 |
% U+2A89 LESS-THAN AND NOT APPROXIMATE; \lnapprox (AmS) |
| 24945 |
\DeclareTextCommand{\textlnapprox}{PU}{\9052\211}%* U+2A89 |
| 24946 |
% U+2A8A GREATER-THAN AND NOT APPROXIMATE; \gnapprox (AmS) |
| 24947 |
\DeclareTextCommand{\textgnapprox}{PU}{\9052\212}%* U+2A8A |
| 24948 |
% U+2A8B LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN; |
| 24949 |
% \lesseqqgtr (AmS) |
| 24950 |
\DeclareTextCommand{\textlesseqqgtr}{PU}{\9052\213}%* U+2A8B |
| 24951 |
% U+2A8C GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN; |
| 24952 |
% \gtreqqless (AmS) |
| 24953 |
\DeclareTextCommand{\textgtreqqless}{PU}{\9052\214}%* U+2A8C |
| 24954 |
% U+2A95 SLANTED EQUAL TO OR LESS-THAN; \eqslantless (AmS) |
| 24955 |
\DeclareTextCommand{\texteqslantless}{PU}{\9052\225}%* U+2A95 |
| 24956 |
% U+2A96 SLANTED EQUAL TO OR GREATER-THAN; \eqslantgtr (AmS) |
| 24957 |
\DeclareTextCommand{\texteqslantgtr}{PU}{\9052\226}%* U+2A96 |
| 24958 |
% U+2AA6 LESS-THAN CLOSED BY CURVE; \leftslice (stmaryrd) |
| 24959 |
\DeclareTextCommand{\textleftslice}{PU}{\9052\246}%* U+2AA6 |
| 24960 |
% U+2AA7 GREATER-THAN CLOSED BY CURVE; \rightslice (stmaryrd) |
| 24961 |
\DeclareTextCommand{\textrightslice}{PU}{\9052\247}%* U+2AA7 |
| 24962 |
% U+2AAF PRECEDES ABOVE SINGLE-LINE EQUALS SIGN; \preceq (MnSymbol) |
| 24963 |
\DeclareTextCommand{\textpreceq}{PU}{\9052\257}%* U+2AAF |
| 24964 |
% \npreceq (txfonts/pxfonts) |
| 24965 |
\DeclareTextCommand{\textnpreceq}{PU}{\9052\257\83\070}%* U+2AAF U+0338 |
| 24966 |
% U+2AB0 SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN; \succeq (MnSymbol) |
| 24967 |
\DeclareTextCommand{\textsucceq}{PU}{\9052\260}%* U+2AB0 |
| 24968 |
% \nsucceq (txfonts/pxfonts) |
| 24969 |
\DeclareTextCommand{\textnsucceq}{PU}{\9052\260\83\070}%* U+2AB0 U+0338 |
| 24970 |
% U+2AB1 PRECEDES ABOVE SINGLE-LINE NOT EQUAL TO; \precneq (mathabx) |
| 24971 |
\DeclareTextCommand{\textprecneq}{PU}{\9052\261}%* U+2AB1 |
| 24972 |
% U+2AB2 SUCCEEDS ABOVE SINGLE-LINE NOT EQUAL TO; \succneq (mathabx) |
| 24973 |
\DeclareTextCommand{\textsuccneq}{PU}{\9052\262}%* U+2AB2 |
| 24974 |
% U+2AB3 PRECEDES ABOVE EQUALS SIGN; \preceqq (txfonts/pxfonts) |
| 24975 |
\DeclareTextCommand{\textpreceqq}{PU}{\9052\263}%* U+2AB3 |
| 24976 |
% \npreceqq (txfonts/pxfonts) |
| 24977 |
\DeclareTextCommand{\textnpreceqq}{PU}{\9052\263\83\070}%* U+2AB3 U+0338 |
| 24978 |
% U+2AB4 SUCCEEDS ABOVE EQUALS SIGN; \succeqq (txfonts/pxfonts) |
| 24979 |
\DeclareTextCommand{\textsucceqq}{PU}{\9052\264}%* U+2AB4 |
| 24980 |
% \nsucceqq (txfonts/pxfonts) |
| 24981 |
\DeclareTextCommand{\textnsucceqq}{PU}{\9052\264\83\070}%* U+2AB4 U+0338 |
| 24982 |
% U+2AB5 PRECEDES ABOVE NOT EQUAL TO; \precneqq (txfonts/pxfonts) |
| 24983 |
\DeclareTextCommand{\textprecneqq}{PU}{\9052\265}%* U+2AB5 |
| 24984 |
% U+2AB6 SUCCEEDS ABOVE NOT EQUAL TO; \succneqq (txfonts/pxfonts) |
| 24985 |
\DeclareTextCommand{\textsuccneqq}{PU}{\9052\266}%* U+2AB6 |
| 24986 |
% U+2AB7 PRECEDES ABOVE ALMOST EQUAL TO; \precapprox (AmS) |
| 24987 |
\DeclareTextCommand{\textprecapprox}{PU}{\9052\267}%* U+2AB7 |
| 24988 |
% \nprecapprox (txfonts/pxfonts) |
| 24989 |
\DeclareTextCommand{\textnprecapprox}{PU}{\9052\267\83\070}%* U+2AB7 U+0338 |
| 24990 |
% U+2AB8 SUCCEEDS ABOVE ALMOST EQUAL TO; \succapprox (AmS) |
| 24991 |
\DeclareTextCommand{\textsuccapprox}{PU}{\9052\270}%* U+2AB8 |
| 24992 |
% \nsuccapprox (txfonts/pxfonts) |
| 24993 |
\DeclareTextCommand{\textnsuccapprox}{PU}{\9052\270\83\070}%* U+2AB8 U+0338 |
| 24994 |
% U+2AB9 PRECEDES ABOVE NOT ALMOST EQUAL TO; \precnapprox (AmS) |
| 24995 |
\DeclareTextCommand{\textprecnapprox}{PU}{\9052\271}%* U+2AB9 |
| 24996 |
% U+2ABA SUCCEEDS ABOVE NOT ALMOST EQUAL TO; \succnapprox (AmS) |
| 24997 |
\DeclareTextCommand{\textsuccnapprox}{PU}{\9052\272}%* U+2ABA |
| 24998 |
% U+2AC5 SUBSET OF ABOVE EQUALS SIGN; \subseteqq (AmS) |
| 24999 |
\DeclareTextCommand{\textsubseteqq}{PU}{\9052\305}%* U+2AC5 |
| 25000 |
% \nsubseteqq (txfonts/pxfonts, mathabx) |
| 25001 |
\DeclareTextCommand{\textnsubseteqq}{PU}{\9052\305\83\070}%* U+2AC5 U+0338 |
| 25002 |
% U+2AC6 SUPERSET OF ABOVE EQUALS SIGN; \supseteqq (AmS) |
| 25003 |
\DeclareTextCommand{\textsupseteqq}{PU}{\9052\306}%* U+2AC6 |
| 25004 |
% \nsupseteqq (mathabx) |
| 25005 |
\DeclareTextCommand{\textnsupseteqq}{PU}{\9052\306\83\070}%* U+2AC6 U+0338 |
| 25006 |
% U+2AE3 DOUBLE VERTICAL BAR LEFT TURNSTILE |
| 25007 |
\DeclareTextCommand{\textdashV}{PU}{\9052\343}%* U+2AE3 |
| 25008 |
%* \textdashV -> \leftVdash (MnSymbol) |
| 25009 |
% \ndashV (mathabx) |
| 25010 |
\DeclareTextCommand{\textndashV}{PU}{\9052\343\83\070}%* U+2AE3 U+0338 |
| 25011 |
%* \textndashV -> \nleftVdash (MnSymbol) |
| 25012 |
% U+2AE4 VERTICAL BAR DOUBLE LEFT TURNSTILE; \Dashv (mathabx) |
| 25013 |
\DeclareTextCommand{\textDashv}{PU}{\9052\344}%* U+2AE4 |
| 25014 |
%* \textDashv -> \leftmodels (MnSymbol) |
| 25015 |
% \nDashv (mathabx) |
| 25016 |
\DeclareTextCommand{\textnDashv}{PU}{\9052\344\83\070}%* U+2AE4 U+0338 |
| 25017 |
%* \textnDashv -> \nleftmodels (MnSymbol) |
| 25018 |
% U+2AE5 DOUBLE VERTICAL BAR DOUBLE LEFT TURNSTILE; |
| 25019 |
% \DashV (mathabx) |
| 25020 |
\DeclareTextCommand{\textDashV}{PU}{\9052\345}%* U+2AE5 |
| 25021 |
%* \textDashV -> \leftModels (MnSymbol) |
| 25022 |
% \nDashV (mathabx) |
| 25023 |
\DeclareTextCommand{\textnDashV}{PU}{\9052\345\83\070}%* U+2AE5 U+0338 |
| 25024 |
%* \textnDashV -> \nleftModels (MnSymbol) |
| 25025 |
% U+2AEA DOUBLE DOWN TACK; \downmodels (MnSymbol) |
| 25026 |
\DeclareTextCommand{\textdownmodels}{PU}{\9052\352}%* U+2AEA |
| 25027 |
% \ndownmodels (MnSymbol) |
| 25028 |
\DeclareTextCommand{\textndownmodels}{PU}{\9052\352\83\070}%* U+2AEA U+0338 |
| 25029 |
% U+2AEB DOUBLE UP TACK; \upmodels (MnSymbol) |
| 25030 |
\DeclareTextCommand{\textupmodels}{PU}{\9052\353}%* U+2AEB |
| 25031 |
% \nupmodels (MnSymbol) |
| 25032 |
\DeclareTextCommand{\textnupmodels}{PU}{\9052\353\83\070}%* U+2AEB U+0338 |
| 25033 |
% U+2AEF VERTICAL LINE WITH CIRCLE ABOVE; \upspoon (MnSymbol) |
| 25034 |
\DeclareTextCommand{\textupspoon}{PU}{\9052\357}%* U+2AEF |
| 25035 |
% U+2AF4 TRIPLE VERTICAL BAR BINARY RELATION; |
| 25036 |
% \interleave (stmaryrd) |
| 25037 |
\DeclareTextCommand{\textinterleave}{PU}{\9052\364}%* U+2AF4 |
| 25038 |
% U+2AFD DOUBLE SOLIDUS OPERATOR; \sslash (stmaryrd) |
| 25039 |
\DeclareTextCommand{\textsslash}{PU}{\9052\375}%* U+2AFD |
| 25040 |
%* \textsslash -> \varparallel (txfonts\pxfonts) |
| 25041 |
% \end{macrocode} |
| 25042 |
% |
| 25043 |
% \subsubsection{Miscellaneous Symbols and Arrows: U+2B00 to U+2BFF} |
| 25044 |
% |
| 25045 |
% \begin{macrocode} |
| 25046 |
% U+2B20 WHITE PENTAGON; \pentagon (wasysym) |
| 25047 |
\DeclareTextCommand{\textpentagon}{PU}{\9053\040}%* U+2B20 |
| 25048 |
% U+2B21 WHITE HEXAGON; \varhexagon (wasysym) |
| 25049 |
\DeclareTextCommand{\textvarhexagon}{PU}{\9053\041}%* U+2B21 |
| 25050 |
% \end{macrocode} |
| 25051 |
% |
| 25052 |
% \subsubsection{Latin Extended-C: U+2C60 to U+2C7F} |
| 25053 |
% |
| 25054 |
% \begin{macrocode} |
| 25055 |
% U+2C7C LATIN SUBSCRIPT SMALL LETTER J |
| 25056 |
\DeclareTextCommand{\textjinferior}{PU}{\9054\174}%* U+2C7C |
| 25057 |
% \end{macrocode} |
| 25058 |
% |
| 25059 |
% \subsubsection{Supplemental Punctuation: U+2E00 to U+2E7F} |
| 25060 |
% |
| 25061 |
% \begin{macrocode} |
| 25062 |
% U+2E13 DOTTED OBELOS; \slashdiv (MnSymbol) |
| 25063 |
\DeclareTextCommand{\textslashdiv}{PU}{\9056\023}%* U+2E13 |
| 25064 |
% U+2E18 INVERTED INTERROBANG; \textinterrobangdown (textcomp) |
| 25065 |
\DeclareTextCommand{\textinterrobangdown}{PU}{\9056\030}% U+2E18 |
| 25066 |
% U+2E2D FIVE DOT MARK; \fivedots (MnSymbol) |
| 25067 |
\DeclareTextCommand{\textfivedots}{PU}{\9056\055}%* U+2E2D |
| 25068 |
% \end{macrocode} |
| 25069 |
% |
| 25070 |
% \subsubsection{Modifier Tone Letters: U+A700 to U+A71F} |
| 25071 |
% |
| 25072 |
% \begin{macrocode} |
| 25073 |
% U+A71B MODIFIER LETTER RAISED UP ARROW; \textupstep (tipa) |
| 25074 |
\DeclareTextCommand{\textupstep}{PU}{\9247\033}% U+A71B |
| 25075 |
% U+A71C MODIFIER LETTER RAISED DOWN ARROW; |
| 25076 |
% \textdownstep (tipa) |
| 25077 |
\DeclareTextCommand{\textdownstep}{PU}{\9247\034}% U+A71C |
| 25078 |
% \end{macrocode} |
| 25079 |
% |
| 25080 |
% \subsubsection{Latin Extended-D: U+A720 to U+A7FF} |
| 25081 |
% |
| 25082 |
% \begin{macrocode} |
| 25083 |
% U+A727 LATIN SMALL LETTER HENG; \textheng (tipx) |
| 25084 |
\DeclareTextCommand{\textPUheng}{PU}{\9247\047}% U+A727 |
| 25085 |
%* \textPUheng -> \textheng (tipx) |
| 25086 |
% U+A72C LATIN CAPITAL LETTER CUATRILLO; \textlhookfour (tipx) |
| 25087 |
\DeclareTextCommand{\textPUlhookfour}{PU}{\9247\054}% U+A72C |
| 25088 |
%* \textPUlhookfour -> \textlhookfour (tipx) |
| 25089 |
% U+A730 LATIN LETTER SMALL CAPITAL F; \textscf (tipx) |
| 25090 |
\DeclareTextCommand{\textPUscf}{PU}{\9247\060}% U+A730 |
| 25091 |
%* \textPUscf -> \textscf (tipx) |
| 25092 |
% U+A735 LATIN SMALL LETTER AO; \textaolig (tipx) |
| 25093 |
\DeclareTextCommand{\textPUaolig}{PU}{\9247\065}% U+A735 |
| 25094 |
%* \textPUaolig -> \textaolig (tipx) |
| 25095 |
% U+A74F LATIN SMALL LETTER OO; \oo (wsuipa) |
| 25096 |
\DeclareTextCommand{\textoo}{PU}{\9247\117}%* U+A74F |
| 25097 |
% U+A788 MODIFIER LETTER LOW CIRCUMFLEX ACCENT |
| 25098 |
\DeclareTextCommand{\textcircumlow}{PU}{\9247\210}% U+A788 |
| 25099 |
% \end{macrocode} |
| 25100 |
% |
| 25101 |
% \subsubsection{Alphabetic Presentation Forms: U+FB00 to U+FB4F} |
| 25102 |
% |
| 25103 |
% \begin{macrocode} |
| 25104 |
% U+FB01 LATIN SMALL LIGATURE FI; fi |
| 25105 |
\DeclareTextCommand{\textfi}{PU}{\9373\001}% U+FB01 |
| 25106 |
% U+FB02 LATIN SMALL LIGATURE FL; fl |
| 25107 |
\DeclareTextCommand{\textfl}{PU}{\9373\002}% U+FB02 |
| 25108 |
% \end{macrocode} |
| 25109 |
% |
| 25110 |
% \subsubsection{Musical Symbols: U+1D100 to U+1D1FF} |
| 25111 |
% |
| 25112 |
% \begin{macrocode} |
| 25113 |
% U+1D13B MUSICAL SYMBOL WHOLE REST; \GaPa (harmony) |
| 25114 |
\DeclareTextCommand{\textGaPa}{PU}{\9330\064\9335\073}%* U+1D13B |
| 25115 |
% U+1D13C MUSICAL SYMBOL HALF REST; \HaPa (harmony) |
| 25116 |
\DeclareTextCommand{\textHaPa}{PU}{\9330\064\9335\074}%* U+1D13C |
| 25117 |
% U+1D13D MUSICAL SYMBOL QUARTER REST; \ViPa (harmony) |
| 25118 |
\DeclareTextCommand{\textViPa}{PU}{\9330\064\9335\075}%* U+1D13D |
| 25119 |
% U+1D13E MUSICAL SYMBOL EIGHTH REST; \AcPa (harmony) |
| 25120 |
\DeclareTextCommand{\textAcPa}{PU}{\9330\064\9335\076}%* U+1D13E |
| 25121 |
% U+1D13F MUSICAL SYMBOL SIXTEENTH REST; \SePa (harmony) |
| 25122 |
\DeclareTextCommand{\textSePa}{PU}{\9330\064\9335\077}%* U+1D13F |
| 25123 |
% U+1D140 MUSICAL SYMBOL THIRTY-SECOND REST; \ZwPa (harmony) |
| 25124 |
\DeclareTextCommand{\textZwPa}{PU}{\9330\064\9335\100}%* U+1D140 |
| 25125 |
% U+1D15D MUSICAL SYMBOL WHOLE NOTE; \fullnote (wasysym) |
| 25126 |
\DeclareTextCommand{\textfullnote}{PU}{\9330\064\9335\135}%* U+1D15D |
| 25127 |
%* \textfullnote -> \Ganz (harmony) |
| 25128 |
% U+1D15E MUSICAL SYMBOL HALF NOTE; \halfnote (wasysym) |
| 25129 |
\DeclareTextCommand{\texthalfnote}{PU}{\9330\064\9335\136}%* U+1D15E |
| 25130 |
%* \texthalfnote -> \Halb (harmony) |
| 25131 |
% U+1D15F MUSICAL SYMBOL QUARTER NOTE; \Vier (harmony) |
| 25132 |
\DeclareTextCommand{\textVier}{PU}{\9330\064\9335\137}%* U+1D15F |
| 25133 |
% U+1D160 MUSICAL SYMBOL EIGHTH NOTE; \Acht (harmony) |
| 25134 |
\DeclareTextCommand{\textAcht}{PU}{\9330\064\9335\140}%* U+1D160 |
| 25135 |
% U+1D161 MUSICAL SYMBOL SIXTEENTH NOTE; \Sech (harmony) |
| 25136 |
\DeclareTextCommand{\textSech}{PU}{\9330\064\9335\141}%* U+1D161 |
| 25137 |
% U+1D162 MUSICAL SYMBOL THIRTY-SECOND NOTE; \Zwdr (harmony) |
| 25138 |
\DeclareTextCommand{\textZwdr}{PU}{\9330\064\9335\142}%* U+1D162 |
| 25139 |
% \end{macrocode} |
| 25140 |
% |
| 25141 |
% \subsubsection{Miscellaneous Symbols and Pictographs: U+1F300 to U+1F5FF} |
| 25142 |
% |
| 25143 |
% \begin{macrocode} |
| 25144 |
% U+1F30D EARTH GLOBE EUROPE-AFRICA; \Mundus (marvosym) |
| 25145 |
\DeclareTextCommand{\textMundus}{PU}{\9330\074\9337\015}%* U+1F30D |
| 25146 |
% U+1F319 CRESCENT MOON; \Moon (marvosym) |
| 25147 |
\DeclareTextCommand{\textMoon}{PU}{\9330\074\9337\031}%* U+1F319 |
| 25148 |
% U+1F468 MAN; \ManFace (marvosym) |
| 25149 |
\DeclareTextCommand{\textManFace}{PU}{\9330\075\9334\150}%* U+1F468 |
| 25150 |
% U+1F469 WOMAN; \WomanFace (marvosym) |
| 25151 |
\DeclareTextCommand{\textWomanFace}{PU}{\9330\075\9334\151}%* U+1F469 |
| 25152 |
%* \textWomanFace -> \Womanface (marvosym) |
| 25153 |
% U+1F4E0 FAX MACHINE; \Fax (marvosym) |
| 25154 |
\DeclareTextCommand{\textFax}{PU}{\9330\075\9334\340}%* U+1F4E0 |
| 25155 |
%* \textFax -> \Faxmachine (marvosym) |
| 25156 |
% U+1F525 FIRE; \Fire (ifsym) |
| 25157 |
\DeclareTextCommand{\textFire}{PU}{\9330\075\9335\045}%* U+1F525 |
| 25158 |
% \end{macrocode} |
| 25159 |
% |
| 25160 |
% \subsubsection{Transport and Map Symbols: U+1F680 to U+1F6FF} |
| 25161 |
% |
| 25162 |
% \begin{macrocode} |
| 25163 |
% U+1F6B2 BICYCLE; \Bicycle (marvosym) |
| 25164 |
\DeclareTextCommand{\textBicycle}{PU}{\9330\075\9336\262}%* U+1F6B2 |
| 25165 |
% U+1F6B9 MENS SYMBOL; \Gentsroom (marvosym) |
| 25166 |
\DeclareTextCommand{\textGentsroom}{PU}{\9330\075\9336\271}%* U+1F6B9 |
| 25167 |
% U+1F6BA WOMENS SYMBOL; \Ladiesroom (marvosym) |
| 25168 |
\DeclareTextCommand{\textLadiesroom}{PU}{\9330\075\9336\272}%* U+1F6BA |
| 25169 |
% \end{macrocode} |
| 25170 |
% |
| 25171 |
% \subsubsection{Miscellaneous} |
| 25172 |
% |
| 25173 |
% \begin{macrocode} |
| 25174 |
\DeclareTextCommand{\SS}{PU}{SS}% |
| 25175 |
% \textcopyleft (textcomp) |
| 25176 |
\DeclareTextCommand{\textcopyleft}{PU}{\9041\204\9040\335}% U+2184 U+20DD |
| 25177 |
% \ccnc (cclicenses) |
| 25178 |
\DeclareTextCommand{\textccnc}{PU}{\80\044\9040\340}%* U+0024 U+20E0 |
| 25179 |
% \ccnd (cclicenses) |
| 25180 |
\DeclareTextCommand{\textccnd}{PU}{=\9040\335}%* U+003D U+20DD |
| 25181 |
% \ccsa (cclicenses) |
| 25182 |
\DeclareTextCommand{\textccsa}{PU}{\9047\362\9040\335}%* U+27F2 U+20DD |
| 25183 |
% \Info (marvosym, china2e) |
| 25184 |
\DeclareTextCommand{\textInfo}{PU}{\9330\065\9334\042\9040\336}%* U+1D422 U+20DE |
| 25185 |
% \CESign (marvosym) |
| 25186 |
\DeclareTextCommand{\textCESign}{PU}{\80\103\80\105}%* U+0043 U+0045 |
| 25187 |
%* \textCESign -> \CEsign (marvosym) |
| 25188 |
% \end{macrocode} |
| 25189 |
% |
| 25190 |
% \subsubsection{Aliases} |
| 25191 |
% |
| 25192 |
% Aliases (german.sty) |
| 25193 |
% \begin{macrocode} |
| 25194 |
\DeclareTextCommand{\textglqq}{PU}{\quotedblbase}% |
| 25195 |
\DeclareTextCommand{\textgrqq}{PU}{\textquotedblleft}% |
| 25196 |
\DeclareTextCommand{\textglq}{PU}{\quotesinglbase}% |
| 25197 |
\DeclareTextCommand{\textgrq}{PU}{\textquoteleft}% |
| 25198 |
\DeclareTextCommand{\textflqq}{PU}{\guillemetleft}% |
| 25199 |
\DeclareTextCommand{\textfrqq}{PU}{\guillemetright}% |
| 25200 |
\DeclareTextCommand{\textflq}{PU}{\guilsinglleft}% |
| 25201 |
\DeclareTextCommand{\textfrq}{PU}{\guilsinglright}% |
| 25202 |
% \end{macrocode} |
| 25203 |
% Aliases (math names) |
| 25204 |
% \begin{macrocode} |
| 25205 |
\DeclareTextCommand{\textneg}{PU}{\textlogicalnot}%* |
| 25206 |
\DeclareTextCommand{\texttimes}{PU}{\textmultiply}%* |
| 25207 |
\DeclareTextCommand{\textdiv}{PU}{\textdivide}%* |
| 25208 |
\DeclareTextCommand{\textpm}{PU}{\textplusminus}%* |
| 25209 |
\DeclareTextCommand{\textcdot}{PU}{\textperiodcentered}%* |
| 25210 |
% \end{macrocode} |
| 25211 |
% |
| 25212 |
% \begin{macrocode} |
| 25213 |
%</puenc> |
| 25214 |
% \end{macrocode} |
| 25215 |
% |
| 25216 |
% \subsection{PU encoding, additions for Vn\TeX} |
| 25217 |
% |
| 25218 |
% This file is provided by Han The Thanh. |
| 25219 |
% |
| 25220 |
% \begin{macrocode} |
| 25221 |
%<*puvnenc> |
| 25222 |
% \end{macrocode} |
| 25223 |
% \begin{macrocode} |
| 25224 |
\DeclareTextCommand{\abreve}{PU}{\81\003}% U+0103 |
| 25225 |
\DeclareTextCommand{\acircumflex}{PU}{\80\342}% U+00E2 |
| 25226 |
\DeclareTextCommand{\ecircumflex}{PU}{\80\352}% U+00EA |
| 25227 |
\DeclareTextCommand{\ocircumflex}{PU}{\80\364}% U+00F4 |
| 25228 |
\DeclareTextCommand{\ohorn}{PU}{\81\241}% U+01A1 |
| 25229 |
\DeclareTextCommand{\uhorn}{PU}{\81\260}% U+01B0 |
| 25230 |
\DeclareTextCommand{\ABREVE}{PU}{\81\002}% U+0102 |
| 25231 |
\DeclareTextCommand{\ACIRCUMFLEX}{PU}{\80\302}% U+00C2 |
| 25232 |
\DeclareTextCommand{\ECIRCUMFLEX}{PU}{\80\312}% U+00CA |
| 25233 |
\DeclareTextCommand{\OCIRCUMFLEX}{PU}{\80\324}% U+00D4 |
| 25234 |
\DeclareTextCommand{\OHORN}{PU}{\81\240}% U+01A0 |
| 25235 |
\DeclareTextCommand{\UHORN}{PU}{\81\257}% U+01AF |
| 25236 |
% \end{macrocode} |
| 25237 |
% \begin{macrocode} |
| 25238 |
\DeclareTextCompositeCommand{\'}{PU}{a}{\80\341}% U+00E1 |
| 25239 |
\DeclareTextCompositeCommand{\d}{PU}{a}{\9036\241}% U+1EA1 |
| 25240 |
\DeclareTextCompositeCommand{\`}{PU}{a}{\80\340}% U+00E0 |
| 25241 |
\DeclareTextCompositeCommand{\h}{PU}{a}{\9036\243}% U+1EA3 |
| 25242 |
\DeclareTextCompositeCommand{\~}{PU}{a}{\80\343}% U+00E3 |
| 25243 |
\DeclareTextCompositeCommand{\'}{PU}{\abreve}{\9036\257}% U+1EAF |
| 25244 |
\DeclareTextCompositeCommand{\d}{PU}{\abreve}{\9036\267}% U+1EB7 |
| 25245 |
\DeclareTextCompositeCommand{\`}{PU}{\abreve}{\9036\261}% U+1EB1 |
| 25246 |
\DeclareTextCompositeCommand{\h}{PU}{\abreve}{\9036\263}% U+1EB3 |
| 25247 |
\DeclareTextCompositeCommand{\~}{PU}{\abreve}{\9036\265}% U+1EB5 |
| 25248 |
\DeclareTextCompositeCommand{\'}{PU}{\acircumflex}{\9036\245}% U+1EA5 |
| 25249 |
\DeclareTextCompositeCommand{\d}{PU}{\acircumflex}{\9036\255}% U+1EAD |
| 25250 |
\DeclareTextCompositeCommand{\`}{PU}{\acircumflex}{\9036\247}% U+1EA7 |
| 25251 |
\DeclareTextCompositeCommand{\h}{PU}{\acircumflex}{\9036\251}% U+1EA9 |
| 25252 |
\DeclareTextCompositeCommand{\~}{PU}{\acircumflex}{\9036\253}% U+1EAB |
| 25253 |
\DeclareTextCompositeCommand{\'}{PU}{e}{\80\351}% U+00E9 |
| 25254 |
\DeclareTextCompositeCommand{\d}{PU}{e}{\9036\271}% U+1EB9 |
| 25255 |
\DeclareTextCompositeCommand{\`}{PU}{e}{\80\350}% U+00E8 |
| 25256 |
\DeclareTextCompositeCommand{\h}{PU}{e}{\9036\273}% U+1EBB |
| 25257 |
\DeclareTextCompositeCommand{\~}{PU}{e}{\9036\275}% U+1EBD |
| 25258 |
\DeclareTextCompositeCommand{\'}{PU}{\ecircumflex}{\9036\277}% U+1EBF |
| 25259 |
\DeclareTextCompositeCommand{\d}{PU}{\ecircumflex}{\9036\307}% U+1EC7 |
| 25260 |
\DeclareTextCompositeCommand{\`}{PU}{\ecircumflex}{\9036\301}% U+1EC1 |
| 25261 |
\DeclareTextCompositeCommand{\h}{PU}{\ecircumflex}{\9036\303}% U+1EC3 |
| 25262 |
\DeclareTextCompositeCommand{\~}{PU}{\ecircumflex}{\9036\305}% U+1EC5 |
| 25263 |
\DeclareTextCompositeCommand{\'}{PU}{i}{\80\355}% U+00ED |
| 25264 |
\DeclareTextCompositeCommand{\d}{PU}{i}{\9036\313}% U+1ECB |
| 25265 |
\DeclareTextCompositeCommand{\`}{PU}{i}{\80\354}% U+00EC |
| 25266 |
\DeclareTextCompositeCommand{\h}{PU}{i}{\9036\311}% U+1EC9 |
| 25267 |
\DeclareTextCompositeCommand{\~}{PU}{i}{\81\051}% U+0129 |
| 25268 |
\DeclareTextCompositeCommand{\'}{PU}{o}{\80\363}% U+00F3 |
| 25269 |
\DeclareTextCompositeCommand{\d}{PU}{o}{\9036\315}% U+1ECD |
| 25270 |
\DeclareTextCompositeCommand{\`}{PU}{o}{\80\362}% U+00F2 |
| 25271 |
\DeclareTextCompositeCommand{\h}{PU}{o}{\9036\317}% U+1ECF |
| 25272 |
\DeclareTextCompositeCommand{\~}{PU}{o}{\80\365}% U+00F5 |
| 25273 |
\DeclareTextCompositeCommand{\'}{PU}{\ocircumflex}{\9036\321}% U+1ED1 |
| 25274 |
\DeclareTextCompositeCommand{\d}{PU}{\ocircumflex}{\9036\331}% U+1ED9 |
| 25275 |
\DeclareTextCompositeCommand{\`}{PU}{\ocircumflex}{\9036\323}% U+1ED3 |
| 25276 |
\DeclareTextCompositeCommand{\h}{PU}{\ocircumflex}{\9036\325}% U+1ED5 |
| 25277 |
\DeclareTextCompositeCommand{\~}{PU}{\ocircumflex}{\9036\327}% U+1ED7 |
| 25278 |
\DeclareTextCompositeCommand{\'}{PU}{\ohorn}{\9036\333}% U+1EDB |
| 25279 |
\DeclareTextCompositeCommand{\d}{PU}{\ohorn}{\9036\343}% U+1EE3 |
| 25280 |
\DeclareTextCompositeCommand{\`}{PU}{\ohorn}{\9036\335}% U+1EDD |
| 25281 |
\DeclareTextCompositeCommand{\h}{PU}{\ohorn}{\9036\337}% U+1EDF |
| 25282 |
\DeclareTextCompositeCommand{\~}{PU}{\ohorn}{\9036\341}% U+1EE1 |
| 25283 |
\DeclareTextCompositeCommand{\'}{PU}{u}{\80\372}% U+00FA |
| 25284 |
\DeclareTextCompositeCommand{\d}{PU}{u}{\9036\345}% U+1EE5 |
| 25285 |
\DeclareTextCompositeCommand{\`}{PU}{u}{\80\371}% U+00F9 |
| 25286 |
\DeclareTextCompositeCommand{\h}{PU}{u}{\9036\347}% U+1EE7 |
| 25287 |
\DeclareTextCompositeCommand{\~}{PU}{u}{\81\151}% U+0169 |
| 25288 |
\DeclareTextCompositeCommand{\'}{PU}{\uhorn}{\9036\351}% U+1EE9 |
| 25289 |
\DeclareTextCompositeCommand{\d}{PU}{\uhorn}{\9036\361}% U+1EF1 |
| 25290 |
\DeclareTextCompositeCommand{\`}{PU}{\uhorn}{\9036\353}% U+1EEB |
| 25291 |
\DeclareTextCompositeCommand{\h}{PU}{\uhorn}{\9036\355}% U+1EED |
| 25292 |
\DeclareTextCompositeCommand{\~}{PU}{\uhorn}{\9036\357}% U+1EEF |
| 25293 |
\DeclareTextCompositeCommand{\'}{PU}{y}{\80\375}% U+00FD |
| 25294 |
\DeclareTextCompositeCommand{\d}{PU}{y}{\9036\365}% U+1EF5 |
| 25295 |
\DeclareTextCompositeCommand{\`}{PU}{y}{\9036\363}% U+1EF3 |
| 25296 |
\DeclareTextCompositeCommand{\h}{PU}{y}{\9036\367}% U+1EF7 |
| 25297 |
\DeclareTextCompositeCommand{\~}{PU}{y}{\9036\371}% U+1EF9 |
| 25298 |
\DeclareTextCompositeCommand{\'}{PU}{A}{\80\301}% U+00C1 |
| 25299 |
\DeclareTextCompositeCommand{\d}{PU}{A}{\9036\240}% U+1EA0 |
| 25300 |
\DeclareTextCompositeCommand{\`}{PU}{A}{\80\300}% U+00C0 |
| 25301 |
\DeclareTextCompositeCommand{\h}{PU}{A}{\9036\242}% U+1EA2 |
| 25302 |
\DeclareTextCompositeCommand{\~}{PU}{A}{\80\303}% U+00C3 |
| 25303 |
\DeclareTextCompositeCommand{\'}{PU}{\ABREVE}{\9036\256}% U+1EAE |
| 25304 |
\DeclareTextCompositeCommand{\d}{PU}{\ABREVE}{\9036\266}% U+1EB6 |
| 25305 |
\DeclareTextCompositeCommand{\`}{PU}{\ABREVE}{\9036\260}% U+1EB0 |
| 25306 |
\DeclareTextCompositeCommand{\h}{PU}{\ABREVE}{\9036\262}% U+1EB2 |
| 25307 |
\DeclareTextCompositeCommand{\~}{PU}{\ABREVE}{\9036\264}% U+1EB4 |
| 25308 |
\DeclareTextCompositeCommand{\'}{PU}{\ACIRCUMFLEX}{\9036\244}% U+1EA4 |
| 25309 |
\DeclareTextCompositeCommand{\d}{PU}{\ACIRCUMFLEX}{\9036\254}% U+1EAC |
| 25310 |
\DeclareTextCompositeCommand{\`}{PU}{\ACIRCUMFLEX}{\9036\246}% U+1EA6 |
| 25311 |
\DeclareTextCompositeCommand{\h}{PU}{\ACIRCUMFLEX}{\9036\250}% U+1EA8 |
| 25312 |
\DeclareTextCompositeCommand{\~}{PU}{\ACIRCUMFLEX}{\9036\252}% U+1EAA |
| 25313 |
\DeclareTextCompositeCommand{\'}{PU}{E}{\80\311}% U+00C9 |
| 25314 |
\DeclareTextCompositeCommand{\d}{PU}{E}{\9036\270}% U+1EB8 |
| 25315 |
\DeclareTextCompositeCommand{\`}{PU}{E}{\80\310}% U+00C8 |
| 25316 |
\DeclareTextCompositeCommand{\h}{PU}{E}{\9036\272}% U+1EBA |
| 25317 |
\DeclareTextCompositeCommand{\~}{PU}{E}{\9036\274}% U+1EBC |
| 25318 |
\DeclareTextCompositeCommand{\'}{PU}{\ECIRCUMFLEX}{\9036\276}% U+1EBE |
| 25319 |
\DeclareTextCompositeCommand{\d}{PU}{\ECIRCUMFLEX}{\9036\306}% U+1EC6 |
| 25320 |
\DeclareTextCompositeCommand{\`}{PU}{\ECIRCUMFLEX}{\9036\300}% U+1EC0 |
| 25321 |
\DeclareTextCompositeCommand{\h}{PU}{\ECIRCUMFLEX}{\9036\302}% U+1EC2 |
| 25322 |
\DeclareTextCompositeCommand{\~}{PU}{\ECIRCUMFLEX}{\9036\304}% U+1EC4 |
| 25323 |
\DeclareTextCompositeCommand{\'}{PU}{I}{\80\315}% U+00CD |
| 25324 |
\DeclareTextCompositeCommand{\d}{PU}{I}{\9036\312}% U+1ECA |
| 25325 |
\DeclareTextCompositeCommand{\`}{PU}{I}{\80\314}% U+00CC |
| 25326 |
\DeclareTextCompositeCommand{\h}{PU}{I}{\9036\310}% U+1EC8 |
| 25327 |
\DeclareTextCompositeCommand{\~}{PU}{I}{\81\050}% U+0128 |
| 25328 |
\DeclareTextCompositeCommand{\'}{PU}{O}{\80\323}% U+00D3 |
| 25329 |
\DeclareTextCompositeCommand{\d}{PU}{O}{\9036\314}% U+1ECC |
| 25330 |
\DeclareTextCompositeCommand{\`}{PU}{O}{\80\322}% U+00D2 |
| 25331 |
\DeclareTextCompositeCommand{\h}{PU}{O}{\9036\316}% U+1ECE |
| 25332 |
\DeclareTextCompositeCommand{\~}{PU}{O}{\80\325}% U+00D5 |
| 25333 |
\DeclareTextCompositeCommand{\'}{PU}{\OCIRCUMFLEX}{\9036\320}% U+1ED0 |
| 25334 |
\DeclareTextCompositeCommand{\d}{PU}{\OCIRCUMFLEX}{\9036\330}% U+1ED8 |
| 25335 |
\DeclareTextCompositeCommand{\`}{PU}{\OCIRCUMFLEX}{\9036\322}% U+1ED2 |
| 25336 |
\DeclareTextCompositeCommand{\h}{PU}{\OCIRCUMFLEX}{\9036\324}% U+1ED4 |
| 25337 |
\DeclareTextCompositeCommand{\~}{PU}{\OCIRCUMFLEX}{\9036\326}% U+1ED6 |
| 25338 |
\DeclareTextCompositeCommand{\'}{PU}{\OHORN}{\9036\332}% U+1EDA |
| 25339 |
\DeclareTextCompositeCommand{\d}{PU}{\OHORN}{\9036\342}% U+1EE2 |
| 25340 |
\DeclareTextCompositeCommand{\`}{PU}{\OHORN}{\9036\334}% U+1EDC |
| 25341 |
\DeclareTextCompositeCommand{\h}{PU}{\OHORN}{\9036\336}% U+1EDE |
| 25342 |
\DeclareTextCompositeCommand{\~}{PU}{\OHORN}{\9036\340}% U+1EE0 |
| 25343 |
\DeclareTextCompositeCommand{\'}{PU}{U}{\80\332}% U+00DA |
| 25344 |
\DeclareTextCompositeCommand{\d}{PU}{U}{\9036\344}% U+1EE4 |
| 25345 |
\DeclareTextCompositeCommand{\`}{PU}{U}{\80\331}% U+00D9 |
| 25346 |
\DeclareTextCompositeCommand{\h}{PU}{U}{\9036\346}% U+1EE6 |
| 25347 |
\DeclareTextCompositeCommand{\~}{PU}{U}{\81\150}% U+0168 |
| 25348 |
\DeclareTextCompositeCommand{\'}{PU}{\UHORN}{\9036\350}% U+1EE8 |
| 25349 |
\DeclareTextCompositeCommand{\d}{PU}{\UHORN}{\9036\360}% U+1EF0 |
| 25350 |
\DeclareTextCompositeCommand{\`}{PU}{\UHORN}{\9036\352}% U+1EEA |
| 25351 |
\DeclareTextCompositeCommand{\h}{PU}{\UHORN}{\9036\354}% U+1EEC |
| 25352 |
\DeclareTextCompositeCommand{\~}{PU}{\UHORN}{\9036\356}% U+1EEE |
| 25353 |
\DeclareTextCompositeCommand{\'}{PU}{Y}{\80\335}% U+00DD |
| 25354 |
\DeclareTextCompositeCommand{\d}{PU}{Y}{\9036\364}% U+1EF4 |
| 25355 |
\DeclareTextCompositeCommand{\`}{PU}{Y}{\9036\362}% U+1EF2 |
| 25356 |
\DeclareTextCompositeCommand{\h}{PU}{Y}{\9036\366}% U+1EF6 |
| 25357 |
\DeclareTextCompositeCommand{\~}{PU}{Y}{\9036\370}% U+1EF8 |
| 25358 |
% \end{macrocode} |
| 25359 |
% \begin{macrocode} |
| 25360 |
%</puvnenc> |
| 25361 |
% \end{macrocode} |
| 25362 |
% |
| 25363 |
% \subsection{PU encoding, additions for Arabi} |
| 25364 |
% |
| 25365 |
% This file is provided and maintained by Youssef Jabri. |
| 25366 |
% |
| 25367 |
% \begin{macrocode} |
| 25368 |
%<*puarenc> |
| 25369 |
% \end{macrocode} |
| 25370 |
% \begin{macrocode} |
| 25371 |
% U+0621;afii57409;ARABIC LETTER HAMZA |
| 25372 |
\DeclareTextCommand{\hamza}{PU}{\86\041}% U+0621 |
| 25373 |
% U+0622;afii57410;ARABIC LETTER ALEF WITH MADDA ABOVE |
| 25374 |
\DeclareTextCommand{\alefmadda}{PU}{\86\042}% U+0622 |
| 25375 |
% U+0623;afii57411;ARABIC LETTER ALEF WITH HAMZA ABOVE |
| 25376 |
\DeclareTextCommand{\alefhamza}{PU}{\86\043}% U+0623 |
| 25377 |
% U+0624;afii57412;ARABIC LETTER WAW WITH HAMZA ABOVE |
| 25378 |
\DeclareTextCommand{\wawhamza}{PU}{\86\044}% U+0624 |
| 25379 |
% U+0625;afii57413;ARABIC LETTER ALEF WITH HAMZA BELOW |
| 25380 |
\DeclareTextCommand{\aleflowerhamza}{PU}{\86\045}% U+0625 |
| 25381 |
% U+0626;afii57414;ARABIC LETTER YEH WITH HAMZA ABOVE |
| 25382 |
\DeclareTextCommand{\yahamza}{PU}{\86\046}% U+0626 |
| 25383 |
% U+0627;afii57415;ARABIC LETTER ALEF |
| 25384 |
\DeclareTextCommand{\alef}{PU}{\86\047}% U+0627 |
| 25385 |
% U+0628;afii57416;ARABIC LETTER BEH |
| 25386 |
\DeclareTextCommand{\baa}{PU}{\86\050}% U+0628 |
| 25387 |
% U+0629;afii57417;ARABIC LETTER TEH MARBUTA |
| 25388 |
\DeclareTextCommand{\T}{PU}{\86\051}% U+0629 |
| 25389 |
% U+062A;afii57418;ARABIC LETTER TEH |
| 25390 |
\DeclareTextCommand{\taa}{PU}{\86\052}% U+062A |
| 25391 |
% U+062B;afii57419;ARABIC LETTER THEH |
| 25392 |
\DeclareTextCommand{\thaa}{PU}{\86\053}% U+062B |
| 25393 |
% U+062C;afii57420;ARABIC LETTER JEEM |
| 25394 |
\DeclareTextCommand{\jeem}{PU}{\86\054}% U+062C |
| 25395 |
% U+062D;afii57421;ARABIC LETTER HAH |
| 25396 |
\DeclareTextCommand{\Haa}{PU}{\86\055}% U+062D |
| 25397 |
% U+062E;afii57422;ARABIC LETTER KHAH |
| 25398 |
\DeclareTextCommand{\kha}{PU}{\86\056}% U+062E |
| 25399 |
% U+062F;afii57423;ARABIC LETTER DAL |
| 25400 |
\DeclareTextCommand{\dal}{PU}{\86\057}% U+062F |
| 25401 |
% U+0630;afii57424;ARABIC LETTER THAL |
| 25402 |
\DeclareTextCommand{\dhal}{PU}{\86\060}% U+0630 |
| 25403 |
% U+0631;afii57425;ARABIC LETTER REH |
| 25404 |
\DeclareTextCommand{\ra}{PU}{\86\061}% U+0631 |
| 25405 |
% U+0632;afii57426;ARABIC LETTER ZAIN |
| 25406 |
\DeclareTextCommand{\zay}{PU}{\86\062}% U+0632 |
| 25407 |
% U+0633;afii57427;ARABIC LETTER SEEN |
| 25408 |
\DeclareTextCommand{\seen}{PU}{\86\063}% U+0633 |
| 25409 |
% U+0634;afii57428;ARABIC LETTER SHEEN |
| 25410 |
\DeclareTextCommand{\sheen}{PU}{\86\064}% U+0634 |
| 25411 |
% U+0635;afii57429;ARABIC LETTER SAD |
| 25412 |
\DeclareTextCommand{\sad}{PU}{\86\065}% U+0635 |
| 25413 |
% U+0636;afii57430;ARABIC LETTER DAD |
| 25414 |
\DeclareTextCommand{\dad}{PU}{\86\066}% U+0636 |
| 25415 |
% U+0637;afii57431;ARABIC LETTER TAH |
| 25416 |
\DeclareTextCommand{\Ta}{PU}{\86\067}% U+0637 |
| 25417 |
% U+0638;afii57432;ARABIC LETTER ZAH |
| 25418 |
\DeclareTextCommand{\za}{PU}{\86\070}% U+0638 |
| 25419 |
% U+0639;afii57433;ARABIC LETTER AIN |
| 25420 |
\DeclareTextCommand{\ayn}{PU}{\86\071}% U+0639 |
| 25421 |
% U+063A;afii57434;ARABIC LETTER GHAIN |
| 25422 |
\DeclareTextCommand{\ghayn}{PU}{\86\072}% U+063A |
| 25423 |
% U+0640;afii57440;ARABIC TATWEEL |
| 25424 |
\DeclareTextCommand{\tatweel}{PU}{\86\100}% U+0640 |
| 25425 |
% U+0641;afii57441;ARABIC LETTER FEH |
| 25426 |
\DeclareTextCommand{\fa}{PU}{\86\101}% U+0641 |
| 25427 |
% U+0642;afii57442;ARABIC LETTER QAF |
| 25428 |
\DeclareTextCommand{\qaf}{PU}{\86\102}% U+0642 |
| 25429 |
% U+0643;afii57443;ARABIC LETTER KAF |
| 25430 |
\DeclareTextCommand{\kaf}{PU}{\86\103}% U+0643 |
| 25431 |
% U+0644;afii57444;ARABIC LETTER LAM |
| 25432 |
\DeclareTextCommand{\lam}{PU}{\86\104}% U+0644 |
| 25433 |
% U+0645;afii57445;ARABIC LETTER MEEM |
| 25434 |
\DeclareTextCommand{\meem}{PU}{\86\105}% U+0645 |
| 25435 |
% U+0646;afii57446;ARABIC LETTER NOON |
| 25436 |
\DeclareTextCommand{\nun}{PU}{\86\106}% U+0646 |
| 25437 |
% U+0647;afii57470;ARABIC LETTER HEH |
| 25438 |
\DeclareTextCommand{\ha}{PU}{\86\107}% U+0647 |
| 25439 |
% U+0648;afii57448;ARABIC LETTER WAW |
| 25440 |
\DeclareTextCommand{\waw}{PU}{\86\110}% U+0648 |
| 25441 |
% U+0649;afii57449;ARABIC LETTER ALEF MAKSURA |
| 25442 |
\DeclareTextCommand{\alefmaqsura}{PU}{\86\111}% U+0649 |
| 25443 |
% U+064A;afii57450;ARABIC LETTER YEH |
| 25444 |
\DeclareTextCommand{\ya}{PU}{\86\112}% U+064A |
| 25445 |
% \end{macrocode} |
| 25446 |
% \begin{macrocode} |
| 25447 |
% U+064B;afii57451;ARABIC FATHATAN |
| 25448 |
\DeclareTextCommand{\nasb}{PU}{\86\113}% U+064B |
| 25449 |
% U+064C;afii57452;ARABIC DAMMATAN |
| 25450 |
\DeclareTextCommand{\raff}{PU}{\86\114}% U+064C |
| 25451 |
% U+064D;afii57453;ARABIC KASRATAN |
| 25452 |
\DeclareTextCommand{\jarr}{PU}{\86\115}% U+064D |
| 25453 |
% U+064E;afii57454;ARABIC FATHA |
| 25454 |
\DeclareTextCommand{\fatha}{PU}{\86\116}% U+064E |
| 25455 |
% U+064F;afii57455;ARABIC DAMMA |
| 25456 |
\DeclareTextCommand{\damma}{PU}{\86\117}% U+064F |
| 25457 |
% U+0650;afii57456;ARABIC KASRA |
| 25458 |
\DeclareTextCommand{\kasra}{PU}{\86\120}% U+0650 |
| 25459 |
% U+0651;afii57457;ARABIC SHADDA |
| 25460 |
\DeclareTextCommand{\shadda}{PU}{\86\121}% U+0651 |
| 25461 |
% U+0652;afii57458;ARABIC SUKUN |
| 25462 |
\DeclareTextCommand{\sukun}{PU}{\86\122}% U+0652 |
| 25463 |
% \end{macrocode} |
| 25464 |
% Farsi |
| 25465 |
% \begin{macrocode} |
| 25466 |
% U+067E ARABIC LETTER PEH; afii57506 |
| 25467 |
\DeclareTextCommand{\peh}{PU}{\86\176}% U+067E |
| 25468 |
% U+0686 ARABIC LETTER TCHEH; afii57507 |
| 25469 |
\DeclareTextCommand{\tcheh}{PU}{\86\206}% U+0686 |
| 25470 |
% U+0698 ARABIC LETTER JEH; afii57508 |
| 25471 |
\DeclareTextCommand{\jeh}{PU}{\86\230}% U+0698 |
| 25472 |
% U+06A9 ARABIC LETTER KEHEH |
| 25473 |
\DeclareTextCommand{\farsikaf}{PU}{\86\251}% U+06A9 |
| 25474 |
% U+06AF ARABIC LETTER GAF; afii57509 |
| 25475 |
\DeclareTextCommand{\gaf}{PU}{\86\257}% U+06AF |
| 25476 |
% U+06CC ARABIC LETTER FARSI YEH |
| 25477 |
\DeclareTextCommand{\farsiya}{PU}{\86\314}% U+06CC |
| 25478 |
% \end{macrocode} |
| 25479 |
% \begin{macrocode} |
| 25480 |
% U+200C ZERO WIDTH NON-JOINER; afii61664 |
| 25481 |
\DeclareTextCommand{\ZWNJ}{PU}{\9040\014}% U+200C |
| 25482 |
% U+200D ZERO WIDTH JOINER; afii301 |
| 25483 |
\DeclareTextCommand{\textEncodingNoboundary}{PU}{\9040\015}% U+200D |
| 25484 |
% \end{macrocode} |
| 25485 |
% \begin{macrocode} |
| 25486 |
%</puarenc> |
| 25487 |
% \end{macrocode} |
| 25488 |
% |
| 25489 |
% \begin{macrocode} |
| 25490 |
%<*psdextra> |
| 25491 |
\Hy@VersionCheck{psdextra.def} |
| 25492 |
\DeclareTextCommand{\textGamma}{PU}{\83\223}%* U+0393 |
| 25493 |
\DeclareTextCommand{\textDelta}{PU}{\83\224}%* U+0394 |
| 25494 |
\DeclareTextCommand{\textTheta}{PU}{\83\230}%* U+0398 |
| 25495 |
\DeclareTextCommand{\textLambda}{PU}{\83\233}%* U+039B |
| 25496 |
\DeclareTextCommand{\textXi}{PU}{\83\236}%* U+039E |
| 25497 |
\DeclareTextCommand{\textPi}{PU}{\83\240}%* U+03A0 |
| 25498 |
\DeclareTextCommand{\textSigma}{PU}{\83\243}%* U+03A3 |
| 25499 |
\DeclareTextCommand{\textUpsilon}{PU}{\83\245}%* U+03A5 |
| 25500 |
\DeclareTextCommand{\textPhi}{PU}{\83\246}%* U+03A6 |
| 25501 |
\DeclareTextCommand{\textChi}{PU}{\83\247}% U+03A7 |
| 25502 |
\DeclareTextCommand{\textPsi}{PU}{\83\250}%* U+03A8 |
| 25503 |
\DeclareTextCommand{\textOmega}{PU}{\83\251}%* U+03A9 |
| 25504 |
\DeclareTextCommand{\textalpha}{PU}{\83\261}%* U+03B1 |
| 25505 |
\DeclareTextCommand{\textbeta}{PU}{\83\262}%* U+03B2 |
| 25506 |
\DeclareTextCommand{\textgamma}{PU}{\83\263}%* U+03B3 |
| 25507 |
\DeclareTextCommand{\textdelta}{PU}{\83\264}%* U+03B4 |
| 25508 |
\DeclareTextCommand{\textepsilon}{PU}{\83\265}%* U+03B5 |
| 25509 |
\DeclareTextCommand{\textzeta}{PU}{\83\266}%* U+03B6 |
| 25510 |
\DeclareTextCommand{\texteta}{PU}{\83\267}%* U+03B7 |
| 25511 |
\DeclareTextCommand{\texttheta}{PU}{\83\270}%* U+03B8 |
| 25512 |
\DeclareTextCommand{\textiota}{PU}{\83\271}%* U+03B9 |
| 25513 |
\DeclareTextCommand{\textkappa}{PU}{\83\272}%* U+03BA |
| 25514 |
\DeclareTextCommand{\textlambda}{PU}{\83\273}%* U+03BB |
| 25515 |
\DeclareTextCommand{\textmugreek}{PU}{\83\274}%* U+03BC |
| 25516 |
\DeclareTextCommand{\textnu}{PU}{\83\275}%* U+03BD |
| 25517 |
\DeclareTextCommand{\textxi}{PU}{\83\276}%* U+03BE |
| 25518 |
\DeclareTextCommand{\textpi}{PU}{\83\300}%* U+03C0 |
| 25519 |
\DeclareTextCommand{\textrho}{PU}{\83\301}%* U+03C1 |
| 25520 |
\DeclareTextCommand{\textvarsigma}{PU}{\83\302}%* U+03C2 |
| 25521 |
\DeclareTextCommand{\textsigma}{PU}{\83\303}%* U+03C3 |
| 25522 |
\DeclareTextCommand{\texttau}{PU}{\83\304}%* U+03C4 |
| 25523 |
\DeclareTextCommand{\textupsilon}{PU}{\83\305}%* U+03C5 |
| 25524 |
\DeclareTextCommand{\textphi}{PU}{\83\306}%* U+03C6 |
| 25525 |
\DeclareTextCommand{\textchi}{PU}{\83\307}%* U+03C7 |
| 25526 |
\DeclareTextCommand{\textpsi}{PU}{\83\310}%* U+03C8 |
| 25527 |
\DeclareTextCommand{\textomega}{PU}{\83\311}%* U+03C9 |
| 25528 |
\newcommand*{\psdmapshortnames}{% |
| 25529 |
\let\MVPlus\textMVPlus |
| 25530 |
\let\MVComma\textMVComma |
| 25531 |
\let\MVMinus\textMVMinus |
| 25532 |
\let\MVPeriod\textMVPeriod |
| 25533 |
\let\MVDivision\textMVDivision |
| 25534 |
\let\MVZero\textMVZero |
| 25535 |
\let\MVOne\textMVOne |
| 25536 |
\let\MVTwo\textMVTwo |
| 25537 |
\let\MVThree\textMVThree |
| 25538 |
\let\MVFour\textMVFour |
| 25539 |
\let\MVFive\textMVFive |
| 25540 |
\let\MVSix\textMVSix |
| 25541 |
\let\MVSeven\textMVSeven |
| 25542 |
\let\MVEight\textMVEight |
| 25543 |
\let\MVNine\textMVNine |
| 25544 |
\let\MVAt\textMVAt |
| 25545 |
\let\copyright\textcopyright |
| 25546 |
\let\twosuperior\texttwosuperior |
| 25547 |
\let\threesuperior\textthreesuperior |
| 25548 |
\let\onesuperior\textonesuperior |
| 25549 |
\let\Thorn\textThorn |
| 25550 |
\let\thorn\textthorn |
| 25551 |
\let\hbar\texthbar |
| 25552 |
\let\hausaB\texthausaB |
| 25553 |
\let\hausaD\texthausaD |
| 25554 |
\let\hausaK\texthausaK |
| 25555 |
\let\barl\textbarl |
| 25556 |
\let\inve\textinve |
| 25557 |
\let\slashc\textslashc |
| 25558 |
\let\scripta\textscripta |
| 25559 |
\let\openo\textopeno |
| 25560 |
\let\rtaild\textrtaild |
| 25561 |
\let\reve\textreve |
| 25562 |
\let\schwa\textschwa |
| 25563 |
\let\niepsilon\textniepsilon |
| 25564 |
\let\revepsilon\textrevepsilon |
| 25565 |
\let\rhookrevepsilon\textrhookrevepsilon |
| 25566 |
\let\scriptg\textscriptg |
| 25567 |
\let\scg\textscg |
| 25568 |
\let\ipagamma\textipagamma |
| 25569 |
\let\babygamma\textbabygamma |
| 25570 |
\let\bari\textbari |
| 25571 |
\let\niiota\textniiota |
| 25572 |
\let\sci\textsci |
| 25573 |
\let\scn\textscn |
| 25574 |
\let\niphi\textniphi |
| 25575 |
\let\longlegr\textlonglegr |
| 25576 |
\let\scr\textscr |
| 25577 |
\let\invscr\textinvscr |
| 25578 |
\let\esh\textesh |
| 25579 |
\let\baru\textbaru |
| 25580 |
\let\niupsilon\textniupsilon |
| 25581 |
\let\scriptv\textscriptv |
| 25582 |
\let\turnv\textturnv |
| 25583 |
\let\turnw\textturnw |
| 25584 |
\let\turny\textturny |
| 25585 |
\let\scy\textscy |
| 25586 |
\let\yogh\textyogh |
| 25587 |
\let\glotstop\textglotstop |
| 25588 |
\let\revglotstop\textrevglotstop |
| 25589 |
\let\invglotstop\textinvglotstop |
| 25590 |
\let\Gamma\textGamma |
| 25591 |
\let\Delta\textDelta |
| 25592 |
\let\Theta\textTheta |
| 25593 |
\let\Lambda\textLambda |
| 25594 |
\let\Xi\textXi |
| 25595 |
\let\Pi\textPi |
| 25596 |
\let\Sigma\textSigma |
| 25597 |
\let\Upsilon\textUpsilon |
| 25598 |
\let\Phi\textPhi |
| 25599 |
\let\Psi\textPsi |
| 25600 |
\let\Omega\textOmega |
| 25601 |
\let\alpha\textalpha |
| 25602 |
\let\beta\textbeta |
| 25603 |
\let\gamma\textgamma |
| 25604 |
\let\delta\textdelta |
| 25605 |
\let\epsilon\textepsilon |
| 25606 |
\let\zeta\textzeta |
| 25607 |
\let\eta\texteta |
| 25608 |
\let\theta\texttheta |
| 25609 |
\let\iota\textiota |
| 25610 |
\let\kappa\textkappa |
| 25611 |
\let\lambda\textlambda |
| 25612 |
\let\mu\textmu |
| 25613 |
\let\mugreek\textmugreek |
| 25614 |
\let\nu\textnu |
| 25615 |
\let\xi\textxi |
| 25616 |
\let\pi\textpi |
| 25617 |
\let\rho\textrho |
| 25618 |
\let\varsigma\textvarsigma |
| 25619 |
\let\sigma\textsigma |
| 25620 |
\let\tau\texttau |
| 25621 |
\let\upsilon\textupsilon |
| 25622 |
\let\phi\textphi |
| 25623 |
\let\chi\textchi |
| 25624 |
\let\psi\textpsi |
| 25625 |
\let\omega\textomega |
| 25626 |
\let\scd\textscd |
| 25627 |
\let\scu\textscu |
| 25628 |
\let\iinferior\textiinferior |
| 25629 |
\let\rinferior\textrinferior |
| 25630 |
\let\uinferior\textuinferior |
| 25631 |
\let\vinferior\textvinferior |
| 25632 |
\let\betainferior\textbetainferior |
| 25633 |
\let\gammainferior\textgammainferior |
| 25634 |
\let\rhoinferior\textrhoinferior |
| 25635 |
\let\phiinferior\textphiinferior |
| 25636 |
\let\chiinferior\textchiinferior |
| 25637 |
\let\barsci\textbarsci |
| 25638 |
\let\barp\textbarp |
| 25639 |
\let\barscu\textbarscu |
| 25640 |
\let\htrtaild\texthtrtaild |
| 25641 |
\let\dagger\textdagger |
| 25642 |
\let\bullet\textbullet |
| 25643 |
\let\hdotfor\texthdotfor |
| 25644 |
\let\prime\textprime |
| 25645 |
\let\second\textsecond |
| 25646 |
\let\third\textthird |
| 25647 |
\let\backprime\textbackprime |
| 25648 |
\let\lefttherefore\textlefttherefore |
| 25649 |
\let\fourth\textfourth |
| 25650 |
\let\diamonddots\textdiamonddots |
| 25651 |
\let\zerosuperior\textzerosuperior |
| 25652 |
\let\isuperior\textisuperior |
| 25653 |
\let\foursuperior\textfoursuperior |
| 25654 |
\let\fivesuperior\textfivesuperior |
| 25655 |
\let\sixsuperior\textsixsuperior |
| 25656 |
\let\sevensuperior\textsevensuperior |
| 25657 |
\let\eightsuperior\texteightsuperior |
| 25658 |
\let\ninesuperior\textninesuperior |
| 25659 |
\let\plussuperior\textplussuperior |
| 25660 |
\let\minussuperior\textminussuperior |
| 25661 |
\let\equalsuperior\textequalsuperior |
| 25662 |
\let\parenleftsuperior\textparenleftsuperior |
| 25663 |
\let\parenrightsuperior\textparenrightsuperior |
| 25664 |
\let\nsuperior\textnsuperior |
| 25665 |
\let\zeroinferior\textzeroinferior |
| 25666 |
\let\oneinferior\textoneinferior |
| 25667 |
\let\twoinferior\texttwoinferior |
| 25668 |
\let\threeinferior\textthreeinferior |
| 25669 |
\let\fourinferior\textfourinferior |
| 25670 |
\let\fiveinferior\textfiveinferior |
| 25671 |
\let\sixinferior\textsixinferior |
| 25672 |
\let\seveninferior\textseveninferior |
| 25673 |
\let\eightinferior\texteightinferior |
| 25674 |
\let\nineinferior\textnineinferior |
| 25675 |
\let\plusinferior\textplusinferior |
| 25676 |
\let\minusinferior\textminusinferior |
| 25677 |
\let\equalsinferior\textequalsinferior |
| 25678 |
\let\parenleftinferior\textparenleftinferior |
| 25679 |
\let\parenrightinferior\textparenrightinferior |
| 25680 |
\let\ainferior\textainferior |
| 25681 |
\let\einferior\texteinferior |
| 25682 |
\let\oinferior\textoinferior |
| 25683 |
\let\xinferior\textxinferior |
| 25684 |
\let\schwainferior\textschwainferior |
| 25685 |
\let\hinferior\texthinferior |
| 25686 |
\let\kinferior\textkinferior |
| 25687 |
\let\linferior\textlinferior |
| 25688 |
\let\minferior\textminferior |
| 25689 |
\let\ninferior\textninferior |
| 25690 |
\let\pinferior\textpinferior |
| 25691 |
\let\sinferior\textsinferior |
| 25692 |
\let\tinferior\texttinferior |
| 25693 |
\let\Deleatur\textDeleatur |
| 25694 |
\let\hslash\texthslash |
| 25695 |
\let\Im\textIm |
| 25696 |
\let\ell\textell |
| 25697 |
\let\wp\textwp |
| 25698 |
\let\Re\textRe |
| 25699 |
\let\mho\textmho |
| 25700 |
\let\riota\textriota |
| 25701 |
\let\Finv\textFinv |
| 25702 |
\let\aleph\textaleph |
| 25703 |
\let\beth\textbeth |
| 25704 |
\let\gimel\textgimel |
| 25705 |
\let\daleth\textdaleth |
| 25706 |
\let\fax\textfax |
| 25707 |
\let\Game\textGame |
| 25708 |
\let\leftarrow\textleftarrow |
| 25709 |
\let\uparrow\textuparrow |
| 25710 |
\let\rightarrow\textrightarrow |
| 25711 |
\let\downarrow\textdownarrow |
| 25712 |
\let\leftrightarrow\textleftrightarrow |
| 25713 |
\let\updownarrow\textupdownarrow |
| 25714 |
\let\nwarrow\textnwarrow |
| 25715 |
\let\nearrow\textnearrow |
| 25716 |
\let\searrow\textsearrow |
| 25717 |
\let\swarrow\textswarrow |
| 25718 |
\let\nleftarrow\textnleftarrow |
| 25719 |
\let\nrightarrow\textnrightarrow |
| 25720 |
\let\twoheadleftarrow\texttwoheadleftarrow |
| 25721 |
\let\ntwoheadleftarrow\textntwoheadleftarrow |
| 25722 |
\let\twoheaduparrow\texttwoheaduparrow |
| 25723 |
\let\twoheadrightarrow\texttwoheadrightarrow |
| 25724 |
\let\ntwoheadrightarrow\textntwoheadrightarrow |
| 25725 |
\let\twoheaddownarrow\texttwoheaddownarrow |
| 25726 |
\let\leftarrowtail\textleftarrowtail |
| 25727 |
\let\rightarrowtail\textrightarrowtail |
| 25728 |
\let\mapsto\textmapsto |
| 25729 |
\let\hookleftarrow\texthookleftarrow |
| 25730 |
\let\hookrightarrow\texthookrightarrow |
| 25731 |
\let\looparrowleft\textlooparrowleft |
| 25732 |
\let\looparrowright\textlooparrowright |
| 25733 |
\let\nleftrightarrow\textnleftrightarrow |
| 25734 |
\let\lightning\textlightning |
| 25735 |
\let\dlsh\textdlsh |
| 25736 |
\let\curvearrowleft\textcurvearrowleft |
| 25737 |
\let\curvearrowright\textcurvearrowright |
| 25738 |
\let\leftharpoonup\textleftharpoonup |
| 25739 |
\let\leftharpoondown\textleftharpoondown |
| 25740 |
\let\upharpoonright\textupharpoonright |
| 25741 |
\let\upharpoonleft\textupharpoonleft |
| 25742 |
\let\rightharpoonup\textrightharpoonup |
| 25743 |
\let\rightharpoondown\textrightharpoondown |
| 25744 |
\let\downharpoonright\textdownharpoonright |
| 25745 |
\let\downharpoonleft\textdownharpoonleft |
| 25746 |
\let\rightleftarrows\textrightleftarrows |
| 25747 |
\let\updownarrows\textupdownarrows |
| 25748 |
\let\leftrightarrows\textleftrightarrows |
| 25749 |
\let\leftleftarrows\textleftleftarrows |
| 25750 |
\let\upuparrows\textupuparrows |
| 25751 |
\let\rightrightarrows\textrightrightarrows |
| 25752 |
\let\downdownarrows\textdowndownarrows |
| 25753 |
\let\leftrightharpoons\textleftrightharpoons |
| 25754 |
\let\rightleftharpoons\textrightleftharpoons |
| 25755 |
\let\nLeftarrow\textnLeftarrow |
| 25756 |
\let\nLeftrightarrow\textnLeftrightarrow |
| 25757 |
\let\nRightarrow\textnRightarrow |
| 25758 |
\let\Leftarrow\textLeftarrow |
| 25759 |
\let\Uparrow\textUparrow |
| 25760 |
\let\Rightarrow\textRightarrow |
| 25761 |
\let\Downarrow\textDownarrow |
| 25762 |
\let\Leftrightarrow\textLeftrightarrow |
| 25763 |
\let\Updownarrow\textUpdownarrow |
| 25764 |
\let\Nwarrow\textNwarrow |
| 25765 |
\let\Nearrow\textNearrow |
| 25766 |
\let\Searrow\textSearrow |
| 25767 |
\let\Swarrow\textSwarrow |
| 25768 |
\let\Lleftarrow\textLleftarrow |
| 25769 |
\let\Rrightarrow\textRrightarrow |
| 25770 |
\let\leftsquigarrow\textleftsquigarrow |
| 25771 |
\let\rightsquigarrow\textrightsquigarrow |
| 25772 |
\let\dashleftarrow\textdashleftarrow |
| 25773 |
\let\dasheduparrow\textdasheduparrow |
| 25774 |
\let\dashrightarrow\textdashrightarrow |
| 25775 |
\let\dasheddownarrow\textdasheddownarrow |
| 25776 |
\let\pointer\textpointer |
| 25777 |
\let\downuparrows\textdownuparrows |
| 25778 |
\let\leftarrowtriangle\textleftarrowtriangle |
| 25779 |
\let\rightarrowtriangle\textrightarrowtriangle |
| 25780 |
\let\leftrightarrowtriangle\textleftrightarrowtriangle |
| 25781 |
\let\forall\textforall |
| 25782 |
\let\complement\textcomplement |
| 25783 |
\let\partial\textpartial |
| 25784 |
\let\exists\textexists |
| 25785 |
\let\nexists\textnexists |
| 25786 |
\let\emptyset\textemptyset |
| 25787 |
\let\triangle\texttriangle |
| 25788 |
\let\nabla\textnabla |
| 25789 |
\let\in\textinsymbol |
| 25790 |
\let\notin\textnotin |
| 25791 |
\let\smallin\textsmallin |
| 25792 |
\let\ni\textni |
| 25793 |
\let\notowner\textnotowner |
| 25794 |
\let\smallowns\textsmallowns |
| 25795 |
\let\prod\textprod |
| 25796 |
\let\amalg\textamalg |
| 25797 |
\let\sum\textsum |
| 25798 |
\let\mp\textmp |
| 25799 |
\let\dotplus\textdotplus |
| 25800 |
\let\Divides\textDivides |
| 25801 |
\let\DividesNot\textDividesNot |
| 25802 |
\let\setminus\textsetminus |
| 25803 |
\let\ast\textast |
| 25804 |
\let\circ\textcirc |
| 25805 |
\let\surd\textsurd |
| 25806 |
\let\propto\textpropto |
| 25807 |
\let\infty\textinfty |
| 25808 |
\let\angle\textangle |
| 25809 |
\let\measuredangle\textmeasuredangle |
| 25810 |
\let\sphericalangle\textsphericalangle |
| 25811 |
\let\mid\textmid |
| 25812 |
\let\nmid\textnmid |
| 25813 |
\let\parallel\textparallel |
| 25814 |
\let\nparallel\textnparallel |
| 25815 |
\let\wedge\textwedge |
| 25816 |
\let\owedge\textowedge |
| 25817 |
\let\vee\textvee |
| 25818 |
\let\ovee\textovee |
| 25819 |
\let\cap\textcap |
| 25820 |
\let\cup\textcup |
| 25821 |
\let\int\textint |
| 25822 |
\let\iint\textiint |
| 25823 |
\let\iiint\textiiint |
| 25824 |
\let\oint\textoint |
| 25825 |
\let\oiint\textoiint |
| 25826 |
\let\ointclockwise\textointclockwise |
| 25827 |
\let\ointctrclockwise\textointctrclockwise |
| 25828 |
\let\therefore\texttherefore |
| 25829 |
\let\because\textbecause |
| 25830 |
\let\vdotdot\textvdotdot |
| 25831 |
\let\squaredots\textsquaredots |
| 25832 |
\let\dotminus\textdotminus |
| 25833 |
\let\eqcolon\texteqcolon |
| 25834 |
\let\sim\textsim |
| 25835 |
\let\backsim\textbacksim |
| 25836 |
\let\nbacksim\textnbacksim |
| 25837 |
\let\wr\textwr |
| 25838 |
\let\nsim\textnsim |
| 25839 |
\let\eqsim\texteqsim |
| 25840 |
\let\neqsim\textneqsim |
| 25841 |
\let\simeq\textsimeq |
| 25842 |
\let\nsimeq\textnsimeq |
| 25843 |
\let\cong\textcong |
| 25844 |
\let\ncong\textncong |
| 25845 |
\let\approx\textapprox |
| 25846 |
\let\napprox\textnapprox |
| 25847 |
\let\approxeq\textapproxeq |
| 25848 |
\let\napproxeq\textnapproxeq |
| 25849 |
\let\triplesim\texttriplesim |
| 25850 |
\let\ntriplesim\textntriplesim |
| 25851 |
\let\backcong\textbackcong |
| 25852 |
\let\nbackcong\textnbackcong |
| 25853 |
\let\asymp\textasymp |
| 25854 |
\let\nasymp\textnasymp |
| 25855 |
\let\Bumpeq\textBumpeq |
| 25856 |
\let\nBumpeq\textnBumpeq |
| 25857 |
\let\bumpeq\textbumpeq |
| 25858 |
\let\nbumpeq\textnbumpeq |
| 25859 |
\let\doteq\textdoteq |
| 25860 |
\let\ndoteq\textndoteq |
| 25861 |
\let\doteqdot\textdoteqdot |
| 25862 |
\let\nDoteq\textnDoteq |
| 25863 |
\let\fallingdoteq\textfallingdoteq |
| 25864 |
\let\nfallingdoteq\textnfallingdoteq |
| 25865 |
\let\risingdoteq\textrisingdoteq |
| 25866 |
\let\nrisingdoteq\textnrisingdoteq |
| 25867 |
\let\colonequals\textcolonequals |
| 25868 |
\let\equalscolon\textequalscolon |
| 25869 |
\let\eqcirc\texteqcirc |
| 25870 |
\let\neqcirc\textneqcirc |
| 25871 |
\let\circeq\textcirceq |
| 25872 |
\let\ncirceq\textncirceq |
| 25873 |
\let\hateq\texthateq |
| 25874 |
\let\nhateq\textnhateq |
| 25875 |
\let\triangleeq\texttriangleeq |
| 25876 |
\let\neq\textneq |
| 25877 |
\let\ne\textne |
| 25878 |
\let\equiv\textequiv |
| 25879 |
\let\nequiv\textnequiv |
| 25880 |
\let\leq\textleq |
| 25881 |
\let\le\textle |
| 25882 |
\let\geq\textgeq |
| 25883 |
\let\ge\textge |
| 25884 |
\let\leqq\textleqq |
| 25885 |
\let\nleqq\textnleqq |
| 25886 |
\let\geqq\textgeqq |
| 25887 |
\let\ngeqq\textngeqq |
| 25888 |
\let\lneqq\textlneqq |
| 25889 |
\let\gneqq\textgneqq |
| 25890 |
\let\ll\textll |
| 25891 |
\let\nll\textnll |
| 25892 |
\let\gg\textgg |
| 25893 |
\let\ngg\textngg |
| 25894 |
\let\between\textbetween |
| 25895 |
\let\nless\textnless |
| 25896 |
\let\ngtr\textngtr |
| 25897 |
\let\nleq\textnleq |
| 25898 |
\let\ngeq\textngeq |
| 25899 |
\let\lesssim\textlesssim |
| 25900 |
\let\gtrsim\textgtrsim |
| 25901 |
\let\nlesssim\textnlesssim |
| 25902 |
\let\ngtrsim\textngtrsim |
| 25903 |
\let\lessgtr\textlessgtr |
| 25904 |
\let\gtrless\textgtrless |
| 25905 |
\let\ngtrless\textngtrless |
| 25906 |
\let\nlessgtr\textnlessgtr |
| 25907 |
\let\prec\textprec |
| 25908 |
\let\succ\textsucc |
| 25909 |
\let\preccurlyeq\textpreccurlyeq |
| 25910 |
\let\succcurlyeq\textsucccurlyeq |
| 25911 |
\let\precsim\textprecsim |
| 25912 |
\let\nprecsim\textnprecsim |
| 25913 |
\let\succsim\textsuccsim |
| 25914 |
\let\nsuccsim\textnsuccsim |
| 25915 |
\let\nprec\textnprec |
| 25916 |
\let\nsucc\textnsucc |
| 25917 |
\let\subset\textsubset |
| 25918 |
\let\supset\textsupset |
| 25919 |
\let\nsubset\textnsubset |
| 25920 |
\let\nsupset\textnsupset |
| 25921 |
\let\subseteq\textsubseteq |
| 25922 |
\let\supseteq\textsupseteq |
| 25923 |
\let\nsubseteq\textnsubseteq |
| 25924 |
\let\nsupseteq\textnsupseteq |
| 25925 |
\let\subsetneq\textsubsetneq |
| 25926 |
\let\supsetneq\textsupsetneq |
| 25927 |
\let\cupdot\textcupdot |
| 25928 |
\let\cupplus\textcupplus |
| 25929 |
\let\sqsubset\textsqsubset |
| 25930 |
\let\nsqsubset\textnsqsubset |
| 25931 |
\let\sqsupset\textsqsupset |
| 25932 |
\let\nsqsupset\textnsqsupset |
| 25933 |
\let\sqsubseteq\textsqsubseteq |
| 25934 |
\let\nsqsubseteq\textnsqsubseteq |
| 25935 |
\let\sqsupseteq\textsqsupseteq |
| 25936 |
\let\nsqsupseteq\textnsqsupseteq |
| 25937 |
\let\sqcap\textsqcap |
| 25938 |
\let\sqcup\textsqcup |
| 25939 |
\let\oplus\textoplus |
| 25940 |
\let\ominus\textominus |
| 25941 |
\let\otimes\textotimes |
| 25942 |
\let\oslash\textoslash |
| 25943 |
\let\odot\textodot |
| 25944 |
\let\circledcirc\textcircledcirc |
| 25945 |
\let\circledast\textcircledast |
| 25946 |
\let\circleddash\textcircleddash |
| 25947 |
\let\boxplus\textboxplus |
| 25948 |
\let\boxminus\textboxminus |
| 25949 |
\let\boxtimes\textboxtimes |
| 25950 |
\let\boxdot\textboxdot |
| 25951 |
\let\vdash\textvdash |
| 25952 |
\let\dashv\textdashv |
| 25953 |
\let\ndashv\textndashv |
| 25954 |
\let\top\texttop |
| 25955 |
\let\ndownvdash\textndownvdash |
| 25956 |
\let\bot\textbot |
| 25957 |
\let\nupvdash\textnupvdash |
| 25958 |
\let\vDash\textvDash |
| 25959 |
\let\Vdash\textVdash |
| 25960 |
\let\Vvdash\textVvdash |
| 25961 |
\let\nVvash\textnVvash |
| 25962 |
\let\VDash\textVDash |
| 25963 |
\let\nvdash\textnvdash |
| 25964 |
\let\nvDash\textnvDash |
| 25965 |
\let\nVdash\textnVdash |
| 25966 |
\let\nVDash\textnVDash |
| 25967 |
\let\lhd\textlhd |
| 25968 |
\let\rhd\textrhd |
| 25969 |
\let\unlhd\textunlhd |
| 25970 |
\let\unrhd\textunrhd |
| 25971 |
\let\multimapdotbothA\textmultimapdotbothA |
| 25972 |
\let\multimapdotbothB\textmultimapdotbothB |
| 25973 |
\let\multimap\textmultimap |
| 25974 |
\let\veebar\textveebar |
| 25975 |
\let\barwedge\textbarwedge |
| 25976 |
\let\star\textstar |
| 25977 |
\let\divideontimes\textdivideontimes |
| 25978 |
\let\bowtie\textbowtie |
| 25979 |
\let\ltimes\textltimes |
| 25980 |
\let\rtimes\textrtimes |
| 25981 |
\let\leftthreetimes\textleftthreetimes |
| 25982 |
\let\rightthreetimes\textrightthreetimes |
| 25983 |
\let\backsimeq\textbacksimeq |
| 25984 |
\let\nbacksimeq\textnbacksimeq |
| 25985 |
\let\curlyvee\textcurlyvee |
| 25986 |
\let\curlywedge\textcurlywedge |
| 25987 |
\let\Subset\textSubset |
| 25988 |
\let\nSubset\textnSubset |
| 25989 |
\let\Supset\textSupset |
| 25990 |
\let\nSupset\textnSupset |
| 25991 |
\let\Cap\textCap |
| 25992 |
\let\Cup\textCup |
| 25993 |
\let\pitchfork\textpitchfork |
| 25994 |
\let\lessdot\textlessdot |
| 25995 |
\let\gtrdot\textgtrdot |
| 25996 |
\let\lll\textlll |
| 25997 |
\let\ggg\textggg |
| 25998 |
\let\lesseqgtr\textlesseqgtr |
| 25999 |
\let\gtreqless\textgtreqless |
| 26000 |
\let\curlyeqprec\textcurlyeqprec |
| 26001 |
\let\ncurlyeqprec\textncurlyeqprec |
| 26002 |
\let\curlyeqsucc\textcurlyeqsucc |
| 26003 |
\let\ncurlyeqsucc\textncurlyeqsucc |
| 26004 |
\let\npreccurlyeq\textnpreccurlyeq |
| 26005 |
\let\nsucccurlyeq\textnsucccurlyeq |
| 26006 |
\let\nqsubseteq\textnqsubseteq |
| 26007 |
\let\nqsupseteq\textnqsupseteq |
| 26008 |
\let\sqsubsetneq\textsqsubsetneq |
| 26009 |
\let\sqsupsetneq\textsqsupsetneq |
| 26010 |
\let\lnsim\textlnsim |
| 26011 |
\let\gnsim\textgnsim |
| 26012 |
\let\precnsim\textprecnsim |
| 26013 |
\let\succnsim\textsuccnsim |
| 26014 |
\let\ntriangleleft\textntriangleleft |
| 26015 |
\let\ntriangleright\textntriangleright |
| 26016 |
\let\ntrianglelefteq\textntrianglelefteq |
| 26017 |
\let\ntrianglerighteq\textntrianglerighteq |
| 26018 |
\let\vdots\textvdots |
| 26019 |
\let\cdots\textcdots |
| 26020 |
\let\udots\textudots |
| 26021 |
\let\ddots\textddots |
| 26022 |
\let\barin\textbarin |
| 26023 |
\let\diameter\textdiameter |
| 26024 |
\let\backneg\textbackneg |
| 26025 |
\let\wasylozenge\textwasylozenge |
| 26026 |
\let\invbackneg\textinvbackneg |
| 26027 |
\let\clock\textclock |
| 26028 |
\let\ulcorner\textulcorner |
| 26029 |
\let\urcorner\texturcorner |
| 26030 |
\let\llcorner\textllcorner |
| 26031 |
\let\lrcorner\textlrcorner |
| 26032 |
\let\frown\textfrown |
| 26033 |
\let\smile\textsmile |
| 26034 |
\let\Keyboard\textKeyboard |
| 26035 |
\let\langle\textlangle |
| 26036 |
\let\rangle\textrangle |
| 26037 |
\let\APLinv\textAPLinv |
| 26038 |
\let\Tumbler\textTumbler |
| 26039 |
\let\notslash\textnotslash |
| 26040 |
\let\notbackslash\textnotbackslash |
| 26041 |
\let\boxbackslash\textboxbackslash |
| 26042 |
\let\APLleftarrowbox\textAPLleftarrowbox |
| 26043 |
\let\APLrightarrowbox\textAPLrightarrowbox |
| 26044 |
\let\APLuparrowbox\textAPLuparrowbox |
| 26045 |
\let\APLdownarrowbox\textAPLdownarrowbox |
| 26046 |
\let\APLinput\textAPLinput |
| 26047 |
\let\Request\textRequest |
| 26048 |
\let\Beam\textBeam |
| 26049 |
\let\hexagon\texthexagon |
| 26050 |
\let\APLbox\textAPLbox |
| 26051 |
\let\ForwardToIndex\textForwardToIndex |
| 26052 |
\let\RewindToIndex\textRewindToIndex |
| 26053 |
\let\bbslash\textbbslash |
| 26054 |
\let\CircledA\textCircledA |
| 26055 |
\let\CleaningF\textCleaningF |
| 26056 |
\let\CleaningFF\textCleaningFF |
| 26057 |
\let\CleaningP\textCleaningP |
| 26058 |
\let\CleaningPP\textCleaningPP |
| 26059 |
\let\CuttingLine\textCuttingLine |
| 26060 |
\let\UParrow\textUParrow |
| 26061 |
\let\bigtriangleup\textbigtriangleup |
| 26062 |
\let\Forward\textForward |
| 26063 |
\let\triangleright\texttriangleright |
| 26064 |
\let\RHD\textRHD |
| 26065 |
\let\DOWNarrow\textDOWNarrow |
| 26066 |
\let\bigtriangledown\textbigtriangledown |
| 26067 |
\let\Rewind\textRewind |
| 26068 |
\let\triangleleft\texttriangleleft |
| 26069 |
\let\LHD\textLHD |
| 26070 |
\let\diamond\textdiamond |
| 26071 |
\let\lozenge\textlozenge |
| 26072 |
\let\LEFTCIRCLE\textLEFTCIRCLE |
| 26073 |
\let\RIGHTCIRCLE\textRIGHTCIRCLE |
| 26074 |
\let\openbullet\textopenbullet |
| 26075 |
\let\boxbar\textboxbar |
| 26076 |
\let\bigcircle\textbigcircle |
| 26077 |
\let\Cloud\textCloud |
| 26078 |
\let\FiveStar\textFiveStar |
| 26079 |
\let\FiveStarOpen\textFiveStarOpen |
| 26080 |
\let\Phone\textPhone |
| 26081 |
\let\boxempty\textboxempty |
| 26082 |
\let\Checkedbox\textCheckedbox |
| 26083 |
\let\Crossedbox\textCrossedbox |
| 26084 |
\let\Coffeecup\textCoffeecup |
| 26085 |
\let\HandCuffLeft\textHandCuffLeft |
| 26086 |
\let\HandCuffRight\textHandCuffRight |
| 26087 |
\let\HandLeft\textHandLeft |
| 26088 |
\let\HandRight\textHandRight |
| 26089 |
\let\Radioactivity\textRadioactivity |
| 26090 |
\let\Biohazard\textBiohazard |
| 26091 |
\let\Ankh\textAnkh |
| 26092 |
\let\YinYang\textYinYang |
| 26093 |
\let\frownie\textfrownie |
| 26094 |
\let\smiley\textsmiley |
| 26095 |
\let\blacksmiley\textblacksmiley |
| 26096 |
\let\sun\textsun |
| 26097 |
\let\leftmoon\textleftmoon |
| 26098 |
\let\rightmoon\textrightmoon |
| 26099 |
\let\mercury\textmercury |
| 26100 |
\let\earth\textearth |
| 26101 |
\let\male\textmale |
| 26102 |
\let\jupiter\textjupiter |
| 26103 |
\let\saturn\textsaturn |
| 26104 |
\let\uranus\texturanus |
| 26105 |
\let\neptune\textneptune |
| 26106 |
\let\pluto\textpluto |
| 26107 |
\let\aries\textaries |
| 26108 |
\let\taurus\texttaurus |
| 26109 |
\let\gemini\textgemini |
| 26110 |
\let\cancer\textcancer |
| 26111 |
\let\leo\textleo |
| 26112 |
\let\virgo\textvirgo |
| 26113 |
\let\libra\textlibra |
| 26114 |
\let\scorpio\textscorpio |
| 26115 |
\let\sagittarius\textsagittarius |
| 26116 |
\let\capricornus\textcapricornus |
| 26117 |
\let\aquarius\textaquarius |
| 26118 |
\let\pisces\textpisces |
| 26119 |
\let\quarternote\textquarternote |
| 26120 |
\let\twonotes\texttwonotes |
| 26121 |
\let\sixteenthnote\textsixteenthnote |
| 26122 |
\let\flat\textflat |
| 26123 |
\let\natural\textnatural |
| 26124 |
\let\sharp\textsharp |
| 26125 |
\let\recycle\textrecycle |
| 26126 |
\let\Wheelchair\textWheelchair |
| 26127 |
\let\Flag\textFlag |
| 26128 |
\let\MineSign\textMineSign |
| 26129 |
\let\dsmilitary\textdsmilitary |
| 26130 |
\let\dsmedical\textdsmedical |
| 26131 |
\let\dsjuridical\textdsjuridical |
| 26132 |
\let\dschemical\textdschemical |
| 26133 |
\let\dsbiological\textdsbiological |
| 26134 |
\let\dscommercial\textdscommercial |
| 26135 |
\let\manstar\textmanstar |
| 26136 |
\let\danger\textdanger |
| 26137 |
\let\FemaleFemale\textFemaleFemale |
| 26138 |
\let\MaleMale\textMaleMale |
| 26139 |
\let\FemaleMale\textFemaleMale |
| 26140 |
\let\Hermaphrodite\textHermaphrodite |
| 26141 |
\let\Neutral\textNeutral |
| 26142 |
\let\hexstar\texthexstar |
| 26143 |
\let\SunCload\textSunCload |
| 26144 |
\let\Rain\textRain |
| 26145 |
\let\noway\textnoway |
| 26146 |
\let\Mountain\textMountain |
| 26147 |
\let\Tent\textTent |
| 26148 |
\let\ScissorRight\textScissorRight |
| 26149 |
\let\ScissorRightBrokenTop\textScissorRightBrokenTop |
| 26150 |
\let\ScissorHollowRight\textScissorHollowRight |
| 26151 |
\let\PhoneHandset\textPhoneHandset |
| 26152 |
\let\Tape\textTape |
| 26153 |
\let\Plane\textPlane |
| 26154 |
\let\Envelope\textEnvelope |
| 26155 |
\let\Peace\textPeace |
| 26156 |
\let\WritingHand\textWritingHand |
| 26157 |
\let\PencilRightDown\textPencilRightDown |
| 26158 |
\let\PencilRight\textPencilRight |
| 26159 |
\let\PencilRightUp\textPencilRightUp |
| 26160 |
\let\NibRight\textNibRight |
| 26161 |
\let\NibSolidRight\textNibSolidRight |
| 26162 |
\let\Checkmark\textCheckmark |
| 26163 |
\let\CheckmarkBold\textCheckmarkBold |
| 26164 |
\let\XSolid\textXSolid |
| 26165 |
\let\XSolidBold\textXSolidBold |
| 26166 |
\let\XSolidBrush\textXSolidBrush |
| 26167 |
\let\PlusOutline\textPlusOutline |
| 26168 |
\let\Plus\textPlus |
| 26169 |
\let\PlusThinCenterOpen\textPlusThinCenterOpen |
| 26170 |
\let\PlusCenterOpen\textPlusCenterOpen |
| 26171 |
\let\Cross\textCross |
| 26172 |
\let\CrossOpenShadow\textCrossOpenShadow |
| 26173 |
\let\CrossOutline\textCrossOutline |
| 26174 |
\let\CrossMaltese\textCrossMaltese |
| 26175 |
\let\DavidStar\textDavidStar |
| 26176 |
\let\FourAsterisk\textFourAsterisk |
| 26177 |
\let\JackStar\textJackStar |
| 26178 |
\let\JackStarBold\textJackStarBold |
| 26179 |
\let\ClowerTips\textClowerTips |
| 26180 |
\let\FourStar\textFourStar |
| 26181 |
\let\FourStarOpen\textFourStarOpen |
| 26182 |
\let\FiveStarOpenCircled\textFiveStarOpenCircled |
| 26183 |
\let\FiveStarCenterOpen\textFiveStarCenterOpen |
| 26184 |
\let\FiveStarOpenDotted\textFiveStarOpenDotted |
| 26185 |
\let\FiveStarOutline\textFiveStarOutline |
| 26186 |
\let\FiveStarOutlineHeavy\textFiveStarOutlineHeavy |
| 26187 |
\let\FiveStarConvex\textFiveStarConvex |
| 26188 |
\let\FiveStarShadow\textFiveStarShadow |
| 26189 |
\let\AsteriskBold\textAsteriskBold |
| 26190 |
\let\AsteriskCenterOpen\textAsteriskCenterOpen |
| 26191 |
\let\EightStarTaper\textEightStarTaper |
| 26192 |
\let\EightStarConvex\textEightStarConvex |
| 26193 |
\let\SixStar\textSixStar |
| 26194 |
\let\EightStar\textEightStar |
| 26195 |
\let\EightStarBold\textEightStarBold |
| 26196 |
\let\TwelveStar\textTwelveStar |
| 26197 |
\let\SixteenStarLight\textSixteenStarLight |
| 26198 |
\let\SixFlowerPetalRemoved\textSixFlowerPetalRemoved |
| 26199 |
\let\SixFlowerOpenCenter\textSixFlowerOpenCenter |
| 26200 |
\let\Asterisk\textAsterisk |
| 26201 |
\let\SixFlowerAlternate\textSixFlowerAlternate |
| 26202 |
\let\FiveFlowerPetal\textFiveFlowerPetal |
| 26203 |
\let\FiveFlowerOpen\textFiveFlowerOpen |
| 26204 |
\let\EightFlowerPetal\textEightFlowerPetal |
| 26205 |
\let\SunshineOpenCircled\textSunshineOpenCircled |
| 26206 |
\let\SixFlowerAltPetal\textSixFlowerAltPetal |
| 26207 |
\let\SnowflakeChevron\textSnowflakeChevron |
| 26208 |
\let\Snowflake\textSnowflake |
| 26209 |
\let\SnowflakeChevronBold\textSnowflakeChevronBold |
| 26210 |
\let\Sparkle\textSparkle |
| 26211 |
\let\SparkleBold\textSparkleBold |
| 26212 |
\let\AsteriskRoundedEnds\textAsteriskRoundedEnds |
| 26213 |
\let\EightFlowerPetalRemoved\textEightFlowerPetalRemoved |
| 26214 |
\let\EightAsterisk\textEightAsterisk |
| 26215 |
\let\CircleShadow\textCircleShadow |
| 26216 |
\let\SquareShadowBottomRight\textSquareShadowBottomRight |
| 26217 |
\let\SquareTopRight\textSquareTopRight |
| 26218 |
\let\SquareCastShadowBottomRight\textSquareCastShadowBottomRight |
| 26219 |
\let\SquareCastShadowTopRight\textSquareCastShadowTopRight |
| 26220 |
\let\DiamondSolid\textDiamondSolid |
| 26221 |
\let\RectangleThin\textRectangleThin |
| 26222 |
\let\Rectangle\textRectangle |
| 26223 |
\let\RectangleBold\textRectangleBold |
| 26224 |
\let\perp\textperp |
| 26225 |
\let\notperp\textnotperp |
| 26226 |
\let\veedot\textveedot |
| 26227 |
\let\wedgedot\textwedgedot |
| 26228 |
\let\leftspoon\textleftspoon |
| 26229 |
\let\lbrackdbl\textlbrackdbl |
| 26230 |
\let\rbrackdbl\textrbrackdbl |
| 26231 |
\let\circlearrowleft\textcirclearrowleft |
| 26232 |
\let\circlearrowright\textcirclearrowright |
| 26233 |
\let\longleftarrow\textlongleftarrow |
| 26234 |
\let\longrightarrow\textlongrightarrow |
| 26235 |
\let\longleftrightarrow\textlongleftrightarrow |
| 26236 |
\let\Longleftarrow\textLongleftarrow |
| 26237 |
\let\Longrightarrow\textLongrightarrow |
| 26238 |
\let\Longleftrightarrow\textLongleftrightarrow |
| 26239 |
\let\longmapsto\textlongmapsto |
| 26240 |
\let\Longmapsfrom\textLongmapsfrom |
| 26241 |
\let\Longmapsto\textLongmapsto |
| 26242 |
\let\nwsearrow\textnwsearrow |
| 26243 |
\let\neswarrow\textneswarrow |
| 26244 |
\let\lhooknwarrow\textlhooknwarrow |
| 26245 |
\let\rhooknearrow\textrhooknearrow |
| 26246 |
\let\lhooksearrow\textlhooksearrow |
| 26247 |
\let\rhookswarrow\textrhookswarrow |
| 26248 |
\let\leadsto\textleadsto |
| 26249 |
\let\rcurvearrowne\textrcurvearrowne |
| 26250 |
\let\lcurvearrowse\textlcurvearrowse |
| 26251 |
\let\lcurvearrowsw\textlcurvearrowsw |
| 26252 |
\let\rcurvearrowse\textrcurvearrowse |
| 26253 |
\let\lcurvearrowdown\textlcurvearrowdown |
| 26254 |
\let\rcurvearrowdown\textrcurvearrowdown |
| 26255 |
\let\rcurvearrowleft\textrcurvearrowleft |
| 26256 |
\let\rcurvearrowright\textrcurvearrowright |
| 26257 |
\let\leftrightharpoon\textleftrightharpoon |
| 26258 |
\let\rightleftharpoon\textrightleftharpoon |
| 26259 |
\let\updownharpoonrightleft\textupdownharpoonrightleft |
| 26260 |
\let\updownharpoonleftright\textupdownharpoonleftright |
| 26261 |
\let\leftleftharpoons\textleftleftharpoons |
| 26262 |
\let\upupharpoons\textupupharpoons |
| 26263 |
\let\rightrightharpoons\textrightrightharpoons |
| 26264 |
\let\downdownharpoons\textdowndownharpoons |
| 26265 |
\let\leftbarharpoon\textleftbarharpoon |
| 26266 |
\let\barleftharpoon\textbarleftharpoon |
| 26267 |
\let\rightbarharpoon\textrightbarharpoon |
| 26268 |
\let\barrightharpoon\textbarrightharpoon |
| 26269 |
\let\updownharpoons\textupdownharpoons |
| 26270 |
\let\downupharpoons\textdownupharpoons |
| 26271 |
\let\moo\textmoo |
| 26272 |
\let\llparenthesis\textllparenthesis |
| 26273 |
\let\rrparenthesis\textrrparenthesis |
| 26274 |
\let\invdiameter\textinvdiameter |
| 26275 |
\let\obar\textobar |
| 26276 |
\let\obslash\textobslash |
| 26277 |
\let\obot\textobot |
| 26278 |
\let\NoChemicalCleaning\textNoChemicalCleaning |
| 26279 |
\let\olessthan\textolessthan |
| 26280 |
\let\ogreaterthan\textogreaterthan |
| 26281 |
\let\boxslash\textboxslash |
| 26282 |
\let\boxbslash\textboxbslash |
| 26283 |
\let\boxast\textboxast |
| 26284 |
\let\boxcircle\textboxcircle |
| 26285 |
\let\boxbox\textboxbox |
| 26286 |
\let\Valve\textValve |
| 26287 |
\let\multimapboth\textmultimapboth |
| 26288 |
\let\shuffle\textshuffle |
| 26289 |
\let\uplus\textuplus |
| 26290 |
\let\bigdoublewedge\textbigdoublewedge |
| 26291 |
\let\bigdoublevee\textbigdoublevee |
| 26292 |
\let\Join\textJoin |
| 26293 |
\let\fatsemi\textfatsemi |
| 26294 |
\let\circplus\textcircplus |
| 26295 |
\let\minusdot\textminusdot |
| 26296 |
\let\dottimes\textdottimes |
| 26297 |
\let\dtimes\textdtimes |
| 26298 |
\let\odiv\textodiv |
| 26299 |
\let\invneg\textinvneg |
| 26300 |
\let\sqdoublecap\textsqdoublecap |
| 26301 |
\let\capdot\textcapdot |
| 26302 |
\let\sqdoublecup\textsqdoublecup |
| 26303 |
\let\doublewedge\textdoublewedge |
| 26304 |
\let\doublevee\textdoublevee |
| 26305 |
\let\doublebarwedge\textdoublebarwedge |
| 26306 |
\let\veedoublebar\textveedoublebar |
| 26307 |
\let\eqdot\texteqdot |
| 26308 |
\let\neqdot\textneqdot |
| 26309 |
\let\coloncolonequals\textcoloncolonequals |
| 26310 |
\let\leqslant\textleqslant |
| 26311 |
\let\nleqslant\textnleqslant |
| 26312 |
\let\geqslant\textgeqslant |
| 26313 |
\let\ngeqslant\textngeqslant |
| 26314 |
\let\lessapprox\textlessapprox |
| 26315 |
\let\nlessapprox\textnlessapprox |
| 26316 |
\let\gtrapprox\textgtrapprox |
| 26317 |
\let\ngtrapprox\textngtrapprox |
| 26318 |
\let\lneq\textlneq |
| 26319 |
\let\gneq\textgneq |
| 26320 |
\let\lnapprox\textlnapprox |
| 26321 |
\let\gnapprox\textgnapprox |
| 26322 |
\let\lesseqqgtr\textlesseqqgtr |
| 26323 |
\let\gtreqqless\textgtreqqless |
| 26324 |
\let\eqslantless\texteqslantless |
| 26325 |
\let\eqslantgtr\texteqslantgtr |
| 26326 |
\let\leftslice\textleftslice |
| 26327 |
\let\rightslice\textrightslice |
| 26328 |
\let\preceq\textpreceq |
| 26329 |
\let\npreceq\textnpreceq |
| 26330 |
\let\succeq\textsucceq |
| 26331 |
\let\nsucceq\textnsucceq |
| 26332 |
\let\precneq\textprecneq |
| 26333 |
\let\succneq\textsuccneq |
| 26334 |
\let\preceqq\textpreceqq |
| 26335 |
\let\npreceqq\textnpreceqq |
| 26336 |
\let\succeqq\textsucceqq |
| 26337 |
\let\nsucceqq\textnsucceqq |
| 26338 |
\let\precneqq\textprecneqq |
| 26339 |
\let\succneqq\textsuccneqq |
| 26340 |
\let\precapprox\textprecapprox |
| 26341 |
\let\nprecapprox\textnprecapprox |
| 26342 |
\let\succapprox\textsuccapprox |
| 26343 |
\let\nsuccapprox\textnsuccapprox |
| 26344 |
\let\precnapprox\textprecnapprox |
| 26345 |
\let\succnapprox\textsuccnapprox |
| 26346 |
\let\subseteqq\textsubseteqq |
| 26347 |
\let\nsubseteqq\textnsubseteqq |
| 26348 |
\let\supseteqq\textsupseteqq |
| 26349 |
\let\nsupseteqq\textnsupseteqq |
| 26350 |
\let\dashV\textdashV |
| 26351 |
\let\ndashV\textndashV |
| 26352 |
\let\Dashv\textDashv |
| 26353 |
\let\nDashv\textnDashv |
| 26354 |
\let\DashV\textDashV |
| 26355 |
\let\nDashV\textnDashV |
| 26356 |
\let\downmodels\textdownmodels |
| 26357 |
\let\ndownmodels\textndownmodels |
| 26358 |
\let\upmodels\textupmodels |
| 26359 |
\let\nupmodels\textnupmodels |
| 26360 |
\let\upspoon\textupspoon |
| 26361 |
\let\interleave\textinterleave |
| 26362 |
\let\sslash\textsslash |
| 26363 |
\let\pentagon\textpentagon |
| 26364 |
\let\varhexagon\textvarhexagon |
| 26365 |
\let\jinferior\textjinferior |
| 26366 |
\let\slashdiv\textslashdiv |
| 26367 |
\let\fivedots\textfivedots |
| 26368 |
\let\oo\textoo |
| 26369 |
\let\GaPa\textGaPa |
| 26370 |
\let\HaPa\textHaPa |
| 26371 |
\let\ViPa\textViPa |
| 26372 |
\let\AcPa\textAcPa |
| 26373 |
\let\SePa\textSePa |
| 26374 |
\let\ZwPa\textZwPa |
| 26375 |
\let\fullnote\textfullnote |
| 26376 |
\let\halfnote\texthalfnote |
| 26377 |
\let\Vier\textVier |
| 26378 |
\let\Acht\textAcht |
| 26379 |
\let\Sech\textSech |
| 26380 |
\let\Zwdr\textZwdr |
| 26381 |
\let\Mundus\textMundus |
| 26382 |
\let\Moon\textMoon |
| 26383 |
\let\ManFace\textManFace |
| 26384 |
\let\WomanFace\textWomanFace |
| 26385 |
\let\Fax\textFax |
| 26386 |
\let\Fire\textFire |
| 26387 |
\let\Bicycle\textBicycle |
| 26388 |
\let\Gentsroom\textGentsroom |
| 26389 |
\let\Ladiesroom\textLadiesroom |
| 26390 |
\let\ccnc\textccnc |
| 26391 |
\let\ccsa\textccsa |
| 26392 |
\let\Info\textInfo |
| 26393 |
\let\CESign\textCESign |
| 26394 |
\let\neg\textneg |
| 26395 |
\let\times\texttimes |
| 26396 |
\let\div\textdiv |
| 26397 |
\let\pm\textpm |
| 26398 |
\let\cdot\textcdot |
| 26399 |
}% \psdmapshortnames |
| 26400 |
\newcommand*{\psdaliasnames}{% |
| 26401 |
\let\epsdice\HyPsd@DieFace |
| 26402 |
\let\fcdice\HyPsd@DieFace |
| 26403 |
\let\MoonPha\HyPsd@MoonPha |
| 26404 |
\let\mathdollar\textdollar |
| 26405 |
\let\EyesDollar\textdollar |
| 26406 |
\let\binampersand\textampersand |
| 26407 |
\let\with\textampersand |
| 26408 |
\let\mathunderscore\textunderscore |
| 26409 |
\let\textvertline\textbar |
| 26410 |
\let\mathsterling\textsterling |
| 26411 |
\let\pounds\textsterling |
| 26412 |
\let\brokenvert\textbrokenbar |
| 26413 |
\let\mathsection\textsection |
| 26414 |
\let\S\textsection |
| 26415 |
\let\mathparagraph\textparagraph |
| 26416 |
\let\MultiplicationDot\textperiodcentered |
| 26417 |
\let\Squaredot\textperiodcentered |
| 26418 |
\let\vartimes\textmultiply |
| 26419 |
\let\MVMultiplication\textmultiply |
| 26420 |
\let\eth\dh |
| 26421 |
\let\crossd\textcrd |
| 26422 |
\let\textbard\textcrd |
| 26423 |
\let\bard\textcrd |
| 26424 |
\let\textcrh\texthbar |
| 26425 |
\let\crossh\texthbar |
| 26426 |
\let\planck\texthbar |
| 26427 |
\let\eng\ng |
| 26428 |
\let\engma\ng |
| 26429 |
\let\crossb\textcrb |
| 26430 |
\let\textbarb\textcrb |
| 26431 |
\let\barb\textcrb |
| 26432 |
\let\Florin\textflorin |
| 26433 |
\let\hv\texthvlig |
| 26434 |
\let\hausak\texthtk |
| 26435 |
\let\crossnilambda\textcrlambda |
| 26436 |
\let\barlambda\textcrlambda |
| 26437 |
\let\lambdabar\textcrlambda |
| 26438 |
\let\lambdaslash\textcrlambda |
| 26439 |
\let\textnrleg\textPUnrleg |
| 26440 |
\let\textpipevar\textpipe |
| 26441 |
\let\textdoublepipevar\textdoublepipe |
| 26442 |
\let\textdoublebarpipevar\textdoublebarpipe |
| 26443 |
\let\textcrg\textgslash |
| 26444 |
\let\textdblig\textPUdblig |
| 26445 |
\let\textqplig\textPUqplig |
| 26446 |
\let\textcentoldstyle\textslashc |
| 26447 |
\let\textbarc\textslashc |
| 26448 |
\let\inva\textturna |
| 26449 |
\let\vara\textscripta |
| 26450 |
\let\invscripta\textturnscripta |
| 26451 |
\let\rotvara\textturnscripta |
| 26452 |
\let\hookb\texthtb |
| 26453 |
\let\hausab\texthtb |
| 26454 |
\let\varopeno\textopeno |
| 26455 |
\let\curlyc\textctc |
| 26456 |
\let\taild\textrtaild |
| 26457 |
\let\hookd\texthtd |
| 26458 |
\let\hausad\texthtd |
| 26459 |
\let\er\textrhookschwa |
| 26460 |
\let\epsi\textniepsilon |
| 26461 |
\let\hookrevepsilon\textrhookrevepsilon |
| 26462 |
\let\closedrevepsilon\textcloserevepsilon |
| 26463 |
\let\barj\textbardotlessj |
| 26464 |
\let\hookg\texthtg |
| 26465 |
\let\varg\textscriptg |
| 26466 |
\let\vod\textipagamma |
| 26467 |
\let\invh\textturnh |
| 26468 |
\let\udesc\textturnh |
| 26469 |
\let\hookh\texthth |
| 26470 |
\let\voicedh\texthth |
| 26471 |
\let\hookheng\texththeng |
| 26472 |
\let\ibar\textbari |
| 26473 |
\let\vari\textniiota |
| 26474 |
\let\tildel\textltilde |
| 26475 |
\let\latfric\textbeltl |
| 26476 |
\let\taill\textrtaill |
| 26477 |
\let\lz\textlyoghlig |
| 26478 |
\let\invm\textturnm |
| 26479 |
\let\rotm\textturnm |
| 26480 |
\let\legm\textturnmrleg |
| 26481 |
\let\labdentalnas\textltailm |
| 26482 |
\let\emgma\textltailm |
| 26483 |
\let\nj\textltailn |
| 26484 |
\let\enya\textltailn |
| 26485 |
\let\tailn\textrtailn |
| 26486 |
\let\closedniomega\textcloseomega |
| 26487 |
\let\varomega\textcloseomega |
| 26488 |
\let\invr\textturnr |
| 26489 |
\let\rotr\textturnr |
| 26490 |
\let\invlegr\textturnlonglegr |
| 26491 |
\let\tailinvr\textturnrrtail |
| 26492 |
\let\legr\textlonglegr |
| 26493 |
\let\tailr\textrtailr |
| 26494 |
\let\flapr\textfishhookr |
| 26495 |
\let\flap\textfishhookr |
| 26496 |
\let\tails\textrtails |
| 26497 |
\let\curlyesh\textctesh |
| 26498 |
\let\clickt\textturnt |
| 26499 |
\let\tailt\textrtailt |
| 26500 |
\let\ubar\textbaru |
| 26501 |
\let\rotOmega\textniupsilon |
| 26502 |
\let\invv\textturnv |
| 26503 |
\let\pwedge\textturnv |
| 26504 |
\let\invw\textturnw |
| 26505 |
\let\rotw\textturnw |
| 26506 |
\let\invy\textturny |
| 26507 |
\let\roty\textturny |
| 26508 |
\let\tailz\textrtailz |
| 26509 |
\let\curlyz\textctz |
| 26510 |
\let\curlyyogh\textctyogh |
| 26511 |
\let\ejective\textglotstop |
| 26512 |
\let\glottal\textglotstop |
| 26513 |
\let\reveject\textrevglotstop |
| 26514 |
\let\clickc\textstretchc |
| 26515 |
\let\textstretchcvar\textstretchc |
| 26516 |
\let\clickb\textbullseye |
| 26517 |
\let\textObullseye\textbullseye |
| 26518 |
\let\textctjvar\textctj |
| 26519 |
\let\textturnsck\textturnk |
| 26520 |
\let\dz\textdzlig |
| 26521 |
\let\tesh\textteshlig |
| 26522 |
\let\digamma\textdigammagreek |
| 26523 |
\let\hardsign\cyrhrdsn |
| 26524 |
\let\softsign\cyrsftsn |
| 26525 |
\let\hebsin\hebshin |
| 26526 |
\let\textsck\textPUsck |
| 26527 |
\let\textscm\textPUscm |
| 26528 |
\let\textscp\textPUscp |
| 26529 |
\let\textrevscr\textPUrevscr |
| 26530 |
\let\textrhooka\textPUrhooka |
| 26531 |
\let\textrhooke\textPUrhooke |
| 26532 |
\let\textrhookepsilon\textPUrhookepsilon |
| 26533 |
\let\textrhookopeno\textPUrhookopeno |
| 26534 |
\let\textdoublevertline\textbardbl |
| 26535 |
\let\dag\textdagger |
| 26536 |
\let\ddagger\textdaggerdbl |
| 26537 |
\let\ddag\textdaggerdbl |
| 26538 |
\let\mathellipsis\textellipsis |
| 26539 |
\let\EurDig\texteuro |
| 26540 |
\let\EURdig\texteuro |
| 26541 |
\let\EurHv\texteuro |
| 26542 |
\let\EURhv\texteuro |
| 26543 |
\let\EurCr\texteuro |
| 26544 |
\let\EURcr\texteuro |
| 26545 |
\let\EurTm\texteuro |
| 26546 |
\let\EURtm\texteuro |
| 26547 |
\let\Eur\texteuro |
| 26548 |
\let\Denarius\textDeleatur |
| 26549 |
\let\agemO\textmho |
| 26550 |
\let\EstimatedSign\textestimated |
| 26551 |
\let\Ecommerce\textestimated |
| 26552 |
\let\bindnasrepma\textinvamp |
| 26553 |
\let\parr\textinvamp |
| 26554 |
\let\MVRightArrow\textrightarrow |
| 26555 |
\let\MVRightarrow\textrightarrow |
| 26556 |
\let\MVArrowDown\textdownarrow |
| 26557 |
\let\Force\textdownarrow |
| 26558 |
\let\textglobrise\textnearrow |
| 26559 |
\let\textglobfall\textsearrow |
| 26560 |
\let\Lightning\textlightning |
| 26561 |
\let\Conclusion\textRightarrow |
| 26562 |
\let\dashedleftarrow\textdashleftarrow |
| 26563 |
\let\dashedrightarrow\textdashrightarrow |
| 26564 |
\let\varnothing\textemptyset |
| 26565 |
\let\owns\textni |
| 26566 |
\let\notni\textnotowner |
| 26567 |
\let\varprop\textpropto |
| 26568 |
\let\varangle\textsphericalangle |
| 26569 |
\let\Anglesign\textsphericalangle |
| 26570 |
\let\AngleSign\textsphericalangle |
| 26571 |
\let\notdivides\textnmid |
| 26572 |
\let\varowedge\textowedge |
| 26573 |
\let\varovee\textovee |
| 26574 |
\let\varint\textint |
| 26575 |
\let\varoint\textoint |
| 26576 |
\let\downtherefore\textbecause |
| 26577 |
\let\textdotdiv\textdotminus |
| 26578 |
\let\AC\textsim |
| 26579 |
\let\wreath\textwr |
| 26580 |
\let\nthickapprox\textnapprox |
| 26581 |
\let\VHF\texttriplesim |
| 26582 |
\let\notasymp\textnasymp |
| 26583 |
\let\Doteq\textdoteqdot |
| 26584 |
\let\corresponds\texthateq |
| 26585 |
\let\Corresponds\texthateq |
| 26586 |
\let\nequal\textneq |
| 26587 |
\let\Congruent\textequiv |
| 26588 |
\let\NotCongruent\textnequiv |
| 26589 |
\let\notequiv\textnequiv |
| 26590 |
\let\LessOrEqual\textleq |
| 26591 |
\let\LargerOrEqual\textgeq |
| 26592 |
\let\apprle\textlesssim |
| 26593 |
\let\apprge\textgtrsim |
| 26594 |
\let\varoplus\textoplus |
| 26595 |
\let\varominus\textominus |
| 26596 |
\let\varotimes\textotimes |
| 26597 |
\let\varoslash\textoslash |
| 26598 |
\let\varodot\textodot |
| 26599 |
\let\ocirc\textcircledcirc |
| 26600 |
\let\varocircle\textcircledcirc |
| 26601 |
\let\varoast\textcircledast |
| 26602 |
\let\oasterisk\textcircledast |
| 26603 |
\let\rightvdash\textvdash |
| 26604 |
\let\leftvdash\textdashv |
| 26605 |
\let\nleftvdash\textndashv |
| 26606 |
\let\downvdash\texttop |
| 26607 |
\let\upvdash\textbot |
| 26608 |
\let\nperp\textnupvdash |
| 26609 |
\let\models\textvDash |
| 26610 |
\let\rightmodels\textvDash |
| 26611 |
\let\rightVdash\textVdash |
| 26612 |
\let\rightModels\textVDash |
| 26613 |
\let\nrightvdash\textnvdash |
| 26614 |
\let\nrightmodels\textnvDash |
| 26615 |
\let\nmodels\textnvDash |
| 26616 |
\let\nrightVdash\textnVdash |
| 26617 |
\let\nrightModels\textnVDash |
| 26618 |
\let\lessclosed\textlhd |
| 26619 |
\let\gtrclosed\textrhd |
| 26620 |
\let\leqclosed\textunlhd |
| 26621 |
\let\trianglelefteq\textunlhd |
| 26622 |
\let\geqclosed\textunrhd |
| 26623 |
\let\trianglerighteq\textunrhd |
| 26624 |
\let\Bowtie\textbowtie |
| 26625 |
\let\varcurlyvee\textcurlyvee |
| 26626 |
\let\varcurlywedge\textcurlywedge |
| 26627 |
\let\doublecap\textCap |
| 26628 |
\let\doublecup\textCup |
| 26629 |
\let\varsqsubsetneq\textsqsubsetneq |
| 26630 |
\let\varsqsupsetneq\textsqsupsetneq |
| 26631 |
\let\nlessclosed\textntriangleleft |
| 26632 |
\let\ngtrclosed\textntriangleright |
| 26633 |
\let\Clocklogo\textclock |
| 26634 |
\let\ClockLogo\textclock |
| 26635 |
\let\baro\textstmaryrdbaro |
| 26636 |
\let\varparallelinv\textbbslash |
| 26637 |
\let\CleaningA\textCircledA |
| 26638 |
\let\Kutline\textCuttingLine |
| 26639 |
\let\CutLine\textCuttingLine |
| 26640 |
\let\Cutline\textCuttingLine |
| 26641 |
\let\MoveUp\textUParrow |
| 26642 |
\let\APLup\textbigtriangleup |
| 26643 |
\let\Bleech\textbigtriangleup |
| 26644 |
\let\MoveDown\textDOWNarrow |
| 26645 |
\let\APLdown\textbigtriangledown |
| 26646 |
\let\Diamond\textdiamond |
| 26647 |
\let\varbigcirc\textbigcircle |
| 26648 |
\let\Telefon\textPhone |
| 26649 |
\let\Box\textboxempty |
| 26650 |
\let\CheckedBox\textCheckedbox |
| 26651 |
\let\XBox\textCrossedbox |
| 26652 |
\let\CrossedBox\textCrossedbox |
| 26653 |
\let\rightpointleft\textHandLeft |
| 26654 |
\let\leftpointright\textHandRight |
| 26655 |
\let\PointingHand\textHandRight |
| 26656 |
\let\Pointinghand\textHandRight |
| 26657 |
\let\Radiation\textRadioactivity |
| 26658 |
\let\Yinyang\textYinYang |
| 26659 |
\let\YingYang\textYinYang |
| 26660 |
\let\Yingyang\textYinYang |
| 26661 |
\let\Frowny\textfrownie |
| 26662 |
\let\Smiley\textsmiley |
| 26663 |
\let\Sun\textsun |
| 26664 |
\let\Mercury\textmercury |
| 26665 |
\let\textfemale\textPUfemale |
| 26666 |
\let\female\textPUfemale |
| 26667 |
\let\venus\textPUfemale |
| 26668 |
\let\Venus\textPUfemale |
| 26669 |
\let\Female\textPUfemale |
| 26670 |
\let\Earth\textearth |
| 26671 |
\let\mars\textmale |
| 26672 |
\let\Mars\textmale |
| 26673 |
\let\Male\textmale |
| 26674 |
\let\Jupiter\textjupiter |
| 26675 |
\let\Saturn\textsaturn |
| 26676 |
\let\Uranus\texturanus |
| 26677 |
\let\Neptune\textneptune |
| 26678 |
\let\Pluto\textpluto |
| 26679 |
\let\Aries\textaries |
| 26680 |
\let\Taurus\texttaurus |
| 26681 |
\let\Gemini\textgemini |
| 26682 |
\let\Cancer\textcancer |
| 26683 |
\let\Leo\textleo |
| 26684 |
\let\Virgo\textvirgo |
| 26685 |
\let\Libra\textlibra |
| 26686 |
\let\Scorpio\textscorpio |
| 26687 |
\let\Sagittarius\textsagittarius |
| 26688 |
\let\Capricorn\textcapricornus |
| 26689 |
\let\Aquarius\textaquarius |
| 26690 |
\let\Pisces\textpisces |
| 26691 |
\let\spadesuit\textspadesuitblack |
| 26692 |
\let\Heart\textheartsuitwhite |
| 26693 |
\let\heartsuit\textheartsuitwhite |
| 26694 |
\let\diamondsuit\textdiamondsuitwhite |
| 26695 |
\let\clubsuit\textclubsuitblack |
| 26696 |
\let\eighthnote\textmusicalnote |
| 26697 |
\let\Recycling\textrecycle |
| 26698 |
\let\VarFlag\textFlag |
| 26699 |
\let\textxswup\textdsmilitary |
| 26700 |
\let\textuncrfemale\textPUuncrfemale |
| 26701 |
\let\Football\textSoccerBall |
| 26702 |
\let\CutLeft\textScissorRightBrokenBottom |
| 26703 |
\let\Cutright\textScissorRightBrokenBottom |
| 26704 |
\let\RightScissors\textScissorRight |
| 26705 |
\let\Leftscissors\textScissorRight |
| 26706 |
\let\Letter\textEnvelope |
| 26707 |
\let\Writinghand\textWritingHand |
| 26708 |
\let\checkmark\textCheckmark |
| 26709 |
\let\davidstar\textDavidStar |
| 26710 |
\let\llbracket\textlbrackdbl |
| 26711 |
\let\rrbracket\textrbrackdbl |
| 26712 |
\let\RightTorque\textlcurvearrowdown |
| 26713 |
\let\Righttorque\textlcurvearrowdown |
| 26714 |
\let\LeftTorque\textrcurvearrowdown |
| 26715 |
\let\Lefttorque\textrcurvearrowdown |
| 26716 |
\let\textvarobar\textobar |
| 26717 |
\let\circledbslash\textobslash |
| 26718 |
\let\obackslash\textobslash |
| 26719 |
\let\varobslash\textobslash |
| 26720 |
\let\odplus\textobot |
| 26721 |
\let\varolessthan\textolessthan |
| 26722 |
\let\varogreaterthan\textogreaterthan |
| 26723 |
\let\divdot\textminusdot |
| 26724 |
\let\doublesqcap\textsqdoublecap |
| 26725 |
\let\doublesqcup\textsqdoublecup |
| 26726 |
\let\merge\textdoublevee |
| 26727 |
\let\leftVdash\textdashV |
| 26728 |
\let\nleftVdash\textndashV |
| 26729 |
\let\leftmodels\textDashv |
| 26730 |
\let\nleftmodels\textnDashv |
| 26731 |
\let\leftModels\textDashV |
| 26732 |
\let\nleftModels\textnDashV |
| 26733 |
\let\varparallel\textsslash |
| 26734 |
\let\textheng\textPUheng |
| 26735 |
\let\textlhookfour\textPUlhookfour |
| 26736 |
\let\textscf\textPUscf |
| 26737 |
\let\textaolig\textPUaolig |
| 26738 |
\let\Ganz\textfullnote |
| 26739 |
\let\Halb\texthalfnote |
| 26740 |
\let\Womanface\textWomanFace |
| 26741 |
\let\Faxmachine\textFax |
| 26742 |
\let\CEsign\textCESign |
| 26743 |
}% \psdaliasnames |
| 26744 |
%</psdextra> |
| 26745 |
% \end{macrocode} |
| 26746 |
% |
| 26747 |
% \section{End of file hycheck.tex} |
| 26748 |
% |
| 26749 |
% \begin{macrocode} |
| 26750 |
%<*check> |
| 26751 |
\typeout{} |
| 26752 |
\begin{document} |
| 26753 |
\end{document} |
| 26754 |
%</check> |
| 26755 |
% \end{macrocode} |
| 26756 |
% |
| 26757 |
% \Finale |
| 26758 |
% |
| 26759 |
\endinput |