diff options
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.def | 20 |
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 %% |