summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
index 59ed3f286a6..0b0b2a68bb9 100644
--- a/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
@@ -12,7 +12,7 @@
%% License information appended.
%%
%%
-\ProvidesFile{titletoc-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for titletoc package for XeTeX engine]
+\ProvidesFile{titletoc-xetex-bidi.def}[2013/04/16 v0.2 bidi adaptations for titletoc package for XeTeX engine]
\renewcommand\filright{%
\gdef\ttl@filleft##1{\hskip##1}%
\gdef\ttl@filright##1{\hfill}%
@@ -56,6 +56,11 @@
\advance\if@RTL\leftskip\else\rightskip\fi-\@pnumwidth\relax
\advance\if@RTL\leftskip\else\rightskip\fi#2\relax
\def\@pnumwidth{#2}}
+\let\ttl@savel@part\l@part
+\def\l@part{\ttl@lselect{part}}
+
+\let\ttl@savel@chapter\l@chapter
+\def\l@chapter{\ttl@lselect{chapter}}
%%
%% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org>
%%