diff options
Diffstat (limited to 'Master')
22 files changed, 14517 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty new file mode 100644 index 00000000000..7de1c59f522 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty @@ -0,0 +1,280 @@ +%% +%% This is file `backref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% backref.dtx (with options: `package') +%% +\def\fileversion{1.23} +\def\filedate{2003/03/20} +%% File: backref.dtx Copyright (C) 1995-2003 David Carlisle, Sebastian Rahtz, Heiko Oberdiek +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +\ProvidesPackage{backref}% + [\filedate\space v\fileversion\space Bibliographical back referencing] +\newif\ifBR@verbose +\@ifundefined{ifHy@verbose}{% + \BR@verbosefalse +}{% + \let\ifBR@verbose\ifHy@verbose +} +\DeclareOption{verbose}{\BR@verbosetrue} +\long\def\page@backref#1#2#3{#1} +\long\def\section@backref#1#2#3{#2} +\long\def\hyper@section@backref#1#2#3{\hyperlink{#3}{#2}} +\long\def\hyper@page@backref#1#2#3{\hyperlink{page.#1}{#1}} +\DeclareOption{pageref}{% + \def\backref{\backrefpagesname\ }% + \let\backrefxxx\page@backref +} +\DeclareOption{ref}{% + \def\backref{\backrefsectionsname\ }% + \let\backrefxxx\section@backref +} +\DeclareOption{hyperref}{% + \def\backref{}\let\backrefxxx\hyper@section@backref +} +\DeclareOption{hyperpageref}{% + \def\backref{}\let\backrefxxx\hyper@page@backref +} +\def\backrefenglish{% + \def\backrefpagesname{pages}% + \def\backrefsectionsname{sections}% + \def\backrefsep{, }% + \def\backreftwosep{ and~}% + \def\backreflastsep{, and~}% +} +\def\backrefgerman{% + \def\backrefpagesname{Seiten}% + \def\backrefsectionsname{Abschnitte}% + \def\backrefsep{, }% + \def\backreftwosep{ und~}% + \def\backreflastsep{ und~}% +} +\def\backreffrench{% + \def\backrefpagesname{pages}% + \def\backrefsectionsname{sections}% + \def\backrefsep{, }% + \def\backreftwosep{ et~}% + \def\backreflastsep{ et~}% +} +\def\backrefspanish{% + \def\backrefpagesname{p\'aginas} + \def\backrefsectionsname{secciones} + \def\backrefsep{, }% + \def\backreftwosep{ y~}% + \def\backreflastsep{ y~}% +} +\def\backrefafrikaans{% + \def\backrefpagesname{bladsye}% + \def\backrefsectionsname{afdelings}% + \def\backrefsep{, }% + \def\backreftwosep{ en~}% + \def\backreflastsep{ en~}% +}% +\def\BR@addto#1#2{% + #2% + \@temptokena{#2}% + \ifx#1\relax + \let#1\@empty + \fi + \ifx#1\undefined + \edef#1{\the\@temptokena}% + \else + \toks@\expandafter{#1}% + \edef#1{\the\toks@\the\@temptokena}% + \fi + \@temptokena{}\toks@\@temptokena +} +\def\BR@DeclareLang#1#2{% + \begingroup + \edef\x##1##2{% + \noexpand\ifx##2\relax + \errmessage{No definitions for language `#2' found!}% + \noexpand\fi + \endgroup + \noexpand\DeclareOption{#1}{% + \noexpand\BR@addto{\noexpand##1}{\noexpand##2}% + }% + }% + \expandafter\x\csname extras#1\expandafter\endcsname + \csname backref#2\expandafter\endcsname +} +\BR@DeclareLang{english}{english} +\BR@DeclareLang{UKenglish}{english} +\BR@DeclareLang{USenglish}{english} +\BR@DeclareLang{british}{english} +\BR@DeclareLang{german}{german} +\BR@DeclareLang{ngerman}{german} +\BR@DeclareLang{austrian}{german} +\BR@DeclareLang{naustrian}{german} +\BR@DeclareLang{french}{french} +\BR@DeclareLang{frenchb}{french} +\BR@DeclareLang{francais}{french} +\BR@DeclareLang{spanish}{spanish} +\BR@DeclareLang{afrikaans}{afrikaans} +\backrefenglish +\ExecuteOptions{pageref} +\ProcessOptions*\relax +\def\BR@bibitem{\@ifnextchar[\BR@@lbibitem\BR@@bibitem} +\def\BR@@lbibitem[#1]#2#3\par{% + \BRorg@bibitem[#1]{#2}#3% + \BR@backref{#2}% +}% +\def\BR@@bibitem#1#2\par{% + \BRorg@bibitem{#1}#2% + \BR@backref{#1}% +} +\def\BR@backref#1{% + \newblock + \begingroup + \csname @safe@activestrue\endcsname + \expandafter\providecommand\csname brc@#1\endcsname{0}% + \expandafter\providecommand\csname brcd@#1\endcsname{0}% + \csname @safe@activesfalse\expandafter\endcsname + \expandafter\backref\csname br@#1\expandafter\endcsname + \expandafter\backrefalt\csname brc@#1\expandafter\endcsname + \csname brl@#1\expandafter\endcsname + \csname brcd@#1\expandafter\endcsname + \csname brld@#1\endcsname + \endgroup + \par +} +\@ifundefined{newblock}{\def\newblock{\par}}{} +\providecommand*{\backrefalt}[4]{} +\def\backcite#1#2{% + \@for\x:=#1\do{% + \begingroup + \csname @safe@activestrue\endcsname + \edef\x{\endgroup + \def\noexpand\x{\expandafter\@firstofone\x\@empty}% + }% + \x + \expandafter\ifx\csname br@\x\endcsname\relax + \expandafter\protected@xdef\csname br@\x\endcsname{% + \protect\backrefxxx#2% + }% + \global\expandafter\let\csname brl@\x\expandafter\endcsname + \csname br@\x\endcsname + \global\expandafter\let\csname brld@\x\expandafter\endcsname + \csname br@\x\endcsname + \expandafter\gdef\csname brc@\x\endcsname{1}% + \expandafter\gdef\csname brcd@\x\endcsname{1}% + \else + \begingroup + \@ifundefined{backrefxxxdupe}{}{\let\backrefxxx\backrefxxxdupe}% + \expandafter\def\expandafter\reserved@a\expandafter{% + \backrefxxx#2% + }% + \let\BRorg@backrefxxx\backrefxxx + \global\let\BR@found=N% + \long\def\backrefxxx##1##2##3{% + \expandafter\def\expandafter\reserved@b\expandafter{% + \BRorg@backrefxxx{##1}{##2}{##3}% + }% + \ifx\reserved@a\reserved@b + \global\let\BR@found=Y% + \fi + }% + \setbox\@tempboxa\hbox{\csname br@\x\endcsname}% + \endgroup + \let\backrefsep\relax + \def\backreftwosep{\backrefsep}% + \def\backreflastsep{\backrefsep}% + \if N\BR@found + \expandafter\protected@xdef\csname br@\x\endcsname{% + \csname br@\x\endcsname, % + \protect\backrefxxx#2% + }% + \expandafter\protected@xdef\csname brl@\x\endcsname{% + \csname brl@\x\endcsname + \ifnum\@nameuse{brc@\x}=1 % + \noexpand\backreftwosep + \else + \noexpand\backreflastsep + \fi + \protect\backrefxxx#2% + }% + \count@=\@nameuse{brc@\x}\relax + \advance\count@ by 1 % + \expandafter\xdef\csname brc@\x\endcsname{\the\count@}% + \fi + \expandafter\protected@xdef\csname brld@\x\endcsname{% + \csname brld@\x\endcsname + \ifnum\@nameuse{brcd@\x}=1 % + \noexpand\backreftwosep + \else + \noexpand\backreflastsep + \fi + \protect\backrefxxx#2% + }% + \count@=\@nameuse{brcd@\x}\relax + \advance\count@ by 1 % + \expandafter\xdef\csname brcd@\x\endcsname{\the\count@}% + \fi + }% +} +\def\@currentHref{} +\AtBeginDocument{% + \let\BRorg@bibitem\bibitem + \let\bibitem\BR@bibitem + \let\BRorg@thebibliography\thebibliography + \def\thebibliography{% + \@starttoc{brf}{}% + \BRorg@thebibliography + }% + \@ifundefined{NAT@parse}{% + \global\let\BRorg@citex\@citex + \global\let\@citex\BR@citex + }{% + \@ifpackageloaded{hyperref}{}{% + \def\hyper@natlinkstart#1{\Hy@backout{#1}}% + }% + \PackageInfo{backref}{** backref set up for natbib **}% + }% +} +\def\BR@citex[#1]#2{% + \BRorg@citex[#1]{#2}% + \ifBR@verbose + \PackageInfo{backref}{back cite \string`#2\string'}% + \fi + \Hy@backout{#2}% +} +\@ifpackageloaded{chicago}{% + \let\BRorg@citedatax\@citedatax + \def\@citedatax[#1]#2{% + \BRorg@citedatax[#1]{#2}% + \Hy@backout{#2}% + }% +}{} +\def\Hy@backout#1{% + \@bsphack + \ifx\@empty\@currentlabel + \protected@write\@auxout{}{% + \string\@writefile{brf}{% + \string\backcite{#1}{{\thepage}{(document)}{Doc-Start}}% + }% + }% + \else + \protected@write\@auxout{}{% + \string\@writefile{brf}{% + \string\backcite{#1}{{\thepage}{\@currentlabel}{\@currentHref}}% + }% + }% + \fi + \@esphack +} +\endinput +%% +%% End of file `backref.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def new file mode 100644 index 00000000000..c9203673486 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -0,0 +1,913 @@ +%% +%% This is file `hdvipdfm.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `dvipdfm,pdfform,outlines') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hdvipdfm.def} + [2003/11/30 v6.74m + Hyperref driver for dvipdfm] +\def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} +\ifHy@pagelabels + \def\HyPL@StorePageLabel#1{% + \if@filesw + \begingroup + \edef\Hy@tempa{\the\Hy@abspage\space<< #1 >> }% + \immediate\write\@mainaux{% + \string\HyPL@Entry{\Hy@tempa}% + }% + \endgroup + \fi + } + \AfterBeginDocument{% + \if@filesw + \immediate\write\@mainaux{% + \string\providecommand\string*\string\HyPL@Entry[1]{}% + }% + \fi + \ifx\HyPL@Labels\@empty + \Hy@WarningNoLine{Rerun to get /PageLabels entry}% + \else + \HyPL@SetPageLabels + \fi + \let\HyPL@Entry\@gobble + }% + \def\HyPL@Entry#1{% + \expandafter\gdef\expandafter\HyPL@Labels\expandafter{% + \HyPL@Labels + #1% + }% + } +\fi +\newsavebox{\pdfm@box} +\def\@pdfm@mark#1{\special{pdf:#1}} +\def\@pdfm@dest#1{% + \Hy@SaveLastskip + \@pdfm@mark{dest (#1) [@thispage /\@pdfview\space @xpos @ypos]}% + \Hy@RestoreLastskip +} +\providecommand\@pdfview{XYZ} +\providecommand\@pdfborder{0 0 1} +\def\hyper@anchor#1{% + \@pdfm@dest{#1}% +} +\def\hyper@anchorstart#1{% + \Hy@activeanchortrue + \@pdfm@dest{#1}% +} +\def\hyper@anchorend{% + \Hy@activeanchorfalse +} +\def\Hy@undefinedname{UNDEFINED} +\def\hyper@linkstart#1#2{% + \protected@edef\Hy@testname{#2}% + \ifx\Hy@testname\@empty + \let\Hy@testname\Hy@undefinedname + \fi + \@pdfm@mark{% + bann << + /Type /Annot + /Subtype /Link + /Border [\@pdfborder] + /C [\csname @#1bordercolor\endcsname] + /A << + /S /GoTo + /D (\Hy@testname) + >> + >> + }% + \Hy@colorlink{\csname @#1color\endcsname}% +} +\def\hyper@linkend{% + \Hy@endcolorlink + \@pdfm@mark{eann}% +} +\def\hyper@link#1#2#3{% + \hyper@linkstart{#1}{#2}#3\hyper@linkend +} +\def\hyper@linkfile#1#2#3{% + \@pdfm@mark{% + bann << + /Type /Annot + /Subtype /Link + /Border [\@pdfborder] + /C [\@filebordercolor] + /A << + /S /GoToR + /F (#2) + /D \ifx\\#3\\[0 \@pdfstartview]\else(#3)\fi\space + \ifHy@newwindow /NewWindow true \fi + >> + >>% + }% + \Hy@colorlink{\@filecolor}#1\Hy@endcolorlink + \@pdfm@mark{eann}% +} +\def\@hyper@launch run:#1\\#2#3{% filename, anchor text linkname + \@pdfm@mark{% + bann << + /Type /Annot + /Subtype /Link + /Border [\@pdfborder] + /C [\@filebordercolor] + /A << + /S /Launch + /F (#1) + \ifHy@newwindow /NewWindow true \fi + \ifx\\#3\\% + \else + /Win << /P (#3) /F (#1) >> + \fi + >> + >>% + }% + \Hy@colorlink{\@filecolor}#2\Hy@endcolorlink + \@pdfm@mark{eann}% +} +\def\hyper@linkurl#1#2{% + \@pdfm@mark{% + bann << + /Type /Annot + /Subtype /Link + /Border [\@pdfborder] + /C [\@urlbordercolor] + /A << + /S /URI + /URI (#2) + >> + >>% + }% + \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink + \@pdfm@mark{eann}% +} +\def\Acrobatmenu#1#2{% + \@pdfm@mark{% + bann << + /Type /Annot + /Subtype /Link + /A << + /S /Named + /N /#1 + >> + /Border [\@pdfborder] + /C [\@menubordercolor] + >>% + }% + \Hy@colorlink{\@menucolor}#2\Hy@endcolorlink + \@pdfm@mark{eann}% +} +\def\@pdfproducer{dvipdfm} +\def\PDF@FinishDoc{% + \Hy@UseMaketitleInfos + \@pdfm@mark{% + docinfo << + /Title (\@pdftitle) + /Subject (\@pdfsubject) + /Creator (\@pdfcreator) + /Author (\@pdfauthor) + /Producer (\@pdfproducer) + /Keywords (\@pdfkeywords) + >>% + }% + \Hy@DisableOption{pdfauthor}% + \Hy@DisableOption{pdftitle}% + \Hy@DisableOption{pdfsubject}% + \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfproducer}% + \Hy@DisableOption{pdfkeywords}% +} +\def\PDF@SetupDoc{% + \edef\Hy@temp{% + \ifHy@toolbar\else /HideToolbar true\fi + \ifHy@menubar\else /HideMenubar true\fi + \ifHy@windowui\else /HideWindowUI true\fi + \ifHy@fitwindow /FitWindow true\fi + \ifHy@centerwindow /CenterWindow true\fi + \ifHy@displaydoctitle /DisplayDocTitle true\fi + \ifx\@pdfnonfullscreenpagemode\@empty + \else + /NonFullScreenPageMode\@pdfnonfullscreenpagemode + \fi + }% + \@pdfm@mark{% + docview <<% + \ifx\@pdfstartview\@empty + \else + /OpenAction[@page\@pdfstartpage\@pdfstartview]% + \fi + \ifx\@baseurl\@empty + \else + /URI<</Base(\@baseurl)>>% + \fi + /PageMode \@pdfpagemode + \ifx\Hy@temp\@empty + \else + /ViewerPreferences<<\Hy@temp>>% + \fi + \ifx\pdf@pagelayout\@empty + \else + /PageLayout/\pdf@pagelayout\space + \fi + >>% + }% + \ifx\@pdfpagescrop\@empty + \else + \@pdfm@mark{put @pages <</CropBox[\@pdfpagescrop]>>} + \fi +} +\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum + \typeout{Sorry, dvipdfm does not support FORM gauges}% +} +\def\@Form[#1]{% + \@ifundefined{textcolor}{\let\textcolor\@gobble}{}% + \setkeys{Form}{#1}% + \@pdfm@mark{obj @afields [ ]}% + \@pdfm@mark{obj @corder [ ]}% + \@pdfm@mark{% + obj @aform << + /Fields @afields + /DR << /Font << /ZaDb @OBJZaDb /Helv @OBJHelv >> >> + /DA (/Helv 10 Tf 0 g ) + /CO @corder + /NeedAppearances true + >>% + }% + \@pdfm@mark{put @catalog << /AcroForm @aform >>}% +} +\def\@endForm{} +\def\dvipdfm@setdim{% + height \the\ht\pdfm@box\space + width \the\wd\pdfm@box\space + depth \the\dp\pdfm@box\space +} +\def\@TextField[#1]#2{% parameters, label + \def\Fld@name{#2}% + \def\Fld@default{}% + \let\Fld@value\@empty + \def\Fld@width{\DefaultWidthofText}% + \def\Fld@height{\DefaultHeightofText}% + \ifFld@multiline + \begingroup + \dimen@=\DefaultHeightofText + \dimen@=4\dimen@ + \edef\x{\endgroup + \def\noexpand\Fld@height{\the\dimen@}% + }% + \x + \fi + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi + \setbox\pdfm@box=\hbox{% + \MakeTextField{\Fld@width}{\Fld@height}% + }% + \LayoutTextField{#2}{% + \@pdfm@mark{% + ann @\Fld@name\space \dvipdfm@setdim << \PDFForm@Text >>% + }% + }% + \unhbox\pdfm@box + \@pdfm@mark{put @afields @\Fld@name}% record in @afields array + \egroup +} +\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices + \def\Fld@name{#2}% + \def\Fld@default{}% + \def\Fld@width{\DefaultWidthofChoiceMenu}% + \def\Fld@height{\DefaultHeightofChoiceMenu}% + \bgroup + \Fld@menulength=0 + \@tempdima\z@ + \@for\@curropt:=#3\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@menulength + \settowidth{\@tempdimb}{\@currDisplay}% + \ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi + }% + \advance\@tempdima by 15\p@ + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutChoiceField{#2}{% + \ifFld@radio + \@@Radio{#3}% + \else + {% + \ifdim\Fld@width<\@tempdima + \ifdim\@tempdima<1cm\@tempdima1cm\fi + \edef\Fld@width{\the\@tempdima}% + \fi + \def\Fld@flags{}% + \ifFld@combo\def\Fld@flags{/Ff 917504}\fi + \ifFld@popdown\def\Fld@flags{/Ff 131072}\fi + \ifx\Fld@flags\@empty + \@tempdima=\the\Fld@menulength\Fld@charsize + \advance\@tempdima by \Fld@borderwidth bp + \advance\@tempdima by \Fld@borderwidth bp + \edef\Fld@height{\the\@tempdima}% + \fi + \@@Listbox{#3}% + }% + \fi + }% + \egroup +} +\def\@@Radio#1{% + \Fld@listcount=0 + \setbox\pdfm@box=\hbox{\MakeRadioField{\Fld@width}{\Fld@height}}% + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@listcount + \@currDisplay\space + \leavevmode + \@pdfm@mark{% + ann \ifnum\Fld@listcount=1 @\Fld@name\space\fi + \dvipdfm@setdim + << + \PDFForm@Radio\space + /AP << /N << /\@currValue /null >> >> + >>% + }% + \unhcopy\pdfm@box\space% deliberate space between radio buttons + \ifnum\Fld@listcount=1\@pdfm@mark{put @afields @\Fld@name}\fi + }% +} +\newcount\Fld@listcount +\def\@@Listbox#1{% + \Choice@toks={ }% + \Fld@listcount=0 + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@listcount + \edef\@processme{% + \Choice@toks{\the\Choice@toks [(\@currValue) (\@currDisplay)]}% + }\@processme + }% + \setbox\pdfm@box=\hbox{\MakeChoiceField{\Fld@width}{\Fld@height}}% + \leavevmode + \@pdfm@mark{% + ann @\Fld@name\space\dvipdfm@setdim + << \PDFForm@List >>% + }% + \unhbox\pdfm@box + \@pdfm@mark{put @afields @\Fld@name}% +} +\def\@PushButton[#1]#2{% parameters, label + \def\Fld@name{#2}% + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \setbox\pdfm@box=\hbox{\MakeButtonField{#2}}% + \LayoutPushButtonField{% + \leavevmode + \@pdfm@mark{% + ann @\Fld@name\space\dvipdfm@setdim + << \PDFForm@Push >>% + }% + }% + \unhbox\pdfm@box + \@pdfm@mark{put @afields @\Fld@name}% + \egroup +} +\def\@Submit[#1]#2{% + \Field@toks={ }% + \def\Fld@width{\DefaultWidthofSubmit}% + \def\Fld@height{\DefaultHeightofSubmit}% + \bgroup + \def\Fld@name{Submit}% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \setbox\pdfm@box=\hbox{\MakeButtonField{#2}}% + \leavevmode + \@pdfm@mark{% + ann @\Fld@name\space\dvipdfm@setdim + << \PDFForm@Submit >>% + }% + \unhbox\pdfm@box% + \@pdfm@mark{put @afields @\Fld@name}% + \egroup +} +\def\@Reset[#1]#2{% + \Field@toks={ }% + \def\Fld@width{\DefaultWidthofReset}% + \def\Fld@height{\DefaultHeightofReset}% + \bgroup + \def\Fld@name{Reset}% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \setbox\pdfm@box=\hbox{\MakeButtonField{#2}}% + \leavevmode + \@pdfm@mark{% + ann @\Fld@name\space\dvipdfm@setdim + << \PDFForm@Reset >>% + }% + \unhbox\pdfm@box + \@pdfm@mark{put @afields @\Fld@name}% + \egroup +} +\def\@CheckBox[#1]#2{% parameters, label + \def\Fld@name{#2}% + \def\Fld@default{0}% + \bgroup + \def\Fld@width{\DefaultWidthofCheckBox}% + \def\Fld@height{\DefaultHeightofCheckBox}% + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \setbox\pdfm@box=\hbox{\MakeCheckField{\Fld@width}{\Fld@height}}% + \LayoutCheckField{#2}{% + \@pdfm@mark{% + ann @\Fld@name\space\dvipdfm@setdim + << \PDFForm@Check >>% + }% + \unhbox\pdfm@box + \@pdfm@mark{put @afields @\Fld@name}% + }% + \egroup +} +\@pdfm@mark{obj @OBJpdfdocencoding << /Type /Encoding /Differences [% + 24 /breve /caron /circumflex /dotaccent /hungarumlaut /ogonek /ring + /tilde + 39 /quotesingle + 96 /grave + 128 /bullet /dagger /daggerdbl /ellipsis /emdash /endash /florin + /fraction /guilsinglleft /guilsinglright /minus /perthousand + /quotedblbase /quotedblleft /quotedblright /quoteleft /quoteright + /quotesinglbase /trademark /fi /fl /Lslash /OE /Scaron /Ydieresis + /Zcaron /dotlessi /lslash /oe /scaron /zcaron + 164 /currency + 166 /brokenbar + 168 /dieresis /copyright /ordfeminine + 172 /logicalnot /.notdef /registered /macron /degree /plusminus + /twosuperior /threesuperior /acute /mu + 183 /periodcentered /cedilla /onesuperior /ordmasculine + 188 /onequarter /onehalf /threequarters + 192 /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE + /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute + /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex + /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex + /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex + /atilde /adieresis /aring /ae /ccedilla /egrave /eacute + /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis + /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis + /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute + /thorn /ydieresis% + ] >> +} +\@pdfm@mark{obj @OBJZaDb + << + /Type /Font + /Subtype /Type1 + /Name /ZaDb + /BaseFont /ZapfDingbats + >> +} +\@pdfm@mark{obj @OBJHelv + << + /Type /Font + /Subtype /Type1 + /Name /Helv + /BaseFont /Helvetica + /Encoding @OBJpdfdocencoding + >> +} +\def\PDFForm@Check{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /Q \Fld@align\space + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + /CA (\Fld@cbsymbol) + >> + /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg) + /FT /Btn + /H /P + \ifFld@checked /V /Yes \else /V /Off \fi +} +\def\PDFForm@Push{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 65540 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + >> + /A << /S /JavaScript /JS (\Fld@onclick;) >> +} +\def\Fld@additionalactions{% + /AA << + \ifx\Fld@keystroke@code\@empty + \else + /K << /S /JavaScript /JS (\Fld@keystroke@code) >> + \fi + \ifx\Fld@format@code\@empty + \else + /F << /S /JavaScript /JS (\Fld@format@code) >> + \fi + \ifx\Fld@validate@code\@empty + \else + /V << /S /JavaScript /JS (\Fld@validate@code) >> + \fi + \ifx\Fld@calculate@code\@empty + \else + /C << /S /JavaScript /JS (\Fld@calculate@code) >> + \fi + \ifx\Fld@onfocus@code\@empty + \else + /Fo << /S /JavaScript /JS (\Fld@onfocus@code) >> + \fi + \ifx\Fld@onblur@code\@empty + \else + /Bl << /S /JavaScript /JS (\Fld@onblur@code) >> + \fi + \ifx\Fld@onmousedown@code\@empty + \else + /D << /S /JavaScript /JS (\Fld@onmousedown@code) >> + \fi + \ifx\Fld@onmouseup@code\@empty + \else + /U << /S /JavaScript /JS (\Fld@onmouseup@code) >> + \fi + \ifx\Fld@onenter@code\@empty + \else + /E << /S /JavaScript /JS (\Fld@onenter@code) >> + \fi + \ifx\Fld@onexit@code\@empty + \else + /X << /S /JavaScript /JS (\Fld@onexit@code) >> + \fi + >> +} +\def\PDFForm@List{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Ch + /Q \Fld@align\space + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + >> + /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) + /Opt [\the\Choice@toks] + /DV (\Fld@default) + \Fld@additionalactions + \Fld@flags +} +\def\PDFForm@Radio{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 49152 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + /CA (H) + >> + /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg) + \ifx\@currValue\Fld@default + /V /\Fld@default\space + \else + /V /Off + \fi + \Fld@additionalactions +} +\def\PDFForm@Text{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /Q \Fld@align\space + /FT /Tx + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + >> + /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) + /DV (\Fld@default) + /V (\Fld@value) + \Fld@additionalactions + \ifFld@multiline + \ifFld@readonly /Ff 4097 \else /Ff 4096 \fi + \else + \ifFld@password + \ifFld@readonly /Ff 8193 \else /Ff 8192 \fi + \else + \ifFld@readonly /Ff 1 \fi + \fi + \fi + \ifnum\Fld@maxlen>0/MaxLen \Fld@maxlen \fi +} +\def\PDFForm@Submit{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 65540 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + >> + /A << + /S /SubmitForm + /F << + /FS /URL + /F (\Form@action) + >> + \ifForm@html /Flags 4 \fi + >> +} +\def\PDFForm@Reset{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /H /P + /DA (/Helv \strip@pt\Fld@charsize\space Tf 0 0 1 rg) + /Ff 65540 + /MK << + /BC [\Fld@bordercolor] + >> + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /A << /S /ResetForm >> +} +\newwrite\@outlinefile +\def\Hy@writebookmark#1#2#3#4#5{% section number, text, label, level, file + \ifx\WriteBookmarks\relax% + \else + \ifnum#4>\c@tocdepth + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi + \fi} +\def\Hy@currentbookmarklevel{0} +\def\Hy@numberline#1{#1 } +\def\@@writetorep#1#2#3#4#5{% + \begingroup + \edef\Hy@tempa{#5}% + \ifx\Hy@tempa\Hy@bookmarkstype + \edef\Hy@level{#4}% + \ifx\Hy@levelcheck Y% + \@tempcnta\Hy@level\relax + \advance\@tempcnta by -1 + \ifnum\Hy@currentbookmarklevel<\@tempcnta + \advance\@tempcnta by -\Hy@currentbookmarklevel\relax + \advance\@tempcnta by 1 + \Hy@Warning{% + Difference (\the\@tempcnta) between bookmark levels is % + greater \MessageBreak than one, level fixed% + }% + \@tempcnta\Hy@currentbookmarklevel + \advance\@tempcnta by 1 + \edef\Hy@level{\the\@tempcnta}% + \fi + \else + \global\let\Hy@levelcheck Y% + \fi + \global\let\Hy@currentbookmarklevel\Hy@level + \@tempcnta\Hy@level\relax + \expandafter\xdef\csname Parent\Hy@level\endcsname{#3}% + \advance\@tempcnta by -1 + \edef\Hy@tempa{#3}% + \edef\Hy@tempb{\csname Parent\the\@tempcnta\endcsname}% + \ifx\Hy@tempa\Hy@tempb + \Hy@Warning{% + The anchor of a bookmark and its parent's must not% + \MessageBreak be the same. Added a new anchor% + }% + \phantomsection + \fi + \ifHy@bookmarksnumbered + \let\numberline\Hy@numberline + \else + \let\numberline\@gobble + \fi + \pdfstringdef\Hy@tempa{#2}% + \protected@write\@outlinefile{}{% + \protect\BOOKMARK + [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}% + {\Hy@tempa}{\Hy@tempb}% + }% + \fi + \endgroup +} +\newcommand{\currentpdfbookmark}{% + \pdfbookmark[\Hy@currentbookmarklevel]% +} +\newcommand{\subpdfbookmark}{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]% +} +\newcommand{\belowpdfbookmark}[2]{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]{#1}{#2}% + \advance\@tempcnta by -1 + \xdef\Hy@currentbookmarklevel{\the\@tempcnta}% +} +\renewcommand\pdfbookmark[3][0]{% + \Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}% + \hyper@anchorstart{#3.#1}\hyper@anchorend +} +\def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}} +\def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}} +\def\ReadBookmarks{% + \begingroup + \escapechar=`\\% + \let\escapechar\@gobble % + \def\@@BOOKMARK [##1][##2]##3##4##5{\calc@bm@number{##5}}% + \InputIfFileExists{\jobname.out}{}{}% + \ifx\WriteBookmarks\relax + \global\let\WriteBookmarks\relax + \fi + \def\@@BOOKMARK[##1][##2]##3##4##5{% + \def\Hy@temp{##4}% + \@pdfm@mark{% + outline ##1 << + /Title (\expandafter\strip@prefix\meaning\Hy@temp) + /A << + /S /GoTo + /D (##3) + >> + >> + }% + }% + {% + \def\WriteBookmarks{0}% + \InputIfFileExists{\jobname.out}{}{}% + }% + %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}% + \ifx\WriteBookmarks\relax\else + \if@filesw\immediate\openout\@outlinefile=\jobname.out + \ifHy@typexml + \immediate\write\@outlinefile{<relaxxml>\relax}% + \fi + \fi + \fi + \endgroup +} +\def\check@bm@number#1{% + \expandafter\ifx\csname B_#1\endcsname\relax + 0% + \else + \csname B_#1\endcsname + \fi +} +\def\calc@bm@number#1{% + \@tempcnta=\check@bm@number{#1}\relax + \advance\@tempcnta by1 + \expandafter\xdef\csname B_#1\endcsname{\the\@tempcnta}% +} +\ifHy@implicit +\else + \def\@begindvi{% + \unvbox\@begindvibox + \HyPL@EveryPage + \global\let\@begindvi\HyPL@EveryPage + }% + \expandafter\endinput +\fi +\let\H@old@ssect\@ssect +\def\@ssect#1#2#3#4#5{% + \H@old@ssect{#1}{#2}{#3}{#4}{#5}% + \phantomsection +} +\let\H@old@schapter\@schapter +\def\@schapter#1{% + \H@old@schapter{#1}% + \begingroup + \let\@mkboth\@gobbletwo + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \endgroup +} +\@ifundefined{@chapter}{}{% + \let\Hy@org@chapter\@chapter + \def\@chapter{% + \def\Hy@next{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + \ifnum\c@secnumdepth>\m@ne + \@ifundefined{if@mainmatter}% + \iftrue{\csname if@mainmatter\endcsname} + \let\Hy@next\relax + \fi + \fi + \Hy@next + \Hy@org@chapter + }% +} +\let\H@old@spart\@spart +\def\@spart#1{% + \H@old@spart{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{part*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\let\H@old@sect\@sect +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \fi + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + \ifnum #2>\c@secnumdepth + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \fi +} +\expandafter\def\csname Parent-4\endcsname{} +\expandafter\def\csname Parent-3\endcsname{} +\expandafter\def\csname Parent-2\endcsname{} +\expandafter\def\csname Parent-1\endcsname{} +\expandafter\def\csname Parent0\endcsname{} +\expandafter\def\csname Parent1\endcsname{} +\expandafter\def\csname Parent2\endcsname{} +\expandafter\def\csname Parent3\endcsname{} +\expandafter\def\csname Parent4\endcsname{} +\def\Hy@tempa{% + \def\@addchap[##1]##2{% + \typeout{##2}% + \if@twoside + \@mkboth{##1}{}% + \else + \@mkboth{}{##1}% + \fi + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \if@twocolumn + \@topnewpage[\@makeschapterhead{##2}]% + \else + \@makeschapterhead{##2}% + \@afterheading + \fi + \addcontentsline{toc}{chapter}{##1}% + }% +} +\@ifclassloaded{scrbook}{% + \@ifclasslater{scrbook}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% +}{% + \@ifclassloaded{scrreprt}{% + \@ifclasslater{scrreprt}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% + }{% + \let\Hy@tempa\@empty + }% +}% +\Hy@tempa +\endinput +%% +%% End of file `hdvipdfm.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def new file mode 100644 index 00000000000..54f74594b7a --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -0,0 +1,85 @@ +%% +%% This is file `hdvips.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `dvips') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hdvips.def} + [2003/11/30 v6.74m + Hyperref driver for dvips] +\input{pdfmark.def}% +\def\@pdfproducer{dvips + Distiller} +\def\literalps@out#1{\special{ps:SDict begin #1 end}}% +\def\headerps@out#1{\special{! #1}}% +\providecommand\@pdfborder{0 0 12} +\providecommand\@pdfview{XYZ} +\providecommand\@pdfviewparams{ H.V} +\AtBeginDvi{% + \headerps@out{% + /DvipsToPDF { 72.27 mul Resolution div } def + /PDFToDvips { 72.27 div Resolution mul } def + /HyperBorder { 1 PDFToDvips } def + /H.V {pdf@hoff pdf@voff null} def + /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def + /H.S { + currentpoint + HyperBorder add /pdf@lly exch def + dup DvipsToPDF /pdf@hoff exch def + HyperBorder sub /pdf@llx exch def + } def + /H.L { + 2 sub dup + /HyperBasePt exch def + PDFToDvips /HyperBaseDvips exch def + currentpoint + HyperBaseDvips sub /pdf@ury exch def + /pdf@urx exch def + } def + /H.A { + H.L + currentpoint exch pop + vsize 72 sub exch DvipsToPDF + HyperBasePt sub % baseline skip + sub /pdf@voff exch def + } def + /H.R { + currentpoint + HyperBorder sub /pdf@ury exch def + HyperBorder add /pdf@urx exch def + currentpoint exch pop vsize 72 sub + exch DvipsToPDF sub /pdf@voff exch def + } def + systemdict + /pdfmark known not + {userdict /pdfmark systemdict /cleartomark get put} if + }% +} +\AfterBeginDocument{% + \ifx\special@paper\@empty\else + \ifHy@setpagesize + \special{papersize=\special@paper}% + \fi + \Hy@DisableOption{setpagesize}% + \fi +} +\endinput +%% +%% End of file `hdvips.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def new file mode 100644 index 00000000000..b01b172eafc --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -0,0 +1,132 @@ +%% +%% This is file `hdvipson.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `dvipsone') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hdvipson.def} + [2003/11/30 v6.74m + Hyperref driver for dvipsone] +\providecommand\@pdfborder{0 0 65781} +\input{pdfmark.def}% +\def\@pdfproducer{dvipsone + Distiller} +\def\literalps@out#1{\special{ps:#1}}% +\def\headerps@out#1{\special{! #1}}% +\def\PDF@FinishDoc{% + \Hy@UseMaketitleInfos + \special{PDF: Keywords \@pdfkeywords}% + \special{PDF: Title \@pdftitle}% + \special{PDF: Creator \@pdfcreator}% + \special{PDF: Author \@pdfauthor}% + \special{PDF: Producer \@pdfproducer}% + \special{PDF: Subject \@pdfsubject}% + \Hy@DisableOption{pdfauthor}% + \Hy@DisableOption{pdftitle}% + \Hy@DisableOption{pdfsubject}% + \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfproducer}% + \Hy@DisableOption{pdfkeywords}% +} +\def\PDF@SetupDoc{% + \pdfmark{% + pdfmark=/DOCVIEW, + Page=\@pdfstartpage, + View=\@pdfstartview, + PageMode=\@pdfpagemode + }% + \ifx\@pdfpagescrop\@empty + \else + \pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}% + \fi + \edef\Hy@temp{% + \ifHy@toolbar\else /HideToolbar true\fi + \ifHy@menubar\else /HideMenubar true\fi + \ifHy@windowui\else /HideWindowUI true\fi + \ifHy@fitwindow /FitWindow true\fi + \ifHy@centerwindow /CenterWindow true\fi + \ifHy@displaydoctitle /DisplayDocTitle true\fi + \ifx\@pdfnonfullscreenpagemode\@empty + \else + /NonFullScreenPageMode\@pdfnonfullscreenpagemode + \fi + }% + \pdfmark{% + pdfmark=/PUT,% + Raw={% + \string{Catalog\string} << + \ifx\Hy@temp\@empty + \else + /ViewerPreferences<<\Hy@temp>>% + \fi + \ifx\pdf@pagelayout\@empty + \else + /PageLayout /\pdf@pagelayout\space + \fi + \ifx\@baseurl\@empty + \else + /URI << /Base (\@baseurl) >>% + \fi + >>% + }% + }% +} +\providecommand\@pdfview{XYZ} +\providecommand\@pdfviewparams{ % + gsave revscl currentpoint grestore + 72 add exch pop null exch null +} +\special{headertext= + /DvipsToPDF { 65781 div } def + /PDFToDvips { 65781 mul } def + /HyperBorder { 1 PDFToDvips } def + /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def + /H.S { + currentpoint + HyperBorder add /pdf@lly exch def + dup DvipsToPDF /pdf@hoff exch def + HyperBorder sub /pdf@llx exch def + } def + /H.L { + 2 sub + PDFToDvips /HyperBase exch def + currentpoint + HyperBase sub /pdf@ury exch def + /pdf@urx exch def + } def + /H.A { + H.L + currentpoint exch pop + HyperBase sub % baseline skip + DvipsToPDF /pdf@voff exch def + } def + /H.R { + currentpoint + HyperBorder sub /pdf@ury exch def + HyperBorder add /pdf@urx exch def + currentpoint exch pop DvipsToPDF /pdf@voff exch def + } def + systemdict + /pdfmark known not + {userdict /pdfmark systemdict /cleartomark get put} if +} +\endinput +%% +%% End of file `hdvipson.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def new file mode 100644 index 00000000000..8114140d14c --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -0,0 +1,382 @@ +%% +%% This is file `hdviwind.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `dviwindo,pdfmarkbase') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hdviwind.def} + [2003/11/30 v6.74m + Hyperref driver for dviwindo] +\def\Hy@PutCatalog#1{% + \pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}% +} +\ifHy@pagelabels + \def\HyPL@StorePageLabel#1{% + \if@filesw + \begingroup + \edef\Hy@tempa{\the\Hy@abspage\space<< #1 >> }% + \immediate\write\@mainaux{% + \string\HyPL@Entry{\Hy@tempa}% + }% + \endgroup + \fi + } + \AfterBeginDocument{% + \if@filesw + \immediate\write\@mainaux{% + \string\providecommand\string*\string\HyPL@Entry[1]{}% + }% + \fi + \ifx\HyPL@Labels\@empty + \Hy@WarningNoLine{Rerun to get /PageLabels entry}% + \else + \HyPL@SetPageLabels + \fi + \let\HyPL@Entry\@gobble + }% + \def\HyPL@Entry#1{% + \expandafter\gdef\expandafter\HyPL@Labels\expandafter{% + \HyPL@Labels + #1% + }% + } +\fi +\providecommand\wwwbrowser{c:\string\netscape\string\netscape} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \let\protect=\string + \special{mark: #1}% + \endgroup + \Hy@activeanchortrue + \Hy@colorlink{\@anchorcolor}\anchor@spot\Hy@endcolorlink + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \special{mark: #1}% + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@linkstart#1#2{% + \Hy@colorlink{\csname @#1color\endcsname}% + \special{button: + 10000000 + \number\baselineskip\space + #2% + }% +} +\def\hyper@linkend{% + \Hy@endcolorlink +} +\def\hyper@link#1#2#3{% + \setbox\@tempboxa=\color@hbox #3\color@endbox + \leavevmode + \ifHy@raiselinks + \@linkdim\dp\@tempboxa + \lower\@linkdim\hbox{% + \special{button: + \number\wd\@tempboxa\space + \number\ht\@tempboxa\space + #2% + }% + \Hy@colorlink{\csname @#1color\endcsname}#3% + \Hy@endcolorlink + }% + \@linkdim\ht\@tempboxa + \advance\@linkdim by -6.5\p@ + \raise\@linkdim\hbox{}% + \else + \special{button: + \number\wd\@tempboxa\space + \number\ht\@tempboxa\space + #2% + }% + \Hy@colorlink{\csname @#1color\endcsname}#3\Hy@endcolorlink + \fi +} +\def\hyper@linkurl#1#2{% + \begingroup + \hyper@chars + \leavevmode + \setbox\@tempboxa=\color@hbox #1\color@endbox + \ifHy@raiselinks + \@linkdim\dp\@tempboxa + \lower\@linkdim\hbox{% + \special{button: + \number\wd\@tempboxa\space + \number\ht\@tempboxa\space + launch: \wwwbrowser\space + #2% + }% + \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink + }% + \@linkdim\ht\@tempboxa + \advance\@linkdim by -6.5\p@ + \raise\@linkdim\hbox{}% + \else + \special{button: + \number\wd\@tempboxa\space + \number\ht\@tempboxa\space + launch: \wwwbrowser\space + #2% + }% + \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink + \fi + \endgroup +} +\def\hyper@linkfile#1#2#3{% + \begingroup + \hyper@chars + \leavevmode + \setbox\@tempboxa=\color@hbox #1\color@endbox + \ifHy@raiselinks + \@linkdim\dp\@tempboxa + \lower\@linkdim\hbox{% + \special{button: + \number\wd\@tempboxa\space + \number\ht\@tempboxa\space + #3, + file: #2% + }% + \Hy@colorlink{\@filecolor}#1\Hy@endcolorlink + }% + \@linkdim\ht\@tempboxa + \advance\@linkdim by -6.5\p@ + \raise\@linkdim\hbox{}% + \else + \special{button: + \number\wd\@tempboxa\space + \number\ht\@tempboxa\space + #3, + file: #2 + }% + \Hy@colorlink{\@filecolor}#1\Hy@endcolorlink + \fi + \endgroup +} +\def\@pdfproducer{dviwindo + Distiller} +\def\PDF@FinishDoc{% + \Hy@UseMaketitleInfos + \special{PDF: Keywords \@pdfkeywords}% + \special{PDF: Title \@pdftitle}% + \special{PDF: Creator \@pdfcreator}% + \special{PDF: Author \@pdfauthor}% + \special{PDF: Producer \@pdfproducer}% + \special{PDF: Subject \@pdfsubject}% + \Hy@DisableOption{pdfauthor}% + \Hy@DisableOption{pdftitle}% + \Hy@DisableOption{pdfsubject}% + \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfproducer}% + \Hy@DisableOption{pdfkeywords}% +} +\def\PDF@SetupDoc{% + \ifx\@baseurl\@empty + \else + \special{PDF: Base \@baseurl}% + \fi + \ifx\@pdfpagescrop\@empty\else + \special{PDF: BBox \@pdfpagescrop}% + \fi + \pdfmark{pdfmark=/DOCVIEW, + Page=\@pdfstartpage, + View=\@pdfstartview, + PageMode=\@pdfpagemode + }% + \ifx\@pdfpagescrop\@empty + \else + \pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}% + \fi + \edef\Hy@temp{% + \ifHy@toolbar\else /HideToolbar true\fi + \ifHy@menubar\else /HideMenubar true\fi + \ifHy@windowui\else /HideWindowUI true\fi + \ifHy@fitwindow /FitWindow true\fi + \ifHy@centerwindow /CenterWindow true\fi + \ifHy@displaydoctitle /DisplayDocTitle true\fi + \ifx\@pdfnonfullscreenpagemode\@empty + \else + /NonFullScreenPageMode\@pdfnonfullscreenpagemode + \fi + }% + \pdfmark{pdfmark=/PUT, + Raw={% + \string{Catalog\string} << + \ifx\Hy@temp\@empty + \else + /ViewerPreferences<<\Hy@temp>>% + \fi + \ifx\pdf@pagelayout\@empty + \else + /PageLayout /\pdf@pagelayout\space + \fi + >>% + }% + }% +} +\def\literalps@out#1{\special{ps:#1}}% +\def\Hy@DistillerDestFix{% + \begingroup + \let\x\literalps@out + \ifnum \@ifundefined{OpMode}{0}{% + \@ifundefined{gexmode}{0}{% + \ifnum\gexmode>0 \OpMode\else 0\fi + }}>1 % + \def\x##1{% + \immediate\special{!=##1}% + }% + \fi + \x{% + /product where{% + pop % + product(Distiller)search{% + pop pop pop % + version(.)search{% + exch pop exch pop% + (3011)eq{% + gsave % + newpath 0 0 moveto closepath clip% + /Courier findfont 10 scalefont setfont % + 72 72 moveto(.)show % + grestore% + }if% + }{pop}ifelse% + }{pop}ifelse% + }if% + }% + \endgroup +} +\def\pdfmark{\@ifnextchar[{\pdfmark@}{\pdfmark@[]}} +\def\pdfmark@[#1]#2{% + \edef\@processme{\noexpand\pdf@toks={\the\pdf@defaulttoks}}% + \@processme + \let\pdf@type\relax + \setkeys{PDF}{#2}% + \ifx\pdf@type\relax + \Hy@WarningNoLine{no pdfmark type specified in #2!!}% + \ifx\\#1\\\relax\else\pdf@rect{#1}\fi + \else + \ifx\\#1\\\relax + \literalps@out{[\the\pdf@toks\space\pdf@type\space pdfmark}% + \else + \Hy@colorlink{\@ifundefined{@\pdf@linktype color}% + {\@linkcolor}% + {\csname @\pdf@linktype color\endcsname}}% + \pdf@rect{#1}% + \literalps@out{[\the\pdf@toks\space\pdf@type\space pdfmark}% + \Hy@endcolorlink + \fi + \fi +} +\newsavebox{\pdf@box} +\def\pdf@rect#1{% + \leavevmode + \sbox\pdf@box{#1}% + \dimen@\ht\pdf@box + \leavevmode + \ifdim\dp\pdf@box=\z@ + \literalps@out{H.S}% + \else + \lower\dp\pdf@box\hbox{\literalps@out{H.S}}% + \fi + \ifHy@breaklinks\unhbox\else\box\fi\pdf@box + \ifdim\dimen@=\z@ + \literalps@out{H.R}% + \else + \raise\dimen@\hbox{\literalps@out{H.R}}% + \fi + \pdf@addtoksx{H.B}% +} +\newtoks\pdf@toks +\newtoks\pdf@defaulttoks +\pdf@defaulttoks={}% +\def\pdf@addtoks#1#2{% + \edef\@processme{\pdf@toks{\the\pdf@toks\space /#2 #1}}% + \@processme +} +\def\pdf@addtoksx#1{% + \edef\@processme{\pdf@toks{\the\pdf@toks\space #1}}% + \@processme +} +\def\PDFdefaults#1{% + \pdf@defaulttoks={#1}% +} +\define@key{PDF}{pdfmark}{\def\pdf@type{#1}} +\define@key{PDF}{linktype}{\def\pdf@linktype{#1}} +\def\pdf@linktype{link} +\define@key{PDF}{Raw}{\pdf@addtoksx{#1}} +\define@key{PDF}{Action}{\pdf@addtoks{#1}{Action}} +\define@key{PDF}{Border}{\pdf@addtoks{[#1]}{Border}} +\define@key{PDF}{Color}{\pdf@addtoks{[#1]}{Color}} +\define@key{PDF}{Contents}{\pdf@addtoks{(#1)}{Contents}} +\define@key{PDF}{Count}{\pdf@addtoks{#1}{Count}} +\define@key{PDF}{CropBox}{\pdf@addtoks{[#1]}{CropBox}} +\define@key{PDF}{DOSFile}{\pdf@addtoks{(#1)}{DOSFile}} +\define@key{PDF}{DataSource}{\pdf@addtoks{(#1)}{DataSource}} +\define@key{PDF}{Dest}{% + \begingroup + \edef\x{#1}% + \expandafter\endgroup + \ifx\x\@empty\else\pdf@addtoks{(#1) cvn}{Dest}\fi +} +\define@key{PDF}{DestAnchor}{% + \begingroup + \edef\x{#1}% + \expandafter\endgroup + \ifx\x\@empty\else\pdf@addtoks{(#1) cvn}{Dest}\fi +} +\define@key{PDF}{Dir}{\pdf@addtoks{(#1)}{Dir}} +\define@key{PDF}{File}{\pdf@addtoks{(#1)}{File}} +\define@key{PDF}{Flags}{\pdf@addtoks{#1}{Flags}} +\define@key{PDF}{AcroHighlight}{\pdf@addtoks{#1}{H}} +\define@key{PDF}{ID}{\pdf@addtoks{[#1]}{ID}} +\define@key{PDF}{MacFile}{\pdf@addtoks{(#1)}{MacFile}} +\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} +\define@key{PDF}{Op}{\pdf@addtoks{(#1)}{Op}} +\define@key{PDF}{Open}{\pdf@addtoks{#1}{Open}} +\define@key{PDF}{Page}{\pdf@addtoks{#1}{Page}} +\define@key{PDF}{PageMode}{\pdf@addtoks{#1}{PageMode}} +\define@key{PDF}{Params}{\pdf@addtoks{(#1)}{Params}} +\define@key{PDF}{Rect}{\pdf@addtoks{[#1]}{Rect}} +\define@key{PDF}{SrcPg}{\pdf@addtoks{#1}{SrcPg}} +\define@key{PDF}{Subtype}{\pdf@addtoks{#1}{Subtype}} +\define@key{PDF}{Title}{\pdf@addtoks{(#1)}{Title}} +\define@key{PDF}{Unix}{\pdf@addtoks{(#1)}{Unix}} +\define@key{PDF}{UnixFile}{\pdf@addtoks{(#1)}{UnixFile}} +\define@key{PDF}{View}{\pdf@addtoks{[#1]}{View}} +\define@key{PDF}{WinFile}{\pdf@addtoks{(#1)}{WinFile}} +\define@key{PDF}{Author}{\pdf@addtoks{(#1)}{Author}} +\define@key{PDF}{CreationDate}{\pdf@addtoks{(#1)}{CreationDate}} +\define@key{PDF}{Creator}{\pdf@addtoks{(#1)}{Creator}} +\define@key{PDF}{Producer}{\pdf@addtoks{(#1)}{Producer}} +\define@key{PDF}{Subject}{\pdf@addtoks{(#1)}{Subject}} +\define@key{PDF}{Keywords}{\pdf@addtoks{(#1)}{Keywords}} +\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} +\define@key{PDF}{Base}{\pdf@addtoks{(#1)}{Base}} +\define@key{PDF}{URI}{\pdf@addtoks{#1}{URI}} +\endinput +%% +%% End of file `hdviwind.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def new file mode 100644 index 00000000000..22f7c945945 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -0,0 +1,1044 @@ +%% +%% This is file `hpdftex.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `pdftex,pdfform,outlines') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hpdftex.def} + [2003/11/30 v6.74m + Hyperref driver for pdfTeX] +\let\Hy@PutCatalog\pdfcatalog +\ifHy@pagelabels + \def\HyPL@StorePageLabel#1{% + \toks@\expandafter{\HyPL@Labels}% + \xdef\HyPL@Labels{% + \the\toks@ + \the\Hy@abspage\space<< #1 >> % + }% + } + \AtEndDocument{\clearpage\HyPL@SetPageLabels} +\fi +\def\setpdflinkmargin#1{\pdflinkmargin#1} +\ifx\pdfstartlink\@undefined% less than version 14 + \let\pdfstartlink\pdfannotlink + \let\pdflinkmargin\@tempdima + \let\pdfxform\pdfform + \let\pdflastxform\pdflastform + \let\pdfrefxform\pdfrefform +\else + \pdflinkmargin1pt +\fi +\providecommand\@pdfview{XYZ} +\def\new@pdflink#1{% + \ifHy@verbose + \typeout{pdftex: define anchor at line \the\inputlineno: #1}% + \fi + \Hy@SaveLastskip + \pdfdest name {#1}\@pdfview + \Hy@RestoreLastskip +} +\let\pdf@endanchor\@empty +\providecommand\@pdfborder{0 0 1} +\def\Hy@undefinedname{UNDEFINED} +\def\find@pdflink#1#2{% + \leavevmode + \protected@edef\Hy@testname{#2}% + \ifx\Hy@testname\@empty + \let\Hy@testname\Hy@undefinedname + \fi + \pdfstartlink + attr{% + /Border[\@pdfborder]% + /H\@pdfhighlight + /C[\CurrentBorderColor]% + }% + goto name {\Hy@testname}% + \Hy@colorlink{\csname @#1color\endcsname}% +} +\def\close@pdflink{\Hy@endcolorlink\pdfendlink} +\def\hyper@anchor#1{\new@pdflink{#1}\anchor@spot\pdf@endanchor} +\def\hyper@anchorstart#1{\new@pdflink{#1}\Hy@activeanchortrue} +\def\hyper@anchorend{\pdf@endanchor\Hy@activeanchorfalse} +\def\hyper@linkstart#1#2{% + \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% + \find@pdflink{#1}{#2}} +\def\hyper@linkend{\close@pdflink} +\def\hyper@link#1#2#3{% + \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% + \find@pdflink{#1}{#2}#3\close@pdflink +} +\def\CurrentBorderColor{\@linkbordercolor} +\def\hyper@linkurl#1#2{% + \bgroup + \hyper@chars + \leavevmode + \pdfstartlink + attr{% + /Border[\@pdfborder]% + /H\@pdfhighlight + /C[\@urlbordercolor]% + }% + user{% + /Subtype/Link% + /A<<% + /Type/Action% + /S/URI% + /URI(#2)% + >>% + }% + \Hy@colorlink{\@urlcolor}#1% + \close@pdflink + \egroup +} +\def\hyper@linkfile#1#2#3{% anchor text, filename, linkname + \bgroup + \leavevmode + \pdfstartlink + attr{% + /Border[\@pdfborder]% + /H\@pdfhighlight + /C[\@filebordercolor]% + }% + user {% + /Subtype/Link% + /A<<% + /F(#2)% + /S/GoToR% + \ifHy@newwindow /NewWindow true \fi + \ifx\\#3\\% + /D[0 \@pdfstartview]% + \else + /D(#3)% + \fi + >>% + }% + \Hy@colorlink{\@filecolor}#1% + \close@pdflink + \egroup +} +\def\@hyper@launch run:#1\\#2#3{% filename, anchor text linkname + \bgroup + \leavevmode + \pdfstartlink + attr{% + /Border[\@pdfborder]% + /H\@pdfhighlight + /C[\@runbordercolor]% + }% + user {% + /Subtype/Link% + /A<<% + /F(#1)% + /S/Launch% + \ifHy@newwindow /NewWindow true \fi + \ifx\\#3\\% + \else + /Win<</P(#3)/F(#1)>>% + \fi + >>% + }% + \Hy@colorlink{\@filecolor}#2% + \close@pdflink + \egroup +} +\def\@pdfproducer{pdfTeX} +\ifx\eTeXversion\@undefined +\else + \ifx\eTeXversion\relax + \else + \ifnum\eTeXversion>0 % + \def\@pdfproducer{pdfeTeX} + \fi + \fi +\fi +\ifx\pdftexversion\@undefined +\else + \ifnum\pdftexversion<100 % + \edef\@pdfproducer{% + \@pdfproducer + \the\pdftexversion.\pdftexrevision + } + \else + \edef\@pdfproducer{% + \@pdfproducer-% + \expandafter\@car\the\pdftexversion\@empty\@nil.% + \expandafter\@cdr\the\pdftexversion\@empty\@nil + \pdftexrevision + } + \fi +\fi +\def\PDF@SetupDoc{% + \ifx\@pdfpagescrop\@empty + \else + \edef\process@me{% + \pdfpagesattr={% + /CropBox[\@pdfpagescrop]% + \expandafter\ifx\expandafter\\\the\pdfpagesattr\\% + \else + ^^J\the\pdfpagesattr + \fi + }% + }% + \process@me + \fi + \pdfcatalog{% + /PageMode \@pdfpagemode + \ifx\@baseurl\@empty + \else + /URI<</Base(\@baseurl)>> + \fi + }% + \ifx\@pdfstartview\@empty + \else + openaction goto page \@pdfstartpage {\@pdfstartview}% + \fi + \edef\Hy@temp{% + \ifHy@toolbar\else /HideToolbar true\fi + \ifHy@menubar\else /HideMenubar true\fi + \ifHy@windowui\else /HideWindowUI true\fi + \ifHy@fitwindow /FitWindow true\fi + \ifHy@centerwindow /CenterWindow true\fi + \ifHy@displaydoctitle /DisplayDocTitle true\fi + \ifx\@pdfnonfullscreenpagemode\@empty + \else + /NonFullScreenPageMode\@pdfnonfullscreenpagemode + \fi + }% + \pdfcatalog{% + \ifx\Hy@temp\@empty + \else + /ViewerPreferences<<\Hy@temp>>% + \fi + \ifx\pdf@pagelayout\@empty + \else + /PageLayout/\pdf@pagelayout\space + \fi + }% +} +\def\PDF@FinishDoc{% + \Hy@UseMaketitleInfos + \pdfinfo{% + /Author(\@pdfauthor)% + /Title(\@pdftitle)% + /Subject(\@pdfsubject)% + /Creator(\@pdfcreator)% + /Producer(\@pdfproducer)% + /Keywords(\@pdfkeywords)% + }% + \Hy@DisableOption{pdfauthor}% + \Hy@DisableOption{pdftitle}% + \Hy@DisableOption{pdfsubject}% + \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfproducer}% + \Hy@DisableOption{pdfkeywords}% +} +\def\hyper@pagetransition{% + \ifx\@pdfpagetransition\relax + \else + \expandafter\Hy@RemoveTransPageAttr\the\pdfpageattr^^J/Trans{}>>\END + \ifx\@pdfpagetransition\@empty + \else + \edef\@processme{% + \global\pdfpageattr{% + \the\pdfpageattr + ^^J/Trans << /S /\@pdfpagetransition\space >>% + }% + }% + \@processme + \fi + \fi +} +\gdef\Hy@RemoveTransPageAttr#1^^J/Trans#2#3>>#4\END{% + \ifx\\#2\\% + \global\pdfpageattr{#1}% + \else + \Hy@RemoveTransPageAttr#1#4\END + \fi +} +\def\hyper@pageduration{% + \ifx\@pdfpageduration\relax + \else + \expandafter\Hy@RemoveDurPageAttr\the\pdfpageattr^^J/Dur{} \END + \ifx\@pdfpageduration\@empty + \else + \edef\@processme{% + \global\pdfpageattr{% + \the\pdfpageattr + ^^J/Dur \@pdfpageduration\space + }% + }% + \@processme + \fi + \fi +} +\gdef\Hy@RemoveDurPageAttr#1^^J/Dur#2#3 #4\END{% + \ifx\\#2\\% + \global\pdfpageattr{#1}% + \else + \Hy@RemoveDurPageAttr#1#4\END + \fi +} +\def\hyper@pagehidden{% + \ifHy@useHidKey + \expandafter\Hy@RemoveHidPageAttr\the\pdfpageattr^^J/Hid{} \END + \ifHy@pdfpagehidden + \edef\@processme{% + \global\pdfpageattr{% + \the\pdfpageattr + ^^J/Hid true % SPACE + }% + }% + \@processme + \fi + \fi +} +\gdef\Hy@RemoveHidPageAttr#1^^J/Hid#2#3 #4\END{% + \ifx\\#2\\% + \global\pdfpageattr{#1}% + \else + \Hy@RemoveHidPageAttr#1#4\END + \fi +} +\pdfoutput=1 +\pdfcompresslevel=9 +\AtBeginDocument{% + \ifHy@setpagesize + \expandafter\@firstofone + \else + \expandafter\@gobble + \fi + {% + \@ifclassloaded{seminar}{% + \setlength{\pdfhorigin}{1truein}% + \setlength{\pdfvorigin}{1truein}% + \ifportrait + \ifdim\paperwidth=\z@ + \else + \setlength{\pdfpagewidth}{\strip@pt\paperwidth truept}% + \fi + \ifdim\paperheight=\z@ + \else + \setlength{\pdfpageheight}{\strip@pt\paperheight truept}% + \fi + \else + \ifdim\paperheight=\z@ + \else + \setlength{\pdfpagewidth}{\strip@pt\paperheight truept}% + \fi + \ifdim\paperwidth=\z@ + \else + \setlength{\pdfpageheight}{\strip@pt\paperwidth truept}% + \fi + \fi + }{% + \@ifundefined{stockwidth}{% + \ifdim\paperwidth=\z@ + \else + \setlength{\pdfpagewidth}{\paperwidth}% + \fi + \ifdim\paperheight=\z@ + \else + \setlength{\pdfpageheight}{\paperheight}% + \fi + }{% + \ifdim\stockwidth=\z@ + \else + \setlength{\pdfpagewidth}{\stockwidth}% + \fi + \ifdim\stockheight=\z@ + \else + \setlength{\pdfpageheight}{\stockheight}% + \fi + }% + }% + }% + \Hy@DisableOption{setpagesize}% +} +\def\Acrobatmenu#1#2{% + \leavevmode + \pdfstartlink + attr{% + /Border [\@pdfborder] + /H \@pdfhighlight\space + /C [\@menubordercolor]% + }% + user{ + /Subtype /Link + /A << + /S /Named /N /#1 + >> + }% + \Hy@colorlink{\@menucolor}#2\close@pdflink +} +\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum + \typeout{Sorry, pdftex does not support FORM gauges}% +} +\RequirePackage{pifont}% +\def\MakeFieldObject#1#2{\sbox0{#1}% + \immediate\pdfxform0 % + \expandafter\edef\csname #2Object\endcsname{% + \the\pdflastxform\space 0 R% + }% +}% +\def\@Form[#1]{% + \@ifundefined{textcolor}{\let\textcolor\@gobble}{}% + \setkeys{Form}{#1}% + \ifnum\pdftexversion>13 + \pdfrefobj\OBJ@pdfdocencoding + \pdfrefobj\OBJ@ZaDb + \pdfrefobj\OBJ@Helv + \pdfrefobj\OBJ@acroform + \fi + \pdfcatalog{/AcroForm \OBJ@acroform\space 0 R}% + \MakeFieldObject{\ding{123}}{Ding}% + \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{Submit}}}}{Submit}% + \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{SubmitP}}}}{SubmitP}% +} +\def\@endForm{} +\def\@TextField[#1]#2{% parameters, label + \def\Fld@name{#2}% + \def\Fld@default{}% + \let\Fld@value\@empty + \def\Fld@width{\DefaultWidthofText}% + \def\Fld@height{\DefaultHeightofText}% + \ifFld@multiline + \begingroup + \dimen@=\DefaultHeightofText + \dimen@=4\dimen@ + \edef\x{\endgroup + \def\noexpand\Fld@height{\the\dimen@}% + }% + \x + \fi + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi + \LayoutTextField{#2}{% + \pdfstartlink user {\PDFForm@Text}% + \MakeTextField{\Fld@width}{\Fld@height}\pdfendlink}% + \egroup +} +\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices + \def\Fld@name{#2}% + \def\Fld@default{}% + \def\Fld@width{\DefaultWidthofChoiceMenu}% + \def\Fld@height{\DefaultHeightofChoiceMenu}% + \bgroup + \Fld@menulength=0 + \@tempdima\z@ + \@for\@curropt:=#3\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@menulength + \settowidth{\@tempdimb}{\@currDisplay}% + \ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi + }% + \advance\@tempdima by 15\p@ + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutChoiceField{#2}{% + \ifFld@radio + \@@Radio{#3}% + \else + {% + \ifdim\Fld@width<\@tempdima + \ifdim\@tempdima<1cm\@tempdima1cm\fi + \edef\Fld@width{\the\@tempdima}% + \fi + \def\Fld@flags{}% + \ifFld@combo\def\Fld@flags{/Ff 917504}\fi + \ifFld@popdown\def\Fld@flags{/Ff 131072}\fi + \ifx\Fld@flags\@empty + \@tempdima=\the\Fld@menulength\Fld@charsize + \advance\@tempdima by \Fld@borderwidth bp + \advance\@tempdima by \Fld@borderwidth bp + \edef\Fld@height{\the\@tempdima}% + \fi + \@@Listbox{#3}% + }% + \fi + }% + \egroup +} +\def\@@Radio#1{% + \Fld@listcount=0 + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@listcount + \@currDisplay\space + \leavevmode + \pdfstartlink user {% + \PDFForm@Radio + /AP << + /N << + /\@currValue\space \DingObject + >> + >> + }% + \MakeRadioField{\Fld@width}{\Fld@height}\pdfendlink + \space% deliberate space between radio buttons + }% +} +\newcount\Fld@listcount +\def\@@Listbox#1{% + \Choice@toks={ }% + \Fld@listcount=0 + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@listcount + \edef\@processme{% + \Choice@toks{\the\Choice@toks [(\@currValue) (\@currDisplay)]}% + }\@processme + }% + \leavevmode + \pdfstartlink user {\PDFForm@List}% + \MakeChoiceField{\Fld@width}{\Fld@height}% + \pdfendlink +} +\def\@PushButton[#1]#2{% parameters, label + \def\Fld@name{#2}% + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutPushButtonField{% + \leavevmode + \pdfstartlink user {\PDFForm@Push}% + \MakeButtonField{#2}% + \pdfendlink + }% + \egroup +} +\def\@Submit[#1]#2{% + \Field@toks={ }% + \def\Fld@width{\DefaultWidthofSubmit}% + \def\Fld@height{\DefaultHeightofSubmit}% + \bgroup + \def\Fld@name{Submit}% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \leavevmode + \pdfstartlink user {% + \PDFForm@Submit + /AP << /N \SubmitObject\space /D \SubmitPObject >> + }% + \MakeButtonField{#2}% + \pdfendlink + \egroup +} +\def\@Reset[#1]#2{% + \Field@toks={ }% + \def\Fld@width{\DefaultWidthofReset}% + \def\Fld@height{\DefaultHeightofReset}% + \bgroup + \def\Fld@name{Reset}% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \leavevmode + \pdfstartlink user {\PDFForm@Reset}% + \MakeButtonField{#2}% + \pdfendlink + \egroup +} +\def\@CheckBox[#1]#2{% parameters, label + \def\Fld@name{#2}% + \def\Fld@default{0}% + \bgroup + \def\Fld@width{\DefaultWidthofCheckBox}% + \def\Fld@height{\DefaultHeightofCheckBox}% + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutCheckField{#2}{% + \pdfstartlink user {\PDFForm@Check}% + \MakeCheckField{\Fld@width}{\Fld@height}% + \pdfendlink + }% + \egroup +} +\pdfobj { << /Type /Encoding /Differences [ 24 /breve /caron +/circumflex /dotaccent /hungarumlaut /ogonek /ring /tilde 39 +/quotesingle 96 /grave 128 /bullet /dagger /daggerdbl /ellipsis +/emdash /endash /florin /fraction /guilsinglleft /guilsinglright +/minus /perthousand /quotedblbase /quotedblleft /quotedblright +/quoteleft /quoteright /quotesinglbase /trademark /fi /fl /Lslash /OE +/Scaron /Ydieresis /Zcaron /dotlessi /lslash /oe /scaron /zcaron 164 +/currency 166 /brokenbar 168 /dieresis /copyright /ordfeminine 172 +/logicalnot /.notdef /registered /macron /degree /plusminus +/twosuperior /threesuperior /acute /mu 183 /periodcentered /cedilla +/onesuperior /ordmasculine 188 /onequarter /onehalf /threequarters 192 +/Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla +/Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex +/Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde +/Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis +/Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde +/adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex +/edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde +/ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash +/ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] >> +} +\edef\OBJ@pdfdocencoding{\the\pdflastobj} +\pdfobj { + << + /Type /Font + /Subtype /Type1 + /Name /ZaDb + /BaseFont /ZapfDingbats +>> +} +\edef\OBJ@ZaDb{\the\pdflastobj} +\pdfobj { << + /Type /Font + /Subtype /Type1 + /Name /Helv + /BaseFont /Helvetica + /Encoding \OBJ@pdfdocencoding\space 0 R + >> +} +\edef\OBJ@Helv{\the\pdflastobj} +\pdfobj { + << + /Fields [] + /DR << + /Font << /ZaDb \OBJ@ZaDb\space 0 R /Helv \OBJ@Helv\space0 R >> + >> + /DA (/Helv 10 Tf 0 g ) + /NeedAppearances true + >> +} +\edef\OBJ@acroform{\the\pdflastobj} +\def\PDFForm@Check{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /Q \Fld@align\space + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + /CA (\Fld@cbsymbol) + >> + /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg) + /FT /Btn + /H /P + \ifFld@checked /V /Yes \else /V /Off \fi +} +\def\PDFForm@Push{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 65540 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + >> + /A << /S /JavaScript /JS (\Fld@onclick;) >> +} +\def\Fld@additionalactions{% + /AA << + \ifx\Fld@keystroke@code\@empty + \else + /K << /S /JavaScript /JS (\Fld@keystroke@code) >> + \fi + \ifx\Fld@format@code\@empty + \else + /F << /S /JavaScript /JS (\Fld@format@code) >> + \fi + \ifx\Fld@validate@code\@empty + \else + /V << /S /JavaScript /JS (\Fld@validate@code) >> + \fi + \ifx\Fld@calculate@code\@empty + \else + /C << /S /JavaScript /JS (\Fld@calculate@code) >> + \fi + \ifx\Fld@onfocus@code\@empty + \else + /Fo << /S /JavaScript /JS (\Fld@onfocus@code) >> + \fi + \ifx\Fld@onblur@code\@empty + \else + /Bl << /S /JavaScript /JS (\Fld@onblur@code) >> + \fi + \ifx\Fld@onmousedown@code\@empty + \else + /D << /S /JavaScript /JS (\Fld@onmousedown@code) >> + \fi + \ifx\Fld@onmouseup@code\@empty + \else + /U << /S /JavaScript /JS (\Fld@onmouseup@code) >> + \fi + \ifx\Fld@onenter@code\@empty + \else + /E << /S /JavaScript /JS (\Fld@onenter@code) >> + \fi + \ifx\Fld@onexit@code\@empty + \else + /X << /S /JavaScript /JS (\Fld@onexit@code) >> + \fi + >> +} +\def\PDFForm@List{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Ch + /Q \Fld@align\space + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + >> + /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) + /Opt [\the\Choice@toks] + /DV (\Fld@default) + \Fld@additionalactions + \Fld@flags +} +\def\PDFForm@Radio{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 49152 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + /CA (H) + >> + /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg) + \ifx\@currValue\Fld@default + /V /\Fld@default\space + \else + /V /Off + \fi + \Fld@additionalactions +} +\def\PDFForm@Text{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /Q \Fld@align\space + /FT /Tx + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + >> + /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) + /DV (\Fld@default) + /V (\Fld@value) + \Fld@additionalactions + \ifFld@multiline + \ifFld@readonly /Ff 4097 \else /Ff 4096 \fi + \else + \ifFld@password + \ifFld@readonly /Ff 8193 \else /Ff 8192 \fi + \else + \ifFld@readonly /Ff 1 \fi + \fi + \fi + \ifnum\Fld@maxlen>0/MaxLen \Fld@maxlen \fi +} +\def\PDFForm@Submit{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 65540 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + >> + /A << + /S /SubmitForm + /F << + /FS /URL + /F (\Form@action) + >> + \ifForm@html /Flags 4 \fi + >> +} +\def\PDFForm@Reset{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /H /P + /DA (/Helv \strip@pt\Fld@charsize\space Tf 0 0 1 rg) + /Ff 65540 + /MK << + /BC [\Fld@bordercolor] + >> + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /A << /S /ResetForm >> +} +\newwrite\@outlinefile +\def\Hy@writebookmark#1#2#3#4#5{% section number, text, label, level, file + \ifx\WriteBookmarks\relax% + \else + \ifnum#4>\c@tocdepth + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi + \fi} +\def\Hy@currentbookmarklevel{0} +\def\Hy@numberline#1{#1 } +\def\@@writetorep#1#2#3#4#5{% + \begingroup + \edef\Hy@tempa{#5}% + \ifx\Hy@tempa\Hy@bookmarkstype + \edef\Hy@level{#4}% + \ifx\Hy@levelcheck Y% + \@tempcnta\Hy@level\relax + \advance\@tempcnta by -1 + \ifnum\Hy@currentbookmarklevel<\@tempcnta + \advance\@tempcnta by -\Hy@currentbookmarklevel\relax + \advance\@tempcnta by 1 + \Hy@Warning{% + Difference (\the\@tempcnta) between bookmark levels is % + greater \MessageBreak than one, level fixed% + }% + \@tempcnta\Hy@currentbookmarklevel + \advance\@tempcnta by 1 + \edef\Hy@level{\the\@tempcnta}% + \fi + \else + \global\let\Hy@levelcheck Y% + \fi + \global\let\Hy@currentbookmarklevel\Hy@level + \@tempcnta\Hy@level\relax + \expandafter\xdef\csname Parent\Hy@level\endcsname{#3}% + \advance\@tempcnta by -1 + \edef\Hy@tempa{#3}% + \edef\Hy@tempb{\csname Parent\the\@tempcnta\endcsname}% + \ifx\Hy@tempa\Hy@tempb + \Hy@Warning{% + The anchor of a bookmark and its parent's must not% + \MessageBreak be the same. Added a new anchor% + }% + \phantomsection + \fi + \ifHy@bookmarksnumbered + \let\numberline\Hy@numberline + \else + \let\numberline\@gobble + \fi + \pdfstringdef\Hy@tempa{#2}% + \protected@write\@outlinefile{}{% + \protect\BOOKMARK + [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}% + {\Hy@tempa}{\Hy@tempb}% + }% + \fi + \endgroup +} +\newcommand{\currentpdfbookmark}{% + \pdfbookmark[\Hy@currentbookmarklevel]% +} +\newcommand{\subpdfbookmark}{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]% +} +\newcommand{\belowpdfbookmark}[2]{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]{#1}{#2}% + \advance\@tempcnta by -1 + \xdef\Hy@currentbookmarklevel{\the\@tempcnta}% +} +\renewcommand\pdfbookmark[3][0]{% + \Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}% + \hyper@anchorstart{#3.#1}\hyper@anchorend +} +\def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}} +\def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}} +\def\ReadBookmarks{% + \begingroup + \escapechar=`\\% + \let\escapechar\@gobble % + \def\@@BOOKMARK [##1][##2]##3##4##5{\calc@bm@number{##5}}% + \InputIfFileExists{\jobname.out}{}{}% + \ifx\WriteBookmarks\relax + \global\let\WriteBookmarks\relax + \fi + \def\@@BOOKMARK[##1][##2]##3##4##5{% + \def\Hy@temp{##4}% + \pdfoutline goto + name{##3}% + count ##2\check@bm@number{##3}{% + \expandafter\strip@prefix\meaning\Hy@temp + }% + }% + {% + \def\WriteBookmarks{0}% + \InputIfFileExists{\jobname.out}{}{}% + }% + %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}% + \ifx\WriteBookmarks\relax\else + \if@filesw\immediate\openout\@outlinefile=\jobname.out + \ifHy@typexml + \immediate\write\@outlinefile{<relaxxml>\relax}% + \fi + \fi + \fi + \endgroup +} +\def\check@bm@number#1{% + \expandafter\ifx\csname B_#1\endcsname\relax + 0% + \else + \csname B_#1\endcsname + \fi +} +\def\calc@bm@number#1{% + \@tempcnta=\check@bm@number{#1}\relax + \advance\@tempcnta by1 + \expandafter\xdef\csname B_#1\endcsname{\the\@tempcnta}% +} +\ifHy@implicit +\else + \def\@begindvi{% + \unvbox\@begindvibox + \HyPL@EveryPage + \global\let\@begindvi\HyPL@EveryPage + }% + \expandafter\endinput +\fi +\let\H@old@ssect\@ssect +\def\@ssect#1#2#3#4#5{% + \H@old@ssect{#1}{#2}{#3}{#4}{#5}% + \phantomsection +} +\let\H@old@schapter\@schapter +\def\@schapter#1{% + \H@old@schapter{#1}% + \begingroup + \let\@mkboth\@gobbletwo + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \endgroup +} +\@ifundefined{@chapter}{}{% + \let\Hy@org@chapter\@chapter + \def\@chapter{% + \def\Hy@next{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + \ifnum\c@secnumdepth>\m@ne + \@ifundefined{if@mainmatter}% + \iftrue{\csname if@mainmatter\endcsname} + \let\Hy@next\relax + \fi + \fi + \Hy@next + \Hy@org@chapter + }% +} +\let\H@old@spart\@spart +\def\@spart#1{% + \H@old@spart{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{part*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\let\H@old@sect\@sect +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \fi + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + \ifnum #2>\c@secnumdepth + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \fi +} +\expandafter\def\csname Parent-4\endcsname{} +\expandafter\def\csname Parent-3\endcsname{} +\expandafter\def\csname Parent-2\endcsname{} +\expandafter\def\csname Parent-1\endcsname{} +\expandafter\def\csname Parent0\endcsname{} +\expandafter\def\csname Parent1\endcsname{} +\expandafter\def\csname Parent2\endcsname{} +\expandafter\def\csname Parent3\endcsname{} +\expandafter\def\csname Parent4\endcsname{} +\def\Hy@tempa{% + \def\@addchap[##1]##2{% + \typeout{##2}% + \if@twoside + \@mkboth{##1}{}% + \else + \@mkboth{}{##1}% + \fi + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \if@twocolumn + \@topnewpage[\@makeschapterhead{##2}]% + \else + \@makeschapterhead{##2}% + \@afterheading + \fi + \addcontentsline{toc}{chapter}{##1}% + }% +} +\@ifclassloaded{scrbook}{% + \@ifclasslater{scrbook}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% +}{% + \@ifclassloaded{scrreprt}{% + \@ifclasslater{scrreprt}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% + }{% + \let\Hy@tempa\@empty + }% +}% +\Hy@tempa +\endinput +%% +%% End of file `hpdftex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg new file mode 100644 index 00000000000..2fc266382cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -0,0 +1,41 @@ +%% +%% This is file `htex4ht.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `tex4htcfg') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{htex4ht.cfg} + [2003/11/30 v6.74m + Hyperref configuration file for TeX4ht] +\IfFileExists{\jobname.cfg}{\endinput}{} +\Preamble{html} + \begin{document} +\EndPreamble +\def\TeX{TeX} +\def\OMEGA{Omega} +\def\LaTeX{La\TeX} +\def\LaTeXe{\LaTeX2e} +\def\eTeX{e-\TeX} +\def\MF{Metafont} +\def\MP{Metapost} +\endinput +%% +%% End of file `htex4ht.cfg'. diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def new file mode 100644 index 00000000000..d838a7f0f9f --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -0,0 +1,255 @@ +%% +%% This is file `htex4ht.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `tex4ht') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{htex4ht.def} + [2003/11/30 v6.74m + Hyperref driver for TeX4ht] +\@ifpackageloaded{tex4ht} + {\typeout{hyperref tex4ht: tex4ht already loaded}}% + {\RequirePackage[htex4ht]{tex4ht}} +\def\PDF@FinishDoc{} +\def\PDF@SetupDoc{% + \ifx\@baseurl\@empty + \else + \special{t4ht=<base href="\@baseurl">}% + \fi +} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \let\protect=\string + \special{t4ht=<a name=\hyper@quote #1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue + \Hy@colorlink{\@anchorcolor}\anchor@spot\Hy@endcolorlink + \special{t4ht=</a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \begingroup + \hyper@chars\special{t4ht=<a name=\hyper@quote#1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \special{t4ht=</a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\@urltype{url} +\def\hyper@linkstart#1#2{% + \Hy@colorlink{\csname @#1color\endcsname}% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\@urltype + \special{t4ht=<a href=\hyper@quote#2\hyper@quote>}% + \else + {\hyper@chars\special{t4ht=<a href=\hyper@quote\##2\hyper@quote>}}% + \fi +} +\def\hyper@linkend{% + \special{t4ht=</a>}% + \Hy@endcolorlink +} +\def\hyper@linkfile#1#2#3{% + \hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% +} +\def\hyper@linkurl#1#2{% + \leavevmode + \ifHy@raiselinks + \setbox\@tempboxa=\color@hbox #1\color@endbox + \@linkdim\dp\@tempboxa + \lower\@linkdim\hbox{% + \begingroup + \hyper@chars\special{t4ht=<a href=\hyper@quote#2\hyper@quote>}% + \endgroup + }% + \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink + \@linkdim\ht\@tempboxa + \advance\@linkdim by -6.5\p@ + \raise\@linkdim\hbox{\special{t4ht=</a>}}% + \else + \begingroup + \hyper@chars + \special{t4ht=<a href=\hyper@quote#2\hyper@quote>}% + \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink + \special{t4ht=</a>}% + \endgroup + \fi +} +\def\hyper@link#1#2#3{% + \hyper@linkurl{#3}{\##2}% +} +\def\hyper@image#1#2{% + \begingroup + \hyper@chars + \special{t4ht=<img src=\hyper@quote#1\hyper@quote>}% + \endgroup +} +\let\autoref\ref +\ifx \rEfLiNK \UnDef + \def\rEfLiNK #1#2{#2}% +\fi +\def\backref#1{} +\def\@Form[#1]{% + \setkeys{Form}{#1}% + \HCode{<form action="\Form@action" method="\Form@method">}% +} +\def\@endForm{\HCode{</form>}} +\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum + \typeout{Sorry, TeX4ht does not support gauges}% +} +\def\@TextField[#1]#2{% parameters, label + \let\Hy@reserved@a\@empty + \def\Fld@name{#2}% + \def\Fld@default{}% + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \HCode{<label for="\Fld@name">#2</label>}% + \ifFld@password + \@@PasswordField + \else + \@@TextField + \fi + \egroup +} +\def\@@PasswordField{% + \HCode{% + <input type="password" + id="\Fld@name" + name="\Fld@name" + \ifFld@hidden type="hidden"\fi + value="\Fld@default" + \the\Field@toks + >% + }% +} +\def\@@TextField{% + \ifFld@multiline + \HCode{<textarea + \ifFld@readonly readonly \fi + id="\Fld@name" + name="\Fld@name" + \ifFld@hidden type="hidden"\fi + \the\Field@toks>% + }% + \Fld@default + \HCode{</textarea>}% + \else + \HCode{<input type="textbox" + \ifFld@readonly readonly \fi + id="\Fld@name" + name="\Fld@name" + \ifFld@hidden type="hidden"\fi + value="\Fld@default" \the\Field@toks> + }% + \fi +} +\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices + \def\Fld@name{#2}% + \def\Fld@default{}% + \let\Hy@reserved@a\relax + \bgroup + \expandafter\Fld@findlength#3\\% + \Field@toks={ }% + \setkeys{Field}{#1}% + #2% + \ifFld@radio + \expandafter\@@Radio#3\\% + \else + \expandafter\@@Menu#3\\% + \fi + \egroup +} +\def\Fld@findlength#1\\{% + \Fld@menulength=0 + \@for\@curropt:=#1\do{\Hy@StepCount\Fld@menulength}% +} +\def\@@Menu#1\\{% + \HCode{<select size="\the\Fld@menulength" + name="\Fld@name" \the\Field@toks>}% + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \HCode{<option + \ifx\@curropt\Fld@default selected \fi + value="\@currValue">\@currDisplay</option>% + }% + }% + \HCode{</select>}% +} +\def\@@Radio#1\\{% + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \HCode{<input type="radio" + \ifx\@curropt\Fld@default checked \fi + name="\Fld@name" + value="\@currValue" + \the\Field@toks>% + }% + \@currDisplay + }% +} +\def\@PushButton[#1]#2{% parameters, label + \def\Fld@name{#2}% + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \HCode{<input type="button" + name="\Fld@name" + value="#2" + \the\Field@toks>% + }% + \HCode{</button>}% + \egroup +} +\def\@Submit[#1]#2{% + \HCode{<button type="submit">#2</button>}% +} +\def\@Reset[#1]#2{% + \HCode{<button type="reset">#2</button>}% +} +\def\@CheckBox[#1]#2{% parameters, label + \let\Hy@reserved@a\@empty + \def\Fld@name{#2}% + \def\Fld@default{0}% + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \HCode{<input type="checkbox" + \ifFld@checked checked \fi + \ifFld@disabled disabled \fi + \ifFld@readonly readonly \fi + name="\Fld@name" + \ifFld@hidden type="hidden"\fi + value="\Fld@default" + \the\Field@toks>% + #2% + }% + \egroup +} +\endinput +%% +%% End of file `htex4ht.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def new file mode 100644 index 00000000000..06fe4e35a63 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -0,0 +1,194 @@ +%% +%% This is file `htexture.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `textures') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{htexture.def} + [2003/11/30 v6.74m + Hyperref driver for Textures] +\begingroup + \obeylines % + \gdef\Hy@ps@CR{\noexpand + }% +\endgroup % +\def\literalps@out#1{% + \special{postscript 0 0 transform}% + \special{rawpostscript itransform moveto\Hy@ps@CR #1}% +}% +\def\headerps@out#1{% + \special{% + prepostscript TeXdict begin\Hy@ps@CR + #1\Hy@ps@CR + end% + }% +}% +\AtBeginDvi{% + \headerps@out{% + /betterpdfmark {% + systemdict begin + dup /BP eq + {cleartomark gsave nulldevice [} + {dup /EP eq + {cleartomark cleartomark grestore} + {cleartomark} + ifelse + }ifelse + end + }def\Hy@ps@CR + __pdfmark__ not{/pdfmark /betterpdfmark load def}if + }% end of \headerps@out +}% end of \AtBeginDvi +\input{pdfmark.def}% +\def\@pdfproducer{Textures + Distiller}% +\providecommand\@pdfborder{0 0 1} +\providecommand\@pdfview{XYZ} +\providecommand\@pdfviewparams{ H.V} +\headerps@out{% + /vsize {\Hy@pageheight} def + /DvipsToPDF {} def + /PDFToDvips {} def + /HyperBorder { 1 PDFToDvips } def\Hy@ps@CR + /H.V {pdf@hoff pdf@voff null} def\Hy@ps@CR + /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def\Hy@ps@CR + /H.S { + currentpoint + HyperBorder add /pdf@lly exch def + dup DvipsToPDF /pdf@hoff exch def + HyperBorder sub /pdf@llx exch def + } def\Hy@ps@CR + /H.L { + 2 sub + PDFToDvips /HyperBase exch def + currentpoint + HyperBase sub /pdf@ury exch def + /pdf@urx exch def + } def\Hy@ps@CR + /H.A { + H.L + currentpoint exch pop + vsize 72 sub exch DvipsToPDF + HyperBase sub % baseline skip + sub /pdf@voff exch def + } def\Hy@ps@CR + /H.R { + currentpoint + HyperBorder sub /pdf@ury exch def + HyperBorder add /pdf@urx exch def + currentpoint exch pop vsize 72 sub + exch DvipsToPDF sub /pdf@voff exch def + } def\Hy@ps@CR +} +\AfterBeginDocument{% + \ifHy@colorlinks + \headerps@out{/PDFBorder{/Border [0 0 0]}def}% + \fi +} +\expandafter\let\expandafter\keepPDF@SetupDoc + \csname PDF@SetupDoc\endcsname +\def\PDF@SetupDoc{% + \ifx\@baseurl\@empty + \else + \special{html:<base href="\@baseurl">}% + \fi + \keepPDF@SetupDoc +} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \let\protect=\string + \special{html:<a name=\hyper@quote #1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue + \Hy@colorlink{\@anchorcolor}\anchor@spot\Hy@endcolorlink + \special{html:</a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \begingroup + \hyper@chars + \special{html:<a name=\hyper@quote#1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \special{html:</a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\@urltype{url} +\def\hyper@linkstart#1#2{% + \Hy@colorlink{\csname @#1color\endcsname}% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\@urltype + \special{html:<a href=\hyper@quote#2\hyper@quote>}% + \else + \begingroup + \hyper@chars + \special{html:<a href=\hyper@quote\##2\hyper@quote>}% + \endgroup + \fi +} +\def\hyper@linkend{% + \special{html:</a>}% + \Hy@endcolorlink +} +\def\hyper@linkfile#1#2#3{% + \hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% +} +\def\hyper@linkurl#1#2{% + \leavevmode + \ifHy@raiselinks + \setbox\@tempboxa=\color@hbox #1\color@endbox + \@linkdim\dp\@tempboxa + \lower\@linkdim\hbox{% + \hyper@chars + \special{html:<a href=\hyper@quote#2\hyper@quote>}% + }% + \Hy@colorlink{\@urlcolor}#1% + \@linkdim\ht\@tempboxa + \advance\@linkdim by -6.5\p@ + \raise\@linkdim\hbox{\special{html:</a>}}% + \Hy@endcolorlink + \else + \begingroup + \hyper@chars + \special{html:<a href=\hyper@quote#2\hyper@quote>}% + \Hy@colorlink{\@urlcolor}#1% + \special{html:</a>}% + \Hy@endcolorlink + \endgroup + \fi +} +\def\hyper@link#1#2#3{% + \hyper@linkurl{#3}{\##2}% +} +\def\hyper@image#1#2{% + \begingroup + \hyper@chars + \special{html:<img src=\hyper@quote#1\hyper@quote>}% + \endgroup +} +\endinput +%% +%% End of file `htexture.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def new file mode 100644 index 00000000000..9cb65ed6973 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -0,0 +1,675 @@ +%% +%% This is file `hvtex.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `vtex,outlines') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hvtex.def} + [2003/11/30 v6.74m + Hyperref driver for VTeX in PDF/PS mode] +\edef\Hy@VTeXversion{% + \ifx\VTeXversion\@undefined + \z@ + \else + \ifx\VTeXversion\relax + \z@ + \else + \VTeXversion + \fi + \fi +} +\begingroup + \ifnum\Hy@VTeXversion<660 % + \gdef\Hy@PutCatalog#1{% + \Hy@WarningNoLine{% + VTeX 6.59g or above required for pdfpagelabels% + }% + } + \else + \gdef\Hy@PutCatalog#1{% + \Hy@vt@PutCatalog#1/PageLabels <<>>\@nil + } + \gdef\Hy@vt@PutCatalog#1/PageLabels <<#2>>#3\@nil{% + \ifx\\#2\\% + \else + \immediate\special{!pdfpagelabels #2}% + \fi + } + \fi +\endgroup +\ifHy@pagelabels + \def\HyPL@StorePageLabel#1{% + \toks@\expandafter{\HyPL@Labels}% + \xdef\HyPL@Labels{% + \the\toks@ + \the\Hy@abspage\space<< #1 >> % + }% + } + \AtEndDocument{\clearpage\HyPL@SetPageLabels} +\fi +\ifx\mediaheight\@undefined +\else + \ifx\mediaheight\relax + \else + \ifHy@setpagesize + \providecommand*{\VTeXInitMediaSize}{% + \@ifundefined{stockwidth}{% + \ifdim\paperheight>0pt % + \setlength\mediaheight\paperheight + \fi + \ifdim\paperheight>0pt % + \setlength\mediawidth\paperwidth + \fi + }{% + \ifdim\stockheight>0pt % + \setlength\mediaheight\stockheight + \fi + \ifdim\stockwidth>0pt % + \setlength\mediawidth\stockwidth + \fi + }% + }% + \AtBeginDocument{\VTeXInitMediaSize}% + \fi + \Hy@DisableOption{setpagesize}% + \fi +\fi +\providecommand\@pdfview{xyz} +\providecommand\@pdfborder{0 0 1}% +\def\CurrentBorderColor{\@linkbordercolor} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \let\protect=\string + \hyper@chars + \special{!aname #1;\@pdfview}% + \endgroup + \Hy@activeanchortrue + \Hy@colorlink{\@anchorcolor}\anchor@spot\Hy@endcolorlink + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \begingroup + \hyper@chars + \special{!aname #1;\@pdfview}% + \endgroup + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\@urltype{url} +\def\Hy@undefinedname{UNDEFINED} +\def\hyper@linkstart#1#2{% + \Hy@colorlink{\csname @#1color\endcsname}% + \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\@urltype + \special{!% + aref <u=/Type /Action /S /URI /URI (#2)>;% + a=</Border [\@pdfborder] /C [\CurrentBorderColor]>% + }% + \else + \protected@edef\Hy@testname{#2}% + \ifx\Hy@testname\@empty + \let\Hy@testname\Hy@undefinedname + \fi + \special{!% + aref \Hy@testname;% + a=</Border [\@pdfborder] /C [\CurrentBorderColor]>% + }% + \fi +} +\def\hyper@linkend{% + \special{!endaref}% + \Hy@endcolorlink +} +\def\hyper@linkfile#1#2#3{% + \leavevmode + \special{!% + aref <% + \ifnum\Hy@VTeXversion>753 \ifHy@newwindow n\fi\fi + f=#2>#3;% + a=</Border [\@pdfborder] /C [\@filebordercolor]>% + }% + \Hy@colorlink{\@filecolor}#1\Hy@endcolorlink + \special{!endaref}% +} +\def\hyper@linkurl#1#2{% + \begingroup + \hyper@chars + \leavevmode + \special{!% + aref <u=/Type /Action /S /URI /URI (#2)>;% + a=</Border [\@pdfborder] /C [\@urlbordercolor]>% + }% + \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink + \special{!endaref}% + \endgroup +} +\def\hyper@link#1#2#3{% + \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}% + \leavevmode + \protected@edef\Hy@testname{#2}% + \ifx\Hy@testname\@empty + \let\Hy@testname\Hy@undefinedname + \fi + \special{!% + aref \Hy@testname;% + a=</Border [\@pdfborder] /C [\CurrentBorderColor]>% + }% + \Hy@colorlink{\csname @#1color\endcsname}#3\Hy@endcolorlink + \special{!endaref}% +} +\def\hyper@image#1#2{% + \hyper@linkurl{#2}{#1}% +} +\def\@hyper@launch run:#1\\#2#3{% + \leavevmode + \special{!aref + <u=% + /Type /Action + /S /Launch + /F (#1) + \ifHy@newwindow /NewWindow true \fi + \ifx\\#3\\\else /Win << /F (#1) /P (#3) >> \fi% + >;% + a=</Border [\@pdfborder] /C [\@runbordercolor]>% + }% + \Hy@colorlink{\@filecolor}#2\Hy@endcolorlink + \special{!endaref}% +} +\def\Acrobatmenu#1#2{% + \leavevmode + \special{!% + aref <u=/S /Named /N /#1>;% + a=</Border [\@pdfborder] /C [\@menubordercolor]>% + }% + \Hy@colorlink{\@menucolor}#2\Hy@endcolorlink + \special{!endaref}% +} +\ifnum\Hy@VTeXversion<702 % +\else + \def\hyper@pagetransition{% + \ifx\@pdfpagetransition\relax + \else + \ifx\@pdfpagetransition\@empty + \else + \hvtex@parse@trans\@pdfpagetransition + \fi + \fi + } + \def\hvtex@trans@effect@Blinds{\def\hvtex@trans@code{B}} + \def\hvtex@trans@effect@Box{\def\hvtex@trans@code{X}} + \def\hvtex@trans@effect@Dissolve{\def\hvtex@trans@code{D}} + \def\hvtex@trans@effect@Glitter{\def\hvtex@trans@code{G}} + \def\hvtex@trans@effect@Split{\def\hvtex@trans@code{S}} + \def\hvtex@trans@effect@Wipe{\def\hvtex@trans@code{W}} + \def\hvtex@trans@effect@R{\def\hvtex@trans@code{R}} + \def\hvtex@par@dimension{/Dm} + \def\hvtex@par@direction{/Di} + \def\hvtex@par@duration{/D} + \def\hvtex@par@motion{/M} + \def\hvtex@gettoken{\expandafter\hvtex@gettoken@\hvtex@buffer\@nil} + \def\hvtex@gettoken@#1 #2\@nil{% + \edef\hvtex@token{#1}% + \edef\hvtex@buffer{#2}% + } + \def\hvtex@parse@trans#1{% + \let\hvtex@trans@code\@empty + \let\hvtex@param@dimension\@empty + \let\hvtex@param@direction\@empty + \let\hvtex@param@duration\@empty + \let\hvtex@param@motion\@empty + \edef\hvtex@buffer{#1\space}% + \hvtex@gettoken + \ifx\hvtex@token\@empty + \ifx\hvtex@buffer\@empty + \else + \hvtex@gettoken + \fi + \fi + \csname hvtex@trans@effect@\hvtex@token\endcsname + \hvtex@trans@params + } + \def\hvtex@trans@params{% + \ifx\hvtex@buffer\@empty + \else + \hvtex@gettoken + \let\hvtex@trans@par\hvtex@token + \ifx\hvtex@buffer\@empty + \else + \hvtex@gettoken + \ifx\hvtex@trans@par\hvtex@par@duration + \let\hvtex@param@duration\hvtex@token + \else \ifx\hvtex@trans@par\hvtex@par@motion + \expandafter\edef\expandafter\hvtex@param@motion + \expandafter{\expandafter\@gobble\hvtex@token}% + \else \ifx\hvtex@trans@par\hvtex@par@dimension + \expandafter\edef\expandafter\hvtex@param@dimension + \expandafter{\expandafter\@gobble\hvtex@token}% + \else \ifx\hvtex@trans@par\hvtex@par@direction + \let\hvtex@param@direction\hvtex@token + \fi\fi\fi\fi + \fi + \fi + \ifx\hvtex@buffer\@empty + \let\next\hvtex@produce@trans + \else + \let\next\hvtex@trans@params + \fi + \next + } + \def\hvtex@produce@trans{% + \let\vtex@trans@special\@empty + \if S\hvtex@trans@code + \edef\vtex@trans@special{\hvtex@trans@code + \hvtex@param@dimension\hvtex@param@motion}% + \else \if B\hvtex@trans@code + \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@dimension}% + \else \if X\hvtex@trans@code + \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@motion}% + \else \if W\hvtex@trans@code + \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@direction}% + \else \if D\hvtex@trans@code + \let\vtex@trans@special\hvtex@trans@code + \else \if R\hvtex@trans@code + \let\vtex@trans@special\hvtex@trans@code + \else \if G\hvtex@trans@code + \edef\vtex@trans@special{\hvtex@trans@code\hvtex@param@direction}% + \fi\fi\fi\fi\fi\fi\fi + \ifx\vtex@trans@special\@empty + \else + \ifx\hvtex@param@duration\@empty + \else + \setlength{\dimen@}{\hvtex@param@duration\p@}% + \multiply\dimen@\@m + \edef\vtex@trans@special{\vtex@trans@special,\strip@pt\dimen@}% + \fi + \special{!trans \vtex@trans@special}% + \fi + } + \def\hyper@pageduration{% + \ifx\@pdfpageduration\relax + \else + \ifx\@pdfpageduration\@empty + \special{!duration-}% + \else + \special{!duration \@pdfpageduration}% + \fi + \fi + } + \def\hyper@pagehidden{% + \ifHy@useHidKey + \special{!hidden\ifHy@pdfpagehidden +\else -\fi}% + \fi + } +\fi +\def\@pdfproducer{VTeX} +\ifnum\Hy@VTeXversion>\z@ + \count@\VTeXversion + \divide\count@ 100 + \edef\@pdfproducer{\@pdfproducer\space v\the\count@} + \multiply\count@ -100 + \advance\count@\VTeXversion + \edef\@pdfproducer{% + \@pdfproducer + .\ifnum\count@<10 0\fi\the\count@ + \ifx\VTeXOS\@undefined\else + \ifnum\VTeXOS>0 % + \ifnum\VTeXOS<6 % + \space(% + \ifcase\VTeXOS + \or Windows\or Linux\or OS/2\or MacOS\or MacOS/X% + \fi + )% + \fi + \fi + \fi + ,\space + \ifnum\OpMode=\@ne PDF\else PS\fi + \space backend% + \ifx\gexmode\@undefined\else + \ifnum\gexmode>\z@\space with GeX\fi + \fi + } +\fi +\def\PDF@SetupDoc{% + \ifx\@pdfpagescrop\@empty + \else + \special{!pdfinfo b=<\@pdfpagescrop>}% + \fi + \special{!onopen Page\@pdfstartpage}% + \special{!pdfinfo p=<\@pdfpagemode>}% + \ifx\@baseurl\@empty + \else + \special{!pdfinfo u=<<</Base (\@baseurl)>>>}% + \fi + \special{!pdfinfo v=<<<% + \ifHy@toolbar\else /HideToolbar true\fi + \ifHy@menubar\else /HideMenubar true\fi + \ifHy@windowui\else /HideWindowUI true\fi + \ifHy@fitwindow /FitWindow true\fi + \ifHy@centerwindow /CenterWindow true\fi + \ifHy@displaydoctitle /DisplayDocTitle true\fi + \ifx\@pdfnonfullscreenpagemode\@empty + \else + /NonFullScreenPageMode\@pdfnonfullscreenpagemode + \fi + >>>}% + \ifx\pdf@pagelayout\@empty + \else + \special{!pdfinfo l=</\pdf@pagelayout\space>}% + \fi +}% +\def\PDF@FinishDoc{% + \Hy@UseMaketitleInfos + \special{!pdfinfo a=<\@pdfauthor>}% + \special{!pdfinfo t=<\@pdftitle>}% + \special{!pdfinfo s=<\@pdfsubject>}% + \special{!pdfinfo c=<\@pdfcreator>}% + \special{!pdfinfo r=<\@pdfproducer>}% + \special{!pdfinfo k=<\@pdfkeywords>}% + \Hy@DisableOption{pdfauthor}% + \Hy@DisableOption{pdftitle}% + \Hy@DisableOption{pdfsubject}% + \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfproducer}% + \Hy@DisableOption{pdfkeywords}% +} +\newwrite\@outlinefile +\def\Hy@writebookmark#1#2#3#4#5{% section number, text, label, level, file + \ifx\WriteBookmarks\relax% + \else + \ifnum#4>\c@tocdepth + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi + \fi} +\def\Hy@currentbookmarklevel{0} +\def\Hy@numberline#1{#1 } +\def\@@writetorep#1#2#3#4#5{% + \begingroup + \edef\Hy@tempa{#5}% + \ifx\Hy@tempa\Hy@bookmarkstype + \edef\Hy@level{#4}% + \ifx\Hy@levelcheck Y% + \@tempcnta\Hy@level\relax + \advance\@tempcnta by -1 + \ifnum\Hy@currentbookmarklevel<\@tempcnta + \advance\@tempcnta by -\Hy@currentbookmarklevel\relax + \advance\@tempcnta by 1 + \Hy@Warning{% + Difference (\the\@tempcnta) between bookmark levels is % + greater \MessageBreak than one, level fixed% + }% + \@tempcnta\Hy@currentbookmarklevel + \advance\@tempcnta by 1 + \edef\Hy@level{\the\@tempcnta}% + \fi + \else + \global\let\Hy@levelcheck Y% + \fi + \global\let\Hy@currentbookmarklevel\Hy@level + \@tempcnta\Hy@level\relax + \expandafter\xdef\csname Parent\Hy@level\endcsname{#3}% + \advance\@tempcnta by -1 + \edef\Hy@tempa{#3}% + \edef\Hy@tempb{\csname Parent\the\@tempcnta\endcsname}% + \ifx\Hy@tempa\Hy@tempb + \Hy@Warning{% + The anchor of a bookmark and its parent's must not% + \MessageBreak be the same. Added a new anchor% + }% + \phantomsection + \fi + \ifHy@bookmarksnumbered + \let\numberline\Hy@numberline + \else + \let\numberline\@gobble + \fi + \pdfstringdef\Hy@tempa{#2}% + \protected@write\@outlinefile{}{% + \protect\BOOKMARK + [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}% + {\Hy@tempa}{\Hy@tempb}% + }% + \fi + \endgroup +} +\newcommand{\currentpdfbookmark}{% + \pdfbookmark[\Hy@currentbookmarklevel]% +} +\newcommand{\subpdfbookmark}{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]% +} +\newcommand{\belowpdfbookmark}[2]{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]{#1}{#2}% + \advance\@tempcnta by -1 + \xdef\Hy@currentbookmarklevel{\the\@tempcnta}% +} +\renewcommand\pdfbookmark[3][0]{% + \Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}% + \hyper@anchorstart{#3.#1}\hyper@anchorend +} +\def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}} +\def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}} +\newcount\@serial@counter\@serial@counter=1\relax +\begingroup + \catcode`\'=12 + \ifnum\Hy@VTeXversion<650 % + \catcode`\"=12 + \gdef\hv@pdf@char#1#2#3{% + \char + \ifcase'#1#2#3 + "00\or"01\or"02\or"03\or"04\or"05\or"06\or"07% + \or"08\or"09\or"0A\or"0B\or"0C\or"0D\or"0E\or"0F% + \or"10\or"11\or"12\or"13\or"14\or"15\or"16\or"17% + \or"18\or"19\or"1A\or"1B\or"1C\or"1D\or"1E\or"1F% + \or"20\or"21\or"22\or"23\or"24\or"25\or"26\or"27% + \or"28\or"29\or"2A\or"2B\or"2C\or"2D\or"2E\or"2F% + \or"30\or"31\or"32\or"33\or"34\or"35\or"36\or"37% + \or"38\or"39\or"3A\or"3B\or"3C\or"3D\or"3E\or"3F% + \or"40\or"41\or"42\or"43\or"44\or"45\or"46\or"47% + \or"48\or"49\or"4A\or"4B\or"4C\or"4D\or"4E\or"4F% + \or"50\or"51\or"52\or"53\or"54\or"55\or"56\or"57% + \or"58\or"59\or"5A\or"5B\or"5C\or"5D\or"5E\or"5F% + \or"60\or"61\or"62\or"63\or"64\or"65\or"66\or"67% + \or"68\or"69\or"6A\or"6B\or"6C\or"6D\or"6E\or"6F% + \or"70\or"71\or"72\or"73\or"74\or"75\or"76\or"77% + \or"78\or"79\or"7A\or"7B\or"7C\or"7D\or"7E\or"7F% + \or"80\or"81\or"82\or"83\or"84\or"85\or"86\or"87% + \or"88\or"89\or"8A\or"8B\or"8C\or"8D\or"8E\or"8F% + \or"90\or"91\or"92\or"93\or"94\or"95\or"96\or"97% + \or"98\or"99\or"9A\or"9B\or"9C\or"9D\or"9E\or"9F% + \or"A0\or"A1\or"A2\or"A3\or"A4\or"A5\or"A6\or"A7% + \or"A8\or"A9\or"AA\or"AB\or"AC\or"AD\or"AE\or"AF% + \or"B0\or"B1\or"B2\or"B3\or"B4\or"B5\or"B6\or"B7% + \or"B8\or"B9\or"BA\or"BB\or"BC\or"BD\or"BE\or"BF% + \or"C0\or"C1\or"C2\or"C3\or"C4\or"C5\or"C6\or"C7% + \or"C8\or"C9\or"CA\or"CB\or"CC\or"CD\or"CE\or"CF% + \or"D0\or"D1\or"D2\or"D3\or"D4\or"D5\or"D6\or"D7% + \or"D8\or"D9\or"DA\or"DB\or"DC\or"DD\or"DE\or"DF% + \or"E0\or"E1\or"E2\or"E3\or"E4\or"E5\or"E6\or"E7% + \or"E8\or"E9\or"EA\or"EB\or"EC\or"ED\or"EE\or"EF% + \or"F0\or"F1\or"F2\or"F3\or"F4\or"F5\or"F6\or"F7% + \or"F8\or"F9\or"FA\or"FB\or"FC\or"FD\or"FE\or"FF% + \fi + } + \else + \gdef\hv@pdf@char{\char'} + \fi +\endgroup +\def\@@BOOKMARK[#1][#2]#3#4#5{% + \expandafter\edef\csname @count@#3\endcsname{\the\@serial@counter}% + \edef\@mycount{\the\@serial@counter}% + \Hy@StepCount\@serial@counter + \edef\@parcount{% + \expandafter\ifx\csname @count@#5\endcsname\relax + 0% + \else + \csname @count@#5\endcsname + \fi + }% + \immediate\special{!outline #3;p=\@parcount,i=\@mycount,s=\ifx#2-c\else +o\fi,t=#4}% +}% +\def\ReadBookmarks{% + \begingroup + \def\0{\hv@pdf@char 0}% + \def\1{\hv@pdf@char 1}% + \def\2{\hv@pdf@char 2}% + \def\3{\hv@pdf@char 3}% + \def\({(}% + \def\){)}% + \def\do##1{% + \ifnum\the\catcode`##1=\active + \@makeother##1% + \fi + }% + \dospecials + \InputIfFileExists{\jobname.out}{}{}% + \endgroup + \ifx\WriteBookmarks\relax + \else + \if@filesw + \immediate\openout\@outlinefile=\jobname.out + \ifHy@typexml + \immediate\write\@outlinefile{<relaxxml>\relax}% + \fi + \fi + \fi +} +\ifHy@implicit +\else + \def\@begindvi{% + \unvbox\@begindvibox + \HyPL@EveryPage + \global\let\@begindvi\HyPL@EveryPage + }% + \expandafter\endinput +\fi +\let\H@old@ssect\@ssect +\def\@ssect#1#2#3#4#5{% + \H@old@ssect{#1}{#2}{#3}{#4}{#5}% + \phantomsection +} +\let\H@old@schapter\@schapter +\def\@schapter#1{% + \H@old@schapter{#1}% + \begingroup + \let\@mkboth\@gobbletwo + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \endgroup +} +\@ifundefined{@chapter}{}{% + \let\Hy@org@chapter\@chapter + \def\@chapter{% + \def\Hy@next{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + \ifnum\c@secnumdepth>\m@ne + \@ifundefined{if@mainmatter}% + \iftrue{\csname if@mainmatter\endcsname} + \let\Hy@next\relax + \fi + \fi + \Hy@next + \Hy@org@chapter + }% +} +\let\H@old@spart\@spart +\def\@spart#1{% + \H@old@spart{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{part*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\let\H@old@sect\@sect +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \fi + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + \ifnum #2>\c@secnumdepth + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \fi +} +\expandafter\def\csname Parent-4\endcsname{} +\expandafter\def\csname Parent-3\endcsname{} +\expandafter\def\csname Parent-2\endcsname{} +\expandafter\def\csname Parent-1\endcsname{} +\expandafter\def\csname Parent0\endcsname{} +\expandafter\def\csname Parent1\endcsname{} +\expandafter\def\csname Parent2\endcsname{} +\expandafter\def\csname Parent3\endcsname{} +\expandafter\def\csname Parent4\endcsname{} +\def\Hy@tempa{% + \def\@addchap[##1]##2{% + \typeout{##2}% + \if@twoside + \@mkboth{##1}{}% + \else + \@mkboth{}{##1}% + \fi + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \if@twocolumn + \@topnewpage[\@makeschapterhead{##2}]% + \else + \@makeschapterhead{##2}% + \@afterheading + \fi + \addcontentsline{toc}{chapter}{##1}% + }% +} +\@ifclassloaded{scrbook}{% + \@ifclasslater{scrbook}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% +}{% + \@ifclassloaded{scrreprt}{% + \@ifclasslater{scrreprt}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% + }{% + \let\Hy@tempa\@empty + }% +}% +\Hy@tempa +\endinput +%% +%% End of file `hvtex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def new file mode 100644 index 00000000000..81e7733982c --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -0,0 +1,127 @@ +%% +%% This is file `hvtexhtm.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `vtexhtml') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hvtexhtml.def} + [2003/11/30 v6.74m + Hyperref driver for VTeX in HTML mode] +\RequirePackage{vtexhtml} +\newif\if@Localurl +\def\PDF@FinishDoc{} +\def\PDF@SetupDoc{% + \ifx\@baseurl\@empty + \else + \special{!direct <base href="\@baseurl">}% + \fi +} +\def\@urltype{url} +\def\hyper@link#1#2#3{% + \leavevmode + \special{!direct <a href=\hyper@quote\hyper@hash#2\hyper@quote>}% + #3% + \special{!direct </a>}% +} +\def\hyper@linkurl#1#2{% + \begingroup + \hyper@chars + \leavevmode + \MathBSuppress=1\relax + \special{!direct <a href=\hyper@quote#2\hyper@quote>}% + #1% + \MathBSuppress=0\relax + \special{!direct </a>}% + \endgroup +} +\def\hyper@linkfile#1#2#3{% + \hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% +} +\def\hyper@linkstart#1#2{% + \def\Hy@tempa{#1}\ifx\Hy@tempa\@urltype + \@Localurltrue + \special{!direct <a href=\hyper@quote#2\hyper@quote>}% + \else + \@Localurlfalse + \begingroup + \hyper@chars + \special{!aref #2}% + \endgroup + \fi +} +\def\hyper@linkend{% + \if@Localurl + \special{!endaref}% + \else + \special{!direct </a>}% + \fi +} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \begingroup + \hyper@chars + \special{!aname #1}% + \special{!direct <a name=\hyper@quote#1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \special{!direct </a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \let\protect=\string + \hyper@chars + \leavevmode + \special{!aname #1}% + \special{!direct <a name=\hyper@quote #1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue + \bgroup\anchor@spot\egroup + \special{!direct </a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\@Form[#1]{\typeout{Sorry, TeXpider does not yet support FORMs}} +\def\@endForm{} +\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum + \typeout{Sorry, TeXpider does not yet support FORM gauges}% +} +\def\@TextField[#1]#2{% parameters, label + \typeout{Sorry, TeXpider does not yet support FORM text fields}% + } +\def\@CheckBox[#1]#2{% parameters, label + \typeout{Sorry, TeXpider does not yet support FORM checkboxes}% + } +\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices + \typeout{Sorry, TeXpider does not yet support FORM choice menus}% +} +\def\@PushButton[#1]#2{% parameters, label + \typeout{Sorry, TeXpider does not yet support FORM pushbuttons}% +} +\def\@Reset[#1]#2{\typeout{Sorry, TeXpider does not yet support FORMs}} +\def\@Submit[#1]#2{\typeout{Sorry, TeXpider does not yet support FORMs}} +\endinput +%% +%% End of file `hvtexhtm.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def new file mode 100644 index 00000000000..8b040e1fefd --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -0,0 +1,82 @@ +%% +%% This is file `hvtexmrk.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `vtexpdfmark') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hvtexmrk.def} + [2003/11/30 v6.74m + Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] +\input{pdfmark.def}% +\ifnum\OpMode=\@ne + \def\@pdfproducer{VTeX} +\else + \def\@pdfproducer{VTeX + Distiller} +\fi +\def\literalps@out#1{\special{pS:#1}}% +\def\headerps@out#1{\immediate\special{pS:#1}}% +\providecommand\@pdfborder{0 0 1} +\providecommand\@pdfview{XYZ} +\providecommand\@pdfviewparams{ H.V} +\AtBeginDvi{% + \headerps@out{% + /vsize {\Hy@pageheight} def + /HyperBorder {1} def + /H.V {pdf@hoff pdf@voff null} def + /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def + /H.S { + currentpoint + HyperBorder sub + /pdf@lly exch def + dup 72 add /pdf@hoff exch def + HyperBorder sub + /pdf@llx exch def + } def + /H.L { + 2 sub + /HyperBasePt exch def + currentpoint + HyperBasePt add HyperBorder add + /pdf@ury exch def + HyperBorder add + /pdf@urx exch def + } def + /H.A { + H.L + currentpoint exch pop + vsize 72 sub exch + HyperBasePt add add + /pdf@voff exch def + } def + /H.R { + currentpoint + HyperBorder add + /pdf@ury exch def + HyperBorder add + /pdf@urx exch def + currentpoint exch pop vsize 72 sub add + /pdf@voff exch def + } def + }% +} +\endinput +%% +%% End of file `hvtexmrk.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty new file mode 100644 index 00000000000..a257cd26536 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -0,0 +1,4317 @@ +%% +%% This is file `hyperref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `package') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{hyperref} + [2003/11/30 v6.74m + Hypertext links for LaTeX] +\begingroup + \@makeother\`% + \@makeother\=% + \edef\x{% + \edef\noexpand\x{% + \endgroup + \noexpand\toks@{% + \catcode 96=\noexpand\the\catcode`\noexpand\`\relax + \catcode 61=\noexpand\the\catcode`\noexpand\=\relax + }% + }% + \noexpand\x + }% +\x +\@makeother\` +\@makeother\= +\def\Hy@SetCatcodes{% + \@makeother\`% + \@makeother\=% + \catcode`\$=3 + \catcode`\&=4 + \catcode`\^=7 + \catcode`\_=8 + \@makeother\|% + \@makeother\:% + \@makeother\(% + \@makeother\)% + \@makeother\[% + \@makeother\]% + \@makeother\/% + \@makeother\!% + \@makeother\<% + \@makeother\>% + \@makeother\.% + \@makeother\;% + \@makeother\+% + \@makeother\-% + \@makeother\"% + \@makeother\'% +} +\begingroup + \def\x#1{\catcode`\noexpand#1=\the\catcode`#1\relax}% + \xdef\Hy@RestoreCatcodes{% + \the\toks@ + \x\$% + \x\&% + \x\^% + \x\_% + \x\|% + \x\:% + \x\(% + \x\)% + \x\[% + \x\]% + \x\/% + \x\!% + \x\<% + \x\>% + \x\.% + \x\;% + \x\+% + \x\-% + \x\"% + \x\'% + }% +\endgroup +\Hy@SetCatcodes +\RequirePackage{keyval}[1997/11/10] +\def\Hy@Warning#1{\PackageWarning{hyperref}{#1}} +\def\Hy@WarningNoLine#1{\PackageWarningNoLine{hyperref}{#1}} +\def\Hy@Info#1{\PackageInfo{hyperref}{#1}} +\@ifundefined{AfterBeginDocument}{% + \def\AfterBeginDocument{\AtBeginDocument}% +}{}% +\newif\ifHy@typexml +\newif\ifHy@activeanchor +\newif\ifHy@backref +\newif\ifHy@bookmarks +\newif\ifHy@bookmarksnumbered +\newif\ifHy@bookmarksopen +\newif\ifHy@breaklinks +\newif\ifHy@centerwindow +\newif\ifHy@CJKbookmarks +\newif\ifHy@colorlinks +\newif\ifHy@draft +\newif\ifHy@figures +\newif\ifHy@fitwindow +\newif\ifHy@frenchlinks +\newif\ifHy@hyperfootnotes +\newif\ifHy@hyperindex +\newif\ifHy@hypertexnames +\newif\ifHy@implicit +\newif\ifHy@linktocpage +\newif\ifHy@menubar +\newif\ifHy@naturalnames +\newif\ifHy@nesting +\newif\ifHy@newwindow +\newif\ifHy@pageanchor +\newif\ifHy@pagelabels +\newif\ifHy@pdfpagehidden +\newif\ifHy@pdfstring +\newif\ifHy@plainpages +\newif\ifHy@psize +\newif\ifHy@raiselinks +\newif\ifHy@seminarslides +\newif\ifHy@setpagesize +\newif\ifHy@texht +\newif\ifHy@toolbar +\newif\ifHy@unicode +\newif\ifHy@usetitle +\newif\ifHy@verbose +\newif\ifHy@windowui +\newif\ifHy@displaydoctitle +\Hy@backreffalse +\Hy@bookmarksnumberedfalse +\Hy@bookmarksopenfalse +\Hy@bookmarkstrue +\Hy@breaklinksfalse +\Hy@centerwindowfalse +\Hy@CJKbookmarksfalse +\Hy@figuresfalse +\Hy@fitwindowfalse +\Hy@hyperfootnotestrue +\Hy@hyperindextrue +\Hy@hypertexnamestrue +\Hy@implicittrue +\Hy@linktocpagefalse +\Hy@menubartrue +\Hy@naturalnamesfalse +\Hy@nestingfalse +\Hy@newwindowfalse +\Hy@pageanchortrue +\Hy@pagelabelsfalse +\Hy@pdfpagehiddenfalse +\Hy@pdfstringfalse +\Hy@plainpagestrue +\Hy@raiselinksfalse +\Hy@setpagesizetrue +\Hy@texhtfalse +\Hy@toolbartrue +\Hy@typexmlfalse +\Hy@unicodefalse +\Hy@usetitlefalse +\Hy@verbosefalse +\Hy@windowuitrue +\Hy@displaydoctitlefalse +\def\Hy@StepCount#1{\advance#1 by 1 }% +\def\Hy@GlobalStepCount#1{\global\advance#1 by 1 }% +\newdimen\@linkdim +\let\Hy@driver\@empty +\let\MaybeStopEarly\relax +\newcount\Hy@linkcounter +\newcount\Hy@pagecounter +\Hy@linkcounter0 +\Hy@pagecounter0 +\long\def\Hy@ReturnAfterElseFi#1\else#2\fi{\fi#1} +\long\def\Hy@ReturnAfterFi#1\fi{\fi#1} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname dimexpr\endcsname\relax + \def\hypercalcbpdef#1#2{% + \begingroup + \toks@{}% + \HyCal@scan#2\hypercalcbp\@nil + \expandafter\endgroup + \expandafter\def\expandafter#1\expandafter{\the\toks@}% + } + \def\HyCal@scan#1\hypercalcbp#2\@nil{% + \toks@\expandafter{\the\toks@ #1}% + \ifx\\#2\\% + \else + \Hy@ReturnAfterFi{% + \HyCal@do#2\@nil + }% + \fi + } + \def\HyCal@do#1#2\@nil{% + \@ifpackageloaded{calc}{}{% + \Hy@Warning{% + For calculations \string\hypercalcbp\space needs\MessageBreak + package calc or e-TeX% + }% + }% + \setlength{\dimen@}{#1}% + \setlength{\dimen@}{0.99626401\dimen@}% + \edef\x{% + \toks@{% + \the\toks@ + \strip@pt\dimen@ + }% + }\x + \HyCal@scan#2\@nil + } +\else + \def\hypercalcbp#1{% + \strip@pt\dimexpr 0.99626401\dimexpr #1\relax\relax + } + \def\hypercalcbpdef{\def} +\fi +\def\pdfstringdef#1#2{% + \begingroup + \escapechar`\\% + \edef\0{\string\0}% + \edef\1{\string\1}% + \edef\2{\string\2}% + \edef\3{\string\3}% + \ifHy@unicode + \edef\8{\string\8}% + \edef\9{\string\9}% + \fontencoding{PU}% + \else + \fontencoding{PD1}% + \fi + \enc@update + \@inmathwarn\pdfstringdef + \let\@inmathwarn\HyPsd@inmathwarn + \let\add@accent\HyPsd@add@accent + \let\{\textbraceleft + \let\}\textbraceright + \let\\\textbackslash + \let\#\textnumbersign + \let\$\textdollar + \let\%\textpercent + \let\&\textampersand + \let\_\textunderscore + \let\P\textparagraph + \let\ldots\textellipsis + \let\dots\textellipsis + \def\\{\pdfstringdefWarn\\}% + \def\newline{\pdfstringdefWarn\newline}% + \def\TeX{TeX}% + \def\LaTeX{La\TeX}% + \def\LaTeXe{\LaTeX2e}% + \def\eTeX{e-\TeX}% + \def\MF{Metafont}% + \def\MP{Metapost}% + \let\emph\@firstofone + \let\textbf\@firstofone + \let\textit\@firstofone + \let\textmd\@firstofone + \let\textnormal\@firstofone + \let\textrm\@firstofone + \let\textsc\@firstofone + \let\textsf\@firstofone + \let\textsl\@firstofone + \let\texttt\@firstofone + \let\textup\@firstofone + \let\ttfamily\@empty + \let\sffamily\@empty + \let\itshape\@empty + \let\upshape\@empty + \let\bfseries\@empty + \let\rm\@empty + \let\Huge\@empty + \let\LARGE\@empty + \let\Large\@empty + \let\footnotesize\@empty + \let\huge\@empty + \let\large\@empty + \let\normalsize\@empty + \let\scriptsize\@empty + \let\small\@empty + \let\tiny\@empty + \def\textcolor##1##{\@secondoftwo}% + \let\textlatin\@firstofone + \@ifundefined{language@group}{}{% + \csname HyPsd@babel@\language@group\endcsname + }% + \let\@safe@activestrue\relax + \let\@safe@activesfalse\relax + \let\cyr\relax + \let\glqq\textglqq + \let\grqq\textgrqq + \let\glq\textglq + \let\grq\textgrq + \let\flqq\textflqq + \let\frqq\textfrqq + \let\flq\textflq + \let\frq\textfrq + \HyPSD@AMSclassfix + \let\hspace\HyPsd@hspace + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \let\href\@secondoftwo + \let\ref\HyPsd@ref + \let\pageref\HyPsd@pageref + \def\HyPsd@ar@get##1.##2\@nil{##1}% + \def\HyPsd@ar@tmp##1{% + \expandafter\expandafter\expandafter\HyPsd@ar@get + \expandafter\@fourthoffive##1\@empt\@empty.\@nil + }% + \def\auto@setref##1##2##3{% + \ifx##1\relax + \else + \csname\HyPsd@ar@tmp{##1}% + \expandafter\ifx\csname\HyPsd@ar@tmp{##1}autorefname\endcsname + \relax + \else + autoref% + \fi + name% + \endcsname + \space + \expandafter##2##1\@empty\@empty + \fi + }% + \let\leavevmode\@empty + \def\halign{\pdfstringdefWarn\halign\@gobble}% + \ifHy@CJKbookmarks + \HyPsd@CJKhook + \fi + \Hy@pdfstringtrue + \pdfstringdefPreHook + \HyPsd@LetUnexpandableSpace\space + \HyPsd@LetUnexpandableSpace\ % + \HyPsd@LetUnexpandableSpace~% + \HyPsd@LetUnexpandableSpace\nobreakspace + \@ifundefined{@xspace}{% + \let\xspace\HyPsd@ITALCORR + }{% + \let\xspace\HyPsd@XSPACE + }% + \let\/\HyPsd@ITALCORR + \let\bgroup\/% + \let\egroup\/% + \let\discretionary\@gobbletwo + \let\@ifnextchar\HyPsd@ifnextchar + \let\@protected@testopt\HyPsd@protected@testopt + \begingroup + \let\GenericError\@gobblefour + \let\GenericWarning\@gobbletwo + \let\GenericInfo\@gobbletwo + \ifx\nofrenchguillemets\@undefined + \else + \nofrenchguillemets + \fi + \let\Hy@temp\xdef + \let\def\HyPsd@DefCommand + \let\gdef\HyPsd@DefCommand + \let\edef\HyPsd@DefCommand + \let\xdef\HyPsd@DefCommand + \let\futurelet\HyPsd@LetCommand + \let\let\HyPsd@LetCommand + \Hy@temp#1{#2}% + \endgroup + \ifx#1\@empty + \else + \HyPsd@ProtectSpaces#1% + \let\HyPsd@String\@empty + \expandafter\HyPsd@RemoveBraces\expandafter{#1|}% + \global\let#1\HyPsd@String + \let\HyPsd@SPACEOPTI\relax + {% + \let\HyPsd@String\@empty + \expandafter\HyPsd@CheckCatcodes#1\HyPsd@End + \global\let#1\HyPsd@String + }% + \expandafter\HyPsd@RemoveMask\expandafter + |\expandafter\@empty#1\HyPsd@End#1% + \expandafter\HyPsd@Subst\expandafter{\HyPsd@GLYPHERR}{\relax}#1% + \let\HyPsd@String\@empty + \expandafter\HyPsd@GlyphProcess#1\relax\@empty + \global\let#1\HyPsd@String + \HyPsd@StringSubst{\\}{\textbackslash}#1% + \ifHy@unicode + \expandafter\HyPsd@StringSubst\csname 80\040\endcsname + \HyPsd@SPACEOPTI#1% + \edef\Hy@temp@A{\HyPsd@SPACEOPTI\HyPsd@SPACEOPTI\80\273}% + \expandafter\HyPsd@Subst\expandafter{\Hy@temp@A}% + {\HyPsd@SPACEOPTI\80\273}#1% + \else + \HyPsd@StringSubst{\040}\HyPsd@SPACEOPTI#1% + \expandafter\HyPsd@Subst\expandafter{% + \expandafter\HyPsd@SPACEOPTI\expandafter\HyPsd@SPACEOPTI + \string\273}{\HyPsd@SPACEOPTI\273}#1% + \fi + \ifHy@unicode + \HyPsd@StringSubst{\)}{\80\051}#1% + \HyPsd@Subst){\80\051}#1% + \let\HyPsd@empty\relax + \expandafter\HyPsd@StringSubst\csname 80\051\endcsname + {\HyPsd@empty\80\051}#1% + \else + \HyPsd@StringSubst{\)}{\051}#1% + \HyPsd@Subst){\051}#1% + \let\HyPsd@empty\relax + \HyPsd@StringSubst{\051}{\HyPsd@empty\string\)}#1% + \fi + \expandafter\HyPsd@Subst\expandafter{\/}\HyPsd@empty#1% + \@ifundefined{@xspace}{% + }{% + \let\HyPsd@xspace\relax + \expandafter\HyPsd@Subst\expandafter + {\HyPsd@XSPACE}\HyPsd@xspace#1% + \let\HyPsd@xspace\HyPsd@doxspace + }% + \xdef#1{#1\HyPsd@empty}% + \HyPsd@Subst{!`}\textexclamdown#1% + \HyPsd@Subst{?`}\textquestiondown#1% + \let\HyPsd@empty\@empty + \ifHy@unicode + \HyPsd@StringSubst\(\textparenleft#1% + \HyPsd@Subst(\textparenleft#1% + \else + \HyPsd@StringSubst\({\050}#1% + \HyPsd@Subst({\050}#1% + \HyPsd@StringSubst{\050}{\string\(}#1% + \fi + \ifHy@unicode + \edef\HyPsd@SPACEOPTI{\80\040}% + \else + \let\HyPsd@SPACEOPTI\HyPsd@spaceopti + \fi + \xdef#1{#1\@empty}% + \fi + \ifHy@unicode + \HyPsd@ConvertToUnicode#1% + \fi + \pdfstringdefPostHook#1% + \endgroup +} +\@ifundefined{T@PD1}{\input{pd1enc.def}}{} +\DeclareFontFamily{PD1}{pdf}{} +\DeclareFontShape{PD1}{pdf}{m}{n}{ <-> cmr10 }{} +\DeclareFontSubstitution{PD1}{pdf}{m}{n} +\def\HyPsd@InitUnicode{% + \@ifundefined{T@PU}{\input{puenc.def}}{}% + \DeclareFontFamily{PU}{pdf}{}% + \DeclareFontShape{PU}{pdf}{m}{n}{ <-> cmr10 }{}% + \DeclareFontSubstitution{PU}{pdf}{m}{n}% + \let\HyPsd@InitUnicode\relax +} +\newcommand*{\texorpdfstring}{% + \ifHy@pdfstring + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi +} +\@ifundefined{pdfstringdefPreHook}{% + \let\pdfstringdefPreHook\@empty +}{} +\@ifundefined{pdfstringdefPostHook}{% + \let\pdfstringdefPostHook\@gobble +}{} +\def\pdfstringdefDisableCommands{% + \begingroup + \makeatletter + \HyPsd@DisableCommands +} +\long\def\HyPsd@DisableCommands#1{% + \toks0=\expandafter{\pdfstringdefPreHook}% + \toks1={#1}% + \xdef\pdfstringdefPreHook{\the\toks0 \the\toks1}% + \endgroup +} +\def\pdfstringdefWarn#1{% + \expandafter\noexpand\csname<>-\string#1\endcsname +} +\newif\ifHy@next +\@ifpackagewith{babel}{danish}{% + \def\HyPsd@babel@danish{% + \declare@shorthand{danish}{"|}{}% + \declare@shorthand{danish}{"~}{-}% + }% +}{} +\Hy@nextfalse +\@ifpackagewith{babel}{dutch}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{afrikaans}{\Hy@nexttrue}{}% +\ifHy@next + \def\HyPsd@babel@dutch{% + \declare@shorthand{dutch}{"|}{}% + \declare@shorthand{dutch}{"~}{-}% + }% +\fi +\@ifpackagewith{babel}{finnish}{% + \def\HyPsd@babel@finnish{% + \declare@shorthand{finnish}{"|}{}% + }% +}{} +\Hy@nextfalse +\@ifpackagewith{babel}{frenchb}{\Hy@nexttrue}{} +\@ifpackagewith{babel}{francais}{\Hy@nexttrue}{} +\ifHy@next + \def\HyPsd@babel@frenchb{% + \def\guill@spacing{ }% + }% +\fi +\Hy@nextfalse +\@ifpackagewith{babel}{german}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{germanb}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{austrian}{\Hy@nexttrue}{}% +\ifHy@next + \def\HyPsd@babel@german{% + \declare@shorthand{german}{"f}{f}% + \declare@shorthand{german}{"|}{}% + \declare@shorthand{german}{"~}{-}% + }% +\fi +\Hy@nextfalse +\@ifpackagewith{babel}{ngerman}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{ngermanb}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{naustrian}{\Hy@nexttrue}{}% +\ifHy@next + \def\HyPsd@babel@ngerman{% + \declare@shorthand{german}{"|}{}% + \declare@shorthand{german}{"~}{-}% + }% +\fi +\Hy@nextfalse +\@ifpackagewith{babel}{usorbian}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{uppersorbian}{\Hy@nexttrue}{}% +\ifHy@next + \def\HyPsd@babel@usorbian{% + \declare@shorthand{usorbian}{"f}{f}% + \declare@shorthand{usorbian}{"|}{}% + }% +\fi +\Hy@nextfalse +\@ifpackagewith{babel}{brazil}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{brazilian}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{portuges}{\Hy@nexttrue}{}% +\@ifpackagewith{babel}{portuguese}{\Hy@nexttrue}{}% +\ifHy@next + \def\HyPsd@babel@portuges{% + \declare@shorthand{portuges}{"|}{}% + }% +\fi +\Hy@nextfalse +\@ifpackagewith{babel}{russian}{\Hy@nexttrue}{} +\@ifpackagewith{babel}{russianb}{\Hy@nexttrue}{} +\ifHy@next + \def\HyPsd@babel@russian{% + \declare@shorthand{russian}{"|}{}% + \declare@shorthand{russian}{"~}{-}% + }% +\fi +\Hy@nextfalse +\@ifpackagewith{babel}{ukrainian}{\Hy@nexttrue}{} +\@ifpackagewith{babel}{ukraineb}{\Hy@nexttrue}{} +\ifHy@next + \def\HyPsd@babel@ukrainian{% + \declare@shorthand{ukrainian}{"|}{}% + \declare@shorthand{ukrainian}{"~}{-}% + }% +\fi +\@ifpackagewith{babel}{macedonian}{% + \def\HyPsd@babel@macedonian{% + \declare@shorthand{macedonian}{"|}{}% + \declare@shorthand{macedonian}{"~}{-}% + }% +}{} +\@ifpackagewith{babel}{slovene}{% + \def\HyPsd@babel@slovene{% + \declare@shorthand{slovene}{"|}{}% + }% +}{} +\@ifpackagewith{babel}{swedish}{% + \def\HyPsd@babel@swedish{% + \declare@shorthand{swedish}{"|}{}% + \declare@shorthand{swedish}{"~}{-}% + }% +}{} +\begingroup + \catcode"7F=\active + \toks@{% + \let\CJK@ignorespaces\empty + \def\CJK@char#1{\@gobbletwo}% + \let\CJK@charx\@gobblefour + \let\CJK@punctchar\@gobblefour + \def\CJK@punctcharx#1{\@gobblefour}% + \catcode"7F=\active + \def^^7f#1^^7f#2^^7f{% + \string #1\HyPsd@DecimalToOctal{#2}% + }% + % ... ? + \ifHy@unicode + \def\Hy@cjkpu{\80}% + \else + \let\Hy@cjkpu\@empty + \fi + \HyPsd@CJKActiveChars + }% + \count@=127 + \@whilenum\count@<255 \do{% + \advance\count@ by 1 + \lccode`\~=\count@ + \lowercase{% + \toks@\expandafter{\the\toks@ ~}% + }% + }% + \toks@\expandafter{\the\toks@ !}% + \xdef\HyPsd@CJKhook{\the\toks@}% +\endgroup +\def\HyPsd@CJKActiveChars#1{% + \ifx#1!% + \let\HyPsd@CJKActiveChars\relax + \else + \edef#1{\noexpand\Hy@cjkpu\string#1}% + \fi + \HyPsd@CJKActiveChars +} +\def\HyPsd@DecimalToOctal#1{% + \ifcase #1 % + \000\or \001\or \002\or \003\or \004\or \005\or \006\or \007% + \or \010\or \011\or \012\or \013\or \014\or \015\or \016\or \017% + \or \020\or \021\or \022\or \023\or \024\or \025\or \026\or \027% + \or \030\or \031\or \032\or \033\or \034\or \035\or \036\or \037% + \or \040\or \041\or \042\or \043\or \044\or \045\or \046\or \047% + \or \050\or \051\or \052\or \053\or \054\or \055\or \056\or \057% + \or 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7% + \or 8\or 9\or \072\or \073\or \074\or \075\or \076\or \077% + \or @\or A\or B\or C\or D\or E\or F\or G% + \or H\or I\or J\or K\or L\or M\or N\or O% + \or P\or Q\or R\or S\or T\or U\or V\or W% + \or X\or Y\or Z\or \133\or \134\or \135\or \136\or \137% + \or \140\or a\or b\or c\or d\or e\or f\or g% + \or h\or i\or j\or k\or l\or m\or n\or o% + \or p\or q\or r\or s\or t\or u\or v\or w% + \or x\or y\or z\or \173\or \174\or \175\or \176\or \177% + \or \200\or \201\or \202\or \203\or \204\or \205\or \206\or \207% + \or \210\or \211\or \212\or \213\or \214\or \215\or \216\or \217% + \or \220\or \221\or \222\or \223\or \224\or \225\or \226\or \227% + \or \230\or \231\or \232\or \233\or \234\or \235\or \236\or \237% + \or \240\or \241\or \242\or \243\or \244\or \245\or \246\or \247% + \or \250\or \251\or \252\or \253\or \254\or \255\or \256\or \257% + \or \260\or \261\or \262\or \263\or \264\or \265\or \266\or \267% + \or \270\or \271\or \272\or \273\or \274\or \275\or \276\or \277% + \or \300\or \301\or \302\or \303\or \304\or \305\or \306\or \307% + \or \310\or \311\or \312\or \313\or \314\or \315\or \316\or \317% + \or \320\or \321\or \322\or \323\or \324\or \325\or \326\or \327% + \or \330\or \331\or \332\or \333\or \334\or \335\or \336\or \337% + \or \340\or \341\or \342\or \343\or \344\or \345\or \346\or \347% + \or \350\or \351\or \352\or \353\or \354\or \355\or \356\or \357% + \or \360\or \361\or \362\or \363\or \364\or \365\or \366\or \367% + \or \370\or \371\or \372\or \373\or \374\or \375\or \376\or \377% + \fi +} +\def\HyPsd@inmathwarn#1#2{% + \ifx#2\expandafter + \expandafter\ifx\csname\cf@encoding\string#1\endcsname\relax + \HyPsd@GLYPHERR + \expandafter\@gobble\string#1% + >% + \expandafter\expandafter\expandafter\HyPsd@EndWithElse + \else + \expandafter\expandafter\expandafter\HyPsd@GobbleFiFi + \fi + \else + \expandafter#2% + \fi +} +\def\HyPsd@GobbleFiFi#1\fi#2\fi{} +\def\HyPsd@EndWithElse#1\else{\else} +\def\HyPsd@add@accent#1#2{% + \HyPsd@GLYPHERR\expandafter\@gobble\string#1+\string#2>% + #2% +}% +\def\HyPsd@LetUnexpandableSpace#1{% + \expandafter\futurelet\expandafter#1\expandafter\@gobble\space\relax +} +\HyPsd@LetUnexpandableSpace\HyPsd@UnexpandableSpace +\edef\HyPsd@XSPACE{\string#\string X} +\edef\HyPsd@ITALCORR{\string#\string I} +\edef\HyPsd@GLYPHERR{\string#\string G} +\def\HyPsd@hspace#1{\HyPsd@@hspace#1*\END} +\def\HyPsd@@hspace#1*#2\END{% + \ifx\\#2\\% + \HyPsd@hspacetest{#1}% + \else + \expandafter\HyPsd@hspacetest + \fi +} +\def\HyPsd@hspacetest#1{\ifdim#1>\z@\space\fi} +\@ifundefined{tocsection}{% + \let\HyPSD@AMSclassfix\relax +}{% + \def\HyPSD@AMSclassfix{% + \let\tocpart\HyPSD@tocsection + \let\tocchapter\HyPSD@tocsection + \let\tocappendix\HyPSD@tocsection + \let\tocsection\HyPSD@tocsection + \let\tocsubsection\HyPSD@tocsection + \let\tocsubsubsection\HyPSD@tocsection + \let\tocparagraph\HyPSD@tocsection + }% + \def\HyPSD@tocsection#1#2#3{% + \if @#2@\else\if @#1@\else#1 \fi#2. \fi + #3% + }% +} +\def\HyPsd@ref#1{\HyPsd@@ref#1*\END}% +\def\HyPsd@@ref#1*#2\END{% + \ifx\\#2\\% + \HyPsd@@@ref{#1}% + \else + \expandafter\HyPsd@@@ref + \fi +}% +\def\HyPsd@@@ref#1{% + \expandafter\ifx\csname r@#1\endcsname\relax + ??% + \else + \expandafter\expandafter\expandafter\@car\csname r@#1\endcsname\@nil + \fi +} +\def\HyPsd@pageref#1{\HyPsd@@pageref#1*\END} +\def\HyPsd@@pageref#1*#2\END{% + \ifx\\#2\\% + \HyPsd@@@pageref{#1}% + \else + \expandafter\HyPsd@@@pageref + \fi +} +\def\HyPsd@@@pageref#1{% + \expandafter\ifx\csname r@#1\endcsname\relax + ??% + \else + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter\@car + \expandafter\expandafter\expandafter\@gobble + \csname r@#1\endcsname\@nil + \fi +} +\begingroup + \def\x#1#2{% + \endgroup + \let#1\def + \def\HyPsd@DefCommand##1##2##{% + #1% + \expandafter\noexpand + \csname\expandafter\@gobble\string##1\@empty\endcsname + \@gobble + }% + \let#2\let + \def\HyPsd@LetCommand##1{% + #2% + \expandafter\noexpand + \csname\expandafter\@gobble\string##1\@empty\endcsname + }% + }% +\expandafter\x\csname <def>-command\expandafter\endcsname + \csname <let>-command\endcsname +\def\HyPsd@ifnextchar{% + \pdfstringdefWarn\@ifnextchar + \expandafter\@gobbletwo\@gobble +} +\def\HyPsd@protected@testopt#1{% + \pdfstringdefWarn#1% + \@gobbletwo +} +\def\HyPsd@Warning#1{% + \begingroup + \def\space{ }% + \Hy@Warning{#1}% + \endgroup +} +\def\HyPsd@ProtectSpaces#1{% + \expandafter\HyPsd@@ProtectSpaces + \expandafter|\expandafter\@empty#1| \HyPsd@End#1% +} +\def\HyPsd@@ProtectSpaces#1 #2\HyPsd@End#3{% + \ifx\scrollmode#2\scrollmode + \HyPsd@RemoveMask#1\HyPsd@End#3% + \else + \gdef#3{#1\HyPsd@UnexpandableSpace#2}% + \Hy@ReturnAfterFi{% + \expandafter\HyPsd@@ProtectSpaces#3\HyPsd@End#3% + }% + \fi +} +\def\HyPsd@RemoveMask|#1|\HyPsd@End#2{% + \toks@\expandafter{#1}% + \xdef#2{\the\toks@}% +} +\def\HyPsd@RemoveBraces#1{% + \ifx\scrollmode#1\scrollmode + \else + \Hy@ReturnAfterFi{% + \HyPsd@@RemoveBraces#1\HyPsd@End{#1}% + }% + \fi +} +\def\HyPsd@@RemoveBraces#1#2\HyPsd@End#3{% + \def\Hy@temp@A{#1#2}% + \def\Hy@temp@B{#3}% + \ifx\Hy@temp@A\Hy@temp@B + \expandafter\def\expandafter\HyPsd@String\expandafter{% + \HyPsd@String#1% + }% + \Hy@ReturnAfterElseFi{% + \ifx\scrollmode#2\scrollmode + \else + \Hy@ReturnAfterFi{% + \HyPsd@RemoveBraces{#2}% + }% + \fi + }% + \else + \def\Hy@temp@A{#1}% + \HyPsd@AppendItalcorr\HyPsd@String + \Hy@ReturnAfterFi{% + \ifx\Hy@temp@A\@empty + \Hy@ReturnAfterElseFi{% + \HyPsd@RemoveBraces{#2}% + }% + \else + \Hy@ReturnAfterFi{% + \HyPsd@ProtectSpaces\Hy@temp@A + \HyPsd@AppendItalcorr\Hy@temp@A + \expandafter\HyPsd@RemoveBraces\expandafter + {\Hy@temp@A#2}% + }% + \fi + }% + \fi +} +\def\HyPsd@AppendItalcorr#1{% + \expandafter\HyPsd@@AppendItalcorr\expandafter{\/}#1% +} +\def\HyPsd@@AppendItalcorr#1#2{% + \expandafter\def\expandafter#2\expandafter{#2#1}% +} +\def\HyPsd@CheckCatcodes#1#2\HyPsd@End{% + \global\let\HyPsd@Rest\relax + \ifcat\relax\noexpand#1\relax + \ifx#1\protect + \else + \ifx#1\penalty + \setbox\z@=\hbox{% + \afterassignment\HyPsd@AfterCountRemove + \count@=#2\HyPsd@End + }% + \else + \ifx#1\kern + \setbox\z@=\hbox{% + \afterassignment\HyPsd@AfterDimenRemove + \dimen@=#2\HyPsd@End + }% + \else + \ifx#1\hskip + \setbox\z@=\hbox{% + \afterassignment\HyPsd@AfterSkipRemove + \skip@=#2\HyPsd@End + }% + \else + \HyPsd@CatcodeWarning{#1}% + \fi + \fi + \fi + \fi + \else + \ifcat#1 %SPACE + \expandafter\def\expandafter\HyPsd@String\expandafter{% + \HyPsd@String\HyPsd@SPACEOPTI + }% + \else + \ifcat$#1% + \HyPsd@CatcodeWarning{math shift}% + \else + \ifcat% + \HyPsd@CatcodeWarning{alignment tab}% + \else + \ifcat^#1% + \HyPsd@CatcodeWarning{superscript}% + \else + \ifcat_#1% + \HyPsd@CatcodeWarning{subscript}% + \else + \expandafter\def\expandafter\HyPsd@String\expandafter{% + \HyPsd@String#1% + }% + \fi + \fi + \fi + \fi + \fi + \fi + \ifx\HyPsd@Rest\relax + \Hy@ReturnAfterElseFi{% + \ifx\scrollmode#2\scrollmode + \else + \Hy@ReturnAfterFi{% + \HyPsd@CheckCatcodes#2\HyPsd@End + }% + \fi + }% + \else + \Hy@ReturnAfterFi{% + \ifx\HyPsd@Rest\@empty + \else + \expandafter\HyPsd@CheckCatcodes\HyPsd@Rest\HyPsd@End + \fi + }% + \fi +} +\def\HyPsd@AfterCountRemove#1\HyPsd@End{% + \gdef\HyPsd@Rest{#1}% +} +\def\HyPsd@AfterDimenRemove#1\HyPsd@End{% + \ifdim\ifx\HyPsd@String\@empty\z@\else\dimen@\fi>1ex + \HyPsd@ReplaceSpaceWarning{\string\kern\space\the\dimen@}% + \gdef\HyPsd@Rest{\HyPsd@UnexpandableSpace #1}% + \else + \ifdim\dimen@=\z@ + \else + \HyPsd@RemoveSpaceWarning{\string\kern\space\the\dimen@}% + \fi + \gdef\HyPsd@Rest{#1}% + \fi +} +\def\HyPsd@AfterSkipRemove#1\HyPsd@End{% + \ifdim\ifx\HyPsd@String\@empty\z@\else\skip@\fi>1ex + \HyPsd@ReplaceSpaceWarning{\string\hskip\space\the\skip@}% + \gdef\HyPsd@Rest{\HyPsd@UnexpandableSpace #1}% + \else + \ifdim\skip@=\z@ + \else + \HyPsd@RemoveSpaceWarning{\string\kern\space\the\skip@}% + \fi + \gdef\HyPsd@Rest{#1}% + \fi +} +\def\HyPsd@CatcodeWarning#1{% + \HyPsd@Warning{% + Token not allowed in a PDFDocEncoded string,% + \MessageBreak removing `\HyPsd@RemoveCmdPrefix#1'% + }% +} +\begingroup + \catcode`\|=0 + \catcode`\\=12 + |gdef|HyPsd@RemoveCmdPrefix#1{% + |expandafter|HyPsd@@RemoveCmdPrefix + |string#1|@empty\<>-|@empty|@empty + }% + |gdef|HyPsd@@RemoveCmdPrefix#1\<>-#2|@empty#3|@empty{#1#2}% +|endgroup +\def\HyPsd@RemoveSpaceWarning#1{% + \HyPsd@Warning{% + Token not allowed in a PDFDocEncoded string:% + \MessageBreak #1\MessageBreak + removed% + }% +} +\def\HyPsd@ReplaceSpaceWarning#1{% + \HyPsd@Warning{% + Token not allowed in a PDFDocEncoded string:% + \MessageBreak #1\MessageBreak + replaced by space% + }% +} +\def\HyPsd@GlyphProcess#1\relax#2\@empty{% + \expandafter\def\expandafter\HyPsd@String\expandafter{% + \HyPsd@String#1% + }% + \ifx\\#2\\% + \else + \Hy@ReturnAfterFi{% + \HyPsd@GlyphProcessWarning#2\@empty + }% + \fi +} +\def\HyPsd@GlyphProcessWarning#1>#2\@empty{% + \HyPsd@Warning{% + Glyph not defined in % + P\ifHy@unicode U\else D1\fi\space encoding,\MessageBreak + removing `\@backslashchar#1'% + }% + \HyPsd@GlyphProcess#2\@empty +} +\def\HyPsd@spaceopti#1{ % first space + \ifx\HyPsd@spaceopti#1% + \040% + \else + #1% + \fi +}% +\def\HyPsd@Subst#1#2#3{% + \def\HyPsd@@Replace##1#1##2\END{% + ##1% + \ifx\\##2\\% + \else + #2% + \Hy@ReturnAfterFi{% + \HyPsd@@Replace##2\END + }% + \fi + }% + \xdef#3{% + \expandafter\HyPsd@@Replace#3#1\END + }% +} +\def\HyPsd@StringSubst#1{% + \expandafter\HyPsd@Subst\expandafter{\string#1}% +} +\def\HyPsd@doxspace#1{% + \ifx#1\relax\else + \ifx#1.\else + \ifx#1:\else + \ifx#1,\else + \ifx#1;\else + \ifx#1!\else + \ifx#1?\else + \ifx#1/\else + \ifx#1-\else + \ifx#1'\else + \HyPsd@SPACEOPTI + \fi + \fi + \fi + \fi + \fi + \fi + \fi + \fi + \fi + \fi + #1% +}% +\begingroup + \catcode`\|=0 + \catcode`\\=12 + |gdef|HyPsd@ConvertToUnicode#1{% + |xdef#1{% + \376\377% + |expandafter|HyPsd@DoConvert#1|@empty|@empty|@empty + }% + } + |gdef|HyPsd@DoConvert#1{% + |ifx#1|@empty + |else + |Hy@ReturnAfterFi{% + |ifx#1\% + \% + |expandafter|HyPsd@DoEscape + |else + \000#1% + |expandafter|HyPsd@DoConvert + |fi + }% + |fi + } + |gdef|HyPsd@DoEscape#1{% + |ifx#19% + |expandafter|HyPsd@GetTwoBytes + |else + |Hy@ReturnAfterFi{% + |ifx#18% + 00% + |expandafter|HyPsd@GetTwoBytes + |else + #1% + |expandafter|HyPsd@GetOneByte + |fi + }% + |fi + } + |gdef|HyPsd@GetTwoBytes#1\#2#3#4{% + #1\#2#3#4% + |HyPsd@DoConvert + } + |gdef|HyPsd@GetOneByte#1#2{% + #1#2% + |HyPsd@DoConvert + } +|endgroup +\def\HyPsd@GetNextTwoTokens#1#2#3\END#4{% + \xdef#4{#4#1#2}% + \HyPsd@@ConvertToUnicode#3\END#4% +} +\@ifpackageloaded{subfigure}{% + \@ifundefined{sub@label}{% + \Hy@hypertexnamesfalse + }{% + \renewcommand*{\sub@label}[1]{% + \@bsphack + \subfig@oldlabel{#1}% + \begingroup + \edef\@currentlabstr{% + \expandafter\strip@prefix\meaning\@currentlabelname + }% + \protected@write\@auxout{}{% + \string\newlabel{sub@#1}{% + {\@nameuse{@@thesub\@captype}}% + {\thepage}% + {\expandafter\strip@period\@currentlabstr\relax.\relax\@@@}% + {\@currentHref}% + {}% + }% + }% + \endgroup + \@esphack + }% + \@ifpackagelater{subfigure}{2002/03/26}{}{% + \providecommand*{\toclevel@subfigure}{1}% + \providecommand*{\toclevel@subtable}{1}% + }% + }% +}{} +\@ifundefined{XR@addURL}{% +}{% + \def\XR@addURL#1{\XR@@dURL#1{}{}{}{}\\}% + \def\XR@@dURL#1#2#3#4#5\\{% + {#1}{#2}% + \if!#4!% + \else + {#3}{#4}{\XR@URL}% + \fi + }% +} +\def\Hy@true{true} +\def\Hy@false{false} +\let\literalps@out\@gobble +\newcommand\pdfbookmark[3][]{} +\let\Acrobatmenu\@gobble +\def\Hy@writebookmark#1#2#3#4#5{}% +\let\HyperRaiseLinkLength\@tempdima +\let\HyperRaiseLinkHook\@empty +\def\HyperRaiseLinkDefault{\baselineskip} +\def\Hy@raisedlink#1{% + \setlength\HyperRaiseLinkLength\HyperRaiseLinkDefault + \HyperRaiseLinkHook + \ifvmode + #1% + \else + \smash{\raise\HyperRaiseLinkLength\hbox{#1}}% + \fi +} +\def\Hy@SaveLastskip{% + \let\Hy@RestoreLastskip\relax + \ifvmode + \ifdim\lastskip=\z@ + \let\Hy@RestoreLastskip\nobreak + \else + \begingroup + \skip@=-\lastskip + \edef\x{% + \endgroup + \def\noexpand\Hy@RestoreLastskip{% + \noexpand\ifvmode + \noexpand\nobreak + \vskip\the\skip@ + \vskip\the\lastskip\relax + \noexpand\fi + }% + }% + \x + \fi + \else + \ifhmode + \ifdim\lastskip=\z@ + \let\Hy@RestoreLastskip\nobreak + \else + \begingroup + \skip@=-\lastskip + \edef\x{% + \endgroup + \def\noexpand\Hy@RestoreLastskip{% + \noexpand\ifhmode + \noexpand\nobreak + \hskip\the\skip@ + \hskip\the\lastskip\relax + \noexpand\fi + }% + }% + \x + \fi + \fi + \fi +}% +\def\Hy@boolkey{\@dblarg\Hy@@boolkey} +\def\Hy@@boolkey[#1]#2#3{% + \lowercase{\def\Hy@tempa{#3}}% + \ifx\Hy@tempa\@empty + \let\Hy@tempa\Hy@true + \fi + \ifx\Hy@tempa\Hy@true + \else + \ifx\Hy@tempa\Hy@false + \else + \let\Hy@tempa\relax + \fi + \fi + \ifx\Hy@tempa\relax + \Hy@WarnOptionValue{#3}{#1}{`true' or 'false'}% + \else + \Hy@Info{Option `#1' set `\Hy@tempa'}% + \csname Hy@#2\Hy@tempa\endcsname + \fi +} +\def\Hy@WarnOptionValue#1#2#3{% + \Hy@Warning{% + Unexpected value `#1'\MessageBreak + of option `#2' instead of\MessageBreak + #3% + } +} +\def\Hy@DisableOption#1{% + \@ifundefined{KV@Hyp@#1@default}{% + \define@key{Hyp}{#1}% + }{% + \define@key{Hyp}{#1}[]% + }% + {\Hy@WarnOptionDisabled{#1}}% +} +\def\Hy@WarnOptionDisabled#1{% + \Hy@Warning{% + Option `#1' has already been used,\MessageBreak + setting the option has no effect% + }% +} +\define@key{Hyp}{implicit}[true]{% + \Hy@boolkey{implicit}{#1}% +} +\define@key{Hyp}{draft}[true]{% + \Hy@boolkey{draft}{#1}% +} +\define@key{Hyp}{final}[true]{% + \Hy@boolkey{draft}{#1}% + \ifHy@draft + \Hy@draftfalse + \else + \Hy@drafttrue + \fi +} +\let\KV@Hyp@nolinks\KV@Hyp@draft +\define@key{Hyp}{a4paper}[true]{% + \def\special@paper{210mm,297mm}% + \def\Hy@pageheight{842}% +} +\define@key{Hyp}{a5paper}[true]{% + \def\special@paper{148mm,210mm}% + \def\Hy@pageheight{595}% +} +\define@key{Hyp}{b5paper}[true]{% + \def\special@paper{176mm,250mm}% + \def\Hy@pageheight{709}% +} +\define@key{Hyp}{letterpaper}[true]{% + \def\special@paper{8.5in,11in}% + \def\Hy@pageheight{792}% +} +\define@key{Hyp}{legalpaper}[true]{% + \def\special@paper{8.5in,14in}% + \def\Hy@pageheight{1008}% +} +\define@key{Hyp}{executivepaper}[true]{% + \def\special@paper{7.25in,10.5in}% + \def\Hy@pageheight{720}% +} +\define@key{Hyp}{setpagesize}[true]{% + \Hy@boolkey{setpagesize}{#1}% +} +\define@key{Hyp}{debug}[true]{% + \Hy@boolkey[debug]{verbose}{#1}% +} +\define@key{Hyp}{linktocpage}[true]{% + \Hy@boolkey{linktocpage}{#1}% +} +\define@key{Hyp}{extension}{\def\XR@ext{#1}} +\def\XR@ext{dvi} +\define@key{Hyp}{verbose}[true]{% + \Hy@boolkey{verbose}{#1}% +} +\define@key{Hyp}{typexml}[true]{% + \Hy@boolkey{typexml}{#1}% +} +\define@key{Hyp}{raiselinks}[true]{% + \Hy@boolkey{raiselinks}{#1}% +} +\define@key{Hyp}{breaklinks}[true]{% + \Hy@boolkey{breaklinks}{#1}% +} +\define@key{Hyp}{pageanchor}[true]{% + \Hy@boolkey{pageanchor}{#1}% +} +\define@key{Hyp}{plainpages}[true]{% + \Hy@boolkey{plainpages}{#1}% +} +\define@key{Hyp}{naturalnames}[true]{% + \Hy@boolkey{naturalnames}{#1}% +} +\define@key{Hyp}{hypertexnames}[true]{% + \Hy@boolkey{hypertexnames}{#1}% +} +\define@key{Hyp}{nesting}[true]{% + \Hy@boolkey{nesting}{#1}% +} +\define@key{Hyp}{unicode}[true]{% + \Hy@boolkey{unicode}{#1}% + \HyPsd@InitUnicode +} +\define@key{Hyp}{hyperref}[true]{} +\define@key{Hyp}{tex4ht}[true]{% + \def\XR@ext{html}% + \Hy@texhttrue + \def\Hy@raisedlink{}% + \setkeys{Hyp}{colorlinks=true}% + \def\BeforeTeXIVht{\usepackage{color}}% + \def\Hy@driver{htex4ht}% + \def\MaybeStopEarly{% + \typeout{Hyperref stopped early}% + \AfterBeginDocument{\PDF@FinishDoc}% + \endinput + }% +} +\define@key{Hyp}{pdftex}[true]{% + \def\Hy@driver{hpdftex}% + \def\XR@ext{pdf}% + \PassOptionsToPackage{pdftex}{color}% + \Hy@breaklinkstrue +} +\define@key{Hyp}{dvipdf}[true]{% +} +\define@key{Hyp}{nativepdf}[true]{% + \def\Hy@driver{hdvips}% + \def\Hy@raisedlink{}% + \def\XR@ext{pdf}% +} +\define@key{Hyp}{dvipdfm}[true]{% + \def\Hy@driver{hdvipdfm}% + \def\XR@ext{pdf}% + \Hy@breaklinkstrue +} +\define@key{Hyp}{pdfmark}[true]{% + \def\Hy@driver{hdvips}% + \def\Hy@raisedlink{}% + \def\XR@ext{pdf}% +} +\define@key{Hyp}{dvips}[true]{% + \def\Hy@driver{hdvips}% + \def\Hy@raisedlink{}% + \def\XR@ext{pdf}% +} +\define@key{Hyp}{hypertex}[true]{% + \def\Hy@driver{hypertex}% +} +\let\Hy@MaybeStopNow\relax +\define@key{Hyp}{vtex}[true]{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname OpMode\endcsname\relax + \@latex@error{Non-VTeX processor}{}% + \global\let\Hy@MaybeStopNow\endinput + \endinput + \else + \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % + \def\XR@ext{pdf}% + \def\Hy@driver{hvtex}% + \else + \ifnum\OpMode=10\relax + \def\XR@ext{htm}% + \def\Hy@driver{hvtexhtm}% + \def\MaybeStopEarly{% + \typeout{Hyperref stopped early}% + \AfterBeginDocument{\PDF@FinishDoc}% + \endinput + }% + \else + \@latex@error{Mode (\the\OpMode) has no hyperref driver}{}% + \global\let\Hy@MaybeStopNow\endinput + \endinput + \fi + \fi + \fi +} +\define@key{Hyp}{vtexpdfmark}[true]{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname OpMode\endcsname\relax + \@latex@error{Non-VTeX processor}{}% + \let\Hy@MaybeStopNow\endinput + \endinput + \else + \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % + \def\XR@ext{pdf}% + \def\Hy@driver{hvtexmrk}% + \def\Hy@raisedlink{}% + \else + \@latex@error{Mode (\the\OpMode) has no hyperref driver}{}% + \let\Hy@MaybeStopNow\endinput + \endinput + \fi + \fi +} +\define@key{Hyp}{dviwindo}[true]{% + \def\Hy@driver{hdviwind}% + \setkeys{Hyp}{colorlinks}% + \PassOptionsToPackage{dviwindo}{color}% +} +\define@key{Hyp}{dvipsone}[true]{% + \def\XR@ext{pdf}% + \def\Hy@driver{hdvipson}% + \def\Hy@raisedlink{}% +} +\define@key{Hyp}{textures}[true]{% + \def\XR@ext{pdf}% + \def\Hy@driver{htexture}% +} +\define@key{Hyp}{latex2html}[true]{% + \AtBeginDocument{\@@latextohtmlX}% +} +\define@key{Hyp}{ps2pdf}[true]{% + \def\Hy@driver{hdvips}% + \def\Hy@raisedlink{}% + \providecommand\@pdfborder{0 0 1}% +} +\define@key{Hyp}{hyperfigures}[true]{% + \Hy@boolkey[hyperfigures]{figures}{#1}% +} +\define@key{Hyp}{hyperfootnotes}[true]{% + \Hy@boolkey{hyperfootnotes}{#1}% +} +\def\back@none{none} +\def\back@section{section} +\def\back@page{page} +\def\back@slide{slide} +\define@key{Hyp}{backref}[section]{% + \lowercase{\def\Hy@tempa{#1}}% + \ifx\Hy@tempa\@empty + \let\Hy@tempa\back@section + \fi + \ifx\Hy@tempa\Hy@false + \let\Hy@tempa\back@none + \fi + \ifx\Hy@tempa\back@slide + \let\Hy@tempa\back@section + \fi + \ifx\Hy@tempa\back@page + \PassOptionsToPackage{hyperpageref}{backref}% + \Hy@backreftrue + \else + \ifx\Hy@tempa\back@section + \PassOptionsToPackage{hyperref}{backref}% + \Hy@backreftrue + \else + \ifx\Hy@tempa\back@none + \Hy@backreffalse + \else + \Hy@WarnOptionValue{#1}{backref}{% + `section', `slide', `page', `none',\MessageBreak + or `false'}% + \fi + \fi + \fi +} +\define@key{Hyp}{pagebackref}[true]{% + \lowercase{\def\Hy@tempa{#1}}% + \ifx\Hy@tempa\@empty + \let\Hy@tempa\Hy@true + \fi + \ifx\Hy@tempa\Hy@true + \PassOptionsToPackage{hyperpageref}{backref}% + \Hy@backreftrue + \else + \ifx\Hy@tempa\Hy@false + \Hy@backreffalse + \else + \Hy@WarnOptionValue{#1}{pagebackref}{`true' or `false'}% + \fi + \fi +} +\define@key{Hyp}{hyperindex}[true]{% + \Hy@boolkey{hyperindex}{#1}% +} +\define@key{Hyp}{encap}[\|]{% + \def\HyInd@EncapChar{#1}% +} +\def\HyLang@english{% + \def\equationautorefname{Equation}% + \def\footnoteautorefname{footnote}% + \def\itemautorefname{item}% + \def\figureautorefname{Figure}% + \def\tableautorefname{Table}% + \def\partautorefname{Part}% + \def\appendixautorefname{Appendix}% + \def\chapterautorefname{chapter}% + \def\sectionautorefname{section}% + \def\subsectionautorefname{subsection}% + \def\subsubsectionautorefname{subsubsection}% + \def\paragraphautorefname{paragraph}% + \def\subparagraphautorefname{subparagraph}% + \def\FancyVerbLineautorefname{line}% + \def\theoremautorefname{Theorem}% +} +\def\HyLang@german{% + \def\equationautorefname{Gleichung}% + \def\footnoteautorefname{Fu\ss note}% + \def\itemautorefname{Punkt}% + \def\figureautorefname{Abbildung}% + \def\tableautorefname{Tabelle}% + \def\partautorefname{Teil}% + \def\appendixautorefname{Anhang}% + \def\chapterautorefname{Kapitel}% + \def\sectionautorefname{Abschnitt}% + \def\subsectionautorefname{Unterabschnitt}% + \def\subsubsectionautorefname{Unterunterabschnitt}% + \def\paragraphautorefname{Absatz}% + \def\subparagraphautorefname{Unterabsatz}% + \def\FancyVerbLineautorefname{Zeile}% + \def\theoremautorefname{Theorem}% +} +\def\HyLang@portuges{% + \def\equationautorefname{Equa\c c\~ao}% + \def\footnoteautorefname{Nota de rodap\'e}% + \def\itemautorefname{Item}% + \def\figureautorefname{Figura}% + \def\tableautorefname{Tabela}% + \def\partautorefname{Parte}% + \def\appendixautorefname{Ap\^endice}% + \def\chapterautorefname{Cap\'itulo}% + \def\sectionautorefname{Se\c c\~ao}% + \def\subsectionautorefname{Subse\c c\~ao}% + \def\subsubsectionautorefname{Subsubse\c c\~ao}% + \def\paragraphautorefname{par\'agrafo}% + \def\subparagraphautorefname{subpar\'agrafo}% + \def\FancyVerbLineautorefname{linha}% + \def\theoremautorefname{Teorema}% +} +\def\HyLang@spanish{% + \def\equationautorefname{Ecuaci\'on}% + \def\footnoteautorefname{Nota a pie de p\'agina}% + \def\itemautorefname{Elemento}% + \def\figureautorefname{Figura}% + \def\tableautorefname{Tabla}% + \def\partautorefname{Parte}% + \def\appendixautorefname{Ap\'endice}% + \def\chapterautorefname{Cap\'itulo}% + \def\sectionautorefname{Secci\'on}% + \def\subsectionautorefname{Subsecci\'on}% + \def\subsubsectionautorefname{Subsubsecci\'on}% + \def\paragraphautorefname{P\'arrafo}% + \def\subparagraphautorefname{Subp\'arrafo}% + \def\FancyVerbLineautorefname{L\'inea}% + \def\theoremautorefname{Teorema}% +} +\def\HyLang@afrikaans{% + \def\equationautorefname{Vergelyking}% + \def\footnoteautorefname{Voetnota}% + \def\itemautorefname{Item}% + \def\figureautorefname{Figuur}% + \def\tableautorefname{Tabel}% + \def\partautorefname{Deel}% + \def\appendixautorefname{Bylae}% + \def\chapterautorefname{Hoofstuk}% + \def\sectionautorefname{Afdeling}% + \def\subsectionautorefname{Subafdeling}% + \def\subsubsectionautorefname{Subsubafdeling}% + \def\paragraphautorefname{Paragraaf}% + \def\subparagraphautorefname{Subparagraaf}% + \def\FancyVerbLineautorefname{Lyn}% + \def\theoremautorefname{Teorema}% +} +\def\HyLang@addto#1#2{% + #2% + \@temptokena{#2}% + \ifx#1\relax + \let#1\@empty + \fi + \ifx#1\undefined + \edef#1{\the\@temptokena}% + \else + \toks@\expandafter{#1}% + \edef#1{\the\toks@\the\@temptokena}% + \fi + \@temptokena{}\toks@\@temptokena +} +\def\HyLang@DeclareLang#1#2{% + \begingroup + \edef\x##1##2{% + \noexpand\ifx##2\relax + \errmessage{No definitions for language #2' found!}% + \noexpand\fi + \endgroup + \noexpand\define@key{Hyp}{#1}[]{% + \noexpand\HyLang@addto{\noexpand##1}{\noexpand##2}% + }% + }% + \expandafter\x\csname extras#1\expandafter\endcsname + \csname HyLang@#2\expandafter\endcsname +} +\HyLang@DeclareLang{english}{english} +\HyLang@DeclareLang{UKenglish}{english} +\HyLang@DeclareLang{british}{english} +\HyLang@DeclareLang{USenglish}{english} +\HyLang@DeclareLang{american}{english} +\HyLang@DeclareLang{german}{german} +\HyLang@DeclareLang{austrian}{german} +\HyLang@DeclareLang{ngerman}{german} +\HyLang@DeclareLang{naustrian}{german} +\HyLang@DeclareLang{brazil}{portuges} +\HyLang@DeclareLang{brazilian}{portuges} +\HyLang@DeclareLang{portuguese}{portuges} +\HyLang@DeclareLang{spanish}{spanish} +\HyLang@DeclareLang{afrikaans}{afrikaans} +\define@key{Hyp}{colorlinks}[true]{% + \Hy@boolkey{colorlinks}{#1}% + \ifHy@colorlinks + \def\@pdfborder{0 0 0}% + \fi +} +\define@key{Hyp}{frenchlinks}[true]{% + \Hy@boolkey{frenchlinks}{#1}% +} +\define@key{Hyp}{bookmarks}[true]{% + \Hy@boolkey{bookmarks}{#1}% +} +\define@key{Hyp}{bookmarksopen}[true]{% + \Hy@boolkey{bookmarksopen}{#1}% +} +\define@key{Hyp}{bookmarksopenlevel}{% + \def\@bookmarksopenlevel{#1}% +} +\def\@bookmarksopenlevel{\maxdimen} +\define@key{Hyp}{bookmarkstype}{% + \def\Hy@bookmarkstype{#1}% +} +\def\Hy@bookmarkstype{toc} +\define@key{Hyp}{bookmarksnumbered}[true]{% + \Hy@boolkey{bookmarksnumbered}{#1}% +} +\define@key{Hyp}{CJKbookmarks}[true]{% + \Hy@boolkey{CJKbookmarks}{#1}% +} +\define@key{Hyp}{linkcolor}{\def\@linkcolor{#1}} +\define@key{Hyp}{anchorcolor}{\def\@anchorcolor{#1}} +\define@key{Hyp}{citecolor}{\def\@citecolor{#1}} +\define@key{Hyp}{urlcolor}{\def\@urlcolor{#1}} +\define@key{Hyp}{menucolor}{\def\@menucolor{#1}} +\define@key{Hyp}{filecolor}{\def\@filecolor{#1}} +\define@key{Hyp}{pagecolor}{\def\@pagecolor{#1}} +\def\@linkcolor{red} +\def\@anchorcolor{black} +\def\@citecolor{green} +\def\@filecolor{cyan} +\def\@urlcolor{magenta} +\def\@menucolor{red} +\def\@pagecolor{red} +\def\hyperbaseurl#1{\def\@baseurl{#1}} +\define@key{Hyp}{baseurl}{\hyperbaseurl{#1}} +\let\@baseurl\@empty +\def\hyperlinkfileprefix#1{\def\Hy@linkfileprefix{#1}} +\define@key{Hyp}{linkfileprefix}{\hyperlinkfileprefix{#1}} +\hyperlinkfileprefix{file:} +\let\@pdfpagetransition\relax +\define@key{Hyp}{pdfpagetransition}{\def\@pdfpagetransition{#1}} +\let\@pdfpageduration\relax +\define@key{Hyp}{pdfpageduration}{\def\@pdfpageduration{#1}} +\newif\ifHy@useHidKey +\Hy@useHidKeyfalse +\define@key{Hyp}{pdfpagehidden}[true]{% + \Hy@boolkey{pdfpagehidden}{#1}% + \ifHy@pdfpagehidden + \global\Hy@useHidKeytrue + \fi +} +\define@key{Hyp}{linkbordercolor}{\def\@linkbordercolor{#1}} +\define@key{Hyp}{urlbordercolor}{\def\@urlbordercolor{#1}} +\define@key{Hyp}{menubordercolor}{\def\@menubordercolor{#1}} +\define@key{Hyp}{filebordercolor}{\def\@filebordercolor{#1}} +\define@key{Hyp}{runbordercolor}{\def\@runbordercolor{#1}} +\define@key{Hyp}{citebordercolor}{\def\@citebordercolor{#1}} +\define@key{Hyp}{pagebordercolor}{\def\@pagebordercolor{#1}} +\define@key{Hyp}{pdfhighlight}{\def\@pdfhighlight{#1}} +\define@key{Hyp}{pdfborder}{\def\@pdfborder{#1}} +\define@key{Hyp}{pdfpagemode}{% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\@empty + \let\@pdfpagemode\@empty + \else + \def\@pdfpagemode{/#1 }% + \fi +} +\define@key{Hyp}{pdfnonfullscreenpagemode}{% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\@empty + \let\@pdfnonfullscreenpagemode\@empty + \else + \def\@pdfnonfullscreenpagemode{/#1 }% + \fi +} +\define@key{Hyp}{pdfusetitle}[true]{% + \Hy@boolkey[pdfusetitle]{usetitle}{#1}% +} +\define@key{Hyp}{pdftitle}{\pdfstringdef\@pdftitle{#1}} +\define@key{Hyp}{pdfauthor}{\pdfstringdef\@pdfauthor{#1}} +\define@key{Hyp}{pdfproducer}{\pdfstringdef\@pdfproducer{#1}} +\define@key{Hyp}{pdfcreator}{\pdfstringdef\@pdfcreator{#1}} +\define@key{Hyp}{pdfsubject}{\pdfstringdef\@pdfsubject{#1}} +\define@key{Hyp}{pdfkeywords}{\pdfstringdef\@pdfkeywords{#1}} +\define@key{Hyp}{pdfview}{\calculate@pdfview#1 \\} +\define@key{Hyp}{pdflinkmargin}{\setpdflinkmargin{#1}} +\let\setpdflinkmargin\@gobble +\def\calculate@pdfview#1 #2\\{% + \def\@pdfview{#1}% + \ifx\\#2\\% + \def\@pdfviewparams{ -32768}% + \else + \def\@pdfviewparams{ #2}% + \fi +} +\define@key{Hyp}{pdfstartpage}{\def\@pdfstartpage{#1}} +\define@key{Hyp}{pdfstartview}{% + \ifx\\#1\\% + \def\@pdfstartview{}% + \else + \hypercalcbpdef\@pdfstartview{ /#1 }% + \fi +} +\define@key{Hyp}{pdfpagescrop}{\edef\@pdfpagescrop{#1}} +\define@key{Hyp}{pdftoolbar}[true]{% + \Hy@boolkey[pdftoolbar]{toolbar}{#1}% +} +\define@key{Hyp}{pdfmenubar}[true]{% + \Hy@boolkey[pdfmenubar]{menubar}{#1}% +} +\define@key{Hyp}{pdfwindowui}[true]{% + \Hy@boolkey[pdfwindowui]{windowui}{#1}% +} +\define@key{Hyp}{pdffitwindow}[true]{% + \Hy@boolkey[pdffitwindow]{fitwindow}{#1}% +} +\define@key{Hyp}{pdfcenterwindow}[true]{% + \Hy@boolkey[pdfcenterwindow]{centerwindow}{#1}% +} +\define@key{Hyp}{pdfdisplaydoctitle}[true]{% + \Hy@boolkey[pdfdisplaydoctitle]{displaydoctitle}{#1}% +} +\define@key{Hyp}{pdfnewwindow}[true]{% + \Hy@boolkey[pdfnewwindow]{newwindow}{#1}% +} +\define@key{Hyp}{pdfpagelayout}{\def\pdf@pagelayout{#1}} +\def\pdf@pagelayout{} +\define@key{Hyp}{pdfpagelabels}[true]{% + \Hy@boolkey[pdfpagelabels]{pagelabels}{#1}% +} +\def\@linkbordercolor{1 0 0} +\def\@urlbordercolor{0 1 1} +\def\@menubordercolor{1 0 0} +\def\@filebordercolor{0 .5 .5} +\def\@runbordercolor{0 .7 .7} +\def\@citebordercolor{0 1 0} +\def\@pagebordercolor{1 1 0} +\def\@pdfhighlight{/I} +\def\@pdfpagemode{} +\def\@pdfnonfullscreenpagemode{} +\def\@pdftitle{} +\def\@pdfauthor{} +\def\@pdfproducer{} +\def\@pdfcreator{LaTeX with hyperref package} +\def\@pdfsubject{} +\def\@pdfkeywords{} +\def\@pdfpagescrop{} +\def\@pdfstartview{ /Fit } +\def\@pdfstartpage{1} +\let\PDF@SetupDoc\@empty +\let\PDF@FinishDoc\@empty +\let\phantomsection\@empty +\@ifundefined{stockwidth}{% + \edef\special@paper{\the\paperwidth,\the\paperheight} +}{% + \edef\special@paper{\the\stockwidth,\the\stockheight} +} +\begingroup + \dimen@=\@ifundefined{stockheight}{\paperheight}{\stockheight}\relax + \dimen@=0.99626401\dimen@ + \xdef\Hy@pageheight{\strip@pt\dimen@} +\endgroup +\def\HyInd@EncapChar{\|} +\def\hypersetup{\setkeys{Hyp}} +\let\hyper@normalise\ExecuteOptions +\let\ExecuteOptions\hypersetup +\Hy@RestoreCatcodes +\InputIfFileExists{hyperref.cfg}{}{} +\Hy@SetCatcodes +\let\ExecuteOptions\hyper@normalise +\Hy@MaybeStopNow +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\Hy@tempa\@empty + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\Hy@tempa{\Hy@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\Hy@tempa{% + \noexpand\setkeys{#1}{% + \Hy@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \Hy@tempa +} +\@ifpackageloaded{tex4ht}{% + \@ifpackagewith{hyperref}{tex4ht}{}{% + \PassOptionsToPackage{tex4ht}{hyperref}% + }% +}{} +\let\ReadBookmarks\relax +\ProcessOptionsWithKV{Hyp} +\AtBeginDocument{% + \ifHy@draft + \let\hyper@@anchor\@gobble + \gdef\hyper@link#1#2#3{#3}% + \let\hyper@anchorstart\@gobble + \let\hyper@anchorend\@empty + \let\hyper@linkstart\@gobbletwo + \let\hyper@linkend\@empty + \def\hyper@linkurl#1#2{#1}% + \def\hyper@linkfile#1#2#3{#1}% + \def\Acrobatmenu#1#2{#2}% + \let\PDF@SetupDoc\@empty + \let\PDF@FinishDoc\@empty + \let\@fifthoffive\@secondoftwo + \let\@secondoffive\@secondoftwo + \let\ReadBookmarks\relax + \let\WriteBookmarks\relax + \Hy@WarningNoLine{ draft mode on}% + \fi + \Hy@DisableOption{draft}% + \Hy@DisableOption{nolinks}% + \Hy@DisableOption{final}% +}% +\ifx\HyPsd@InitUnicode\relax + \define@key{Hyp}{unicode}[true]{% + \Hy@boolkey{unicode}{#1}% + } +\else + \define@key{Hyp}{unicode}[true]{% + \Hy@boolkey{unicode}{#1}% + \ifHy@unicode + \Hy@WarningNoLine{Set package option `unicode' first\MessageBreak + in order to load unicode support% + }% + \Hy@unicodefalse + \fi + } +\fi +\let\HyPsd@InitUnicode\@undefined +\Hy@nextfalse +\@ifpackagewith{babel}{spanish}{\Hy@nexttrue}{} +\@ifpackagewith{babel}{galician}{\Hy@nexttrue}{} +\@ifpackagewith{babel}{estonian}{\Hy@nexttrue}{} +\ifHy@next + \let\texttilde\~% +\fi +\ifHy@figures + \Hy@Info{Hyper figures ON} +\else + \Hy@Info{Hyper figures OFF} +\fi +\ifHy@nesting + \Hy@Info{Link nesting ON} +\else + \Hy@Info{Link nesting OFF} +\fi +\ifHy@hyperindex + \Hy@Info{Hyper index ON} +\else + \Hy@Info{Hyper index OFF} +\fi +\ifHy@plainpages + \Hy@Info{Plain pages ON} +\else + \Hy@Info{Plain pages OFF} +\fi +\ifHy@backref + \Hy@Info{Backreferencing ON} +\else + \Hy@Info{Backreferencing OFF} +\fi +\ifHy@typexml + \AtEndOfPackage{\RequirePackage{color}\RequirePackage{nameref}} +\fi +\Hy@DisableOption{typexml} +\ifHy@implicit + \typeout{Implicit mode ON; LaTeX internals redefined}% +\else + \typeout{Implicit mode OFF; no redefinition of LaTeX internals}% + \def\MaybeStopEarly{% + \typeout{Hyperref stopped early}% + \AfterBeginDocument{\PDF@FinishDoc}% + \endinput + }% + \AtBeginDocument{% + \let\autoref\ref + \ifx\@pdfpagemode\@empty + \gdef\@pdfpagemode{/UseNone}% + \fi + \global\Hy@backreffalse + }% + \AtEndOfPackage{% + \global\let\ReadBookmarks\relax + \global\let\WriteBookmarks\relax + }% +\fi +\Hy@DisableOption{implicit} +\AtEndOfPackage{% + \@ifpackageloaded{tex4ht}{% + \def\Hy@driver{htex4ht}% + \Hy@texhttrue + }{}% + \ifx\Hy@driver\@empty + \providecommand*{\Hy@defaultdriver}{hypertex}% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname pdfoutput\endcsname\relax + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname OpMode\endcsname\relax + \let\Hy@driver\Hy@defaultdriver + \else + \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % + \def\Hy@driver{hvtex}% + \def\XR@ext{pdf}% + \else + \ifnum\OpMode=10\relax + \def\XR@ext{htm}% + \def\Hy@driver{hvtexhtm}% + \def\MaybeStopEarly{% + \typeout{Hyperref stopped early}% + \AfterBeginDocument{\PDF@FinishDoc}% + \endinput + }% + \else + \let\Hy@driver\Hy@defaultdriver + \fi + \fi + \fi + \else + \ifcase\pdfoutput + \let\Hy@driver\Hy@defaultdriver + \else + \def\Hy@driver{hpdftex}% + \def\XR@ext{pdf}% + \PassOptionsToPackage{pdftex}{color}% + \Hy@breaklinkstrue + \fi + \fi + \typeout{*hyperref using default driver \Hy@driver*}% + \else + \typeout{*hyperref using driver \Hy@driver*}% + \fi + \input{\Hy@driver.def}% + \let\@unprocessedoptions\relax + \Hy@RestoreCatcodes +} +\Hy@DisableOption{tex4ht} +\Hy@DisableOption{pdftex} +\Hy@DisableOption{dvipdf} +\Hy@DisableOption{nativepdf} +\Hy@DisableOption{dvipdfm} +\Hy@DisableOption{pdfmark} +\Hy@DisableOption{dvips} +\Hy@DisableOption{hypertex} +\Hy@DisableOption{vtex} +\Hy@DisableOption{vtexpdfmark} +\Hy@DisableOption{dviwindo} +\Hy@DisableOption{dvipsone} +\Hy@DisableOption{textures} +\Hy@DisableOption{latex2html} +\Hy@DisableOption{ps2pdf} +\def\WriteBookmarks{0} +\def\@bookmarkopenstatus#1{% + \ifHy@bookmarksopen + \ifnum#1<\expandafter\@firstofone\expandafter + {\number\@bookmarksopenlevel} % explicit space + \else + -% + \fi + \else + -% + \fi +} +\ifHy@bookmarks + \Hy@Info{Bookmarks ON}% + \ifx\@pdfpagemode\@empty + \def\@pdfpagemode{/UseOutlines }% + \fi +\else + \def\@bookmarkopenstatus#1{}% + \Hy@Info{Bookmarks OFF}% + \AtEndOfPackage{% + \global\let\ReadBookmarks\relax + \global\let\WriteBookmarks\relax + } + \ifx\@pdfpagemode\@empty + \def\@pdfpagemode{/UseNone}% + \fi +\fi +\Hy@DisableOption{bookmarks} +\AtBeginDocument{% + \ifHy@colorlinks + \ifHy@typexml\else\RequirePackage{color}\fi + \def\Hy@colorlink#1{\begingroup\color{#1}}% + \def\Hy@endcolorlink{\endgroup}% + \Hy@Info{Link coloring ON}% + \else + \ifHy@frenchlinks + \def\Hy@colorlink#1{\begingroup\fontshape{sc}\selectfont}% + \def\Hy@endcolorlink{\endgroup}% + \Hy@Info{French linking ON}% + \else + \def\Hy@colorlink#1{\begingroup}% + \def\Hy@endcolorlink{\endgroup}% + \Hy@Info{Link coloring OFF}% + \fi + \fi + \Hy@DisableOption{colorlinks}% + \Hy@DisableOption{frenchlinks}% + \ifHy@texht + \long\def\@firstoffive#1#2#3#4#5{#1}% + \long\def\@secondoffive#1#2#3#4#5{#2}% + \long\def\@thirdoffive#1#2#3#4#5{#3}% + \long\def\@fourthoffive#1#2#3#4#5{#4}% + \long\def\@fifthoffive#1#2#3#4#5{#5}% + \providecommand*\@safe@activestrue{}% + \providecommand*\@safe@activesfalse{}% + \def\T@ref#1{% + \@safe@activestrue + \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}% + \@safe@activesfalse + }% + \def\T@pageref#1{% + \@safe@activestrue + \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}% + \@safe@activesfalse + }% + \else + \ifHy@typexml\else\RequirePackage{nameref}\fi + \fi + \DeclareRobustCommand\ref{\@ifstar\@refstar\T@ref}% + \DeclareRobustCommand\pageref{% + \@ifstar\@pagerefstar\T@pageref + }% +} +\AfterBeginDocument{% + \ifHy@texht + \else + \ReadBookmarks + \fi +} +\ifHy@backref + \RequirePackage{backref} +\else + \let\Hy@backout\@gobble +\fi +\Hy@DisableOption{backref} +\Hy@DisableOption{pagebackref} +\Hy@activeanchorfalse +\begingroup + \endlinechar=-1 + \catcode`\^^M\active + \catcode`\%\active + \catcode`\#\active + \catcode`\_\active + \gdef\hyper@normalise{ + \begingroup + \catcode`\^^M\active + \def^^M{ } + \catcode`\%\active + \let%\@percentchar + \let\%\@percentchar + \catcode`\#\active + \def#{\hyper@hash} + \def\#{\hyper@hash} + \edef\textunderscore{\string_} + \let\_\textunderscore + \catcode`\_\active + \let_\textunderscore + \let~\hyper@tilde + \let\~\hyper@tilde + \let\textasciitilde\hyper@tilde + \ifx\@safe@activestrue\@undefined\else\@safe@activestrue\fi + \hyper@n@rmalise + } + \catcode`\#=6 + \gdef\hyper@n@rmalise#1#2{ + \edef\Hy@tempa{ + \endgroup + \noexpand#1{\Hy@RemovePercentCr#2%^^M\@nil} + } + \Hy@tempa + } + \gdef\Hy@RemovePercentCr#1%^^M#2\@nil{ + #1 + \ifx\limits#2\limits + \else + \Hy@ReturnAfterFi{ + \Hy@RemovePercentCr #2\@nil + } + \fi + } +\endgroup +\providecommand\hyper@chars{% + \let\#\hyper@hash + \let\%\@percentchar +} +\def\hyperlink#1#2{% + \hyper@@link{}{#1}{#2}% +} +\DeclareRobustCommand*{\href}{\hyper@normalise\href@} +\begingroup + \catcode`\$=6 + \catcode`\#=12 + \gdef\href@$1{\expandafter\href@split$1##\\} + \gdef\href@split$1#$2#$3\\{% + \hyper@@link{$1}{$2}% + } +\endgroup +\RequirePackage{url} +\let\HyOrg@url\url +\def\Hurl{\begingroup \Url} +\let\nolinkurl\Hurl +\DeclareRobustCommand*{\url}{\hyper@normalise\url@} +\def\url@#1{\hyper@linkurl{\Hurl{#1}}{#1}} +\DeclareRobustCommand*{\hyperimage}{\hyper@normalise\hyper@image} +\providecommand\hyper@image[2]{#2} +\def\hypertarget#1#2{% + \ifHy@nesting + \hyper@@anchor{#1}{#2}% + \else + \hyper@@anchor{#1}{\relax}#2% + \fi +} +\DeclareRobustCommand*{\hyperref}{% + \@ifnextchar[{\Hy@babelnormalise\label@hyperref}\@hyperref +} +\def\Hy@babelnormalise#1[#2]{% + \begingroup + \csname @safe@activestrue\endcsname + \edef\Hy@tempa{% + \endgroup + \noexpand#1[{#2}]% + }% + \Hy@tempa +} +\def\@hyperref{\hyper@normalise\@@hyperref} +\def\@@hyperref#1#2#3{% + \edef\ref@one{\ifx\\#2\\\else#2.\fi#3}% + \expandafter\tryhyper@link\ref@one\\{#1}% +} +\def\tryhyper@link#1\\#2{% + \hyper@@link{#2}{#1}% +} +\def\hyperdef{\@ifnextchar[{\label@hyperdef}{\@hyperdef}} +\def\@hyperdef#1#2#3{%, category, name, text + \ifHy@nesting + \hyper@@anchor{#1.#2}{#3}% + \else + \hyper@@anchor{#1.#2}{\relax}#3% + \fi +} +\def\label@hyperref[#1]{% + \expandafter\label@@hyperref\csname r@#1\endcsname{#1}% +}% +\def\label@@hyperref#1#2#3{% + \ifx#1\relax + \protect\G@refundefinedtrue + \@latex@warning{% + Hyper reference `#2' on page \thepage \space undefined% + }% + \hyper@@link{}{??}{#3}% + \else + \hyper@@link{\expandafter\@fifthoffive#1}% + {\expandafter\@fourthoffive#1\@empty\@empty}{#3}% + \fi +} +\def\label@hyperdef[#1]#2#3#4{% label name, category, name, + % anchor text + \@bsphack + \protected@write\@auxout{}% + {\string\newlabel{#1}{{}{}{}\##2.#3}}% + \@esphack + \ifHy@nesting + \hyper@@anchor{#2.#3}{#4}% + \else + \hyper@@anchor{#2.#3}{\relax}#4% + \fi +} +\def\hyper@@link{\let\Hy@reserved@a\relax + \@ifnextchar[{\hyper@link@}{\hyper@link@[link]}% +} +\def\hyper@link@[#1]#2#3#4{% + \begingroup + \protected@edef\Hy@tempa{#2}% + \csname @safe@activestrue\endcsname + \edef\x{#3}% + \ifx\Hy@tempa\@empty + \toks0{\hyper@link{#1}}% + \else + \toks0{\expandafter\hyper@readexternallink#2\\{#1}}% + \fi + \toks1{{#4}}% + \edef\x{\endgroup + \the\toks0 {\x}\the\toks1 % + }% + \x +} +\def\hyper@readexternallink#1\\#2#3#4{% + \expandafter\@hyper@readexternallink{#2}{#3}{#4}#1::\\{#1}% +} +\def\@pdftempwordfile{file}% +\def\@pdftempwordrun{run}% +\def\@hyper@readexternallink#1#2#3#4:#5:#6\\#7{% + \ifx\\#6\\% + \expandafter\@hyper@linkfile file:#7\\{#3}{#2}% + \else + \ifx\\#4\\% + \expandafter\@hyper@linkfile file:#7\\{#3}{#2}% + \else + \def\@pdftempa{#4}% + \ifx\@pdftempa\@pdftempwordfile + \expandafter\@hyper@linkfile#7\\{#3}{#2}% + \else + \ifx\@pdftempa\@pdftempwordrun + \expandafter\@hyper@launch#7\\{#3}{#2}% + \else + \hyper@linkurl{#3}{#7\ifx\\#2\\\else\##2\fi}% + \fi + \fi + \fi + \fi +} +\def\@hyper@launch run:#1\\#2#3{% filename, anchor text, linkname + \hyper@linkurl{#2}{\Hy@linkfileprefix#1\ifx\\#3\\\else\##3\fi}% +} +\def\@hyper@linkfile file:#1\\#2#3{% + %file url,link string, name + \filename@parse{#1}% + \ifx\filename@ext\relax + \edef\filename@ext{\XR@ext}% + \fi + \def\use@file{\filename@area\filename@base.\filename@ext}% + \ifx\filename@ext\XR@ext + \hyper@linkfile{#2}{\use@file}{#3}% + \else + \ifx\@baseurl\@empty + \hyper@linkurl{#2}{% + \Hy@linkfileprefix\use@file\ifx\\#3\\\else\##3\fi + }% + \else + \hyper@linkurl{#2}{\use@file\ifx\\#3\\\else\##3\fi}% + \fi + \fi +} +\long\def\hyper@@anchor#1#2{\@hyper@@anchor#1\relax#2\relax} +\long\def\@hyper@@anchor#1\relax#2#3\relax{% + \ifx\\#1\\% + #2\Hy@WarningNoLine{empty link? #1: #2#3}% + \else + \def\anchor@spot{#2#3}% + \let\put@me@back\@empty + \ifx\relax#2\relax + \else + \ifHy@nesting + \else + \ifcat a\noexpand#2\relax + \else + \ifcat 0\noexpand#2 \relax + \else + \let\anchor@spot\@empty + \def\put@me@back{#2#3}% + \fi + \fi + \fi + \fi + \ifHy@activeanchor + \anchor@spot + \else + \hyper@anchor{#1}% + \fi + \expandafter\put@me@back + \fi + \let\anchor@spot\@empty +} +\let\htmladdimg\hyperimage +\def\htmladdnormallink#1#2{\href{#2}{#1}} +\def\htmladdnormallinkfoot#1#2{\href{#2}{#1}\footnote{#2}} +\def\htmlref#1#2{% anchor text, label + \label@hyperref[{#2}]{#1}% +} +\def\@@latextohtmlX{% + \let\hhyperref\hyperref + \def\hyperref##1##2##3##4{% anchor text for HTML + % text to print before label in print + % label + % post-label text in print + ##2\ref{##4}##3% + }% +} +\newif\ifFld@checked +\newif\ifFld@hidden +\newif\ifFld@multiline +\newif\ifFld@readonly +\newif\ifFld@disabled +\newif\ifFld@password +\newif\ifFld@radio +\newif\ifFld@combo +\newif\ifFld@popdown +\Fld@multilinefalse +\Fld@checkedfalse +\Fld@hiddenfalse +\Fld@readonlyfalse +\Fld@disabledfalse +\Fld@radiofalse +\Fld@combofalse +\Fld@popdownfalse +\Fld@passwordfalse +\newcount\Fld@menulength +\newdimen\Field@Width +\newdimen\Fld@charsize +\Fld@charsize=10\p@ +\def\Fld@maxlen{0} +\def\Fld@align{0} +\def\Fld@color{0 0 0} +\def\Fld@bcolor{1 1 1} +\def\Fld@bordercolor{1 0 0} +\def\Fld@bordersep{1\p@} +\def\Fld@borderwidth{1} +\def\Fld@borderstyle{S} +\def\Fld@cbsymbol{4} +\newtoks\Choice@toks +\def\Form{\@ifnextchar[{\@Form}{\@Form[]}} +\def\endForm{\@endForm} +\newif\ifForm@html +\Form@htmlfalse +\def\Form@boolkey#1#2{% + \csname Form@#2\ifx\relax#1\relax true\else#1\fi\endcsname +} +\define@key{Form}{action}{% + \def\Form@action{#1}% +} +\def\enc@@html{html} +\define@key{Form}{encoding}{% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\enc@@html + \Form@htmltrue + \else + \typeout{hyperref: form `encoding' key set to #1 % + -- unknown type% + }% + \Form@htmlfalse + \fi +} +\define@key{Form}{method}{% + \def\Form@method{#1}% +} +\def\Form@method{} +\def\Field@boolkey#1#2{% + \csname Fld@#2\ifx\relax#1\relax true\else#1\fi\endcsname +} +\newtoks\Field@toks +\Field@toks={ }% +\def\Field@addtoks#1#2{% + \edef\@processme{\Field@toks{\the\Field@toks\space #1="#2"}}% + \@processme +} +\def\Fld@checkequals#1=#2=#3\\{% + \def\@currDisplay{#1}% + \ifx\\#2\\% + \def\@currValue{#1}% + \else + \def\@currValue{#2}% + \fi +} +\define@key{Field}{loc}{% + \def\Fld@loc{#1}% +} +\define@key{Field}{multiline}[true]{% + \lowercase{\Field@boolkey{#1}}{multiline}% +} +\define@key{Field}{checked}[true]{% + \lowercase{\Field@boolkey{#1}}{checked}% +} +\define@key{Field}{hidden}[true]{% + \lowercase{\Field@boolkey{#1}}{hidden}% +} +\define@key{Field}{readonly}[true]{% + \lowercase{\Field@boolkey{#1}}{readonly}% +} +\define@key{Field}{disabled}[true]{% + \lowercase{\Field@boolkey{#1}}{disabled}% +} +\define@key{Field}{password}[true]{% + \lowercase{\Field@boolkey{#1}}{password}% +} +\define@key{Field}{radio}[true]{% + \lowercase{\Field@boolkey{#1}}{radio}% +} +\define@key{Field}{combo}[true]{% + \lowercase{\Field@boolkey{#1}}{combo}% +} +\define@key{Field}{popdown}[true]{% + \lowercase{\Field@boolkey{#1}}{popdown}% +} +\define@key{Field}{accesskey}{% + \Field@addtoks{accesskey}{#1}% +} +\define@key{Field}{tabkey}{% + \Field@addtoks{tabkey}{#1}% +} +\define@key{Field}{name}{% + \def\Fld@name{#1}% +} +\define@key{Field}{width}{% + \def\Fld@width{#1}% + \Field@Width#1\setbox0=\hbox{m}% +} +\define@key{Field}{maxlen}{% + \def\Fld@maxlen{#1}% +} +\define@key{Field}{menulength}{% + \Fld@menulength=#1\relax +} +\define@key{Field}{height}{% + \def\Fld@height{#1}% +} +\define@key{Field}{charsize}{% + \Fld@charsize#1% +} +\define@key{Field}{fillcolor}{% + \def\Fld@fillcolor{#1}% +} +\define@key{Field}{bordercolor}{% + \def\Fld@bordercolor{#1}% +} +\define@key{Field}{color}{% + \def\Fld@color{#1}% +} +\define@key{Field}{borderwidth}{% + \def\Fld@borderwidth{#1}% +} +\define@key{Field}{borderstyle}{% + \def\Fld@borderstyle{#1}% +} +\define@key{Field}{bordersep}{% + \def\Fld@bordersep{#1}% +} +\define@key{Field}{default}{% + \def\Fld@default{#1}% +} +\define@key{Field}{align}{% + \def\Fld@align{#1}% +} +\define@key{Field}{value}{% + \def\Fld@value{#1}% +} +\define@key{Field}{backgroundcolor}{% + \def\Fld@bcolor{#1}% +} +\define@key{Field}{checkboxsymbol}{% + \def\Fld@cbsymbol{#1}% +} +\def\Fld@format@code{} +\def\Fld@validate@code{} +\def\Fld@calculate@code{} +\def\Fld@keystroke@code{} +\def\Fld@onfocus@code{} +\def\Fld@onblur@code{} +\def\Fld@onmousedown@code{} +\def\Fld@onmouseup@code{} +\def\Fld@onenter@code{} +\def\Fld@onexit@code{} +\define@key{Field}{keystroke}{% + \def\Fld@keystroke@code{#1}% +} +\define@key{Field}{format}{% + \def\Fld@format@code{#1}% +} +\define@key{Field}{validate}{% + \def\Fld@validate@code{#1}% +} +\define@key{Field}{calculate}{% + \def\Fld@calculate@code{#1}% +} +\define@key{Field}{onfocus}{% + \def\Fld@onfocus@code{#1}% +} +\define@key{Field}{onblur}{% + \def\Fld@onblur@code{#1}% +} +\define@key{Field}{onenter}{% + \def\Fld@onenter@code{#1}% +} +\define@key{Field}{onexit}{% + \def\Fld@onexit@code{#1}% +} +\define@key{Field}{onselect}{% + \Field@addtoks{onselect}{#1}% +} +\define@key{Field}{onchange}{% + \Field@addtoks{onchange}{#1}% +} +\define@key{Field}{onclick}{% + \def\Fld@onclick{#1}% + \Field@addtoks{onclick}{#1}% +} +\define@key{Field}{ondblclick}{% + \Field@addtoks{ondblclick}{#1}% +} +\define@key{Field}{onmousedown}{% + \Field@addtoks{onmousedown}{#1}% +} +\define@key{Field}{onmouseup}{% + \Field@addtoks{onmouseup}{#1}% +} +\define@key{Field}{onmouseover}{% + \Field@addtoks{onmouseover}{#1}% +} +\define@key{Field}{onmousemove}{% + \Field@addtoks{onmousemove}{#1}% +} +\define@key{Field}{onmouseout}{% + \Field@addtoks{onmouseout}{#1}% +} +\define@key{Field}{onkeypress}{% + \Field@addtoks{onkeypress}{#1}% +} +\define@key{Field}{onkeydown}{% + \Field@addtoks{onkeydown}{#1}% +} +\define@key{Field}{onkeyup}{% + \Field@addtoks{onkeyup}{#1}% +} +\DeclareRobustCommand\TextField{% + \@ifnextchar[{\@TextField}{\@TextField[]}% +} +\DeclareRobustCommand\ChoiceMenu{% + \@ifnextchar[{\@ChoiceMenu}{\@ChoiceMenu[]}% +} +\DeclareRobustCommand\CheckBox{% + \@ifnextchar[{\@CheckBox}{\@CheckBox[]}% +} +\DeclareRobustCommand\PushButton{% + \@ifnextchar[{\@PushButton}{\@PushButton[]}% +} +\DeclareRobustCommand\Gauge{% + \@ifnextchar[{\@Gauge}{\@Gauge[]}% +} +\DeclareRobustCommand\Submit{% + \@ifnextchar[{\@Submit}{\@Submit[]}% +} +\DeclareRobustCommand\Reset{% + \@ifnextchar[{\@Reset}{\@Reset[]}% +} +\def\LayoutTextField#1#2{% label, field + #1 #2% +} +\def\LayoutChoiceField#1#2{% label, field + #1 #2% +} +\def\LayoutCheckField#1#2{% label, field + #1 #2% +} +\def\LayoutPushButtonField#1{% button + #1% +} +\def\MakeRadioField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} +\def\MakeCheckField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} +\def\MakeTextField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} +\def\MakeChoiceField#1#2{\vbox to #2{\hbox to #1{\hfill}\vfill}} +\def\MakeButtonField#1{% + \sbox0{% + \hskip\Fld@borderwidth bp#1\hskip\Fld@borderwidth bp% + }% + \@tempdima\ht0 + \advance\@tempdima by \Fld@borderwidth bp + \advance\@tempdima by \Fld@borderwidth bp + \ht0\@tempdima + \@tempdima\dp0 + \advance\@tempdima by \Fld@borderwidth bp + \advance\@tempdima by \Fld@borderwidth bp + \dp0\@tempdima + \box0\relax +} +\def\DefaultHeightofSubmit{14pt} +\def\DefaultWidthofSubmit{2cm} +\def\DefaultHeightofReset{14pt} +\def\DefaultWidthofReset{2cm} +\def\DefaultHeightofCheckBox{\baselineskip} +\def\DefaultWidthofCheckBox{\baselineskip} +\def\DefaultHeightofChoiceMenu{\baselineskip} +\def\DefaultWidthofChoiceMenu{\baselineskip} +\def\DefaultHeightofText{\baselineskip} +\def\DefaultWidthofText{3cm} +\ifHy@figures + \Hy@Info{Hyper figures ON} +\else + \Hy@Info{Hyper figures OFF} +\fi +\ifHy@nesting + \Hy@Info{Link nesting ON} +\else + \Hy@Info{Link nesting OFF} +\fi +\ifHy@hyperindex + \Hy@Info{Hyper index ON} +\else + \Hy@Info{Hyper index OFF} +\fi +\ifHy@backref + \Hy@Info{backreferencing ON} +\else + \Hy@Info{backreferencing OFF} +\fi +\ifHy@colorlinks + \Hy@Info{Link coloring ON} +\else + \Hy@Info{Link coloring OFF} +\fi +\edef\hyper@hash{\string#} +\edef\hyper@tilde{\string~} +\edef\hyper@quote{\string"} +\let\@currentHref\@empty +\let\Hy@footnote@currentHref\@empty +\AfterBeginDocument{% + \Hy@pdfstringtrue + \PDF@SetupDoc + \let\PDF@SetupDoc\@empty + \Hy@DisableOption{pdfpagescrop}% + \Hy@DisableOption{pdfpagemode}% + \Hy@DisableOption{pdfnonfullscreenpagemode}% + \Hy@DisableOption{pdfstartview}% + \Hy@DisableOption{pdfstartpage}% + \Hy@DisableOption{pdftoolbar}% + \Hy@DisableOption{pdfmenubar}% + \Hy@DisableOption{pdfwindowui}% + \Hy@DisableOption{pdffitwindow}% + \Hy@DisableOption{pdfcenterwindow}% + \Hy@DisableOption{pdfdisplaydoctitle}% + \Hy@DisableOption{pdfpagelayout}% + \Hy@DisableOption{baseurl}% + \ifHy@texht\else\hyper@anchorstart{Doc-Start}\hyper@anchorend\fi + \Hy@pdfstringfalse +} +\def\NoHyper{% + \def\hyper@link@[##1]##2##3##4{##4}% + \def\hyper@@anchor##1{}% + \global\let\hyper@livelink\hyper@link + \gdef\hyper@link##1##2##3{##3}% + \def\hyper@anchorstart##1{}% + \let\hyper@anchorend\@empty + \def\hyper@linkstart##1##2{}% + \let\hyper@linkend\@empty + \def\hyper@linkurl##1##2{##1}% + \def\hyper@linkfile##1##2##3{##1}% + \let\Hy@backout\@gobble +} +\def\stop@hyper{% + \def\hyper@link@[##1]##2##3##4{##4}% + \let\Hy@backout\@gobble + \def\hyper@@anchor##1{}% + \def\hyper@link##1##2##3{##3}% + \def\hyper@anchorstart##1{}% + \let\hyper@anchorend\@empty + \def\hyper@linkstart##1##2{}% + \let\hyper@linkend\@empty + \def\hyper@linkurl##1##2{##1}% + \def\hyper@linkfile##1##2##3{##1}% +} +\def\endNoHyper{% + \global\let\hyper@link\hyper@livelink +} +\AfterBeginDocument{% + \if@filesw + \ifHy@typexml + \immediate\closeout\@mainaux + \immediate\openout\@mainaux\jobname.aux + \immediate\write\@auxout{<relaxxml>\relax}% + \fi + \immediate\write\@auxout{% + \string\ifx\string\hyper@anchor\string\@undefined^^J% + \global\let\string\oldcontentsline\string\contentsline^^J% + \gdef\string\contentsline% + \string#1\string#2\string#3\string#4{% + \string\oldcontentsline% + {\string#1}{\string#2}{\string#3}}^^J% + \global\let\string\oldnewlabel\string\newlabel^^J% + \gdef\string\newlabel\string#1\string#2{% + \string\newlabelxx{\string#1}\string#2}^^J% + \gdef\string\newlabelxx% + \string#1\string#2\string#3\string#4\string#5\string#6{% + \string\oldnewlabel{\string#1}{{\string#2}{\string#3}}}^^J% + \string\AtEndDocument{% + \let\string\contentsline\string\oldcontentsline^^J% + \let\string\newlabel\string\oldnewlabel}^^J% + \string\else^^J% + \global\let\string\hyper@last\relax^^J% + \string\fi^^J% + }% + \fi + \ifx\hyper@last\@undefined + \def\@starttoc#1{% + \begingroup + \makeatletter + \IfFileExists{\jobname.#1}{% + \Hy@WarningNoLine{% + old #1 file detected, not used; run LaTeX again% + }% + }{}% + \if@filesw + \expandafter\newwrite\csname tf@#1\endcsname + \immediate\openout\csname tf@#1\endcsname \jobname.#1\relax + \fi + \@nobreakfalse + \endgroup + }% + \def\newlabel#1#2{\@newl@bel r{#1}{#2{}{}{}{}}}% + \fi +} +\ifHy@usetitle + \let\HyOrg@title\title + \let\HyOrg@author\author + \def\title{\@ifnextchar[{\Hy@scanopttitle}{\Hy@scantitle}}% + \def\Hy@scanopttitle[#1]{% + \gdef\Hy@title{#1}% + \HyOrg@title[{#1}]% + }% + \def\Hy@scantitle#1{% + \gdef\Hy@title{#1}% + \HyOrg@title{#1}% + } + \def\author{\@ifnextchar[{\Hy@scanoptauthor}{\Hy@scanauthor}}% + \def\Hy@scanoptauthor[#1]{% + \gdef\Hy@author{#1}% + \HyOrg@author[{#1}]% + }% + \def\Hy@scanauthor#1{% + \gdef\Hy@author{#1}% + \HyOrg@author{#1}% + } + \begingroup + \def\process@me#1\@nil#2{% + \expandafter\let\expandafter\x\csname @#2\endcsname + \edef\y{\expandafter\strip@prefix\meaning\x}% + \def\c##1#1##2\@nil{% + \ifx\\##1\\% + \else + \expandafter\gdef\csname Hy@#2\expandafter\endcsname + \expandafter{\x}% + \fi + }% + \expandafter\c\y\relax#1\@nil + }% + \expandafter\process@me\string\@latex@\@nil{title}% + \expandafter\process@me\string\@latex@\@nil{author}% + \endgroup +\fi +\Hy@DisableOption{pdfusetitle} +\def\Hy@UseMaketitleString#1{% + \@ifundefined{Hy@#1}{}{% + \begingroup + \let\Hy@saved@hook\pdfstringdefPreHook + \pdfstringdefDisableCommands{% + \expandafter\let\expandafter\\\csname Hy@newline@#1\endcsname + \let\newline\\% + }% + \expandafter\ifx\csname @pdf#1\endcsname\@empty + \expandafter\pdfstringdef\csname @pdf#1\endcsname{% + \csname Hy@#1\endcsname\@empty + }% + \fi + \global\let\pdfstringdefPreHook\Hy@saved@hook + \endgroup + }% +} +\def\Hy@newline@title#1{ #1} +\def\Hy@newline@author#1{, #1} +\def\Hy@UseMaketitleInfos{% + \Hy@UseMaketitleString{title}% + \Hy@UseMaketitleString{author}% +} +\ifHy@pagelabels + \def\thispdfpagelabel#1{% + \gdef\HyPL@thisLabel{#1}% + } + \global\let\HyPL@thisLabel\relax + \def\HyPL@Labels{} + \newcount\Hy@abspage + \Hy@abspage=0 + \def\HyPL@LastType{init}% + \def\HyPL@LastNumber{0}% + \def\HyPL@LastPrefix{}% + \def\HyPL@arabic{D}% + \def\HyPL@Roman{R}% + \def\HyPL@roman{r}% + \def\HyPL@Alph{A}% + \def\HyPL@alph{a}% + \def\HyPL@EveryPage{% + \begingroup + \ifx\HyPL@thisLabel\relax + \let\HyPL@page\thepage + \else + \let\HyPL@page\HyPL@thisLabel + \global\let\HyPL@thisLabel\relax + \fi + \let\HyPL@Type\relax + \ifnum\the\c@page>0 + \expandafter\HyPL@CheckThePage\HyPL@page\@nil + \fi + \let\Hy@temp Y% + \ifx\HyPL@Type\HyPL@LastType + \else + \let\Hy@temp N% + \fi + \ifx\HyPL@Type\relax + \pdfstringdef\HyPL@Prefix{\HyPL@page}% + \else + \pdfstringdef\HyPL@Prefix\HyPL@Prefix + \fi + \ifx\HyPL@Prefix\HyPL@LastPrefix + \else + \let\Hy@temp N% + \fi + \if Y\Hy@temp + \advance\c@page by -1 + \ifnum\HyPL@LastNumber=\the\c@page\relax + \else + \let\Hy@temp N% + \fi + \Hy@StepCount\c@page + \fi + \if N\Hy@temp + \ifx\HyPL@Type\relax + \HyPL@StorePageLabel{/P (\HyPL@Prefix)}% + \else + \HyPL@StorePageLabel{% + \ifx\HyPL@Prefix\@empty + \else + /P (\HyPL@Prefix) + \fi + /S /\csname HyPL\HyPL@Type\endcsname + \ifnum\the\c@page=1 + \else + \space/St \the\c@page + \fi + }% + \fi + \fi + \xdef\HyPL@LastNumber{\the\c@page}% + \global\let\HyPL@LastType\HyPL@Type + \global\let\HyPL@LastPrefix\HyPL@Prefix + \endgroup + \Hy@GlobalStepCount\Hy@abspage + } + \def\HyPL@CheckThePage#1\@nil{% + \HyPL@@CheckThePage{#1}#1\csname\endcsname\c@page\@nil + } + \def\HyPL@@CheckThePage#1#2\csname#3\endcsname\c@page#4\@nil{% + \def\Hy@tempa{#4}% + \def\Hy@tempb{\csname\endcsname\c@page}% + \ifx\Hy@tempa\Hy@tempb + \expandafter\ifx\csname HyPL#3\endcsname\relax + \else + \def\HyPL@Type{#3}% + \def\HyPL@Prefix{#2}% + \fi + \else + \begingroup + \let\Hy@next\endgroup + \let\HyPL@found\@undefined + \def\arabic{\HyPL@Format{arabic}}% + \def\Roman{\HyPL@Format{Roman}}% + \def\roman{\HyPL@Format{roman}}% + \def\Alph{\HyPL@Format{Alph}}% + \def\alph{\HyPL@Format{alph}}% + \protected@edef\Hy@temp{#1}% + \ifx\HyPL@found\relax + \toks@\expandafter{\Hy@temp}% + \edef\Hy@next{\endgroup + \noexpand\HyPL@@@CheckThePage\the\toks@ + \noexpand\HyPL@found\relax\noexpand\@nil + }% + \fi + \Hy@next + \fi + } + \def\HyPL@Format#1#2{% + \ifx\HyPL@found\@undefined + \expandafter\ifx\csname c@#2\endcsname\c@page + \expandafter\noexpand\csname HyPL@found\endcsname{#1}% + \else + \expandafter\noexpand\csname#1\endcsname{#2}% + \fi + \else + \expandafter\noexpand\csname#1\endcsname{#2}% + \fi + } + \def\HyPL@@@CheckThePage#1\HyPL@found#2#3\@nil{% + \def\Hy@tempa{#3}% + \def\Hy@tempb{\HyPL@found\relax}% + \ifx\Hy@tempa\Hy@tempb + \def\HyPL@Type{@#2}% + \def\HyPL@Prefix{#1}% + \fi + } + \providecommand*{\HyPL@StorePageLabel}[1]{} + \def\HyPL@Useless{0 << /S /D >> }% + \def\HyPL@SetPageLabels{% + \ifx\HyPL@Labels\@empty + \else + \ifx\HyPL@Labels\HyPL@Useless + \else + \Hy@PutCatalog{/PageLabels << /Nums [\HyPL@Labels] >>}% + \fi + \fi + } +\else + \let\HyPL@EveryPage\@empty +\fi +\Hy@DisableOption{pdfpagelabels} +\MaybeStopEarly +\newcommand\theHequation{\theHsection.\arabic{equation}} +\@ifundefined{thepart}{}{\newcommand\theHpart{\arabic{part}}} +\@ifundefined{thechapter}{% + \newcommand\theHsection {\arabic{section}} + \newcommand\theHfigure {\arabic{figure}} + \newcommand\theHtable {\arabic{table}} +}{% + \newcommand\theHchapter {\arabic{chapter}} + \newcommand\theHfigure {\theHchapter.\arabic{figure}} + \newcommand\theHtable {\theHchapter.\arabic{table}} + \newcommand\theHsection {\theHchapter.\arabic{section}} +} +\newcommand\theHsubsection {\theHsection.\arabic{subsection}} +\newcommand\theHsubsubsection{\theHsubsection.\arabic{subsubsection}} +\newcommand\theHparagraph {\theHsubsubsection.\arabic{paragraph}} +\newcommand\theHsubparagraph {\theHparagraph.\arabic{subparagraph}} +\newcommand\theHtheorem {\theHsection.\arabic{theorem}} +\newcommand\theHthm {\theHsection.\arabic{thm}} +\let\H@item\item +\newcounter{Item} +\def\theHItem{\arabic{Item}} +\def\item{% + \@hyper@itemfalse + \if@nmbrlist\@hyper@itemtrue\fi + \H@item +} +\newcommand\theHenumi {\theHItem} +\newcommand\theHenumii {\theHItem} +\newcommand\theHenumiii {\theHItem} +\newcommand\theHenumiv {\theHItem} +\newcommand\theHHfootnote {\arabic{Hfootnote}} +\newcommand\theHmpfootnote{\arabic{mpfootnote}} +\let\theHHmpfootnote\theHHfootnote +\let\H@refstepcounter\refstepcounter +\edef\name@of@eq{equation}% +\edef\name@of@slide{slide}% +\newif\if@hyper@item +\newif\if@skiphyperref +\@hyper@itemfalse +\@skiphyperreffalse +\def\refstepcounter#1{% + \H@refstepcounter{#1}% + \edef\This@name{#1}% + \ifx\This@name\name@of@slide + \else + \if@skiphyperref + \else + \if@hyper@item + \stepcounter{Item}% + \hyper@refstepcounter{Item}% + \else + \hyper@refstepcounter{#1}% + \fi + \fi + \fi +} +\@ifpackageloaded{amsmath}{}{\newif\ifmeasuring@\measuring@false} +\def\hyper@refstepcounter#1{% + \edef\This@name{#1}% + \ifx\This@name\name@of@eq + \make@stripped@name{\theequation}% + \let\theHequation\newname + \fi + \@ifundefined{theH#1}{% + \expandafter\def\csname theH#1\endcsname{\arabic{#1}}% + }{}% + \hyper@makecurrent{#1}% + \ifmeasuring@ + \else + \Hy@raisedlink{% + \hyper@anchorstart{\@currentHref}\hyper@anchorend + }% + \fi +} +\def\Hy@chapterstring{chapter} +\def\Hy@appendixstring{appendix} +\def\Hy@chapapp{\Hy@chapterstring} +\let\HyOrg@appendix\appendix +\def\appendix{% + \@ifundefined{chapter}% + {\gdef\theHsection{\Alph{section}}}% + {\gdef\theHchapter{\Alph{chapter}}}% + \xdef\Hy@chapapp{\Hy@appendixstring}% + \HyOrg@appendix +} +\def\hyper@makecurrent#1{% + \begingroup + \edef\Hy@param{#1}% + \ifx\Hy@param\Hy@chapterstring + \let\Hy@param\Hy@chapapp + \fi + \ifHy@hypertexnames + \let\@number\@firstofone + \ifHy@naturalnames + \let\textlatin\@firstofone + \xdef\@currentHlabel{\csname the#1\endcsname}% + \else + \xdef\@currentHlabel{\csname theH#1\endcsname}% + \fi + \xdef\@currentHref{% + \Hy@param.\expandafter\strip@prefix\meaning\@currentHlabel + }% + \else + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@param.\the\Hy@linkcounter}% + \fi + \endgroup +} +\@ifpackageloaded{fancyvrb}{% + \def\FV@StepLineNo{% + \FV@SetLineNo + \def\FV@StepLineNo{\H@refstepcounter{FancyVerbLine}}% + \FV@StepLineNo + }% +}{} +\AtBeginDocument{% + \@ifpackageloaded{lastpage}{% + \ifHy@pageanchor + \else + \Hy@WarningNoLine{% + The \string\pageref{LastPage} link doesn't work\MessageBreak + with disabled option `pageanchor'% + }% + \fi + \def\lastpage@putlabel{% + \addtocounter{page}{-1}% + \if@filesw + \begingroup + \let\@number\@firstofone + \ifHy@pageanchor + \ifHy@hypertexnames + \ifHy@plainpages + \def\Hy@temp{\arabic{page}}% + \else + \let\textlatin\@firstofone + \edef\Hy@temp{\thepage}% + \fi + \else + \def\Hy@temp{\the\Hy@pagecounter}% + \fi + \fi + \immediate\write\@auxout{% + \string\newlabel + {LastPage}{{}{\thepage}{}{% + \ifHy@pageanchor page.\Hy@temp\fi}{}}% + }% + \endgroup + \fi + \addtocounter{page}{1}% + }% + }{}% +} +\newcommand*{\hypergetpageref}[1]{% + \expandafter\Hy@getpageref\csname r@#1\endcsname{#1}% +} +\def\Hy@getpageref#1#2{% + \ifx#1\relax + 0% + \protect\G@refundefinedtrue + \@latex@warning{Reference `#2' on page \thepage\space + undefined% + }% + \else + \expandafter\Hy@GetSecondArg#1\@nil + \fi +} +\long\def\Hy@GetSecondArg#1#2#3\@nil{#2} +\newcommand*{\hypergetref}[1]{% + \expandafter\Hy@getref\csname r@#1\endcsname{#1}% +} +\def\Hy@getref#1#2{% + \ifx#1\relax + ??% + \protect\G@refundefinedtrue + \@latex@warning{Reference `#2' on page \thepage\space + undefined% + }% + \else + \expandafter\@car#1\@nil + \fi +} +\@ifpackageloaded{ifthen}{% + \let\HyOrg@ifthenelse\ifthenelse + \def\ifthenelse{% + \let\begingroup\Hy@TE@begingroup + \HyOrg@ifthenelse + }% + \let\HyOrg@begingroup\begingroup + \def\Hy@TE@begingroup{% + \let\begingroup\HyOrg@begingroup + \begingroup + \let\ref\hypergetref + \let\pageref\hypergetpageref + }% +}{} +\@ifpackageloaded{titlesec}{% + \def\ttl@Hy@steplink#1{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{#1*.\the\Hy@linkcounter}% + \def\ttl@Hy@saveanchor{% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + }% + \def\ttl@Hy@refstepcounter#1{% + \let\ttl@b\Hy@raisedlink + \def\Hy@raisedlink##1{\def\ttl@Hy@saveanchor{\Hy@raisedlink{##1}}}% + \refstepcounter{#1}% + \let\Hy@raisedlink\ttl@b + }% +}{} +\@ifpackageloaded{titletoc}{% + \def\ttl@gobblecontents#1#2#3#4{\ignorespaces}% +}{} +\@ifpackageloaded{varioref}{% + \def\vref@pagenum#1#2{% + \@ifundefined{r@#2}{% + \@namedef{r@#2}{{??}{??}{}{}{}}% + }{}% + \edef#1{\hypergetpageref{#2}}% + }% +}{} +\@ifpackageloaded{longtable}{% + \begingroup + \def\y{\LT@array}% + \@ifundefined{scr@LT@array}{}{\def\y{\scr@LT@array}}% + \long\def\x\refstepcounter#1#2\@sharp#3#4\@nil{% + \expandafter\endgroup + \expandafter\def\y[##1]##2{% + \H@refstepcounter{#1}% + \hyper@makecurrent{table}% + #2\@sharp#####4% + }% + }% + \expandafter\expandafter\expandafter\x\y[#1]{#2}\@nil + \begingroup + \def\x#1\ifvoid\LT@firsthead\copy#2\@nil{% + \endgroup + \def\LT@start{% + #1% + \hyper@refstepcounter{table}% + \ifvoid\LT@firsthead\copy + #2% + }% + }% + \expandafter\x\LT@start\@nil +}{} +\let\new@refstepcounter\refstepcounter +\let\H@equation\equation +\let\H@endequation\endequation +\@ifpackageloaded{amsmath}{% + \long\def\Hy@temp{% + \incr@eqnum + \mathdisplay@push + \st@rredfalse \global\@eqnswtrue + \mathdisplay{equation}% + }% + \ifx\Hy@temp\equation + \expandafter\ifx\csname if@fleqn\expandafter\endcsname + \csname iftrue\endcsname + \else + \long\def\equation{% + \mathdisplay@push + \st@rredfalse \global\@eqnswtrue + \mathdisplay{equation}% + \incr@eqnum + }% + \fi + \fi +}{% + \def\equation{% + \let\refstepcounter\H@refstepcounter + \H@equation + \make@stripped@name{\theequation}% + \let\theHequation\newname + \hyper@makecurrent{equation}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}}% + \let\refstepcounter\new@refstepcounter + }% + \def\endequation{\Hy@raisedlink{\hyper@anchorend}\H@endequation}% +} +\newif\if@eqnstar +\@eqnstarfalse +\let\H@eqnarray\eqnarray +\let\H@endeqnarray\endeqnarray +\def\eqnarray{% + \let\Hy@reserved@a\relax + \def\@currentHref{}% + \H@eqnarray + \if@eqnstar + \else + \ifx\\\@currentHref\\% + \else + \make@stripped@name{\theequation}% + \let\theHequation\newname + \hyper@makecurrent{equation}% + \hyper@anchorstart{\@currentHref}{}\hyper@anchorend + \fi + \fi +} +\def\endeqnarray{% + \H@endeqnarray +} +\@namedef{eqnarray*}{% + \def\@eqncr{\nonumber\@seqncr}\@eqnstartrue\eqnarray +} +\@namedef{endeqnarray*}{% + \nonumber\endeqnarray\@eqnstarfalse +} +\@ifundefined{subeqnarray}{}{% + \let\H@subeqnarray\subeqnarray + \let\H@endsubeqnarray\endsubeqnarray + \def\subeqnarray{% + \let\Hy@reserved@a\relax + \H@subeqnarray + \make@stripped@name{\theequation}% + \let\theHequation\newname + \hyper@makecurrent{equation}% + \hyper@anchorstart{\@currentHref}{}\hyper@anchorend + }% + \def\endsubeqnarray{% + \H@endsubeqnarray + }% + \newcommand\theHsubequation{\theHequation\alph{subequation}}% +} +\def\make@stripped@name#1{% + \begingroup + \escapechar\m@ne + \global\let\newname\@empty + \protected@edef\Hy@tempa{#1}% + \edef\@tempb{% + \noexpand\@tfor\noexpand\Hy@tempa:=% + \expandafter\strip@prefix\meaning\Hy@tempa + }% + \@tempb\do{% + \if{\Hy@tempa\else + \if}\Hy@tempa\else + \xdef\newname{\newname\Hy@tempa}% + \fi + \fi + }% + \endgroup +} +\@ifpackageloaded{tabularx}{\Hy@hyperfootnotesfalse}{} +\ifHy@hyperfootnotes + \newcounter{Hfootnote} + \let\H@@footnotetext\@footnotetext + \let\H@@footnotemark\@footnotemark + \def\@xfootnotenext[#1]{% + \begingroup + \csname c@\@mpfn\endcsname #1\relax + \unrestored@protected@xdef\@thefnmark{\thempfn}% + \endgroup + \ifx\@footnotetext\@mpfootnotetext + \expandafter\H@@mpfootnotetext + \else + \expandafter\H@@footnotetext + \fi + }% + \def\@xfootnotemark[#1]{% + \begingroup + \c@footnote #1\relax + \unrestored@protected@xdef\@thefnmark{\thefootnote}% + \endgroup + \H@@footnotemark + }% + \let\H@@mpfootnotetext\@mpfootnotetext + \long\def\@mpfootnotetext#1{% + \H@@mpfootnotetext{% + \ifHy@nesting + \hyper@@anchor{\Hy@footnote@currentHref}{#1}% + \else + \Hy@raisedlink{% + \hyper@@anchor{\Hy@footnote@currentHref}{\relax}% + }#1% + \fi + }% + }% + \long\def\@footnotetext#1{% + \H@@footnotetext{% + \ifHy@nesting + \hyper@@anchor{\Hy@footnote@currentHref}{#1}% + \else + \Hy@raisedlink{% + \hyper@@anchor{\Hy@footnote@currentHref}{\relax}% + }% + \let\@currentHlabel\Hy@footnote@currentHlabel + \let\@currentHref\Hy@footnote@currentHref + \let\@currentlabelname\@empty + #1% + \fi + }% + }% + \def\@footnotemark{% + \leavevmode + \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi + \stepcounter{Hfootnote}% + \global\let\Hy@saved@currentHlabel\@currentHlabel + \global\let\Hy@saved@currentHref\@currentHref + \hyper@makecurrent{Hfootnote}% + \global\let\Hy@footnote@currentHlabel\@currentHlabel + \global\let\Hy@footnote@currentHref\@currentHref + \global\let\@currentHlabel\Hy@saved@currentHlabel + \global\let\@currentHref\Hy@saved@currentHref + \hyper@linkstart{link}{\Hy@footnote@currentHref}% + \@makefnmark + \hyper@linkend + \ifhmode\spacefactor\@x@sf\fi + \relax + }% + \@ifpackageloaded{longtable}{% + \CheckCommand*{\LT@p@ftntext}[1]{% + \edef\@tempa{% + \the\LT@p@ftn + \noexpand\footnotetext[\the\c@footnote]% + }% + \global\LT@p@ftn\expandafter{\@tempa{#1}}% + }% + \long\def\LT@p@ftntext#1{% + \edef\@tempa{% + \the\LT@p@ftn + \begingroup + \noexpand\c@footnote=\the\c@footnote\relax + \noexpand\protected@xdef + \noexpand\@thefnmark{\noexpand\thempfn}% + \noexpand\protected@xdef\noexpand\@thefnmark{% + \noexpand\thempfn + }% + \expandafter\expandafter\expandafter\noexpand + \expandafter\expandafter\expandafter\Hy@LT@footnotetext + \expandafter\expandafter\expandafter{% + \expandafter\Hy@footnote@currentHref\expandafter + }\expandafter{\Hy@footnote@currentHlabel}% + }% + \global\LT@p@ftn\expandafter{% + \@tempa{#1}% + \endgroup + }% + }% + \long\def\Hy@LT@footnotetext#1#2#3{% + \H@@footnotetext{% + \ifHy@nesting + \hyper@@anchor{#1}{#3}% + \else + \Hy@raisedlink{% + \hyper@@anchor{#1}{\relax}% + }% + \def\@currentHlabel{#2}% + \def\@currentHref{#1}% + \let\@currentlabelname\@empty + #3% + \fi + }% + }% + }{}% + \let\HyOrg@maketitle\maketitle + \def\maketitle{% + \let\Hy@saved@footnotemark\@footnotemark + \let\Hy@saved@footnotetext\@footnotetext + \let\@footnotemark\H@@footnotemark + \let\@footnotetext\H@@footnotetext + \@ifnextchar[\Hy@maketitle@optarg{% ] + \HyOrg@maketitle + \Hy@maketitle@end + }% + }% + \def\Hy@maketitle@optarg[#1]{% + \HyOrg@maketitle[{#1}]% + \Hy@maketitle@end + }% + \def\Hy@maketitle@end{% + \ifx\@footnotemark\H@@footnotemark + \let\@footnotemark\Hy@saved@footnotemark + \fi + \ifx\@footnotetext\H@@footnotetext + \let\@footnotetext\Hy@saved@footnotetext + \fi + }% + \def\realfootnote{% + \@ifnextchar[\@xfootnote{% + \stepcounter{\@mpfn}% + \protected@xdef\@thefnmark{\thempfn}% + \H@@footnotemark\H@@footnotetext + }% + }% +\fi +\Hy@DisableOption{hyperfootnotes} +\def\caption{% + \ifx\@captype\@undefined + \@latex@error{\noexpand\caption outside float}\@ehd + \expandafter\@gobble + \else + \H@refstepcounter\@captype + \@ifundefined{fst@\@captype}{% + \let\Hy@tempa\@caption + }{% + \let\Hy@tempa\Hy@float@caption + }% + \expandafter\@firstofone + \fi + {\@dblarg{\Hy@tempa\@captype}}% +} +\long\def\@caption#1[#2]#3{% + \hyper@makecurrent{\@captype}% + \par\addcontentsline{\csname ext@#1\endcsname}{#1}{% + \protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}% + }% + \begingroup + \@parboxrestore + \if@minipage + \@setminipage + \fi + \normalsize + \@makecaption{\csname fnum@#1\endcsname}{% + \ignorespaces + \ifHy@nesting + \hyper@@anchor{\@currentHref}{#3}% + \else + \Hy@raisedlink{\hyper@@anchor{\@currentHref}{\relax}}#3% + \fi + }% + \par + \endgroup +} +\let\Hy@float@caption\@caption +\@ifpackageloaded{float}{% + \def\Hy@float@caption{% + \hyper@makecurrent{\@captype}% + \float@caption + } + \let\HyOrg@float@makebox\float@makebox + \renewcommand{\float@makebox}[1]{% + \HyOrg@float@makebox{% + #1\relax + \hyper@@anchor{\@currentHref}{\relax}% + }% + }% +}{} +\def\hyper@natlinkstart#1{% + \Hy@backout{#1}% + \hyper@linkstart{cite}{cite.#1}% + \def\hyper@nat@current{#1}% +} +\def\hyper@natlinkend{% + \hyper@linkend +} +\def\hyper@natlinkbreak#1#2{% + \hyper@linkend#1\hyper@linkstart{cite}{cite.#2}% +} +\def\hyper@natanchorstart#1{% + \Hy@raisedlink{\hyper@anchorstart{cite.#1}}% +} +\def\hyper@natanchorend{\hyper@anchorend} +\@ifundefined{NAT@parse}{% + \def\bibcite#1#2{% + \@newl@bel{b}{#1\@extra@binfo}{\hyper@@link[cite]{}{cite.#1}{#2}}% + }% + \gdef\@extra@binfo{}% + \let\Hy@bibcite\bibcite + \begingroup + \@ifundefined{bbl@cite@choice}{}{% + \g@addto@macro\bbl@cite@choice{% + \let\bibcite\Hy@bibcite + }% + }% + \endgroup + \providecommand*{\@BIBLABEL}{\@biblabel}% + \def\@lbibitem[#1]#2{% + \@skiphyperreftrue + \H@item[% + \ifx\Hy@raisedlink\@empty + \hyper@anchorstart{cite.#2}\@BIBLABEL{#1}\hyper@anchorend + \else + \Hy@raisedlink{\hyper@anchorstart{cite.#2}\hyper@anchorend}% + \@BIBLABEL{#1}% + \fi + \hfill + ]% + \@skiphyperreffalse + \if@filesw + \begingroup + \let\protect\noexpand + \immediate\write\@auxout{% + \string\bibcite{#2}{#1}% + }% + \endgroup + \fi + \ignorespaces + }% + \def\@bibitem#1{% + \@skiphyperreftrue\H@item\@skiphyperreffalse + \Hy@raisedlink{\hyper@anchorstart{cite.#1}\relax\hyper@anchorend}% + \if@filesw + \begingroup + \let\protect\noexpand + \immediate\write\@auxout{% + \string\bibcite{#1}{\the\value{\@listctr}}% + }% + \endgroup + \fi + \ignorespaces + }% +}{} +\@ifclassloaded{revtex}{% + \Hy@Info{*** compatibility with revtex **** }% + \def\revtex@checking#1#2{% + \expandafter\let\expandafter\T@temp\csname b@#1\endcsname + \expandafter\def\csname b@#1\endcsname{#2}% + \@SetMaxRnhefLabel{#1}% + \expandafter\let\csname b@#1\endcsname\T@temp + }% + \@ifundefined{@CITE}{\def\@CITE{\@cite}}{}% + \providecommand*{\@extra@b@citeb}{}% + \def\@CITEX[#1]#2{% + \let\@citea\@empty + \leavevmode + \unskip + $^{% + \scriptstyle + \@CITE{% + \@for\@citeb:=#2\do{% + \@citea + \def\@citea{,\penalty\@m\ }% + \edef\@citeb{\expandafter\@firstofone\@citeb}% + \if@filesw + \immediate\write\@auxout{\string\citation{\@citeb}}% + \fi + \@ifundefined{b@\@citeb\extra@b@citeb}{% + \mbox{\reset@font\bfseries ?}% + \G@refundefinedtrue + \@latex@warning{% + Citation `\@citeb' on page \thepage \space undefined% + }% + }{% + {\csname b@\@citeb\@extra@b@citeb\endcsname}% + }% + }% + }{#1}% + }$% + }% + \def\@citex[#1]#2{% + \let\@citea\@empty + \@cite{% + \@for\@citeb:=#2\do{% + \@citea + \def\@citea{,\penalty\@m\ }% + \edef\@citeb{\expandafter\@firstofone\@citeb}% + \if@filesw + \immediate\write\@auxout{\string\citation{\@citeb}}% + \fi + \@ifundefined{b@\@citeb\@extra@b@citeb}{% + \mbox{\reset@font\bfseries ?}% + \G@refundefinedtrue + \@latex@warning{% + Citation `\@citeb' on page \thepage \space undefined% + }% + }{% + \hbox{\csname b@\@citeb\@extra@b@citeb\endcsname}% + }% + }% + }{#1}% + }% +}{} +\@ifpackageloaded{harvard}{% + \AtBeginDocument{% + \Hy@Info{*** compatibility with harvard **** }% + \Hy@raiselinksfalse + \def\harvardcite#1#2#3#4{% + \global\@namedef{HAR@fn@#1}{\hyper@@link[cite]{}{cite.#1}{#2}}% + \global\@namedef{HAR@an@#1}{\hyper@@link[cite]{}{cite.#1}{#3}}% + \global\@namedef{HAR@yr@#1}{\hyper@@link[cite]{}{cite.#1}{#4}}% + \global\@namedef{HAR@df@#1}{\csname HAR@fn@#1\endcsname}% + }% + \def\HAR@citetoaux#1{% + \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi% + \ifHy@backref + \ifx\@empty\@currentlabel + \else + \@bsphack + \protected@write\@auxout{}{% + \string\@writefile{brf}{% + \string\backcite{#1}{% + {\thepage}{\@currentlabel}{\@currentHref}% + }% + }% + }% + \@esphack + \fi + \fi + }% + \def\harvarditem{% + \@ifnextchar[{\@harvarditem}{\@harvarditem[\null]}% + }% + \def\@harvarditem[#1]#2#3#4#5\par{% + \item[]% + \hyper@anchorstart{cite.#4}\relax\hyper@anchorend + \if@filesw + \begingroup + \def\protect##1{\string ##1\space}% + \ifthenelse{\equal{#1}{\null}}% + {\def\next{{#4}{#2}{#2}{#3}}}% + {\def\next{{#4}{#2}{#1}{#3}}}% + \immediate\write\@auxout{\string\harvardcite\codeof\next}% + \endgroup + \fi + \protect\hspace*{-\labelwidth}% + \protect\hspace*{-\labelsep}% + \ignorespaces + #5% + \ifHy@backref + \newblock + \backref{\csname br@#4\endcsname}% + \fi + \par + }% + \long\def\HAR@checkcitations#1#2#3#4{% + \def\HAR@tempa{\hyper@@link[cite]{}{cite.#1}{#2}}% + \expandafter\ifx\csname HAR@fn@#1\endcsname\HAR@tempa + \def\HAR@tempa{\hyper@@link[cite]{}{cite.#1}{#3}}% + \expandafter\ifx\csname HAR@an@#1\endcsname\HAR@tempa + \def\HAR@tempa{\hyper@@link[cite]{}{cite.#1}{#4}}% + \expandafter\ifx\csname HAR@yr@#1\endcsname\HAR@tempa + \else + \@tempswatrue + \fi + \else + \@tempswatrue + \fi + \else + \@tempswatrue + \fi + }% + }% +}{} +\@ifpackageloaded{chicago}{% + \def\citeN{% + \def\@citeseppen{-1000}% + \def\@cite##1##2{##1}% + \def\citeauthoryear##1##2##3{##1 (##3\@cite@opt)}% + \@citedata@opt + }% + \def\shortciteN{% + \def\@citeseppen{-1000}% + \def\@cite##1##2{##1}% + \def\citeauthoryear##1##2##3{##2 (##3\@cite@opt)}% + \@citedata@opt + }% + \def\@citedata@opt{% + \let\@cite@opt\@empty + \@ifnextchar [{% + \@tempswatrue + \@citedatax@opt + }{% + \@tempswafalse + \@citedatax[]% + }% + }% + \def\@citedatax@opt[#1]{% + \def\@cite@opt{, #1}% + \@citedatax[{#1}]% + } +}{} +\def\@begindvi{% + \unvbox \@begindvibox + \Hy@begindvi + \global\let\@begindvi\Hy@begindvi +} +\def\Hy@begindvi{% + \ifHy@pageanchor + \@hyperfixhead + \fi + \HyPL@EveryPage +} +\def\pagenumbering#1{% + \global\c@page \@ne + \gdef\thepage{\csname @#1\endcsname\c@page}% +} +\let\HYPERPAGEANCHOR\hyperpageanchor +\providecommand\hyper@pagetransition{} +\providecommand\hyper@pageduration{} +\providecommand\hyper@pagehidden{} +\def\@hyperfixhead{% + \Hy@DistillerDestFix + \ifHy@hypertexnames + \ifHy@plainpages + \gdef\Hy@TempPageAnchor{\hyper@@anchor{page.\the\c@page}}% + \else + \begingroup + \let\@number\@firstofone + \let\textlatin\@firstofone + \xdef\@the@H@page{\thepage}% + \endgroup + \gdef\Hy@TempPageAnchor{\hyper@@anchor{page.\@the@H@page}}% + \fi + \else + \Hy@GlobalStepCount\Hy@pagecounter + \gdef\Hy@TempPageAnchor{\hyper@@anchor{page.\the\Hy@pagecounter}}% + \fi + \let\H@old@thehead\@thehead + \if^\@thehead^% + \def\H@old@thehead{\hfil}% + \fi + \ifHy@texht + \def\@thehead{}% + \else + \ifHy@seminarslides + \begingroup + \let\leavevmode\relax + \Hy@TempPageAnchor\relax + \hyper@pagetransition + \hyper@pageduration + \hyper@pagehidden + \endgroup + \else + \def\@thehead{% + \Hy@TempPageAnchor\relax + \hyper@pagetransition + \hyper@pageduration + \hyper@pagehidden + \H@old@thehead + }% + \fi + \fi + \ifx\PDF@FinishDoc\@empty + \else + \PDF@FinishDoc + \gdef\PDF@FinishDoc{}% + \fi +} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname chapter\endcsname\relax + \def\toclevel@part{0} +\else + \def\toclevel@part{-1} +\fi +\def\toclevel@chapter{0} +\def\toclevel@section{1} +\def\toclevel@subsection{2} +\def\toclevel@subsubsection{3} +\def\toclevel@paragraph{4} +\def\toclevel@subparagraph{5} +\def\toclevel@figure{0} +\def\toclevel@table{0} +\@ifpackageloaded{listings}{% + \def\theHlstlisting{\thelstlisting}% + \def\toclevel@lstlisting{0}% +}{} +\@ifpackageloaded{listing}{% + \def\theHlisting{\thelisting}% + \def\toclevel@listing{0}% +}{} +\def\addcontentsline#1#2#3{% toc extension, type, tag + \begingroup + \let\label\@gobble + \let\textlatin\@firstofone + \ifx\@currentHref\@empty + \Hy@Warning{% + No destination for bookmark of \string\addcontentsline,% + \MessageBreak destination is added% + }% + \phantomsection + \fi + \expandafter\ifx\csname toclevel@#2\endcsname\relax + \begingroup + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\Hy@bookmarkstype + \Hy@WarningNoLine{bookmark level for unknown #2 defaults to 0}% + \else + \Hy@Info{bookmark level for unknown #2 defaults to 0}% + \fi + \endgroup + \expandafter\gdef\csname toclevel@#2\endcsname{0}% + \fi + \edef\Hy@toclevel{\csname toclevel@#2\endcsname}% + \Hy@writebookmark{\csname the#2\endcsname}% + {#3}% + {\@currentHref}% + {\Hy@toclevel}% + {#1}% + \ifHy@verbose + \typeout{pdftex: bookmark at \the\inputlineno: + {\csname the#2\endcsname} + {#3} + {\@currentHref}% + {\Hy@toclevel}% + {#1}% + }% + \fi + \addtocontents{#1}{% + \protect\contentsline{#2}{#3}{\thepage}{\@currentHref}% + }% + \endgroup +} +\def\contentsline#1#2#3#4{% + \ifx\\#4\\% + \csname l@#1\endcsname{#2}{#3}% + \else + \ifHy@linktocpage + \csname l@#1\endcsname{{#2}}{% + \hyper@linkstart{link}{#4}{#3}\hyper@linkend + }% + \else + \csname l@#1\endcsname{% + \hyper@linkstart{link}{#4}{#2}\hyper@linkend + }{#3}% + \fi + \fi +} +\let\H@definecounter\@definecounter +\def\@definecounter#1{% + \H@definecounter{#1}% + \expandafter\def\csname theH#1\endcsname{\arabic{#1}}% +} +\let\H@newctr\@newctr +\def\@newctr#1[#2]{% + \H@newctr#1[{#2}]% + \expandafter\def\csname theH#1\endcsname{% + \csname the\@ifundefined{theH#2}{}{H}#2\endcsname.\arabic{#1}% + }% +} +\let\Hmake@df@tag@@\make@df@tag@@ +\def\make@df@tag@@#1{% + \Hmake@df@tag@@{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{AMS.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\let\Hmake@df@tag@@@\make@df@tag@@@ +\def\make@df@tag@@@#1{% + \Hmake@df@tag@@@{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{AMS.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\@ifpackagewith{hyperref}{pdftex}{% + \let\H@seteqlabel\@seteqlabel + \def\@seteqlabel#1{% + \H@seteqlabel{#1}% + \xdef\@currentHref{AMS.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% +}{} +\let\HyOrg@addtoreset\@addtoreset +\def\@addtoreset#1#2{% + \HyOrg@addtoreset{#1}{#2}% + \expandafter\xdef\csname theH#1\endcsname{% + \expandafter\noexpand + \csname the\@ifundefined{theH#2}{}H#2\endcsname + .\noexpand\the\noexpand\value{#1}% + }% +} +\@ifpackageloaded{amsmath}{% + \@ifpackagelater{amsmath}{1999/12/14}{% + \renewcommand*{\numberwithin}[3][\arabic]{% + \@ifundefined{c@#2}{\@nocounterr{#2}}{% + \@ifundefined{c@#3}{\@nocnterr{#3}}{% + \HyOrg@addtoreset{#2}{#3}% + \@xp\xdef\csname the#2\endcsname{% + \@xp\@nx\csname the#3\endcsname .\@nx#1{#2}% + }% + \@xp\xdef\csname theH#2\endcsname{% + \@xp\@nx + \csname the\@ifundefined{theH#3}{}H#3\endcsname + .\@nx#1{#2}% + }% + }% + }% + }% + }{% + \Hy@WarningNoLine{% + \string\numberwithin\space of package `amsmath' + only fixed\MessageBreak + for version 2000/06/06 v2.12 or newer% + }% + } +}{} +\ifHy@figures + \let\Hy@Gin@setfile\Gin@setfile + \def\Gin@setfile#1#2#3{% + \hyperimage{#3}{\Hy@Gin@setfile{#1}{#2}{#3}}% + } +\fi +\Hy@DisableOption{hyperfigures} +\ifHy@hyperindex + \def\HyInd@ParenLeft{(}% + \def\HyInd@ParenRight{)}% + \Hy@nextfalse + \@ifpackageloaded{multind}{\Hy@nexttrue}{}% + \@ifpackageloaded{index}{\Hy@nexttrue}{}% + \begingroup + \lccode`\|=\expandafter`\HyInd@EncapChar\relax + \lowercase{\endgroup + \ifHy@next + \let\HyInd@org@wrindex\@wrindex + \def\@wrindex#1#2{\HyInd@@wrindex{#1}#2||\\}% + \def\HyInd@@wrindex#1#2|#3|#4\\{% + \ifx\\#3\\% + \HyInd@org@wrindex{#1}{#2|hyperpage}% + \else + \def\Hy@temp@A{#3}% + \ifcase0\ifx\Hy@temp@A\HyInd@ParenLeft 1\fi + \ifx\Hy@temp@A\HyInd@ParenRight 1\fi + \relax + \HyInd@org@wrindex{#1}{#2|#3}% + \else + \HyInd@org@wrindex{#1}{#2|#3hyperpage}% + \fi + \fi + }% + \else + \def\@wrindex#1{\@@wrindex#1||\\} + \def\@@wrindex#1|#2|#3\\{% + \ifx\\#2\\% + \protected@write\@indexfile{}{% + \string\indexentry{#1|hyperpage}{\thepage}% + }% + \else + \def\Hy@temp@A{#2}% + \ifcase0\ifx\Hy@temp@A\HyInd@ParenLeft 1\fi + \ifx\Hy@temp@A\HyInd@ParenRight 1\fi + \relax + \protected@write\@indexfile{}{% + \string\indexentry{#1|#2}{\thepage}% + }% + \else + \protected@write\@indexfile{}{% + \string\indexentry{#1|#2hyperpage}{\thepage}% + }% + \fi + \fi + \endgroup + \@esphack + }% + \fi + }% +\fi +\Hy@DisableOption{hyperindex} +\Hy@DisableOption{encap} +\def\hyperpage#1{\@hyperpage#1----\\} +\def\@hyperpage#1--#2--#3\\{% + \ifx\\#2\\% + \@commahyperpage{#1}% + \else + \HyInd@pagelink{#1}--\HyInd@pagelink{#2}% + \fi +} +\def\@commahyperpage#1{\@@commahyperpage#1, ,\\} +\def\@@commahyperpage#1, #2,#3\\{% + \ifx\\#2\\% + \HyInd@pagelink{#1}% + \else + \HyInd@pagelink{#1}, \HyInd@pagelink{#2}% + \fi +} +\def\HyInd@pagelink#1{% + \begingroup + \toks@={}% + \HyInd@removespaces#1 \@nil + \endgroup +} +\def\HyInd@removespaces#1 #2\@nil{% + \toks@=\expandafter{\the\toks@#1}% + \ifx\\#2\\% + \edef\x{\the\toks@}% + \ifx\x\@empty + \else + \hyperlink{page.\the\toks@}{\the\toks@}% + \fi + \else + \Hy@ReturnAfterFi{% + \HyInd@removespaces#2\@nil + }% + \fi +} +\@ifclassloaded{foils}{% + \providecommand*\ext@table{lot}% + \providecommand*\ext@figure{lof}% +}{} +\@ifclassloaded{seminar}{% + \Hy@seminarslidestrue\newcommand\theHslide{\arabic{slide}}% +}{% + \Hy@seminarslidesfalse +} +\@ifpackageloaded{slidesec}{% + \newcommand\theHslidesection {\arabic{slidesection}}% + \newcommand\theHslidesubsection{% + \theHslidesection.\arabic{slidesubsection}% + }% + \def\slide@heading[#1]#2{% + \H@refstepcounter{slidesection}% + \@addtoreset{slidesubsection}{slidesection}% + \addtocontents{los}{% + \protect\l@slide{\the\c@slidesection}{\ignorespaces#1}% + {\@SCTR}{slideheading.\theslidesection}% + }% + \def\Hy@tempa{#2}% + \ifx\Hy@tempa\@empty + \else + {% + \edef\@currentlabel{% + \csname p@slidesection\endcsname\theslidesection + }% + \makeslideheading{#2}% + }% + \fi + \gdef\theslideheading{#1}% + \gdef\theslidesubheading{}% + \ifHy@bookmarksnumbered + \def\Hy@slidetitle{\theslidesection\space #1}% + \else + \def\Hy@slidetitle{#1}% + \fi + \ifHy@hypertexnames + \ifHy@naturalnames + \hyper@@anchor{slideheading.\theslidesection}{\relax}% + \Hy@writebookmark + {\theslidesection}% + {\Hy@slidetitle}% + {slideheading.\theslidesection}% + {1}% + {toc}% + \else + \hyper@@anchor{slideheading.\theHslidesection}{\relax}% + \Hy@writebookmark + {\theslidesection}% + {\Hy@slidetitle}% + {slideheading.\theHslidesection}% + {1}% + {toc}% + \fi + \else + \Hy@GlobalStepCount\Hy@linkcounter + \hyper@@anchor{slideheading.\the\Hy@linkcounter}{\relax}% + \Hy@writebookmark + {\theslidesection}% + {\Hy@slidetitle}% + {slideheading.\the\Hy@linkcounter}% + {1}% + {toc}% + \fi + }% + \def\slide@subheading[#1]#2{% + \H@refstepcounter{slidesubsection}% + \addtocontents{los}{% + \protect\l@subslide{\the\c@slidesubsection}{\ignorespaces#1}% + {\@SCTR}{slideheading.\theslidesubsection}% + }% + \def\Hy@tempa{#2}% + \ifx\Hy@tempa\@empty + \else + {% + \edef\@currentlabel{% + \csname p@slidesubsection\endcsname\theslidesubsection + }% + \makeslidesubheading{#2}% + }% + \fi + \gdef\theslidesubheading{#1}% + \ifHy@bookmarksnumbered + \def\Hy@slidetitle{\theslidesubsection\space #1}% + \else + \def\Hy@slidetitle{#1}% + \fi + \ifHy@hypertexnames + \ifHy@naturalnames + \hyper@@anchor{slideheading.\theslidesubsection}{\relax}% + \Hy@writebookmark + {\theslidesubsection}% + {\Hy@slidetitle}% + {slideheading.\theslidesubsection}% + {2}% + {toc}% + \else + \hyper@@anchor{slideheading.\theHslidesubsection}{\relax}% + \Hy@writebookmark + {\theslidesubsection}% + {\Hy@slidetitle}% + {slideheading.\theHslidesubsection}% + {2}% + {toc}% + \fi + \else + \Hy@GlobalStepCount\Hy@linkcounter + \hyper@@anchor{slideheading.\the\Hy@linkcounter}{\relax}% + \Hy@writebookmark + {\theslidesubsection}% + {\Hy@slidetitle}% + {slideheading.\the\Hy@linkcounter}% + {1}% + {toc}% + \fi + }% + \providecommand*{\listslidename}{List of Slides}% + \def\listofslides{% + \section*{% + \listslidename + \@mkboth{% + \expandafter\MakeUppercase\listslidename + }{% + \expandafter\MakeUppercase\listslidename + }% + }% + \def\l@slide##1##2##3##4{% + \slide@undottedcline{% + \slidenumberline{##3}{\hyperlink{##4}{##2}}% + }{}% + }% + \let\l@subslide\l@slide + \@startlos + }% + \def\slide@contents{% + \def\l@slide##1##2##3##4{% + \slide@cline{\slidenumberline{##3}{\hyperlink{##4}{##2}}}{##3}% + }% + \let\l@subslide\@gobblefour + \@startlos + }% + \def\Slide@contents{% + \def\l@slide##1##2##3##4{% + \ifcase\lslide@flag + \message{##1 ** \the\c@slidesection}% + \ifnum##1>\c@slidesection + \def\lslide@flag{1}% + {% + \large + \slide@cline{% + \slidenumberline{$\Rightarrow\bullet$}% + {\hyperlink{##4}{##2}}% + }{##3}% + }% + \else + {% + \large + \slide@cline{% + \slidenumberline{$\surd\;\bullet$}% + {\hyperlink{##4}{##2}}% + }{##3}% + }% + \fi + \or + \def\lslide@flag{2}% + {% + \large + \slide@cline{% + \slidenumberline{$\bullet$}% + {\hyperlink{##4}{##2}}% + }{##3}% + }% + \or + {% + \large + \slide@cline{% + \slidenumberline{$\bullet$}% + {\hyperlink{##4}{##2}}% + }{##3}% + }% + \fi + }% + \def\l@subslide##1##2##3##4{% + \ifnum\lslide@flag=1 + \@undottedtocline{2}{3.8em}{3.2em}{\hyperlink{##4}{##2}}{}% + \fi + }% + \def\lslide@flag{0}% + \@startlos + }% +}{} +\ifHy@texht + \expandafter\endinput +\fi +\let\real@setref\@setref +\def\@setref#1#2#3{% csname, extract group, refname + \ifx#1\relax + \protect\G@refundefinedtrue + \nfss@text{\reset@font\bfseries ??}% + \@latex@warning{% + Reference `#3' on page \thepage \space undefined% + }% + \else + \expandafter\Hy@setref@link#1\@empty\@empty\@nil{#2}% + \fi +} +\def\Hy@setref@link#1#2#3#4#5#6\@nil#7{% + \begingroup + \toks0={\hyper@@link{#5}{#4}}% + \toks1=\expandafter{#7{#1}{#2}{#3}{#4}{#5}}% + \edef\x{\endgroup + \the\toks0 {\the\toks1 }% + }% + \x +} +\def\@pagesetref#1#2#3{% csname, extract macro, ref + \ifx#1\relax + \protect\G@refundefinedtrue + \nfss@text{\reset@font\bfseries ??}% + \@latex@warning{% + Reference `#3' on page \thepage \space undefined% + }% + \else + \protect\hyper@@link + {\expandafter\@fifthoffive#1}% + {page.\expandafter\@secondoffive#1}% + {\expandafter\@secondoffive#1}% + \fi +} +\def\@refstar#1{% + \@safe@activestrue + \expandafter\real@setref\csname r@#1\endcsname\@firstoffive{#1}% + \@safe@activesfalse +} +\def\@pagerefstar#1{% + \@safe@activestrue + \expandafter\real@setref\csname r@#1\endcsname\@secondoffive{#1}% + \@safe@activesfalse +} +\DeclareRobustCommand\autoref[1]{% + \@safe@activestrue + \expandafter\auto@setref\csname r@#1\endcsname\@firstoffive{#1}% + \@safe@activesfalse +} +\def\auto@setref#1#2#3{% csname, extract group, refname + \ifx#1\relax + \protect\G@refundefinedtrue + \nfss@text{\reset@font\bfseries ??}% + \@latex@warning{% + Reference `#3' on page \thepage \space undefined% + }% + \else + \edef\@thisref{\expandafter\@fourthoffive#1\@empty\@empty}% + \expandafter\test@reftype\@thisref\\% + \hyper@@link + {\expandafter\@fifthoffive#1}% + {\expandafter\@fourthoffive#1\@empty\@empty}% + {\@currentHtag\expandafter#2#1\@empty\@empty\null}% + \fi +} +\def\test@reftype#1.#2\\{% + \@ifundefined{#1autorefname}{% + \@ifundefined{#1name}{% + \def\@currentHtag{}% + \@latex@warning{no tag name for #1 at \the\inputlineno}% + }{% + \def\@currentHtag{\csname#1name\endcsname~}% + }% + }{% + \def\@currentHtag{\csname#1autorefname\endcsname~}% + }% +} +\def\@currentHtag{} +\providecommand\AMSautorefname{\equationautorefname} +\providecommand\Hfootnoteautorefname{\footnoteautorefname} +\providecommand\Itemautorefname{\itemautorefname} +\providecommand\itemautorefname{item} +\providecommand\equationautorefname{Equation} +\providecommand\footnoteautorefname{footnote} +\providecommand\itemautorefname{item} +\providecommand\figureautorefname{Figure} +\providecommand\tableautorefname{Table} +\providecommand\partautorefname{Part} +\providecommand\appendixautorefname{Appendix} +\providecommand\chapterautorefname{chapter} +\providecommand\sectionautorefname{section} +\providecommand\subsectionautorefname{subsection} +\providecommand\subsubsectionautorefname{subsubsection} +\providecommand\paragraphautorefname{paragraph} +\providecommand\subparagraphautorefname{subparagraph} +\providecommand\FancyVerbLineautorefname{line} +\providecommand\theoremautorefname{Theorem} +\providecommand*{\Hy@DistillerDestFix}{} +\def\phantomsection{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\endinput +%% +%% End of file `hyperref.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def new file mode 100644 index 00000000000..ed3d90bf7cd --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -0,0 +1,222 @@ +%% +%% This is file `hypertex.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `hypertex') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{hypertex.def} + [2003/11/30 v6.74m + Hyperref driver for HyperTeX specials] +\def\PDF@FinishDoc{} +\def\PDF@SetupDoc{% + \ifx\@baseurl\@empty + \else + \special{html:<base href="\@baseurl">}% + \fi +} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \let\protect=\string + \hyper@chars + \special{html:<a name=\hyper@quote #1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue + \Hy@colorlink{\@anchorcolor}\anchor@spot\Hy@endcolorlink + \special{html:</a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \begingroup + \hyper@chars + \special{html:<a name=\hyper@quote#1\hyper@quote>}% + \endgroup + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \special{html:</a>}% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\@urltype{url} +\def\hyper@linkstart#1#2{% + \Hy@colorlink{\csname @#1color\endcsname}% + \def\Hy@tempa{#1}% + \ifx\Hy@tempa\@urltype + \special{html:<a href=\hyper@quote#2\hyper@quote>}% + \else + \begingroup + \hyper@chars + \special{html:<a href=\hyper@quote\##2\hyper@quote>}% + \endgroup + \fi +} +\def\hyper@linkend{% + \special{html:</a>}% + \Hy@endcolorlink +} +\def\hyper@linkfile#1#2#3{% + \hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}% +} +\def\hyper@linkurl#1#2{% + \leavevmode + \ifHy@raiselinks + \setbox\@tempboxa=\color@hbox #1\color@endbox + \@linkdim\dp\@tempboxa + \lower\@linkdim\hbox{% + \hyper@chars + \special{html:<a href=\hyper@quote#2\hyper@quote>}% + }% + \Hy@colorlink{\@urlcolor}#1% + \@linkdim\ht\@tempboxa + \advance\@linkdim by -6.5\p@ + \raise\@linkdim\hbox{\special{html:</a>}}% + \Hy@endcolorlink + \else + \begingroup + \hyper@chars + \special{html:<a href=\hyper@quote#2\hyper@quote>}% + \Hy@colorlink{\@urlcolor}#1% + \special{html:</a>}% + \Hy@endcolorlink + \endgroup + \fi +} +\def\hyper@link#1#2#3{% + \hyper@linkurl{#3}{\##2}% +} +\def\hyper@image#1#2{% + \begingroup + \hyper@chars + \special{html:<img src=\hyper@quote#1\hyper@quote>}% + \endgroup +} +\def\@Form[#1]{\typeout{Sorry, HyperTeX does not support FORMs}} +\def\@endForm{} +\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum + \typeout{Sorry, HyperTeX does not support FORM gauges}% +} +\def\@TextField[#1]#2{% parameters, label + \typeout{Sorry, HyperTeX does not support FORM text fields}% +} +\def\@CheckBox[#1]#2{% parameters, label + \typeout{Sorry, HyperTeX does not support FORM checkboxes}% +} +\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices + \typeout{Sorry, HyperTeX does not support FORM choice menus}% +} +\def\@PushButton[#1]#2{% parameters, label + \typeout{Sorry, HyperTeX does not support FORM pushbuttons}% +} +\def\@Reset[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} +\def\@Submit[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} +\let\H@old@ssect\@ssect +\def\@ssect#1#2#3#4#5{% + \H@old@ssect{#1}{#2}{#3}{#4}{#5}% + \phantomsection +} +\let\H@old@schapter\@schapter +\def\@schapter#1{% + \H@old@schapter{#1}% + \begingroup + \let\@mkboth\@gobbletwo + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \endgroup +} +\@ifundefined{@chapter}{}{% + \let\Hy@org@chapter\@chapter + \def\@chapter{% + \def\Hy@next{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + \ifnum\c@secnumdepth>\m@ne + \@ifundefined{if@mainmatter}% + \iftrue{\csname if@mainmatter\endcsname} + \let\Hy@next\relax + \fi + \fi + \Hy@next + \Hy@org@chapter + }% +} +\let\H@old@spart\@spart +\def\@spart#1{% + \H@old@spart{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{part*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\let\H@old@sect\@sect +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \fi + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + \ifnum #2>\c@secnumdepth + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \fi +} +\def\Hy@tempa{% + \def\@addchap[##1]##2{% + \typeout{##2}% + \if@twoside + \@mkboth{##1}{}% + \else + \@mkboth{}{##1}% + \fi + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \if@twocolumn + \@topnewpage[\@makeschapterhead{##2}]% + \else + \@makeschapterhead{##2}% + \@afterheading + \fi + \addcontentsline{toc}{chapter}{##1}% + }% +} +\@ifclassloaded{scrbook}{% + \@ifclasslater{scrbook}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% +}{% + \@ifclassloaded{scrreprt}{% + \@ifclasslater{scrreprt}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% + }{% + \let\Hy@tempa\@empty + }% +}% +\Hy@tempa +\endinput +%% +%% End of file `hypertex.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty new file mode 100644 index 00000000000..2106de9dba3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty @@ -0,0 +1,2304 @@ +\def\fileversion{v28href} +\def\filedate{1999/05/17} +% minitoc-hyper.sty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Jean-Pierre Drucbert +% ONERA/CERT/GPI +% Office National d'\'Etudes et de Recherches A\'erospatiales +% Centre d'\'Etudes et de Recherches de Toulouse +% Groupe de Prestations Informatiques +% Complexe Scientifique de Rangueil +% 2, Avenue \'Edouard Belin +% BP 4025 +% F-31055 TOULOUSE CEDEX +% FRANCE +% +% Phone +33-62-25-25-15 +% +% Email: drucbert@onecert.fr +% +% Please send me any (constructive) suggestions and comments. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Temporarily patched by Bernd Jaehne [Bernd.Jaehne@aeon.de] +% and Didier Verna [verna@inf.enst.fr] to +% work with hyperref.sty from s.rahtz@elsevier.co.uk +% using input from Tony Roberts [aroberts@usq.edu.au] +% For changes see comments %%BJ and %DV +% +% However: this patch works only when hyperref.sty is used, +% otherwise errors occur. Thus it may be advisable to add code +% so that minitoc runs both in standard and hyperref mode. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% History (contains some obsolete things... it is NOT +% the REAL documentation) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% minitoc.sty --- redefines the \chapter command to display a +% mini-table-of-contents at the beginning of every chapter. +% Oct-90 Original version, by Nigel Ward. +% Nov-91 Revised to reuse \chapter, \section, \subsection commands +% transparently, generate toc-file-name automatically, +% assorted other cleanup. Dan Jurafsky +% Jun/Jul-93 New design, to avoid allocating a newwrite +% for each chapter (!) +% Added \chapterend to terminate the scope of a minitoc. +% (IF YOU FORGOT PUTTING \chapterend at the end +% of EACH chapter, an entry for the next chapter +% will appear in each minitoc.) (Thanks to Yufan Hu). +% Replaced ``minipage'' environnement by a ``verse'' +% environnement, to allow a minitoc split across pages. +% All the layout of the minitoc is in the +% \minitableofcontents command, so if someboby wants +% to redefine that layout, he has just to +% rewrite it (and only it). +% +% You can inhibit the minitoc for the next chapter +% by preceding it with \minitocno. (\minitocyes +% is useless for the user: it is implicit AFTER +% the \chapter* pseudo-chapters). +% +% Problems: you MUST have \chapterend to terminate each +% chapter with a minitoc. +% How about avoiding this constraint? +% +% The depth of the minitoc is user-adjustable with +% the counter `minitocdepth' (as `tocdepth' for the table +% of contents). +% At least three passes (3!!!) of LaTeX are necessary to get +% correct minitoc's (the first pass creates the .mtcX files, +% the second uses them (but they may contain wrong page +% numbers) and recreates them, the third should be ok). +% +% Works with \chapter[xxx]{yyy} and floating bodies. +% Works with two columns (but the minitoc is in composed in +% one column; how to make it to spread over the two column?) +% Some mods added to work with xr.sty (external references). +% xr.sty version 5 is much more tolerant. +% 05Jul93 Version 2 +% Added compatibility with hangcaption.sty (the option +% hangcaption (if present) must be given BEFORE minitoc +% option.) +% BEWARE to options modifying \@caption +% Version 3 not released (buggy) +% 09Jul93 Version 4 +% Added \if@realch to avoid contentslines from +% pseudo-chapters to go into the toc! +% The option file mtcoff.sty allows to use a latex +% document with minitoc commands and to make them +% transparent: just replace the minitoc option by +% mtcoff. +% 13Jul93 Version 5 +% Added a selection mechanism to not write spurious things +% in the minitoc's. +% 15Jul93 Version 6 +% Fixed problems about chapters in the toc, +% removed obsolete \caption stuff (filters are better) +% added compatibility with toch.sty +% (toch.sty makes a table of chapters. If used, +% must be loaded BEFORE minitoc.sty) +% 22Jul93 Version 7 (MAJOR DIFFERENCES) +% Completely rewritten, using tricks from xr.sty +% (the version 5, by David Carlisle). The info +% for minitocs is directly stolen from the .toc +% file. +% \chapterend and \minitocno are suppressed +% \minitoc, \dominitoc and \faketableofcontents added +% 29Jul93 Version 8 +% Spacing adjustements. +% 04Aug93 Version 9 +% Added mods for MS-DOS (search MS-DOS, uncomment; +% search UNIX, comment out). MS-DOS allows only +% 3 characters for extensions in file names (what a pity!). +% 05Aug93 Version 10 +% Works with appendices. +% Detects obsolete versions of latex.tex. +% (\@inputcheck or \reset@font not defined). +% 18Aug93 Version 11 +% Added \mtcSfont, font for section entries, +% \mtcSSfont for subsection entries, +% \mtcSSSfont for subsubsection entries, +% \mtcPfont for paragraph entries, +% \mtcSPfont for subparagraph entries. +% +% 16Dec93 Version 12 +% Use \kern's in place of \vspace*'s, +% and added penalties (\nopagebreak) to +% avoid a page break just before last \mtc@rule. +% Also added a \samepage environnement. +% Removed old commented out lines from +% previous versions. +% +% 17Dec93 Version 13 +% Added minilof and minilot stuff. +% For MS-DOS, uncomment the definition of \SHORTEXT. +% +% 03Jan94 Version 14 +% Corrected space under minitoc/lof/lot and added a +% \raggedright to avoid ``underfull'' warnings. +% Corrected some spacing problems (avoiding ~'s). +% \mtifont changed from \normalsize\bf to +% \large\bf. +% Some mods suggested by Donald Arseneau (thanks): +% \@newread becomes \newread, not outer +% version of \newread. +% \empty replaced by \relax in the spare definition +% of \reset@font. +% Removed \clubpenalty=10000 and \widowpenalty=10000 +% (done by \samepage), and \noindent. +% Simplified processing of optional argument in +% \minitoc, \minilof and \minilot. +% +% 27Jan94 Version 15 +% Added parttoc, partlof and partlot for books, +% with commands and parameters parallel to +% those for mini-things. +% +% Added secttoc, sectlof and sectlot for articles, +% with commands and parameters parallel to +% those for mini-things. +% +% 02Feb94 Version 16 +% Bug fixes (typos). +% +% 23Jun94 Version 17 +% Keyword 'n' (null) synonym of 'e' (empty). +% Compatibility with LaTeX ``2e''. +% Thanks to Denis Roegel (who found +% the problem) and Frank Mittelbach +% (who gave the hints to solve). +% +% 26Jun94 Version 18 +% Make minitoc really compatible with latex2e +% Introduce the language files as options +% Thanks to Michel Goossens (via Frank Mittelbach) +% who was inspired by the code of babel (Johannes Braams). +% +% 16Aug94 Version 19 +% Added stuff for numbering of chapters (parts, +% sections) not starting at 1. +% \firstchapteris etc. commands added. +% \mtcrule, \nomtcrule etc. commands added. +% Corrected a bug in \c@mti. +% Corrected mtcswedish.sty (Jan Michel Rynning) +% Corrected appendix in articles +% +% 25Aug94 Version 20 +% Corrected spacing before and after minitocs +% and siblings. +% Added \mtcpagenumbers and \nomtcpagenumbers +% (and siblings) to make minitocs with/without +% page numbers. Default: page numbers. +% Corrected (difficult bug) appendix in articles. +% Corrected vertical spacing. +% Corrected a problem with chapters numbered +% with (uppercase) roman numbers. +% +% 07Sep94 Version 21 +% Corrected typos in minitoc.sty and minitoc.tex. +% +% 10Oct94 Version 22 +% Corrected typos in minitoc.sty. +% +% 08Nov94 Version 23 +% Added a missing line in \sectlof@. +% Works with document classes resetting +% chapter (or section) number at each part. +% (Thanks to Denis Roegel) +% Removed stuff for \firstchapteris and co. +% These commands are obsolete. +% Removed appendix stuff. +% +% 21Dec94 Version 24 +% The \protect commands have been removed from +% the .toc, .lot and .lot files, so some internal +% macros have been corrected to be compatible +% with the LaTeX2e release of December 1994. +% Thanks to Denis Roegel who did the work. +% +% 13Sep96 Version 25 +% Updated mtcnorsk.sty and added mtcnynorsk.sty +% on a suggestion from Dag Langmyhr (dag@ifi.uio.no). +% +% 14Nov96 Version 26 +% Language specific commands are now names <language>.mld +% (in place of mtc<language>.sty) because there are not +% packages and it makes shorter names. +% Added breton, estonian, germanb, greek, irish, +% russianb, scottish, lower and upper sorbian; +% renamed esperanto into esperant like in Babel. +% +% 20Dec96 Version 27 +% Corrections for starred sectionning commands. +% english.mld loaded as default language. +% Added vietnam.mld. +% Added arab.mld. +% Renamed minitocoff.sty into mtcoff.sty to +% keep the name short. +% +% +% Jean-Pierre Drucbert +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e}[1994/12/01]% +%%% This file will not work with latex2.09 +\ProvidesPackage{minitoc}[\filedate\space\fileversion\space + The minitoc package] +\typeout{*** minitoc package, version 27p ***}% +\@ifundefined{part}% +{}% +{\typeout{*** part level macros available ***} +\let\mtc@svpart\part %23 +\def\part{\stepcounter{ptc}\mtc@svpart}} %23 +\@ifundefined{chapter}% +{% +\@ifundefined{section}% +{\typeout{*** no section or chapter level macros available ***}% +\typeout{*** PLEASE VERIFY YOUR MAIN DOCUMENT CLASS ***}}% +{\typeout{*** section level macros available ***} +\let\mtc@svsection\section %23 +\def\section{\stepcounter{stc}\mtc@svsection} %23 +\let\mtc@svss\@ssect %23 +%v25 \def\@ssect{\addtocounter{stc}{-1}\mtc@svss} %23 +}% +}% +{\typeout{*** chapter level macros available ***} +\let\mtc@svchapter\@chapter %23 +\def\@chapter{\stepcounter{mtc}\mtc@svchapter} %23 +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% ***** **** *** ***** +% * * * * * +% *** * * * * +% * * * * * +% ***** **** *** * +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\def\SHORTEXT{SHORTEXT} %%% UNCOMMENT FOR DOS AND + %%% SYSTEMS WITH SHORT EXTENSIONS + %%% TO FILE NAMES + %%% LEAVE IT COMMENTED OUT + %%% FOR UNIX AND O.S. WITH + %%% LONG EXTENSIONS + %%% YOU CAN VERIFY BY LATEXING + %%% AN EXAMPLE DOCUMENT + %%% ONE OF THE FOLLOWING MESSAGES APPEARS + %%% PLEASE CORRECT IF THE MESSAGE IS WRONG +% v27 : claim the type of system! +\@ifundefined{SHORTEXT}% +{\typeout{==> this version is configured for UNIX-like (long extensions) file names.}}% +{\typeout{==> this version is configured for MSDOS-like (8+3) file names.}} +% +%not outer version of \newread +\def\newread{\alloc@6\read\chardef\sixt@@n} +\@ifundefined{@inputcheck}% + {\typeout{Your version of latex.tex is obsolete.}% + \typeout{Trying to continue...}\newread\@inputcheck\relax}{} +\@ifundefined{reset@font}% + {\typeout{Your version of latex.tex is very obsolete.}% + \typeout{Trying to continue...}\let\reset@font\relax}{} +\newwrite\tf@mtc % a file descriptor to write minitocs +\newtoks\mtc@toks +\def\mtc@string{\relax} +\newbox\mtc@strutbox +\setbox\mtc@strutbox=\hbox{\vrule height2.5ex + depth1.8ex width\z@} +\def\mtc@strut{\relax\ifmmode\copy\mtc@strutbox\else\unhcopy\mtc@strutbox\fi} +\def\mtc@v{\leavevmode% + \mtc@strut\vphantom{Lp$^{l^l}_{p_p}$}} % a pseudo-strut ? +% \@BBR discourages page breaks +\def\@BBR{\unpenalty\nopagebreak[4]} +% Modified version to ignore the dots and the page number. % 17b +\def\@undottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else % 17b + \vskip \z@ plus.2\p@ % 17b + {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip % 17b + \parindent #2\relax\@afterindenttrue % 17b + \interlinepenalty\@M % 17b + \leavevmode % 17b + \@tempdima #3\relax \advance\leftskip \@tempdima \hbox{}% % 17b + \hskip -\leftskip % 17b + #4\nobreak\hfill \nobreak % 17b + \null\par}\fi} % 17b +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%17b +\def\mtcpagenumbers{\let\mtc@pgno\null} %17b +\mtcpagenumbers %default %17b +\def\nomtcpagenumbers{\let\mtc@pgno\relax} %17b +\def\stcpagenumbers{\let\stc@pgno\null} %17b +\stcpagenumbers %default %17b +\def\nostcpagenumbers{\let\stc@pgno\relax} %17b +\def\ptcpagenumbers{\let\ptc@pgno\null} %17b +\ptcpagenumbers %default %17b +\def\noptcpagenumbers{\let\ptc@pgno\relax} %17b +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%17b +\def\mlfpagenumbers{\let\mlf@pgno\null} %17b +\mlfpagenumbers %default %17b +\def\nomlfpagenumbers{\let\mlf@pgno\relax} %17b +\def\slfpagenumbers{\let\slf@pgno\null} %17b +\slfpagenumbers %default %17b +\def\noslfpagenumbers{\let\slf@pgno\relax} %17b +\def\plfpagenumbers{\let\plf@pgno\null} %17b +\plfpagenumbers %default %17b +\def\noplfpagenumbers{\let\plf@pgno\relax} %17b +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%17b +\def\mltpagenumbers{\let\mlt@pgno\null} %17b +\mltpagenumbers %default %17b +\def\nomltpagenumbers{\let\mlt@pgno\relax} %17b +\def\sltpagenumbers{\let\slt@pgno\null} %17b +\sltpagenumbers %default %17b +\def\nosltpagenumbers{\let\slt@pgno\relax} %17b +\def\pltpagenumbers{\let\plt@pgno\null} %17b +\pltpagenumbers %default %17b +\def\nopltpagenumbers{\let\plt@pgno\relax} %17b +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%17b +% if you don't want a table of contents, but want minitocs, +% you need to create the .toc file, without inputing it +% into your document. This command is a stripped off version +% of \tableofcontents +\def\faketableofcontents{\fake@starttoc{toc}} +% idem for list of figures +\def\fakelistoffigures{\fake@starttoc{lof}} +% idem for list of tables +\def\fakelistoftables{\fake@starttoc{lot}} +\def\fake@starttoc#1{\begingroup + \makeatletter + \if@filesw \expandafter\newwrite\csname tf@#1\endcsname + \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax + \fi \global\@nobreakfalse \endgroup} +%% +\global\let\mtc@markboth\markboth +\global\let\@mkboth\markboth +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\@ifundefined{chapter}{}{% +\def\The@chapter{\arabic{mtc}} %23 +\def\firstchapteris#1% + {\typeout{^^JWARNING*** \string\firstchapteris}% + \typeout{ is an obsolete command^^J}} +\newcounter{mtc} % counter of minitocs +\setcounter{mtc}{0} +\gdef\themtc{\arabic{mtc}} +\newcounter{minitocdepth} % analog to tocdepth, but for minitocs +\setcounter{minitocdepth}{2} % default value +\def\mtc@rule{\kern-3\p@% + \hrule width \columnwidth \kern2.6\p@} % the \hrule is .4pt high + +\newlength\mtcindent % indentation (left/right) of minitocs +\mtcindent=24pt % defaut value +\def\mtcfont{\small\rm} % font for the minitoc +\def\mtcSfont{\small\bf} % font for the minitoc (sections) +\def\mtcSSfont{\mtcfont} % font for the minitoc (subsections) +\def\mtcSSSfont{\mtcfont} % font for the minitoc (subsubsections) +\def\mtcPfont{\mtcfont} % font for the minitoc (paragraphs) +\def\mtcSPfont{\mtcfont} % font for the minitoc (subparagraphs) +\def\mlffont{\mtcfont} % font for the minilof (figures) +\def\mltfont{\mtcfont} % font for the minilot (tables) +\def\mtifont{\large\bf} % font for titles + +% Centering, flushleft, flushright or empty titles. +\def\c@mti#1{\null\hfill #1\hfill\null} +\def\l@mti#1{\null #1\hfill\null} +\def\r@mti#1{\null\hfill #1\null} +\def\e@mti#1{\relax} +\def\n@mti#1{\relax} + +% Default: titles on left +\let\do@mtitc\l@mti +\let\df@mtitc\l@mti +\let\do@mtilf\l@mti +\let\df@mtilf\l@mti +\let\do@mtilt\l@mti +\let\df@mtilt\l@mti + +%v27 Language dependent names: default values. Now +%v27 english.mld is loaded first. +%v27 \@ifundefined{mtctitle}{\def\mtctitle{Contents}}{\relax} +%v27 \@ifundefined{mlftitle}{\def\mlftitle{Figures}}{\relax} +%v27 \@ifundefined{mlttitle}{\def\mlttitle{Tables}}{\relax} + +\def\mtc@verse{\let\\=\@centercr + \list{}{\itemsep\z@\itemindent \z@\listparindent \itemindent + \leftmargin\mtcindent + \rightmargin\leftmargin}\item[]} +\def\endmtc@verse{\nopagebreak[4]\endlist} + +% this command must be used after \chapter +% if you need a minitoc (no automatic minitoc) +\def\minitoc{\@ifnextchar[{\minitoc@}{\minitoc@[d]}} + +\def\minitoc@[#1]{% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@mtitc\e@mti + \else\if #1n\let\do@mtitc\n@mti + \else\if #1c\let\do@mtitc\c@mti + \else\if #1l\let\do@mtitc\l@mti + \else\if #1r\let\do@mtitc\r@mti + \else\if #1d\let\do@mtitc\df@mtitc + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\mtcfont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent %% + \ifx\mtc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\mtifont\do@mtitc{\mtc@v\mtctitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\mtifont\do@mtitc{\mtc@v\mtctitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\mtcindent + \rightmargin\mtcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + \begin{mtc@verse}\c@tocdepth=\c@minitocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{mtc@pgno}% + {\let\@dottedtocline\@undottedtocline}{} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{mtc\The@chapter}}% % UNIX +{\def\@tocfile{M\The@chapter}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{mtc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\mtc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\pagebreak[1]\vspace*{-1ex}}% + % some space under the minitoc + +% Added in version #13 +% this command must be used after \chapter +% if you need a minilof (no automatic minilof) +\def\minilof{\@ifnextchar[{\minilof@}{\minilof@[d]}} + +\def\minilof@[#1]{% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@mtilf\e@mti + \else\if #1n\let\do@mtilf\n@mti + \else\if #1c\let\do@mtilf\c@mti + \else\if #1l\let\do@mtilf\l@mti + \else\if #1r\let\do@mtilf\r@mti + \else\if #1d\let\do@mtilf\df@mtilf + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\mlffont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\mtc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\mtifont\do@mtilf{\mtc@v\mlftitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\mtifont\do@mtilf{\mtc@v\mlftitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\mtcindent + \rightmargin\mtcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + % depth does not matter for minilof + \begin{mtc@verse}%\c@tocdepth=\c@minitocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{mlf@pgno}% + {\let@dottedtocline\@undottedtocline}{} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{mlf\The@chapter}}% % UNIX +{\def\@tocfile{F\The@chapter}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{mtc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\mtc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\pagebreak[1]\vspace*{-1ex}}% + % some space under the minilof + +% Added in version #13 +% this command must be used after \chapter +% if you need a minilot (no automatic minilot) +\def\minilot{\@ifnextchar[{\minilot@}{\minilot@[d]}} + +\def\minilot@[#1]{% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@mtilt\e@mti + \else\if #1n\let\do@mtilt\n@mti + \else\if #1c\let\do@mtilt\c@mti + \else\if #1l\let\do@mtilt\l@mti + \else\if #1r\let\do@mtilt\r@mti + \else\if #1d\let\do@mtilt\df@mtilt + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\mltfont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\mtc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\mtifont\do@mtilt{\mtc@v\mlttitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\mtifont\do@mtilt{\mtc@v\mlttitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\mtcindent + \rightmargin\mtcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + % depth does not matter for minilot + \begin{mtc@verse}%\c@tocdepth=\c@minitocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{mlt@pgno}% + {\let\@dottedtocline\@undottedtocline}{} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{mlt\The@chapter}}% % UNIX +{\def\@tocfile{T\The@chapter}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{mtc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\mtc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\pagebreak[1]\vspace*{-1ex}}% + % some space under the minilot + +% I use a depth of 10000 to inhibit the printing of +% that contentsline. +\def\l@xchapter{\@dottedtocline{\@M}{1em}{2.3em}} +\def\xchapter{xchapter} + +\let\sv@chapter\@chapter +\def\@chapter[#1]#2{\sv@chapter[{#1}]{#2}\relax% +\addcontentsline{lof}{xchapter}{#1}% +\addcontentsline{lot}{xchapter}{#1}% +} + +% tricky code to deal with \chapter* +\let\mtc@schapter\@schapter +\def\@schapter{% +\addtocontents{toc}{\protect\chapterend}\mtc@schapter% +} +\def\@schapter{% +\addtocontents{toc}{\protect\chapterbegin}\mtc@schapter% +} +\let\chapterend\relax +\let\chapterbegin\relax + +\let\appendixmtc\relax + +% this command extracts info from the .toc file +% and create the .mtcN files (.mtc -> .M on MS-DOS) +\def\@dominitoc#1{{% + \makeatletter + \setcounter{mtc}{0} % START VALUE + \MTC@next#1.toc\relax\\}\setcounter{mtc}{0}} %23: raz +% this command extracts info from the .lof file +% and create the .mlfN files (.mlf -> .F on MS-DOS) +\def\@dominilof#1{{% + \makeatletter + \setcounter{mtc}{0} % START VALUE + \MLF@next#1.lof\relax\\}\setcounter{mtc}{0}} %23: raz +% this command extracts info from the .lot file +% and create the .mltN files (.mlt -> .T on MS-DOS) +\def\@dominilot#1{{% + \makeatletter + \setcounter{mtc}{0} % START VALUE + \MLT@next#1.lot\relax\\}\setcounter{mtc}{0}} %23: raz + +\def\dominitoc{\@ifnextchar[{\dominitoc@}{\dominitoc@[l]}} +\def\dominilof{\@ifnextchar[{\dominilof@}{\dominilof@[l]}} +\def\dominilot{\@ifnextchar[{\dominilot@}{\dominilot@[l]}} + +\def\dominitoc@[#1]{% +\if #1e\let\df@mtitc\e@mti% +\else\if #1n\let\df@mtitc\n@mti% +\else\if #1c\let\df@mtitc\c@mti% +\else\if #1l\let\df@mtitc\l@mti% +\else\if #1r\let\df@mtitc\r@mti% +\fi\fi\fi\fi\fi% +\@@dominitoc} + +\def\dominilof@[#1]{% +\if #1e\let\df@mtilf\e@mti% +\else\if #1n\let\df@mtilf\n@mti% +\else\if #1c\let\df@mtilf\c@mti% +\else\if #1l\let\df@mtilf\l@mti% +\else\if #1r\let\df@mtilf\r@mti% +\fi\fi\fi\fi\fi% +\@@dominilof} + +\def\dominilot@[#1]{% +\if #1e\let\df@mtilt\e@mti% +\else\if #1n\let\df@mtilt\n@mti% +\else\if #1c\let\df@mtilt\c@mti% +\else\if #1l\let\df@mtilt\l@mti% +\else\if #1r\let\df@mtilt\r@mti% +\fi\fi\fi\fi\fi% +\@@dominilot} + +\def\@@dominitoc{\@dominitoc{\jobname}\immediate\closeout\tf@mtc} +\def\@@dominilof{\@dominilof{\jobname}\immediate\closeout\tf@mtc} +\def\@@dominilot{\@dominilot{\jobname}\immediate\closeout\tf@mtc} + +\def\MTC@next#1\relax#2\\{% + \edef\MTC@list{#2}% + \MTC@loop{#1}} +\def\MTC@toc{% + \ifx\MTC@list\@empty\else\expandafter\MTC@explist\fi} + +%%%%%%% patch minitoc to write *.mtc files with link name at end +% so that hyperref contentsline works properly---I hope +\def\MTC@contentsline#1#2#3#4{% %%BJ: 4 instead of 3 parameters +\gdef\themtc{\arabic{mtc}} +\expandafter% + \ifx\csname #1\endcsname\chapter\relax + \stepcounter{mtc}% % the mtc counter simulates the chapter counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.mtc\themtc}% % UNIX +\def\mtcname{\jobname.mtc\themtc}}% % UNIX +{\typeout{Writing\space\jobname.M\themtc}% % MS-DOS +\def\mtcname{\jobname.M\themtc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .mtcN .mtc->.M on MS-DOS + \immediate\openout\tf@mtc=\mtcname % open next .mtcN (.mtc->.M if MS-DOS) + \fi +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\section\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\subsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSSfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\subsubsection\relax + \mtc@toks{\noexpand \leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSSSfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\paragraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcPfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\subparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSPfont + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +% Added v25: \starchapter and co. +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\starchapter\relax +\stepcounter{mtc}% % the mtc counter simulates the chapter counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.mtc\themtc}% % UNIX +\def\mtcname{\jobname.mtc\themtc}}% % UNIX +{\typeout{Writing\space\jobname.M\themtc}% % MS-DOS +\def\mtcname{\jobname.M\themtc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .mtcN .mtc->.M on MS-DOS + \immediate\openout\tf@mtc=\mtcname % open next .mtcN (.mtc->.M if MS-DOS) + \fi +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\starsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSSfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubsubsection\relax + \mtc@toks{\noexpand \leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSSSfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\starparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcPfont% + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mtcSPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mtcSPfont + \space #3}{#4}}}}\@tempa% %%BJ: #4 is hyperlink + \fi +} + + +\def\MTC@explist{\expandafter\MTC@next\MTC@list\\} +\def\MTC@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JMINITOCS NOT PREPARED.^^J}% + \expandafter\MTC@toc + \else + \typeout{PREPARING MINITOCS FROM #1}% + \expandafter\MTC@read\fi} +\def\MTC@read{% + \read\@inputcheck to\MTC@line + \expandafter\MTC@test\MTC@line....\MTC@% + }% +% now patch MTC@test % %%BJ: call \MTC@contentsline with 4 instead of 3 parameters +\newcommand{\scrubdots}[5]{#1} %%BJ: added by Tony Roberts +\long\def\MTC@test#1#2#3#4#5\MTC@{% + \ifx#1\contentsline + \let\mtc@string\string + \MTC@contentsline{#2}{#3}{#4}{\scrubdots#5}% %%BJ: 4. parameter added by Tony Roberts + \let\mtc@string\relax + \else\ifx#1\@input + \edef\MTC@list{\MTC@list#2\relax}% + \else\ifx#1\chapterend % \chapter* closes .mtcN (.mtc->.M on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\chapterbegin + \addtocounter{mtc}{-1}% % \chapter* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\MTC@toc + \else\expandafter\MTC@read\fi}% +%%%%%%%%%% end of minitoc patches + + +\def\MLF@next#1\relax#2\\{% + \edef\MLF@list{#2}% + \MLF@loop{#1}} +\def\MLF@lof{% + \ifx\MLF@list\@empty\else\expandafter\MLF@explist\fi} + +\def\MLF@contentsline#1#2#3{% +\gdef\themtc{\arabic{mtc}} +\expandafter% + \ifx\csname #1\endcsname\xchapter\relax + \stepcounter{mtc}% % the mtc counter simulates the chapter counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.mlf\themtc}% % UNIX +\def\mlfname{\jobname.mlf\themtc}}% % UNIX +{\typeout{Writing\space\jobname.F\themtc}% % MS-DOS +\def\mlfname{\jobname.F\themtc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .mlfN .mlf->.F on MS-DOS + \immediate\openout\tf@mtc=\mlfname % open next .mlfN (.mlf->.F if MS-DOS) + \fi +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\figure\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mlffont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mlffont% + \space #3}}}}\@tempa + \fi +} + +\def\MLF@explist{\expandafter\MLF@next\MLF@list\\} +\def\MLF@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JMINILOFS NOT PREPARED.^^J}% + \expandafter\MLF@lof + \else + \typeout{PREPARING MINILOFS FROM #1}% + \expandafter\MLF@read\fi} +\def\MLF@read{% + \read\@inputcheck to\MLF@line + \expandafter\MLF@test\MLF@line....\MLF@% + }% +\long\def\MLF@test#1#2#3#4#5\MLF@{% + \ifx#1\contentsline + \let\mtc@string\string + \MLF@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\MLF@list{\MLF@list#2\relax}% + \else\ifx#1\chapterend % \chapter* closes .mlfN (.mlf->.F on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\chapterbegin + \addtocounter{mtc}{-1}% % \chapter* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\MLF@lof + \else\expandafter\MLF@read\fi}% + +\def\MLT@next#1\relax#2\\{% + \edef\MLT@list{#2}% + \MLT@loop{#1}} +\def\MLT@lot{% + \ifx\MLT@list\@empty\else\expandafter\MLT@explist\fi} + +\def\MLT@contentsline#1#2#3{% +\gdef\themtc{\arabic{mtc}} +\expandafter% + \ifx\csname #1\endcsname\xchapter\relax + \stepcounter{mtc}% % the mtc counter simulates the chapter counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.mlt\themtc}% % UNIX +\def\mltname{\jobname.mlt\themtc}}% % UNIX +{\typeout{Writing\space\jobname.T\themtc}% % MS-DOS +\def\mltname{\jobname.T\themtc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .mltN .mlt->.T on MS-DOS + \immediate\openout\tf@mtc=\mltname % open next .mltN (.mlt->.T if MS-DOS) + \fi +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\table\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\mltfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\mltfont% + \space #3}}}}\@tempa + \fi +} + +\def\MLT@explist{\expandafter\MLT@next\MLT@list\\} +\def\MLT@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JMINILOTS NOT PREPARED.^^J}% + \expandafter\MLT@lot + \else + \typeout{PREPARING MINILOTS FROM #1}% + \expandafter\MLT@read\fi} +\def\MLT@read{% + \read\@inputcheck to\MLT@line + \expandafter\MLT@test\MLT@line....\MLT@% + }% +\long\def\MLT@test#1#2#3#4#5\MLT@{% + \ifx#1\contentsline + \let\mtc@string\string + \MLT@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\MLT@list{\MLT@list#2\relax}% + \else\ifx#1\chapterend % \chapter* closes .mltN (.mlt->.T on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\chapterbegin + \addtocounter{mtc}{-1}% % \chapter* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\MLT@lot + \else\expandafter\MLT@read\fi}% +} % end of chapter level + +%%%%%%%%%%%%%%%%%%%%%%%%% +%% +% If \part is defined (book or article-like document), +% the following macros are allowed +% Sometimes, we need to make a difference between book and +% article (is \chapter defined?), to have a different layout. +\@ifundefined{part}{}% +{% +\def\xpart{xpart} +\def\Thepart{\arabic{part}} +\def\firstpartis#1% + {\typeout{^^JWARNING*** \string\firstpartis}% + \typeout{ is an obsolete command^^J}} +\newcounter{ptc} % counter of parttocs +\setcounter{ptc}{0} +\def\theptc{\arabic{ptc}} +\newcounter{parttocdepth} % analog to tocdepth, but for parttocs +\setcounter{parttocdepth}{2} + +\@ifundefined{chapter}{% +\def\ptc@rule{\kern-3\p@% + \hrule width \columnwidth \kern2.6\p@}% the \hrule is .4pt high +}{\let\ptc@rule\relax} % no rule before/after parttoc/partlof/partlot + % for books + +\newlength\ptcindent % indentation (left/right) of parttocs +\@ifundefined{chapter}{\ptcindent=24pt}{\ptcindent=0pt} % defaut value + +\@ifundefined{chapter}{% +\def\ptcfont{\small\rm} % font for the parttoc +\def\ptcSfont{\small\bf} % font for the parttoc (sections) +\def\ptcSSfont{\ptcfont} % font for the parttoc (subsections) +\def\ptcSSSfont{\ptcfont} % font for the parttoc (subsubsections) +\def\ptcPfont{\ptcfont} % font for the parttoc (paragraphs) +\def\ptcSPfont{\ptcfont} % font for the parttoc (subparagraphs) +\def\plffont{\ptcfont} % font for the partlof (figures) +\def\pltfont{\ptcfont} % font for the partlot (tables) +\def\ptifont{\large\bf} % font for titles +}{% +\def\ptcfont{\normalsize\rm} % font for the parttoc +\def\ptcCfont{\normalsize\bf} % font for the parttoc (chapters) +\def\ptcSfont{\normalsize\rm} % font for the parttoc (sections) +\def\ptcSSfont{\ptcfont} % font for the parttoc (subsections) +\def\ptcSSSfont{\ptcfont} % font for the parttoc (subsubsections) +\def\ptcPfont{\ptcfont} % font for the parttoc (paragraphs) +\def\ptcSPfont{\ptcfont} % font for the parttoc (subparagraphs) +\def\plffont{\ptcfont} % font for the partlof (figures) +\def\pltfont{\ptcfont} % font for the partlot (tables) +\def\ptifont{\Huge\bf} % font for titles +} + +% Centering, flushleft, flushright or empty titles. +\@ifundefined{chapter}{% +\def\c@pti#1{\null\hfill #1\hfill\null} +\def\l@pti#1{\null #1\hfill\null} +\def\r@pti#1{\null\hfill #1\null} +\def\e@pti#1{\relax} +\def\n@pti#1{\relax} +}{% +\def\e@pti#1{\relax} +\def\n@pti#1{\relax} +\def\l@pti#1{\if@twocolumn + \@topnewpage[\@makephead@l{#1}]% + \else + \@makephead@l{#1}% + \@afterheading + \fi} +\def\@makephead@l#1{% + \vspace*{50\p@}% + {\parindent \z@ \raggedright + \ptifont + #1\par + \nobreak + \vskip 40\p@ + }} +\def\r@pti#1{\if@twocolumn + \@topnewpage[\@makephead@r{#1}]% + \else + \@makephead@r{#1}% + \@afterheading + \fi} +\def\@makephead@r#1{% + \vspace*{50\p@}% + {\parindent \z@ \raggedleft + \ptifont + #1\par + \nobreak + \vskip 40\p@ + }} +\def\c@pti#1{\if@twocolumn + \@topnewpage[\@makephead@c{#1}]% + \else + \@makephead@c{#1}% + \@afterheading + \fi} +\def\@makephead@c#1{% + \vspace*{50\p@}% + {\parindent \z@ \centering + \ptifont + #1\par + \nobreak + \vskip 40\p@ + }}% +} + +% Default: titles on left +\let\do@ptitc\l@pti +\let\df@ptitc\l@pti +\let\do@ptilf\l@pti +\let\df@ptilf\l@pti +\let\do@ptilt\l@pti +\let\df@ptilt\l@pti + +%v27 % Language dependent names: default values +%v27 \@ifundefined{chapter}{% +%v27 \@ifundefined{ptctitle}{\def\ptctitle{Contents}}{\relax} +%v27 \@ifundefined{plftitle}{\def\plftitle{Figures}}{\relax} +%v27 \@ifundefined{plttitle}{\def\plttitle{Tables}}{\relax}}% +%v27 {% +%v27 \@ifundefined{ptctitle}{\def\ptctitle{Table of Contents}}{\relax} +%v27 \@ifundefined{plftitle}{\def\plftitle{List of Figures}}{\relax} +%v27 \@ifundefined{plttitle}{\def\plttitle{List of Tables}}{\relax} +%v27 } + +\def\ptc@verse{\let\\=\@centercr + \list{}{\itemsep\z@\itemindent \z@\listparindent \itemindent + \leftmargin\ptcindent + \rightmargin\leftmargin}\item[]} +\def\endptc@verse{\nopagebreak[4]\endlist} + +% this command must be used after \part +% if you need a parttoc (no automatic parttoc) +\def\parttoc{\@ifnextchar[{\parttoc@}{\parttoc@[d]}} + +\def\parttoc@[#1]{% + \@ifundefined{chapter}{}{\cleardoublepage + \global\let\mtc@markboth\markboth + \global\let\@mkboth\markboth + \thispagestyle{empty} + \mtc@markboth{\uppercase{\ptctitle}}{\uppercase{\ptctitle}}% + }% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@ptitc\e@pti + \else\if #1n\let\do@ptitc\n@pti + \else\if #1c\let\do@ptitc\c@pti + \else\if #1l\let\do@ptitc\l@pti + \else\if #1r\let\do@ptitc\r@pti + \else\if #1d\let\do@ptitc\df@ptitc + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\ptcfont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \nopagebreak[4]% + \ifx\ptc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\ptifont\do@ptitc{\mtc@v\ptctitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\ptifont\do@ptitc{\mtc@v\ptctitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\ptcindent + \rightmargin\ptcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + \begin{ptc@verse}\c@tocdepth=\c@parttocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{ptc@pgno}% + {\let\@dottedtocline\@undottedtocline}{} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{ptc\Thepart}}% % UNIX +{\def\@tocfile{P\Thepart}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{ptc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\ptc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\@ifundefined{chapter}{\pagebreak[1]\vspace*{-1ex}}% + {\cleardoublepage}} + +% this command must be used after \part +% if you need a partlof (no automatic partlof) +\def\partlof{\@ifnextchar[{\partlof@}{\partlof@[d]}} + +\def\partlof@[#1]{% + \@ifundefined{chapter}{}{\cleardoublepage + \global\let\mtc@markboth\markboth + \global\let\@mkboth\markboth + \thispagestyle{empty} + \mtc@markboth{\uppercase{\plftitle}}{\uppercase{\plftitle}}% + }% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@ptilf\e@pti + \else\if #1n\let\do@ptilf\n@pti + \else\if #1c\let\do@ptilf\c@pti + \else\if #1l\let\do@ptilf\l@pti + \else\if #1r\let\do@ptilf\r@pti + \else\if #1d\let\do@ptilf\df@ptilf + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\plffont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\ptc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\ptifont\do@ptilf{\mtc@v\plftitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\ptifont\do@ptilf{\mtc@v\plftitle}}\\ + \@ifundefined{chapter}{\hline}{} + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\ptcindent + \rightmargin\ptcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + % depth does not matter for partlof + \begin{ptc@verse}%\c@tocdepth=\c@parttocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{plf@pgno}% + {\let\@dottedtocline\@undottedtocline}{} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{plf\Thepart}}% % UNIX +{\def\@tocfile{G\Thepart}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{ptc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\ptc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\@ifundefined{chapter}{\pagebreak[1]\vspace*{-1ex}}% + {\cleardoublepage}} + +% Added in version #13 +% this command must be used after \part +% if you need a minilot (no automatic partlot) +\def\partlot{\@ifnextchar[{\partlot@}{\partlot@[d]}} + +\def\partlot@[#1]{% + \@ifundefined{chapter}{}{\cleardoublepage + \global\let\mtc@markboth\markboth + \global\let\@mkboth\markboth + \thispagestyle{empty} + \mtc@markboth{\uppercase{\plttitle}}{\uppercase{\plttitle}}% + }% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@ptilt\e@pti + \else\if #1n\let\do@ptilt\n@pti + \else\if #1c\let\do@ptilt\c@pti + \else\if #1l\let\do@ptilt\l@pti + \else\if #1r\let\do@ptilt\r@pti + \else\if #1d\let\do@ptilt\df@ptilt + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\pltfont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\ptc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\ptifont\do@ptilt{\mtc@v\plttitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\ptifont\do@ptilt{\mtc@v\plttitle}}\\ + \@ifundefined{chapter}{\hline}{} + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\ptcindent + \rightmargin\ptcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + % depth does not matter for partlot + \begin{ptc@verse}%\c@tocdepth=\c@parttocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{plt@pgno}% + {\let\@dottedtocline\@undottedtocline}{} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{plt\Thepart}}% % UNIX +{\def\@tocfile{U\Thepart}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{ptc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\ptc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\@ifundefined{chapter}{\pagebreak[1]\vspace*{-1ex}}% + {\cleardoublepage}} + +% I use a depth of 10000 to inhibit the printing of +% that contentsline. +\def\l@xpart{\@dottedtocline{\@M}{1.0em}{2.3em}} +\def\l@pchapter{\@dottedtocline{1}{1.0em}{2.3em}} + +\def\pchapter{pchapter} + +\let\sv@part\@part +\def\@part[#1]#2{\sv@part[{#1}]{#2}\relax% +\addcontentsline{lof}{xpart}{#1}% +\addcontentsline{lot}{xpart}{#1}% +} + +% tricky code to deal with \part* +\let\ptc@spart\@spart +\def\@spart{% +\addtocontents{toc}{\protect\partend}\ptc@spart% +} +\def\@spart{% +\addtocontents{toc}{\protect\partbegin}\ptc@spart% +} +\let\partend\relax +\let\partbegin\relax + +\let\appendixmtc\relax + +% this command extracts info from the .toc file +% and create the .ptcN files (.ptc -> .P on MS-DOS) +\def\@doparttoc#1{{% + \makeatletter + \setcounter{ptc}{0} % START VALUE + \PTC@next#1.toc\relax\\}\setcounter{ptc}{0}} %23; raz +% this command extracts info from the .lof file +% and create the .plfN files (.plf -> .G on MS-DOS) +\def\@dopartlof#1{{% + \makeatletter + \setcounter{ptc}{0} % START VALUE + \PLF@next#1.lof\relax\\}\setcounter{ptc}{0}} %23: raz +% this command extracts info from the .lot file +% and create the .pltN files (.plt -> .U on MS-DOS) +\def\@dopartlot#1{{% + \setcounter{ptc}{0} % START VALUE + \makeatletter + \PLT@next#1.lot\relax\\}\setcounter{ptc}{0}} %23: raz + +\def\doparttoc{\@ifnextchar[{\doparttoc@}{\doparttoc@[l]}} +\def\dopartlof{\@ifnextchar[{\dopartlof@}{\dopartlof@[l]}} +\def\dopartlot{\@ifnextchar[{\dopartlot@}{\dopartlot@[l]}} + +\def\doparttoc@[#1]{% +\if #1e\let\df@ptitc\e@pti% +\else\if #1n\let\df@ptitc\n@pti% +\else\if #1c\let\df@ptitc\c@pti% +\else\if #1l\let\df@ptitc\l@pti% +\else\if #1r\let\df@ptitc\r@pti% +\fi\fi\fi\fi\fi% +\@@doparttoc} + +\def\dopartlof@[#1]{% +\if #1e\let\df@ptilf\e@pti% +\else\if #1n\let\df@ptilf\n@pti% +\else\if #1c\let\df@ptilf\c@pti% +\else\if #1l\let\df@ptilf\l@pti% +\else\if #1r\let\df@ptilf\r@pti% +\fi\fi\fi\fi\fi% +\@@dopartlof} + +\def\dopartlot@[#1]{% +\if #1e\let\df@ptilt\e@pti% +\else\if #1n\let\df@ptilt\n@pti% +\else\if #1c\let\df@ptilt\c@pti% +\else\if #1l\let\df@ptilt\l@pti% +\else\if #1r\let\df@ptilt\r@pti% +\fi\fi\fi\fi\fi% +\@@dopartlot} + +\def\@@doparttoc{\@doparttoc{\jobname}\immediate\closeout\tf@mtc} +\def\@@dopartlof{\@dopartlof{\jobname}\immediate\closeout\tf@mtc} +\def\@@dopartlot{\@dopartlot{\jobname}\immediate\closeout\tf@mtc} + +\def\PTC@next#1\relax#2\\{% + \edef\PTC@list{#2}% + \PTC@loop{#1}} +\def\PTC@toc{% + \ifx\PTC@list\@empty\else\expandafter\PTC@explist\fi} + +\def\PTC@contentsline#1#2#3#4{% %%DV: 4 instead of 3 parameters +\expandafter% + \ifx\csname #1\endcsname\part\relax + \stepcounter{ptc}% % the ptc counter simulates the part counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.ptc\theptc}% % UNIX +\def\ptcname{\jobname.ptc\theptc}}% % UNIX +{\typeout{Writing\space\jobname.P\theptc}% % MS-DOS +\def\ptcname{\jobname.P\theptc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .ptcN .ptc->.P on MS-DOS + \immediate\openout\tf@mtc=\ptcname % open next .ptcN (.ptc->.P if MS-DOS) + \fi +\expandafter% % extracts and writes info for chapters, sections, etc. + \ifx\csname #1\endcsname\chapter\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcCfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcCfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\section\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\subsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSSfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\subsubsection\relax + \mtc@toks{\noexpand \leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSSSfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\paragraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcPfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\subparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSPfont + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +% Added v25: \starchapter & co. +\expandafter% % extracts and writes info for chapters, sections, etc. + \ifx\csname #1\endcsname\starchapter\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcCfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcCfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\starsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSSfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubsubsection\relax + \mtc@toks{\noexpand \leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSSSfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\starparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcPfont% + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\ptcSPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\ptcSPfont + \space #3}{#4}}}}\@tempa% %%DV: 4 instead of 3 parameters + \fi +} + +\def\PTC@explist{\expandafter\PTC@next\PTC@list\\} +\def\PTC@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JPARTTOCS NOT PREPARED.^^J}% + \expandafter\PTC@toc + \else + \typeout{PREPARING PARTTOCS FROM #1}% + \expandafter\PTC@read\fi} +\def\PTC@read{% + \read\@inputcheck to\PTC@line + \expandafter\PTC@test\PTC@line....\PTC@% + }% +\long\def\PTC@test#1#2#3#4#5\PTC@{% + \ifx#1\contentsline + \let\mtc@string\string + \PTC@contentsline{#2}{#3}{#4}{\scrubdots#5}% %%DV: 4 instead of 3 params + \let\mtc@string\relax + \else\ifx#1\@input + \edef\PTC@list{\PTC@list#2\relax}% + \else\ifx#1\partend % \part* closes .ptcN (.ptc->.P on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\partbegin + \addtocounter{ptc}{-1}% % \part* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\PTC@toc + \else\expandafter\PTC@read\fi}% + +\def\PLF@next#1\relax#2\\{% + \edef\PLF@list{#2}% + \PLF@loop{#1}} +\def\PLF@lof{% + \ifx\PLF@list\@empty\else\expandafter\PLF@explist\fi} + +\def\PLF@contentsline#1#2#3{% +\expandafter% + \ifx\csname #1\endcsname\xpart\relax + \stepcounter{ptc}% % the ptc counter simulates the part counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.plf\theptc}% % UNIX +\def\plfname{\jobname.plf\theptc}}% % UNIX +{\typeout{Writing\space\jobname.G\theptc}% % MS-DOS +\def\plfname{\jobname.G\theptc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .plfN .plf->.G on MS-DOS + \immediate\openout\tf@mtc=\plfname % open next .plfN (.plf->.G if MS-DOS) + \fi +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\figure\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\plffont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\plffont% + \space #3}}}}\@tempa + \fi +} + +\def\PLF@explist{\expandafter\PLF@next\PLF@list\\} +\def\PLF@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JPARTLOFS NOT PREPARED.^^J}% + \expandafter\PLF@lof + \else + \typeout{PREPARING PARTLOFS FROM #1}% + \expandafter\PLF@read\fi} +\def\PLF@read{% + \read\@inputcheck to\PLF@line + \expandafter\PLF@test\PLF@line....\PLF@% + }% +\long\def\PLF@test#1#2#3#4#5\PLF@{% + \ifx#1\contentsline + \let\mtc@string\string + \PLF@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\PLF@list{\PLF@list#2\relax}% + \else\ifx#1\partend % \part* closes .plfN (.plf->.G on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\partbegin + \addtocounter{ptc}{-1}% % \part* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\PLF@lof + \else\expandafter\PLF@read\fi}% + +\def\PLT@next#1\relax#2\\{% + \edef\PLT@list{#2}% + \PLT@loop{#1}} +\def\PLT@lot{% + \ifx\PLT@list\@empty\else\expandafter\PLT@explist\fi} + +\def\PLT@contentsline#1#2#3{% +\expandafter% + \ifx\csname #1\endcsname\xpart\relax + \stepcounter{ptc}% % the ptc counter simulates the part counter +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.plt\theptc}% % UNIX +\def\pltname{\jobname.plt\theptc}}% % UNIX +{\typeout{Writing\space\jobname.U\theptc}% % MS-DOS +\def\pltname{\jobname.U\theptc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .pltN .plt->.U on MS-DOS + \immediate\openout\tf@mtc=\pltname % open next .pltN (.plt->.U if MS-DOS) + \fi +\expandafter% % extracts and writes info for chapters, sections, etc. + \ifx\csname #1\endcsname\table\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\pltfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\pltfont% + \space #3}}}}\@tempa + \fi +} + +\def\PLT@explist{\expandafter\PLT@next\PLT@list\\} +\def\PLT@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JPARTLOTS NOT PREPARED.^^J}% + \expandafter\PLT@lot + \else + \typeout{PREPARING PARTLOTS FROM #1}% + \expandafter\PLT@read\fi} +\def\PLT@read{% + \read\@inputcheck to\PLT@line + \expandafter\PLT@test\PLT@line....\PLT@% + }% +\long\def\PLT@test#1#2#3#4#5\PLT@{% + \ifx#1\contentsline + \let\mtc@string\string + \PLT@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\PLT@list{\PLT@list#2\relax}% + \else\ifx#1\partend % \part* closes .pltN (.plt->.U on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\partbegin + \addtocounter{ptc}{-1}% % \part* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\PLT@lot + \else\expandafter\PLT@read\fi}% +} % end of part stuff + +%%%%%%%%%%%%%%%%%%%%%%% +%%% If \chapter is not defined but \section is, then +%%% the following macros are available (for article-like documents). +%%% Braces are inscrutable! +\@ifundefined{chapter}% +{\@ifundefined{section}{}{% +\def\firstsectionis#1% + {\typeout{^^JWARNING*** \string\firstsectionis}% + \typeout{ is an obsolete command^^J}} +\newcounter{stc} % counter of secttocs +\setcounter{stc}{0} +\newcounter{secttocdepth} % analog to tocdepth, but for secttocs +\setcounter{secttocdepth}{2} + +% rule before/after secttoc/sectlof/sectlot +\def\stc@rule{\kern-3\p@% + \hrule width \columnwidth \kern2.6\p@} % the \hrule is .4pt high + +\newlength\stcindent % indentation (left/right) of secttocs +\stcindent=24pt % defaut value +\def\stcfont{\small\rm} % font for the secttoc +\def\stcSSfont{\normalsize\bf} % font for the secttoc (subsections) +\def\stcSSSfont{\stcfont} % font for the secttoc (subsubsections) +\def\stcPfont{\stcfont} % font for the secttoc (paragraphs) +\def\stcSPfont{\stcfont} % font for the secttoc (subparagraphs) +\def\slffont{\stcfont} % font for the sectlof (figures) +\def\sltfont{\stcfont} % font for the sectlot (tables) +\def\stifont{\Large\bf} % font for titles + +% Centering, flushleft, flushright or empty titles. +\def\c@sti#1{\null\hfill #1\hfill\null} +\def\l@sti#1{\null #1\hfill\null} +\def\r@sti#1{\null\hfill #1\null} +\def\e@sti#1{\relax} +\def\n@sti#1{\relax} + +% Default: titles on left +\let\do@stitc\l@sti +\let\df@stitc\l@sti +\let\do@stilf\l@sti +\let\df@stilf\l@sti +\let\do@stilt\l@sti +\let\df@stilt\l@sti + +%v27 % Language dependent names: default values +%v27 \@ifundefined{stctitle}{\def\stctitle{Contents}}{\relax} +%v27 \@ifundefined{slftitle}{\def\slftitle{Figures}}{\relax} +%v27 \@ifundefined{slttitle}{\def\slttitle{Tables}}{\relax} + +\def\stc@verse{\let\\=\@centercr + \list{}{\itemsep\z@\itemindent \z@\listparindent \itemindent + \leftmargin\stcindent + \rightmargin\leftmargin}\item[]} +\def\endstc@verse{\nopagebreak[4]\endlist} + +% this command must be used after \section +% if you need a secttoc (no automatic secttoc) +\def\secttoc{\@ifnextchar[{\secttoc@}{\secttoc@[d]}} + +\def\secttoc@[#1]{% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@stitc\e@sti + \else\if #1n\let\do@stitc\n@sti + \else\if #1c\let\do@stitc\c@sti + \else\if #1l\let\do@stitc\l@sti + \else\if #1r\let\do@stitc\r@sti + \else\if #1d\let\do@stitc\df@stitc + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\stcfont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\stc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\stifont\do@stitc{\mtc@v\stctitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\stifont\do@stitc{\mtc@v\stctitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\stcindent + \rightmargin\stcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + \begin{stc@verse}\c@tocdepth=\c@secttocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{stc@pgno}% + {\let\@dottedtocline\@undottedtocline}{} + \gdef\thestc{\arabic{stc}} %23 +\@ifundefined{SHORTEXT}% +{\def\@tocfile{stc\thestc}}% % UNIX +{\def\@tocfile{S\thestc}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{stc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\stc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\pagebreak[1]\vspace*{-1ex}}% + % some space under the secttoc + +% this command must be used after \section +% if you need a sectlof (no automatic sectlof) +\def\sectlof{\@ifnextchar[{\sectlof@}{\sectlof@[d]}} + +\def\sectlof@[#1]{% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@stilf\e@sti + \else\if #1n\let\do@stilf\n@sti + \else\if #1c\let\do@stilf\c@sti + \else\if #1l\let\do@stilf\l@sti + \else\if #1r\let\do@stilf\r@sti + \else\if #1d\let\do@stilf\df@stilf + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\slffont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\stc@rule\relax % correction 07Nov94 v23 + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\stifont\do@stilf{\mtc@v\slftitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\stifont\do@stilf{\mtc@v\slftitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\stcindent + \rightmargin\stcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + % depth does not matter for sectlof + \begin{stc@verse}%\c@tocdepth=\c@secttocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{slf@pgno}% + {\let\@dottedtocline\@undottedtocline}{} + \gdef\thestc{\arabic{stc}} %23 +\@ifundefined{SHORTEXT}% +{\def\@tocfile{slf\thestc}}% % UNIX +{\def\@tocfile{H\thestc}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{stc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\stc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\pagebreak[1]\vspace*{-1ex}}% + % some space under the secttoc + +% Added in version #13 +% this command must be used after \section +% if you need a sectlot (no automatic sectlot) +\def\sectlot{\@ifnextchar[{\sectlot@}{\sectlot@[d]}} + +\def\sectlot@[#1]{% + \relax\begin{samepage}% we begin a local group here, using samepage + \if #1e\let\do@stilt\e@sti + \else\if #1n\let\do@stilt\n@sti + \else\if #1c\let\do@stilt\c@sti + \else\if #1l\let\do@stilt\l@sti + \else\if #1r\let\do@stilt\r@sti + \else\if #1d\let\do@stilt\df@stilt + \fi\fi\fi\fi\fi\fi + \raggedright % added #14 + \parskip=\z@% + \reset@font\sltfont% + \parindent=\z@% + \nopagebreak[4]% + \kern-0.8\baselineskip\nopagebreak[4]% + \par\noindent + \ifx\stc@rule\relax + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\stifont\do@stilt{\mtc@v\slttitle}}\\ + \end{tabular}\else + \begin{tabular}{@{}p{\columnwidth}@{}} + {\reset@font\stifont\do@stilt{\mtc@v\slttitle}}\\\hline + \end{tabular}\fi + \nopagebreak[4]\null\leavevmode\vrule width \z@ + height \z@ depth \z@\\\@BBR% + \leftmargin\stcindent + \rightmargin\stcindent + \itemindent=\z@\labelwidth=\z@% + \labelsep=\z@\listparindent=\z@% + % depth does not matter for sectlot + \begin{stc@verse}%\c@tocdepth=\c@secttocdepth% + \leavevmode\\\@BBR% this blank line is necessary to avoid + % a wild negative indentation + \vskip -.5\baselineskip +\begingroup + \makeatletter + \@ifundefined{slt@pgno}% + {\let\@dottedtocline\@undottedtocline}{} + \gdef\thestc{\arabic{stc}} +\@ifundefined{SHORTEXT}% +{\def\@tocfile{slt\thestc}}% % UNIX +{\def\@tocfile{V\thestc}}% % MS-DOS + \@input{\jobname.\@tocfile}\if@filesw + \fi% + \global\@nobreakfalse\endgroup + \end{stc@verse}% + \kern0.\baselineskip% + \nopagebreak[4]\stc@rule\null\leavevmode\\% + \vskip-1.0\baselineskip + \vrule width \z@ height \z@ + depth \z@\end{samepage}% %## the \\ is essential + \par\pagebreak[1]\vspace*{-1ex}}% + % some space under the secttoc + +% I use a depth of 10000 to inhibit the printing of +% that contentsline. +\def\l@xsect{\@dottedtocline{\@M}{1.0em}{2.3em}} +\def\l@schapter{\@dottedtocline{1}{1.0em}{2.3em}} + +\def\xsect{xsect} +\def\schapter{schapter} + +\let\sv@sect\@sect +\gdef\@sect#1#2#3#4#5#6[#7]#8{% +\ifnum #2=1 +\addcontentsline{lof}{xsect}{#7}% +\addcontentsline{lot}{xsect}{#7}% +\fi +\sv@sect{#1}{#2}{#3}{#4}{#4}{#5}{#6}[{#7}]{#8}} + +\def\@sect#1#2#3#4#5#6[#7]#8{ +\expandafter +\ifx\csname #1\endcsname\section\relax % ADDED +\addcontentsline{lof}{xsect}{#7}% ADDED +\addcontentsline{lot}{xsect}{#7}% ADDED +\fi % ADDED +\ifx\csname #1\endcsname\starsection\relax % ADDED v25 +\addcontentsline{lof}{xsect}{#7}% ADDED v25 +\addcontentsline{lot}{xsect}{#7}% ADDED v25 +\fi % ADDED v25 +\ifnum #2>\c@secnumdepth + \let\@svsec\@empty\else + \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 1em}\fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup #6\relax + \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}% + \endgroup + \csname #1mark\endcsname{#7}\addcontentsline + {toc}{#1}{\ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}\fi + #7}\else + \def\@svsechd{#6\hskip #3\relax %% \relax added 2 May 90 + \@svsec #8\csname #1mark\endcsname + {#7}\addcontentsline + {toc}{#1}{\ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}\fi + #7}}\fi + \@xsect{#5}} + +% tricky code to deal with \section* +\let\stc@ssect\@ssect +\def\@ssect{% +\addtocontents{toc}{\protect\sectend}\stc@ssect% +} +\def\@ssect{% +\addtocontents{toc}{\protect\sectbegin}\stc@ssect% +} +\let\sectend\relax +\let\sectbegin\relax + +\let\appendixmtc\relax + +% this command extracts info from the .toc file +% and create the .stcN files (.stc -> .S on MS-DOS) +\def\@dosecttoc#1{{% + \makeatletter + \setcounter{stc}{0} % START VALUE + \STC@next#1.toc\relax\\}\setcounter{stc}{0}} %23: raz +% this command extracts info from the .lof file +% and create the .slfN files (.slf -> .H on MS-DOS) +\def\@dosectlof#1{{% + \makeatletter + \setcounter{stc}{0} % START VALUE + \SLF@next#1.lof\relax\\}\setcounter{stc}{0}} %23: raz +% this command extracts info from the .lot file +% and create the .sltN files (.slt -> .V on MS-DOS) +\def\@dosectlot#1{{% + \setcounter{stc}{0} % START VALUE + \makeatletter + \SLT@next#1.lot\relax\\}\setcounter{stc}{0}} %23: raz + +\def\dosecttoc{\@ifnextchar[{\dosecttoc@}{\dosecttoc@[l]}} +\def\dosectlof{\@ifnextchar[{\dosectlof@}{\dosectlof@[l]}} +\def\dosectlot{\@ifnextchar[{\dosectlot@}{\dosectlot@[l]}} + +\def\dosecttoc@[#1]{% +\if #1e\let\df@stitc\e@sti% +\else\if #1n\let\df@stitc\n@sti% +\else\if #1c\let\df@stitc\c@sti% +\else\if #1l\let\df@stitc\l@sti% +\else\if #1r\let\df@stitc\r@sti% +\fi\fi\fi\fi\fi% +\@@dosecttoc} + +\def\dosectlof@[#1]{% +\if #1e\let\df@stilf\e@sti% +\else\if #1n\let\df@stilf\n@sti% +\else\if #1c\let\df@stilf\c@sti% +\else\if #1l\let\df@stilf\l@sti% +\else\if #1r\let\df@stilf\r@sti% +\fi\fi\fi\fi\fi% +\@@dosectlof} + +\def\dosectlot@[#1]{% +\if #1e\let\df@stilt\e@sti% +\else\if #1n\let\df@stilt\n@sti% +\else\if #1c\let\df@stilt\c@sti% +\else\if #1l\let\df@stilt\l@sti% +\else\if #1r\let\df@stilt\r@sti% +\fi\fi\fi\fi\fi% +\@@dosectlot} + +\def\@@dosecttoc{\@dosecttoc{\jobname}\immediate\closeout\tf@mtc} +\def\@@dosectlof{\@dosectlof{\jobname}\immediate\closeout\tf@mtc} +\def\@@dosectlot{\@dosectlot{\jobname}\immediate\closeout\tf@mtc} + +\def\STC@next#1\relax#2\\{% + \edef\STC@list{#2}% + \STC@loop{#1}} +\def\STC@toc{% + \ifx\STC@list\@empty\else\expandafter\STC@explist\fi} + +\def\STC@contentsline#1#2#3{% + \gdef\thestc{\arabic{stc}} +\expandafter% + \ifx\csname #1\endcsname\section\relax + \stepcounter{stc}% % the stc counter simulates the section counter + \gdef\thestc{\arabic{stc}} +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.stc\thestc}% % UNIX +\def\stcname{\jobname.stc\thestc}}% % UNIX +{\typeout{Writing\space\jobname.S\thestc}% % MS-DOS +\def\stcname{\jobname.S\thestc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .stcN .stc->.S on MS-DOS + \immediate\openout\tf@mtc=\stcname % open next .stcN (.stc->.S if MS-DOS) + \fi +\expandafter% + \ifx\csname #1\endcsname\subsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcSSfont% + \space #3}}}}\@tempa + \fi +\expandafter% + \ifx\csname #1\endcsname\subsubsection\relax + \mtc@toks{\noexpand \leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcSSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcSSSfont% + \space #3}}}}\@tempa + \fi +\expandafter% + \ifx\csname #1\endcsname\paragraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcPfont% + \space #3}}}}\@tempa + \fi +\expandafter% + \ifx\csname #1\endcsname\subparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcSPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcSPfont + \space #3}}}}\@tempa + \fi +% Added v25: \starsection and co. + \ifx\csname #1\endcsname\starsection\relax + \stepcounter{stc}% % the stc counter simulates the section counter + \gdef\thestc{\arabic{stc}} +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.stc\thestc}% % UNIX +\def\stcname{\jobname.stc\thestc}}% % UNIX +{\typeout{Writing\space\jobname.S\thestc}% % MS-DOS +\def\stcname{\jobname.S\thestc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .stcN .stc->.S on MS-DOS + \immediate\openout\tf@mtc=\stcname % open next .stcN (.stc->.S if MS-DOS) + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubsection\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcSSfont% + \space #3}}}}\@tempa + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubsubsection\relax + \mtc@toks{\noexpand \leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcSSSfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcSSSfont% + \space #3}}}}\@tempa + \fi +\expandafter% + \ifx\csname #1\endcsname\starparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcPfont% + \space #3}}}}\@tempa + \fi +\expandafter% + \ifx\csname #1\endcsname\starsubparagraph\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\stcSPfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\stcSPfont + \space #3}}}}\@tempa + \fi +} + +\def\STC@explist{\expandafter\STC@next\STC@list\\} +\def\STC@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JSECTTOCS NOT PREPARED.^^J}% + \expandafter\STC@toc + \else + \typeout{PREPARING SECTTOCS FROM #1}% + \expandafter\STC@read\fi} +\def\STC@read{% + \read\@inputcheck to\STC@line + \expandafter\STC@test\STC@line....\STC@% + }% +\long\def\STC@test#1#2#3#4#5\STC@{% + \ifx#1\contentsline + \let\mtc@string\string + \STC@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\STC@list{\STC@list#2\relax}% + \else\ifx#1\sectend % \section* closes .stcN (.stc->.S on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\sectbegin + \addtocounter{stc}{-1}% % \section* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\STC@toc + \else\expandafter\STC@read\fi}% + +\def\SLF@next#1\relax#2\\{% + \edef\SLF@list{#2}% + \SLF@loop{#1}} +\def\SLF@lof{% + \ifx\SLF@list\@empty\else\expandafter\SLF@explist\fi} + +\def\SLF@contentsline#1#2#3{% + \gdef\thestc{\arabic{stc}} +\expandafter% + \ifx\csname #1\endcsname\xsect\relax + \stepcounter{stc}% % the stc counter simulates the section counter + \gdef\thestc{\arabic{stc}} +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.slf\thestc}% % UNIX +\def\slfname{\jobname.slf\thestc}}% % UNIX +{\typeout{Writing\space\jobname.G\thestc}% % MS-DOS +\def\slfname{\jobname.H\thestc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .slfN .slf->.H on MS-DOS + \immediate\openout\tf@mtc=\slfname % open next .slfN (.slf->.H if MS-DOS) + \fi +\expandafter% % extracts and writes info for sections, etc. + \ifx\csname #1\endcsname\figure\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\slffont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\slffont% + \space #3}}}}\@tempa + \fi +} + +\def\SLF@explist{\expandafter\SLF@next\SLF@list\\} +\def\SLF@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JSECTLOFS NOT PREPARED.^^J}% + \expandafter\SLF@lof + \else + \typeout{PREPARING SECTLOFS FROM #1}% + \expandafter\SLF@read\fi} +\def\SLF@read{% + \read\@inputcheck to\SLF@line + \expandafter\SLF@test\SLF@line....\SLF@% + }% +\long\def\SLF@test#1#2#3#4#5\SLF@{% + \ifx#1\contentsline + \let\mtc@string\string + \SLF@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\SLF@list{\SLF@list#2\relax}% + \else\ifx#1\sectend % \section* closes .slfN (.slf->.H on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\sectbegin + \addtocounter{stc}{-1}% % \section* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\SLF@lof + \else\expandafter\SLF@read\fi}% + +\def\SLT@next#1\relax#2\\{% + \edef\SLT@list{#2}% + \SLT@loop{#1}} +\def\SLT@lot{% + \ifx\SLT@list\@empty\else\expandafter\SLT@explist\fi} + +\def\SLT@contentsline#1#2#3{% + \gdef\thestc{\arabic{stc}} +\expandafter% + \ifx\csname #1\endcsname\xsect\relax + \stepcounter{stc}% % the stc counter simulates the section counter + \gdef\thestc{\arabic{stc}} +\@ifundefined{SHORTEXT}% +{\typeout{Writing\space\jobname.slt\thestc}% % UNIX +\def\mltname{\jobname.slt\thestc}}% % UNIX +{\typeout{Writing\space\jobname.V\thestc}% % MS-DOS +\def\sltname{\jobname.V\thestc}}% % MS-DOS + \immediate\closeout\tf@mtc % close current .sltN .slt->.V on MS-DOS + \immediate\openout\tf@mtc=\sltname % open next .sltN (.slt->.V if MS-DOS) + \fi +\expandafter% % extracts and writes info for subsections, etc. + \ifx\csname #1\endcsname\table\relax + \mtc@toks{\noexpand\leavevmode#2}% + \edef\@tempa{\immediate\write\tf@mtc {% + {\string\reset@font\string\sltfont\string\mtc@string% + \string\contentsline{#1}% + {\noexpand\the\mtc@toks}{\string\reset@font\string\sltfont% + \space #3}}}}\@tempa + \fi +} + +\def\SLT@explist{\expandafter\SLT@next\SLT@list\\} +\def\SLT@loop#1{\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \typeout{^^JNo file #1^^JSECTLOTS NOT PREPARED.^^J}% + \expandafter\SLT@lot + \else + \typeout{PREPARING SECTLOTS FROM #1}% + \expandafter\SLT@read\fi} +\def\SLT@read{% + \read\@inputcheck to\SLT@line + \expandafter\SLT@test\SLT@line....\SLT@% + }% +\long\def\SLT@test#1#2#3#4#5\SLT@{% + \ifx#1\contentsline + \let\mtc@string\string + \SLT@contentsline{#2}{#3}{#4}% + \let\mtc@string\relax + \else\ifx#1\@input + \edef\SLT@list{\SLT@list#2\relax}% + \else\ifx#1\sectend % \section* closes .sltN (.slt->.V on MS-DOS) + \immediate\closeout\tf@mtc + \immediate\openout\tf@mtc=\jobname.bmt % and opens a scratch file + \else\ifx#1\sectbegin + \addtocounter{stc}{-1}% % \section* has done a parasite increment + \fi\fi\fi\fi + \ifeof\@inputcheck\expandafter\SLT@lot + \else\expandafter\SLT@read\fi}% +}}{} + +\@ifundefined{section}{}{\let\l@listof\l@section} %v27 +\@ifundefined{chapter}{}{\let\l@listof\l@chapter} %v27 +\@ifundefined{part}{}{\let\l@starpart\l@part} +\@ifundefined{chapter}{}{\let\l@starchapter\l@chapter} +\@ifundefined{section}{}{\let\l@starsection\l@section} +\@ifundefined{subsection}{}{\let\l@starsubsection\l@subsection} +\@ifundefined{subsubsection}{}{\let\l@starsubsubsection\l@subsubsection} +\@ifundefined{paragraph}{}{\let\l@starparagraph\l@paragraph} +\@ifundefined{subparagraph}{}{\let\l@starsubparagraph\l@subparagraph} + +\def\noptcrule{\let\ptc@rule\relax} +\def\nomtcrule{\let\mtc@rule\relax} +\def\nostcrule{\let\stc@rule\relax} +\def\ptcrule{\def\ptc@rule{\kern-3\p@% + \hrule width \columnwidth \kern2.6\p@}} % the \hrule is .4pt high +\def\mtcrule{\def\mtc@rule{\kern-3\p@% + \hrule width \columnwidth \kern2.6\p@}} % the \hrule is .4pt high +\def\stcrule{\def\stc@rule{\kern-3\p@% + \hrule width \columnwidth \kern2.6\p@}} % the \hrule is .4pt high + +%%%% Language dependent part +\DeclareOption{american}{\input{english.mld}} +\DeclareOption{austrian}{\input{german.mld}} +\DeclareOption{brazil}{\input{portuges.mld}} +\DeclareOption{breton}{\input{breton.mld}} %v26 +\DeclareOption{catalan}{\input{catalan.mld}} +\DeclareOption{croatian}{\input{croatian.mld}} +\DeclareOption{czech}{\input{czech.mld}} +\DeclareOption{danish}{\input{danish.mld}} +\DeclareOption{dutch}{\input{dutch.mld}} +\DeclareOption{english}{\input{english.mld}} +\DeclareOption{esperant}{\input{esperant.mld}} %v26 +\DeclareOption{esperanto}{\input{esperant.mld}} %v26 +\DeclareOption{finnish}{\input{finnish.mld}} +\DeclareOption{francais}{\input{french.mld}} +\DeclareOption{french}{\input{french.mld}} +\DeclareOption{galician}{\input{galician.mld}} +\DeclareOption{german}{\input{german.mld}} +\DeclareOption{germanb}{\input{germanb.mld}} %v26 +\DeclareOption{greek}{\input{greek.mld}} %v26 +\DeclareOption{hungarian}{\input{magyar.mld}} +\DeclareOption{irish}{\input{irish.mld}} %v26 +\DeclareOption{italian}{\input{italian.mld}} +\DeclareOption{lsorbian}{\input{lsorbian.mld}} %v26 +\DeclareOption{magyar}{\input{magyar.mld}} +\DeclareOption{norsk}{\input{norsk.mld}} +\DeclareOption{nynorsk}{\input{nynorsk.mld}} %v25 +\DeclareOption{polish}{\input{polish.mld}} +\DeclareOption{portuges}{\input{portuges.mld}} +\DeclareOption{romanian}{\input{romanian.mld}} +%%%%russian not supported \DeclareOption{russian}{\input{russian.mld}} +\DeclareOption{russianb}{\input{russianb.mld}} %v26 +\DeclareOption{scottish}{\input{scottish.mld}} %v26 +\DeclareOption{slovak}{\input{slovak.mld}} +\DeclareOption{slovene}{\input{slovene.mld}} +\DeclareOption{spanish}{\input{spanish.mld}} +\DeclareOption{swedish}{\input{swedish.mld}} +\DeclareOption{turkish}{\input{turkish.mld}} +\DeclareOption{usorbian}{\input{usorbian.mld}} %v26 +\DeclareOption{vietnam}{\input{vietnam.mld}} %v27 +\DeclareOption{vietnamese}{\input{vietnam.mld}} %v27 +\DeclareOption{arab}{\input{arab.mld}} %v27 +\DeclareOption{arabic}{\input{arab.mld}} %v27 +\ExecuteOptions{english} %v27 % default +\ProcessOptions* +%%\languagespecific{russian.dtx} +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\endinput +%% +%% End of file `minitoc.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty new file mode 100644 index 00000000000..4cde86550c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -0,0 +1,302 @@ +%% +%% This is file `nameref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% nameref.dtx (with options: `package') +%% +\def\filedate{2003/12/03} +\def\fileversion{2.21} +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +\ProvidesPackage{nameref}[\filedate\space v\fileversion + \space Cross-referencing by name of section] +\def\strip@period#1.\relax#2\@@@{#1} +\newif\ifNR@showkeys +\NR@showkeysfalse +\@ifpackageloaded{showkeys}{% + \begingroup + \@ifundefined{SK@@label}{% + }{% + \global\NR@showkeystrue + }% + \endgroup +}{} +\def\label#1{% + \@bsphack + \begingroup + \let\label\@gobble + \def\ref{\protect\ref}% + \edef\@currentlabstr{% + \expandafter\strip@prefix\meaning\@currentlabelname + }% + \protected@write\@auxout{}{% + \string\newlabel{#1}{% + {\@currentlabel}% + {\thepage}% + {\expandafter\strip@period\@currentlabstr\relax.\relax\@@@}% + {\@currentHref}{}% + }% + }% + \endgroup + \@esphack +}% +\ifNR@showkeys + \def\label#1{% + \@bsphack + \SK@\SK@@label{#1}% + \begingroup + \let\label\@gobble + \def\ref{\protect\ref}% + \edef\@currentlabstr{% + \expandafter\strip@prefix\meaning\@currentlabelname + }% + \protected@write\@auxout{}{% + \string\newlabel{#1}{% + {\@currentlabel}% + {\thepage}% + {\expandafter\strip@period\@currentlabstr\relax.\relax\@@@}% + {\@currentHref}{}% + }% + }% + \endgroup + \@esphack + }% +\fi +\let\ltx@label\label +\@ifundefined{slabel}{}{% + \def\slabel#1{% + \@bsphack + \if@filesw + {% + \let\label\@gobble + \def\ref{\protect\ref}% + \edef\@currentlabstr{% + \expandafter\strip@prefix\meaning\@currentlabelname + }% + \let\thepage\relax + \def\protect{\noexpand\noexpand\noexpand}% + \edef\@tempa{% + \write\@auxout{% + \string\newlabel{#1}{% + {\thesubequation}% + {\thepage}% + {\expandafter\strip@period + \@currentlabstr\relax.\relax\@@@}% + {\@currentHref}{}% + }% + }% + }% + \expandafter + }% + \@tempa + \if@nobreak\ifvmode\nobreak\fi\fi + \fi + \@esphack + }% +} +\def\@writetocindents@{% + \begingroup + \@for\@tempa:=-1,0,1,2,3\do{% + \immediate\write\@auxout{% + \string\newlabel{tocindent\@tempa}{% + \csname r@tocindent\@tempa\endcsname{}{}{}{}% + }% + }% + }% + \endgroup} +\let\NR@sect\@sect +\newcounter{section@level} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \setcounter{section@level}{#2}% + \def\@currentlabelname{#7}% + \NR@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Sectionformat{#8}{#2}}% +} +\let\NR@ssect\@ssect +\def\@ssect#1#2#3#4#5{% + \def\@currentlabelname{#5}% + \NR@ssect{#1}{#2}{#3}{#4}{\Sectionformat{#5}{#1}}% +} +\let\NR@part\@part +\def\@part[#1]#2{% + \def\@currentlabelname{#1}% + \NR@part[{#1}]{#2}% +} +\let\NR@chapter\@chapter +\def\@chapter[#1]#2{% + \def\@currentlabelname{#1}% + \NR@chapter[{#1}]{#2}% +} +\let\NR@schapter\@schapter +\def\@schapter#1{% + \def\@currentlabelname{#1}% + \NR@schapter{#1}% +} +\AtBeginDocument{% + \@ifpackageloaded{titlesec}{% + \let\NRorg@ttl@sect@i\ttl@sect@i + \def\ttl@sect@i#1#2[#3]#4{% + \def\@currentlabelname{#4}% + \NRorg@ttl@sect@i{#1}{#2}[{#3}]{#4}% + }% + }{}% +} +\def\@currentlabelname{} +\def\@currentHref{} +\long\def\@firstoffive#1#2#3#4#5{#1} +\long\def\@secondoffive#1#2#3#4#5{#2} +\long\def\@thirdoffive#1#2#3#4#5{#3} +\long\def\@fourthoffive#1#2#3#4#5{#4} +\long\def\@fifthoffive#1#2#3#4#5{#5} +\providecommand*\@safe@activestrue{}% +\providecommand*\@safe@activesfalse{}% +\def\T@ref#1{% + \@safe@activestrue + \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}% + \@safe@activesfalse +}% +\def\T@pageref#1{% + \@safe@activestrue + \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}% + \@safe@activesfalse +}% +\ifNR@showkeys + \ifx\SK@ref\@empty + \else + \def\T@ref#1{% + \@safe@activestrue + \SK@\SK@@ref{#1}% + \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}% + \@safe@activesfalse + }% + \def\T@pageref#1{% + \@safe@activestrue + \SK@\SK@@ref{#1}% + \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}% + \@safe@activesfalse + }% + \fi +\fi +\@ifpackageloaded{hyperref}{% +}{% + \DeclareRobustCommand{\ref}{\T@ref}% + \DeclareRobustCommand{\pageref}{\T@pageref}% +} +\def\T@nameref#1{% + \@safe@activestrue + \expandafter\@setref\csname r@#1\endcsname\@thirdoffive{#1}% + \@safe@activesfalse +}% +\ifNR@showkeys + \ifx\SK@ref\@empty + \else + \def\T@nameref#1{% + \@safe@activestrue + \SK@\SK@@ref{#1}% + \expandafter\@setref\csname r@#1\endcsname\@thirdoffive{#1}% + \@safe@activesfalse + }% + \fi +\fi +\def\nameref{\protect\T@nameref} +\def\Nameref#1{`\nameref{#1}' on page~\pageref{#1}} +\providecommand\Sectionformat[2]{#1} +\ifx\csname @@vpageref\endcsname\relax +\else + \def\@@vpageref#1[#2]#3{% + \leavevmode\unskip + \global\advance\c@vrcnt\@ne + \@ifundefined{r@\the\c@vrcnt @vr}% + {\@namedef{r@\the\c@vrcnt @vr}{{??}{??}{??}{??}{??}}}{}% + \edef\@tempa{% + \expandafter\expandafter\expandafter + \@secondoffive\csname r@\the\c@vrcnt @vr\endcsname + }% + \@ifundefined{r@\the\c@vrcnt @xvr}% + {\@namedef{r@\the\c@vrcnt @xvr}{{??}{??}{??}{??}{??}}}{}% + \edef\@tempb{% + \expandafter\expandafter\expandafter + \@secondoffive\csname r@\the\c@vrcnt @xvr\endcsname + }% + {% + \let\@currentlabel\@empty + \expandafter\label\expandafter{\the\c@vrcnt @xvr}% + }% + \ifx\@tempa\@tempb + \else + \vref@err{% + \noexpand\vref at page boundary + \@tempb-\@tempa\space (may loop)% + }% + \fi + \@ifundefined{r@#3}{\@namedef{r@#3}{{??}{??}{??}{??}{??}}}{}% + \edef\@tempb{% + \expandafter\expandafter\expandafter + \@secondoffive\csname r@#3\endcsname + }% + \space + \ifx\@tempa\@tempb + #1% + \else + #2% + \is@pos@number\@tempb{% + \is@pos@number\@tempa{% + \@tempcnta\@tempa + \advance\@tempcnta\@ne + }{% + \@tempcnta\maxdimen + }% + \ifnum \@tempb =\@tempcnta + \ifodd\@tempcnta + \if@twoside + \reftextfaceafter + \else + \reftextafter + \fi + \else + \reftextafter + \fi + \else + \advance\@tempcnta-2 + \ifnum \@tempb =\@tempcnta + \ifodd\@tempcnta + \reftextbefore + \else + \if@twoside + \reftextfacebefore + \else + \reftextbefore + \fi + \fi + \else + \reftextfaraway{#3}% + \fi + \fi + }{% + \reftextfaraway{#3}% + }% + \fi + {% + \let\@currentlabel\@empty + \expandafter\label\expandafter{\the\c@vrcnt @vr}% + }% + }% + \DeclareRobustCommand\vnameref[1]{% + \unskip~\nameref{#1}% + \@vpageref[\unskip]{#1}% + } +\fi +\endinput +%% +%% End of file `nameref.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty new file mode 100644 index 00000000000..e1b9f29fc52 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -0,0 +1,56 @@ +%% +%% This is file `nohyperref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `nohyperref') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{nohyperref} + [2003/11/30 v6.74m + Dummy hyperref (SR)] +\let\hyper@@anchor\@gobble +\def\hyper@link#1#2#3{#3}% +\let\hyper@anchorstart\@gobble +\let\hyper@anchorend\@empty +\let\hyper@linkstart\@gobbletwo +\let\hyper@linkend\@empty +\def\hyper@linkurl#1#2{#1}% +\def\hyper@linkfile#1#2#3{#1}% +\let\PDF@SetupDoc\@empty +\let\PDF@FinishDoc\@empty +\let\Acrobatmenu\@gobble +\let\pdfstringdefDisableCommands\@gobbletwo +\let\texorpdfstring\@firstoftwo +\let\pdfbookmark\@undefined +\newcommand\pdfbookmark[3][]{} +\let\phantomsection\@empty +\let\hypersetup\@gobble +\let\hyperbaseurl\@gobble +\let\href\@gobble +\let\hyperdef\@gobbletwo +\let\hyperlink\@gobble +\let\hypertarget\@gobble +\def\hyperref{\@ifnextchar[\@gobbleopt{\expandafter\@gobbletwo\@gobble}} +\long\def\@gobbleopt[#1]{} +\let\hyperpage\@empty +\endinput +%% +%% End of file `nohyperref.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty new file mode 100644 index 00000000000..1db77c3170a --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty @@ -0,0 +1,920 @@ +%% +%% This is file `ntheorem.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ntheorem.dtx (with options: `package') +%% +%% +%% ### WARNING: ============================================================= +%% +%% This file is a patched version that works (it seems) with hyperref. +%% Hyperref's \contentsline version breaks with ntheorem because it puts 3 +%% arguments in the text field (e.g.: \contentsline{def}{{def}{1}{foo}}{21}) +%% +%% To work around the problem, the following steps are implemented: +%% 1/ Don't use hyperref's contentsline: restore the normal definition at the +%% beginning of \thm@processlist. +%% 2/ Let the different versions of \thm@@thmline take a 5th argument, the one +%% provided by hyperref. +%% 3/ Let \thm@lgobble take a 3rd argument, the one provided by hyperref. +%% 4/ Do the hyperlinks manually in the different versions of \thm@@thmline +%% +%% You'll find comments starting with `%%DV' around my changes in the code. +%% +%% +%% Didier Verna <verna@inf.enst.fr> +%% +%% ========================================================================== +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from ntheorem.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file ntheorem.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +\def\filedate{1998/12/03} +\def\docdate{1998/12/03} +\def\fileversion{1.14} +\def\basename{ntheorem-hyper} +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\typeout{Style `\basename', Version \fileversion\space <\filedate>} +\ProvidesPackage{ntheorem-hyper}[\filedate \space\fileversion] +\newif\if@thmmarks\@thmmarksfalse +\newif\ifthm@tempif +\DeclareOption{thmmarks}{%********************************* +\PackageInfo{\basename}{Option `thmmarks' loaded}% +\@thmmarkstrue +\newcounter{endNonectr} +\newcounter{currNonectr} +\newif\ifsetendmark\setendmarktrue +\gdef\endtrivlist{% + \@endtrivlist{\PotEndMark{\hbox{}\nobreak\hfill\nobreak}}} +\gdef\@endtrivlist#1{% % from \endtrivlist + \if@inlabel \indent\fi + \if@newlist \@noitemerr\fi + \ifhmode + \ifdim\lastskip >\z@ #1\unskip \par %<<<<<<<<<<<<<<<<<<<<<< + \else \unskip \par \fi + \fi + \if@noparlist \else + \ifdim\lastskip >\z@ + \@tempskipa\lastskip \vskip -\lastskip + \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip + \vskip\@tempskipa + \fi + \@endparenv + \fi} +\gdef\SetMark@endeqn{\quad}% as default, cf. option leqno +\gdef\endequation{\eqno \hbox{\@eqnnum \PotEndMark{\SetMark@endeqn}}% + $$\global\@ignoretrue} +\gdef\[{% + \relax\ifmmode + \@badmath + \else + \ifvmode + \nointerlineskip + \makebox[.6\linewidth]% + \fi + $$\stepcounter{end\InTheoType ctr}% + \@ifundefined{mark\roman{curr\InTheoType ctr}% + \InTheoType\roman{end\InTheoType ctr}}{\relax}% + {\ifx\csname\InTheoType Symbol\endcsname\@empty\else + \boxmaxdepth=.5ex\begin{array}[b]{l}% + \boxmaxdepth=\maxdimen\displaystyle\fi}% + \addtocounter{end\InTheoType ctr}{-1}% + %%$$ BRACE MATCH HACK + \fi} +\gdef\]{% + \stepcounter{end\InTheoType ctr}% + \@ifundefined{mark\roman{curr\InTheoType ctr}% + \InTheoType\roman{end\InTheoType ctr}}{\relax}% + {\ifx\csname\InTheoType Symbol\endcsname\@empty\else + \end{array}\fi}% + \addtocounter{end\InTheoType ctr}{-1}% + \relax\ifmmode + \ifinner + \@badmath + \else + \PotEndMark{\eqno}\global\@ignoretrue$$%%$$ BRACE MATCH HACK + \fi + \else + \@badmath + \fi + \ignorespaces} +\gdef\SetMark@endeqnarray#1{\llap{\raisebox{-1.3em}{#1}}} +\gdef\endeqnarray{% + \global\let\Oldeqnnum=\@eqnnum + \gdef\@eqnnum{\Oldeqnnum\PotEndMark{\SetMark@endeqnarray}}% + \@@eqncr + \egroup + \global\advance\c@equation\m@ne + $$\global\@ignoretrue + \global\let\@eqnnum\Oldeqnnum} +\@namedef{endeqnarray*}{% + % from \@@eqncr: + \let\reserved@a\relax + \ifcase\@eqcnt \def\reserved@a{& & &}\or \def\reserved@a{& &}% + \or \def\reserved@a{&}\else + \let\reserved@a\@empty + \@latex@error{Too many columns in eqnarray environment}\@ehc\fi + \reserved@a {\normalfont \normalcolor \PotEndMark{}}% + \global\@eqnswtrue\global\@eqcnt\z@\cr + % + \egroup + \global\advance\c@equation\m@ne + $$\global\@ignoretrue} +\gdef\endtabbing{% + \PotEndMark{\`}\@stopline\ifnum\@tabpush >\z@ \@badpoptabs + \fi\endtrivlist} +\gdef\endcenter{% + \@endtrivlist + {\PotEndMark{\rightskip0pt% + \settowidth{\leftskip}% + { \csname mark\roman{curr\InTheoType ctr}\InTheoType + \roman{end\InTheoType ctr}\endcsname}% + \advance\leftskip\@flushglue\hskip\@flushglue}}} +\gdef\@empty{} +\gdef\@endtheorem{% + \expandafter + \ifx\csname\InTheoType Symbol\endcsname\@empty\setendmarkfalse\fi + \@endtrivlist + {\ifsetendmark + \hbox{}\nobreak\hfill\nobreak\csname\InTheoType Symbol\endcsname + \setendmarkfalse \fi}% + \ifsetendmark\OrganizeTheoremSymbol\else\global\setendmarktrue\fi} +\gdef\NoEndMark{\global\setendmarkfalse} +\gdef\qed{\expandafter\def\csname \InTheoType Symbol\endcsname + {\the\qedsymbol}}% +\gdef\PotEndMark#1{\SetEndMark{\InTheoType}{#1}}% +\gdef\SetEndMark#1#2{% + \stepcounter{end#1ctr}% + \@ifundefined{mark\roman{curr#1ctr}#1\roman{end#1ctr}}% + {\relax}% + {#2{\csname mark\roman{curr#1ctr}#1\roman{end#1ctr}\endcsname}}}% +\newskip\mysavskip +\gdef\@bbsphack{% + \mysavskip\lastskip + \unskip} +\gdef\@eesphack{% + \ifdim\mysavskip>\z@ + \vskip\mysavskip \else\fi} +%% \begin{macrocode} +\gdef\OrganizeTheoremSymbol{% + \@bbsphack + \edef\thm@tmp{\expandafter\expandafter\expandafter\thm@meaning + \expandafter\meaning\csname\InTheoType Symbol\endcsname\relax}% + \protected@write\@auxout{}% + {\string\global\string\def\string\mark% + \roman{curr\InTheoType ctr}\InTheoType \roman{end\InTheoType ctr}% + {\thm@tmp}}% + \@eesphack} +} % end of option [thmmarks] +\DeclareOption{leqno}{% + \if@thmmarks + \PackageInfo{\basename}{Option `leqno' loaded}% + \gdef\SetMark@endeqn#1{\hss\llap{#1}} + \gdef\SetMark@endeqnarray#1{\hss\llap{#1}} + \fi}% +\DeclareOption{fleqn}{% +\if@thmmarks + \PackageInfo{\basename}{Option `fleqn' loaded}% + \renewcommand\[{\relax + \ifmmode\@badmath + \else + \begin{trivlist}% + \@beginparpenalty\predisplaypenalty + \@endparpenalty\postdisplaypenalty + \item[]\leavevmode + \hb@xt@\linewidth\bgroup $\m@th\displaystyle %$ + \hskip\mathindent\bgroup + \stepcounter{end\InTheoType ctr}% + \@ifundefined{mark\roman{curr\InTheoType ctr}% + \InTheoType\roman{end\InTheoType ctr}}{\relax}% + {\ifx\csname\InTheoType Symbol\endcsname\@empty\else + \boxmaxdepth=.5ex\begin{array}[b]{l}% + \boxmaxdepth=\maxdimen\displaystyle\fi}% + \addtocounter{end\InTheoType ctr}{-1}% + \fi} + \renewcommand\]{% + \stepcounter{end\InTheoType ctr}% + \@ifundefined{mark\roman{curr\InTheoType ctr}% + \InTheoType\roman{end\InTheoType ctr}}{\relax}% + {\ifx\csname\InTheoType Symbol\endcsname\@empty\else + \end{array}\fi}% + \addtocounter{end\InTheoType ctr}{-1}% + \relax\ifmmode + \egroup $\hfil\PotEndMark{}% $ + \egroup + \end{trivlist}% + \else \@badmath + \fi} +\gdef\endequation{% + $\hfil % $ + \displaywidth\linewidth\hbox{\@eqnnum \PotEndMark{\SetMark@endeqn}}% + \egroup + \endtrivlist} +\gdef\endeqnarray{% + \global\let\Oldeqnnum=\@eqnnum + \gdef\@eqnnum{\Oldeqnnum\PotEndMark{\SetMark@endeqnarray}}% + \@@eqncr + \egroup + \global\advance\c@equation\m@ne$$% $$ + \global\@ignoretrue + \global\let\@eqnnum\Oldeqnnum} +\fi}% end of option fleqn +\DeclareOption{amsmath}{% +\if@thmmarks + \PackageInfo{\basename}{Option `amsmath' loaded}% +\newdimen\thm@amstmpdepth +\gdef\TagsPlusEndmarks{% + \global\let\Old@maketag@@@=\maketag@@@ + \global\let\Old@df@tag=\df@tag + \if@eqnsw\SetTagPlusEndMark\else + \iftag@\SetTagPlusEndMark + \else\SetOnlyEndMark + \fi\fi} +\gdef\SetOnlyEndMark{% + \global\tag@true + \iftagsleft@ + \gdef\df@tag{\hbox + to \displaywidth{\hss\PotEndMark{\maketag@@@}}}% + \else + \gdef\df@tag{\PotEndMark{\maketag@@@}}% + \fi} +\gdef\SetTagPlusEndMark{% + \iftagsleft@ + \gdef\maketag@@@##1{% + \hbox to \displaywidth{\m@th\normalfont##1% + \PotEndMark{\hss}}}% + \else + \gdef\maketag@@@##1{\hbox{\m@th\normalfont##1% + \llap{\hss\PotEndMark{\raisebox{-1.3em}}}}}% + \fi} +\gdef\RestoreTags{% + \global\let\maketag@@@=\Old@maketag@@@ + \global\let\df@tag=\Old@df@tag} +\gdef\endgather{% + \TagsPlusEndmarks % <<<<<<<<< + \math@cr + \black@\totwidth@ + \egroup + $$% + \RestoreTags % <<<<<<<<< + \global\@ignoretrue} +\expandafter\let\csname endgather*\endcsname\endgather +\def\endalign{% + \ifingather@\else % <<<<<<<<< + \TagsPlusEndmarks\fi % <<<<<<<<< + \math@cr + \black@\totwidth@ + \egroup + \ifingather@ + \restorealignstate@ + \egroup + \nonumber + \ifnum0=`{\fi}% + \else + $$% + \RestoreTags % <<<<<<<<< + \fi + \global\@ignoretrue} +\expandafter\let\csname endalign*\endcsname\endalign +\let\endxalignat\endalign +\expandafter\let\csname endxalignat*\endcsname\endalign +\let\endxxalignat\endalign +\let\endalignat\endalign +\expandafter\let\csname endalignat*\endcsname\endalign +\let\endflalign\endalign +\expandafter\let\csname endflalign*\endcsname\endalign +\def\lendmultline@{% + \@eqnswfalse\tag@true\tagsleft@false + \rendmultline@} +\def\rendmultline@{% + \TagsPlusEndmarks % <<<<<<<<< + \iftag@ + \begingroup + \ifshifttag@ + \hskip\multlinegap + \llap{\vtop{% + \raise@tag + \normalbaselines + \setbox\@ne\null + \dp\@ne\lineht@ + \box\@ne + \hbox{\strut@\make@display@tag}% + }}% + \else + \hskip\multlinetaggap + \make@display@tag + \fi + \endgroup + \else + \hskip\multlinegap + \fi + \hfilneg + \math@cr + \egroup$$% + \RestoreTags} % <<<<<<<<< +\def\[{% + \relax\ifmmode% \RIfM@ <<<<<<<<<<<<<<<<<<<<<<<<<<<< + \@badmath + \else + \DN@{% + $$% + \ingather@true + \inany@true + \def\\{\@amsmath@err{\Invalid@@\\}\@eha}% + \tabskip\@mathmargin + \halign to \displaywidth\bgroup + \if@fleqn\else\hfil\fi + \setboxz@h{$\m@th\displaystyle{####}$}% + \global\totwidth@\wdz@ + \global\thm@amstmpdepth\dp0% <<<<<<<<<<<< + \boxz@ + \tabskip 0pt plus 1000pt%<<<<<<<<<<<<<< + & ####% <<<<<<<<<<<<<<<<<<<<<<<< + \tabskip 0pt% + \cr + }% + \@xp\next@ + \fi} +\def\]{% + \relax\ifmmode% \RIfM@ <<<<<<<<<< + \DN@{% + \PotEndMark{&\raisebox{-\thm@amstmpdepth}}% <<<<<<<<< + \crcr + \black@\totwidth@ + \egroup + $$% + }% + \@xp\next@ + \else + \@badmath + \fi} +\def\equation{\gather\def\\{\@amsmath@err{\Invalid@@\\}\@eha}} +\def\endequation{\endgather} +\renewenvironment{equation*}{\equation}{\nonumber\endequation} +\else\PackageError{\basename}{Option amsmath cannot be used without + option thmmarks.}\@eha +\fi +}% end of option amsmath +\let\thm@usestd\@undefined +\DeclareOption{standard}{\let\thm@usestd\relax} +\let\thm@noconfig\@undefined +\DeclareOption{noconfig}{\let\thm@noconfig\relax} +\gdef\InTheoType{None} +\def\output@None{None} +\def\None{None} +\gdef\newtheoremstyle#1#2#3{% + \expandafter\@ifundefined{th@#1}% + {\expandafter\gdef\csname th@#1\endcsname{% + \def\@begintheorem####1####2{#2}% + \def\@opargbegintheorem####1####2####3{#3}}}% + {\PackageError{\basename}{Theorem style #1 already defined}\@eha}} +\gdef\renewtheoremstyle#1#2#3{% + \expandafter\@ifundefined{th@#1}% + {\PackageError{\basename}{Theorem style #1 undefined}\@ehc}% + {}% + \expandafter\let\csname th@#1\endcsname\relax + \newtheoremstyle{#1}{#2}{#3}} +\newtheoremstyle{plain}% + {\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\theorem@separator]}% + {\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\ (##3)\theorem@separator]} +\newtheoremstyle{break}% + {\item\hbox to \textwidth{\theorem@headerfont ##1\ + ##2\theorem@separator\hfill}}% + {\item\hbox to \textwidth{\theorem@headerfont ##1\ ##2\ + (##3)\theorem@separator\hfill}} +\newtheoremstyle{change}% + {\item[\hskip\labelsep \theorem@headerfont ##2\ ##1\theorem@separator]}% + {\item[\hskip\labelsep \theorem@headerfont ##2\ ##1\ (##3)\theorem@separator]} +\newtheoremstyle{changebreak}% + {\item\hbox to \textwidth{\theorem@headerfont ##2\ + ##1\theorem@separator\hfill}}% + {\item\hbox to \textwidth{\theorem@headerfont ##2\ ##1\ + (##3)\theorem@separator\hfill}} +\newtheoremstyle{margin}% + {\item[\theorem@headerfont \llap{##2}\hskip\labelsep ##1\theorem@separator]}% + {\item[\theorem@headerfont \llap{##2}\hskip\labelsep ##1\ (##3)\theorem@separator]} +\newtheoremstyle{marginbreak}% + {\item\hbox to \textwidth{\theorem@headerfont \llap{##2}\hskip\labelsep + ##1\theorem@separator\hfill}}% + {\item\hbox to \textwidth{\theorem@headerfont + \llap{##2}\hskip\labelsep + ##1\ (##3)\theorem@separator\hfill}} +\newtheoremstyle{nonumberplain}% + {\item[\theorem@headerfont\hskip\labelsep ##1\theorem@separator]}% + {\item[\theorem@headerfont\hskip \labelsep ##1\ (##3)\theorem@separator]} +\newtheoremstyle{nonumberbreak}% + {\item\hbox to \textwidth{\theorem@headerfont\hskip\labelsep + ##1\theorem@separator\hfill}}% + {\item\hbox to \textwidth{\theorem@headerfont\hskip\labelsep + ##1\ (##3)\theorem@separator\hfill}} +\newtheoremstyle{empty}% + {\item~\hfill}% + {\item\hbox to \textwidth{\theorem@headerfont##3\hfill}} +\@namedef{th@nonumbermargin}{\th@nonumberplain} +\@namedef{th@nonumberchange}{\th@nonumberplain} +\@namedef{th@nonumbermarginbreak}{\th@nonumberbreak} +\@namedef{th@nonumberchangebreak}{\th@nonumberbreak} +\@namedef{th@plainNo}{\th@nonumberplain} +\@namedef{th@breakNo}{\th@nonumberplain} +\@namedef{th@marginNo}{\th@nonumberplain} +\@namedef{th@changeNo}{\th@nonumberplain} +\@namedef{th@marginbreakNo}{\th@nonumberbreak} +\@namedef{th@changebreakNo}{\th@nonumberbreak} +\gdef\theoremstyle#1{% + \@ifundefined{th@#1}{\@warning + {Unknown theoremstyle `#1'. Using `plain'}% + \theorem@style{plain}}% + {\theorem@style{#1}}} +\newtoks\theorem@style +\newtoks\theorem@@style +\global\theoremstyle{plain} +\newtoks\theorembodyfont +\global\theorembodyfont{\itshape} +\newtoks\theoremnumbering +\global\theoremnumbering{arabic} +\newskip\theorempreskipamount +\newskip\theorempostskipamount +\global\theorempreskipamount\topsep +\global\theorempostskipamount\topsep +\newdimen\theoremindent +\global\theoremindent0cm +\newdimen\theorem@indent +\newtoks\theoremheaderfont +\global\theoremheaderfont{\normalfont\bfseries} +\def\theorem@headerfont{\normalfont\bfseries} +\newtoks\theoremseparator +\global\theoremseparator{} +\def\theorem@separator{} +\newtoks\theoremsymbol +\global\theoremsymbol{} +\newtoks\qedsymbol +\global\qedsymbol{} +\DeclareOption{amsthm}{% + \PackageInfo{\basename}{Option `amsthm' loaded}% +\def\swapnumbers{\PackageError{\basename}{swapnumbers not implemented. + Use theoremstyle change instead.}\@eha} + +\gdef\th@plain{% + \def\theorem@headerfont{\normalfont\bfseries}\itshape% + \def\@begintheorem##1##2{% + \item[\hskip\labelsep \theorem@headerfont ##1\ ##2.]}% + \def\@opargbegintheorem##1##2##3{% + \item[\hskip\labelsep \theorem@headerfont ##1\ ##2\ (##3).]}} +\gdef\th@nonumberplain{% + \def\theorem@headerfont{\normalfont\bfseries}\itshape% + \def\@begintheorem##1##2{% + \item[\hskip\labelsep \theorem@headerfont ##1.]}% + \def\@opargbegintheorem##1##2##3{% + \item[\hskip\labelsep \theorem@headerfont ##1\ (##3).]}} +\gdef\th@definition{% + \th@plain\def\theorem@headerfont{\normalfont\bfseries}\itshape} +\gdef\th@nonumberdefinition{% + \th@nonumberplain\def\theorem@headerfont{\normalfont\bfseries}\itshape} +\gdef\th@remark{% + \th@plain\def\theorem@headerfont{\itshape}\normalfont} +\gdef\th@nonumberremark{% + \th@nonumberplain\def\theorem@headerfont{\itshape}\normalfont} +\newcounter{proof}% +\if@thmmarks + \newcounter{currproofctr}% + \newcounter{endproofctr}% +\fi +\newcommand{\openbox}{\leavevmode + \hbox to.77778em{% + \hfil\vrule + \vbox to.675em{\hrule width.6em\vfil\hrule}% + \vrule\hfil}} +\gdef\proofSymbol{\openbox} +\newcommand{\proofname}{Proof} +\newenvironment{proof}[1][\proofname]{ + \th@nonumberplain + \def\theorem@headerfont{\itshape}% + \normalfont + \theoremsymbol{\ensuremath{_\blacksquare}} + \@thm{proof}{proof}{#1}}% + {\@endtheorem} +}% end of option amsthm +\newskip\thm@topsepadd +\gdef\newtheorem{% + \@ifstar + {\edef\@tempa{{nonumber\the\theorem@style}}% + \expandafter\theorem@@style\@tempa}% + {\edef\@tempa{{\the\theorem@style}}% + \expandafter\theorem@@style\@tempa}% + \@newtheorem} + +\gdef\renewtheorem{% + \@ifstar + {\edef\@tempa{{nonumber\the\theorem@style}}% + \expandafter\theorem@@style\@tempa}% + {\edef\@tempa{{\the\theorem@style}}% + \expandafter\theorem@@style\@tempa}% + \@renewtheorem} +\gdef\@newtheorem#1{% + \thm@tempiffalse + \expandafter\@ifdefinable\csname #1\endcsname + {\expandafter\@ifdefinable\csname #1*\endcsname + {\thm@tempiftrue + \thm@definelthm{#1}% for lists + \if@thmmarks + \expandafter\@ifundefined{c@curr#1ctr}% + {\newcounter{curr#1ctr}}{}% + \expandafter\@ifundefined{c@end#1ctr}% + {\newcounter{end#1ctr}}{}% + \fi + \expandafter\xdef\csname #1Symbol\endcsname{\the\theoremsymbol}% + \expandafter\gdef\csname#1\endcsname{% + \let\thm@starredenv\@undefined + \csname mkheader@#1\endcsname}% + \expandafter\gdef\csname#1*\endcsname{% + \let\thm@starredenv\relax + \csname mkheader@#1\endcsname}% + \def\@tempa{\expandafter\noexpand\csname end#1\endcsname}% + \expandafter\xdef\csname end#1*\endcsname{\@tempa}% + \expandafter\xdef\csname setparms@#1\endcsname + {\noexpand \def \noexpand \theorem@headerfont + {\the\theoremheaderfont\noexpand\theorem@checkbold}% + \noexpand \def \noexpand \theorem@separator + {\the\theoremseparator}% + \noexpand \def \noexpand \theorem@indent + {\the\theoremindent}% + \the \theorembodyfont + \noexpand\csname th@\the \theorem@@style \endcsname}}}% + \@ifnextchar[{\@othm{#1}}{\@nthm{#1}}}% MUST NOT BE IN ANY IF !!! +\gdef\@renewtheorem#1{% + \expandafter\@ifundefined{#1}% + {\PackageError{\basename}{Theorem style #1 undefined}\@ehc}% + {}% + \expandafter\let\csname #1\endcsname\relax + \expandafter\let\csname #1*\endcsname\relax + \newtheorem{#1}} +\gdef\@nthm#1#2{% + \expandafter\xdef\csname num@addtheoremline#1\endcsname{% + \noexpand\@num@addtheoremline{#1}{#2}}% + \expandafter\xdef\csname nonum@addtheoremline#1\endcsname{% + \noexpand\@nonum@addtheoremline{#1}{#2}}% + \expandafter\xdef\csname output@#1\endcsname{#2}% + \@ifnextchar[{\@xnthm{#1}{#2}}{\@ynthm{#1}{#2}}} +\gdef\@othm#1[#2]#3{% + \@ifundefined{c@#2}{\@nocounterr{#2}}% + {\ifthm@tempif + \global\@namedef{the#1}{\@nameuse{the#2}}% + \expandafter\xdef\csname num@addtheoremline#1\endcsname{% + \noexpand\@num@addtheoremline{#1}{#3}}% + \expandafter\xdef\csname nonum@addtheoremline#1\endcsname{% + \noexpand\@nonum@addtheoremline{#1}{#3}}% + \expandafter\xdef\csname output@#1\endcsname{#3}% + \expandafter\gdef\csname mkheader@#1\endcsname + {\csname setparms@#1\endcsname + \@thm{#1}{#2}{#3}}% + \global\@namedef{end#1}{\@endtheorem}\fi}} +\gdef\@xnthm#1#2[#3]{% + \ifthm@tempif + \expandafter\@ifundefined{c@#1}% + {\@definecounter{#1}}{}% + \@newctr{#1}[#3]% + \expandafter\xdef\csname the#1\endcsname{% + \expandafter\noexpand\csname the#3\endcsname \@thmcountersep + {\noexpand\csname\the\theoremnumbering\endcsname{#1}}}% + \expandafter\gdef\csname mkheader@#1\endcsname + {\csname setparms@#1\endcsname + \@thm{#1}{#1}{#2}}% + \global\@namedef{end#1}{\@endtheorem}\fi} +\gdef\@ynthm#1#2{% + \ifthm@tempif + \expandafter\@ifundefined{c@#1}% + {\@definecounter{#1}}{}% + \expandafter\xdef\csname the#1\endcsname + {\noexpand\csname\the\theoremnumbering\endcsname{#1}}% + \expandafter\gdef\csname mkheader@#1\endcsname + {\csname setparms@#1\endcsname + \@thm{#1}{#1}{#2}}% + \global\@namedef{end#1}{\@endtheorem}\fi} +\gdef\@thm#1#2#3{% + \if@thmmarks + \stepcounter{end\InTheoType ctr}% + \fi + \renewcommand{\InTheoType}{#1}% + \if@thmmarks + \stepcounter{curr#1ctr}% + \setcounter{end#1ctr}{0}% + \fi + \refstepcounter{#2}% + \thm@topsepadd \theorempostskipamount % cf. latex.ltx: \@trivlist + \ifvmode \advance\thm@topsepadd\partopsep\fi + \trivlist + \@topsep \theorempreskipamount + \@topsepadd \thm@topsepadd % used by \@endparenv + \advance\linewidth -\theorem@indent + \advance\@totalleftmargin \theorem@indent + \parshape \@ne \@totalleftmargin \linewidth + \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}} +\def\@xthm#1#2#3{% + \@begintheorem{#3}{\csname the#2\endcsname}% + \ifx\thm@starredenv\@undefined + \thm@thmcaption{#1}{{#3}{\csname the#2\endcsname}{}}\fi + \ignorespaces} +\def\@ythm#1#2#3[#4]{% + \expandafter\global\expandafter\def\csname#1name\endcsname{#4}% + \@opargbegintheorem{#3}{\csname the#2\endcsname}{#4}% + \ifx\thm@starredenv\@undefined + \thm@thmcaption{#1}{{#3}{\csname the#2\endcsname}{#4}}\fi% + \ignorespaces} +\DeclareOption{thref}{%********************************* + \PackageInfo{\basename}{Option `thref' loaded}% +\def\label#1{ + \@ifnextchar[%] + {\label@optarg{#1}}% + {\label@optarg{#1}% + [\csname output@\InTheoType\endcsname]}} +\def\label@optarg#1[#2]{\@bsphack + \protected@write\@auxout{}% + {\string\newlabel{#1}{{\@currentlabel}{\thepage}}[#2]}% + \@esphack} +\def\@newl@bel#1#2#3{% + \@ifundefined{#1@#2}% + \relax + {\gdef \@multiplelabels {% + \@latex@warning@no@line{There were multiply-defined labels}}% + \@latex@warning@no@line{Label `#2' multiply defined}}% + \global\@namedef{#1@#2}{#3}% + \@ifnextchar[{\set@labeltype#1#2}{\relax}%] + } +\def\set@labeltype#1#2[#3]{\global\@namedef{#1@#2@type}{#3}} +\@ifpackageloaded{babel}% + {\message{ntheorem-babel adapation loaded}% + \def\newlabel#1#2{% + \@ifnextchar[{\nth@bbl@newlabel{#1}{#2}}%] + {\nth@bbl@newlabel{#1}{#2}[None]}}% + \def\nth@bbl@newlabel#1#2[#3]{% + \@safe@activestrue\bbl@newlabel{#1}{#2}[#3]\@safe@activesfalse}}% + \relax +\def\thref#1{% + \expandafter\ifx\csname r@#1@type\endcsname\None + \PackageWarning{\basename}{thref: Reference Type of `#1' on page + \thepage \space undefined}\G@refundefinedtrue + \else\csname r@#1@type\endcsname~\fi% + \expandafter\@setref\csname r@#1\endcsname\@firstoftwo{#1}} +}% end of option thref +\def\thm@thmcaption#1#2{\thm@@thmcaption{#1}#2} +\def\thm@@thmcaption#1#2#3#4{% + \thm@parseforwriting{#4}% + \edef\thm@t{{#2}{#3}{\thm@tmp}}% + \addcontentsline{thm}{#1}{\thm@t}} +\def\theoremlistall{% + \let\thm@@thmlstart=\relax + \let\thm@@thmlend=\relax +%%DV Use a fith argument (supplied by hyperref) and do the links manually + \def\thm@@thmline##1##2##3##4##5{% + \ifx\\##5\\% + \@dottedtocline{-2}{0em}{2.3em}% + {\protect\numberline{##2}##3}% + {##4} + \else + \ifhy@linktocpage + \@dottedtocline{-2}{0em}{2.3em}% + {\protect\numberline{##2}##3}% + {\hyper@linkstart{link}{##5}{##4}\hyper@linkend} + \else + \@dottedtocline{-2}{0em}{2.3em}% + {\hyper@linkstart{link}{##5}{\protect\numberline{##2}##3}% + \hyper@linkend}% + {##4} + \fi + \fi}} +%%DV \def\thm@@thmline##1##2##3##4{% +%%DV \@dottedtocline{-2}{0em}{2.3em}% +%%DV {\protect\numberline{##2}##3}% +%%DV {##4}}} +\def\theoremlistallname{% + \let\thm@@thmlstart=\relax + \let\thm@@thmlend=\relax +%%DV Use a fith argument (supplied by hyperref) and do the links manually + \def\thm@@thmline##1##2##3##4##5{% + \ifx\\##5\\% + \@dottedtocline{-2}{0em}{2.3em}% + {##1 \protect\numberline{##2}##3}% + {##4} + \else + \ifhy@linktocpage + \@dottedtocline{-2}{0em}{2.3em}% + {##1 \protect\numberline{##2}##3}% + {\hyper@linkstart{link}{##5}{##4}\hyper@linkend} + \else + \@dottedtocline{-2}{0em}{2.3em}% + {\hyper@linkstart{link}{##5}% + {##1 \protect\numberline{##2}##3}\hyper@linkend}% + {##4} + \fi + \fi}} +%%DV \def\thm@@thmline##1##2##3##4{% +%%DV \@dottedtocline{-2}{0em}{2.3em}% +%%DV {##1 \protect\numberline{##2}##3}% +%%DV {##4}}} +\def\theoremlistoptional{% + \let\thm@@thmlstart=\relax + \let\thm@@thmlend=\relax +%%DV Use a fith argument (supplied by hyperref) and do the links manually + \def\thm@@thmline##1##2##3##4##5{% + \ifx\empty ##3% + \else% + \ifx\\##5\\% + \@dottedtocline{-2}{0em}{2.3em}% + {\protect\numberline{##2}##3}% + {##4} + \else + \ifhy@linktocpage + \@dottedtocline{-2}{0em}{2.3em}% + {\protect\numberline{##2}##3}% + {\hyper@linkstart{link}{##5}{##4}\hyper@linkend} + \else + \@dottedtocline{-2}{0em}{2.3em}% + {\hyper@linkstart{link}{##5}{\protect\numberline{##2}##3}% + \hyper@linkend}% + {##4} + \fi + \fi + \fi}} +%%DV \def\thm@@thmline##1##2##3##4{% +%%DV \ifx\empty ##3% +%%DV \else% +%%DV \@dottedtocline{-2}{0em}{2.3em}% +%%DV {\protect\numberline{##2}##3}% +%%DV {##4}% +%%DV \fi}} +\def\theoremlistoptname{% + \let\thm@@thmlstart=\relax + \let\thm@@thmlend=\relax +%%DV Use a fith argument (supplied by hyperref) and do the links manually + \def\thm@@thmline##1##2##3##4##5{% + \ifx\empty ##3% + \else + \ifx\\##5\\% + \@dottedtocline{-2}{0em}{2.3em}% + {##1 \protect\numberline{##2}##3}% + {##4} + \else + \ifhy@linktocpage + \@dottedtocline{-2}{0em}{2.3em}% + {##1 \protect\numberline{##2}##3}% + {\hyper@linkstart{link}{##5}{##4}\hyper@linkend} + \else + \@dottedtocline{-2}{0em}{2.3em}% + {\hyper@linkstart{link}{##5}% + {##1 \protect\numberline{##2}##3}\hyper@linkend}% + {##4} + \fi + \fi + \fi}} +%%DV \def\thm@@thmline##1##2##3##4{% +%%DV \ifx\empty ##3% +%%DV \else% +%%DV \@dottedtocline{-2}{0em}{2.3em}% +%%DV {##1 \protect\numberline{##2}##3}% +%%DV {##4}% +%%DV \fi}} +\theoremlistall +\def\theoremlisttype#1{% + \@ifundefined{thm@thml@#1}% + {\PackageError{\basename}{Listtype #1 not defined}\@eha} + {\csname thm@thml@#1\endcsname}} +\def\thm@thml@all{\theoremlistall} +\def\thm@thml@opt{\theoremlistoptional} +\def\thm@thml@optname{\theoremlistoptname} +\def\thm@thml@allname{\theoremlistallname} +\def\newtheoremlisttype#1#2#3#4{% + \@ifundefined{thm@thml@#1}% + {\expandafter\gdef\csname thm@thml@#1\endcsname{% + \def\thm@@thmlstart{#2}% + \def\thm@@thmline####1####2####3####4{#3}% + \def\thm@@thmlend{#4}}% + }{\PackageError{\basename}{list type #1 already defined}\@eha}} +\def\renewtheoremlisttype#1#2#3#4{% + \@ifundefined{thm@thml@#1}% + {\PackageError{\basename}{List type #1 not defined}\@ehc}{}% + \expandafter\let\csname thm@thml@#1\endcsname\relax + \newtheoremlisttype{#1}{#2}{#3}{#4}} +%%DV Use a third argument (supplied by hyperref) +\def\thm@thmline#1#2#3{\thm@@thmline#1{#2}{#3}} +%%DV\def\thm@thmline#1#2{\thm@@thmline#1{#2}} +%%DV Use a third argument (supplied by hyperref) +\long\def\thm@lgobble#1#2#3{\ignorespaces} +%%DV\long\def\thm@lgobble#1#2{\ignorespaces} +\def\thm@definelthm#1{% + \expandafter\gdef\csname l@#1\endcsname{\thm@lgobble}% + \expandafter\gdef\csname thm@listdo#1\endcsname{\thm@lgobble}} +\long\def\thm@inlistdo#1#2{#2}% +\def\listtheorems#1{\begingroup% + \c@tocdepth=-2% + \def\thm@list{#1}\thm@processlist% + \endgroup} +\def\thm@processlist{% + \begingroup% + \typeout{** Generating table of \thm@list}% +%%DV: don't use hyperref's \contentsline !! Use the normal definition. + \def\contentsline##1{\csname l@##1\endcsname} + \thm@@thmlstart + \@for\thm@currentlist:=\thm@list\do{% + \ifx\thm@currentlist\@empty\else% + \expandafter\gdef\csname l@\thm@currentlist\endcsname{\thm@thmline}% + \expandafter\gdef\csname thm@listdo\thm@currentlist\endcsname{\thm@inlistdo}% + \fi% + }% + \@input{\jobname .thm}% + \thm@@thmlend% + \@for\thm@currentlist:=\thm@list\do{% + \ifx\thm@currentlist\@empty\else% + \expandafter\gdef\csname l@\thm@currentlist\endcsname{\thm@lgobble}% + \expandafter\gdef\csname thm@listdo\thm@currentlist\endcsname{\thm@lgobble}% + \fi% + }% + \endgroup} +\def\thm@enablelistoftheorems{% + \begingroup% + \makeatletter% + \if@filesw% + \expandafter\newwrite\csname tf@thm\endcsname% + \immediate\openout \csname tf@thm\endcsname \jobname.thm\relax% + \fi% + \@nobreakfalse% + \endgroup} +\def\addtheoremline{\@ifstar{\nonum@addtheoremline}{\num@addtheoremline}} +\def\nonum@addtheoremline#1{\csname nonum@addtheoremline#1\endcsname}% +\def\num@addtheoremline#1{\csname num@addtheoremline#1\endcsname}% +\def\@nonum@addtheoremline#1#2#3{% + \thm@parseforwriting{#3}% + \edef\thm@t{{#2}{}{\thm@tmp}}% + \addcontentsline{thm}{#1}{\thm@t}} +\def\@num@addtheoremline#1#2#3{% + \thm@parseforwriting{#3}% + \edef\thm@t{{#2}{\csname the#1\endcsname}{\thm@tmp}}% + \addcontentsline{thm}{#1}{\thm@t}} +\long\def\addtotheoremfile{% + \@ifnextchar[{\@@addtotheoremfile}{\@addtotheoremfile}} +\long\def\@addtotheoremfile#1{% + \thm@parseforwriting{#1}% + \protected@write\@auxout% + {}{\string\@writefile{thm}{\thm@tmp}}} +\long\def\@@addtotheoremfile[#1]#2{% + \thm@parseforwriting{#2}% + \protected@write\@auxout% + {}{\string\@writefile{thm}{\string\theoremlistdo{#1}{\thm@tmp}}}} +\long\def\theoremlistdo#1#2{\csname thm@listdo#1\endcsname{#1}{#2}} +\AtEndDocument{\thm@enablelistoftheorems} +\def\thm@meaning#1->#2\relax{#2}% remove "macro:->" +\long\def\thm@parseforwriting#1{% + \def\thm@tmp{#1}% + \edef\thm@tmp{\expandafter\thm@meaning\meaning\thm@tmp\relax}} +\def\theorem@checkbold{\if b\expandafter\@car\f@series\@nil\boldmath\fi} +\def\@greek#1{\theorem@checkbold% + \ifcase#1\or$\alpha$\or$\beta$\or$\gamma$\or$\delta$\or$\varepsilon$% + \or$\zeta$\or$\eta$\or$\vartheta$\or$\iota$\or$\kappa$\or$\lambda$\or$% + \mu$\or$\nu$\or$\xi$\or$ o$\or$\varpi$\or$\varrho$\or$\varsigma$\or$\tau$% + \or$\upsilon$\or$\varphi$\or$\chi$\or$\psi$\or$\omega$\else\@ctrerr\fi} +\def\@Greek#1{\theorem@checkbold% + \ifcase#1\or A\or B\or$\Gamma$\or$\Delta$\or E% + \or Z\or H\or$\Theta$\or I\or K\or$\Lambda$\or M% + \or N\or$\Xi$\or O\or$\Pi$\or P\or$\Sigma$\or T% + \or$\Upsilon$\or$\Phi$\or X\or$\Psi$\or$\Omega$\else\@ctrerr\fi} +\def\greek#1{\@greek{\csname c@#1\endcsname}} +\def\Greek#1{\@Greek{\csname c@#1\endcsname}} +\ProcessOptions\relax +\ifx\thm@noconfig\@undefined +\InputIfFileExists{ntheorem.cfg}% + {\PackageInfo{\basename}{Local config file ntheorem.cfg used}}% + {\ifx\thm@usestd\@undefined% + \else% + \InputIfFileExists{ntheorem.std}% + {\PackageInfo{\basename}{Standard config file ntheorem.std used}}{} + \fi} +\fi +\endinput +%% +%% End of file `ntheorem.sty'. diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def new file mode 100644 index 00000000000..5960f7d4a05 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -0,0 +1,243 @@ +%% +%% This is file `pd1enc.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `pd1enc') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{pd1enc.def} + [2003/11/30 v6.74m + Hyperref: PDFDocEncoding definition (HO)] +\DeclareFontEncoding{PD1}{}{} +\DeclareTextCommand{\textLF}{PD1}{\012} % line feed +\DeclareTextCommand{\textCR}{PD1}{\015} % carriage return +\DeclareTextCommand{\textHT}{PD1}{\011} % horizontal tab +\DeclareTextCommand{\textBS}{PD1}{\010} % backspace +\DeclareTextCommand{\textFF}{PD1}{\014} % formfeed +\DeclareTextAccent{\`}{PD1}{\textgrave} +\DeclareTextAccent{\'}{PD1}{\textacute} +\DeclareTextAccent{\^}{PD1}{\textcircumflex} +\DeclareTextAccent{\~}{PD1}{\texttilde} +\DeclareTextAccent{\"}{PD1}{\textdieresis} +\DeclareTextAccent{\r}{PD1}{\textring} +\DeclareTextAccent{\v}{PD1}{\textcaron} +\DeclareTextAccent{\.}{PD1}{\textdotaccent} +\DeclareTextAccent{\c}{PD1}{\textcedilla} +\DeclareTextCompositeCommand{\`}{PD1}{\@empty}{\textgrave} +\DeclareTextCompositeCommand{\'}{PD1}{\@empty}{\textacute} +\DeclareTextCompositeCommand{\^}{PD1}{\@empty}{\textcircumflex} +\DeclareTextCompositeCommand{\~}{PD1}{\@empty}{\texttilde} +\DeclareTextCompositeCommand{\"}{PD1}{\@empty}{\textdieresis} +\DeclareTextCompositeCommand{\r}{PD1}{\@empty}{\textring} +\DeclareTextCompositeCommand{\v}{PD1}{\@empty}{\textcaron} +\DeclareTextCompositeCommand{\.}{PD1}{\@empty}{\textdotaccent} +\DeclareTextCompositeCommand{\c}{PD1}{\@empty}{\textcedilla} +\DeclareTextCommand{\textbreve}{PD1}{\030} % breve +\DeclareTextCommand{\textcaron}{PD1}{\031} % caron +\DeclareTextCommand{\textcircumflex}{PD1}{\032} % circumflex +\DeclareTextCommand{\textdotaccent}{PD1}{\033} % dotaccent +\DeclareTextCommand{\texthungarumlaut}{PD1}{\034} % hungarumlaut +\DeclareTextCommand{\textogonek}{PD1}{\035} % ogonek +\DeclareTextCommand{\textring}{PD1}{\036} % ring +\DeclareTextCommand{\texttilde}{PD1}{\037} % tilde +\DeclareTextCommand{\textquotedbl}{PD1}{\string"} % quotedbl \042 +\DeclareTextCommand{\textnumbersign}{PD1}{\043} % numbersign +\DeclareTextCommand{\textdollar}{PD1}{\044} % dollar +\DeclareTextCommand{\textpercent}{PD1}{\045} % percent +\DeclareTextCommand{\textampersand}{PD1}{\046} % ampersand +\DeclareTextCommand{\textparenleft}{PD1}{\string\(} % parenleft \050 +\DeclareTextCommand{\textparenright}{PD1}{\string\)} % parenright \051 +\DeclareTextCommand{\textless}{PD1}{<} % less \074 +\DeclareTextCommand{\textgreater}{PD1}{>} % greater \076 +\DeclareTextCommand{\textbackslash}{PD1}{\134} % backslash +\DeclareTextCommand{\textasciicircum}{PD1}{\136} % asciicircum +\DeclareTextCommand{\textunderscore}{PD1}{\137} % underscore +\DeclareTextCommand{\textgrave}{PD1}{\140} % grave +\DeclareTextCompositeCommand{\.}{PD1}{i}{i} % i +\DeclareTextCommand{\textbraceleft}{PD1}{\173} % braceleft +\DeclareTextCommand{\textbar}{PD1}{|} % bar +\DeclareTextCommand{\textbraceright}{PD1}{\175} % braceright +\DeclareTextCommand{\textasciitilde}{PD1}{\176} % asciitilde +\DeclareTextCommand{\textbullet}{PD1}{\200} % bullet +\DeclareTextCommand{\textdagger}{PD1}{\201} % dagger +\DeclareTextCommand{\textdaggerdbl}{PD1}{\202} % daggerdbl +\DeclareTextCommand{\textellipsis}{PD1}{\203} % ellipsis +\DeclareTextCommand{\textemdash}{PD1}{\204} % emdash +\DeclareTextCommand{\textendash}{PD1}{\205} % endash +\DeclareTextCommand{\textflorin}{PD1}{\206} % florin +\DeclareTextCommand{\textfractionmark}{PD1}{/} % fraction, \207 +\DeclareTextCommand{\guilsinglleft}{PD1}{\210} % guilsinglleft +\DeclareTextCommand{\guilsinglright}{PD1}{\211} % guilsinglright +\DeclareTextCommand{\textminus}{PD1}{-} % minus, \212 +\DeclareTextCommand{\textperthousand}{PD1}{\213} % perthousand +\DeclareTextCommand{\quotedblbase}{PD1}{\214} % quotedblbase +\DeclareTextCommand{\textquotedblleft}{PD1}{\215} % quotedblleft +\DeclareTextCommand{\textquotedblright}{PD1}{\216} % quotedblright +\DeclareTextCommand{\textquoteleft}{PD1}{\217} % quoteleft +\DeclareTextCommand{\textquoteright}{PD1}{\220} % quoteright +\DeclareTextCommand{\quotesinglbase}{PD1}{\221} % quotesinglbase +\DeclareTextCommand{\texttrademark}{PD1}{\222} % trademark +\DeclareTextCommand{\textfi}{PD1}{fi} % fi ?? \223 +\DeclareTextCommand{\textfl}{PD1}{fl} % fl ?? \224 +\DeclareTextCommand{\L}{PD1}{L} % Lslash, \225 +\DeclareTextCommand{\OE}{PD1}{\226} % OE +\DeclareTextCompositeCommand{\v}{PD1}{S}{\227} % Scaron +\DeclareTextCompositeCommand{\"}{PD1}{Y}{\230} % Ydieresis +\DeclareTextCommand{\IJ}{PD1}{\230} +\DeclareTextCompositeCommand{\v}{PD1}{Z}{Z} % Zcaron, \231 +\DeclareTextCommand{\i}{PD1}{i} % dotlessi, \232 +\DeclareTextCommand{\l}{PD1}{l} % lslash, \233 +\DeclareTextCommand{\oe}{PD1}{\234} % oe +\DeclareTextCompositeCommand{\v}{PD1}{s}{\235} % scaron +\DeclareTextCompositeCommand{\v}{PD1}{z}{z} % zcaron, 236 +\DeclareTextCommand{\texteuro}{PD1}{\240} % Euro +\DeclareTextCommand{\textexclamdown}{PD1}{\241} % exclamdown +\DeclareTextCommand{\textcent}{PD1}{\242} % cent +\DeclareTextCommand{\textsterling}{PD1}{\243} % sterling +\DeclareTextCommand{\textcurrency}{PD1}{\244} % currency +\DeclareTextCommand{\textyen}{PD1}{\245} % yen +\DeclareTextCommand{\textbrokenbar}{PD1}{\246} % brokenbar +\DeclareTextCommand{\textsection}{PD1}{\247} % section +\DeclareTextCommand{\textdieresis}{PD1}{\250} % dieresis +\DeclareTextCommand{\textcopyright}{PD1}{\251} % copyright +\DeclareTextCommand{\textordfeminine}{PD1}{\252} % ordfeminine +\DeclareTextCommand{\guillemotleft}{PD1}{\253} % guillemotleft +\DeclareTextCommand{\textlogicalnot}{PD1}{\254} % logicalnot +\DeclareTextCommand{\textregistered}{PD1}{\256} % registered +\DeclareTextCommand{\textmacron}{PD1}{\257} % macron +\DeclareTextCommand{\textdegree}{PD1}{\260} % degree +\DeclareTextCommand{\textplusminus}{PD1}{\261} % plusminus +\DeclareTextCommand{\texttwosuperior}{PD1}{\262} % twosuperior +\DeclareTextCommand{\textthreesuperior}{PD1}{\263} % threesuperior +\DeclareTextCommand{\textacute}{PD1}{\264} % acute +\DeclareTextCommand{\textmu}{PD1}{\265} % mu +\DeclareTextCommand{\textparagraph}{PD1}{\266} % paragraph +\DeclareTextCommand{\textperiodcentered}{PD1}{\267} % periodcentered +\DeclareTextCommand{\textcedilla}{PD1}{\270} % cedilla +\DeclareTextCommand{\textonesuperior}{PD1}{\271} % onesuperior +\DeclareTextCommand{\textordmasculine}{PD1}{\272} % ordmasculine +\DeclareTextCommand{\guillemotright}{PD1}{\273} % guillemotright +\DeclareTextCommand{\textonequarter}{PD1}{\274} % onequarter +\DeclareTextCommand{\textonehalf}{PD1}{\275} % onehalf +\DeclareTextCommand{\textthreequarters}{PD1}{\276} % threequarters +\DeclareTextCommand{\textquestiondown}{PD1}{\277} % questiondown +\DeclareTextCompositeCommand{\`}{PD1}{A}{\300} % Agrave +\DeclareTextCompositeCommand{\'}{PD1}{A}{\301} % Aacute +\DeclareTextCompositeCommand{\^}{PD1}{A}{\302} % Acircumflex +\DeclareTextCompositeCommand{\~}{PD1}{A}{\303} % Atilde +\DeclareTextCompositeCommand{\"}{PD1}{A}{\304} % Adieresis +\DeclareTextCompositeCommand{\r}{PD1}{A}{\305} % Aring +\DeclareTextCommand{\AE}{PD1}{\306} % AE +\DeclareTextCompositeCommand{\c}{PD1}{C}{\307} % Ccedilla +\DeclareTextCompositeCommand{\`}{PD1}{E}{\310} % Egrave +\DeclareTextCompositeCommand{\'}{PD1}{E}{\311} % Eacute +\DeclareTextCompositeCommand{\^}{PD1}{E}{\312} % Ecircumflex +\DeclareTextCompositeCommand{\"}{PD1}{E}{\313} % Edieresis +\DeclareTextCompositeCommand{\`}{PD1}{I}{\314} % Igrave +\DeclareTextCompositeCommand{\'}{PD1}{I}{\315} % Iacute +\DeclareTextCompositeCommand{\^}{PD1}{I}{\316} % Icircumflex +\DeclareTextCompositeCommand{\"}{PD1}{I}{\317} % Idieresis +\DeclareTextCommand{\DH}{PD1}{\320} % Eth +\DeclareTextCommand{\DJ}{PD1}{\320} % Eth +\DeclareTextCompositeCommand{\~}{PD1}{N}{\321} % Ntilde +\DeclareTextCompositeCommand{\`}{PD1}{O}{\322} % Ograve +\DeclareTextCompositeCommand{\'}{PD1}{O}{\323} % Oacute +\DeclareTextCompositeCommand{\^}{PD1}{O}{\324} % Ocircumflex +\DeclareTextCompositeCommand{\~}{PD1}{O}{\325} % Otilde +\DeclareTextCompositeCommand{\"}{PD1}{O}{\326} % Odieresis +\DeclareTextCommand{\textmultiply}{PD1}{\327} % multiply +\DeclareTextCommand{\O}{PD1}{\330} % Oslash +\DeclareTextCompositeCommand{\`}{PD1}{U}{\331} % Ugrave +\DeclareTextCompositeCommand{\'}{PD1}{U}{\332} % Uacute +\DeclareTextCompositeCommand{\^}{PD1}{U}{\333} % Ucircumflex +\DeclareTextCompositeCommand{\"}{PD1}{U}{\334} % Udieresis +\DeclareTextCompositeCommand{\'}{PD1}{Y}{\335} % Yacute +\DeclareTextCommand{\TH}{PD1}{\336} % Thorn +\DeclareTextCommand{\ss}{PD1}{\337} % germandbls +\DeclareTextCompositeCommand{\`}{PD1}{a}{\340} % agrave +\DeclareTextCompositeCommand{\'}{PD1}{a}{\341} % aacute +\DeclareTextCompositeCommand{\^}{PD1}{a}{\342} % acircumflex +\DeclareTextCompositeCommand{\~}{PD1}{a}{\343} % atilde +\DeclareTextCompositeCommand{\"}{PD1}{a}{\344} % adieresis +\DeclareTextCompositeCommand{\r}{PD1}{a}{\345} % aring +\DeclareTextCommand{\ae}{PD1}{\346} % ae +\DeclareTextCompositeCommand{\c}{PD1}{c}{\347} % ccedilla +\DeclareTextCompositeCommand{\`}{PD1}{e}{\350} % egrave +\DeclareTextCompositeCommand{\'}{PD1}{e}{\351} % eacute +\DeclareTextCompositeCommand{\^}{PD1}{e}{\352} % ecircumflex +\DeclareTextCompositeCommand{\"}{PD1}{e}{\353} % edieresis +\DeclareTextCompositeCommand{\`}{PD1}{i}{\354} % igrave +\DeclareTextCompositeCommand{\`}{PD1}{\i}{\354} % igrave +\DeclareTextCompositeCommand{\'}{PD1}{i}{\355} % iacute +\DeclareTextCompositeCommand{\'}{PD1}{\i}{\355} % iacute +\DeclareTextCompositeCommand{\^}{PD1}{i}{\356} % icircumflex +\DeclareTextCompositeCommand{\^}{PD1}{\i}{\356} % icircumflex +\DeclareTextCompositeCommand{\"}{PD1}{i}{\357} % idieresis +\DeclareTextCompositeCommand{\"}{PD1}{\i}{\357} % idieresis +\DeclareTextCommand{\dh}{PD1}{\360} % eth +\DeclareTextCompositeCommand{\~}{PD1}{n}{\361} % ntilde +\DeclareTextCompositeCommand{\`}{PD1}{o}{\362} % ograve +\DeclareTextCompositeCommand{\'}{PD1}{o}{\363} % oacute +\DeclareTextCompositeCommand{\^}{PD1}{o}{\364} % ocircumflex +\DeclareTextCompositeCommand{\~}{PD1}{o}{\365} % otilde +\DeclareTextCompositeCommand{\"}{PD1}{o}{\366} % odieresis +\DeclareTextCommand{\textdivide}{PD1}{\367} % divide +\DeclareTextCommand{\o}{PD1}{\370} % oslash +\DeclareTextCompositeCommand{\`}{PD1}{u}{\371} % ugrave +\DeclareTextCompositeCommand{\'}{PD1}{u}{\372} % uacute +\DeclareTextCompositeCommand{\^}{PD1}{u}{\373} % ucircumflex +\DeclareTextCompositeCommand{\"}{PD1}{u}{\374} % udieresis +\DeclareTextCompositeCommand{\'}{PD1}{y}{\375} % yacute +\DeclareTextCommand{\th}{PD1}{\376} % thorn +\DeclareTextCompositeCommand{\"}{PD1}{y}{\377} % ydieresis +\DeclareTextCommand{\ij}{PD1}{\377} +\DeclareTextCommand{\SS}{PD1}{SS} +\DeclareTextCommand{\textcelsius}{PD1}{\textdegree C} +\DeclareTextCommand{\textglqq}{PD1}{\quotedblbase} +\DeclareTextCommand{\textgrqq}{PD1}{\textquotedblleft} +\DeclareTextCommand{\textglq}{PD1}{\quotesinglbase} +\DeclareTextCommand{\textgrq}{PD1}{\textquoteleft} +\DeclareTextCommand{\textflqq}{PD1}{\guillemotleft} +\DeclareTextCommand{\textfrqq}{PD1}{\guillemotright} +\DeclareTextCommand{\textflq}{PD1}{\guilsinglleft} +\DeclareTextCommand{\textfrq}{PD1}{\guilsinglright} +\DeclareTextCommand{\textneg}{PD1}{\textlogicalnot} +\DeclareTextCommand{\texttimes}{PD1}{\textmultiply} +\DeclareTextCommand{\textdiv}{PD1}{\textdivide} +\DeclareTextCommand{\textpm}{PD1}{\textplusminus} +\DeclareTextCommand{\textcdot}{PD1}{\textperiodcentered} +\DeclareTextCommand{\textbeta}{PD1}{\ss} +\DeclareTextCompositeCommand{\k}{PD1}{a}{a} % aogonek +\DeclareTextCompositeCommand{\'}{PD1}{c}{c} % cacute +\DeclareTextCompositeCommand{\k}{PD1}{e}{e} % eogonek +\DeclareTextCompositeCommand{\'}{PD1}{n}{n} % nacute +\DeclareTextCompositeCommand{\'}{PD1}{s}{s} % sacute +\DeclareTextCompositeCommand{\'}{PD1}{z}{z} % zacute +\DeclareTextCompositeCommand{\.}{PD1}{z}{z} % zdot +\DeclareTextCompositeCommand{\k}{PD1}{A}{A} % Aogonek +\DeclareTextCompositeCommand{\'}{PD1}{C}{C} % Cacute +\DeclareTextCompositeCommand{\k}{PD1}{E}{E} % Eogonek +\DeclareTextCompositeCommand{\'}{PD1}{N}{N} % Nacute +\DeclareTextCompositeCommand{\'}{PD1}{S}{S} % Sacute +\DeclareTextCompositeCommand{\'}{PD1}{Z}{Z} % Zacute +\DeclareTextCompositeCommand{\.}{PD1}{Z}{Z} % Zdot +\endinput +%% +%% End of file `pd1enc.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def new file mode 100644 index 00000000000..1f4d65eefec --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -0,0 +1,1158 @@ +%% +%% This is file `pdfmark.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `pdfmark,pdfmarkbase,pdfform,outlines') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{pdfmark.def} + [2003/11/30 v6.74m + Hyperref definitions for pdfmark specials] +\def\Hy@PutCatalog#1{% + \pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}% +} +\ifHy@pagelabels + \def\HyPL@StorePageLabel#1{% + \if@filesw + \begingroup + \edef\Hy@tempa{\the\Hy@abspage\space<< #1 >> }% + \immediate\write\@mainaux{% + \string\HyPL@Entry{\Hy@tempa}% + }% + \endgroup + \fi + } + \AfterBeginDocument{% + \if@filesw + \immediate\write\@mainaux{% + \string\providecommand\string*\string\HyPL@Entry[1]{}% + }% + \fi + \ifx\HyPL@Labels\@empty + \Hy@WarningNoLine{Rerun to get /PageLabels entry}% + \else + \HyPL@SetPageLabels + \fi + \let\HyPL@Entry\@gobble + }% + \def\HyPL@Entry#1{% + \expandafter\gdef\expandafter\HyPL@Labels\expandafter{% + \HyPL@Labels + #1% + }% + } +\fi +\def\Hy@DistillerDestFix{% + \begingroup + \let\x\literalps@out + \ifnum \@ifundefined{OpMode}{0}{% + \@ifundefined{gexmode}{0}{% + \ifnum\gexmode>0 \OpMode\else 0\fi + }}>1 % + \def\x##1{% + \immediate\special{!=##1}% + }% + \fi + \x{% + /product where{% + pop % + product(Distiller)search{% + pop pop pop % + version(.)search{% + exch pop exch pop% + (3011)eq{% + gsave % + newpath 0 0 moveto closepath clip% + /Courier findfont 10 scalefont setfont % + 72 72 moveto(.)show % + grestore% + }if% + }{pop}ifelse% + }{pop}ifelse% + }if% + }% + \endgroup +} +\def\hyper@anchor#1{% + \Hy@SaveLastskip + \begingroup + \pdfmark[\anchor@spot]{% + pdfmark=/DEST,% + linktype=anchor,% + View=/\@pdfview \@pdfviewparams,% + DestAnchor={#1}% + }% + \endgroup + \Hy@RestoreLastskip +} +\@ifundefined{hyper@anchorstart}{}{\endinput} +\def\hyper@anchorstart#1{% + \Hy@SaveLastskip + \literalps@out{H.S}% + \xdef\hyper@currentanchor{#1}% + \Hy@activeanchortrue +} +\def\hyper@anchorend{% + \literalps@out{\strip@pt@and@otherjunk\baselineskip\space H.A}% + \pdfmark{% + pdfmark=/DEST,% + linktype=anchor,% + View=/\@pdfview \@pdfviewparams,% + DestAnchor=\hyper@currentanchor,% + Raw=H.B% + }% + \Hy@activeanchorfalse + \Hy@RestoreLastskip +} +\def\hyper@linkstart#1#2{% + \ifHy@breaklinks + \else + \leavevmode\hbox\bgroup + \fi + \Hy@colorlink{\csname @#1color\endcsname}% + \literalps@out{H.S}% + \xdef\hyper@currentanchor{#2}% + \gdef\hyper@currentlinktype{#1}% +} +\def\hyper@linkend{% + \literalps@out{\strip@pt@and@otherjunk\baselineskip\space H.L}% + \edef\Hy@temp{\csname @\hyper@currentlinktype bordercolor\endcsname}% + \pdfmark{% + pdfmark=/ANN,% + linktype=link,% + Subtype=/Link,% + Dest=\hyper@currentanchor,% + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + Color=\Hy@temp,% + Raw=H.B% + }% + \Hy@endcolorlink + \ifHy@breaklinks + \else + \egroup + \fi +} +\begingroup + \catcode`P=12 + \catcode`T=12 + \lowercase{\endgroup + \gdef\rem@ptetc#1.#2PT#3!{#1\ifnum#2>\z@.#2\fi}% +} +\def\strip@pt@and@otherjunk#1{\expandafter\rem@ptetc\the#1!} +\def\hyper@pagetransition{% + \ifx\@pdfpagetransition\relax + \else + \ifx\@pdfpagetransition\@empty + % 1. Does an old entry have to be deleted? + % 2. If 1=yes, how to delete? + \else + \pdfmark{% + pdfmark=/PUT,% + Raw={% + \string{ThisPage\string}% + <</Trans << /S /\@pdfpagetransition\space >> >>% + }% + }% + \fi + \fi +} +\def\hyper@pageduration{% + \ifx\@pdfpageduration\relax + \else + \ifx\@pdfpageduration\@empty + % 1. Does an old entry have to be deleted? + % 2. If 1=yes, how to delete? + \else + \pdfmark{% + pdfmark=/PUT,% + Raw={% + \string{ThisPage\string}% + <</Dur \@pdfpageduration>>% + }% + }% + \fi + \fi +} +\def\hyper@pagehidden{% + \ifHy@useHidKey + \pdfmark{% + pdfmark=/PUT,% + Raw={% + \string{ThisPage\string}% + <</Hid \ifHy@pdfpagehidden true\else false\fi>>% + }% + }% + \fi +} +\def\hyper@image#1#2{% + \hyper@linkurl{#2}{#1}} +\def\Hy@undefinedname{UNDEFINED} +\def\hyper@link#1#2#3{% + \edef\Hy@temp{\csname @#1bordercolor\endcsname}% + \begingroup + \protected@edef\Hy@testname{#2}% + \ifx\Hy@testname\@empty + \let\Hy@testname\Hy@undefinedname + \fi + \pdfmark[{#3}]{% + Color=\Hy@temp,% + linktype={#1},% + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + pdfmark=/ANN,% + Subtype=/Link,% + Dest=\Hy@testname + }% + \endgroup +} +\newtoks\pdf@docset +\def\PDF@FinishDoc{% + \Hy@UseMaketitleInfos + \pdfmark{% + pdfmark=/DOCINFO,% + Title=\@pdftitle,% + Subject=\@pdfsubject,% + Creator=\@pdfcreator,% + Author=\@pdfauthor,% + Producer=\@pdfproducer,% + Keywords=\@pdfkeywords + }% + \Hy@DisableOption{pdfauthor}% + \Hy@DisableOption{pdftitle}% + \Hy@DisableOption{pdfsubject}% + \Hy@DisableOption{pdfcreator}% + \Hy@DisableOption{pdfproducer}% + \Hy@DisableOption{pdfkeywords}% +} +\def\PDF@SetupDoc{% + \pdfmark{% + pdfmark=/DOCVIEW,% + Page=\@pdfstartpage,% + View=\@pdfstartview,% + PageMode=\@pdfpagemode + }% + \ifx\@pdfpagescrop\@empty + \else + \pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}% + \fi + \edef\Hy@temp{% + \ifHy@toolbar\else /HideToolbar true\fi + \ifHy@menubar\else /HideMenubar true\fi + \ifHy@windowui\else /HideWindowUI true\fi + \ifHy@fitwindow /FitWindow true\fi + \ifHy@centerwindow /CenterWindow true\fi + \ifHy@displaydoctitle /DisplayDocTitle true\fi + \ifx\@pdfnonfullscreenpagemode\@empty + \else + /NonFullScreenPageMode\@pdfnonfullscreenpagemode + \fi + }% + \pdfmark{% + pdfmark=/PUT,% + Raw={% + \string{Catalog\string} << + \ifx\Hy@temp\@empty + \else + /ViewerPreferences<<\Hy@temp>>% + \fi + \ifx\pdf@pagelayout\@empty + \else + /PageLayout /\pdf@pagelayout\space + \fi + \ifx\@baseurl\@empty + \else + /URI << /Base (\@baseurl) >>% + \fi + >>% + }% + }% +} +\def\pdfmark{\@ifnextchar[{\pdfmark@}{\pdfmark@[]}} +\def\pdfmark@[#1]#2{% + \edef\@processme{\noexpand\pdf@toks={\the\pdf@defaulttoks}}% + \@processme + \let\pdf@type\relax + \setkeys{PDF}{#2}% + \ifx\pdf@type\relax + \Hy@WarningNoLine{no pdfmark type specified in #2!!}% + \ifx\\#1\\\relax\else\pdf@rect{#1}\fi + \else + \ifx\\#1\\\relax + \literalps@out{[\the\pdf@toks\space\pdf@type\space pdfmark}% + \else + \Hy@colorlink{\@ifundefined{@\pdf@linktype color}% + {\@linkcolor}% + {\csname @\pdf@linktype color\endcsname}}% + \pdf@rect{#1}% + \literalps@out{[\the\pdf@toks\space\pdf@type\space pdfmark}% + \Hy@endcolorlink + \fi + \fi +} +\newsavebox{\pdf@box} +\def\pdf@rect#1{% + \leavevmode + \sbox\pdf@box{#1}% + \dimen@\ht\pdf@box + \leavevmode + \ifdim\dp\pdf@box=\z@ + \literalps@out{H.S}% + \else + \lower\dp\pdf@box\hbox{\literalps@out{H.S}}% + \fi + \ifHy@breaklinks\unhbox\else\box\fi\pdf@box + \ifdim\dimen@=\z@ + \literalps@out{H.R}% + \else + \raise\dimen@\hbox{\literalps@out{H.R}}% + \fi + \pdf@addtoksx{H.B}% +} +\newtoks\pdf@toks +\newtoks\pdf@defaulttoks +\pdf@defaulttoks={}% +\def\pdf@addtoks#1#2{% + \edef\@processme{\pdf@toks{\the\pdf@toks\space /#2 #1}}% + \@processme +} +\def\pdf@addtoksx#1{% + \edef\@processme{\pdf@toks{\the\pdf@toks\space #1}}% + \@processme +} +\def\PDFdefaults#1{% + \pdf@defaulttoks={#1}% +} +\define@key{PDF}{pdfmark}{\def\pdf@type{#1}} +\define@key{PDF}{linktype}{\def\pdf@linktype{#1}} +\def\pdf@linktype{link} +\define@key{PDF}{Raw}{\pdf@addtoksx{#1}} +\define@key{PDF}{Action}{\pdf@addtoks{#1}{Action}} +\define@key{PDF}{Border}{\pdf@addtoks{[#1]}{Border}} +\define@key{PDF}{Color}{\pdf@addtoks{[#1]}{Color}} +\define@key{PDF}{Contents}{\pdf@addtoks{(#1)}{Contents}} +\define@key{PDF}{Count}{\pdf@addtoks{#1}{Count}} +\define@key{PDF}{CropBox}{\pdf@addtoks{[#1]}{CropBox}} +\define@key{PDF}{DOSFile}{\pdf@addtoks{(#1)}{DOSFile}} +\define@key{PDF}{DataSource}{\pdf@addtoks{(#1)}{DataSource}} +\define@key{PDF}{Dest}{% + \begingroup + \edef\x{#1}% + \expandafter\endgroup + \ifx\x\@empty\else\pdf@addtoks{(#1) cvn}{Dest}\fi +} +\define@key{PDF}{DestAnchor}{% + \begingroup + \edef\x{#1}% + \expandafter\endgroup + \ifx\x\@empty\else\pdf@addtoks{(#1) cvn}{Dest}\fi +} +\define@key{PDF}{Dir}{\pdf@addtoks{(#1)}{Dir}} +\define@key{PDF}{File}{\pdf@addtoks{(#1)}{File}} +\define@key{PDF}{Flags}{\pdf@addtoks{#1}{Flags}} +\define@key{PDF}{AcroHighlight}{\pdf@addtoks{#1}{H}} +\define@key{PDF}{ID}{\pdf@addtoks{[#1]}{ID}} +\define@key{PDF}{MacFile}{\pdf@addtoks{(#1)}{MacFile}} +\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} +\define@key{PDF}{Op}{\pdf@addtoks{(#1)}{Op}} +\define@key{PDF}{Open}{\pdf@addtoks{#1}{Open}} +\define@key{PDF}{Page}{\pdf@addtoks{#1}{Page}} +\define@key{PDF}{PageMode}{\pdf@addtoks{#1}{PageMode}} +\define@key{PDF}{Params}{\pdf@addtoks{(#1)}{Params}} +\define@key{PDF}{Rect}{\pdf@addtoks{[#1]}{Rect}} +\define@key{PDF}{SrcPg}{\pdf@addtoks{#1}{SrcPg}} +\define@key{PDF}{Subtype}{\pdf@addtoks{#1}{Subtype}} +\define@key{PDF}{Title}{\pdf@addtoks{(#1)}{Title}} +\define@key{PDF}{Unix}{\pdf@addtoks{(#1)}{Unix}} +\define@key{PDF}{UnixFile}{\pdf@addtoks{(#1)}{UnixFile}} +\define@key{PDF}{View}{\pdf@addtoks{[#1]}{View}} +\define@key{PDF}{WinFile}{\pdf@addtoks{(#1)}{WinFile}} +\define@key{PDF}{Author}{\pdf@addtoks{(#1)}{Author}} +\define@key{PDF}{CreationDate}{\pdf@addtoks{(#1)}{CreationDate}} +\define@key{PDF}{Creator}{\pdf@addtoks{(#1)}{Creator}} +\define@key{PDF}{Producer}{\pdf@addtoks{(#1)}{Producer}} +\define@key{PDF}{Subject}{\pdf@addtoks{(#1)}{Subject}} +\define@key{PDF}{Keywords}{\pdf@addtoks{(#1)}{Keywords}} +\define@key{PDF}{ModDate}{\pdf@addtoks{(#1)}{ModDate}} +\define@key{PDF}{Base}{\pdf@addtoks{(#1)}{Base}} +\define@key{PDF}{URI}{\pdf@addtoks{#1}{URI}} +\def\Acrobatmenu#1#2{% + \pdfmark[{#2}]{% + linktype=menu,% + pdfmark=/ANN,% + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + Action={<< /Subtype /Named /N /#1 >>},% + Subtype=/Link% + }% +} +\def\PDFNextPage{\@ifnextchar[{\PDFNextPage@}{\PDFNextPage@[]}} +\def\PDFNextPage@[#1]#2{% + \pdfmark[{#2}]{#1,Border=\@pdfborder,Color=.2 .1 .5, + pdfmark=/ANN,Subtype=/Link,Page=/Next}} +\def\PDFPreviousPage{% + \@ifnextchar[{\PDFPreviousPage@}{\PDFPreviousPage@[]}% +} +\def\PDFPreviousPage@[#1]#2{% + \pdfmark[{#2}]{#1,Border=\@pdfborder,Color=.4 .4 .1, + pdfmark=/ANN,Subtype=/Link,Page=/Prev}} +\def\PDFOpen#1{% + \pdfmark{#1,pdfmark=/DOCVIEW}% +} +\def\PDFPage{\@ifnextchar[{\PDFPage@}{\PDFPage@[]}} +\def\PDFPage@[#1]#2#3{% + \let\pageref\simple@pageref + \pdfmark[{#3}]{% + #1,% + Page={#2},% + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + Color=\@pagebordercolor,% + pdfmark=/ANN,% + Subtype=/Link% + }% +} +\def\simple@pageref#1{% + \expandafter\ifx\csname r@#1\endcsname\relax + 0% + \else + \expandafter\expandafter\expandafter + \@secondoffive\csname r@#1\endcsname + \fi} +\def\hyper@linkurl#1#2{% + \begingroup + \hyper@chars + \leavevmode + \pdfmark[{#1}]{% + pdfmark=/ANN,% + linktype=url,% + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + Color=\@urlbordercolor,% + Action={<< /Subtype /URI /URI (#2) >>},% + Subtype=/Link% + }% + \endgroup +} +\def\hyper@linkfile#1#2#3{% + \begingroup + \leavevmode + \pdfmark[{#1}]{% + pdfmark=/ANN,% + Subtype=/Link, + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + linktype=file,% + Color=\@filebordercolor,% + Action={<< + /S /GoToR + \ifHy@newwindow /NewWindow true \fi + /F (#2) + /D \ifx\\#3\\[0 \@pdfstartview]\else(#3) cvn\fi + >>}% + }% + \endgroup +} +\def\@hyper@launch run:#1\\#2#3{% + \begingroup + \leavevmode + \pdfmark[{#2}]{% + pdfmark=/ANN,% + Subtype=/Link,% + AcroHighlight=\@pdfhighlight,% + Border=\@pdfborder,% + linktype=file,% + Color=\@filebordercolor,% + Action={<< + /S /Launch + \ifHy@newwindow /NewWindow true \fi + /F (#1) + \ifx\\#3\\\else /Win << /P (#3) /F (#1) >> \fi + >>}% + }% + \endgroup +} +\long\def\@Form[#1]{% +\AtBeginDvi{% + \headerps@out{% +[ /_objdef {pdfDocEncoding} + /type /dict +/OBJ pdfmark +[ {pdfDocEncoding} + << /Type /Encoding + /Differences [ 24 /breve /caron /circumflex /dotaccent +/hungarumlaut /ogonek /ring /tilde 39 /quotesingle 96 /grave 128 +/bullet /dagger /daggerdbl /ellipsis /emdash /endash /florin /fraction +/guilsinglleft /guilsinglright /minus /perthousand /quotedblbase +/quotedblleft /quotedblright /quoteleft /quoteright /quotesinglbase +/trademark /fi /fl /Lslash /OE /Scaron /Ydieresis /Zcaron /dotlessi +/lslash /oe /scaron /zcaron 164 /currency 166 /brokenbar 168 /dieresis +/copyright /ordfeminine 172 /logicalnot /.notdef /registered /macron +/degree /plusminus /twosuperior /threesuperior /acute /mu 183 +/periodcentered /cedilla /onesuperior /ordmasculine 188 /onequarter +/onehalf /threequarters 192 /Agrave /Aacute /Acircumflex /Atilde +/Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex +/Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde +/Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash +/Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls +/agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla +/egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex +/idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde +/odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis +/yacute /thorn /ydieresis ] +>> +/PUT pdfmark +[ /_objdef {ZaDb} + /type /dict +/OBJ pdfmark +[ {ZaDb} + << + /Type /Font + /Subtype /Type1 + /Name /ZaDb + /BaseFont /ZapfDingbats + >> +/PUT pdfmark +[ /_objdef {Helv} + /type /dict +/OBJ pdfmark +[ {Helv} + << + /Type /Font + /Subtype /Type1 + /Name /Helv + /BaseFont /Helvetica + /Encoding {pdfDocEncoding} + >> +/PUT pdfmark +[ /_objdef {aform} + /type /dict +/OBJ pdfmark +[ /_objdef {afields} + /type /array +/OBJ pdfmark +[/BBox [0 0 100 100] /_objdef {Check} /BP pdfmark +1 0 0 setrgbcolor /ZapfDingbats 80 selectfont 20 20 moveto (4) show +[/EP pdfmark +[/BBox [0 0 100 100] /_objdef {Cross} /BP pdfmark +1 0 0 setrgbcolor /ZapfDingbats 80 selectfont 20 20 moveto (8) show +[/EP pdfmark +[/BBox [0 0 250 100] /_objdef {Submit} /BP pdfmark 0.6 setgray 0 0 250 +100 rectfill 1 setgray 2 2 moveto 2 98 lineto 248 98 lineto 246 96 +lineto 4 96 lineto 4 4 lineto fill 0.34 setgray 248 98 moveto 248 2 +lineto 2 2 lineto 4 4 lineto 246 4 lineto 246 96 lineto fill +/Helvetica 76 selectfont 0 setgray 8 22.5 moveto (Submit) show +[/EP pdfmark +[/BBox [0 0 250 100] /_objdef {SubmitP} /BP pdfmark 0.6 setgray 0 0 +250 100 rectfill 0.34 setgray 2 2 moveto 2 98 lineto 248 98 lineto 246 +96 lineto 4 96 lineto 4 4 lineto fill 1 setgray 248 98 moveto 248 2 +lineto 2 2 lineto 4 4 lineto 246 4 lineto 246 96 lineto fill +/Helvetica 76 selectfont 0 setgray 10 20.5 moveto (Submit) show +[/EP pdfmark +[ {aform} + << + /Fields {afields} + /DR << /Font << /ZaDb {ZaDb} /Helv {Helv} >> >> + /DA (/Helv 10 Tf 0 g ) + /CO {corder} + /NeedAppearances true + >> +/PUT pdfmark +[ \string{Catalog\string} + << + /AcroForm {aform} + >> +/PUT pdfmark +[ /_objdef {corder} /type /array /OBJ pdfmark % dps +}}% + \setkeys{Form}{#1}% +} +\def\@endForm{} +\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum + \typeout{Sorry, pdfmark drivers do not support FORM gauges}% +} +\def\@TextField[#1]#2{% parameters, label + \def\Fld@name{#2}% + \def\Fld@default{}% + \let\Fld@value\@empty + \def\Fld@width{\DefaultWidthofText}% + \def\Fld@height{\DefaultHeightofText}% + \ifFld@multiline + \begingroup + \dimen@=\DefaultHeightofText + \dimen@=4\dimen@ + \edef\x{\endgroup + \def\noexpand\Fld@height{\the\dimen@}% + }% + \x + \fi + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi + \LayoutTextField{#2}{% + \pdfmark[\MakeTextField{\Fld@width}{\Fld@height}]{% + pdfmark=/ANN,Raw={\PDFForm@Text}% + }% + }% + \egroup +} +\def\@ChoiceMenu[#1]#2#3{% parameters, label, choices + \def\Fld@name{#2}% + \def\Fld@default{}% + \def\Fld@width{\DefaultWidthofChoiceMenu}% + \def\Fld@height{\DefaultHeightofChoiceMenu}% + \bgroup + \Fld@menulength=0 + \@tempdima\z@ + \@for\@curropt:=#3\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@menulength + \settowidth{\@tempdimb}{\@currDisplay}% + \ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi + }% + \advance\@tempdima by 15\p@ + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutChoiceField{#2}{% + \ifFld@radio + \@@Radio{#3}% + \else + {% + \ifdim\Fld@width<\@tempdima + \ifdim\@tempdima<1cm\@tempdima1cm\fi + \edef\Fld@width{\the\@tempdima}% + \fi + \def\Fld@flags{}% + \ifFld@combo\def\Fld@flags{/Ff 917504}\fi + \ifFld@popdown\def\Fld@flags{/Ff 131072}\fi + \ifx\Fld@flags\@empty + \@tempdima=\the\Fld@menulength\Fld@charsize + \advance\@tempdima by \Fld@borderwidth bp + \advance\@tempdima by \Fld@borderwidth bp + \edef\Fld@height{\the\@tempdima}% + \fi + \@@Listbox{#3}% + }% + \fi + }% + \egroup +} +\def\@@Radio#1{% + \Fld@listcount=0 + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@listcount + \@currDisplay\space + \pdfmark[\MakeRadioField{\Fld@width}{\Fld@height}]{% + pdfmark=/ANN,% + Raw={\PDFForm@Radio /AP <</N <</\@currValue\space {Check}>> >>}% + } % deliberate space between radio buttons + }% +} +\newcount\Fld@listcount +\def\@@Listbox#1{% + \Choice@toks={ }% + \Fld@listcount=0 + \@for\@curropt:=#1\do{% + \expandafter\Fld@checkequals\@curropt==\\% + \Hy@StepCount\Fld@listcount + \edef\@processme{% + \Choice@toks{\the\Choice@toks [(\@currValue) (\@currDisplay)]}% + }\@processme + }% + \pdfmark[\MakeChoiceField{\Fld@width}{\Fld@height}]{% + pdfmark=/ANN,Raw={\PDFForm@List}% + }% +} +\def\@PushButton[#1]#2{% parameters, label + \def\Fld@name{#2}% + \bgroup + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutPushButtonField{% + \pdfmark[\MakeButtonField{#2}]{% + pdfmark=/ANN,Raw={\PDFForm@Push}% + }% + }% + \egroup +} +\def\@Submit[#1]#2{% + \Field@toks={ }% + \def\Fld@width{\DefaultWidthofSubmit}% + \def\Fld@height{\DefaultHeightofSubmit}% + \bgroup + \def\Fld@name{Submit}% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \pdfmark[\MakeButtonField{#2}]{% + pdfmark=/ANN,% + Raw={\PDFForm@Submit /AP << /N {Submit} /D {SubmitP} >>}% + }% + \egroup +} +\def\@Reset[#1]#2{% + \Field@toks={ }% + \def\Fld@width{\DefaultWidthofReset}% + \def\Fld@height{\DefaultHeightofReset}% + \bgroup + \def\Fld@name{Reset}% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \pdfmark[\MakeButtonField{#2}]{% + pdfmark=/ANN,Raw={\PDFForm@Reset}% + }% + \egroup +} +\def\@CheckBox[#1]#2{% parameters, label + \def\Fld@name{#2}% + \def\Fld@default{0}% + \bgroup + \def\Fld@width{\DefaultWidthofCheckBox}% + \def\Fld@height{\DefaultHeightofCheckBox}% + \Field@toks={ }% + \setkeys{Field}{#1}% + \ifFld@hidden\def\Fld@width{1sp}\fi + \LayoutCheckField{#2}{% + \pdfmark[\MakeCheckField{\Fld@width}{\Fld@height}]{% + pdfmark=/ANN,Raw={\PDFForm@Check}% + }% + }% + \egroup +} +\def\PDFForm@Check{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /Q \Fld@align\space + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + /CA (\Fld@cbsymbol) + >> + /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg) + /FT /Btn + /H /P + \ifFld@checked /V /Yes \else /V /Off \fi +} +\def\PDFForm@Push{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 65540 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + >> + /A << /S /JavaScript /JS (\Fld@onclick;) >> +} +\def\Fld@additionalactions{% + /AA << + \ifx\Fld@keystroke@code\@empty + \else + /K << /S /JavaScript /JS (\Fld@keystroke@code) >> + \fi + \ifx\Fld@format@code\@empty + \else + /F << /S /JavaScript /JS (\Fld@format@code) >> + \fi + \ifx\Fld@validate@code\@empty + \else + /V << /S /JavaScript /JS (\Fld@validate@code) >> + \fi + \ifx\Fld@calculate@code\@empty + \else + /C << /S /JavaScript /JS (\Fld@calculate@code) >> + \fi + \ifx\Fld@onfocus@code\@empty + \else + /Fo << /S /JavaScript /JS (\Fld@onfocus@code) >> + \fi + \ifx\Fld@onblur@code\@empty + \else + /Bl << /S /JavaScript /JS (\Fld@onblur@code) >> + \fi + \ifx\Fld@onmousedown@code\@empty + \else + /D << /S /JavaScript /JS (\Fld@onmousedown@code) >> + \fi + \ifx\Fld@onmouseup@code\@empty + \else + /U << /S /JavaScript /JS (\Fld@onmouseup@code) >> + \fi + \ifx\Fld@onenter@code\@empty + \else + /E << /S /JavaScript /JS (\Fld@onenter@code) >> + \fi + \ifx\Fld@onexit@code\@empty + \else + /X << /S /JavaScript /JS (\Fld@onexit@code) >> + \fi + >> +} +\def\PDFForm@List{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Ch + /Q \Fld@align\space + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + >> + /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) + /Opt [\the\Choice@toks] + /DV (\Fld@default) + \Fld@additionalactions + \Fld@flags +} +\def\PDFForm@Radio{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 49152 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + /CA (H) + >> + /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg) + \ifx\@currValue\Fld@default + /V /\Fld@default\space + \else + /V /Off + \fi + \Fld@additionalactions +} +\def\PDFForm@Text{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /Q \Fld@align\space + /FT /Tx + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + \ifx\Fld@bcolor\@empty + \else + /BG [\Fld@bcolor] + \fi + >> + /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) + /DV (\Fld@default) + /V (\Fld@value) + \Fld@additionalactions + \ifFld@multiline + \ifFld@readonly /Ff 4097 \else /Ff 4096 \fi + \else + \ifFld@password + \ifFld@readonly /Ff 8193 \else /Ff 8192 \fi + \else + \ifFld@readonly /Ff 1 \fi + \fi + \fi + \ifnum\Fld@maxlen>0/MaxLen \Fld@maxlen \fi +} +\def\PDFForm@Submit{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /Ff 65540 + /H /P + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /MK << + /BC [\Fld@bordercolor] + >> + /A << + /S /SubmitForm + /F << + /FS /URL + /F (\Form@action) + >> + \ifForm@html /Flags 4 \fi + >> +} +\def\PDFForm@Reset{% + /Subtype /Widget + \ifFld@hidden /F 6 \else /F 4 \fi + /T (\Fld@name) + /FT /Btn + /H /P + /DA (/Helv \strip@pt\Fld@charsize\space Tf 0 0 1 rg) + /Ff 65540 + /MK << + /BC [\Fld@bordercolor] + >> + /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> + /A << /S /ResetForm >> +} +\newwrite\@outlinefile +\def\Hy@writebookmark#1#2#3#4#5{% section number, text, label, level, file + \ifx\WriteBookmarks\relax% + \else + \ifnum#4>\c@tocdepth + \else + \@@writetorep{#1}{#2}{#3}{#4}{#5}% + \fi + \fi} +\def\Hy@currentbookmarklevel{0} +\def\Hy@numberline#1{#1 } +\def\@@writetorep#1#2#3#4#5{% + \begingroup + \edef\Hy@tempa{#5}% + \ifx\Hy@tempa\Hy@bookmarkstype + \edef\Hy@level{#4}% + \ifx\Hy@levelcheck Y% + \@tempcnta\Hy@level\relax + \advance\@tempcnta by -1 + \ifnum\Hy@currentbookmarklevel<\@tempcnta + \advance\@tempcnta by -\Hy@currentbookmarklevel\relax + \advance\@tempcnta by 1 + \Hy@Warning{% + Difference (\the\@tempcnta) between bookmark levels is % + greater \MessageBreak than one, level fixed% + }% + \@tempcnta\Hy@currentbookmarklevel + \advance\@tempcnta by 1 + \edef\Hy@level{\the\@tempcnta}% + \fi + \else + \global\let\Hy@levelcheck Y% + \fi + \global\let\Hy@currentbookmarklevel\Hy@level + \@tempcnta\Hy@level\relax + \expandafter\xdef\csname Parent\Hy@level\endcsname{#3}% + \advance\@tempcnta by -1 + \edef\Hy@tempa{#3}% + \edef\Hy@tempb{\csname Parent\the\@tempcnta\endcsname}% + \ifx\Hy@tempa\Hy@tempb + \Hy@Warning{% + The anchor of a bookmark and its parent's must not% + \MessageBreak be the same. Added a new anchor% + }% + \phantomsection + \fi + \ifHy@bookmarksnumbered + \let\numberline\Hy@numberline + \else + \let\numberline\@gobble + \fi + \pdfstringdef\Hy@tempa{#2}% + \protected@write\@outlinefile{}{% + \protect\BOOKMARK + [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}% + {\Hy@tempa}{\Hy@tempb}% + }% + \fi + \endgroup +} +\newcommand{\currentpdfbookmark}{% + \pdfbookmark[\Hy@currentbookmarklevel]% +} +\newcommand{\subpdfbookmark}{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]% +} +\newcommand{\belowpdfbookmark}[2]{% + \@tempcnta\Hy@currentbookmarklevel + \Hy@StepCount\@tempcnta + \expandafter\pdfbookmark\expandafter[\the\@tempcnta]{#1}{#2}% + \advance\@tempcnta by -1 + \xdef\Hy@currentbookmarklevel{\the\@tempcnta}% +} +\renewcommand\pdfbookmark[3][0]{% + \Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}% + \hyper@anchorstart{#3.#1}\hyper@anchorend +} +\def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}} +\def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}} +\def\ReadBookmarks{% + \begingroup + \escapechar=`\\% + \let\escapechar\@gobble % + \def\@@BOOKMARK [##1][##2]##3##4##5{\calc@bm@number{##5}}% + \InputIfFileExists{\jobname.out}{}{}% + \ifx\WriteBookmarks\relax + \global\let\WriteBookmarks\relax + \fi + \def\@@BOOKMARK[##1][##2]##3##4##5{% + \def\Hy@temp{##4}% + \pdfmark{% + pdfmark=/OUT,% + Count={##2\check@bm@number{##3}},% + Dest={##3},% + Title=\expandafter\strip@prefix\meaning\Hy@temp + }% + }% + {% + \def\WriteBookmarks{0}% + \InputIfFileExists{\jobname.out}{}{}% + }% + %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}% + \ifx\WriteBookmarks\relax\else + \if@filesw\immediate\openout\@outlinefile=\jobname.out + \ifHy@typexml + \immediate\write\@outlinefile{<relaxxml>\relax}% + \fi + \fi + \fi + \endgroup +} +\def\check@bm@number#1{% + \expandafter\ifx\csname B_#1\endcsname\relax + 0% + \else + \csname B_#1\endcsname + \fi +} +\def\calc@bm@number#1{% + \@tempcnta=\check@bm@number{#1}\relax + \advance\@tempcnta by1 + \expandafter\xdef\csname B_#1\endcsname{\the\@tempcnta}% +} +\ifHy@implicit +\else + \def\@begindvi{% + \unvbox\@begindvibox + \HyPL@EveryPage + \global\let\@begindvi\HyPL@EveryPage + }% + \expandafter\endinput +\fi +\let\H@old@ssect\@ssect +\def\@ssect#1#2#3#4#5{% + \H@old@ssect{#1}{#2}{#3}{#4}{#5}% + \phantomsection +} +\let\H@old@schapter\@schapter +\def\@schapter#1{% + \H@old@schapter{#1}% + \begingroup + \let\@mkboth\@gobbletwo + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \endgroup +} +\@ifundefined{@chapter}{}{% + \let\Hy@org@chapter\@chapter + \def\@chapter{% + \def\Hy@next{% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + }% + \ifnum\c@secnumdepth>\m@ne + \@ifundefined{if@mainmatter}% + \iftrue{\csname if@mainmatter\endcsname} + \let\Hy@next\relax + \fi + \fi + \Hy@next + \Hy@org@chapter + }% +} +\let\H@old@spart\@spart +\def\@spart#1{% + \H@old@spart{#1}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{part*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% +} +\let\H@old@sect\@sect +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{section*.\the\Hy@linkcounter}% + \fi + \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}% + \ifnum #2>\c@secnumdepth + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \fi +} +\expandafter\def\csname Parent-4\endcsname{} +\expandafter\def\csname Parent-3\endcsname{} +\expandafter\def\csname Parent-2\endcsname{} +\expandafter\def\csname Parent-1\endcsname{} +\expandafter\def\csname Parent0\endcsname{} +\expandafter\def\csname Parent1\endcsname{} +\expandafter\def\csname Parent2\endcsname{} +\expandafter\def\csname Parent3\endcsname{} +\expandafter\def\csname Parent4\endcsname{} +\def\Hy@tempa{% + \def\@addchap[##1]##2{% + \typeout{##2}% + \if@twoside + \@mkboth{##1}{}% + \else + \@mkboth{}{##1}% + \fi + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \Hy@GlobalStepCount\Hy@linkcounter + \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}% + \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}% + \if@twocolumn + \@topnewpage[\@makeschapterhead{##2}]% + \else + \@makeschapterhead{##2}% + \@afterheading + \fi + \addcontentsline{toc}{chapter}{##1}% + }% +} +\@ifclassloaded{scrbook}{% + \@ifclasslater{scrbook}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% +}{% + \@ifclassloaded{scrreprt}{% + \@ifclasslater{scrreprt}{2001/01/01}{% + \let\Hy@tempa\@empty + }{}% + }{% + \let\Hy@tempa\@empty + }% +}% +\Hy@tempa +\endinput +%% +%% End of file `pdfmark.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def new file mode 100644 index 00000000000..de9f7ebbdac --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -0,0 +1,665 @@ +%% +%% This is file `puenc.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hyperref.dtx (with options: `puenc') +%% +%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, +%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $ +%% +%% This file is part of the `Hyperref Bundle'. +%% ------------------------------------------- +%% +%% It may be distributed under the conditions of the LaTeX Project Public +%% License, either version 1.2 of this license or (at your option) any +%% later version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% The list of all files belonging to the `Hyperref Bundle' is +%% given in the file `manifest.txt'. +%% +\ProvidesFile{puenc.def} + [2003/11/30 v6.74m + Hyperref: PDF Unicode definition (HO)] +\DeclareFontEncoding{PU}{}{} +\DeclareTextCommand{\textLF}{PU}{\80\012} % line feed +\DeclareTextCommand{\textCR}{PU}{\80\015} % carriage return +\DeclareTextCommand{\textHT}{PU}{\80\011} % horizontal tab +\DeclareTextCommand{\textBS}{PU}{\80\010} % backspace +\DeclareTextCommand{\textFF}{PU}{\80\014} % formfeed +\DeclareTextAccent{\`}{PU}{\textgrave} +\DeclareTextAccent{\'}{PU}{\textacute} +\DeclareTextAccent{\^}{PU}{\textcircumflex} +\DeclareTextAccent{\~}{PU}{\texttilde} +\DeclareTextAccent{\"}{PU}{\textdieresis} +\DeclareTextAccent{\r}{PU}{\textring} +\DeclareTextAccent{\v}{PU}{\textcaron} +\DeclareTextAccent{\.}{PU}{\textdotaccent} +\DeclareTextAccent{\c}{PU}{\textcedilla} +\DeclareTextAccent{\U}{PU}{\textbreve} +\DeclareTextAccent{\C}{PU}{\textdoublegrave} +\DeclareTextCompositeCommand{\`}{PU}{\@empty}{\textgrave} +\DeclareTextCompositeCommand{\'}{PU}{\@empty}{\textacute} +\DeclareTextCompositeCommand{\^}{PU}{\@empty}{\textcircumflex} +\DeclareTextCompositeCommand{\~}{PU}{\@empty}{\texttilde} +\DeclareTextCompositeCommand{\"}{PU}{\@empty}{\textdieresis} +\DeclareTextCompositeCommand{\r}{PU}{\@empty}{\textring} +\DeclareTextCompositeCommand{\v}{PU}{\@empty}{\textcaron} +\DeclareTextCompositeCommand{\.}{PU}{\@empty}{\textdotaccent} +\DeclareTextCompositeCommand{\c}{PU}{\@empty}{\textcedilla} +\DeclareTextCompositeCommand{\U}{PU}{\@empty}{\textbreve} +\DeclareTextCompositeCommand{\C}{PU}{\@empty}{\textdoublegrave} +\DeclareTextCommand{\textbreve}{PU}{\80\030} % breve +\DeclareTextCommand{\textcaron}{PU}{\80\031} % caron +\DeclareTextCommand{\textcircumflex}{PU}{\80\032} % circumflex +\DeclareTextCommand{\textdotaccent}{PU}{\80\033} % dotaccent +\DeclareTextCommand{\texthungarumlaut}{PU}{\80\034} % hungarumlaut +\DeclareTextCommand{\textogonek}{PU}{\80\035} % ogonek +\DeclareTextCommand{\textring}{PU}{\80\036} % ring +\DeclareTextCommand{\texttilde}{PU}{\80\037} % tilde +\DeclareTextCommand{\textdoublegrave}{PU}{\83\017} % double grave +\DeclareTextCommand{\textquotedbl}{PU}{\string"} % quotedbl \80\042 +\DeclareTextCommand{\textnumbersign}{PU}{\80\043} % numbersign +\DeclareTextCommand{\textdollar}{PU}{\80\044} % dollar +\DeclareTextCommand{\textpercent}{PU}{\80\045} % percent +\DeclareTextCommand{\textampersand}{PU}{\80\046} % ampersand +\DeclareTextCommand{\textparenleft}{PU}{\80\050} % parenleft +\DeclareTextCommand{\textparenright}{PU}{\80\051} % parenright +\DeclareTextCommand{\textless}{PU}{<} % less \80\074 +\DeclareTextCommand{\textgreater}{PU}{>} % greater \80\076 +\DeclareTextCommand{\textbackslash}{PU}{\80\134} % backslash +\DeclareTextCommand{\textasciicircum}{PU}{\80\136} % asciicircum +\DeclareTextCommand{\textunderscore}{PU}{\80\137} % underscore +\DeclareTextCommand{\textgrave}{PU}{\80\140} % grave +\DeclareTextCompositeCommand{\.}{PU}{i}{i} % i +\DeclareTextCommand{\j}{PU}{j} % jdotless +\DeclareTextCommand{\textbraceleft}{PU}{\80\173} % braceleft +\DeclareTextCommand{\textbar}{PU}{|} % bar +\DeclareTextCommand{\textbraceright}{PU}{\80\175} % braceright +\DeclareTextCommand{\textasciitilde}{PU}{\80\176} % asciitilde +\DeclareTextCommand{\textbullet}{PU}{\80\200} % bullet +\DeclareTextCommand{\textdagger}{PU}{\80\201} % dagger +\DeclareTextCommand{\textdaggerdbl}{PU}{\80\202} % daggerdbl +\DeclareTextCommand{\textellipsis}{PU}{\80\203} % ellipsis +\DeclareTextCommand{\textemdash}{PU}{\80\204} % emdash +\DeclareTextCommand{\textendash}{PU}{\80\205} % endash +\DeclareTextCommand{\textflorin}{PU}{\80\206} % florin +\DeclareTextCommand{\textfractionmark}{PU}{/} % fraction, \80\207 +\DeclareTextCommand{\guilsinglleft}{PU}{\80\210} % guilsinglleft +\DeclareTextCommand{\guilsinglright}{PU}{\80\211} % guilsinglright +\DeclareTextCommand{\textminus}{PU}{-} % minus, \80\212 +\DeclareTextCommand{\textperthousand}{PU}{\80\213} % perthousand +\DeclareTextCommand{\quotedblbase}{PU}{\80\214} % quotedblbase +\DeclareTextCommand{\textquotedblleft}{PU}{\80\215} % quotedblleft +\DeclareTextCommand{\textquotedblright}{PU}{\80\216} % quotedblright +\DeclareTextCommand{\textquoteleft}{PU}{\80\217} % quoteleft +\DeclareTextCommand{\textquoteright}{PU}{\80\220} % quoteright +\DeclareTextCommand{\quotesinglbase}{PU}{\80\221} % quotesinglbase +\DeclareTextCommand{\texttrademark}{PU}{\80\222} % trademark +\DeclareTextCommand{\textfi}{PU}{fi} % fi ?? \80\223 +\DeclareTextCommand{\textfl}{PU}{fl} % fl ?? \80\224 +\DeclareTextCommand{\OE}{PU}{\80\226} % OE +\DeclareTextCommand{\oe}{PU}{\80\234} % oe +\DeclareTextCommand{\textexclamdown}{PU}{\80\241} % exclamdown +\DeclareTextCommand{\textcent}{PU}{\80\242} % cent +\DeclareTextCommand{\textsterling}{PU}{\80\243} % sterling +\DeclareTextCommand{\textcurrency}{PU}{\80\244} % currency +\DeclareTextCommand{\textyen}{PU}{\80\245} % yen +\DeclareTextCommand{\textbrokenbar}{PU}{\80\246} % brokenbar +\DeclareTextCommand{\textsection}{PU}{\80\247} % section +\DeclareTextCommand{\textdieresis}{PU}{\80\250} % dieresis +\DeclareTextCommand{\textcopyright}{PU}{\80\251} % copyright +\DeclareTextCommand{\textordfeminine}{PU}{\80\252} % ordfeminine +\DeclareTextCommand{\guillemotleft}{PU}{\80\253} % guillemotleft +\DeclareTextCommand{\textlogicalnot}{PU}{\80\254} % logicalnot +\DeclareTextCommand{\textregistered}{PU}{\80\256} % registered +\DeclareTextCommand{\textmacron}{PU}{\80\257} % macron +\DeclareTextCommand{\textdegree}{PU}{\80\260} % degree +\DeclareTextCommand{\textplusminus}{PU}{\80\261} % plusminus +\DeclareTextCommand{\texttwosuperior}{PU}{\80\262} % twosuperior +\DeclareTextCommand{\textthreesuperior}{PU}{\80\263} % threesuperior +\DeclareTextCommand{\textacute}{PU}{\80\264} % acute +\DeclareTextCommand{\textmu}{PU}{\80\265} % mu +\DeclareTextCommand{\textparagraph}{PU}{\80\266} % paragraph +\DeclareTextCommand{\textperiodcentered}{PU}{\80\267} % periodcentered +\DeclareTextCommand{\textcedilla}{PU}{\80\270} % cedilla +\DeclareTextCommand{\textonesuperior}{PU}{\80\271} % onesuperior +\DeclareTextCommand{\textordmasculine}{PU}{\80\272} % ordmasculine +\DeclareTextCommand{\guillemotright}{PU}{\80\273} % guillemotright +\DeclareTextCommand{\textonequarter}{PU}{\80\274} % onequarter +\DeclareTextCommand{\textonehalf}{PU}{\80\275} % onehalf +\DeclareTextCommand{\textthreequarters}{PU}{\80\276} % threequarters +\DeclareTextCommand{\textquestiondown}{PU}{\80\277} % questiondown +\DeclareTextCompositeCommand{\`}{PU}{A}{\80\300} % Agrave +\DeclareTextCompositeCommand{\'}{PU}{A}{\80\301} % Aacute +\DeclareTextCompositeCommand{\^}{PU}{A}{\80\302} % Acircumflex +\DeclareTextCompositeCommand{\~}{PU}{A}{\80\303} % Atilde +\DeclareTextCompositeCommand{\"}{PU}{A}{\80\304} % Adieresis +\DeclareTextCompositeCommand{\r}{PU}{A}{\80\305} % Aring +\DeclareTextCommand{\AE}{PU}{\80\306} % AE +\DeclareTextCompositeCommand{\c}{PU}{C}{\80\307} % Ccedilla +\DeclareTextCompositeCommand{\`}{PU}{E}{\80\310} % Egrave +\DeclareTextCompositeCommand{\'}{PU}{E}{\80\311} % Eacute +\DeclareTextCompositeCommand{\^}{PU}{E}{\80\312} % Ecircumflex +\DeclareTextCompositeCommand{\"}{PU}{E}{\80\313} % Edieresis +\DeclareTextCompositeCommand{\`}{PU}{I}{\80\314} % Igrave +\DeclareTextCompositeCommand{\'}{PU}{I}{\80\315} % Iacute +\DeclareTextCompositeCommand{\^}{PU}{I}{\80\316} % Icircumflex +\DeclareTextCompositeCommand{\"}{PU}{I}{\80\317} % Idieresis +\DeclareTextCommand{\DH}{PU}{\80\320} % Eth +\DeclareTextCompositeCommand{\~}{PU}{N}{\80\321} % Ntilde +\DeclareTextCompositeCommand{\`}{PU}{O}{\80\322} % Ograve +\DeclareTextCompositeCommand{\'}{PU}{O}{\80\323} % Oacute +\DeclareTextCompositeCommand{\^}{PU}{O}{\80\324} % Ocircumflex +\DeclareTextCompositeCommand{\~}{PU}{O}{\80\325} % Otilde +\DeclareTextCompositeCommand{\"}{PU}{O}{\80\326} % Odieresis +\DeclareTextCommand{\textmultiply}{PU}{\80\327} % multiply +\DeclareTextCommand{\O}{PU}{\80\330} % Oslash +\DeclareTextCompositeCommand{\`}{PU}{U}{\80\331} % Ugrave +\DeclareTextCompositeCommand{\'}{PU}{U}{\80\332} % Uacute +\DeclareTextCompositeCommand{\^}{PU}{U}{\80\333} % Ucircumflex +\DeclareTextCompositeCommand{\"}{PU}{U}{\80\334} % Udieresis +\DeclareTextCompositeCommand{\'}{PU}{Y}{\80\335} % Yacute +\DeclareTextCommand{\TH}{PU}{\80\336} % Thorn +\DeclareTextCommand{\ss}{PU}{\80\337} % germandbls +\DeclareTextCompositeCommand{\`}{PU}{a}{\80\340} % agrave +\DeclareTextCompositeCommand{\'}{PU}{a}{\80\341} % aacute +\DeclareTextCompositeCommand{\^}{PU}{a}{\80\342} % acircumflex +\DeclareTextCompositeCommand{\~}{PU}{a}{\80\343} % atilde +\DeclareTextCompositeCommand{\"}{PU}{a}{\80\344} % adieresis +\DeclareTextCompositeCommand{\r}{PU}{a}{\80\345} % aring +\DeclareTextCommand{\ae}{PU}{\80\346} % ae +\DeclareTextCompositeCommand{\c}{PU}{c}{\80\347} % ccedilla +\DeclareTextCompositeCommand{\`}{PU}{e}{\80\350} % egrave +\DeclareTextCompositeCommand{\'}{PU}{e}{\80\351} % eacute +\DeclareTextCompositeCommand{\^}{PU}{e}{\80\352} % ecircumflex +\DeclareTextCompositeCommand{\"}{PU}{e}{\80\353} % edieresis +\DeclareTextCompositeCommand{\`}{PU}{i}{\80\354} % igrave +\DeclareTextCompositeCommand{\`}{PU}{\i}{\80\354} % igrave +\DeclareTextCompositeCommand{\'}{PU}{i}{\80\355} % iacute +\DeclareTextCompositeCommand{\'}{PU}{\i}{\80\355} % iacute +\DeclareTextCompositeCommand{\^}{PU}{i}{\80\356} % icircumflex +\DeclareTextCompositeCommand{\^}{PU}{\i}{\80\356} % icircumflex +\DeclareTextCompositeCommand{\"}{PU}{i}{\80\357} % idieresis +\DeclareTextCompositeCommand{\"}{PU}{\i}{\80\357} % idieresis +\DeclareTextCommand{\dh}{PU}{\80\360} % eth +\DeclareTextCompositeCommand{\~}{PU}{n}{\80\361} % ntilde +\DeclareTextCompositeCommand{\`}{PU}{o}{\80\362} % ograve +\DeclareTextCompositeCommand{\'}{PU}{o}{\80\363} % oacute +\DeclareTextCompositeCommand{\^}{PU}{o}{\80\364} % ocircumflex +\DeclareTextCompositeCommand{\~}{PU}{o}{\80\365} % otilde +\DeclareTextCompositeCommand{\"}{PU}{o}{\80\366} % odieresis +\DeclareTextCommand{\textdivide}{PU}{\80\367} % divide +\DeclareTextCommand{\o}{PU}{\80\370} % oslash +\DeclareTextCompositeCommand{\`}{PU}{u}{\80\371} % ugrave +\DeclareTextCompositeCommand{\'}{PU}{u}{\80\372} % uacute +\DeclareTextCompositeCommand{\^}{PU}{u}{\80\373} % ucircumflex +\DeclareTextCompositeCommand{\"}{PU}{u}{\80\374} % udieresis +\DeclareTextCompositeCommand{\'}{PU}{y}{\80\375} % yacute +\DeclareTextCommand{\th}{PU}{\80\376} % thorn +\DeclareTextCompositeCommand{\"}{PU}{y}{\80\377} % ydieresis +\DeclareTextCommand{\ij}{PU}{\80\377} +\DeclareTextCommand{\SS}{PU}{SS} +\DeclareTextCommand{\textcelsius}{PU}{\textdegree C} +\DeclareTextCommand{\textglqq}{PU}{\quotedblbase} +\DeclareTextCommand{\textgrqq}{PU}{\textquotedblleft} +\DeclareTextCommand{\textglq}{PU}{\quotesinglbase} +\DeclareTextCommand{\textgrq}{PU}{\textquoteleft} +\DeclareTextCommand{\textflqq}{PU}{\guillemotleft} +\DeclareTextCommand{\textfrqq}{PU}{\guillemotright} +\DeclareTextCommand{\textflq}{PU}{\guilsinglleft} +\DeclareTextCommand{\textfrq}{PU}{\guilsinglright} +\DeclareTextCommand{\textneg}{PU}{\textlogicalnot} +\DeclareTextCommand{\texttimes}{PU}{\textmultiply} +\DeclareTextCommand{\textdiv}{PU}{\textdivide} +\DeclareTextCommand{\textpm}{PU}{\textplusminus} +\DeclareTextCommand{\textcdot}{PU}{\textperiodcentered} +\DeclareTextCommand{\textbeta}{PU}{\ss} +\DeclareTextCompositeCommand{\=}{PU}{A}{\81\000}% Amacron +\DeclareTextCompositeCommand{\=}{PU}{a}{\81\001}% amacron +\DeclareTextCompositeCommand{\u}{PU}{A}{\81\002}% Abreve +\DeclareTextCompositeCommand{\u}{PU}{a}{\81\003}% abreve +\DeclareTextCompositeCommand{\k}{PU}{A}{\81\004} % Aogonek +\DeclareTextCompositeCommand{\k}{PU}{a}{\81\005} % aogonek +\DeclareTextCompositeCommand{\'}{PU}{C}{\81\006} % Cacute +\DeclareTextCompositeCommand{\'}{PU}{c}{\81\007} % cacute +\DeclareTextCompositeCommand{\^}{PU}{C}{\81\010} % Ccircumflex +\DeclareTextCompositeCommand{\^}{PU}{c}{\81\011} % ccircumflex +\DeclareTextCompositeCommand{\.}{PU}{C}{\81\012} % Cdot +\DeclareTextCompositeCommand{\.}{PU}{c}{\81\013} % cdot +\DeclareTextCompositeCommand{\v}{PU}{C}{\81\014} % Ccaron +\DeclareTextCompositeCommand{\v}{PU}{c}{\81\015} % ccaron +\DeclareTextCompositeCommand{\v}{PU}{D}{\81\016} % Dcaron +\DeclareTextCompositeCommand{\v}{PU}{d}{\81\017} % dcaron +\DeclareTextCommand{\DJ}{PU}{\81\020} % Dslash +\DeclareTextCommand{\dj}{PU}{\81\021} % dslash +\DeclareTextCompositeCommand{\=}{PU}{E}{\81\022} % Emacron +\DeclareTextCompositeCommand{\=}{PU}{e}{\81\023} % emacron +\DeclareTextCompositeCommand{\u}{PU}{E}{\81\024} % Ebreve +\DeclareTextCompositeCommand{\u}{PU}{e}{\81\025} % ebreve +\DeclareTextCompositeCommand{\.}{PU}{E}{\81\026} % Edot +\DeclareTextCompositeCommand{\.}{PU}{e}{\81\027} % edot +\DeclareTextCompositeCommand{\k}{PU}{E}{\81\030} % Eogonek +\DeclareTextCompositeCommand{\k}{PU}{e}{\81\031} % eogonek +\DeclareTextCompositeCommand{\v}{PU}{E}{\81\032} % Ecaron +\DeclareTextCompositeCommand{\v}{PU}{e}{\81\033} % ecaron +\DeclareTextCompositeCommand{\^}{PU}{G}{\81\034} % Gcircumflex +\DeclareTextCompositeCommand{\^}{PU}{g}{\81\035} % gcircumflex +\DeclareTextCompositeCommand{\u}{PU}{G}{\81\036} % Gbreve +\DeclareTextCompositeCommand{\u}{PU}{g}{\81\037} % gbreve +\DeclareTextCompositeCommand{\.}{PU}{G}{\81\040} % Gdot +\DeclareTextCompositeCommand{\.}{PU}{g}{\81\041} % gdot +\DeclareTextCompositeCommand{\c}{PU}{G}{\81\042} % Gcedilla +\DeclareTextCompositeCommand{\c}{PU}{g}{\81\043} % gcedilla +\DeclareTextCompositeCommand{\^}{PU}{H}{\81\044} % Hcircumflex +\DeclareTextCompositeCommand{\^}{PU}{h}{\81\045} % hcircumflex +\DeclareTextCommand{\textHslash}{PU}{\81\046} % Hslash +\DeclareTextCommand{\texthslash}{PU}{\81\047} % hslash +\DeclareTextCompositeCommand{\~}{PU}{I}{\81\050} % Itilde +\DeclareTextCompositeCommand{\~}{PU}{i}{\81\051} % itilde +\DeclareTextCompositeCommand{\~}{PU}{\i}{\81\051} % itilde +\DeclareTextCompositeCommand{\=}{PU}{I}{\81\052} % Imacron +\DeclareTextCompositeCommand{\=}{PU}{i}{\81\053} % imacron +\DeclareTextCompositeCommand{\=}{PU}{\i}{\81\053} % imacron +\DeclareTextCompositeCommand{\u}{PU}{I}{\81\054} % Ibreve +\DeclareTextCompositeCommand{\u}{PU}{i}{\81\055} % ibreve +\DeclareTextCompositeCommand{\u}{PU}{\i}{\81\055} % ibreve +\DeclareTextCompositeCommand{\k}{PU}{I}{\81\056} % Iogonek +\DeclareTextCompositeCommand{\k}{PU}{i}{\81\057} % iogonek +\DeclareTextCompositeCommand{\k}{PU}{\i}{\81\057} % iogonek +\DeclareTextCompositeCommand{\.}{PU}{I}{\81\060} % Idot +\DeclareTextCommand{\i}{PU}{\81\061} % idotless +\DeclareTextCompositeCommand{\^}{PU}{J}{\81\064} % Jcircumflex +\DeclareTextCompositeCommand{\^}{PU}{j}{\81\065} % jcircumflex +\DeclareTextCompositeCommand{\^}{PU}{\j}{\81\065} % jcircumflex +\DeclareTextCompositeCommand{\c}{PU}{K}{\81\066} % Kcedilla +\DeclareTextCompositeCommand{\c}{PU}{k}{\81\067} % kcedilla +\DeclareTextCompositeCommand{\'}{PU}{L}{\81\071} % Lacute +\DeclareTextCompositeCommand{\'}{PU}{l}{\81\072} % lacute +\DeclareTextCompositeCommand{\c}{PU}{L}{\81\073} % Lcedilla +\DeclareTextCompositeCommand{\c}{PU}{l}{\81\074} % lcedilla +\DeclareTextCompositeCommand{\v}{PU}{L}{\81\075} % Lcaron +\DeclareTextCompositeCommand{\v}{PU}{l}{\81\076} % lcaron +\DeclareTextCommand{\L}{PU}{\81\101} % Lslash +\DeclareTextCommand{\l}{PU}{\81\102} % lslash +\DeclareTextCompositeCommand{\'}{PU}{N}{\81\103} % Nacute +\DeclareTextCompositeCommand{\'}{PU}{n}{\81\104} % nacute +\DeclareTextCompositeCommand{\c}{PU}{N}{\81\105} % Ncedilla +\DeclareTextCompositeCommand{\c}{PU}{n}{\81\106} % ncedilla +\DeclareTextCompositeCommand{\v}{PU}{N}{\81\107} % Ncaron +\DeclareTextCompositeCommand{\v}{PU}{n}{\81\110} % ncaron +\DeclareTextCommand{\NG}{PU}{NG} % \81\112 +\DeclareTextCommand{\ng}{PU}{ng} % \81\113 +\DeclareTextCompositeCommand{\=}{PU}{O}{\81\114} % Omacron +\DeclareTextCompositeCommand{\=}{PU}{o}{\81\115} % omacron +\DeclareTextCompositeCommand{\u}{PU}{O}{\81\116} % Obreve +\DeclareTextCompositeCommand{\u}{PU}{o}{\81\117} % obreve +\DeclareTextCompositeCommand{\H}{PU}{O}{\81\120} % Odoubleacute +\DeclareTextCompositeCommand{\H}{PU}{o}{\81\121} % odoubleacute +\DeclareTextCompositeCommand{\'}{PU}{R}{\81\124} % Racute +\DeclareTextCompositeCommand{\'}{PU}{r}{\81\125} % racute +\DeclareTextCompositeCommand{\c}{PU}{R}{\81\126} % Rcedilla +\DeclareTextCompositeCommand{\c}{PU}{r}{\81\127} % rcedilla +\DeclareTextCompositeCommand{\v}{PU}{R}{\81\130} % Rcaron +\DeclareTextCompositeCommand{\v}{PU}{r}{\81\131} % rcaron +\DeclareTextCompositeCommand{\'}{PU}{S}{\81\132} % Sacute +\DeclareTextCompositeCommand{\'}{PU}{s}{\81\133} % sacute +\DeclareTextCompositeCommand{\^}{PU}{S}{\81\134} % Scircumflex +\DeclareTextCompositeCommand{\^}{PU}{s}{\81\135} % scircumflex +\DeclareTextCompositeCommand{\c}{PU}{S}{\81\136} % Scedilla +\DeclareTextCompositeCommand{\c}{PU}{s}{\81\137} % scedilla +\DeclareTextCompositeCommand{\v}{PU}{S}{\81\140} % Scaron +\DeclareTextCompositeCommand{\v}{PU}{s}{\81\141} % scaron +\DeclareTextCompositeCommand{\c}{PU}{T}{\81\142} % Tcedilla +\DeclareTextCompositeCommand{\c}{PU}{t}{\81\143} % tcedilla +\DeclareTextCompositeCommand{\v}{PU}{T}{\81\144} % Tcaron +\DeclareTextCompositeCommand{\v}{PU}{t}{\81\145} % tcaron +\DeclareTextCommand{\textTslash}{PU}{\81\146} % Tslash +\DeclareTextCommand{\texttslash}{PU}{\81\147} % tslash +\DeclareTextCompositeCommand{\~}{PU}{U}{\81\150} % Utilde +\DeclareTextCompositeCommand{\~}{PU}{u}{\81\151} % utilde +\DeclareTextCompositeCommand{\=}{PU}{U}{\81\152} % Umacron +\DeclareTextCompositeCommand{\=}{PU}{u}{\81\153} % umacron +\DeclareTextCompositeCommand{\u}{PU}{U}{\81\154} % Ubreve +\DeclareTextCompositeCommand{\u}{PU}{u}{\81\155} % ubreve +\DeclareTextCompositeCommand{\r}{PU}{U}{\81\156} % Uring +\DeclareTextCompositeCommand{\r}{PU}{u}{\81\157} % uring +\DeclareTextCompositeCommand{\H}{PU}{U}{\81\160} % Udoubleacute +\DeclareTextCompositeCommand{\H}{PU}{u}{\81\161} % udoubleacute +\DeclareTextCompositeCommand{\k}{PU}{U}{\81\162} % Uogonek +\DeclareTextCompositeCommand{\k}{PU}{u}{\81\163} % uogonek +\DeclareTextCompositeCommand{\^}{PU}{W}{\81\164} % Wcircumflex +\DeclareTextCompositeCommand{\^}{PU}{w}{\81\165} % wcircumflex +\DeclareTextCompositeCommand{\^}{PU}{Y}{\81\166} % Ycircumflex +\DeclareTextCompositeCommand{\^}{PU}{y}{\81\167} % ycircumflex +\DeclareTextCompositeCommand{\"}{PU}{Y}{\81\170} % Ydieresis +\DeclareTextCommand{\IJ}{PU}{\81\170} +\DeclareTextCompositeCommand{\'}{PU}{Z}{\81\171} % Zacute +\DeclareTextCompositeCommand{\'}{PU}{z}{\81\172} % zacute +\DeclareTextCompositeCommand{\.}{PU}{Z}{\81\173} % Zdot +\DeclareTextCompositeCommand{\.}{PU}{z}{\81\174} % zdot +\DeclareTextCompositeCommand{\v}{PU}{Z}{\81\175} % Zcaron +\DeclareTextCompositeCommand{\v}{PU}{z}{\81\176} % zcaron +\DeclareTextCompositeCommand{\v}{PU}{A}{\81\315} % Acaron +\DeclareTextCompositeCommand{\v}{PU}{a}{\81\316} % acaron +\DeclareTextCompositeCommand{\v}{PU}{I}{\81\317} % Icaron +\DeclareTextCompositeCommand{\v}{PU}{i}{\81\320} % icaron +\DeclareTextCompositeCommand{\v}{PU}{\i}{\81\320} % icaron +\DeclareTextCompositeCommand{\v}{PU}{O}{\81\321} % Ocaron +\DeclareTextCompositeCommand{\v}{PU}{o}{\81\322} % ocaron +\DeclareTextCompositeCommand{\v}{PU}{U}{\81\323} % Ucaron +\DeclareTextCompositeCommand{\v}{PU}{u}{\81\324} % ucaron +\DeclareTextCommand{\textGslash}{PU}{\81\344} % Gslash +\DeclareTextCommand{\textgslash}{PU}{\81\345} % gslash +\DeclareTextCompositeCommand{\v}{PU}{G}{\81\346} % Gcaron +\DeclareTextCompositeCommand{\v}{PU}{g}{\81\347} % gcaron +\DeclareTextCompositeCommand{\v}{PU}{K}{\81\350} % Kcaron +\DeclareTextCompositeCommand{\v}{PU}{k}{\81\351} % kcaron +\DeclareTextCompositeCommand{\k}{PU}{O}{\81\352} % Oogonek +\DeclareTextCompositeCommand{\k}{PU}{o}{\81\353} % oogonek +\DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206} +\DeclareTextCompositeCommand{\'}{PU}{\textEpsilon}{\83\210} +\DeclareTextCompositeCommand{\'}{PU}{\textEta}{\83\211} +\DeclareTextCompositeCommand{\'}{PU}{\textIota}{\83\212} +\DeclareTextCompositeCommand{\'}{PU}{\textOmicron}{\83\214} +\DeclareTextCompositeCommand{\'}{PU}{\textUpsilon}{\83\216} +\DeclareTextCompositeCommand{\'}{PU}{\textOmega}{\83\217} +\DeclareTextCommand{\textIotadieresis}{PU}{\83\252} +\DeclareTextCompositeCommand{\'}{PU}{\textIotadieresis}{\83\220} +\DeclareTextCommand{\textAlpha}{PU}{\83\221} +\DeclareTextCommand{\textBeta}{PU}{\83\222} +\DeclareTextCommand{\textGamma}{PU}{\83\223} +\DeclareTextCommand{\textDelta}{PU}{\83\224} +\DeclareTextCommand{\textEpsilon}{PU}{\83\225} +\DeclareTextCommand{\textZeta}{PU}{\83\226} +\DeclareTextCommand{\textEta}{PU}{\83\227} +\DeclareTextCommand{\textTheta}{PU}{\83\230} +\DeclareTextCommand{\textIota}{PU}{\83\231} +\DeclareTextCommand{\textKappa}{PU}{\83\232} +\DeclareTextCommand{\textLambda}{PU}{\83\233} +\DeclareTextCommand{\textMu}{PU}{\83\234} +\DeclareTextCommand{\textNu}{PU}{\83\235} +\DeclareTextCommand{\textXi}{PU}{\83\236} +\DeclareTextCommand{\textOmicron}{PU}{\83\237} +\DeclareTextCommand{\textPi}{PU}{\83\240} +\DeclareTextCommand{\textRho}{PU}{\83\241} +\DeclareTextCommand{\textSigma}{PU}{\83\243} +\DeclareTextCommand{\textTau}{PU}{\83\244} +\DeclareTextCommand{\textUpsilon}{PU}{\83\245} +\DeclareTextCommand{\textPhi}{PU}{\83\246} +\DeclareTextCommand{\textChi}{PU}{\83\247} +\DeclareTextCommand{\textPsi}{PU}{\83\250} +\DeclareTextCommand{\textOmega}{PU}{\83\251} +\DeclareTextCompositeCommand{\"}{PU}{\textIota}{\83\252} +\DeclareTextCompositeCommand{\"}{PU}{\textUpsilon}{\83\253} +\DeclareTextCompositeCommand{\'}{PU}{\textalpha}{\83\254} +\DeclareTextCompositeCommand{\'}{PU}{\textepsilon}{\83\255} +\DeclareTextCompositeCommand{\'}{PU}{\texteta}{\83\256} +\DeclareTextCompositeCommand{\'}{PU}{\textiota}{\83\257} +\DeclareTextCommand{\textupsilonacute}{PU}{\83\315} +\DeclareTextCompositeCommand{\"}{PU}{\textupsilonacute}{\83\260} +\DeclareTextCommand{\textalpha}{PU}{\83\261} +\DeclareTextCommand{\textbeta}{PU}{\83\262} +\DeclareTextCommand{\textgamma}{PU}{\83\263} +\DeclareTextCommand{\textdelta}{PU}{\83\264} +\DeclareTextCommand{\textepsilon}{PU}{\83\265} +\DeclareTextCommand{\textzeta}{PU}{\83\266} +\DeclareTextCommand{\texteta}{PU}{\83\267} +\DeclareTextCommand{\texttheta}{PU}{\83\270} +\DeclareTextCommand{\textiota}{PU}{\83\271} +\DeclareTextCommand{\textkappa}{PU}{\83\272} +\DeclareTextCommand{\textlambda}{PU}{\83\273} +\DeclareTextCommand{\textmu}{PU}{\83\274} +\DeclareTextCommand{\textnu}{PU}{\83\275} +\DeclareTextCommand{\textxi}{PU}{\83\276} +\DeclareTextCommand{\textomicron}{PU}{\83\277} +\DeclareTextCommand{\textpi}{PU}{\83\300} +\DeclareTextCommand{\textrho}{PU}{\83\301} +\DeclareTextCommand{\textvarsigma}{PU}{\83\302} +\DeclareTextCommand{\textsigma}{PU}{\83\303} +\DeclareTextCommand{\texttau}{PU}{\83\304} +\DeclareTextCommand{\textupsilon}{PU}{\83\305} +\DeclareTextCommand{\textphi}{PU}{\83\306} +\DeclareTextCommand{\textchi}{PU}{\83\307} +\DeclareTextCommand{\textpsi}{PU}{\83\310} +\DeclareTextCommand{\textomega}{PU}{\83\311} +\DeclareTextCompositeCommand{\"}{PU}{\textiota}{\83\312} +\DeclareTextCompositeCommand{\"}{PU}{\textupsilon}{\83\313} +\DeclareTextCompositeCommand{\'}{PU}{\textomicron}{\83\314} +\DeclareTextCompositeCommand{\'}{PU}{\textupsilon}{\83\315} +\DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316} +\DeclareTextCommand{\CYRYO}{PU}{\84\001}% IO +\DeclareTextCompositeCommand{\"}{PU}{\CYRE}{\84\001}% +\DeclareTextCommand{\CYRDJE}{PU}{\84\002}% DJE +\DeclareTextCompositeCommand{\'}{PU}{\CYRG}{\84\003}% GJE +\DeclareTextCommand{\CYRIE}{PU}{\84\004}% ukrainian IE +\DeclareTextCommand{\CYRDZE}{PU}{\84\005}% DZE +\DeclareTextCommand{\CYRII}{PU}{\84\006}% byelorussian-ukrainian I +\DeclareTextCommand{\CYRYI}{PU}{\84\007}% YI +\DeclareTextCommand{\CYRJE}{PU}{\84\010}% JE +\DeclareTextCommand{\CYRLJE}{PU}{\84\011}% LJE +\DeclareTextCommand{\CYRNJE}{PU}{\84\012}% NJE +\DeclareTextCommand{\CYRTSHE}{PU}{\84\013}% TSHE +\DeclareTextCompositeCommand{\'}{PU}{\CYRK}{\84\014}% KJE +\DeclareTextCommand{\CYRUSHRT}{PU}{\84\016}% short U +\DeclareTextCommand{\CYRDZHE}{PU}{\84\017}% DZHE +\DeclareTextCommand{\CYRA}{PU}{\84\020}% A +\DeclareTextCommand{\CYRB}{PU}{\84\021}% BE +\DeclareTextCommand{\CYRV}{PU}{\84\022}% VE +\DeclareTextCommand{\CYRG}{PU}{\84\023}% GHE +\DeclareTextCommand{\CYRD}{PU}{\84\024}% DE +\DeclareTextCommand{\CYRE}{PU}{\84\025}% IE +\DeclareTextCommand{\CYRZH}{PU}{\84\026}% ZHE +\DeclareTextCommand{\CYRZ}{PU}{\84\027}% ZE +\DeclareTextCommand{\CYRI}{PU}{\84\030}% I +\DeclareTextCommand{\CYRISHRT}{PU}{\84\031}% short I +\DeclareTextCompositeCommand{\U}{PU}{\CYRI}{\84\031}% +\DeclareTextCommand{\CYRK}{PU}{\84\032}% KA +\DeclareTextCommand{\CYRL}{PU}{\84\033}% EL +\DeclareTextCommand{\CYRM}{PU}{\84\034}% EM +\DeclareTextCommand{\CYRN}{PU}{\84\035}% EN +\DeclareTextCommand{\CYRO}{PU}{\84\036}% O +\DeclareTextCommand{\CYRP}{PU}{\84\037}% PE +\DeclareTextCommand{\CYRR}{PU}{\84\040}% ER +\DeclareTextCommand{\CYRS}{PU}{\84\041}% ES +\DeclareTextCommand{\CYRT}{PU}{\84\042}% TE +\DeclareTextCommand{\CYRU}{PU}{\84\043}% U +\DeclareTextCommand{\CYRF}{PU}{\84\044}% EF +\DeclareTextCommand{\CYRH}{PU}{\84\045}% HA +\DeclareTextCommand{\CYRC}{PU}{\84\046}% TSE +\DeclareTextCommand{\CYRCH}{PU}{\84\047}% CHE +\DeclareTextCommand{\CYRSH}{PU}{\84\050}% SHA +\DeclareTextCommand{\CYRSHCH}{PU}{\84\051}% SHCHA +\DeclareTextCommand{\CYRHRDSN}{PU}{\84\052}% HARD SIGN +\DeclareTextCommand{\CYRERY}{PU}{\84\053}% YERU +\DeclareTextCommand{\CYRSFTSN}{PU}{\84\054}% SOFT SIGN +\DeclareTextCommand{\CYREREV}{PU}{\84\055}% E +\DeclareTextCommand{\CYRYU}{PU}{\84\056}% YU +\DeclareTextCommand{\CYRYA}{PU}{\84\057}% YA +\DeclareTextCommand{\cyra}{PU}{\84\060}% a +\DeclareTextCommand{\cyrb}{PU}{\84\061}% be +\DeclareTextCommand{\cyrv}{PU}{\84\062}% ve +\DeclareTextCommand{\cyrg}{PU}{\84\063}% ghe +\DeclareTextCommand{\cyrd}{PU}{\84\064}% de +\DeclareTextCommand{\cyre}{PU}{\84\065}% ie +\DeclareTextCommand{\cyrzh}{PU}{\84\066}% zhe +\DeclareTextCommand{\cyrz}{PU}{\84\067}% ze +\DeclareTextCommand{\cyri}{PU}{\84\070}% i +\DeclareTextCommand{\cyrishrt}{PU}{\84\071}% short i +\DeclareTextCompositeCommand{\U}{PU}{\cyri}{\84\071}% +\DeclareTextCommand{\cyrk}{PU}{\84\072}% ka +\DeclareTextCommand{\cyrl}{PU}{\84\073}% el +\DeclareTextCommand{\cyrm}{PU}{\84\074}% em +\DeclareTextCommand{\cyrn}{PU}{\84\075}% en +\DeclareTextCommand{\cyro}{PU}{\84\076}% o +\DeclareTextCommand{\cyrp}{PU}{\84\077}% pe +\DeclareTextCommand{\cyrr}{PU}{\84\100}% er +\DeclareTextCommand{\cyrs}{PU}{\84\101}% es +\DeclareTextCommand{\cyrt}{PU}{\84\102}% te +\DeclareTextCommand{\cyru}{PU}{\84\103}% u +\DeclareTextCommand{\cyrf}{PU}{\84\104}% ef +\DeclareTextCommand{\cyrh}{PU}{\84\105}% ha +\DeclareTextCommand{\cyrc}{PU}{\84\106}% tse +\DeclareTextCommand{\cyrch}{PU}{\84\107}% che +\DeclareTextCommand{\cyrsh}{PU}{\84\110}% sha +\DeclareTextCommand{\cyrshch}{PU}{\84\111}% shcha +\DeclareTextCommand{\cyrhrdsn}{PU}{\84\112}% hard sign +\DeclareTextCommand{\cyrery}{PU}{\84\113}% yeru +\DeclareTextCommand{\cyrsftsn}{PU}{\84\114}% soft sign +\DeclareTextCommand{\cyrerev}{PU}{\84\115}% e +\DeclareTextCommand{\cyryu}{PU}{\84\116}% yu +\DeclareTextCommand{\cyrya}{PU}{\84\117}% ya +\DeclareTextCommand{\cyryo}{PU}{\84\121}% io +\DeclareTextCompositeCommand{\"}{PU}{\cyre}{\84\121}% +\DeclareTextCommand{\cyrdje}{PU}{\84\122}% dje +\DeclareTextCompositeCommand{\'}{PU}{\cyrg}{\84\123}% gje +\DeclareTextCommand{\cyrie}{PU}{\84\124}% ukrainian ie +\DeclareTextCommand{\cyrdze}{PU}{\84\125}% dze +\DeclareTextCommand{\cyrii}{PU}{\84\126}% byelorussian-ukrainian i +\DeclareTextCommand{\cyryi}{PU}{\84\127}% yi +\DeclareTextCommand{\cyrje}{PU}{\84\130}% je +\DeclareTextCommand{\cyrlje}{PU}{\84\131}% lje +\DeclareTextCommand{\cyrnje}{PU}{\84\132}% nje +\DeclareTextCommand{\cyrtshe}{PU}{\84\133}% tshe +\DeclareTextCompositeCommand{\'}{PU}{\cyrk}{\84\134}% kje +\DeclareTextCommand{\cyrushrt}{PU}{\84\136}% short u +\DeclareTextCommand{\cyrdzhe}{PU}{\84\137}% dzhe +\DeclareTextCommand{\CYROMEGA}{PU}{\84\140}% OMEGA +\DeclareTextCommand{\cyromega}{PU}{\84\141}% omega +\DeclareTextCommand{\CYRYAT}{PU}{\84\142}% YAT +\DeclareTextCommand{\cyryat}{PU}{\84\143}% yat +\DeclareTextCommand{\CYRIOTE}{PU}{\84\144}% iotified E +\DeclareTextCommand{\cyriote}{PU}{\84\145}% iotified e +\DeclareTextCommand{\CYRLYUS}{PU}{\84\146}% little YUS +\DeclareTextCommand{\cyrlyus}{PU}{\84\147}% little yus +\DeclareTextCommand{\CYRIOTLYUS}{PU}{\84\150}% iotified little YUS +\DeclareTextCommand{\cyriotlyus}{PU}{\84\151}% iotified little yus +\DeclareTextCommand{\CYRBYUS}{PU}{\84\152}% big YUS +\DeclareTextCommand{\cyrbyus}{PU}{\84\153}% big yus +\DeclareTextCommand{\CYRIOTBYUS}{PU}{\84\154}% iotified big YUS +\DeclareTextCommand{\cyriotbyus}{PU}{\84\155}% iotified big yus +\DeclareTextCommand{\CYRKSI}{PU}{\84\156}% KSI +\DeclareTextCommand{\cyrksi}{PU}{\84\157}% ksi +\DeclareTextCommand{\CYRPSI}{PU}{\84\160}% PSI +\DeclareTextCommand{\cyrpsi}{PU}{\84\161}% psi +\DeclareTextCommand{\CYRFITA}{PU}{\84\162}% FITA +\DeclareTextCommand{\cyrfita}{PU}{\84\163}% fita +\DeclareTextCommand{\CYRIZH}{PU}{\84\164}% IZHITSA +\DeclareTextCommand{\cyrizh}{PU}{\84\165}% izhitsa +\DeclareTextCompositeCommand{\C}{PU}{\CYRIZH}{\84\166}% IZHITSA double grave +\DeclareTextCompositeCommand{\C}{PU}{\cyrizh}{\84\167}% izhitsa double grave +\DeclareTextCommand{\CYRUK}{PU}{\84\170}% UK +\DeclareTextCommand{\cyruk}{PU}{\84\171}% uk +\DeclareTextCommand{\CYROMEGARND}{PU}{\84\172}% round OMEGA +\DeclareTextCommand{\cyromegarnd}{PU}{\84\173}% round omega +\DeclareTextCommand{\CYROMEGATITLO}{PU}{\84\174}% OMEGA titlo +\DeclareTextCommand{\cyromegatitlo}{PU}{\84\175}% omega titlo +\DeclareTextCommand{\CYROT}{PU}{\84\176}% OT +\DeclareTextCommand{\cyrot}{PU}{\84\177}% ot +\DeclareTextCommand{\CYRKOPPA}{PU}{\84\200}% KOPPA +\DeclareTextCommand{\cyrkoppa}{PU}{\84\201}% koppa +\DeclareTextCommand{\cyrthousands}{PU}{\84\202}% thousands sign +\DeclareTextCommand{\CYRGUP}{PU}{\84\220}% GHE upturn +\DeclareTextCommand{\cyrgup}{PU}{\84\221}% ghe upturn +\DeclareTextCommand{\CYRGHCRS}{PU}{\84\222}% GHE stroke +\DeclareTextCommand{\cyrghcrs}{PU}{\84\223}% ghe stroke +\DeclareTextCommand{\CYRGHK}{PU}{\84\224}% GHE middle hook +\DeclareTextCommand{\cyrghk}{PU}{\84\225}% ghe middle hook +\DeclareTextCommand{\CYRZHDSC}{PU}{\84\226}% ZHE descender +\DeclareTextCommand{\cyrzhdsc}{PU}{\84\227}% zhe descender +\DeclareTextCommand{\CYRZDSC}{PU}{\84\230}% ZE descender +\DeclareTextCommand{\cyrzdsc}{PU}{\84\231}% ze descender +\DeclareTextCommand{\CYRKDSC}{PU}{\84\232}% KA descender +\DeclareTextCommand{\cyrkdsc}{PU}{\84\233}% ka descender +\DeclareTextCommand{\CYRKVCRS}{PU}{\84\234}% KA vertical stroke +\DeclareTextCommand{\cyrkvcrs}{PU}{\84\235}% ka vertical stroke +\DeclareTextCommand{\CYRKHCRS}{PU}{\84\236}% KA stroke +\DeclareTextCommand{\cyrkhcrs}{PU}{\84\237}% ka stroke +\DeclareTextCommand{\CYRKBEAK}{PU}{\84\240}% bashkir KA +\DeclareTextCommand{\cyrkbeak}{PU}{\84\241}% bashkir ka +\DeclareTextCommand{\CYRNDSC}{PU}{\84\242}% EN descender +\DeclareTextCommand{\cyrndsc}{PU}{\84\243}% en descender +\DeclareTextCommand{\CYRNG}{PU}{\84\244}% ligature EN GHE +\DeclareTextCommand{\cyrng}{PU}{\84\245}% ligature en ghe +\DeclareTextCommand{\CYRPHK}{PU}{\84\246}% PE middle hook +\DeclareTextCommand{\cyrphk}{PU}{\84\247}% pe middle hook +\DeclareTextCommand{\CYRABHHA}{PU}{\84\250}% abkhasian HA +\DeclareTextCommand{\cyrabhha}{PU}{\84\251}% abkhasian ha +\DeclareTextCommand{\CYRSDSC}{PU}{\84\252}% ES descender +\DeclareTextCommand{\cyrsdsc}{PU}{\84\253}% es descender +\DeclareTextCommand{\CYRTDSC}{PU}{\84\254}% TE descender +\DeclareTextCommand{\cyrtdsc}{PU}{\84\255}% te descender +\DeclareTextCommand{\CYRY}{PU}{\84\256}% straight U +\DeclareTextCommand{\cyry}{PU}{\84\257}% straight u +\DeclareTextCommand{\CYRYHCRS}{PU}{\84\260}% straight U stroke +\DeclareTextCommand{\cyryhcrs}{PU}{\84\261}% straight u stroke +\DeclareTextCommand{\CYRHDSC}{PU}{\84\262}% HA descender +\DeclareTextCommand{\cyrhdsc}{PU}{\84\263}% ha descender +\DeclareTextCommand{\CYRTETSE}{PU}{\84\264}% ligature TE TSE +\DeclareTextCommand{\cyrtetse}{PU}{\84\265}% ligature te tse +\DeclareTextCommand{\CYRCHRDSC}{PU}{\84\266}% CHE descender +\DeclareTextCommand{\cyrchrdsc}{PU}{\84\267}% che descender +\DeclareTextCommand{\CYRCHVCRS}{PU}{\84\270}% CHE vertical stroke +\DeclareTextCommand{\cyrchvcrs}{PU}{\84\271}% che vertical stroke +\DeclareTextCommand{\CYRSHHA}{PU}{\84\272}% SHHA +\DeclareTextCommand{\cyrshha}{PU}{\84\273}% shha +\DeclareTextCommand{\CYRABHCH}{PU}{\84\274}% abkhasian CHE +\DeclareTextCommand{\cyrabhch}{PU}{\84\275}% abkhasian che +\DeclareTextCommand{\CYRABHCHDSC}{PU}{\84\276}% abkhasian CHE descender +\DeclareTextCommand{\cyrabhchdsc}{PU}{\84\277}% abkhasian che descender +\DeclareTextCommand{\CYRpalochka}{PU}{\84\300}% palochka +\DeclareTextCompositeCommand{\U}{PU}{\CYRZH}{\84\301}% ZHE breve +\DeclareTextCompositeCommand{\U}{PU}{\cyrzh}{\84\302}% zhe breve +\DeclareTextCommand{\CYRKHK}{PU}{\84\303}% KA hook +\DeclareTextCommand{\cyrkhk}{PU}{\84\304}% ka hook +\DeclareTextCommand{\CYRNHK}{PU}{\84\307}% EN hook +\DeclareTextCommand{\cyrnhk}{PU}{\84\310}% en hook +\DeclareTextCommand{\CYRCHLDSC}{PU}{\84\313}% khakassian CHE +\DeclareTextCommand{\cyrchldsc}{PU}{\84\314}% khakassian che +\DeclareTextCompositeCommand{\U}{PU}{\CYRA}{\84\320}% A breve +\DeclareTextCompositeCommand{\U}{PU}{\cyra}{\84\321}% a breve +\DeclareTextCompositeCommand{\"}{PU}{\CYRA}{\84\322}% A diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyra}{\84\323}% a diaeresis +\DeclareTextCommand{\CYRAE}{PU}{\84\324}% ligature A IE +\DeclareTextCommand{\cyrae}{PU}{\84\325}% ligature a ie +\DeclareTextCompositeCommand{\U}{PU}{\CYRE}{\84\326}% IE breve +\DeclareTextCompositeCommand{\U}{PU}{\cyre}{\84\327}% ie breve +\DeclareTextCommand{\CYRSCHWA}{PU}{\84\330}% SCHWA +\DeclareTextCommand{\cyrschwa}{PU}{\84\331}% schwa +\DeclareTextCompositeCommand{\"}{PU}{\CYRSCHWA}{\84\332}% SCHWA diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyrschwa}{\84\333}% schwa diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\CYRZH}{\84\334}% ZHE diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyrzh}{\84\335}% zhe diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\CYRZ}{\84\336}% ZE diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyrz}{\84\337}% ze diaeresis +\DeclareTextCommand{\CYRABHDZE}{PU}{\84\340}% abkhasian DZE +\DeclareTextCommand{\cyrabhdze}{PU}{\84\341}% abkhasian dze +\DeclareTextCompositeCommand{\=}{PU}{\CYRI}{\84\342}% I macron +\DeclareTextCompositeCommand{\=}{PU}{\cyri}{\84\343}% i macron +\DeclareTextCompositeCommand{\"}{PU}{\CYRI}{\84\344}% I diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyri}{\84\345}% i diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\CYRO}{\84\346}% O diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyro}{\84\347}% o diaeresis +\DeclareTextCommand{\CYROTLD}{PU}{\84\350}% barred O +\DeclareTextCommand{\cyrotld}{PU}{\84\351}% barred o +\DeclareTextCompositeCommand{\"}{PU}{\CYROTLD}{\84\352}% barred O diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyrotld}{\84\353}% barred o diaeresis +\DeclareTextCompositeCommand{\=}{PU}{\CYRU}{\84\356}% U macron +\DeclareTextCompositeCommand{\=}{PU}{\cyru}{\84\357}% u macron +\DeclareTextCompositeCommand{\"}{PU}{\CYRU}{\84\360}% U diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyru}{\84\361}% u diaeresis +\DeclareTextCompositeCommand{\H}{PU}{\CYRU}{\84\362}% U double acute +\DeclareTextCompositeCommand{\H}{PU}{\cyru}{\84\363}% u double acute +\DeclareTextCompositeCommand{\"}{PU}{\CYRCH}{\84\364}% CHE diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyrch}{\84\365}% che diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\CYRERY}{\84\370}% YERU diaeresis +\DeclareTextCompositeCommand{\"}{PU}{\cyrery}{\84\371}% yeru diaeresis +\DeclareTextCommand{\texteuro}{PU}{\9040\254} % Euro +\DeclareTextCommand{\textnumero}{PU}{\9041\026} +\endinput +%% +%% End of file `puenc.def'. diff --git a/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty new file mode 100644 index 00000000000..0f36f39a11d --- /dev/null +++ b/Master/texmf-dist/tex/latex/hyperref/xr-hyper.sty @@ -0,0 +1,120 @@ +%% xr package (beta release) + +%% Copyright (C) 1993-1997 David Carlisle + +%% This is a modified version of the xr package from the Standard LaTeX +%% tools distribution. It has some internal changes to cooperate with +%% the hyperref package, and one new user level argument, also mainly of +%% use for hyperref. +%% If no problems are reported the version in the tools distribution +%% will be updated to match this at the next LaTeX release. + +%% \externaldocument[prefix]{document}[URL] + +%% The `document' referred to by the main argument is the file +%% document.aux +%% which must be somewhere on TeX's input path. +%% Some packages (eg hyperref) really need to know the location of the +%% final document rather than the aux file. By default this is assumed +%% to be `document.dvi'. A package may redefine the command \XR@ext to +%% change this default extension (eg some of the hyperref backends +%% define this to be `document.pdf'). However sometimes the final +%% document may be in a position unrelated to the aux file, or the +%% browser may not be able to find files at an arbitrary point in +%% TeX's input path, so the new final optional argument allows a full +%% URL to the final document to be specified. +%% +%% \externaldocument{file}[http://here.xxx.edu/this/path/to/file.dvi] +%% +%% Unless a package redefines \XR@addfile, the optional URL argument +%% will be ignored. +%% +%% This version (beta2) also has another improvement unrelated +%% to the hyperref support. Olivier Michel pointed out that +%% if the aux file was not on texinputs you could not always go +%% \externaldocument{/some/path/to/file} +%% specifically that worked if file.aux was a `simple' document with +%% one aux file, but if \include had been used, the `sub' aux files +%% would not be found by xr in the remote directory. +%% This version calls \filename@parse to get the directory name of the +%% remote directory, which is then explicitly prepended to the names of +%% any included aux files. +%% +%% History +%% +%% 1997/10/06 v6.00beta2 +%% +%% 1999/09/01 v6.00beta3 +%% Definitions of \XR@addURL corrected (Heiko Oberdiek). +%% +%% 2000/03/22 v6.00beta4 +%% \xdef changed to \protected@xdef. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{xr-hyper} + [2000/03/22 v6.00beta4 eXternal References (DPC)] + +\def\externaldocument{\@testopt\XR@{}} +\def\XR@[#1]#2{\@testopt{\XR@@{#1}{#2}}{#2.\XR@ext}} + +\def\XR@@#1#2[#3]{{% + \makeatletter + \def\XR@prefix{#1}% + \def\XR@URL{#3}% + \filename@parse{#2}% + \XR@next#2.aux\relax\\}} +\def\XR@next#1\relax#2\\{% + \edef\XR@list{#2}% + \XR@loop{#1}} +\def\XR@aux{% + \ifx\XR@list\@empty\else\expandafter\XR@explist\fi} + +\def\XR@explist{\expandafter\XR@next\XR@list\\} +\def\XR@loop#1{% +\def\f{#1}%\show\f +\openin\@inputcheck#1\relax + \ifeof\@inputcheck + \PackageWarning{xr}{^^JNo file #1^^JLABELS NOT IMPORTED.^^J}% + \expandafter\XR@aux + \else + \PackageInfo{xr}{IMPORTING LABELS FROM #1}% + \expandafter\XR@read\fi} +\def\XR@read{% + \read\@inputcheck to\XR@line + \expandafter\XR@test\XR@line...\XR@} +\long\def\XR@test#1#2#3#4\XR@{% + \ifx#1\newlabel + \expandafter\protected@xdef\csname r@\XR@prefix#2\endcsname + {\XR@addURL{#3}}% + \else\ifx#1\@input + \edef\XR@list{\XR@list\filename@area#2\relax}% + \fi\fi + \ifeof\@inputcheck\expandafter\XR@aux + \else\expandafter\XR@read\fi} + +\providecommand*{\XR@addURL}[1]{#1} +% The above definition doesn't actually use the URL, hyperref 6 could +% make a definition like so to put the URL in the fifth field of its +% ref structure. + +\@ifpackageloaded{hyperref}{% + \PackageWarningNoLine{xr-hyper}{Load package `hyperref' after `xr-hyper'}% +}{} + +%\def\XR@addURL#1{\XR@@dURL#1{}{}{}{}\\} + +%\def\XR@@dURL#1#2#3#4#5\\{% +% {#1}{#2}% +% \if!#4!% +% \else +% {#3}{#4}{\XR@URL}% +% \fi +%} + +\providecommand\XR@ext{dvi} + +\endinput +%% +%% End of file `xr.sty'. + + |