[latex3-commits] [latex3/babel] main: Fix #256. (615ac37)

github at latex-project.org github at latex-project.org
Fri Sep 1 19:00:20 CEST 2023


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/615ac37868ba298ddeac4da0459707399262a879

>---------------------------------------------------------------

commit 615ac37868ba298ddeac4da0459707399262a879
Author: Javier <email at localhost>
Date:   Fri Sep 1 19:00:20 2023 +0200

    Fix #256.


>---------------------------------------------------------------

615ac37868ba298ddeac4da0459707399262a879
 README.md      |   4 +++-
 babel-code.pdf | Bin 633117 -> 634660 bytes
 babel.dtx      |  17 ++++++++++++-----
 babel.ins      |   2 +-
 babel.pdf      | Bin 406530 -> 406547 bytes
 bbcompat.dtx   |   2 +-
 6 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index c3402af..2128bc2 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-s## Babel 3.93.24338
+## Babel 3.93.24475
 
 **Development**
 
@@ -49,6 +49,8 @@ respective authors.
 ### Summary of latest changes
 ```
 3.94  (dev)
+      * Fixes:
+        - #256.
 
 3.93  2023-08-29
       * More Hebrew numerals (also Yiddish).
diff --git a/babel-code.pdf b/babel-code.pdf
index 572f201..afb7f06 100644
Binary files a/babel-code.pdf and b/babel-code.pdf differ
diff --git a/babel.dtx b/babel.dtx
index 88d732e..81f2ddc 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2023/08/31 v3.93.24338 The Babel package]
+\ProvidesFile{babel.dtx}[2023/09/01 v3.93.24475 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5499,8 +5499,8 @@ wouldn’t exist.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.93.24338>>
-%<<date=2023/08/31>>
+%<<version=3.93.24475>>
+%<<date=2023/09/01>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -12418,7 +12418,12 @@ wouldn’t exist.
       \AtEndOfPackage{%
         \EnableBabelHook{babel-bidi}%
         \bbl at loadfontspec % bidi needs fontspec
-        \usepackage#1{bidi}}%
+        \usepackage#1{bidi}%
+        \let\bbl at digitsdotdash\DigitsDotDashInterCharToks
+        \def\DigitsDotDashInterCharToks{% See the 'bidi' package
+          \ifnum\@nameuse{bbl at wdir@\languagename}=\tw@ % 'AL' bidi
+            \bbl at digitsdotdash % So ignore in 'R' bidi
+          \fi}}%
     \fi}
   \ifnum\bbl at bidimode>200 % Any xe bidi=
     \ifcase\expandafter\@gobbletwo\the\bbl at bidimode\or
@@ -12466,7 +12471,7 @@ wouldn’t exist.
     \global\bbl at csarg\chardef{wdir@#1}\@ne
     \bbl at xin@{\csname bbl at sname@#1\endcsname}{\bbl at alscripts}%
     \ifin@
-      \global\bbl at csarg\chardef{wdir@#1}\tw@  % useless in xetex
+      \global\bbl at csarg\chardef{wdir@#1}\tw@
     \fi
   \else
     \global\bbl at csarg\chardef{wdir@#1}\z@
@@ -12507,9 +12512,11 @@ wouldn’t exist.
   \def\bbl at textdir#1{%
     \ifcase#1\relax
        \chardef\bbl at thetextdir\z@
+       \@nameuse{setlatin}%
        \bbl at textdir@i\beginL\endL
      \else
        \chardef\bbl at thetextdir\@ne
+       \@nameuse{setnonlatin}%
        \bbl at textdir@i\beginR\endR
     \fi}
   \def\bbl at textdir@i#1#2{%
diff --git a/babel.ins b/babel.ins
index 62e66dd..44049da 100644
--- a/babel.ins
+++ b/babel.ins
@@ -26,7 +26,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 %%
-\def\filedate{2023/08/31}
+\def\filedate{2023/09/01}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 42a6ac4..1653715 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 5c81dd1..3137414 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/08/31 v3.93.24338]
+\ProvidesFile{bbcompat.dtx}[2023/09/01 v3.93.24475]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list.