2 %% This is file `hpdftex.def',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% hyperref.dtx (with options: `pdftex,pdfform,outlines')
9 %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
10 %% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $
12 %% This file is part of the `Hyperref Bundle'.
13 %% -------------------------------------------
15 %% It may be distributed under the conditions of the LaTeX Project Public
16 %% License, either version 1.2 of this license or (at your option) any
17 %% later version. The latest version of this license is in
18 %% http://www.latex-project.org/lppl.txt
19 %% and version 1.2 or later is part of all distributions of LaTeX
20 %% version 1999/12/01 or later.
22 %% The list of all files belonging to the `Hyperref Bundle' is
23 %% given in the file `manifest.txt'.
25 \ProvidesFile{hpdftex.def}
27 Hyperref driver for pdfTeX]
28 \let\Hy@PutCatalog\pdfcatalog
30 \def\HyPL@StorePageLabel#1{%
31 \toks@\expandafter{\HyPL@Labels}%
34 \the\Hy@abspage\space<< #1 >> %
37 \AtEndDocument{\clearpage\HyPL@SetPageLabels}
39 \def\setpdflinkmargin#1{\pdflinkmargin#1}
40 \ifx\pdfstartlink\@undefined% less than version 14
41 \let\pdfstartlink\pdfannotlink
42 \let\pdflinkmargin\@tempdima
44 \let\pdflastxform\pdflastform
45 \let\pdfrefxform\pdfrefform
49 \providecommand\@pdfview{XYZ}
52 \typeout{pdftex: define anchor at line \the\inputlineno: #1}%
55 \pdfdest name {#1}\@pdfview
58 \let\pdf@endanchor\@empty
59 \providecommand\@pdfborder{0 0 1}
60 \def\Hy@undefinedname{UNDEFINED}
61 \def\find@pdflink#1#2{%
63 \protected@edef\Hy@testname{#2}%
64 \ifx\Hy@testname\@empty
65 \let\Hy@testname\Hy@undefinedname
70 /H \@pdfhighlight\space
71 /C [\CurrentBorderColor]%
73 goto name {\Hy@testname}%
74 \Hy@colorlink{\csname @#1color\endcsname}%
76 \def\close@pdflink{\Hy@endcolorlink\pdfendlink}
77 \def\hyper@anchor#1{\new@pdflink{#1}\anchor@spot\pdf@endanchor}
78 \def\hyper@anchorstart#1{\new@pdflink{#1}\Hy@activeanchortrue}
79 \def\hyper@anchorend{\pdf@endanchor\Hy@activeanchorfalse}
80 \def\hyper@linkstart#1#2{%
81 \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
82 \find@pdflink{#1}{#2}}
83 \def\hyper@linkend{\close@pdflink}
84 \def\hyper@link#1#2#3{%
85 \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
86 \find@pdflink{#1}{#2}#3\close@pdflink
88 \def\CurrentBorderColor{\@linkbordercolor}
89 \def\hyper@linkurl#1#2{%
96 /H \@pdfhighlight\space
97 /C [\@urlbordercolor]%
107 \Hy@colorlink{\@urlcolor}#1%
111 \def\hyper@linkfile#1#2#3{% anchor text, filename, linkname
116 /Border [\@pdfborder]
117 /H \@pdfhighlight\space
118 /C [\@filebordercolor]%
125 \ifHy@newwindow /NewWindow true \fi
127 /D [0 \@pdfstartview]
133 \Hy@colorlink{\@filecolor}#1%
137 \def\@hyper@launch run:#1\\#2#3{% filename, anchor text linkname
142 /Border [\@pdfborder]
143 /H \@pdfhighlight\space
144 /C [\@runbordercolor]%
151 \ifHy@newwindow /NewWindow true \fi
154 /Win << /P (#3) /F (#1) >>
158 \Hy@colorlink{\@filecolor}#2%
162 \ifx\pdftexversion\@undefined
163 \def\@pdfproducer{pdfTeX}
165 \def\@pdfproducer{pdfTeX\the\pdftexversion.\pdftexrevision}
168 \ifx\@pdfpagescrop\@empty
172 /CropBox [\@pdfpagescrop]%
173 \expandafter\ifx\expandafter\\\the\pdfpagesattr\\%
181 \pdfcatalog { % Catalog dictionary of PDF output.
182 /PageMode \@pdfpagemode
183 /URI << /Base (\@baseurl) >>
185 \ifx\@pdfstartview\@empty
187 openaction goto page \@pdfstartpage {\@pdfstartview}%
190 /ViewerPreferences <<
191 \ifHy@toolbar\else /HideToolbar true \fi
192 \ifHy@menubar\else /HideMenubar true \fi
193 \ifHy@windowui\else /HideWindowUI true \fi
194 \ifHy@fitwindow /FitWindow true \fi
195 \ifHy@centerwindow /CenterWindow true \fi
197 \ifx\pdf@pagelayout\@empty
199 /PageLayout /\pdf@pagelayout\space
205 /Author (\@pdfauthor)
207 /Subject (\@pdfsubject)
208 /Creator (\@pdfcreator)
209 /Producer (\@pdfproducer)
210 /Keywords (\@pdfkeywords)
212 \Hy@DisableOption{pdfauthor}%
213 \Hy@DisableOption{pdftitle}%
214 \Hy@DisableOption{pdfsubject}%
215 \Hy@DisableOption{pdfcreator}%
216 \Hy@DisableOption{pdfproducer}%
217 \Hy@DisableOption{pdfkeywords}%
219 \def\hyper@pagetransition{%
220 \ifx\@pdfpagetransition\relax
222 \expandafter\Hy@RemoveTransPageAttr\the\pdfpageattr^^J/Trans{}>>\END
223 \ifx\@pdfpagetransition\@empty
226 \global\pdfpageattr{%
228 ^^J/Trans << /S /\@pdfpagetransition\space >>%
235 \gdef\Hy@RemoveTransPageAttr#1^^J/Trans#2#3>>#4\END{%
237 \global\pdfpageattr{#1}%
239 \Hy@RemoveTransPageAttr#1#4\END
242 \def\hyper@pageduration{%
243 \ifx\@pdfpageduration\relax
245 \expandafter\Hy@RemoveDurPageAttr\the\pdfpageattr^^J/Dur{} \END
246 \ifx\@pdfpageduration\@empty
249 \global\pdfpageattr{%
251 ^^J/Dur \@pdfpageduration\space
258 \gdef\Hy@RemoveDurPageAttr#1^^J/Dur#2#3 #4\END{%
260 \global\pdfpageattr{#1}%
262 \Hy@RemoveDurPageAttr#1#4\END
265 \def\hyper@pagehidden{%
267 \expandafter\Hy@RemoveHidPageAttr\the\pdfpageattr^^J/Hid{} \END
270 \global\pdfpageattr{%
279 \gdef\Hy@RemoveHidPageAttr#1^^J/Hid#2#3 #4\END{%
281 \global\pdfpageattr{#1}%
283 \Hy@RemoveHidPageAttr#1#4\END
289 \@ifclassloaded{seminar}{%
290 \setlength{\pdfhorigin}{1truein}%
291 \setlength{\pdfvorigin}{1truein}%
293 \ifdim\paperwidth=\z@
295 \setlength{\pdfpagewidth}{\strip@pt\paperwidth truept}%
297 \ifdim\paperheight=\z@
299 \setlength{\pdfpageheight}{\strip@pt\paperheight truept}%
302 \ifdim\paperheight=\z@
304 \setlength{\pdfpagewidth}{\strip@pt\paperheight truept}%
306 \ifdim\paperwidth=\z@
308 \setlength{\pdfpageheight}{\strip@pt\paperwidth truept}%
312 \ifdim\paperwidth=\z@
314 \setlength{\pdfpagewidth}{\paperwidth}%
316 \ifdim\paperheight=\z@
318 \setlength{\pdfpageheight}{\paperheight}%
322 \def\Acrobatmenu#1#2{%
326 /Border [\@pdfborder]
327 /H \@pdfhighlight\space
328 /C [\@menubordercolor]%
336 \Hy@colorlink{\@menucolor}#2\close@pdflink
338 \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum
339 \typeout{Sorry, pdftex does not support FORM gauges}%
341 \RequirePackage{pifont}%
342 \def\MakeFieldObject#1#2{\sbox0{#1}%
343 \immediate\pdfxform0 %
344 \expandafter\edef\csname #2Object\endcsname{%
345 \the\pdflastxform\space 0 R%
349 \@ifundefined{textcolor}{\let\textcolor\@gobble}{}%
351 \ifnum\pdftexversion>13
352 \pdfrefobj\OBJ@pdfdocencoding
355 \pdfrefobj\OBJ@acroform
357 \pdfcatalog{/AcroForm \OBJ@acroform\space 0 R}%
358 \MakeFieldObject{\ding{123}}{Ding}%
359 \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{Submit}}}}{Submit}%
360 \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{SubmitP}}}}{SubmitP}%
363 \def\@TextField[#1]#2{% parameters, label
366 \let\Fld@value\@empty
367 \def\Fld@width{\DefaultWidthofText}%
368 \def\Fld@height{\DefaultHeightofText}%
372 \ifFld@hidden\def\Fld@width{1sp}\fi
373 \ifx\Fld@value\@empty\def\Fld@value{\Fld@default}\fi
375 \def\Fld@height{4\DefaultHeightofText}%
377 \LayoutTextField{#2}{%
378 \pdfstartlink user {\PDFForm@Text}%
379 \MakeTextField{\Fld@width}{\Fld@height}\pdfendlink}%
382 \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices
385 \def\Fld@width{\DefaultWidthofChoiceMenu}%
386 \def\Fld@height{\DefaultHeightofChoiceMenu}%
390 \@for\@curropt:=#3\do{%
391 \expandafter\Fld@checkequals\@curropt==\\%
392 \Hy@StepCount\Fld@menulength
393 \settowidth{\@tempdimb}{\@currDisplay}%
394 \ifdim\@tempdimb>\@tempdima\@tempdima\@tempdimb\fi
396 \advance\@tempdima by 15\p@
399 \ifFld@hidden\def\Fld@width{1sp}\fi
400 \LayoutChoiceField{#2}{%
405 \ifdim\Fld@width<\@tempdima
406 \ifdim\@tempdima<1cm\@tempdima1cm\fi
407 \edef\Fld@width{\the\@tempdima}%
410 \ifFld@combo\def\Fld@flags{/Ff 917504}\fi
411 \ifFld@popdown\def\Fld@flags{/Ff 131072}\fi
412 \ifx\Fld@flags\@empty
413 \@tempdima=\the\Fld@menulength\Fld@charsize
414 \advance\@tempdima by \Fld@borderwidth bp
415 \advance\@tempdima by \Fld@borderwidth bp
416 \edef\Fld@height{\the\@tempdima}%
426 \@for\@curropt:=#1\do{%
427 \expandafter\Fld@checkequals\@curropt==\\%
428 \Hy@StepCount\Fld@listcount
431 \pdfstartlink user {%
435 /\@currValue\space \DingObject
439 \MakeRadioField{\Fld@width}{\Fld@height}\pdfendlink
440 \space% deliberate space between radio buttons
443 \newcount\Fld@listcount
447 \@for\@curropt:=#1\do{%
448 \expandafter\Fld@checkequals\@curropt==\\%
449 \Hy@StepCount\Fld@listcount
451 \Choice@toks{\the\Choice@toks [(\@currValue) (\@currDisplay)]}%
455 \pdfstartlink user {\PDFForm@List}%
456 \MakeChoiceField{\Fld@width}{\Fld@height}%
459 \def\@PushButton[#1]#2{% parameters, label
464 \ifFld@hidden\def\Fld@width{1sp}\fi
465 \LayoutPushButtonField{%
467 \pdfstartlink user {\PDFForm@Push}%
468 \MakeButtonField{#2}%
475 \def\Fld@width{\DefaultWidthofSubmit}%
476 \def\Fld@height{\DefaultHeightofSubmit}%
478 \def\Fld@name{Submit}%
480 \ifFld@hidden\def\Fld@width{1sp}\fi
482 \pdfstartlink user {%
484 /AP << /N \SubmitObject\space /D \SubmitPObject >>
486 \MakeButtonField{#2}%
492 \def\Fld@width{\DefaultWidthofReset}%
493 \def\Fld@height{\DefaultHeightofReset}%
495 \def\Fld@name{Reset}%
497 \ifFld@hidden\def\Fld@width{1sp}\fi
499 \pdfstartlink user {\PDFForm@Reset}%
500 \MakeButtonField{#2}%
504 \def\@CheckBox[#1]#2{% parameters, label
508 \def\Fld@width{\DefaultWidthofCheckBox}%
509 \def\Fld@height{\DefaultHeightofCheckBox}%
512 \ifFld@hidden\def\Fld@width{1sp}\fi
513 \LayoutCheckField{#2}{%
514 \pdfstartlink user {\PDFForm@Check}%
515 \MakeCheckField{\Fld@width}{\Fld@height}%
520 \pdfobj { << /Type /Encoding /Differences [ 24 /breve /caron
521 /circumflex /dotaccent /hungarumlaut /ogonek /ring /tilde 39
522 /quotesingle 96 /grave 128 /bullet /dagger /daggerdbl /ellipsis
523 /emdash /endash /florin /fraction /guilsinglleft /guilsinglright
524 /minus /perthousand /quotedblbase /quotedblleft /quotedblright
525 /quoteleft /quoteright /quotesinglbase /trademark /fi /fl /Lslash /OE
526 /Scaron /Ydieresis /Zcaron /dotlessi /lslash /oe /scaron /zcaron 164
527 /currency 166 /brokenbar 168 /dieresis /copyright /ordfeminine 172
528 /logicalnot /.notdef /registered /macron /degree /plusminus
529 /twosuperior /threesuperior /acute /mu 183 /periodcentered /cedilla
530 /onesuperior /ordmasculine 188 /onequarter /onehalf /threequarters 192
531 /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
532 /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex
533 /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde
534 /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis
535 /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde
536 /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex
537 /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde
538 /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash
539 /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] >>
541 \edef\OBJ@pdfdocencoding{\the\pdflastobj}
547 /BaseFont /ZapfDingbats
550 \edef\OBJ@ZaDb{\the\pdflastobj}
556 /Encoding \OBJ@pdfdocencoding\space 0 R
559 \edef\OBJ@Helv{\the\pdflastobj}
564 /Font << /ZaDb \OBJ@ZaDb\space 0 R /Helv \OBJ@Helv\space0 R >>
566 /DA (/Helv 10 Tf 0 g )
567 /NeedAppearances true
570 \edef\OBJ@acroform{\the\pdflastobj}
573 \ifFld@hidden /F 6 \else /F 4 \fi
576 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
578 /BC [\Fld@bordercolor]
579 \ifx\Fld@bcolor\@empty
585 /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg)
588 \ifFld@checked /V /Yes \else /V /Off \fi
592 \ifFld@hidden /F 6 \else /F 4 \fi
597 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
599 /BC [\Fld@bordercolor]
601 /A << /S /JavaScript /JS (\Fld@onclick;) >>
605 \ifFld@hidden /F 6 \else /F 4 \fi
609 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
611 /BC [\Fld@bordercolor]
612 \ifx\Fld@bcolor\@empty
617 /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg )
618 /Opt [\the\Choice@toks]
624 \ifFld@hidden /F 6 \else /F 4 \fi
629 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
631 /BC [\Fld@bordercolor]
632 \ifx\Fld@bcolor\@empty
638 /DA (/ZaDb \strip@pt\Fld@charsize\space Tf \Fld@color\space rg)
639 \ifx\@currValue\Fld@default
640 /V /\Fld@default\space
647 \ifFld@hidden /F 6 \else /F 4 \fi
651 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
653 /BC [\Fld@bordercolor]
654 \ifx\Fld@bcolor\@empty
659 /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg )
662 \ifx\Fld@keystroke@code\@empty
664 /K << /S /JavaScript /JS (\Fld@keystroke@code) >>
666 \ifx\Fld@format@code\@empty
668 /F << /S /JavaScript /JS (\Fld@format@code) >>
670 \ifx\Fld@validate@code\@empty
672 /V << /S /JavaScript /JS (\Fld@validate@code) >>
674 \ifx\Fld@calculate@code\@empty
676 /C << /S /JavaScript /JS (\Fld@calculate@code) >>
681 \ifFld@readonly /Ff 4097 \else /Ff 4096 \fi
684 \ifFld@readonly /Ff 8193 \else /Ff 8192 \fi
687 \ifnum\Fld@maxlen>0/MaxLen \Fld@maxlen \fi
689 \def\PDFForm@Submit{%
691 \ifFld@hidden /F 6 \else /F 4 \fi
696 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
698 /BC [\Fld@bordercolor]
706 \ifForm@html /Flags 4 \fi
711 \ifFld@hidden /F 6 \else /F 4 \fi
715 /DA (/Helv \strip@pt\Fld@charsize\space Tf 0 0 1 rg)
718 /BC [\Fld@bordercolor]
720 /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >>
721 /A << /S /ResetForm >>
723 \newwrite\@outlinefile
724 \def\Hy@writebookmark#1#2#3#4#5{% section number, text, label, level, file
725 \ifx\WriteBookmarks\relax%
729 \@@writetorep{#1}{#2}{#3}{#4}{#5}%
732 \def\Hy@currentbookmarklevel{0}
733 \def\Hy@numberline#1{#1 }
734 \def\@@writetorep#1#2#3#4#5{%
737 \ifx\Hy@tempa\Hy@bookmarkstype
739 \ifx\Hy@levelcheck Y%
740 \@tempcnta\Hy@level\relax
741 \advance\@tempcnta by -1
742 \ifnum\Hy@currentbookmarklevel<\@tempcnta
743 \advance\@tempcnta by -\Hy@currentbookmarklevel\relax
744 \advance\@tempcnta by 1
746 Difference (\the\@tempcnta) between bookmark levels is %
747 greater \MessageBreak than one, level fixed%
749 \@tempcnta\Hy@currentbookmarklevel
750 \advance\@tempcnta by 1
751 \edef\Hy@level{\the\@tempcnta}%
754 \global\let\Hy@levelcheck Y%
756 \global\let\Hy@currentbookmarklevel\Hy@level
757 \@tempcnta\Hy@level\relax
758 \expandafter\xdef\csname Parent\Hy@level\endcsname{#3}%
759 \advance\@tempcnta by -1
761 \edef\Hy@tempb{\csname Parent\the\@tempcnta\endcsname}%
762 \ifx\Hy@tempa\Hy@tempb
764 The anchor of a bookmark and its parent's must not%
765 \MessageBreak be the same. Added a new anchor%
769 \ifHy@bookmarksnumbered
770 \let\numberline\Hy@numberline
772 \let\numberline\@gobble
774 \pdfstringdef\Hy@tempa{#2}%
775 \protected@write\@outlinefile{}{%
777 [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}%
778 {\Hy@tempa}{\Hy@tempb}%
783 \newcommand{\currentpdfbookmark}{%
784 \pdfbookmark[\Hy@currentbookmarklevel]%
786 \newcommand{\subpdfbookmark}{%
787 \@tempcnta\Hy@currentbookmarklevel
788 \Hy@StepCount\@tempcnta
789 \expandafter\pdfbookmark\expandafter[\the\@tempcnta]%
791 \newcommand{\belowpdfbookmark}[2]{%
792 \@tempcnta\Hy@currentbookmarklevel
793 \Hy@StepCount\@tempcnta
794 \expandafter\pdfbookmark\expandafter[\the\@tempcnta]{#1}{#2}%
795 \advance\@tempcnta by -1
796 \xdef\Hy@currentbookmarklevel{\the\@tempcnta}%
798 \renewcommand\pdfbookmark[3][0]{%
799 \Hy@writebookmark{}{#2}{#3.#1}{#1}{toc}%
800 \hyper@anchorstart{#3.#1}\hyper@anchorend
802 \def\BOOKMARK{\@ifnextchar[{\@BOOKMARK}{\@@BOOKMARK[1][-]}}
803 \def\@BOOKMARK[#1]{\@ifnextchar[{\@@BOOKMARK[#1]}{\@@BOOKMARK[#1][-]}}
807 \let\escapechar\@gobble %
808 \def\@@BOOKMARK [##1][##2]##3##4##5{\calc@bm@number{##5}}%
809 \InputIfFileExists{\jobname.out}{}{}%
810 \ifx\WriteBookmarks\relax
811 \global\let\WriteBookmarks\relax
813 \def\@@BOOKMARK[##1][##2]##3##4##5{%
817 count ##2\check@bm@number{##3}{%
818 \expandafter\strip@prefix\meaning\Hy@temp
822 \def\WriteBookmarks{0}%
823 \InputIfFileExists{\jobname.out}{}{}%
825 %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}%
826 \ifx\WriteBookmarks\relax\else
827 \if@filesw\immediate\openout\@outlinefile=\jobname.out
829 \immediate\write\@outlinefile{<relaxxml>\relax}%
835 \def\check@bm@number#1{%
836 \expandafter\ifx\csname B_#1\endcsname\relax
839 \csname B_#1\endcsname
842 \def\calc@bm@number#1{%
843 \@tempcnta=\check@bm@number{#1}\relax
844 \advance\@tempcnta by1
845 \expandafter\xdef\csname B_#1\endcsname{\the\@tempcnta}%
852 \global\let\@begindvi\HyPL@EveryPage
854 \expandafter\endinput
856 \let\H@old@ssect\@ssect
857 \def\@ssect#1#2#3#4#5{%
858 \H@old@ssect{#1}{#2}{#3}{#4}{#5}%
861 \let\H@old@schapter\@schapter
865 \let\@mkboth\@gobbletwo
866 \Hy@GlobalStepCount\Hy@linkcounter
867 \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}%
868 \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
871 \@ifundefined{@chapter}{}{%
872 \let\Hy@org@chapter\@chapter
875 \Hy@GlobalStepCount\Hy@linkcounter
876 \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}%
877 \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
879 \ifnum\c@secnumdepth>\m@ne
880 \@ifundefined{if@mainmatter}%
881 \iftrue{\csname if@mainmatter\endcsname}
889 \let\H@old@spart\@spart
892 \Hy@GlobalStepCount\Hy@linkcounter
893 \xdef\@currentHref{part*.\the\Hy@linkcounter}%
894 \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
896 \let\H@old@sect\@sect
897 \def\@sect#1#2#3#4#5#6[#7]#8{%
898 \ifnum #2>\c@secnumdepth
899 \Hy@GlobalStepCount\Hy@linkcounter
900 \xdef\@currentHref{section*.\the\Hy@linkcounter}%
902 \H@old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}%
903 \ifnum #2>\c@secnumdepth
904 \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
907 \expandafter\def\csname Parent-4\endcsname{}
908 \expandafter\def\csname Parent-3\endcsname{}
909 \expandafter\def\csname Parent-2\endcsname{}
910 \expandafter\def\csname Parent-1\endcsname{}
911 \expandafter\def\csname Parent0\endcsname{}
912 \expandafter\def\csname Parent1\endcsname{}
913 \expandafter\def\csname Parent2\endcsname{}
914 \expandafter\def\csname Parent3\endcsname{}
915 \expandafter\def\csname Parent4\endcsname{}
917 \def\@addchap[##1]##2{%
924 \addtocontents{lof}{\protect\addvspace{10\p@}}%
925 \addtocontents{lot}{\protect\addvspace{10\p@}}%
926 \Hy@GlobalStepCount\Hy@linkcounter
927 \xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}%
928 \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
930 \@topnewpage[\@makeschapterhead{##2}]%
932 \@makeschapterhead{##2}%
935 \addcontentsline{toc}{chapter}{##1}%
938 \@ifclassloaded{scrbook}{%
939 \@ifclasslater{scrbook}{2001/01/01}{%
943 \@ifclassloaded{scrreprt}{%
944 \@ifclasslater{scrreprt}{2001/01/01}{%
954 %% End of file `hpdftex.def'.