[latex3-commits] [latex3/babel] main: Fix #318. (264bd59)

github at latex-project.org github at latex-project.org
Fri Nov 29 13:03:25 CET 2024


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/264bd59b95262aa549093da2093fdcdedeaec999

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

commit 264bd59b95262aa549093da2093fdcdedeaec999
Author: Javier <email at localhost>
Date:   Fri Nov 29 13:03:25 2024 +0100

    Fix #318.


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

264bd59b95262aa549093da2093fdcdedeaec999
 README.md      |   8 ++++++--
 babel-code.pdf | Bin 734634 -> 734739 bytes
 babel.dtx      |  10 +++++-----
 babel.pdf      | Bin 521054 -> 521159 bytes
 4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 1336318..f985fab 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 24.13.69941
+## Babel 24.13.69951
 
 (dev)
 
@@ -60,9 +60,13 @@ respective authors.
 ### Summary of latest changes
 ```
 24.14  (dev)
-       * [not yet] Harfbuzz in the default renderer with \babelfont in many (but
+       * Harfbuzz in the default renderer with \babelfont in many (but
          not all) scripts (lua).
        * Now lazy locale loading sets 'import'.
+       * Improvements in French (thanks to Daniel Flipo) and Japanese
+         ini locale files.
+       * Fix issue with axis (tikz) in RTL (lua, #318). Thanks to Salim
+         Bou.
        
 24.13  2024-11-08
        * French: Added ‘transform values’ for punctuation.space.
diff --git a/babel-code.pdf b/babel-code.pdf
index 47264e2..0882e6a 100644
Binary files a/babel-code.pdf and b/babel-code.pdf differ
diff --git a/babel.dtx b/babel.dtx
index 3f06505..edc8e92 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -37,7 +37,7 @@
   lang       = en-001,
 }
 \ProvidesFile{babel.dtx}%
-  [2024/11/29 v24.13.69941
+  [2024/11/29 v24.13.69951
    The multilingual framework for pdfLaTeX, LuaLaTeX and XeLaTeX] 
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
@@ -6021,7 +6021,7 @@ wouldn’t exist.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=24.13.69941>>
+%<<version=24.13.69951>>
 %<<date=2024/11/29>>
 %    \end{macrocode}
 %
@@ -15617,7 +15617,7 @@ end
                'spacefactor = {' .. '%2, %3, %4' .. '}')           
              rep = rep:gsub('(kashida)%s*=%s*([^%s,]*)', Babel.capture_kashida)
              &% Transform values
-             rep, n = rep:gsub( '{([%a%-%.]+)|([%a%-%.]+)}',
+             rep, n = rep:gsub( '{([%a%-%.]+)|([%a%_%.]+)}',
                function(v,d)
                  return string.format (
                    '{\the\csname bbl at id@@#3\endcsname,"%s",%s}',
@@ -16499,14 +16499,14 @@ end
      {\AddToHook{cmd/diagbox at pict/before}{\let\bbl at pictsetdir\@gobble}%
       \ifx\pgfpicture\@undefined\else % TODO. Allow deactivate?
         \AddToHook{env/pgfpicture/begin}{\bbl at pictsetdir\@ne}%
-        \bbl at add\pgfinterruptpicture{%
-          \bbl at ifsamestring{\@currenvir}{axis}{}\bbl at pictresetdir}%
+        \bbl at add\pgfinterruptpicture{\bbl at pictresetdir}%
         \bbl at add\pgfsys at beginpicture{\bbl at pictsetdir\z@}%
       \fi
       \ifx\tikzpicture\@undefined\else
         \AddToHook{env/tikzpicture/begin}{\bbl at pictsetdir\tw@}%
         \bbl at add\tikz at atbegin@node{\bbl at pictresetdir}%
         \bbl at sreplace\tikz{\begingroup}{\begingroup\bbl at pictsetdir\tw@}%
+        \bbl at sreplace\tikzpicture{\begingroup}{\begingroup\bbl at pictsetdir\tw@}%
       \fi
       \ifx\tcolorbox\@undefined\else
         \def\tcb at drawing@env at begin{%
diff --git a/babel.pdf b/babel.pdf
index fb7c457..22fb55f 100644
Binary files a/babel.pdf and b/babel.pdf differ





More information about the latex3-commits mailing list.