texlive[51681] Master/texmf-dist: babel (19jul19)

commits+karl at tug.org commits+karl at tug.org
Fri Jul 19 22:46:49 CEST 2019


Revision: 51681
          http://tug.org/svn/texlive?view=revision&revision=51681
Author:   karl
Date:     2019-07-19 22:46:48 +0200 (Fri, 19 Jul 2019)
Log Message:
-----------
babel (19jul19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/babel/README.md
    trunk/Master/texmf-dist/doc/latex/babel/babel.pdf
    trunk/Master/texmf-dist/source/latex/babel/babel.dtx
    trunk/Master/texmf-dist/source/latex/babel/babel.ins
    trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx
    trunk/Master/texmf-dist/source/latex/babel/locale.zip
    trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua
    trunk/Master/texmf-dist/tex/generic/babel/babel.def
    trunk/Master/texmf-dist/tex/generic/babel/babel.sty
    trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
    trunk/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-tr.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-turkish.tex
    trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
    trunk/Master/texmf-dist/tex/generic/babel/switch.def

Modified: trunk/Master/texmf-dist/doc/latex/babel/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/babel/README.md	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/doc/latex/babel/README.md	2019-07-19 20:46:48 UTC (rev 51681)
@@ -1,4 +1,4 @@
-## Babel 3.32
+## Babel 3.33
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -51,6 +51,12 @@
 ### Latest changes
 
 ```
+3.33   2019-07-19
+       - \prehyphenchar set to 0 in languages requiring it: kannada,
+         marathi, tamil, etc. (lua).
+       - \AddBabelHook can be set for specific languages.
+       - Fix - !\grq in T1 behaved like the ligature !`.
+       - Minimal preliminary support for the experimental harftex.
 3.32   2019-06-03
        - CJK line breaking is now disabled in verbatim (lua).
        - New - \babelcharproperty, to change the direction, mirroring
@@ -137,18 +143,6 @@
          bidi at 'automatic' hyphens.
        - Fix for latest latex - babel.ins raised an error.
 
-3.19    2018-04-25
-       - Most changes are for luatex:
-         . The main new feature is a bidi method for both implicit L in
-           R text, and implicit R in L text, with the possibility of
-           switching the font automatically. Still somewhat
-           experimental, but it should work in most cases.
-         . layout=extras for a couple of miscellaneous readjustments.
-         . bidi equation numbers.
-       - Also, for all engines, new field in some ini files:
-         digits.native (to be used in future releases).  
-
 ```
 
 Javier Bezos
-2019/06/03

Modified: trunk/Master/texmf-dist/doc/latex/babel/babel.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/babel/babel.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/babel.dtx	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.dtx	2019-07-19 20:46:48 UTC (rev 51681)
@@ -31,13 +31,23 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2019/06/03 v3.32 The Babel package]
+\ProvidesFile{babel.dtx}[2019/07/19 v3.33 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
-\setmainfont[Scale=.88]{Noto Serif}
-\setsansfont[Scale=.88]{Noto Sans}
-\setmonofont[Scale=.88,FakeStretch=.95]{Noto Mono}
+\setmainfont[
+     Scale=.88,
+     BoldFont = NotoSerif-Bold.ttf,
+     ItalicFont = NotoSerif-Italic.ttf,
+     BoldItalicFont = NotoSerif-BoldItalic.ttf]
+  {NotoSerif-Regular.ttf}
+\setsansfont[
+     Scale=.88,
+     BoldFont = NotoSans-Bold.ttf,
+     ItalicFont = NotoSans-Italic.ttf,
+     BoldItalicFont = NotoSans-BoldItalic.ttf]
+  {NotoSans-Regular.ttf}
+\setmonofont[Scale=.88,FakeStretch=.95]{NotoMono-Regular.ttf}
 \raggedright
 \addtolength{\textwidth}{25pt}
 \addtolength{\textheight}{3.5cm}
@@ -910,8 +920,8 @@
 \begin{verbatim}
 \addto\extrasenglish{\languageshorthands{ngerman}}
 \end{verbatim}
-(You may also need to activate them with, for example,
-|\useshorthands|.)
+(You may also need to activate them as user shorthands in the preamble
+with, for example, |\useshorthands| or |\useshorthands*|.)
 
 Very often, this is a more convenient way to deactivate shorthands
 than |\shorthandoff|, as for example if you want to define a macro
@@ -2787,14 +2797,15 @@
 events. Some hooks are predefined when \luatex{} and \xetex{} are
 used.
 
-\Describe{\AddBabelHook}{\marg{name}\marg{event}\marg{code}}
+\Describe{\AddBabelHook}{\oarg{lang}\marg{name}\marg{event}\marg{code}}
 
-The same name can be applied to several events.  Hooks may be enabled
-and disabled for all defined events with
-|\EnableBabelHook|\marg{name}, |\DisableBabelHook|\marg{name}. Names
-containing the string |babel| are reserved (they are used, for
-example, by |\useshortands*| to add a hook for the event
-|afterextras|).
+The same name can be applied to several events. Hooks may be enabled
+and disabled for all defined events with |\EnableBabelHook|\marg{name},
+|\DisableBabelHook|\marg{name}. Names containing the string |babel| are
+reserved (they are used, for example, by |\useshortands*| to add a hook
+for the event |afterextras|). \New{3.33} They may be also applied to an
+specific language with the optional argument; language specific
+settings are executed after global ones.
 
 Current events are the following; in some of them you can use one to
 three \TeX{} parameters (|#1|, |#2|, |#3|), with the meaning given:
@@ -4035,8 +4046,8 @@
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.32>>
-%<<date=2019/06/03>>
+%<<version=3.33>>
+%<<date=2019/07/19>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -4576,7 +4587,10 @@
         or luatexbase.priority_in_callback('hpack_filter',
            'luaotfload.node_processor')
         or nil)
-    }}
+    }%
+    \@ifpackageloaded{harfload}%
+      {\directlua{ Babel.mirroring_enabled = false }}%
+      {}}
   \let\bbl at tempa\relax
   \@ifpackagewith{babel}{bidi=basic}%
     {\def\bbl at tempa{basic}}%
@@ -5308,27 +5322,29 @@
 %  for developpers, after all. |\bbl at usehooks| is the commands used by
 %  babel to execute hooks defined for an event.
 %
-% \changes{babel~3.9k}{2014/03/23}{Removed a \cs{newcommand},
-%    undefined in Plain}
+% \changes{babel~3.33}{2019/07/16}{Optional argument for languages.}
 %
 %    \begin{macrocode}
 \bbl at trace{Hooks}
-\def\AddBabelHook#1#2{%
-  \bbl at ifunset{bbl at hk@#1}{\EnableBabelHook{#1}}{}%
-  \def\bbl at tempa##1,#2=##2,##3\@empty{\def\bbl at tempb{##2}}%
-  \expandafter\bbl at tempa\bbl at evargs,#2=,\@empty
-  \bbl at ifunset{bbl at ev@#1@#2}%
-    {\bbl at csarg\bbl at add{ev@#2}{\bbl at elt{#1}}%
-     \bbl at csarg\newcommand}%
-    {\bbl at csarg\let{ev@#1@#2}\relax
-     \bbl at csarg\newcommand}%
-  {ev@#1@#2}[\bbl at tempb]}
-\def\EnableBabelHook#1{\bbl at csarg\let{hk@#1}\@firstofone}
-\def\DisableBabelHook#1{\bbl at csarg\let{hk@#1}\@gobble}
+\newcommand\AddBabelHook[3][]{%
+  \bbl at ifunset{bbl at hk@#2}{\EnableBabelHook{#2}}{}%
+  \def\bbl at tempa##1,#3=##2,##3\@empty{\def\bbl at tempb{##2}}%
+  \expandafter\bbl at tempa\bbl at evargs,#3=,\@empty
+  \bbl at ifunset{bbl at ev@#2@#3@#1}%
+    {\bbl at csarg\bbl at add{ev@#3@#1}{\bbl at elt{#2}}}%
+    {\bbl at csarg\let{ev@#2@#3@#1}\relax}%
+  \bbl at csarg\newcommand{ev@#2@#3@#1}[\bbl at tempb]}
+\newcommand\EnableBabelHook[1]{\bbl at csarg\let{hk@#1}\@firstofone}
+\newcommand\DisableBabelHook[1]{\bbl at csarg\let{hk@#1}\@gobble}
 \def\bbl at usehooks#1#2{%
   \def\bbl at elt##1{%
-    \@nameuse{bbl at hk@##1}{\@nameuse{bbl at ev@##1@#1}#2}}%
-  \@nameuse{bbl at ev@#1}}
+    \@nameuse{bbl at hk@##1}{\@nameuse{bbl at ev@##1@#1@}#2}}%
+  \@nameuse{bbl at ev@#1@}%
+  \ifx\languagename\@undefined\else % Test required for Plain (?)
+    \def\bbl at elt##1{%
+      \@nameuse{bbl at hk@##1}{\@nameuse{bbl at ev@##1@#1@\languagename}#2}}%
+    \@nameuse{bbl at ev@#1@\languagename}%
+  \fi}
 %    \end{macrocode}
 %
 %    To ensure forward compatibility, arguments in hooks are set
@@ -7682,7 +7698,7 @@
 %
 %    \begin{macrocode}
 \ProvideTextCommand{\grq}{T1}{%
-  \textormath{\textquoteleft}{\mbox{\textquoteleft}}}
+  \textormath{\kern\z@\textquoteleft}{\mbox{\textquoteleft}}}
 \ProvideTextCommand{\grq}{TU}{%
   \textormath{\textquoteleft}{\mbox{\textquoteleft}}}
 \ProvideTextCommand{\grq}{OT1}{%
@@ -8298,8 +8314,8 @@
           {{\bbl at exp{\\\addlanguage\<l@##1>}}}%
           {}%
         \bbl at ifunset{l@##1}%
-           {}%
-           {\bbl at exp{\let\bbl at tempa\<l@##1>}}%
+          {}%
+          {\bbl at exp{\let\bbl at tempa\<l@##1>}}%
       \fi}%
   \fi
   \ifx\bbl at tempa\relax %        if no opt or no language in opt found
@@ -8314,7 +8330,15 @@
     {\bbl at ifunset{l@#1}%         no hyphenrules found - fallback
        {\bbl at exp{\\\adddialect\<l@#1>\language}}%
        {}}%                      so, l@<lang> is ok - nothing to do
-    {\bbl at exp{\\\adddialect\<l@#1>\bbl at tempa}}}%  found in opt list or ini
+    {\bbl at exp{\\\adddialect\<l@#1>\bbl at tempa}}% found in opt list or ini
+  \bbl at ifunset{bbl at prehc@\languagename}%
+    {}%  TODO - XeTeX, based on \babelfont and HyphenChar?
+    {\ifodd\bbl at engine\bbl at exp{%
+       \\\bbl at ifblank{\@nameuse{bbl at prehc@#1}}%
+         {}%
+         {\\\AddBabelHook[\languagename]{babel-prehc-\languagename}{patterns}%
+           {\prehyphenchar=\@nameuse{bbl at prehc@\languagename}\relax}}}%
+     \fi}}
 %    \end{macrocode}
 %
 % The reader of |ini| files. There are 3 possible cases: a section name
@@ -8410,6 +8434,7 @@
 \def\bbl at after@ini{%
   \bbl at exportkey{lfthm}{typography.lefthyphenmin}{2}%
   \bbl at exportkey{rgthm}{typography.righthyphenmin}{3}%
+  \bbl at exportkey{prehc}{typography.prehyphenchar}{}%
   \bbl at exportkey{hyphr}{typography.hyphenrules}{}%
   \bbl at exportkey{intsp}{typography.intraspace}{}%
   \bbl at exportkey{jstfy}{typography.justify}{w}%
@@ -8823,7 +8848,7 @@
 %    because of a circular definition).
 %
 %   (Recent versions of natbib change dynamically |\@citex|, so PR4087
-%     doesn't seem fixable in a simple way. Just load natbib before.)
+%    doesn't seem fixable in a simple way. Just load natbib before.)
 %
 %    \begin{macrocode}
     \def\@citex[#1][#2]#3{%
@@ -9114,7 +9139,8 @@
 %
 %    When the package varioref is in use we need to modify its
 %    internal command |\@@vpageref| in order to prevent problems when
-%    an active character ends up in the argument of |\vref|.
+%    an active character ends up in the argument of |\vref|. The same
+%    needs to happen for |\vrefpagenum|.
 %
 %    \begin{macrocode}
   \AtBeginDocument{%
@@ -9123,11 +9149,6 @@
         \@safe at activestrue
         \org@@@vpageref{#1}[#2]{#3}%
         \@safe at activesfalse}%
-%    \end{macrocode}
-%
-%    The same needs to happen for |\vrefpagenum|.
-%
-%    \begin{macrocode}
       \bbl at redefine\vrefpagenum#1#2{%
         \@safe at activestrue
         \org at vrefpagenum{#1}{#2}%
@@ -18748,7 +18769,14 @@
 Babel.fontmap[2] = {}      -- al/an
 
 Babel.bidi_enabled = true
+Babel.mirroring_enabled = true
 
+-- Temporary:
+
+if harf then 
+  Babel.mirroring_enabled = false
+end
+
 require('babel-data-bidi.lua')
 
 local characters = Babel.characters
@@ -19037,7 +19065,7 @@
       for r = first_on, q - 1 do
         nodes[r][2] = temp
         item = nodes[r][1]    -- MIRRORING
-        if item.id == GLYPH and temp == 'r' then
+        if Babel.mirroring_enabled and item.id == GLYPH and temp == 'r' then
           item.char = characters[item.char].m or item.char
         end
       end

Modified: trunk/Master/texmf-dist/source/latex/babel/babel.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/babel.ins	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.ins	2019-07-19 20:46:48 UTC (rev 51681)
@@ -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{2019/06/03}
+\def\filedate{2019/07/19}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 

Modified: trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx	2019-07-19 20:46:48 UTC (rev 51681)
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2019/06/03 v3.32]
+\ProvidesFile{bbcompat.dtx}[2019/07/19 v3.33]
 %</dtx>
 %
 %% File 'bbcompat.dtx'

Modified: trunk/Master/texmf-dist/source/latex/babel/locale.zip
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua	2019-07-19 20:46:48 UTC (rev 51681)
@@ -42,7 +42,14 @@
 Babel.fontmap[2] = {}      -- al/an
 
 Babel.bidi_enabled = true
+Babel.mirroring_enabled = true
 
+-- Temporary:
+
+if harf then
+  Babel.mirroring_enabled = false
+end
+
 require('babel-data-bidi.lua')
 
 local characters = Babel.characters
@@ -331,7 +338,7 @@
       for r = first_on, q - 1 do
         nodes[r][2] = temp
         item = nodes[r][1]    -- MIRRORING
-        if item.id == GLYPH and temp == 'r' then
+        if Babel.mirroring_enabled and item.id == GLYPH and temp == 'r' then
           item.char = characters[item.char].m or item.char
         end
       end

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.def	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.def	2019-07-19 20:46:48 UTC (rev 51681)
@@ -41,7 +41,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{babel.def}[2019/06/03 3.32 Babel common definitions]
+\ProvidesFile{babel.def}[2019/07/19 3.33 Babel common definitions]
 \ifx\AtBeginDocument\@undefined
   \input plain.def\relax
 \fi
@@ -265,22 +265,25 @@
     \@namedef{\bbl at tempa\space}}
 \@onlypreamble\bbl at redefinerobust
 \bbl at trace{Hooks}
-\def\AddBabelHook#1#2{%
-  \bbl at ifunset{bbl at hk@#1}{\EnableBabelHook{#1}}{}%
-  \def\bbl at tempa##1,#2=##2,##3\@empty{\def\bbl at tempb{##2}}%
-  \expandafter\bbl at tempa\bbl at evargs,#2=,\@empty
-  \bbl at ifunset{bbl at ev@#1@#2}%
-    {\bbl at csarg\bbl at add{ev@#2}{\bbl at elt{#1}}%
-     \bbl at csarg\newcommand}%
-    {\bbl at csarg\let{ev@#1@#2}\relax
-     \bbl at csarg\newcommand}%
-  {ev@#1@#2}[\bbl at tempb]}
-\def\EnableBabelHook#1{\bbl at csarg\let{hk@#1}\@firstofone}
-\def\DisableBabelHook#1{\bbl at csarg\let{hk@#1}\@gobble}
+\newcommand\AddBabelHook[3][]{%
+  \bbl at ifunset{bbl at hk@#2}{\EnableBabelHook{#2}}{}%
+  \def\bbl at tempa##1,#3=##2,##3\@empty{\def\bbl at tempb{##2}}%
+  \expandafter\bbl at tempa\bbl at evargs,#3=,\@empty
+  \bbl at ifunset{bbl at ev@#2@#3@#1}%
+    {\bbl at csarg\bbl at add{ev@#3@#1}{\bbl at elt{#2}}}%
+    {\bbl at csarg\let{ev@#2@#3@#1}\relax}%
+  \bbl at csarg\newcommand{ev@#2@#3@#1}[\bbl at tempb]}
+\newcommand\EnableBabelHook[1]{\bbl at csarg\let{hk@#1}\@firstofone}
+\newcommand\DisableBabelHook[1]{\bbl at csarg\let{hk@#1}\@gobble}
 \def\bbl at usehooks#1#2{%
   \def\bbl at elt##1{%
-    \@nameuse{bbl at hk@##1}{\@nameuse{bbl at ev@##1@#1}#2}}%
-  \@nameuse{bbl at ev@#1}}
+    \@nameuse{bbl at hk@##1}{\@nameuse{bbl at ev@##1@#1@}#2}}%
+  \@nameuse{bbl at ev@#1@}%
+  \ifx\languagename\@undefined\else % Test required for Plain (?)
+    \def\bbl at elt##1{%
+      \@nameuse{bbl at hk@##1}{\@nameuse{bbl at ev@##1@#1@\languagename}#2}}%
+    \@nameuse{bbl at ev@#1@\languagename}%
+  \fi}
 \def\bbl at evargs{,% <- don't delete this comma
   everylanguage=1,loadkernel=1,loadpatterns=1,loadexceptions=1,%
   adddialect=2,patterns=2,defaultcommands=0,encodedcommands=2,write=0,%
@@ -1213,7 +1216,7 @@
 \ProvideTextCommandDefault{\glq}{%
   \textormath{\quotesinglbase}{\mbox{\quotesinglbase}}}
 \ProvideTextCommand{\grq}{T1}{%
-  \textormath{\textquoteleft}{\mbox{\textquoteleft}}}
+  \textormath{\kern\z@\textquoteleft}{\mbox{\textquoteleft}}}
 \ProvideTextCommand{\grq}{TU}{%
   \textormath{\textquoteleft}{\mbox{\textquoteleft}}}
 \ProvideTextCommand{\grq}{OT1}{%
@@ -1641,8 +1644,8 @@
           {{\bbl at exp{\\\addlanguage\<l@##1>}}}%
           {}%
         \bbl at ifunset{l@##1}%
-           {}%
-           {\bbl at exp{\let\bbl at tempa\<l@##1>}}%
+          {}%
+          {\bbl at exp{\let\bbl at tempa\<l@##1>}}%
       \fi}%
   \fi
   \ifx\bbl at tempa\relax %        if no opt or no language in opt found
@@ -1657,7 +1660,15 @@
     {\bbl at ifunset{l@#1}%         no hyphenrules found - fallback
        {\bbl at exp{\\\adddialect\<l@#1>\language}}%
        {}}%                      so, l@<lang> is ok - nothing to do
-    {\bbl at exp{\\\adddialect\<l@#1>\bbl at tempa}}}%  found in opt list or ini
+    {\bbl at exp{\\\adddialect\<l@#1>\bbl at tempa}}% found in opt list or ini
+  \bbl at ifunset{bbl at prehc@\languagename}%
+    {}%  TODO - XeTeX, based on \babelfont and HyphenChar?
+    {\ifodd\bbl at engine\bbl at exp{%
+       \\\bbl at ifblank{\@nameuse{bbl at prehc@#1}}%
+         {}%
+         {\\\AddBabelHook[\languagename]{babel-prehc-\languagename}{patterns}%
+           {\prehyphenchar=\@nameuse{bbl at prehc@\languagename}\relax}}}%
+     \fi}}
 \def\bbl at read@ini#1{%
   \openin1=babel-#1.ini        % FIXME - number must not be hardcoded
   \ifeof1
@@ -1719,6 +1730,7 @@
 \def\bbl at after@ini{%
   \bbl at exportkey{lfthm}{typography.lefthyphenmin}{2}%
   \bbl at exportkey{rgthm}{typography.righthyphenmin}{3}%
+  \bbl at exportkey{prehc}{typography.prehyphenchar}{}%
   \bbl at exportkey{hyphr}{typography.hyphenrules}{}%
   \bbl at exportkey{intsp}{typography.intraspace}{}%
   \bbl at exportkey{jstfy}{typography.justify}{w}%

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.sty	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.sty	2019-07-19 20:46:48 UTC (rev 51681)
@@ -33,7 +33,7 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{babel}[2019/06/03 3.32 The Babel package]
+\ProvidesPackage{babel}[2019/07/19 3.33 The Babel package]
 \@ifpackagewith{babel}{debug}
   {\providecommand\bbl at trace[1]{\message{^^J[ #1 ]}}%
    \let\bbl at debug\@firstofone}
@@ -250,7 +250,10 @@
         or luatexbase.priority_in_callback('hpack_filter',
            'luaotfload.node_processor')
         or nil)
-    }}
+    }%
+    \@ifpackageloaded{harfload}%
+      {\directlua{ Babel.mirroring_enabled = false }}%
+      {}}
   \let\bbl at tempa\relax
   \@ifpackagewith{babel}{bidi=basic}%
     {\def\bbl at tempa{basic}}%

Modified: trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg	2019-07-19 20:46:48 UTC (rev 51681)
@@ -37,7 +37,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{hyphen.cfg}[2019/06/03 3.32 Babel hyphens]
+\ProvidesFile{hyphen.cfg}[2019/07/19 3.33 Babel hyphens]
 \xdef\bbl at format{\jobname}
 \ifx\AtBeginDocument\@undefined
   \def\@empty{}

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = অসমীয়া
 name.english = Assamese
 name.babel = assamese
@@ -136,7 +136,7 @@
 lefthyphenmin = 
 righthyphenmin = 
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = বাংলা
 name.english = Bangla
 name.babel = bengali
@@ -113,7 +113,7 @@
 lefthyphenmin = 2
 righthyphenmin = 2
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = ગુજરાતી
 name.english = Gujarati
 name.babel = gujarati
@@ -136,7 +136,7 @@
 lefthyphenmin = 
 righthyphenmin = 
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -12,8 +12,8 @@
 
 [identification]
 charset = utf8
-version = 1.0
-date = 2019-01-31
+version = 1.1
+date = 2019-06-16
 name.local = हिन्दी
 name.english = Hindi
 name.babel = hindi
@@ -163,7 +163,7 @@
 lefthyphenmin = 
 righthyphenmin = 
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = ಕನ್ನಡ
 name.english = Kannada
 name.babel = kannada
@@ -118,7 +118,7 @@
 lefthyphenmin = 2
 righthyphenmin = 2
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = മലയാളം
 name.english = Malayalam
 name.babel = malayalam
@@ -124,7 +124,7 @@
 lefthyphenmin = 2
 righthyphenmin = 2
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = मराठी
 name.english = Marathi
 name.babel = marathi
@@ -113,7 +113,7 @@
 lefthyphenmin = 2
 righthyphenmin = 2
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = ଓଡ଼ିଆ
 name.english = Odia
 name.babel = oriya
@@ -136,7 +136,7 @@
 lefthyphenmin = 
 righthyphenmin = 
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = ਪੰਜਾਬੀ
 name.english = Punjabi
 name.babel = punjabi-gurmukhi
@@ -137,7 +137,7 @@
 lefthyphenmin = 
 righthyphenmin = 
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = ਪੰਜਾਬੀ
 name.english = Punjabi
 name.babel = punjabi
@@ -136,7 +136,7 @@
 lefthyphenmin = 
 righthyphenmin = 
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = தமிழ்
 name.english = Tamil
 name.babel = tamil
@@ -136,7 +136,7 @@
 lefthyphenmin = 2
 righthyphenmin = 2
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2018-04-11
+version = 1.2
+date = 2019-06-16
 name.local = తెలుగు
 name.english = Telugu
 name.babel = telugu
@@ -113,7 +113,7 @@
 lefthyphenmin = 2
 righthyphenmin = 2
 hyphenchar = 
-prehyphenchar = 
+prehyphenchar = 0
 posthyphenchar = 
 exhyphenchar = 
 preexhyphenchar = 

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-tr.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-tr.ini	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-tr.ini	2019-07-19 20:46:48 UTC (rev 51681)
@@ -24,6 +24,7 @@
 level = 1
 encodings = T1 OT1 LY1
 derivate = no
+require.babel = turkish
 
 [captions]
 preface = Önsöz

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-turkish.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-turkish.tex	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/tr/babel-turkish.tex	2019-07-19 20:46:48 UTC (rev 51681)
@@ -9,4 +9,16 @@
 \fi
 \BabelBeforeIni{tr}{%
 }
+
+\StartBabelCommands*{turkish}{}
+  \SetCase
+    {\uccode`i=`İ\relax
+     \uccode`ı=`I\relax}
+    {\lccode`İ=`i\relax
+     \lccode`I=`ı\relax}
+  \SetHyphenMap{%
+    \BabelLower{`İ}{`i}%
+    \BabelLower{`I}{`ı}}
+\EndBabelCommands
+
 \endinput
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/nil.ldf	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/nil.ldf	2019-07-19 20:46:48 UTC (rev 51681)
@@ -32,7 +32,7 @@
 %% extension |.ins|) which are part of the distribution.
 %%
 
-\ProvidesLanguage{nil}[2019/06/03 3.32 Nil language]
+\ProvidesLanguage{nil}[2019/07/19 3.33 Nil language]
 \LdfInit{nil}{datenil}
 \ifx\l at nil\@undefined
   \newlanguage\l at nil

Modified: trunk/Master/texmf-dist/tex/generic/babel/switch.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/switch.def	2019-07-19 20:42:46 UTC (rev 51680)
+++ trunk/Master/texmf-dist/tex/generic/babel/switch.def	2019-07-19 20:46:48 UTC (rev 51681)
@@ -37,7 +37,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{switch.def}[2019/06/03 3.32 Babel switching mechanism]
+\ProvidesFile{switch.def}[2019/07/19 3.33 Babel switching mechanism]
 \ifx\AtBeginDocument\@undefined
   \input plain.def\relax
 \fi
@@ -58,8 +58,8 @@
   \countdef\last at language=19
   \def\addlanguage{\alloc at 9\language\chardef\@cclvi}
 \fi
-\def\bbl at version{3.32}
-\def\bbl at date{2019/06/03}
+\def\bbl at version{3.33}
+\def\bbl at date{2019/07/19}
 \def\adddialect#1#2{%
   \global\chardef#1#2\relax
   \bbl at usehooks{adddialect}{{#1}{#2}}%



More information about the tex-live-commits mailing list