summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tocbibind
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-31 01:34:57 +0000
committerKarl Berry <karl@freefriends.org>2009-12-31 01:34:57 +0000
commit281c80135e585c4c2209f61daa7fc7f056671e0b (patch)
treeb2608b988f6ebd5533ce1e49151231e4a1ef15cc /Master/texmf-dist/tex/latex/tocbibind
parent0136e7def8e31b9fe05c5d8142ca3cd629c13e2c (diff)
tocbibind update (28dec09)
git-svn-id: svn://tug.org/texlive/trunk@16543 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tocbibind')
-rw-r--r--Master/texmf-dist/tex/latex/tocbibind/tocbibind.sty14
1 files changed, 0 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/tocbibind/tocbibind.sty b/Master/texmf-dist/tex/latex/tocbibind/tocbibind.sty
index ce9626016fd..5ab474379f1 100644
--- a/Master/texmf-dist/tex/latex/tocbibind/tocbibind.sty
+++ b/Master/texmf-dist/tex/latex/tocbibind/tocbibind.sty
@@ -102,25 +102,17 @@
\newcommand{\@tocextra}{section}
\newcommand{\tocotherhead}[1]{\renewcommand{\@tocextra}{#1}}
-\providecommand{\phantomsection}{}
-
\newcommand{\tocetcmark}[1]{%
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
\newcommand{\prw@mkboth}[1]{\tocetcmark{#1}}
-
\newcommand{\toc@section}[2]{%
\@nameuse{#1}*{#2\prw@mkboth{#2}}
- \phantomsection
\addcontentsline{toc}{#1}{#2}}
-
\newcommand{\toc@headstar}[2]{%
\@nameuse{#1}*{{#2}}}
-
\newcommand{\toc@chapter}[1]{%
\chapter*{#1}\prw@mkboth{#1}
- \phantomsection
\addcontentsline{toc}{chapter}{#1}}
-
\ifx\bibname\undefined
\ifx\refname\undefined
\newcommand{\tocbibname}{References}
@@ -130,7 +122,6 @@
\else
\newcommand{\tocbibname}{\bibname}
\fi
-
\providecommand{\indexname}{Index}
\newcommand{\setindexname}[1]{\renewcommand{\indexname}{#1}}
\providecommand{\contentsname}{Contents}
@@ -140,7 +131,6 @@
\providecommand{\listfigurename}{List of Figures}
\newcommand{\setlofname}[1]{\renewcommand{\listfigurename}{#1}}
\newcommand{\settocbibname}[1]{\renewcommand{\tocbibname}{#1}}
-
\newcommand{\t@cb@bchapsec}{%
\if@bibchapter
\if@donumbib
@@ -220,7 +210,6 @@
\refstepcounter{chapter}
\twocolumn[\vspace*{2\topskip}%
\@makechapterhead{\indexname}]%
- \phantomsection
\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}\indexname}
\chaptermark{\indexname}
\else
@@ -228,7 +217,6 @@
\twocolumn[\vspace*{2\topskip}%
\@makeschapterhead{\indexname}]%
\prw@mkboth{\indexname}
- \phantomsection
\addcontentsline{toc}{chapter}{\indexname}
\else
\twocolumn[\vspace*{2\topskip}%
@@ -246,7 +234,6 @@
\twocolumn[\vspace*{-1.5\topskip}%
\toc@headstar{\@tocextra}{\indexname}]%
\prw@mkboth{\indexname}
- \phantomsection
\addcontentsline{toc}{\@tocextra}{\indexname}
\else
\twocolumn[\vspace*{-1.5\topskip}%
@@ -274,7 +261,6 @@
\if@bibchapter
\if@restonecol\twocolumn\fi
\fi}
-
\newcommand{\tocfile}[2]{%
\toc@start
\if@bibchapter