diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def index 00c08be8d71..286fb9bc1f9 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def @@ -34,19 +34,19 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{listings-xetex-bidi.def}[2017/01/14 v1.4 bidi adaptations for listings package for XeTeX engine] +\ProvidesFile{listings-xetex-bidi.def}[2018/09/15 v1.5 bidi adaptations for listings package for XeTeX engine] \lst@Key{captiondirection}{textdirection}{% \lstKV@SwitchCases{#1}% - {textdirection&\\% - RTL&\chardef\bidi@lst@caption@direction\@ne\\% - LTR&\chardef\bidi@lst@caption@direction\z@% + {textdirection:\\% + RTL:\chardef\bidi@lst@caption@direction\@ne\\% + LTR:\chardef\bidi@lst@caption@direction\z@% }{\PackageError{Listings}{direction #1 unknown}\@ehc}} \lst@Key{captionscript}{textscript}{% \lstKV@SwitchCases{#1}% - {textscript&\\% - latin&\chardef\bidi@lst@caption@script\@ne\\% - nonlatin&\chardef\bidi@lst@caption@script\z@% + {textscript:\\% + latin:\chardef\bidi@lst@caption@script\@ne\\% + nonlatin:\chardef\bidi@lst@caption@script\z@% }{\PackageError{Listings}{direction #1 unknown}\@ehc}} \newcommand*{\bidi@lst@ensure@caption@direction}[2]{% |