blob: f16899cf9f6649d48ab3e2faa20a1631bb729fd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{smfhref}[2002/11/07 v0.0 Hyperref + smfbook...]
\RequirePackage{ifpdf}
\let\org@bibitem\@bibitem
\let\org@lbibitem\@lbibitem
\RequirePackageWithOptions{hyperref}
\AtBeginDocument{%
\def\@schapter[#1]#2{%
\def\@currentlabelname{#1}%
\begingroup
\let\@mkboth\@gobbletwo
\Hy@GlobalStepCount\Hy@linkcounter
\xdef\@currentHref{\Hy@chapapp*.\the\Hy@linkcounter}%
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
\endgroup
\H@old@schapter[{#1}]{#2}
}}
\def\@@wrindex#1|#2|#3\\{%
\ifx\\#2\\%
\protected@write\@indexfile{}{%
\string\indexentry{#1}{\thepage}%
}%
\else
\def\Hy@temp@A{#2}%
\ifx\Hy@temp@A\HyInd@ParenLeft
\protected@write\@indexfile{}{%
\string\indexentry{#1|#2}{\thepage}%
}%
\else
\protected@write\@indexfile{}{%
\string\indexentry{#1|#2}{\thepage}%
}%
\fi
\fi
\endgroup
\@esphack
}%
\@ifpackageloaded{backref}{%
\def\BR@@lbibitem[#1]#2#3\par{%
\org@lbibitem[#1]{#2}#3
\newblock
\backref{\csname br@#2\endcsname}%
\par
}%
\def\BR@@bibitem#1#2\par{%
\org@bibitem{#1}#2
\newblock
\backref{\csname br@#1\endcsname}%
\par
}
\AtBeginDocument{%
\def\thebibliography{%
% \@starttoc{brf}{}%
\BRorg@thebibliography
}%
}
}
\ifpdf
\hypersetup{pdftex}
\else
\hypersetup{dvips}
\fi
|