summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-15 20:12:08 +0000
committerKarl Berry <karl@freefriends.org>2022-06-15 20:12:08 +0000
commita8b67ed6b0c729ae02fbb319aa71f52614e06e60 (patch)
treea7edb9b8af8144af31eea31cc3c0660f2e1a77be /Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
parent911b470a652c3e137fbbf70483fba27d9246b6a5 (diff)
bidi (15jun22)
git-svn-id: svn://tug.org/texlive/trunk@63607 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def20
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
index 0f81899c401..ddc77fa7ef4 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{54318}
+%% \CheckSum{54385}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{tocbasic-xetex-bidi.def}[2022/05/27 v0.4 bidi adaptations for tocbasic package for XeTeX engine]
+\ProvidesFile{tocbasic-xetex-bidi.def}[2022/06/15 v0.5 bidi adaptations for tocbasic package for XeTeX engine]
\bidi@undef\scr@dte@def@l@undottedtocline
\bidi@undef\scr@dte@undottedtocline@init
\DeclareTOCEntryStyle{undottedtocline}[{%
@@ -798,13 +798,17 @@
\scr@dte@tocline{#1}{##1}{##2}%
}
-\renewcommand*{\scr@tso@figure@pagenumberformat}[1]{%
- {\normalfont\normalcolor #1}%
- }
+\if@bidi@csdef{scr@tso@figure@pagenumberformat}{%
+ \renewcommand*{\scr@tso@figure@pagenumberformat}[1]{%
+ {\normalfont\normalcolor #1}%
+ }%
+}{}
-\renewcommand*{\scr@tso@table@pagenumberformat}[1]{%
- {\normalfont\normalcolor #1}%
- }
+\if@bidi@csdef{scr@tso@table@pagenumberformat}{%
+ \renewcommand*{\scr@tso@table@pagenumberformat}[1]{%
+ {\normalfont\normalcolor #1}%
+ }%
+}{}
\endinput
%%