diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-31 21:48:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-31 21:48:03 +0000 |
commit | 94d42d7395b8167256c615f1045aef29418dd937 (patch) | |
tree | c40cb68a63c866d335f444feb10e14e03d824c36 /Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def | |
parent | c7b0de93190a3c0d8e3ee9d88e79da7d21a27e31 (diff) |
new pgf/tikz package bidi (31oct12)
git-svn-id: svn://tug.org/texlive/trunk@28144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def | 53 |
1 files changed, 51 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def index 5b08f113325..69c53ee8217 100644 --- a/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{tocbibind-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for tocbibind package for XeTeX engine] +\ProvidesFile{tocbibind-xetex-bidi.def}[2012/12/12 v0.3 bidi adaptations for tocbibind package for XeTeX engine] \if@dotocbib \@ifpackageloaded{natbib}{}{% natbib not loaded \renewcommand{\bibsection}{\t@cb@bchapsec} @@ -43,8 +43,57 @@ {} \fi +\if@inltxdoc\else + \renewenvironment{theindex}% + {\if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \if@bibchapter + \if@donumindex + \refstepcounter{chapter} + \twocolumn[\vspace*{2\topskip}% + \@makechapterhead{\indexname}]% + \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}\indexname} + \chaptermark{\indexname} + \else + \if@dotocind + \twocolumn[\vspace*{2\topskip}% + \@makeschapterhead{\indexname}]% + \prw@mkboth{\indexname} + \addcontentsline{toc}{chapter}{\indexname} + \else + \twocolumn[\vspace*{2\topskip}% + \@makeschapterhead{\indexname}]% + \prw@mkboth{\indexname} + \fi + \fi + \else + \if@donumindex + \twocolumn[\vspace*{-1.5\topskip}% + \@nameuse{\@tocextra}{\indexname}]% + \csname \@tocextra mark\endcsname{\indexname} + \else + \if@dotocind + \twocolumn[\vspace*{-1.5\topskip}% + \toc@headstar{\@tocextra}{\indexname}]% + \prw@mkboth{\indexname} + \addcontentsline{toc}{\@tocextra}{\indexname} + \else + \twocolumn[\vspace*{-1.5\topskip}% + \toc@headstar{\@tocextra}{\indexname}]% + \prw@mkboth{\indexname} + \fi + \fi + \fi + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem} + {\if@restonecol\onecolumn\else\clearpage\fi} +\fi %% -%% Copyright © 2009–2012 Vafa Khalighi <vafakhlg@gmail.com> +%% Copyright © 2009–2012 Vafa Khalighi <vafak12@gmail.com> %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |