summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-05 13:29:33 +0000
committerKarl Berry <karl@freefriends.org>2009-08-05 13:29:33 +0000
commitbf0fa986b3f5b2eba5c2b42f2886ab5a1833eee3 (patch)
tree1a12240dc381e82402a8e83a8c2e18b8152f5724 /Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def
parent150c17a368ab6cf13dad8ccedf13a0bd4dd4ac25 (diff)
bidi 1.0.3 (3aug09)
git-svn-id: svn://tug.org/texlive/trunk@14536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def58
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def
new file mode 100644
index 00000000000..3ba4475c941
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/bidi/tocbibind-bidi.def
@@ -0,0 +1,58 @@
+%%
+%% This is file `tocbibind-bidi.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bidi.dtx (with options: `tocbibind-bidi.def')
+%%
+%% __________________________________
+%% Copyright © 2009 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\if@dotocbib
+ \@ifpackageloaded{natbib}{}{% natbib not loaded
+ \renewcommand{\bibsection}{\t@cb@bchapsec}
+ \renewenvironment{thebibliography}[1]{%
+ \bibsection
+ \begin{thebibitemlist}{#1}}{\end{thebibitemlist}}}
+ \renewenvironment{thebibitemlist}[1]{
+ \list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+
+ \@ifpackagewith{chapterbib}{sectionbib}%
+ {\renewcommand{\sectionbib}[2]{}}%
+ {}
+
+\fi
+%%
+%% Copyright © 2009 by Vafa Khalighi <vafa@users.berlios.de>
+%%
+%% Distributable under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%%
+%%
+%%
+%%
+%%
+%% End of file `tocbibind-bidi.def'.