texlive[52794] Master/texmf-dist: babel (14nov19)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 14 22:55:14 CET 2019


Revision: 52794
          http://tug.org/svn/texlive?view=revision&revision=52794
Author:   karl
Date:     2019-11-14 22:55:14 +0100 (Thu, 14 Nov 2019)
Log Message:
-----------
babel (14nov19)

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-data-bidi.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/ko/babel-ko.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini
    trunk/Master/texmf-dist/tex/generic/babel/luababel.def
    trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
    trunk/Master/texmf-dist/tex/generic/babel/switch.def
    trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def
    trunk/Master/texmf-dist/tex/generic/babel/xebabel.def

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-el-polyton.ini
    trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-polytonicgreek.tex
    trunk/Master/texmf-dist/tex/generic/babel/xe-polygreek.tex

Modified: trunk/Master/texmf-dist/doc/latex/babel/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/babel/README.md	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/doc/latex/babel/README.md	2019-11-14 21:55:14 UTC (rev 52794)
@@ -1,4 +1,4 @@
-## Babel 3.35
+## Babel 3.36
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -51,6 +51,14 @@
 ### Latest changes
 
 ```
+3.36   2019-11-14
+       - New - \babeladjust, with options: bidi.text, bidi.mirroring,
+         bidi.mapdigits, layout.tabular, layout.lists, linebreak.sea,
+         linebreak.cjk. There are still some limitations.
+       - New - ini for Polytonic Greek, thanks to Claudio Beccari.
+       - Fix - Language and script set for Chinese Tradicional and
+         Chinese Simplified.
+       
 3.35   2019-10-15
        - \markboth and \markright made robust with a recent LaTeX.
        - Shorthands work in bibs and refs even with safe=none.

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-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.dtx	2019-11-14 21:55:14 UTC (rev 52794)
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2019/10/15 v3.35 The Babel package]
+\ProvidesFile{babel.dtx}[2019/11/14 v3.36 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -1235,16 +1235,14 @@
 \end{verbatim}
 \endgroup
   Khemer clusters are rendered wrongly.
-\item[East Asia scripts] Internal inconsistencies in script and
-  language names must be sorted out, so you may need to set them
-  explicitly in |\babelfont|, as well as |CJKShape|. \luatex{} does
-  basic line breaking, but currently \xetex{} does not (you may load
-  \textsf{zhspacing}). Although for a few words and shorts texts the
-  |ini| files should be fine, CJK texts are are best set with a
-  dedicated framework (\textsf{CJK}, \textsf{luatexja}, \textsf{kotex},
-  \textsf{CTeX}...), . Actually, this is what the |ldf| does in
-  |japanese| with \luatex, because the following piece of code loads 
-  \textsf{luatexja}:
+\item[East Asia scripts] Settings for either Simplified of Tradicional
+should work out of the box. \luatex{} does basic line breaking, but
+currently \xetex{} does not (you may load \textsf{zhspacing}). Although
+for a few words and shorts texts the |ini| files should be fine, CJK
+texts are best set with a dedicated framework (\textsf{CJK},
+\textsf{luatexja}, \textsf{kotex}, \textsf{CTeX}, etc.). Actually, this
+is what the |ldf| does in |japanese| with \luatex, because the
+following piece of code loads \textsf{luatexja}:
 \begin{verbatim}
 \documentclass{ltjbook}
 \usepackage[japanese]{babel}
@@ -2080,11 +2078,18 @@
 
 \Describe{\babelprovide}{\oarg{options}\marg{language-name}}
 
-If the language |\marg{language-name}| has not been defined and there
-are no options, it creates an “empty” one in the following way: defines
-the internal structure of the language with some defaults: the hyphen
-rules, if not available, are set to the current ones, left and right
-hyphen mins are set to 2 and 3, but captions and date are not defined.
+If the language \m{language-name} has not been loaded as class or
+package option and there are no \m{options}, it creates an “empty” one
+with some defaults in its internal structure: the hyphen rules, if not
+available, are set to the current ones, left and right hyphen mins are
+set to 2 and 3. In either case, caption, date and language system are
+not defined.
+
+If no |ini| file is imported with |import|, \m{language-name} is
+relevant because in such a case the hyphenation rules are based on it
+as provided in the |ini| file corresponding to that name; the same
+applies to OpenType language and script.
+
 Conveniently, some options allow to fill the language, and \babel{}
 warns you about what to do if there is a missing string. Very likely
 you will find alerts like that in the |log| file:
@@ -2213,8 +2218,8 @@
 Sets the interword space for the writing system of the language, in em
 units (so, |0 .1 0| is |0em plus .1em|). Like |\spaceskip|, the em unit
 applied is that of the current text (more precisely, the previous 
-glyph). Currently used only in Southeast Asian scrips, like Thai.
-Requires |import|.
+glyph). Currently used only in Southeast Asian scrips, like Thai, and
+CJK. Requires |import|.
 
 \Describe{intrapenalty=}{\meta{penalty}}
 Sets the interword penalty for the writing system of this language.
@@ -2995,7 +3000,7 @@
 With the optional argument, you can set a range of values. There are
 three properties (with a short name, taken from Unicode): |direction|
 (|bc|), |mirror| (|bmg|), |linebreak| (|lb|). The settings are global.
-          
+
 For example:
 \begin{verbatim}
 \babelcharproperty{`¿}{mirror}{`?}   
@@ -3006,6 +3011,21 @@
 This command is allowed only in vertical mode (the preamble or between
 paragraphs).
 
+\subsection{Tweaking some features}
+
+\Describe{\babeladjust}{\marg{key-value-list}}
+
+\New{3.36} Sometimes you might need to disable some \babel{} features.
+Currently this macro understands the following keys (and only for
+\textsf{luatex}), with values |on| or |off|: |bidi.text|,
+|bidi.mirroring|, |bidi.mapdigits|, |layout.lists|, |layout.tabular|,
+|linebreak.sea|, |linebreak.cjk|. For example, you can set
+|\babeladjust{bidi.text=off}| if you are using an alternative algorithm
+or with large sections not requiring it. With \textsf{luahbtex} you may
+need |bidi.mirroring=off|. Use with care, because these options do not
+deactivate other related options (like paragraph direction with
+|bidi.text|).
+
 \subsection{Tips, workarounds, known issues and notes}
 
 \begin{itemize}
@@ -3151,6 +3171,16 @@
 \babelFSfeatures{turkish}{Language=Turkish}
 \end{verbatim}
 
+\medskip
+\textbf{Modifying values of |ini| files}
+
+\New{3.36} There is a way to modify the values of |ini| files when they
+get loaded with |\babelprovide|. To set, say, |digits.native| in the
+|numbers| section, use something like
+|numbers..digits.native=abcdefghij| (note the double dot between the
+section and the key name). The syntax may change, and currently it only
+redefines existing keys.
+
 \section{Loading languages with \file{language.dat}}
 
 \TeX{} and most engines based on it (pdf\TeX, \xetex, $\epsilon$-\TeX,
@@ -4073,8 +4103,8 @@
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.35>>
-%<<date=2019/10/15>>
+%<<version=3.36>>
+%<<date=2019/11/14>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5665,11 +5695,9 @@
   \bbl at usehooks{beforestart}{}%
   \global\let\bbl at beforestart\relax}
 \AtBeginDocument{%
-  \bbl at beforestart
+  \@nameuse{bbl at beforestart}%
   \if at filesw
-    \immediate\write\@mainaux{%
-    %  \let\string\bbl at nostdfont\string\@gobble 
-      \string\bbl at beforestart}%
+    \immediate\write\@mainaux{\string\@nameuse{bbl at beforestart}}%
   \fi
   \expandafter\selectlanguage\expandafter{\bbl at main@language}%
   \ifbbl at single  % must go after the line above
@@ -8075,8 +8103,7 @@
   \let\bbl at KVP@main\@nil
   \let\bbl at KVP@script\@nil
   \let\bbl at KVP@language\@nil
-  \let\bbl at KVP@dir\@nil
-  \let\bbl at KVP@hyphenrules\@nil
+  \let\bbl at KVP@hyphenrules\@nil  % only for provide at new
   \let\bbl at KVP@mapfont\@nil
   \let\bbl at KVP@maparabic\@nil
   \let\bbl at KVP@mapdigits\@nil
@@ -8083,12 +8110,13 @@
   \let\bbl at KVP@intraspace\@nil
   \let\bbl at KVP@intrapenalty\@nil
   \bbl at forkv{#1}{%  TODO - error handling
-    \in@{/}{##1}%
+    \in@{..}{##1}%
     \ifin@
       \bbl at renewinikey##1\@@{##2}%
     \else
       \bbl at csarg\def{KVP@##1}{##2}%
     \fi}%
+  % == import, captions ==
   \ifx\bbl at KVP@import\@nil\else
     \bbl at exp{\\\bbl at ifblank{\bbl at KVP@import}}%
       {\begingroup
@@ -8121,7 +8149,7 @@
   % At this point all parameters are defined if 'import'. Now we
   % execute some code depending on them. But what about if nothing was
   % imported? We just load the very basic parameters: ids and a few
-  % more.
+  % more. 
   \bbl at ifunset{bbl at lname@#2}%
     {\def\BabelBeforeIni##1##2{%
        \begingroup
@@ -8128,14 +8156,17 @@
          \catcode`\[=12 \catcode`\]=12 \catcode`\==12 %
          \let\bbl at ini@captions at aux\@gobbletwo
          \def\bbl at inidate ####1.####2.####3.####4\relax ####5####6{}%
-         \bbl at read@ini{##1}%
+         \bbl at read@ini{##1}{basic data}%
          \bbl at exportkey{chrng}{characters.ranges}{}%
          \bbl at exportkey{dgnat}{numbers.digits.native}{}%
+         % \bbl at exportkey{hyphr}{typography.hyphenrules}{}%
+         % \bbl at exportkey{intsp}{typography.intraspace}{}%
        \endgroup}%           boxed, to avoid extra spaces:
      {\setbox\z@\hbox{\InputIfFileExists{babel-#2.tex}{}{}}}}%
     {}%
   % -
-  % Override script and language names with script= and language=
+  % == script, language ==
+  % Override the values from ini or defines them
   \ifx\bbl at KVP@script\@nil\else
     \bbl at csarg\edef{sname@#2}{\bbl at KVP@script}%
   \fi
@@ -8142,7 +8173,8 @@
   \ifx\bbl at KVP@language\@nil\else
     \bbl at csarg\edef{lname@#2}{\bbl at KVP@language}%
   \fi
-  % For bidi texts, to switch the language based on direction
+  % == mapfont ==
+  % For bidi texts, to switch the font based on direction
   \ifx\bbl at KVP@mapfont\@nil\else
     \bbl at ifsamestring{\bbl at KVP@mapfont}{direction}{}%
       {\bbl at error{Option `\bbl at KVP@mapfont' unknown for\\%
@@ -8167,15 +8199,16 @@
     \fi
     \bbl at exp{\\\bbl at add\\\bbl at mapselect{\\\bbl at mapdir{\languagename}}}%
   \fi
-  % For East Asian, Southeast Asian, if interspace in ini - TODO: as hook?
-  \ifx\bbl at KVP@intraspace\@nil\else % We may override the ini
+  % == intraspace, intrapenalty ==
+  % For CJK, East Asian, Southeast Asian, if interspace in ini
+  \ifx\bbl at KVP@intraspace\@nil\else % We can override the ini or set
     \bbl at csarg\edef{intsp@#2}{\bbl at KVP@intraspace}%
   \fi
-  \ifcase\bbl at engine\or
+  \ifcase\bbl at engine\or   % lua
     \bbl at ifunset{bbl at intsp@\languagename}{}%
       {\expandafter\ifx\csname bbl at intsp@\languagename\endcsname\@empty\else
          \bbl at xin@{\bbl at cs{sbcp@\languagename}}{Hant,Hans,Jpan,Kore,Kana}%
-         \ifin@
+         \ifin@           % cjk
            \bbl at cjkintraspace
            \directlua{
                Babel = Babel or {}
@@ -8186,7 +8219,7 @@
            \ifx\bbl at KVP@intrapenalty\@nil
              \bbl at intrapenalty0\@@
            \fi 
-         \else
+         \else            % sea
            \bbl at seaintraspace
            \bbl at exp{\\\bbl at intraspace\bbl at cs{intsp@\languagename}\\\@@}%
            \directlua{
@@ -8203,9 +8236,9 @@
        \ifx\bbl at KVP@intrapenalty\@nil\else
          \expandafter\bbl at intrapenalty\bbl at KVP@intrapenalty\@@
        \fi}%
-  \or 
+  \or                     % xe
     \bbl at xin@{\bbl at cs{sbcp@\languagename}}{Thai,Laoo,Khmr}%
-    \ifin@
+    \ifin@                % sea (currently ckj not handled)
       \bbl at ifunset{bbl at intsp@\languagename}{}%
         {\expandafter\ifx\csname bbl at intsp@\languagename\endcsname\@empty\else
           \ifx\bbl at KVP@intraspace\@nil
@@ -8230,6 +8263,7 @@
         \fi}%
     \fi
   \fi
+  % == maparabic ==
   % Native digits, if provided in ini (TeX level, xe and lua)
   \ifcase\bbl at engine\else
     \bbl at ifunset{bbl at dgnat@\languagename}{}%
@@ -8247,6 +8281,7 @@
         \fi
       \fi}%
   \fi
+  % == mapdigits ==
   % Native digits (lua level).
   \ifodd\bbl at engine
     \ifx\bbl at KVP@mapdigits\@nil\else
@@ -8283,6 +8318,7 @@
         }}
     \fi
   \fi
+  % == require.babel in ini ==
   % To load or reaload the babel-*.tex, if require.babel in ini
   \bbl at ifunset{bbl at rqtex@\languagename}{}%
     {\expandafter\ifx\csname bbl at rqtex@\languagename\endcsname\@empty\else
@@ -8293,6 +8329,7 @@
        \catcode`\@=\atcatcode
        \let\atcatcode\relax
      \fi}%
+  % == main ==
   \ifx\bbl at KVP@main\@nil  % Restore only if not 'main'
     \let\languagename\bbl at savelangname
     \chardef\localeid\bbl at savelocaleid\relax
@@ -8356,7 +8393,7 @@
         \fi}%
       \expandafter\bbl at tempb\bbl at captionslist\@empty
     \else
-      \bbl at read@ini{\bbl at KVP@captions}%  Here all letters cat = 11
+      \bbl at read@ini{\bbl at KVP@captions}{data}%  Here all letters cat = 11
       \bbl at after@ini
       \bbl at savestrings
     \fi
@@ -8380,7 +8417,7 @@
 \def\bbl at provide@renew#1{%
   \ifx\bbl at KVP@captions\@nil\else
     \StartBabelCommands*{#1}{captions}%
-      \bbl at read@ini{\bbl at KVP@captions}%   Here all letters cat = 11
+      \bbl at read@ini{\bbl at KVP@captions}{data}%   Here all letters cat = 11
       \bbl at after@ini
       \bbl at savestrings
     \EndBabelCommands
@@ -8391,6 +8428,7 @@
      \bbl at savedate
    \EndBabelCommands
   \fi
+  % == hyphenrules ==
   \bbl at provide@hyphens{#1}}
 %    \end{macrocode}
 %
@@ -8442,7 +8480,7 @@
 % key/value pair. \textit{TODO - Work in progress.}
 %
 %    \begin{macrocode}
-\def\bbl at read@ini#1{%
+\def\bbl at read@ini#1#2{%
   \openin1=babel-#1.ini        % FIXME - number must not be hardcoded
   \ifeof1
     \bbl at error
@@ -8458,11 +8496,12 @@
     \def\bbl at inipreread##1=##2\@@{%
       \bbl at trim@def\bbl at tempa{##1}% Redundant below !!
       % Move trims here ??
-      \bbl at ifunset{bbl at KVP@\bbl at section/\bbl at tempa}%
+      \bbl at ifunset{bbl at KVP@\bbl at section..\bbl at tempa}%
         {\expandafter\bbl at inireader\bbl at tempa=##2\@@}%
         {}}%
     \let\bbl at inireader\bbl at iniskip
-    \bbl at info{Importing data from babel-#1.ini for \languagename}%
+    \bbl at info{Importing #2 for \languagename\\%
+             from babel-#1.ini. Reported}%
     \loop
     \if T\ifeof1F\fi T\relax % Trick, because inside \loop
       \endlinechar\m at ne
@@ -8491,12 +8530,14 @@
   \@nameuse{bbl at secpost@\bbl at section}%  ends previous section
   \def\bbl at section{#1}%
   \def\bbl at elt##1##2{%
-    \@namedef{bbl at KVP@#1/##1}{}}%
+    \@namedef{bbl at KVP@#1..##1}{}}%
   \@nameuse{bbl at renew@#1}%
   \@nameuse{bbl at secpre@#1}%   starts current section
   \bbl at ifunset{bbl at inikv@#1}%
     {\let\bbl at inireader\bbl at iniskip}%
     {\bbl at exp{\let\\\bbl at inireader\<bbl at inikv@#1>}}}
+\def\bbl at renewinikey#1..#2\@@#3{%
+  \bbl at csarg\bbl at add{renew@#1}{\bbl at elt{#2}{#3}}}
 %    \end{macrocode}
 %
 % Reads a key=val line and stores the trimmed val in
@@ -8527,13 +8568,20 @@
 % the |ini| file.  The following macros are the readers for
 % |identification| and |typography|.
 %
+% \changes{babel~3.36}{2019/10/30}{New fields for CJK, because OpenType
+%  and the CLDR follow different models.}
+%
 %    \begin{macrocode}
 \let\bbl at inikv@identification\bbl at inikv
 \def\bbl at secpost@identification{%
-  \bbl at exportkey{lname}{identification.name.english}{}%
+  \bbl at ifunset{bbl@@kv at identification.name.opentype}%
+    {\bbl at exportkey{lname}{identification.name.english}{}}%
+    {\bbl at exportkey{lname}{identification.name.opentype}{}}%
   \bbl at exportkey{lbcp}{identification.tag.bcp47}{}%
   \bbl at exportkey{lotf}{identification.tag.opentype}{dflt}%
-  \bbl at exportkey{sname}{identification.script.name}{}%
+  \bbl at ifunset{bbl@@kv at identification.script.name.opentype}%
+    {\bbl at exportkey{sname}{identification.script.name}{}}%
+    {\bbl at exportkey{sname}{identification.script.name.opentype}{}}%
   \bbl at exportkey{sbcp}{identification.script.tag.bcp47}{}%
   \bbl at exportkey{sotf}{identification.script.tag.opentype}{DFLT}}
 \let\bbl at inikv@typography\bbl at inikv
@@ -8699,7 +8747,7 @@
 %    \begin{macrocode}
 \def\bbl at provide@lsys#1{%
   \bbl at ifunset{bbl at lname@#1}%
-    {\bbl at ini@ids{#1}}%
+    {\bbl at ini@basic{#1}}%
     {}%
   \bbl at csarg\let{lsys@#1}\@empty
   \bbl at ifunset{bbl at sname@#1}{\bbl at csarg\gdef{sname@#1}{Default}}{}%
@@ -8723,18 +8771,79 @@
 % \changes{babel~3.34}{2019/08/05}{Added \cs{endinput}.}
 %
 %    \begin{macrocode}
-\def\bbl at ini@ids#1{%
+\def\bbl at ini@basic#1{%
   \def\BabelBeforeIni##1##2{%
     \begingroup
       \bbl at add\bbl at secpost@identification{\closein1 }%
       \catcode`\[=12 \catcode`\]=12 \catcode`\==12 %
-      \bbl at read@ini{##1}%   
-      \endinput
-    \endgroup}%           boxed, to avoid extra spaces:
+      \bbl at read@ini{##1}{font and identification data}%   
+      \endinput          % babel- .tex may contain onlypreamble's
+    \endgroup}%            boxed, to avoid extra spaces:
   {\setbox\z@\hbox{\InputIfFileExists{babel-#1.tex}{}{}}}}
+% \section{Adjusting the Babel bahavior}
+%
+% \changes{babel~3.36}{2019/10/30}{New macro \cs{babeladjust}}
+%
+% A generic high level inteface is provided to adjust some global
+% and general settings.
+%
+%    \begin{macrocode}
+\newcommand\babeladjust[1]{%  TODO. Error handling.
+  \bbl at forkv{#1}{\@nameuse{bbl at ADJ@##1@##2}}}
+%
+\def\bbl at adjust@lua#1#2{%
+  \ifvmode
+    \ifnum\currentgrouplevel=\z@
+      \directlua{ Babel.#2 }%
+      \expandafter\expandafter\expandafter\@gobble
+    \fi
+  \fi      
+  {\bbl at error   % The error is gobbled if everything went ok.
+     {Currently, #1 related features can be adjusted only\\%
+      in the main vertical list.}%
+     {Maybe things change in the future, but this is what it is.}}}
+\@namedef{bbl at ADJ@bidi.mirroring at on}{%
+  \bbl at adjust@lua{bidi}{mirroring_enabled=true}}
+\@namedef{bbl at ADJ@bidi.mirroring at off}{%
+  \bbl at adjust@lua{bidi}{mirroring_enabled=false}}
+\@namedef{bbl at ADJ@bidi.text at on}{%
+  \bbl at adjust@lua{bidi}{bidi_enabled=true}}
+\@namedef{bbl at ADJ@bidi.text at off}{%
+  \bbl at adjust@lua{bidi}{bidi_enabled=false}}
+\@namedef{bbl at ADJ@bidi.mapdigits at on}{%
+  \bbl at adjust@lua{bidi}{digits_mapped=true}}
+\@namedef{bbl at ADJ@bidi.mapdigits at off}{%
+  \bbl at adjust@lua{bidi}{digits_mapped=false}}
+%
+\@namedef{bbl at ADJ@linebreak.sea at on}{%
+  \bbl at adjust@lua{linebreak}{sea_enabled=true}}
+\@namedef{bbl at ADJ@linebreak.sea at off}{%
+  \bbl at adjust@lua{linebreak}{sea_enabled=false}}
+\@namedef{bbl at ADJ@linebreak.cjk at on}{%
+  \bbl at adjust@lua{linebreak}{cjk_enabled=true}}
+\@namedef{bbl at ADJ@linebreak.cjk at off}{%
+  \bbl at adjust@lua{linebreak}{cjk_enabled=false}}
+%
+\def\bbl at adjust@layout#1{%
+  \ifvmode
+    #1%
+    \expandafter\@gobble
+  \fi
+  {\bbl at error   % The error is gobbled if everything went ok.
+     {Currently, layout related features can be adjusted only\\%
+      in vertical mode.}%
+     {Maybe things change in the future, but this is what it is.}}}
+\@namedef{bbl at ADJ@layout.tabular at on}{%
+  \bbl at adjust@layout{\let\@tabular\bbl at NL@@tabular}}
+\@namedef{bbl at ADJ@layout.tabular at off}{%
+  \bbl at adjust@layout{\let\@tabular\bbl at OL@@tabular}}
+\@namedef{bbl at ADJ@layout.lists at on}{%
+  \bbl at adjust@layout{\let\list\bbl at NL@list}}
+\@namedef{bbl at ADJ@layout.lists at on}{%
+  \bbl at adjust@layout{\let\list\bbl at OL@list}}
 %    \end{macrocode}
 %
-% \section{The kernel of Babel (\texttt{babel.def}, only \LaTeX)}
+% \section{The kernel of Babel (\texttt{babel.def} for \LaTeX only)}
 %
 % \subsection{The redefinition of the style commands}
 %
@@ -9824,6 +9933,9 @@
 %    or variant language, for which an already defined hyphenation
 %    table can be used.
 %
+% \changes{babel~3.36}{2019/11/07}{Improved message, now showing the
+%   language name}
+%
 %    \begin{macrocode}
 \def\bbl at version{<@version@>}
 \def\bbl at date{<@date@>}
@@ -9830,7 +9942,16 @@
 \def\adddialect#1#2{%
   \global\chardef#1#2\relax
   \bbl at usehooks{adddialect}{{#1}{#2}}%
-  \wlog{\string#1 = a dialect from \string\language#2}}
+  \begingroup
+    \count@#1\relax
+    \def\bbl at elt##1##2##3##4{%
+      \ifnum\count@=##2\relax
+        \bbl at info{\string#1 = using hyphenrules for ##1\\%
+                  (\string\language\the\count@)}%
+        \def\bbl at elt####1####2####3####4{}%
+      \fi}%
+    \bbl at languages
+  \endgroup}
 %    \end{macrocode}
 %
 %  \end{macro}
@@ -11355,7 +11476,7 @@
           \bbl at ifunset{bbl@##1dflt@}%
             {\@nameuse{##1family}%
              \bbl at csarg\gdef{WFF@\f at family}{}% Flag
-             \bbl at exp{\\\bbl at add\\\bbl at tempa{* \<##1family> / \f at family\\\\%
+             \bbl at exp{\\\bbl at add\\\bbl at tempa{* \<##1family>= \f at family\\\\%
                 \space\space\fontname\font\\\\}}%
              \bbl at csarg\xdef{##1dflt@}{\f at family}%
              \expandafter\xdef\csname ##1default\endcsname{\f at family}}%
@@ -11677,7 +11798,7 @@
 \fi
 \IfBabelLayout{lists}
   {\bbl at sreplace\list
-    {\@totalleftmargin\leftmargin}{\@totalleftmargin\bbl at listleftmargin}%
+     {\@totalleftmargin\leftmargin}{\@totalleftmargin\bbl at listleftmargin}%
    \def\bbl at listleftmargin{%
      \ifcase\bbl at thepardir\leftmargin\else\rightmargin\fi}%
    \ifcase\bbl at engine
@@ -12200,7 +12321,7 @@
 
       for item in node.traverse(head) do
         if item.id == GLYPH then
-        
+
           local lang = item.lang
 
           local LOCALE = node.get_attribute(item,
@@ -12441,15 +12562,17 @@
 \IfBabelLayout{tabular}
   {\let\bbl at OL@@tabular\@tabular
    \bbl at replace\@tabular{$}{\bbl at nextfake$}%
-   \let\bbl at tabular\@tabular
+   \let\bbl at NL@@tabular\@tabular
    \AtBeginDocument{%
-     \ifx\bbl at tabular\@tabular\else
+     \ifx\bbl at NL@@tabular\@tabular\else
        \bbl at replace\@tabular{$}{\bbl at nextfake$}%
+       \let\bbl at NL@@tabular\@tabular
      \fi}}
    {}
 \IfBabelLayout{lists}
   {\let\bbl at OL@list\list
    \bbl at sreplace\list{\parshape}{\bbl at listparshape}%
+   \let\bbl at NL@list\list
    \def\bbl at listparshape#1#2#3{%
      \parshape #1 #2 #3 %
      \ifnum\bbl at getluadir{page}=\bbl at getluadir{par}\else
@@ -12540,8 +12663,20 @@
 %   are `on'.}
 %
 % The file \textsf{babel-data-bidi.lua} currently only contains data. It is
-% a large and boring file and it's not shown here. See the generated
-% file.
+% a large and boring file and it is not shown here (see the generated file),
+% but here is a sample:
+%\begin{verbatim}
+% [0x25]={d='et'},
+% [0x26]={d='on'},
+% [0x27]={d='on'},
+% [0x28]={d='on', m=0x29},
+% [0x29]={d='on', m=0x28},
+% [0x2A]={d='on'},
+% [0x2B]={d='es'},
+% [0x2C]={d='cs'},
+%\end{verbatim}
+% For the meaning of these codes, see the Unicode standard.
+%
 %\iffalse
 %    \begin{macrocode}
 %<*bididata>
@@ -12549,8 +12684,6 @@
 
 Babel = Babel or {}
 
--- TODO: merge ranges into characters, as meta index
-
 Babel.ranges={
  {0x0590, 0x05FF, 'r'},
  {0x0600, 0x07BF, 'al'},
@@ -18650,7 +18783,7 @@
 % \end{quote}
 %
 % Well, it took me some time to guess what the batch rules in UAX\#9
-% actually mean (in other word, \textit{what} they do and\textit{why},
+% actually mean (in other word, \textit{what} they do and \textit{why},
 % and not only \textit{how}), but I think (or I hope) I've managed to
 % understand them.
 %
@@ -19335,7 +19468,18 @@
 %
 % \section{Data for CJK}
 %
-% It is a boring file and it's not shown here. See the generated file.
+% It is a boring file and it is not shown here (see the generated file),
+% but here is a sample:
+%\begin{verbatim}
+% [0x0021]={c='ex'},
+% [0x0024]={c='pr'},
+% [0x0025]={c='po'},
+% [0x0028]={c='op'},
+% [0x0029]={c='cp'},
+% [0x002B]={c='pr'},
+%\end{verbatim}
+% For the meaning of these codes, see the Unicode standard.
+%
 %\iffalse
 %    \begin{macrocode}
 %<*cjkdata>
@@ -19621,11 +19765,15 @@
 %
 % \changes{babel-3.32}{2019/05/21}{Don't set it to
 %   \cs{l at nohyphenation}, best reserved fo special uses.}
+% \changes{babel~3.36}{2019/10/30}{Add nil to the language list.}
 %
 %    \begin{macrocode}
 \ifx\l at nil\@undefined
   \newlanguage\l at nil
   \@namedef{bbl at hyphendata@\the\l at nil}{{}{}}% Remove warning
+  \let\bbl at elt\relax
+  \edef\bbl at languages{%  Add it to the list of languages
+    \bbl at languages\bbl at elt{nil}{\the\l at nil}{}{}}
 \fi
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/babel/babel.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/babel.ins	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.ins	2019-11-14 21:55:14 UTC (rev 52794)
@@ -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/10/15}
+\def\filedate{2019/11/14}
 \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-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx	2019-11-14 21:55:14 UTC (rev 52794)
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2019/10/15 v3.35]
+\ProvidesFile{bbcompat.dtx}[2019/11/14 v3.36]
 %</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-data-bidi.lua
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel-data-bidi.lua	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel-data-bidi.lua	2019-11-14 21:55:14 UTC (rev 52794)
@@ -36,8 +36,6 @@
 
 Babel = Babel or {}
 
--- TODO: merge ranges into characters, as meta index
-
 Babel.ranges={
  {0x0590, 0x05FF, 'r'},
  {0x0600, 0x07BF, 'al'},

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.def	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.def	2019-11-14 21:55:14 UTC (rev 52794)
@@ -41,7 +41,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{babel.def}[2019/10/15 3.35 Babel common definitions]
+\ProvidesFile{babel.def}[2019/11/14 3.36 Babel common definitions]
 \ifx\AtBeginDocument\@undefined
   \input plain.def\relax
 \fi
@@ -422,11 +422,9 @@
   \bbl at usehooks{beforestart}{}%
   \global\let\bbl at beforestart\relax}
 \AtBeginDocument{%
-  \bbl at beforestart
+  \@nameuse{bbl at beforestart}%
   \if at filesw
-    \immediate\write\@mainaux{%
-    %  \let\string\bbl at nostdfont\string\@gobble
-      \string\bbl at beforestart}%
+    \immediate\write\@mainaux{\string\@nameuse{bbl at beforestart}}%
   \fi
   \expandafter\selectlanguage\expandafter{\bbl at main@language}%
   \ifbbl at single  % must go after the line above
@@ -1384,8 +1382,7 @@
   \let\bbl at KVP@main\@nil
   \let\bbl at KVP@script\@nil
   \let\bbl at KVP@language\@nil
-  \let\bbl at KVP@dir\@nil
-  \let\bbl at KVP@hyphenrules\@nil
+  \let\bbl at KVP@hyphenrules\@nil  % only for provide at new
   \let\bbl at KVP@mapfont\@nil
   \let\bbl at KVP@maparabic\@nil
   \let\bbl at KVP@mapdigits\@nil
@@ -1392,12 +1389,13 @@
   \let\bbl at KVP@intraspace\@nil
   \let\bbl at KVP@intrapenalty\@nil
   \bbl at forkv{#1}{%  TODO - error handling
-    \in@{/}{##1}%
+    \in@{..}{##1}%
     \ifin@
       \bbl at renewinikey##1\@@{##2}%
     \else
       \bbl at csarg\def{KVP@##1}{##2}%
     \fi}%
+  % == import, captions ==
   \ifx\bbl at KVP@import\@nil\else
     \bbl at exp{\\\bbl at ifblank{\bbl at KVP@import}}%
       {\begingroup
@@ -1437,14 +1435,17 @@
          \catcode`\[=12 \catcode`\]=12 \catcode`\==12 %
          \let\bbl at ini@captions at aux\@gobbletwo
          \def\bbl at inidate ####1.####2.####3.####4\relax ####5####6{}%
-         \bbl at read@ini{##1}%
+         \bbl at read@ini{##1}{basic data}%
          \bbl at exportkey{chrng}{characters.ranges}{}%
          \bbl at exportkey{dgnat}{numbers.digits.native}{}%
+         % \bbl at exportkey{hyphr}{typography.hyphenrules}{}%
+         % \bbl at exportkey{intsp}{typography.intraspace}{}%
        \endgroup}%           boxed, to avoid extra spaces:
      {\setbox\z@\hbox{\InputIfFileExists{babel-#2.tex}{}{}}}}%
     {}%
   % -
-  % Override script and language names with script= and language=
+  % == script, language ==
+  % Override the values from ini or defines them
   \ifx\bbl at KVP@script\@nil\else
     \bbl at csarg\edef{sname@#2}{\bbl at KVP@script}%
   \fi
@@ -1451,7 +1452,8 @@
   \ifx\bbl at KVP@language\@nil\else
     \bbl at csarg\edef{lname@#2}{\bbl at KVP@language}%
   \fi
-  % For bidi texts, to switch the language based on direction
+  % == mapfont ==
+  % For bidi texts, to switch the font based on direction
   \ifx\bbl at KVP@mapfont\@nil\else
     \bbl at ifsamestring{\bbl at KVP@mapfont}{direction}{}%
       {\bbl at error{Option `\bbl at KVP@mapfont' unknown for\\%
@@ -1476,15 +1478,16 @@
     \fi
     \bbl at exp{\\\bbl at add\\\bbl at mapselect{\\\bbl at mapdir{\languagename}}}%
   \fi
-  % For East Asian, Southeast Asian, if interspace in ini - TODO: as hook?
-  \ifx\bbl at KVP@intraspace\@nil\else % We may override the ini
+  % == intraspace, intrapenalty ==
+  % For CJK, East Asian, Southeast Asian, if interspace in ini
+  \ifx\bbl at KVP@intraspace\@nil\else % We can override the ini or set
     \bbl at csarg\edef{intsp@#2}{\bbl at KVP@intraspace}%
   \fi
-  \ifcase\bbl at engine\or
+  \ifcase\bbl at engine\or   % lua
     \bbl at ifunset{bbl at intsp@\languagename}{}%
       {\expandafter\ifx\csname bbl at intsp@\languagename\endcsname\@empty\else
          \bbl at xin@{\bbl at cs{sbcp@\languagename}}{Hant,Hans,Jpan,Kore,Kana}%
-         \ifin@
+         \ifin@           % cjk
            \bbl at cjkintraspace
            \directlua{
                Babel = Babel or {}
@@ -1495,7 +1498,7 @@
            \ifx\bbl at KVP@intrapenalty\@nil
              \bbl at intrapenalty0\@@
            \fi
-         \else
+         \else            % sea
            \bbl at seaintraspace
            \bbl at exp{\\\bbl at intraspace\bbl at cs{intsp@\languagename}\\\@@}%
            \directlua{
@@ -1512,9 +1515,9 @@
        \ifx\bbl at KVP@intrapenalty\@nil\else
          \expandafter\bbl at intrapenalty\bbl at KVP@intrapenalty\@@
        \fi}%
-  \or
+  \or                     % xe
     \bbl at xin@{\bbl at cs{sbcp@\languagename}}{Thai,Laoo,Khmr}%
-    \ifin@
+    \ifin@                % sea (currently ckj not handled)
       \bbl at ifunset{bbl at intsp@\languagename}{}%
         {\expandafter\ifx\csname bbl at intsp@\languagename\endcsname\@empty\else
           \ifx\bbl at KVP@intraspace\@nil
@@ -1539,6 +1542,7 @@
         \fi}%
     \fi
   \fi
+  % == maparabic ==
   % Native digits, if provided in ini (TeX level, xe and lua)
   \ifcase\bbl at engine\else
     \bbl at ifunset{bbl at dgnat@\languagename}{}%
@@ -1556,6 +1560,7 @@
         \fi
       \fi}%
   \fi
+  % == mapdigits ==
   % Native digits (lua level).
   \ifodd\bbl at engine
     \ifx\bbl at KVP@mapdigits\@nil\else
@@ -1592,6 +1597,7 @@
         }}
     \fi
   \fi
+  % == require.babel in ini ==
   % To load or reaload the babel-*.tex, if require.babel in ini
   \bbl at ifunset{bbl at rqtex@\languagename}{}%
     {\expandafter\ifx\csname bbl at rqtex@\languagename\endcsname\@empty\else
@@ -1602,6 +1608,7 @@
        \catcode`\@=\atcatcode
        \let\atcatcode\relax
      \fi}%
+  % == main ==
   \ifx\bbl at KVP@main\@nil  % Restore only if not 'main'
     \let\languagename\bbl at savelangname
     \chardef\localeid\bbl at savelocaleid\relax
@@ -1651,7 +1658,7 @@
         \fi}%
       \expandafter\bbl at tempb\bbl at captionslist\@empty
     \else
-      \bbl at read@ini{\bbl at KVP@captions}%  Here all letters cat = 11
+      \bbl at read@ini{\bbl at KVP@captions}{data}%  Here all letters cat = 11
       \bbl at after@ini
       \bbl at savestrings
     \fi
@@ -1675,7 +1682,7 @@
 \def\bbl at provide@renew#1{%
   \ifx\bbl at KVP@captions\@nil\else
     \StartBabelCommands*{#1}{captions}%
-      \bbl at read@ini{\bbl at KVP@captions}%   Here all letters cat = 11
+      \bbl at read@ini{\bbl at KVP@captions}{data}%   Here all letters cat = 11
       \bbl at after@ini
       \bbl at savestrings
     \EndBabelCommands
@@ -1686,6 +1693,7 @@
      \bbl at savedate
    \EndBabelCommands
   \fi
+  % == hyphenrules ==
   \bbl at provide@hyphens{#1}}
 \def\bbl at provide@hyphens#1{%
   \let\bbl at tempa\relax
@@ -1722,7 +1730,7 @@
          {\\\AddBabelHook[\languagename]{babel-prehc-\languagename}{patterns}%
            {\prehyphenchar=\@nameuse{bbl at prehc@\languagename}\relax}}}%
      \fi}}
-\def\bbl at read@ini#1{%
+\def\bbl at read@ini#1#2{%
   \openin1=babel-#1.ini        % FIXME - number must not be hardcoded
   \ifeof1
     \bbl at error
@@ -1738,11 +1746,12 @@
     \def\bbl at inipreread##1=##2\@@{%
       \bbl at trim@def\bbl at tempa{##1}% Redundant below !!
       % Move trims here ??
-      \bbl at ifunset{bbl at KVP@\bbl at section/\bbl at tempa}%
+      \bbl at ifunset{bbl at KVP@\bbl at section..\bbl at tempa}%
         {\expandafter\bbl at inireader\bbl at tempa=##2\@@}%
         {}}%
     \let\bbl at inireader\bbl at iniskip
-    \bbl at info{Importing data from babel-#1.ini for \languagename}%
+    \bbl at info{Importing #2 for \languagename\\%
+             from babel-#1.ini. Reported}%
     \loop
     \if T\ifeof1F\fi T\relax % Trick, because inside \loop
       \endlinechar\m at ne
@@ -1763,12 +1772,14 @@
   \@nameuse{bbl at secpost@\bbl at section}%  ends previous section
   \def\bbl at section{#1}%
   \def\bbl at elt##1##2{%
-    \@namedef{bbl at KVP@#1/##1}{}}%
+    \@namedef{bbl at KVP@#1..##1}{}}%
   \@nameuse{bbl at renew@#1}%
   \@nameuse{bbl at secpre@#1}%   starts current section
   \bbl at ifunset{bbl at inikv@#1}%
     {\let\bbl at inireader\bbl at iniskip}%
     {\bbl at exp{\let\\\bbl at inireader\<bbl at inikv@#1>}}}
+\def\bbl at renewinikey#1..#2\@@#3{%
+  \bbl at csarg\bbl at add{renew@#1}{\bbl at elt{#2}{#3}}}
 \def\bbl at inikv#1=#2\@@{%     key=value
   \bbl at trim@def\bbl at tempa{#1}%
   \bbl at trim\toks@{#2}%
@@ -1783,10 +1794,14 @@
      \fi}}
 \let\bbl at inikv@identification\bbl at inikv
 \def\bbl at secpost@identification{%
-  \bbl at exportkey{lname}{identification.name.english}{}%
+  \bbl at ifunset{bbl@@kv at identification.name.opentype}%
+    {\bbl at exportkey{lname}{identification.name.english}{}}%
+    {\bbl at exportkey{lname}{identification.name.opentype}{}}%
   \bbl at exportkey{lbcp}{identification.tag.bcp47}{}%
   \bbl at exportkey{lotf}{identification.tag.opentype}{dflt}%
-  \bbl at exportkey{sname}{identification.script.name}{}%
+  \bbl at ifunset{bbl@@kv at identification.script.name.opentype}%
+    {\bbl at exportkey{sname}{identification.script.name}{}}%
+    {\bbl at exportkey{sname}{identification.script.name.opentype}{}}%
   \bbl at exportkey{sbcp}{identification.script.tag.bcp47}{}%
   \bbl at exportkey{sotf}{identification.script.tag.opentype}{DFLT}}
 \let\bbl at inikv@typography\bbl at inikv
@@ -1910,7 +1925,7 @@
   \bbl at replace@finish at iii\bbl at toreplace}
 \def\bbl at provide@lsys#1{%
   \bbl at ifunset{bbl at lname@#1}%
-    {\bbl at ini@ids{#1}}%
+    {\bbl at ini@basic{#1}}%
     {}%
   \bbl at csarg\let{lsys@#1}\@empty
   \bbl at ifunset{bbl at sname@#1}{\bbl at csarg\gdef{sname@#1}{Default}}{}%
@@ -1919,15 +1934,65 @@
   \bbl at ifunset{bbl at lname@#1}{}%
     {\bbl at csarg\bbl at add@list{lsys@#1}{Language=\bbl at cs{lname@#1}}}%
   \bbl at csarg\bbl at toglobal{lsys@#1}}
-\def\bbl at ini@ids#1{%
+\def\bbl at ini@basic#1{%
   \def\BabelBeforeIni##1##2{%
     \begingroup
       \bbl at add\bbl at secpost@identification{\closein1 }%
       \catcode`\[=12 \catcode`\]=12 \catcode`\==12 %
-      \bbl at read@ini{##1}%
-      \endinput
-    \endgroup}%           boxed, to avoid extra spaces:
+      \bbl at read@ini{##1}{font and identification data}%
+      \endinput          % babel- .tex may contain onlypreamble's
+    \endgroup}%            boxed, to avoid extra spaces:
   {\setbox\z@\hbox{\InputIfFileExists{babel-#1.tex}{}{}}}}
+\newcommand\babeladjust[1]{%  TODO. Error handling.
+  \bbl at forkv{#1}{\@nameuse{bbl at ADJ@##1@##2}}}
+\def\bbl at adjust@lua#1#2{%
+  \ifvmode
+    \ifnum\currentgrouplevel=\z@
+      \directlua{ Babel.#2 }%
+      \expandafter\expandafter\expandafter\@gobble
+    \fi
+  \fi
+  {\bbl at error   % The error is gobbled if everything went ok.
+     {Currently, #1 related features can be adjusted only\\%
+      in the main vertical list.}%
+     {Maybe things change in the future, but this is what it is.}}}
+\@namedef{bbl at ADJ@bidi.mirroring at on}{%
+  \bbl at adjust@lua{bidi}{mirroring_enabled=true}}
+\@namedef{bbl at ADJ@bidi.mirroring at off}{%
+  \bbl at adjust@lua{bidi}{mirroring_enabled=false}}
+\@namedef{bbl at ADJ@bidi.text at on}{%
+  \bbl at adjust@lua{bidi}{bidi_enabled=true}}
+\@namedef{bbl at ADJ@bidi.text at off}{%
+  \bbl at adjust@lua{bidi}{bidi_enabled=false}}
+\@namedef{bbl at ADJ@bidi.mapdigits at on}{%
+  \bbl at adjust@lua{bidi}{digits_mapped=true}}
+\@namedef{bbl at ADJ@bidi.mapdigits at off}{%
+  \bbl at adjust@lua{bidi}{digits_mapped=false}}
+\@namedef{bbl at ADJ@linebreak.sea at on}{%
+  \bbl at adjust@lua{linebreak}{sea_enabled=true}}
+\@namedef{bbl at ADJ@linebreak.sea at off}{%
+  \bbl at adjust@lua{linebreak}{sea_enabled=false}}
+\@namedef{bbl at ADJ@linebreak.cjk at on}{%
+  \bbl at adjust@lua{linebreak}{cjk_enabled=true}}
+\@namedef{bbl at ADJ@linebreak.cjk at off}{%
+  \bbl at adjust@lua{linebreak}{cjk_enabled=false}}
+\def\bbl at adjust@layout#1{%
+  \ifvmode
+    #1%
+    \expandafter\@gobble
+  \fi
+  {\bbl at error   % The error is gobbled if everything went ok.
+     {Currently, layout related features can be adjusted only\\%
+      in vertical mode.}%
+     {Maybe things change in the future, but this is what it is.}}}
+\@namedef{bbl at ADJ@layout.tabular at on}{%
+  \bbl at adjust@layout{\let\@tabular\bbl at NL@@tabular}}
+\@namedef{bbl at ADJ@layout.tabular at off}{%
+  \bbl at adjust@layout{\let\@tabular\bbl at OL@@tabular}}
+\@namedef{bbl at ADJ@layout.lists at on}{%
+  \bbl at adjust@layout{\let\list\bbl at NL@list}}
+\@namedef{bbl at ADJ@layout.lists at on}{%
+  \bbl at adjust@layout{\let\list\bbl at OL@list}}
 {\def\format{lplain}
 \ifx\fmtname\format
 \else

Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.sty	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.sty	2019-11-14 21:55:14 UTC (rev 52794)
@@ -33,7 +33,7 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{babel}[2019/10/15 3.35 The Babel package]
+\ProvidesPackage{babel}[2019/11/14 3.36 The Babel package]
 \@ifpackagewith{babel}{debug}
   {\providecommand\bbl at trace[1]{\message{^^J[ #1 ]}}%
    \let\bbl at debug\@firstofone}

Modified: trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg	2019-11-14 21:55:14 UTC (rev 52794)
@@ -37,7 +37,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{hyphen.cfg}[2019/10/15 3.35 Babel hyphens]
+\ProvidesFile{hyphen.cfg}[2019/11/14 3.36 Babel hyphens]
 \xdef\bbl at format{\jobname}
 \ifx\AtBeginDocument\@undefined
   \def\@empty{}

Added: trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-el-polyton.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-el-polyton.ini	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-el-polyton.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -0,0 +1,180 @@
+; This file is part of babel. For further details see:
+;   https://www.ctan.org/pkg/babel
+; This file has been contributed by Claudio Beccari
+
+[identification]
+charset             = utf8
+version             = 0.1
+date                = 2010-10-01
+name.local          = Ἐλληνικά
+; Name from https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
+name.english        = Polytonic Greek
+name.babel          = greek
+tag.bcp47           = el-polyton
+tag.opentype        = PGR
+script.name         = Greek
+script.tag.bcp47    = Grek
+script.tag.opentype = grek
+level               = 1
+encodings           = LGR
+derivate            = no
+
+[captions]
+preface    = Πρόλογος
+ref        = Ἀναφορές
+abstract   = Περίληψη
+bib        = Βιβλιογραφία
+chapter    = Κεφάλαιο
+appendix   = Παράρτημα
+contents   = Περιεχόμενα
+listfigure = Κατάλογος Σχημάτων
+listtable  = Κατάλογος Πινάκων
+index      = Εὑρετήριο
+figure     = Σχῆμα
+table      = Πίνακας
+part       = Μέρος
+encl       = Συνημμένα
+cc         = Κοινοποίηση
+headto     = Πρὸς
+page       = Σελίδα
+see        = βλέπε
+also       = βλέπε ἐπίσης
+proof      = Ἀπόδειξη
+glossary   = Γλωσσάρι
+
+[captions.licr]
+preface    = \textPi\textrho\'\textomicron\textlambda\textomicron\textgamma\textomicron\textvarsigma
+ref        = \accpsili\textAlpha\textnu\textalpha\textphi\textomicron\textrho\'\textepsilon\textvarsigma
+abstract   = \textPi\textepsilon\textrho\'\textiota\textlambda\texteta\textpsi\texteta
+bib        = \textBeta\textiota\textbeta\textlambda\textiota\textomicron\textgamma\textrho\textalpha\textphi\'\textiota\textalpha
+chapter    = \textKappa\textepsilon\textphi\'\textalpha\textlambda\textalpha\textiota\textomicron
+appendix   = \textPi\textalpha\textrho\'\textalpha\textrho\texttau\texteta\textmu\textalpha
+contents   = \textPi\textepsilon\textrho\textiota\textepsilon\textchi\'\textomicron\textmu\textepsilon\textnu\textalpha
+listfigure = \textKappa\textalpha\texttau\'\textalpha\textlambda\textomicron\textgamma\textomicron\textvarsigma\space \textSigma\textchi\texteta\textmu\'\textalpha\texttau\textomega\textnu
+listtable  = \textKappa\textalpha\texttau\'\textalpha\textlambda\textomicron\textgamma\textomicron\textvarsigma\space \textPi\textiota\textnu\'\textalpha\textkappa\textomega\textnu
+index      = \textEpsilon\accdasia\textupsilon\textrho\textepsilon\texttau\'\texteta\textrho\textiota\textomicron
+figure     = \textSigma\textchi\'\texteta\textmu\textalpha
+table      = \textPi\'\textiota\textnu\textalpha\textkappa\textalpha\textvarsigma
+part       = \textMu\'\textepsilon\textrho\textomicron\textvarsigma
+encl       = \textSigma\textupsilon\textnu\texteta\textmu\textmu\'\textepsilon\textnu\textalpha
+cc         = \textKappa\textomicron\textiota\textnu\textomicron\textpi\textomicron\'\textiota\texteta\textsigma\texteta
+headto     = \textPi\textrho\textomicron\textvarsigma
+page       = \textSigma\textepsilon\textlambda\'\textiota\textdelta\textalpha
+see        = \textbeta\textlambda\'\textepsilon\textpi\textepsilon
+also       = \textbeta\textlambda\'\textepsilon\textpi\textepsilon\space \>\textepsilon\textpi\'\textiota\textsigma\texteta\textvarsigma
+proof      = \>\textAlpha\textpi\'\textomicron\textdelta\textepsilon\textiota\textxi\texteta
+glossary   = \textGamma\textlambda\textomega\textsigma\textsigma\'\textalpha\textrho\textiota
+
+[date.gregorian]
+date.long            = [d] [MMMM] [y]
+date.short           = [d]/[M]/[yy]
+months.wide.1        = Ἰανουαρίου
+months.wide.2        = Φεβρουαρίου
+months.wide.3        = Μαρτίου
+months.wide.4        = Ἀπριλίου
+months.wide.5        = Μαΐου
+months.wide.6        = Ἰουνίου
+months.wide.7        = Ἰουλίου
+months.wide.8        = Αὐγούστου
+months.wide.9        = Σεπτεμβρίου
+months.wide.10       = Ὀκτωβρίου
+months.wide.11       = Νοεμβρίου
+months.wide.12       = Δεκεμβρίου
+months.narrow.1      = Ι
+months.narrow.2      = Φ
+months.narrow.3      = Μ
+months.narrow.4      = Α
+months.narrow.5      = Μ
+months.narrow.6      = Ι
+months.narrow.7      = Ι
+months.narrow.8      = Α
+months.narrow.9      = Σ
+months.narrow.10     = Ο
+months.narrow.11     = Ν
+months.narrow.12     = Δ
+days.wide.mon        = Δευτέρα
+days.wide.tue        = Τρίτη
+days.wide.wed        = Τετάρτη
+days.wide.thu        = Πέμπτη
+days.wide.fri        = Παρασκευή
+days.wide.sat        = Σάββατο
+days.wide.sun        = Κυριακή
+days.abbreviated.mon = Δευ
+days.abbreviated.tue = Τρί
+days.abbreviated.wed = Τετ
+days.abbreviated.thu = Πέμ
+days.abbreviated.fri = Παρ
+days.abbreviated.sat = Σάβ
+days.abbreviated.sun = Κυρ
+days.narrow.mon      = Δ
+days.narrow.tue      = Τ
+days.narrow.wed      = Τ
+days.narrow.thu      = Π
+days.narrow.fri      = Π
+days.narrow.sat      = Σ
+days.narrow.sun      = Κ
+dayPeriods.abbreviated.am = π.μ.
+dayPeriods.abbreviated.pm = μ.μ.
+dayPeriods.narrow.am      = πμ
+dayPeriods.narrow.pm      = μμ
+dayPeriods.wide.am        = π.μ.
+dayPeriods.wide.pm        = μ.μ.
+
+[date.gregorian.licr]
+months.wide.1 = \accpsili\textIota\textalpha\textnu\textomicron\textupsilon\textalpha\textrho\'\textiota\textomicron\textupsilon
+months.wide.2 = \textPhi\textepsilon\textbeta\textrho\textomicron\textupsilon\textalpha\textrho\'\textiota\textomicron\textupsilon
+months.wide.3 = \textMu\textalpha\textrho\texttau\'\textiota\textomicron\textupsilon
+months.wide.4 = \accpsili\textAlpha\textpi\textrho\textiota\textlambda\'\textiota\textomicron\textupsilon
+months.wide.5 = \textMu\textalpha\textdialytikatonos\textiota\textomicron\textupsilon
+months.wide.6 = \accpsili\textIota\textomicron\textupsilon\textnu\'\textiota\textomicron\textupsilon
+months.wide.7 = \accpsili\textIota\textomicron\textupsilon\textlambda\'\textiota\textomicron\textupsilon
+months.wide.8 = \accpsili\textAlpha\textupsilon\textgamma\textomicron\'\textupsilon\textsigma\texttau\textomicron\textupsilon
+months.wide.9 = \textSigma\textepsilon\textpi\texttau\textepsilon\textmu\textbeta\textrho\'\textiota\textomicron\textupsilon
+months.wide.10 = \accpsili\textOmicron\textkappa\texttau\textomega\textbeta\textrho\'\textiota\textomicron\textupsilon
+months.wide.11 = \textNu\textomicron\textepsilon\textmu\textbeta\textrho\'\textiota\textomicron\textupsilon
+months.wide.12 = \textDelta\textepsilon\textkappa\textepsilon\textmu\textbeta\textrho\'\textiota\textomicron\textupsilon
+
+[time.gregorian]
+time.medium = [h]:[mm]:[ss] [a]
+time.short  = [h]:[mm] [a]
+
+[typography]
+frenchspacing    = no
+hyphenrules      = polygreek
+lefthyphenmin    = 1
+righthyphenmin   = 1
+hyphenchar       = 
+prehyphenchar    = 
+posthyphenchar   = 
+exhyphenchar     = 
+preexhyphenchar  = 
+postexhyphenchar = 
+hyphenationmin   = 
+
+[characters]
+delimiters.quotes  = «»“”
+auxiliary          = [ἀ ἄ ἂ ἆ ἁ ἅ ἃ ἇ ὰ ᾶ ἐ ἔ ἒ ἑ ἕ ἓ ὲ ἠ ἤ ἢ ἦ ἡ ἥ ἣ ἧ ὴ ῆ ἰ ἴ ἲ ἶ ἱ ἵ ἳ ἷ ὶ ῖ ῒ ῗ ὄ ὂ ὃ ὸ ὐ ὔ ὒ ὖ ὑ ὕ ὓ ὗ ὺ ῦ ῢ ῧ ὤ ὢ ὦ ὥ ὣ ὧ ὼ ῶ]
+exemplarCharacters = [α ά β γ δ ε έ ζ η ή θ ι ί ϊ ΐ κ λ μ ν ξ ο ό π ρ σ ς τ υ ύ ϋ ΰ φ χ ψ ω ώ]
+index              = [Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω]
+punctuation        = [\\- ‐ – — , ; \\: ! . … \" « » ( ) \\[ \\] § @ * / \\\\ \\&]
+
+[numbers]
+defaultNumberingSystem = latn
+minimumGroupingDigits  = 1
+decimal                = ,
+exponential            = e
+group                  = .
+infinity               = ∞
+list                   = ;
+minusSign              = -
+nan                    = NaN
+perMille               = ‰
+percentSign            = %
+plusSign               = +
+superscriptingExponent = ×
+
+[counters]
+alph     = 
+Alph     = 
+ordinals = 
+


Property changes on: trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-el-polyton.ini
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-polytonicgreek.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-polytonicgreek.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-polytonicgreek.tex	2019-11-14 21:55:14 UTC (rev 52794)
@@ -0,0 +1,12 @@
+% This file is part of babel. For further details see:
+% https://www.ctan.org/pkg/babel
+\ifx\BabelBeforeIni\undefined
+  \PackageError{babel}%
+    {This file is a component of babel and cannot\MessageBreak
+     be loaded directly. I'll stop immediately}%
+    {Just use babel as documented.}%
+  \stop
+\fi
+\BabelBeforeIni{el-polyton}{%
+}
+\endinput
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/generic/babel/locale/el/babel-polytonicgreek.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/ko/babel-ko.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/ko/babel-ko.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/ko/babel-ko.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.1
-date = 2019-05-05
+version = 1.2
+date = 2019-10-30
 name.local = 한국어
 name.english = Korean
 name.babel = korean
@@ -19,6 +19,7 @@
 tag.bcp47 = ko
 tag.opentype = KOR
 script.name = Korean
+script.name.opentype = CJK
 script.tag.bcp47 = Kore
 script.tag.opentype = hang
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,10 +11,11 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Simplified
 name.babel = chinese-simplified-hongkongsarchina
 name.babel.A = chinese-hans-hk
 tag.bcp47 = zh
@@ -23,6 +24,7 @@
 region.english = Hong Kong SAR China
 region.tag.bcp47 = HK
 script.name = Simplified
+script.name.opentype = CJK
 script.tag.bcp47 = Hans
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,10 +11,11 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Simplified
 name.babel = chinese-simplified-macausarchina
 name.babel.A = chinese-hans-mo
 tag.bcp47 = zh
@@ -23,6 +24,7 @@
 region.english = Macau SAR China
 region.tag.bcp47 = MO
 script.name = Simplified
+script.name.opentype = CJK
 script.tag.bcp47 = Hans
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,10 +11,11 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Simplified
 name.babel = chinese-simplified-singapore
 name.babel.A = chinese-hans-sg
 tag.bcp47 = zh
@@ -22,8 +23,8 @@
 region.local = 新加坡
 region.english = Singapore
 region.tag.bcp47 = SG
-;;;;;
 script.name = Simplified
+script.name.opentype = CJK
 script.tag.bcp47 = Hans
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,15 +11,17 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Simplified
 name.babel = chinese-simplified
 name.babel.A = chinese-hans
 tag.bcp47 = zh
 tag.opentype = ZHS
 script.name = Simplified
+script.name.opentype = CJK
 script.tag.bcp47 = Hans
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,18 +11,20 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Traditional
 name.babel = chinese-traditional-hongkongsarchina
 name.babel.A = chinese-hant-hk
 tag.bcp47 = zh
-tag.opentype = ZHS
+tag.opentype = ZHT
 region.local = 中國香港特別行政區
 region.english = Hong Kong SAR China
 region.tag.bcp47 = HK
 script.name = Traditional
+script.name.opentype = CJK
 script.tag.bcp47 = Hant
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,18 +11,20 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Traditional
 name.babel = chinese-traditional-macausarchina
 name.babel.A = chinese-hant-mo
 tag.bcp47 = zh
-tag.opentype = ZHS
+tag.opentype = ZHT
 region.local = 中國澳門特別行政區
 region.english = Macau SAR China
 region.tag.bcp47 = MO
 script.name = Traditional
+script.name.opentype = CJK
 script.tag.bcp47 = Hant
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,15 +11,17 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Traditional
 name.babel = chinese-traditional
 name.babel.A = chinese-hant
 tag.bcp47 = zh
-tag.opentype = ZHS
+tag.opentype = ZHT
 script.name = Traditional
+script.name.opentype = CJK
 script.tag.bcp47 = Hant
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini	2019-11-14 21:55:14 UTC (rev 52794)
@@ -11,15 +11,16 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2019-05-05
+version = 1.3
+date = 2019-10-30
 name.local = 中文
 name.english = Chinese
+name.opentype = Chinese Simplified
 name.babel = chinese
 tag.bcp47 = zh
 tag.opentype = ZHS
-;;;; Nombre correcto ???
 script.name = Simplified
+script.name.opentype = CJK
 script.tag.bcp47 = Hans
 script.tag.opentype = hani
 level = 1

Modified: trunk/Master/texmf-dist/tex/generic/babel/luababel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/luababel.def	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/luababel.def	2019-11-14 21:55:14 UTC (rev 52794)
@@ -580,7 +580,7 @@
           \bbl at ifunset{bbl@##1dflt@}%
             {\@nameuse{##1family}%
              \bbl at csarg\gdef{WFF@\f at family}{}% Flag
-             \bbl at exp{\\\bbl at add\\\bbl at tempa{* \<##1family> / \f at family\\\\%
+             \bbl at exp{\\\bbl at add\\\bbl at tempa{* \<##1family>= \f at family\\\\%
                 \space\space\fontname\font\\\\}}%
              \bbl at csarg\xdef{##1dflt@}{\f at family}%
              \expandafter\xdef\csname ##1default\endcsname{\f at family}}%
@@ -768,15 +768,17 @@
 \IfBabelLayout{tabular}
   {\let\bbl at OL@@tabular\@tabular
    \bbl at replace\@tabular{$}{\bbl at nextfake$}%
-   \let\bbl at tabular\@tabular
+   \let\bbl at NL@@tabular\@tabular
    \AtBeginDocument{%
-     \ifx\bbl at tabular\@tabular\else
+     \ifx\bbl at NL@@tabular\@tabular\else
        \bbl at replace\@tabular{$}{\bbl at nextfake$}%
+       \let\bbl at NL@@tabular\@tabular
      \fi}}
    {}
 \IfBabelLayout{lists}
   {\let\bbl at OL@list\list
    \bbl at sreplace\list{\parshape}{\bbl at listparshape}%
+   \let\bbl at NL@list\list
    \def\bbl at listparshape#1#2#3{%
      \parshape #1 #2 #3 %
      \ifnum\bbl at getluadir{page}=\bbl at getluadir{par}\else

Modified: trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/nil.ldf	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/nil.ldf	2019-11-14 21:55:14 UTC (rev 52794)
@@ -32,11 +32,14 @@
 %% extension |.ins|) which are part of the distribution.
 %%
 
-\ProvidesLanguage{nil}[2019/10/15 3.35 Nil language]
+\ProvidesLanguage{nil}[2019/11/14 3.36 Nil language]
 \LdfInit{nil}{datenil}
 \ifx\l at nil\@undefined
   \newlanguage\l at nil
   \@namedef{bbl at hyphendata@\the\l at nil}{{}{}}% Remove warning
+  \let\bbl at elt\relax
+  \edef\bbl at languages{%  Add it to the list of languages
+    \bbl at languages\bbl at elt{nil}{\the\l at nil}{}{}}
 \fi
 \providehyphenmins{\CurrentOption}{\m at ne\m at ne}
 \let\captionsnil\@empty

Modified: trunk/Master/texmf-dist/tex/generic/babel/switch.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/switch.def	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/switch.def	2019-11-14 21:55:14 UTC (rev 52794)
@@ -37,7 +37,7 @@
     \wlog{File: #1 #4 #3 <#2>}%
     \let\ProvidesFile\@undefined}
 \fi
-\ProvidesFile{switch.def}[2019/10/15 3.35 Babel switching mechanism]
+\ProvidesFile{switch.def}[2019/11/14 3.36 Babel switching mechanism]
 \ifx\AtBeginDocument\@undefined
   \input plain.def\relax
 \fi
@@ -58,12 +58,21 @@
   \countdef\last at language=19
   \def\addlanguage{\alloc at 9\language\chardef\@cclvi}
 \fi
-\def\bbl at version{3.35}
-\def\bbl at date{2019/10/15}
+\def\bbl at version{3.36}
+\def\bbl at date{2019/11/14}
 \def\adddialect#1#2{%
   \global\chardef#1#2\relax
   \bbl at usehooks{adddialect}{{#1}{#2}}%
-  \wlog{\string#1 = a dialect from \string\language#2}}
+  \begingroup
+    \count@#1\relax
+    \def\bbl at elt##1##2##3##4{%
+      \ifnum\count@=##2\relax
+        \bbl at info{\string#1 = using hyphenrules for ##1\\%
+                  (\string\language\the\count@)}%
+        \def\bbl at elt####1####2####3####4{}%
+      \fi}%
+    \bbl at languages
+  \endgroup}
 \def\bbl at fixname#1{%
   \begingroup
     \def\bbl at tempe{l@}%

Modified: trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/txtbabel.def	2019-11-14 21:55:14 UTC (rev 52794)
@@ -59,7 +59,7 @@
 \fi
 \IfBabelLayout{lists}
   {\bbl at sreplace\list
-    {\@totalleftmargin\leftmargin}{\@totalleftmargin\bbl at listleftmargin}%
+     {\@totalleftmargin\leftmargin}{\@totalleftmargin\bbl at listleftmargin}%
    \def\bbl at listleftmargin{%
      \ifcase\bbl at thepardir\leftmargin\else\rightmargin\fi}%
    \ifcase\bbl at engine

Added: trunk/Master/texmf-dist/tex/generic/babel/xe-polygreek.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/xe-polygreek.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/babel/xe-polygreek.tex	2019-11-14 21:55:14 UTC (rev 52794)
@@ -0,0 +1,79 @@
+\makeatletter
+\def\e at alloc#1#2#3#4#5#6{%
+  \global\advance#3\@ne
+  \e at ch@ck{#3}{#4}{#5}#1%
+  \allocationnumber#3\relax
+  \global#2#6\allocationnumber}
+  % \wlog{\string#6=\string#1\the\allocationnumber}}%
+
+\documentclass{article}
+
+
+
+\usepackage{babel}
+
+\usepackage{multicol}
+
+\babelprovide[import,main]{polytonicgreek}
+\babelfont{rm}{Old Standard}
+
+\babelprovide{danish}
+
+\begin{document}
+
+\section*{Φορτωμένα κόκκαλα}
+
+\textit{Αλέξανδρος Παπαδιαμάντης}\\
+1907\\
+From https://el.wikisource.org/wiki/Φορτωμένα\_κόκκαλα
+
+{\selectlanguage{danish}}
+
+\begin{multicols}{3}
+
+Ἀνεβαίνομεν τὸ βουνὸν, πεζοὶ, μὲ τὸ γαϊδουράκι φορτωμένον, ὁ παπ’
+Ἀνδρέας, ὁ καλός μας εὐχέτης, κι’ ὁ μακαρίτης ὁ Λαμιαῖος, κι’ ἐγὼ, κι’
+ὁ Ἀλέκος τὸ Φωτάκι, ὁ μικρὸς καὶ πρόθυμος φίλος μας. Εἰς ὅλα ἦτον
+πάντοτε ἕτοιμος νὰ τρέχῃ ἀκούραστος, ὅ,τι ἤθελες τὸν διατάξει. Νὰ πάῃ
+στὸ χωριὸ, διὰ θέλημα, δυὸ ὧρες δρόμον, καὶ πάλι, φορτωμένος, ὀπίσω νὰ
+ἔλθῃ· νὰ σκουπίσῃ ὅλον τὸ ἐξωκκλήσι, καὶ τὸν αὐλόγυρον, καὶ τὰ κελλιὰ,
+μὲ πρόχειρον σκούπαν ἀπὸ σπαρτίνες καὶ θάμνους· νὰ τρέξῃ κάτω στὸν
+αἰγιαλόν, διὰ νὰ μᾶς φέρῃ πεταλίδες, καὶ κοχύλια, καὶ πετροκάβουρα, διὰ
+τὸ ὀρεκτικὸν δεῖπνόν μας καὶ νὰ γυρίσῃ μετὰ μίαν ὥραν μὲ μίαν ποδιὰν
+γεμάτην· εἶτα ν’ ἀνάψῃ φωτιάν, νὰ ψήσῃ, νὰ μαγειρεύσῃ ὅλα τὰ ἐδέσματα·
+καὶ νὰ ἔχῃ τὴν ἐπιστασίαν τοῦ παγουριοῦ καὶ τῆς φλάσκας, διὰ νὰ
+εὑρίσκωνται δροσερὰ εἰς τὸ ρεῦμα, ἀκριβῶς ὑπὸ τὴν βρύσην· εἰς ὅλα ἦτον
+μονάκριβος.
+
+Ἕκτος μᾶς εἶχεν ἀκολουθήσει ὁ σκύλος τοῦ Σταμάτη τοῦ Ἀλεξανδράκη,
+σκύλος προωρισμένος ὀψέποτε νὰ μένῃ ἀδέσποτος. Ὁ ἄτυχος καὶ κακοκέφαλος
+φίλος μας, ὁ Σταμάτης, ἀφοῦ ἐμάλωσε μὲ ὅλους τοὺς συγγενεῖς καὶ τοὺς
+φίλους του, καὶ σχεδὸν μὲ ὅλον τὸν κόσμον, ἤρχισε νὰ πάσχῃ ἀπὸ
+περιοδικὰς ἀφανείας, ὁποῦ ἦσαν τὰ προανακρούσματα τῆς ὁριστικῆς
+ἐξαφανίσεώς του ἀπὸ τὸν μάταιον κόσμον. Πότε ἐκρύπτετο, ὡς ἔλεγαν, εἰς
+μίαν ἐρημικὴν σπηλιὰν, πότε ἐπήγαινε νὰ μείνῃ ὀλίγας ἡμέρας εἰς τὸ
+Μοναστήρι, πότε ἐταξίδευεν, ἄγνωστον ποῦ· καὶ ὅλας αὐτὰς τὰς φορὰς, τὸν
+ἄτυχον Σαψώνην, τὸν ἄφηνεν εἰς τὸ ἔλεος τοῦ Θεοῦ καὶ τῶν ἀνθρώπων τῆς
+ἀγορᾶς, ἂν θὰ εὐαρεστοῦντο ποτὲ νὰ τοῦ ρίψουν ἓν ξηροκόμματον. Συχνὰ ὁ
+Γιωργὸς ὁ Λαφκιώτης ὁ ἰδιοκτήτης τοῦ ἀρχαιοπρεποῦς καὶ ἀναλλοιώτου
+καφενείου εἰς τὴν παραθαλασσίαν, ἂν καὶ τοῦ εἶχε φάγῃ ὀλίγας
+ἑκατοντάδας δραχμῶν, καλῇ τῇ πίστει, ὁ ἀφέντης τοῦ Σαψώνη, ᾤκτειρε τὸ
+ἄκακον θρέμμα, καὶ τοῦ ἔρριπτεν ὀλίγα κόκκαλα. Ἐμὲ, ἀφοῦ μὲ
+κατεσκόπευεν ὁ Σαψώνης, ἀπὸ καφενεῖον εἰς ὕπαιθρον, καὶ ἀπὸ κιόσκι εἰς
+τένταν, ἐπὶ τῆς προκυμαίας, τέλος, μὲ ἠκολούθει ὁριστικῶς εἰς τὴν
+οἰκίαν ὅπου ἔπρεπε νὰ τοῦ ρίψω τι ἐκ τοῦ ὑστερήματος.
+
+Ἀλλὰ καὶ εἰς τὰ καλά του ὅταν ἦτο ὁ Σταμάτης, διὰ τὸν περιπαθῶς
+ἀφωσιωμένον σκύλον δὲν εἶχε λάβῃ ἄλλην πρόνοιαν, εἰμὴ νὰ τὸν ρίπτῃ
+αἰφνιδίως εἰς τὸ κῦμα, γαυγίζοντα καὶ μὴ θέλοντα, διὰ νὰ κολυμβᾷ. Τὸν
+εἶχεν ἀφήσει ἀκούρευτον καὶ βαθύτριχον ἀπὸ χρόνων πολλῶν. Ἦτο πολὺ
+μαλλιαρὸς σκύλος. Τὴν φορὰν αὐτὴν, ἀφοῦ μᾶς ἐμυρίσθη πῶς ἡτοιμαζόμεθα
+δι’ ἐκδρομὴν, εἶχε δείξει ἀνήσυχον περιέργειαν, ὅταν ἐφορτώνετο τὸ
+ὀνάριον, καὶ εἶχε πλησιάσει νὰ ὀσφρανθῇ τὶ περιεῖχεν ὁ σάκκος ἐκεῖνος,
+τὸν ὁποῖον ὁ Ἀλέκος εἶχε περιδέσει καὶ φορτώσει περὶ τὸ σάγμα, εἰς τὴν
+ἀριστερὰν πλευρὰν τοῦ ζώου. Δεξιὰ εἶχε φορτωθῇ ὁ μάρσιππος μὲ τὰ ἱερὰ
+τοῦ Παπᾶ, εἷς κάλαθος μὲ τρόφιμα, καὶ μία φλάσκα μὲ οἶνον. Εἶτα, μᾶς
+ἠκολούθησε μὲ βῆμα, αὐτόκλητος.
+\end{multicols}
+
+\end{document}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/generic/babel/xe-polygreek.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/babel/xebabel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/xebabel.def	2019-11-14 21:53:57 UTC (rev 52793)
+++ trunk/Master/texmf-dist/tex/generic/babel/xebabel.def	2019-11-14 21:55:14 UTC (rev 52794)
@@ -172,7 +172,7 @@
           \bbl at ifunset{bbl@##1dflt@}%
             {\@nameuse{##1family}%
              \bbl at csarg\gdef{WFF@\f at family}{}% Flag
-             \bbl at exp{\\\bbl at add\\\bbl at tempa{* \<##1family> / \f at family\\\\%
+             \bbl at exp{\\\bbl at add\\\bbl at tempa{* \<##1family>= \f at family\\\\%
                 \space\space\fontname\font\\\\}}%
              \bbl at csarg\xdef{##1dflt@}{\f at family}%
              \expandafter\xdef\csname ##1default\endcsname{\f at family}}%



More information about the tex-live-commits mailing list