[latex3-commits] [git/LaTeX3-latex3-babel] main: Tibetan: adjustments for xetex (and luatex). (2fc9946)

Javier email at dante.de
Wed Oct 12 09:23:04 CEST 2022


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/2fc99465e9ca592d3e624c1828d729c46ec79509

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

commit 2fc99465e9ca592d3e624c1828d729c46ec79509
Author: Javier <email at localhost>
Date:   Wed Oct 12 09:23:04 2022 +0200

    Tibetan: adjustments for xetex (and luatex).


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

2fc99465e9ca592d3e624c1828d729c46ec79509
 README.md                   |   4 +++-
 babel.dtx                   |  10 +++++-----
 babel.ins                   |   2 +-
 babel.pdf                   | Bin 886587 -> 886489 bytes
 bbcompat.dtx                |   2 +-
 locale/bo/babel-bo.ini      |   6 +++++-
 locale/bo/babel-tibetan.tex |   5 +++--
 7 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index a1eb085..074bac3 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.81.2884
+## Babel 3.81.2888
 
 **Development**
 
@@ -51,6 +51,8 @@ respective authors.
 3.82  (dev)
       * Predefined transforms can be activated after the first
         \babelprovide.
+      * Fixes for \MakeXXXcase: a (hopefully) better hack for #189 (see
+        also #193).
 
 3.81  2022-10-04
       * Tibetan line breaking and justification (lines padded with
diff --git a/babel.dtx b/babel.dtx
index e679914..4a51b6a 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2022/10/08 v3.81.2884 The Babel package]
+\ProvidesFile{babel.dtx}[2022/10/12 v3.81.2888 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -5176,8 +5176,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.81.2884>>
-%<<date=2022/10/08>>
+%<<version=3.81.2888>>
+%<<date=2022/10/12>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -9976,7 +9976,7 @@ help from Bernd Raichle, for which I am grateful.
   \ifin@\else\bbl at xin@{/k}{/\bbl at cl{lnbrk}}\fi
   \ifin@\bbl at arabicjust\fi
   \bbl at xin@{/p}{/\bbl at cl{lnbrk}}%
-  \ifin@\AtBeginDocument{\bbl at tibetanjust}\fi
+  \ifin@\AtBeginDocument{\@nameuse{bbl at tibetanjust}}\fi
   % == Line breaking: hyphenate.other.(locale|script) ==
   \ifx\bbl at lbkflag\@empty
     \bbl at ifunset{bbl at hyotl@\languagename}{}%
@@ -13277,7 +13277,7 @@ help from Bernd Raichle, for which I am grateful.
           \<bbl at xeipn@\languagename>}%
         \\\bbl at toglobal\<extras\languagename>%
         \\\bbl at add\<noextras\languagename>{%
-          \XeTeXlinebreaklocale "en"}%
+          \XeTeXlinebreaklocale ""}%
         \\\bbl at toglobal\<noextras\languagename>}%
       \ifx\bbl at ispacesize\@undefined
         \gdef\bbl at ispacesize{\bbl at cl{xeisp}}%
diff --git a/babel.ins b/babel.ins
index 87642c4..1d61ad8 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{2022/10/08}
+\def\filedate{2022/10/12}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index deae23b..00edfb7 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 07673a8..0873f14 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/10/08 v3.81.2884]
+\ProvidesFile{bbcompat.dtx}[2022/10/12 v3.81.2888]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/bo/babel-bo.ini b/locale/bo/babel-bo.ini
index 38b6b11..9cc828b 100644
--- a/locale/bo/babel-bo.ini
+++ b/locale/bo/babel-bo.ini
@@ -140,12 +140,16 @@ hyphenrules =
 lefthyphenmin = 1
 righthyphenmin = 1
 hyphenchar = 
-prehyphenchar = 0
+prehyphenchar = 
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 
 postexhyphenchar = 
 hyphenationmin = 
+; Temporary. The intraspace key is currently used by xetex for tsheg. 
+intraspace = 0 .0001 0
+space = .5 0 0
+linebreaking = s
 
 [characters]
 delimiters.quotes = “”‘’
diff --git a/locale/bo/babel-tibetan.tex b/locale/bo/babel-tibetan.tex
index 31f7c3d..6570ca6 100644
--- a/locale/bo/babel-tibetan.tex
+++ b/locale/bo/babel-tibetan.tex
@@ -40,8 +40,9 @@
   \edef\bbl at tempe{\directlua{
     tex.print(table.concat(Babel.tibetan.tsheg, ' ', 1, 3))
   }}%
-  \babelprehyphenation{tibetan}{^^^^0f0b()([^ ^^^^0f0d^^^^0f0e])()}%
-    { {insert, space=\bbl at tempe, data=1}, {string = {1}} }}
+  \babelprehyphenation{tibetan}{^^^^0f0b([^ ^^^^0f0d^^^^0f0e])}%
+    { {insert, penalty=10000}, {insert, space=\bbl at tempe, data=1}, {},
+      {insert, space=\bbl at tempe, data=1}, {string = {1}} }}
 
 \def\bbl at tibetanjust{%
   % (3) Justification





More information about the latex3-commits mailing list.