[latex3-commits] [git/LaTeX3-latex3-babel] main: Transform danda.nobreak. (f158597)

Javier email at dante.de
Tue Jun 15 17:49:13 CEST 2021


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

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

commit f158597ef165575a53e2a4ff61c35a39ca62bde5
Author: Javier <email at localhost>
Date:   Tue Jun 15 17:49:13 2021 +0200

    Transform danda.nobreak.


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

f158597ef165575a53e2a4ff61c35a39ca62bde5
 README.md              |   5 +++--
 babel.dtx              |  32 +++++++++++++++++++++++++-------
 babel.ins              |   2 +-
 babel.pdf              | Bin 843909 -> 843933 bytes
 bbcompat.dtx           |   2 +-
 locale/as/babel-as.ini |   6 ++++++
 locale/bn/babel-bn.ini |   6 ++++++
 locale/gu/babel-gu.ini |   6 ++++++
 locale/hi/babel-hi.ini |   5 +++++
 locale/kn/babel-kn.ini |   6 ++++++
 locale/ml/babel-ml.ini |   6 ++++++
 locale/mr/babel-mr.ini |   6 ++++++
 locale/or/babel-or.ini |   6 ++++++
 locale/ta/babel-ta.ini |   7 +++++++
 locale/te/babel-te.ini |   6 ++++++
 15 files changed, 90 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index 729cad2..615c8a1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.60.2399
+## Babel 3.60.2404
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -47,7 +47,8 @@ respective authors.
 ### Summary of Latest changes
 ```
 3.61   2021-06-??
-       * Improved justification=kashida/elongated: hboxes.
+       * Improved justification=kashida/elongated: hboxes (lua).
+       * Transform danda.nobreak for several Indic scripts (lua).
        
 3.60   2021-06-02
        * A major fix for a bug with the latest LaTeX releases: class
diff --git a/babel.dtx b/babel.dtx
index 58f5e07..91d229b 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2021/06/10 v3.60.2399 The Babel package]
+\ProvidesFile{babel.dtx}[2021/06/15 v3.60.2404 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -3087,8 +3087,7 @@ Spanish}{hyphen.repeat}{Explicit hyphens behave like
 a non-syllabic preposition or conjunction into a non-breaking space.}
 
 \trans{Greek}{diaeresis.hyphen}{Removes the diaeresis above iota and
-upsilon if hyphenated just before. It works with the
-three variants.}
+upsilon if hyphenated just before. It works with the three variants.}
 
 \trans{Hindi, Sanskrit}{transliteration.hk}{The Harvard-Kyoto system to
 romanize Devanagari.}
@@ -3101,6 +3100,10 @@ four characters: \textit{!?:;}\,.}
 \textit{ssz}, \textit{tty} and \textit{zzs} as \textit{cs-cs},
 \textit{dz-dz}, etc.}
 
+\trans{Indic scripts}{danda.nobreak}{Prevents a line break before a
+danda or double danda if there is a space. For Assamese, Bengali,
+Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya, Tamil, Telugu.}
+
 \trans{Arabic, Persian}{kashida.plain}{Experimental. A very simple and
 basic transform for ‘plain’ Arabic fonts, which attempts to distribute
 the tatwil as evenly as possible (starting at the end of the line). See
@@ -4969,8 +4972,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.60.2399>>
-%<<date=2021/06/10>>
+%<<version=3.60.2404>>
+%<<date=2021/06/15>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5537,7 +5540,7 @@ help from Bernd Raichle, for which I am grateful.
   \ifx\@empty#2%
     \edef\bbl at tempc{\ifx\bbl at tempc\@empty\else\bbl at tempc,\fi#1}%
   \else
-    \in@{,provide,}{,#1,}%
+    \in@{,provide=}{,#1}%
     \ifin@
       \edef\bbl at tempc{%
         \ifx\bbl at tempc\@empty\else\bbl at tempc,\fi#1.\bbl at tempb#2}%
@@ -5598,6 +5601,7 @@ help from Bernd Raichle, for which I am grateful.
 \let\bbl at opt@main\@nnil
 \let\bbl at opt@headfoot\@nnil
 \let\bbl at opt@layout\@nnil
+\let\bbl at opt@provide\@nnil
 %    \end{macrocode}
 %
 % The following tool is defined temporarily to store the values of
@@ -5640,6 +5644,16 @@ help from Bernd Raichle, for which I am grateful.
 \ProcessOptions*
 %    \end{macrocode}
 %
+%    \begin{macrocode}
+\ifx\bbl at opt@provide\@nnil\else % Tests. Ignore.
+  \chardef\bbl at iniflag\@ne
+  \bbl at replace\bbl at opt@provide{;}{,}
+  \bbl at add\bbl at opt@provide{,import}
+  \show\bbl at opt@provide
+\fi
+% 
+%    \end{macrocode}
+%
 % \subsection{Conditional loading of shorthands}
 %
 % If there is no |shorthands=<chars>|, the original \textsf{babel}
@@ -7020,7 +7034,11 @@ help from Bernd Raichle, for which I am grateful.
   \ifodd\bbl at iniflag  % case 1,3
     \bbl at ldfinit
     \let\CurrentOption\bbl at opt@main
-    \bbl at exp{\\\babelprovide[import,main]{\bbl at opt@main}}
+    \ifx\bbl at opt@provide\@nnil
+      \bbl at exp{\\\babelprovide[import,main]{\bbl at opt@main}}
+    \else
+      \bbl at exp{\\\babelprovide[\bbl at opt@provide,main]{\bbl at opt@main}}%
+    \fi
     \bbl at afterldf{}%
   \else % case 0,2
     \chardef\bbl at iniflag\z@  % Force ldf 
diff --git a/babel.ins b/babel.ins
index 7a08880..894fbbd 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{2021/06/10}
+\def\filedate{2021/06/15}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index a9814d1..ff9d73a 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 9d29632..8f171a8 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/06/10 v3.60.2399]
+\ProvidesFile{bbcompat.dtx}[2021/06/15 v3.60.2404]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/as/babel-as.ini b/locale/as/babel-as.ini
index e0c2a54..92ef023 100644
--- a/locale/as/babel-as.ini
+++ b/locale/as/babel-as.ini
@@ -148,3 +148,9 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
\ No newline at end of file
diff --git a/locale/bn/babel-bn.ini b/locale/bn/babel-bn.ini
index b3bff10..92e1475 100644
--- a/locale/bn/babel-bn.ini
+++ b/locale/bn/babel-bn.ini
@@ -150,3 +150,9 @@ superscriptingExponent = ×
 
 [counters]
 alphabetic = ক খ গ ঘ ঙ চ ছ জ ঝ ঞ ট ঠ ড ঢ ণ ত থ দ ধ ন প ফ ব ভ
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
diff --git a/locale/gu/babel-gu.ini b/locale/gu/babel-gu.ini
index cf6531c..603acaf 100644
--- a/locale/gu/babel-gu.ini
+++ b/locale/gu/babel-gu.ini
@@ -171,3 +171,9 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
diff --git a/locale/hi/babel-hi.ini b/locale/hi/babel-hi.ini
index bc5e67e..f31b14a 100644
--- a/locale/hi/babel-hi.ini
+++ b/locale/hi/babel-hi.ini
@@ -203,6 +203,11 @@ superscriptingExponent = ×
 alphabetic = क ख ग घ ङ च छ ज झ ञ ट ठ ड ढ ण त थ द ध न प फ ब भ म य र ल व श ष स ह
 
 [transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
+;
 punctuation.space.1.0 = { {a}()|[:;!{?}]() }
 punctuation.space.1.1 = { insert, penalty = 10000 }
 punctuation.space.1.2 = { spacefactor= .8 .3 .8, data = 2 }
diff --git a/locale/kn/babel-kn.ini b/locale/kn/babel-kn.ini
index b3ff325..8829724 100644
--- a/locale/kn/babel-kn.ini
+++ b/locale/kn/babel-kn.ini
@@ -154,3 +154,9 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
\ No newline at end of file
diff --git a/locale/ml/babel-ml.ini b/locale/ml/babel-ml.ini
index a18096a..45914bb 100644
--- a/locale/ml/babel-ml.ini
+++ b/locale/ml/babel-ml.ini
@@ -160,3 +160,9 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
\ No newline at end of file
diff --git a/locale/mr/babel-mr.ini b/locale/mr/babel-mr.ini
index 927dd8b..fea154e 100644
--- a/locale/mr/babel-mr.ini
+++ b/locale/mr/babel-mr.ini
@@ -152,3 +152,9 @@ superscriptingExponent = ×
 
 [counters]
 alphabetic = क ख ग घ ङ च छ ज झ ञ ट ठ ड ढ ण त थ द ध न प फ ब भ म य र ल व श ष स ह ळ
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
diff --git a/locale/or/babel-or.ini b/locale/or/babel-or.ini
index f7b2bd2..cb3355b 100644
--- a/locale/or/babel-or.ini
+++ b/locale/or/babel-or.ini
@@ -171,3 +171,9 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
\ No newline at end of file
diff --git a/locale/ta/babel-ta.ini b/locale/ta/babel-ta.ini
index d46e288..897ff8f 100644
--- a/locale/ta/babel-ta.ini
+++ b/locale/ta/babel-ta.ini
@@ -177,4 +177,11 @@ ancient.2 = ௰ ௨௰ ௩௰ ௪௰ ௫௰ ௬௰ ௭௰ ௮௰ ௯௰
 ancient.3 = ௱ ௨௱ ௩௱ ௪௱ ௫௱ ௬௱ ௭௱ ௮௱ ௯௱
 ancient.4 = ௲ ௨௲ ௩௲ ௪௲ ௫௲ ௬௲ ௭௲ ௮௲ ௯௲
 
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
+
+
 
diff --git a/locale/te/babel-te.ini b/locale/te/babel-te.ini
index 9f78091..0041684 100644
--- a/locale/te/babel-te.ini
+++ b/locale/te/babel-te.ini
@@ -149,3 +149,9 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+
+[transforms.prehyphenation]
+danda.nobreak.1.0 = { |[।॥] }
+danda.nobreak.1.1 = { insert, penalty=10000 }
+danda.nobreak.1.2 = {}
+danda.nobreak.1.3 = {}
\ No newline at end of file





More information about the latex3-commits mailing list.