summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-29 23:29:20 +0000
committerKarl Berry <karl@freefriends.org>2018-04-29 23:29:20 +0000
commitc5ecf8f48fcefe89049e257fe8f1dcd1e2180cf5 (patch)
tree1f79d99a0f97e98c4c2e01ea072b0db5b3023bed /Master/texmf-dist/tex/generic
parentaf34251c41518c17dacd9d36c2902294a2491058 (diff)
babel (25apr18)
git-svn-id: svn://tug.org/texlive/trunk@47497 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua14
-rw-r--r--Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua371
-rw-r--r--Master/texmf-dist/tex/generic/babel/babel.def45
-rw-r--r--Master/texmf-dist/tex/generic/babel/babel.sty48
-rw-r--r--Master/texmf-dist/tex/generic/babel/hyphen.cfg4
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-DZ.ini3
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.ini3
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.log0
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-SY.ini3
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar.ini1
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/bo/babel-bo.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/brx/babel-brx.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ckb/babel-ckb.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/dsb/babel-dsb.log32
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/dz/babel-dz.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/fa/babel-fa.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini3
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.log66
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/km/babel-km.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/kok/babel-kok.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ks/babel-ks.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/lo/babel-lo.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/lrc/babel-lrc.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/my/babel-my.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/mzn/babel-mzn.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ne/babel-ne.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Arab.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ps/babel-ps.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ug/babel-ug.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/ur/babel-ur.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/uz/babel-uz-Arab.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Latn.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Vaii.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/yue/babel-yue.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini5
-rw-r--r--Master/texmf-dist/tex/generic/babel/luababel.def35
-rw-r--r--Master/texmf-dist/tex/generic/babel/nil.ldf2
-rw-r--r--Master/texmf-dist/tex/generic/babel/switch.def9
-rw-r--r--Master/texmf-dist/tex/generic/babel/xebabel.def16
59 files changed, 736 insertions, 129 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua b/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua
index f394eaafec3..ab455dc3d4c 100644
--- a/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua
+++ b/Master/texmf-dist/tex/generic/babel/babel-bidi-basic-r.lua
@@ -50,7 +50,19 @@ local function dir_mark(head, from, to, outer)
node.insert_after(head, to, d)
end
-function Babel.pre_otfload(head)
+function Babel.pre_otfload_v(head)
+ -- head = Babel.numbers(head)
+ head = Babel.bidi(head, true)
+ return head
+end
+
+function Babel.pre_otfload_h(head)
+ -- head = Babel.numbers(head)
+ head = Babel.bidi(head, false)
+ return head
+end
+
+function Babel.bidi(head, ispar)
local first_n, last_n -- first and last char with nums
local last_es -- an auxiliary 'last' used with nums
local first_d, last_d -- first and last char in L/R block
diff --git a/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua b/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua
new file mode 100644
index 00000000000..c5104648763
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/babel/babel-bidi-basic.lua
@@ -0,0 +1,371 @@
+--
+-- This is file `babel-bidi-basic.lua',
+-- generated with the docstrip utility.
+--
+-- The original source files were:
+--
+-- babel.dtx (with options: `basic')
+--
+--
+-- Copyright (C) 2012-2018 Javier Bezos and Johannes L. Braams.
+-- Copyright (C) 1989-2012 Johannes L. Braams and
+-- any individual authors listed elsewhere in this file.
+-- All rights reserved.
+--
+-- This file is part of the Babel system.
+-- --------------------------------------
+--
+-- It may be distributed and/or modified under the
+-- conditions of the LaTeX Project Public License, either version 1.3
+-- of this license or (at your option) any later version.
+-- The latest version of this license is in
+-- http://www.latex-project.org/lppl.txt
+-- and version 1.3 or later is part of all distributions of LaTeX
+-- version 2003/12/01 or later.
+--
+-- This work has the LPPL maintenance status "maintained".
+--
+-- The Current Maintainer of this work is Javier Bezos.
+--
+-- The list of derived (unpacked) files belonging to the distribution
+-- and covered by LPPL is defined by the unpacking scripts (with
+-- extension |.ins|) which are part of the distribution.
+--
+Babel = Babel or {}
+
+Babel.fontmap = Babel.fontmap or {}
+Babel.fontmap[0] = {} -- l
+Babel.fontmap[1] = {} -- r
+Babel.fontmap[2] = {} -- al/an
+
+function Babel.pre_otfload_v(head)
+ -- head = Babel.numbers(head)
+ head = Babel.bidi(head, true)
+ return head
+end
+
+function Babel.pre_otfload_h(head, gc, sz, pt, dir)
+ -- head = Babel.numbers(head)
+ head = Babel.bidi(head, false, dir)
+ return head
+end
+
+require('babel-bidi.lua')
+
+local characters = Babel.characters
+local ranges = Babel.ranges
+
+local DIR = node.id('dir')
+local GLYPH = node.id('glyph')
+
+local function insert_implicit(head, state, outer)
+ local new_state = state
+ if state.sim and state.eim and state.sim ~= state.eim then
+ dir = ((outer == 'r') and 'TLT' or 'TRT') -- ie, reverse
+ local d = node.new(DIR)
+ d.dir = '+' .. dir
+ node.insert_before(head, state.sim, d)
+ local d = node.new(DIR)
+ d.dir = '-' .. dir
+ node.insert_after(head, state.eim, d)
+ end
+ new_state.sim, new_state.eim = nil, nil
+ return head, new_state
+end
+
+local function insert_numeric(head, state)
+ local new
+ local new_state = state
+ if state.san and state.ean and state.san ~= state.ean then
+ local d = node.new(DIR)
+ d.dir = '+TLT'
+ _, new = node.insert_before(head, state.san, d)
+ if state.san == state.sim then state.sim = new end
+ local d = node.new(DIR)
+ d.dir = '-TLT'
+ _, new = node.insert_after(head, state.ean, d)
+ if state.ean == state.eim then state.eim = new end
+ end
+ new_state.san, new_state.ean = nil, nil
+ return head, new_state
+end
+
+-- \hbox with an explicit dir can lead to wrong results
+-- <R \hbox dir TLT{<R>}> and <L \hbox dir TRT{<L>}>
+
+function Babel.bidi(head, ispar, hdir)
+ local d -- d is used mainly for computations in a loop
+ local prev_d = ''
+ local new_d = false
+
+ local nodes = {}
+ local outer_first = nil
+
+ local has_en = false
+ local first_et = nil
+
+ local ATDIR = luatexbase.registernumber'bbl@attr@dir'
+
+ local save_outer
+ local temp = node.get_attribute(head, ATDIR)
+ if temp then
+ temp = temp % 3
+ save_outer = (temp == 0 and 'l') or
+ (temp == 1 and 'r') or
+ (temp == 2 and 'al')
+ elseif ispar then -- Or error? Shouldn't happen
+ save_outer = ('TRT' == tex.pardir) and 'r' or 'l'
+ else
+ save_outer = ('TRT' == hdir) and 'r' or 'l'
+ end
+ local outer = save_outer
+ local last = outer
+ -- 'al' is only taken into account in the first, current loop
+ if save_outer == 'al' then save_outer = 'r' end
+
+ local fontmap = Babel.fontmap
+
+ for item in node.traverse(head) do
+
+ -- In what follows, #node is the last (previous) node, because the
+ -- current one is not added until we start processing the neutrals.
+
+ -- three cases: glyph, dir, otherwise
+ if item.id == GLYPH then
+
+ local chardata = characters[item.char]
+ d = chardata and chardata.d or nil
+ if not d then
+ for nn, et in ipairs(ranges) do
+ if item.char < et[1] then
+ break
+ elseif item.char <= et[2] then
+ d = et[3]
+ break
+ end
+ end
+ end
+ d = d or 'l'
+
+ local temp = (d == 'l' and 0) or
+ (d == 'r' and 1) or
+ (d == 'al' and 2) or
+ (d == 'an' and 2) or nil
+ if temp and fontmap and fontmap[temp][item.font] then
+ item.font = fontmap[temp][item.font]
+ end
+
+ if new_d then
+ table.insert(nodes, {nil, (outer == 'l') and 'l' or 'r', nil})
+ attr_d = node.get_attribute(item, ATDIR)
+ attr_d = attr_d % 3
+ if attr_d == 1 then
+ outer_first = 'r'
+ last = 'r'
+ elseif attr_d == 2 then
+ outer_first = 'r'
+ last = 'al'
+ else
+ outer_first = 'l'
+ last = 'l'
+ end
+ outer = last
+ has_en = false
+ first_et = nil
+ new_d = false
+ end
+
+ elseif item.id == DIR then
+ d = nil
+ new_d = true
+
+ else
+ d = nil
+ end
+
+ -- AL <= EN/ET/ES -- W2 + W3 + W6
+ if last == 'al' and d == 'en' then
+ d = 'an' -- W3
+ elseif last == 'al' and (d == 'et' or d == 'es') then
+ d = 'on' -- W6
+ end
+
+ -- EN + CS/ES + EN -- W4
+ if d == 'en' and #nodes >= 2 then
+ if (nodes[#nodes][2] == 'es' or nodes[#nodes][2] == 'cs')
+ and nodes[#nodes-1][2] == 'en' then
+ nodes[#nodes][2] = 'en'
+ end
+ end
+
+ -- AN + CS + AN -- W4 too, because uax9 mixes both cases
+ if d == 'an' and #nodes >= 2 then
+ if (nodes[#nodes][2] == 'cs')
+ and nodes[#nodes-1][2] == 'an' then
+ nodes[#nodes][2] = 'an'
+ end
+ end
+
+ -- ET/EN -- W5 + W7->l / W6->on
+ if d == 'et' then
+ first_et = first_et or (#nodes + 1)
+ elseif d == 'en' then
+ has_en = true
+ first_et = first_et or (#nodes + 1)
+ elseif first_et then -- d may be nil here !
+ if has_en then
+ if last == 'l' then
+ temp = 'l' -- W7
+ else
+ temp = 'en' -- W5
+ end
+ else
+ temp = 'on' -- W6
+ end
+ for e = first_et, #nodes do
+ if nodes[e][1].id == GLYPH then nodes[e][2] = temp end
+ end
+ first_et = nil
+ has_en = false
+ end
+
+ if d then
+ if d == 'al' then
+ d = 'r'
+ last = 'al'
+ elseif d == 'l' or d == 'r' then
+ last = d
+ end
+ prev_d = d
+ table.insert(nodes, {item, d, outer_first})
+ else
+ -- Not sure about the following. Looks too 'ad hoc', but it's
+ -- required for numbers, so that 89 19 becomes 19 89. It also
+ -- affects n+cs/es+n.
+ if prev_d == 'an' or prev_d == 'en' then
+ table.insert(nodes, {item, 'on', nil})
+ end
+ end
+
+ outer_first = nil
+
+ end
+
+ -- TODO -- repeated here in case EN/ET is the last node. Find a
+ -- better way of doing things:
+ if first_et then -- dir may be nil here !
+ if has_en then
+ if last == 'l' then
+ temp = 'l' -- W7
+ else
+ temp = 'en' -- W5
+ end
+ else
+ temp = 'on' -- W6
+ end
+ for e = first_et, #nodes do
+ if nodes[e][1].id == GLYPH then nodes[e][2] = temp end
+ end
+ end
+
+ -- dummy node, to close things
+ table.insert(nodes, {nil, (outer == 'l') and 'l' or 'r', nil})
+
+ --------------- NEUTRAL -----------------
+
+ outer = save_outer
+ last = outer
+
+ local first_on = nil
+
+ for q = 1, #nodes do
+ local item
+
+ local outer_first = nodes[q][3]
+ outer = outer_first or outer
+ last = outer_first or last
+
+ local d = nodes[q][2]
+ if d == 'an' or d == 'en' then d = 'r' end
+ if d == 'cs' or d == 'et' or d == 'es' then d = 'on' end --- W6
+
+ if d == 'on' then
+ first_on = first_on or q
+ elseif first_on then
+ if last == d then
+ temp = d
+ else
+ temp = outer
+ end
+ for r = first_on, q - 1 do
+ nodes[r][2] = temp
+ item = nodes[r][1] -- MIRRORING
+ if item.id == GLYPH and temp == 'r' then
+ item.char = characters[item.char].m or item.char
+ end
+ end
+ first_on = nil
+ end
+
+ if d == 'r' or d == 'l' then last = d end
+ end
+
+ -------------- IMPLICIT, REORDER ----------------
+
+ outer = save_outer
+ last = outer
+
+ local state = {}
+ state.has_r = false
+
+ for q = 1, #nodes do
+
+ local item = nodes[q][1]
+
+ outer = nodes[q][3] or outer
+
+ local d = nodes[q][2]
+
+ if d == 'nsm' then d = last end -- W1
+ if d == 'en' then d = 'an' end
+ local isdir = (d == 'r' or d == 'l')
+
+ if outer == 'l' and d == 'an' then
+ state.san = state.san or item
+ state.ean = item
+ elseif state.san then
+ head, state = insert_numeric(head, state)
+ end
+
+ if outer == 'l' then
+ if d == 'an' or d == 'r' then -- im -> implicit
+ if d == 'r' then state.has_r = true end
+ state.sim = state.sim or item
+ state.eim = item
+ elseif d == 'l' and state.sim and state.has_r then
+ head, state = insert_implicit(head, state, outer)
+ elseif d == 'l' then
+ state.sim, state.eim, state.has_r = nil, nil, false
+ end
+ else
+ if d == 'an' or d == 'l' then
+ state.sim = state.sim or item
+ state.eim = item
+ elseif d == 'r' and state.sim then
+ head, state = insert_implicit(head, state, outer)
+ elseif d == 'r' then
+ state.sim, state.eim = nil, nil
+ end
+ end
+
+ if isdir then
+ last = d -- Don't search back - best save now
+ elseif d == 'on' and state.san then
+ state.san = state.san or item
+ state.ean = item
+ end
+
+ end
+
+ return node.prev(head) or head
+end
diff --git a/Master/texmf-dist/tex/generic/babel/babel.def b/Master/texmf-dist/tex/generic/babel/babel.def
index 62dfa7ed7c0..ed07f9563db 100644
--- a/Master/texmf-dist/tex/generic/babel/babel.def
+++ b/Master/texmf-dist/tex/generic/babel/babel.def
@@ -40,7 +40,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{babel.def}[2018/02/14 3.18 Babel common definitions]
+\ProvidesFile{babel.def}[2018/04/25 3.19 Babel common definitions]
\ifx\AtBeginDocument\@undefined
\input plain.def\relax
\fi
@@ -1310,6 +1310,7 @@
\let\bbl@KVP@language\@nil
\let\bbl@KVP@dir\@nil
\let\bbl@KVP@hyphenrules\@nil
+ \let\bbl@KVP@mapfont\@nil
\bbl@forkv{#1}{\bbl@csarg\def{KVP@##1}{##2}}% TODO - error handling
\ifx\bbl@KVP@captions\@nil
\let\bbl@KVP@captions\bbl@KVP@import
@@ -1337,6 +1338,28 @@
\ifx\bbl@KVP@language\@nil\else
\bbl@csarg\edef{lname@#2}{\bbl@KVP@language}%
\fi
+ \ifx\bbl@KVP@mapfont\@nil\else
+ \bbl@ifsamestring{\bbl@KVP@mapfont}{direction}{}%
+ {\bbl@error{Option `\bbl@KVP@mapfont' unknown for\\%
+ mapfont. Use `direction'.%
+ {See the manual for details.}}}%
+ \bbl@ifunset{bbl@lsys@\languagename}{\bbl@provide@lsys{\languagename}}{}%
+ \bbl@ifunset{bbl@wdir@\languagename}{\bbl@provide@dirs{\languagename}}{}%
+ \ifx\bbl@mapselect\@undefined
+ \AtBeginDocument{%
+ \expandafter\bbl@add\csname selectfont \endcsname{{\bbl@mapselect}}%
+ {\selectfont}}%
+ \def\bbl@mapselect{%
+ \let\bbl@mapselect\relax
+ \edef\bbl@prefontid{\fontid\font}}%
+ \def\bbl@mapdir##1{%
+ {\def\languagename{##1}\bbl@switchfont
+ \directlua{Babel.fontmap
+ [\the\csname bbl@wdir@##1\endcsname]%
+ [\bbl@prefontid]=\fontid\font}}}%
+ \fi
+ \bbl@exp{\\\bbl@add\\\bbl@mapselect{\\\bbl@mapdir{\languagename}}}%
+ \fi
\let\languagename\bbl@savelangname}
\def\bbl@provide@new#1{%
\@namedef{date#1}{}% marks lang exists - required by \StartBabelCommands
@@ -1476,8 +1499,8 @@
\bbl@exportkey{lfthm}{typography.lefthyphenmin}{2}%
\bbl@exportkey{rgthm}{typography.righthyphenmin}{3}%
\bbl@exportkey{hyphr}{typography.hyphenrules}{}%
- \def\bbl@tempa{0.9}%
- \bbl@csarg\ifx{@kv@identification.version}\bbl@tempa
+ \bbl@xin@{0.9}{\@nameuse{bbl@@kv@identification.version}}%
+ \ifin@
\bbl@warning{%
The `\languagename' date format may not be suitable\\%
for proper typesetting, and therefore it very likely will\\%
@@ -1871,6 +1894,7 @@
\ifodd\bbl@engine % luatex=1
\AddBabelHook{babel-bidi}{afterextras}{\bbl@switchdir}
\DisableBabelHook{babel-bidi}
+ \chardef\bbl@thepardir\z@
\def\bbl@getluadir#1{%
\directlua{
if tex.#1dir == 'TLT' then
@@ -1878,7 +1902,7 @@
elseif tex.#1dir == 'TRT' then
tex.sprint('1')
end}}
- \def\bbl@setdir#1#2#3{% 1=text/par.. 2=\textdir.. 3=0 lr/1 rl
+ \def\bbl@setluadir#1#2#3{% 1=text/par.. 2=\textdir.. 3=0 lr/1 rl
\ifcase#3\relax
\ifcase\bbl@getluadir{#1}\relax\else
#2 TLT\relax
@@ -1889,11 +1913,12 @@
\fi
\fi}
\def\bbl@textdir#1{%
- \bbl@setdir{text}\textdir{#1}% TODO - ?\linedir
- \setattribute\bbl@attr@dir{#1}}
- \def\bbl@pardir{\bbl@setdir{par}\pardir}
- \def\bbl@bodydir{\bbl@setdir{body}\bodydir}
- \def\bbl@pagedir{\bbl@setdir{page}\pagedir}
+ \bbl@setluadir{text}\textdir{#1}% TODO - ?\linedir
+ \setattribute\bbl@attr@dir{\numexpr\bbl@thepardir*3+#1}}
+ \def\bbl@pardir#1{\bbl@setluadir{par}\pardir{#1}%
+ \chardef\bbl@thepardir#1\relax}
+ \def\bbl@bodydir{\bbl@setluadir{body}\bodydir}
+ \def\bbl@pagedir{\bbl@setluadir{page}\pagedir}
\def\bbl@dirparastext{\pardir\the\textdir\relax}% %%%%
\else % pdftex=0, xetex=2
\AddBabelHook{babel-bidi}{afterextras}{\bbl@switchdir}
@@ -1955,7 +1980,7 @@
\everypar=\bbl@severypar
\bbl@severypar{\bbl@xeeverypar\the\everypar}}
\fi
-\DeclareRobustCommand\babelsublr[1]{\leavevmode{\bbl@textdir\z@#1}}
+ \DeclareRobustCommand\babelsublr[1]{\leavevmode{\bbl@textdir\z@#1}}
\bbl@trace{Local Language Configuration}
\ifx\loadlocalcfg\@undefined
\@ifpackagewith{babel}{noconfigs}%
diff --git a/Master/texmf-dist/tex/generic/babel/babel.sty b/Master/texmf-dist/tex/generic/babel/babel.sty
index 2c3d5df23c5..453dc5afde1 100644
--- a/Master/texmf-dist/tex/generic/babel/babel.sty
+++ b/Master/texmf-dist/tex/generic/babel/babel.sty
@@ -32,7 +32,7 @@
%% extension |.ins|) which are part of the distribution.
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{babel}[2018/02/14 3.18 The Babel package]
+\ProvidesPackage{babel}[2018/04/25 3.19 The Babel package]
\@ifpackagewith{babel}{debug}
{\providecommand\bbl@trace[1]{\message{^^J[ #1 ]}}%
\let\bbl@debug\@firstofone}
@@ -186,23 +186,49 @@
\bbl@languages
\fi
\ifodd\bbl@engine
- \@ifpackagewith{babel}{bidi=basic-r}{% must go before any \DeclareOption
+ \def\bbl@loadbidi#1{%
\let\bbl@beforeforeign\leavevmode
\AtEndOfPackage{\EnableBabelHook{babel-bidi}}%
\RequirePackage{luatexbase}%
\directlua{
require('babel-bidi.lua')
- require('babel-bidi-basic-r.lua')
+ require('babel-bidi-#1.lua')
luatexbase.add_to_callback('pre_linebreak_filter',
- Babel.pre_otfload,
- 'Babel.pre_otfload',
+ Babel.pre_otfload_v,
+ 'Babel.pre_otfload_v',
luatexbase.priority_in_callback('pre_linebreak_filter',
'luaotfload.node_processor') or nil)
luatexbase.add_to_callback('hpack_filter',
- Babel.pre_otfload,
- 'Babel.pre_otfload',
+ Babel.pre_otfload_h,
+ 'Babel.pre_otfload_h',
luatexbase.priority_in_callback('hpack_filter',
- 'luaotfload.node_processor') or nil)}}{}
+ 'luaotfload.node_processor') or nil)
+ }}
+ \let\bbl@tempa\relax
+ \@ifpackagewith{babel}{bidi=basic}%
+ {\def\bbl@tempa{basic}}%
+ {\@ifpackagewith{babel}{bidi=basic-r}%
+ {\def\bbl@tempa{basic-r}}%
+ {}}
+ \ifx\bbl@tempa\relax\else
+ \let\bbl@beforeforeign\leavevmode
+ \AtEndOfPackage{\EnableBabelHook{babel-bidi}}%
+ \RequirePackage{luatexbase}%
+ \directlua{
+ require('babel-bidi.lua')
+ require('babel-bidi-\bbl@tempa.lua')
+ luatexbase.add_to_callback('pre_linebreak_filter',
+ Babel.pre_otfload_v,
+ 'Babel.pre_otfload_v',
+ luatexbase.priority_in_callback('pre_linebreak_filter',
+ 'luaotfload.node_processor') or nil)
+ luatexbase.add_to_callback('hpack_filter',
+ Babel.pre_otfload_h,
+ 'Babel.pre_otfload_h',
+ luatexbase.priority_in_callback('hpack_filter',
+ 'luaotfload.node_processor') or nil)
+ }
+ \fi
\fi
\bbl@trace{Defining option 'base'}
\@ifpackagewith{babel}{base}{%
@@ -262,14 +288,18 @@
\DeclareOption{safe=ref}{\def\bbl@opt@safe{R}}
\ifodd\bbl@engine
\DeclareOption{bidi=basic-r}%
+ {\ExecuteOptions{bidi=basic}}
+ \DeclareOption{bidi=basic}%
{\let\bbl@beforeforeign\leavevmode
\newattribute\bbl@attr@dir
\bbl@exp{\output{\bodydir\pagedir\the\output}}%
\AtEndOfPackage{\EnableBabelHook{babel-bidi}}}
\else
\DeclareOption{bidi=basic-r}%
+ {\ExecuteOptions{bidi=basic}}
+ \DeclareOption{bidi=basic}%
{\bbl@error
- {The bidi method `basic-r' is available only in\\%
+ {The bidi method `basic' is available only in\\%
luatex. I'll continue with `bidi=default', so\\%
expect wrong results}%
{See the manual for further details.}%
diff --git a/Master/texmf-dist/tex/generic/babel/hyphen.cfg b/Master/texmf-dist/tex/generic/babel/hyphen.cfg
index 16d728edcd4..2f746b1c779 100644
--- a/Master/texmf-dist/tex/generic/babel/hyphen.cfg
+++ b/Master/texmf-dist/tex/generic/babel/hyphen.cfg
@@ -36,7 +36,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{hyphen.cfg}[2018/02/14 3.18 Babel hyphens]
+\ProvidesFile{hyphen.cfg}[2018/04/25 3.19 Babel hyphens]
\xdef\bbl@format{\jobname}
\ifx\AtBeginDocument\@undefined
\def\@empty{}
@@ -67,7 +67,7 @@
\countdef\last@language=19
\def\addlanguage{\alloc@9\language\chardef\@cclvi}
\fi
-\toks8{Babel <3.18> and hyphenation patterns for }%
+\toks8{Babel <3.19> and hyphenation patterns for }%
\def\process@line#1#2 #3 #4 {%
\ifx=#1%
\process@synonym{#2}%
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-DZ.ini b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-DZ.ini
index 2fee81351fe..93a70ff73d7 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-DZ.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-DZ.ini
@@ -11,7 +11,7 @@
[identification]
charset = utf8
-version = 1.0
+version = 1.1
date = 2018-02-05
name.local = العربية
name.english = Arabic
@@ -133,6 +133,7 @@ punctuation = [\\- ‐ – — ، ؛ \\: ! ؟ . ' \" ( ) \\[ \\]]
[numbers]
defaultNumberingSystem = latn
+digits.native = ٠١٢٣٤٥٦٧٨٩
minimumGroupingDigits = 1
decimal = ,
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.ini b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.ini
index 00ffc97cfba..86ca9cef1ee 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.ini
@@ -11,7 +11,7 @@
[identification]
charset = utf8
-version = 1.0
+version = 1.1
date = 2018-02-05
name.local = العربية
name.english = Arabic
@@ -133,6 +133,7 @@ punctuation = [\\- ‐ – — ، ؛ \\: ! ؟ . ' \" ( ) \\[ \\]]
[numbers]
defaultNumberingSystem = latn
+digits.native = ٠١٢٣٤٥٦٧٨٩
minimumGroupingDigits = 1
decimal = ,
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.log b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.log
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-MA.log
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-SY.ini b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-SY.ini
index 46788019d47..841435340f6 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-SY.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar-SY.ini
@@ -11,7 +11,7 @@
[identification]
charset = utf8
-version = 1.0
+version = 1.1
date = 2018-02-05
name.local = العربية
name.english = Arabic
@@ -131,6 +131,7 @@ punctuation = [\\- ‐ – — ، ؛ \\: ! ؟ . ' \" ( ) \\[ \\]]
[numbers]
defaultNumberingSystem = arab
+digits.native = ٠١٢٣٤٥٦٧٨٩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar.ini b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar.ini
index 3b7cb6f0ee8..d22aed41034 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ar/babel-ar.ini
@@ -129,6 +129,7 @@ punctuation = [\\- ‐ – — ، ؛ \\: ! ؟ . ' \" ( ) \\[ \\]]
[numbers]
defaultNumberingSystem = arab
+digits.native = ٠١٢٣٤٥٦٧٨٩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini b/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini
index 85e41b32c49..2a3c80e99db 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/as/babel-as.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = অসমীয়া
name.english = Assamese
name.babel = assamese
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = beng
+digits.native = ০১২৩৪৫৬৭৮৯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini b/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini
index ed0bb0b6f54..ebe1bb59b9b 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/bn/babel-bn.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = বাংলা
name.english = Bangla
name.babel = bengali
@@ -129,6 +129,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = beng
+digits.native = ০১২৩৪৫৬৭৮৯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/bo/babel-bo.ini b/Master/texmf-dist/tex/generic/babel/locale/bo/babel-bo.ini
index 9a356495599..c81979f84d2 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/bo/babel-bo.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/bo/babel-bo.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = བོད་སྐད་
name.english = Tibetan
name.babel = tibetan
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ༠༡༢༣༤༥༦༧༨༩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/brx/babel-brx.ini b/Master/texmf-dist/tex/generic/babel/locale/brx/babel-brx.ini
index 93bf4f588b1..c579e7f6711 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/brx/babel-brx.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/brx/babel-brx.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = बड़ो
name.english = Bodo
name.babel = bodo
@@ -156,6 +156,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ०१२३४५६७८९
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ckb/babel-ckb.ini b/Master/texmf-dist/tex/generic/babel/locale/ckb/babel-ckb.ini
index 2431340afa3..4b47f0da565 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ckb/babel-ckb.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ckb/babel-ckb.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = کوردیی ناوەندی
name.english = Central Kurdish
name.babel = centralkurdish
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = arab
+digits.native = ٠١٢٣٤٥٦٧٨٩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/dsb/babel-dsb.log b/Master/texmf-dist/tex/generic/babel/locale/dsb/babel-dsb.log
new file mode 100644
index 00000000000..ee69123a3b2
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/babel/locale/dsb/babel-dsb.log
@@ -0,0 +1,32 @@
+This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/W32TeX) (preloaded format=pdflatex 2018.2.14) 22 FEB 2018 18:28
+entering extended mode
+ restricted \write18 enabled.
+**./babel-dsb.ini
+(./babel-dsb.ini
+LaTeX2e <2017-04-15>
+Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
+
+! LaTeX Error: Missing \begin{document}.
+
+See the LaTeX manual or LaTeX Companion for explanation.
+Type H <return> for immediate help.
+ ...
+
+l.1 ;
+ This file is part of babel. For further details see:
+? x
+
+Here is how much of TeX's memory you used:
+ 6 strings out of 492981
+ 277 string characters out of 6132766
+ 54251 words of memory out of 5000000
+ 3671 multiletter control sequences out of 15000+600000
+ 3640 words of font info for 14 fonts, out of 8000000 for 9000
+ 1141 hyphenation exceptions out of 8191
+ 5i,0n,4p,74b,14s stack positions out of 5000i,500n,10000p,200000b,80000s
+No pages of output.
+PDF statistics:
+ 0 PDF objects out of 1000 (max. 8388607)
+ 0 named destinations out of 1000 (max. 500000)
+ 1 words of extra memory for PDF output out of 10000 (max. 10000000)
+
diff --git a/Master/texmf-dist/tex/generic/babel/locale/dz/babel-dz.ini b/Master/texmf-dist/tex/generic/babel/locale/dz/babel-dz.ini
index 80c45a12f39..b2c47ea79f5 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/dz/babel-dz.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/dz/babel-dz.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = རྫོང་ཁ
name.english = Dzongkha
name.babel = dzongkha
@@ -154,6 +154,7 @@ punctuation = [\\- ‐ – — , ; \\: ! ? . … ' ‘ ’ \" “ ” ( ) \\[ \\
[numbers]
defaultNumberingSystem = tibt
+digits.native = ༠༡༢༣༤༥༦༧༨༩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/fa/babel-fa.ini b/Master/texmf-dist/tex/generic/babel/locale/fa/babel-fa.ini
index 05c6fcb6a03..2a185b0904e 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/fa/babel-fa.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/fa/babel-fa.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = فارسی
name.english = Persian
name.babel = persian
@@ -129,6 +129,7 @@ punctuation = [\\- ‐ ، ٫ ٬ ؛ \\: ! ؟ . … ‹ › « » ( ) \\[ \\] * /
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini b/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini
index 26a85fd274a..c7d3c2a250e 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/gu/babel-gu.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ગુજરાતી
name.english = Gujarati
name.babel = gujarati
@@ -152,6 +152,7 @@ punctuation = [\\- ‐ – — , ; \\: ! ? . … ' ‘ ’ \" “ ” ( ) \\[ \\
[numbers]
defaultNumberingSystem = latn
+digits.native = ૦૧૨૩૪૫૬૭૮૯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini b/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini
index 72ab25846b8..5d31399348f 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.ini
@@ -12,7 +12,7 @@
[identification]
charset = utf8
-version = 0.9
+version = 0.91
date = 2017-04-10
name.local = हिन्दी
name.english = Hindi
@@ -153,6 +153,7 @@ punctuation = [। ॥ \\- , ; \\: ! ? . ‘ ’ “ ” ( ) \\[ \\] \\{ \\} ॰
[numbers]
defaultNumberingSystem = latn
+digits.native = ०१२३४५६७८९
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.log b/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.log
new file mode 100644
index 00000000000..afc16a4e240
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/babel/locale/hi/babel-hi.log
@@ -0,0 +1,66 @@
+This is LuaTeX, Version 1.0.4 (TeX Live 2017/W32TeX) (format=lualatex 2018.4.4) 12 APR 2018 18:47
+ restricted system commands enabled.
+**babel-hi.ini
+(./babel-hi.ini
+LaTeX2e <2017-04-15>
+Lua module: luaotfload-main 2017/01/29 2.80001 OpenType layout system.
+Lua module: lualibs 2017-02-01 2.5 ConTeXt Lua standard libraries.
+Lua module: lualibs-extended 2017-02-01 2.5 ConTeXt Lua libraries -- extended co
+llection.(using write cache: C:/Aplicaciones/TeXLive/texmf-var/luatex-cache/gene
+ric)(using read cache: C:/Aplicaciones/TeXLive/texmf-var/luatex-cache/generic C:
+/Aplicaciones/TeXLive/texmf-var/luatex-cache/generic)
+luaotfload | conf : Root cache directory is C:/Aplicaciones/TeXLive/texmf-var/lu
+atex-cache/generic/names.
+luaotfload | init : Loading fontloader “fontloader-2017-02-11.lua” from kpse
+-resolved path “c:/Aplicaciones/TeXLive/texmf-dist/tex/luatex/luaotfload/fontl
+oader-2017-02-11.lua”.
+Lua-only attribute luaotfload@state = 1
+Lua-only attribute luaotfload@noligature = 2
+Lua-only attribute luaotfload@syllabe = 3
+luaotfload | init : Context OpenType loader version “3.027”
+Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
+Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
+Inserting `luaotfload.define_font' at position 1 in `define_font'.
+Lua-only attribute luaotfload_color_attribute = 4
+luaotfload | conf : Root cache directory is C:/Aplicaciones/TeXLive/texmf-var/lu
+atex-cache/generic/names.
+Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_
+font'.
+Inserting `luaotfload.aux.patch_cambria_domh' at position 2 in `luaotfload.patch
+_font'.
+Inserting `luaotfload.aux.fixup_fontdata' at position 1 in `luaotfload.patch_fon
+t_unsafe'.
+Inserting `luaotfload.aux.set_capheight' at position 3 in `luaotfload.patch_font
+'.
+Inserting `luaotfload.rewrite_fontname' at position 4 in `luaotfload.patch_font'
+.
+luaotfload | main : initialization completed in 0.230 seconds
+Babel <3.18.1236> and hyphenation patterns for 1 language(s) loaded.
+
+! LaTeX Error: Missing \begin{document}.
+
+See the LaTeX manual or LaTeX Companion for explanation.
+Type H <return> for immediate help.
+ ...
+
+l.1 ;
+ This file is part of babel. For further details see:
+? x
+
+
+Here is how much of LuaTeX's memory you used:
+ 9 strings out of 494480
+ 100000,89155 words of node,token memory allocated 272 words of node memory still in use:
+ 1 hlist, 1 local_par, 1 dir, 1 glue, 1 attribute, 35 glue_spec, 1 attribute_l
+ist, 1 temp nodes
+ avail lists: 2:9,3:1,4:1,7:1
+ 4256 multiletter control sequences out of 65536+600000
+ 14 fonts using 418323 bytes
+ 5i,0n,4p,70b,15s stack positions out of 5000i,500n,10000p,200000b,100000s
+
+warning (pdf backend): no pages of output.
+
+PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
+ 0 named destinations out of 1000 (max. 131072)
+ 1 words of extra memory for PDF output out of 10000 (max. 100000000)
+
diff --git a/Master/texmf-dist/tex/generic/babel/locale/km/babel-km.ini b/Master/texmf-dist/tex/generic/babel/locale/km/babel-km.ini
index ed0d72b34ca..617ecd2737a 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/km/babel-km.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/km/babel-km.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ខ្មែរ
name.english = Khmer
name.babel = khmer
@@ -151,6 +151,7 @@ punctuation = [\\- , ៖ ! ? . ។ ៕ ‘ ’ \" “ ” ( ) \\[ \\] \\{ \\}
[numbers]
defaultNumberingSystem = latn
+digits.native = ០១២៣៤៥៦៧៨៩
minimumGroupingDigits = 1
decimal = ,
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini b/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini
index db93cc4ac4f..9896e92fc5c 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/kn/babel-kn.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ಕನ್ನಡ
name.english = Kannada
name.babel = kannada
@@ -134,6 +134,7 @@ punctuation = [\\- ‐ – — , ; \\: ! ? . … ' ‘ ’ \" “ ” ( ) \\[ \\
[numbers]
defaultNumberingSystem = latn
+digits.native = ೦೧೨೩೪೫೬೭೮೯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/kok/babel-kok.ini b/Master/texmf-dist/tex/generic/babel/locale/kok/babel-kok.ini
index e7fb95dd914..211e2cfe059 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/kok/babel-kok.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/kok/babel-kok.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = कोंकणी
name.english = Konkani
name.babel = konkani
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ०१२३४५६७८९
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ks/babel-ks.ini b/Master/texmf-dist/tex/generic/babel/locale/ks/babel-ks.ini
index 54f4798127b..d3b651e2a37 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ks/babel-ks.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ks/babel-ks.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = کٲشُر
name.english = Kashmiri
name.babel = kashmiri
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/lo/babel-lo.ini b/Master/texmf-dist/tex/generic/babel/locale/lo/babel-lo.ini
index d484500dcf3..6806fdad98d 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/lo/babel-lo.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/lo/babel-lo.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ລາວ
name.english = Lao
name.babel = lao
@@ -129,6 +129,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ໐໑໒໓໔໕໖໗໘໙
minimumGroupingDigits = 1
decimal = ,
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/lrc/babel-lrc.ini b/Master/texmf-dist/tex/generic/babel/locale/lrc/babel-lrc.ini
index a70c375f105..c5c3de4db71 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/lrc/babel-lrc.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/lrc/babel-lrc.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = لۊری شومالی
name.english = Northern Luri
name.babel = northernluri
@@ -152,6 +152,7 @@ punctuation = [\\- ‐ ، ٫ ٬ ؛ \\: ! ؟ . … ‹ › « » ( ) \\[ \\] * /
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini b/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini
index 2cad05835a7..9343955b43d 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ml/babel-ml.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = മലയാളം
name.english = Malayalam
name.babel = malayalam
@@ -140,6 +140,7 @@ punctuation = [\\- , ; \\: ! ? . ' ‘ ’ \" “ ” ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ൦൧൨൩൪൫൬൭൮൯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini b/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini
index 85bd1dd23c5..eeba0f7b8a4 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/mr/babel-mr.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = मराठी
name.english = Marathi
name.babel = marathi
@@ -129,6 +129,7 @@ punctuation = [\\- ‐ – — , ; \\: ! ? . … ' ‘ ’ \" “ ” ( ) \\[ \\
[numbers]
defaultNumberingSystem = deva
+digits.native = ०१२३४५६७८९
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/my/babel-my.ini b/Master/texmf-dist/tex/generic/babel/locale/my/babel-my.ini
index 5eda7ac5495..4177d1ae5de 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/my/babel-my.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/my/babel-my.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = မြန်မာ
name.english = Burmese
name.babel = burmese
@@ -152,6 +152,7 @@ punctuation = [၊ ။ ‘ ’ “ ”]
[numbers]
defaultNumberingSystem = mymr
+digits.native = ၀၁၂၃၄၅၆၇၈၉
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/mzn/babel-mzn.ini b/Master/texmf-dist/tex/generic/babel/locale/mzn/babel-mzn.ini
index 1aa0ca593ab..ce8fde01427 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/mzn/babel-mzn.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/mzn/babel-mzn.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = مازرونی
name.english = Mazanderani
name.babel = mazanderani
@@ -152,6 +152,7 @@ punctuation = [\\- ‐ ، ٫ ٬ ؛ \\: ! ؟ . … ‹ › « » ( ) \\[ \\] * /
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ne/babel-ne.ini b/Master/texmf-dist/tex/generic/babel/locale/ne/babel-ne.ini
index a3d2b3293f9..5e9b06fb390 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ne/babel-ne.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ne/babel-ne.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = नेपाली
name.english = Nepali
name.babel = nepali
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = deva
+digits.native = ०१२३४५६७८९
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini b/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini
index 098c005e341..71b11dc7ee0 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/or/babel-or.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ଓଡ଼ିଆ
name.english = Odia
name.babel = oriya
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ୦୧୨୩୪୫୬୭୮୯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Arab.ini b/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Arab.ini
index ee11835d38a..9a2e2020f21 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Arab.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Arab.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = پنجابی
name.english = Punjabi
name.babel = punjabi-arabic
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini b/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini
index 84141fbf4bb..e190a51e010 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa-Guru.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ਪੰਜਾਬੀ
name.english = Punjabi
name.babel = punjabi-gurmukhi
@@ -152,6 +152,7 @@ punctuation = [\\- ‐ – — , ; \\: ! ? . ' ‘ ’ \" “ ” ( ) \\[ \\] /
[numbers]
defaultNumberingSystem = latn
+digits.native = ੦੧੨੩੪੫੬੭੮੯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini b/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini
index 085ba6a3517..79838563841 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/pa/babel-pa.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ਪੰਜਾਬੀ
name.english = Punjabi
name.babel = punjabi
@@ -151,6 +151,7 @@ punctuation = [\\- ‐ – — , ; \\: ! ? . ' ‘ ’ \" “ ” ( ) \\[ \\] /
[numbers]
defaultNumberingSystem = latn
+digits.native = ੦੧੨੩੪੫੬੭੮੯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ps/babel-ps.ini b/Master/texmf-dist/tex/generic/babel/locale/ps/babel-ps.ini
index f3a143c0fa8..7bcac9589b3 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ps/babel-ps.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ps/babel-ps.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = پښتو
name.english = Pashto
name.babel = pashto
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = ,
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini b/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini
index 0a72199876e..6ebfb1da490 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ta/babel-ta.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = தமிழ்
name.english = Tamil
name.babel = tamil
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ௦௧௨௩௪௫௬௭௮௯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini b/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini
index a4e94a57f69..4880bc0d08c 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/te/babel-te.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = తెలుగు
name.english = Telugu
name.babel = telugu
@@ -129,6 +129,7 @@ punctuation = [\\- , ; \\: ! ? . ' ‘ ’ \" “ ” ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ౦౧౨౩౪౫౬౭౮౯
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini b/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini
index f8748a17af0..3285804bf0f 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/th/babel-th.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ไทย
name.english = Thai
name.babel = thai
@@ -166,6 +166,7 @@ punctuation = [! \" # ' ( ) * , \\- . / \\: @ \\[ \\] ‐ – — ‘ ’ “
[numbers]
defaultNumberingSystem = latn
+digits.native = ๐๑๒๓๔๕๖๗๘๙
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ug/babel-ug.ini b/Master/texmf-dist/tex/generic/babel/locale/ug/babel-ug.ini
index ec15c9a3b85..dcef25bcfe4 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ug/babel-ug.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ug/babel-ug.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ئۇيغۇرچە
name.english = Uyghur
name.babel = uyghur
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/ur/babel-ur.ini b/Master/texmf-dist/tex/generic/babel/locale/ur/babel-ur.ini
index 13f469ddf54..10b83803501 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/ur/babel-ur.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/ur/babel-ur.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = اردو
name.english = Urdu
name.babel = urdu
@@ -129,6 +129,7 @@ punctuation = [، ؍ ٫ ٬ ؛ \\: ؟ . ۔ ( ) \\[ \\]]
[numbers]
defaultNumberingSystem = latn
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/uz/babel-uz-Arab.ini b/Master/texmf-dist/tex/generic/babel/locale/uz/babel-uz-Arab.ini
index 3867aa06da1..8f08aa3c1c5 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/uz/babel-uz-Arab.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/uz/babel-uz-Arab.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = اوزبیک
name.english = Uzbek
name.babel = uzbek-arabic
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = arabext
+digits.native = ۰۱۲۳۴۵۶۷۸۹
minimumGroupingDigits = 1
decimal = ,
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Latn.ini b/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Latn.ini
index 36b6ee47d4b..3efff4d1a17 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Latn.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Latn.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = Vai
name.english = Vai
name.babel = vai-latin
@@ -167,6 +167,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Vaii.ini b/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Vaii.ini
index 4f542308db6..4c217551db8 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Vaii.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai-Vaii.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ꕙꔤ
name.english = Vai
name.babel = vai-vai
@@ -152,6 +152,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai.ini b/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai.ini
index 163e12ba08a..91e593c47ba 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/vai/babel-vai.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = ꕙꔤ
name.english = Vai
name.babel = vai
@@ -151,6 +151,7 @@ punctuation = [\\- , ; \\: ! ? . ( ) \\[ \\] \\{ \\}]
[numbers]
defaultNumberingSystem = latn
+digits.native = ꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/yue/babel-yue.ini b/Master/texmf-dist/tex/generic/babel/locale/yue/babel-yue.ini
index 241d1428280..185035195f0 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/yue/babel-yue.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/yue/babel-yue.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 粵語
name.english = Cantonese
name.babel = cantonese
@@ -153,6 +153,7 @@ punctuation = [‾ ﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – ︲
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini
index c99faf2580e..49cd8e64ae9 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-HK.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-simplified-hongkongsarchina
@@ -156,6 +156,7 @@ punctuation = [﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – — ︱
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini
index 058be34425b..aba98ab5309 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-MO.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-simplified-macausarchina
@@ -156,6 +156,7 @@ punctuation = [﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – — ︱
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini
index 80effc1bb6c..39e80c108b4 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans-SG.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-simplified-singapore
@@ -157,6 +157,7 @@ punctuation = [﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – — ︱
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini
index 9e3059a2ed2..3cb52988f49 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hans.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-simplified
@@ -153,6 +153,7 @@ punctuation = [﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – — ︱
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini
index f9a81bc6dab..0b2d23ea111 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-HK.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-traditional-hongkongsarchina
@@ -156,6 +156,7 @@ punctuation = [‾ ﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – ︲
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini
index b52745dc177..9e0db221f76 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant-MO.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-traditional-macausarchina
@@ -156,6 +156,7 @@ punctuation = [‾ ﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – ︲
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini
index b588ee051cb..18a4abd9717 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh-Hant.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese-traditional
@@ -153,6 +153,7 @@ punctuation = [‾ ﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – ︲
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini
index 619b0ec5bfa..07f0f8804c2 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini
+++ b/Master/texmf-dist/tex/generic/babel/locale/zh/babel-zh.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.0
-date = 2017-09-01
+version = 1.1
+date = 2018-04-11
name.local = 中文
name.english = Chinese
name.babel = chinese
@@ -153,6 +153,7 @@ punctuation = [﹉﹊﹋﹌ _ _ ﹍﹎﹏ ︳︴ \\- - ﹣ ‐ – — ︱
[numbers]
defaultNumberingSystem = latn
+digits.native = 〇一二三四五六七八九
minimumGroupingDigits = 1
decimal = .
exponential = E
diff --git a/Master/texmf-dist/tex/generic/babel/luababel.def b/Master/texmf-dist/tex/generic/babel/luababel.def
index 447e2919076..0cfc8ae200c 100644
--- a/Master/texmf-dist/tex/generic/babel/luababel.def
+++ b/Master/texmf-dist/tex/generic/babel/luababel.def
@@ -383,9 +383,10 @@
\<bbl@##1dflt@*\bbl@tempa>}}}%
{}}% 1=T - language, already defined
\def\bbl@tempa{%
- \bbl@warning{The current font is not a standard family.\\%
- Script and Language are not applied. Consider defining\\%
- a new family with \string\babelfont,}}%
+ \bbl@warning{The current font is not a standard family:\\%
+ \fontname\font\\%
+ Script and Language are not applied. Consider defining a\\%
+ new family with \string\babelfont. Reported}}%
\bbl@foreach\bbl@font@fams{% don't gather with prev for
\bbl@ifunset{bbl@##1dflt@\languagename}%
{\bbl@cs{famrst@##1}%
@@ -397,17 +398,20 @@
\\\bbl@font@set\<bbl@##1dflt@\languagename>% the main part!
\<##1default>\<##1family>}}}%
\bbl@ifrestoring{}{\bbl@tempa}}%
-\def\bbl@font@set#1#2#3{%
+\def\bbl@font@set#1#2#3{% eg \bbl@rmdflt@lang \rmdefault \rmfamily
\bbl@xin@{<>}{#1}%
\ifin@
\bbl@exp{\\\bbl@fontspec@set\\#1\expandafter\@gobbletwo#1}%
\fi
\bbl@exp{%
- \def\\#2{#1}% eg, \rmdefault{\bbl@rm1dflt@lang}
+ \def\\#2{#1}% eg, \rmdefault{\bbl@rmdflt@lang}
\\\bbl@ifsamestring{#2}{\f@family}{\\#3\let\\\bbl@tempa\relax}{}}}
-\def\bbl@fontspec@set#1#2#3{%
+\def\bbl@fontspec@set#1#2#3{% eg \bbl@rmdflt@lang fnt-opt fnt-nme
+ \let\bbl@tempe\bbl@mapselect
+ \let\bbl@mapselect\relax
\bbl@exp{\<fontspec_set_family:Nnn>\\#1%
{\bbl@cs{lsys@\languagename},#2}}{#3}%
+ \let\bbl@mapselect\bbl@tempe
\bbl@toglobal#1}%
\def\bbl@font@rst#1#2#3#4{%
\bbl@csarg\def{famrst@#4}{\bbl@font@set{#1}#2#3}}
@@ -452,6 +456,11 @@
\babel@save\bbl@langfeatures
\edef\bbl@langfeatures{#2,}}}
\bbl@trace{Redefinitions for bidi layout}
+\ifx\@eqnnum\@undefined\else
+ \edef\@eqnnum{{%
+ \unexpanded{\ifcase\bbl@attr@dir\else\bbl@textdir\@ne\fi}%
+ \unexpanded\expandafter{\@eqnnum}}}
+\fi
\ifx\bbl@opt@layout\@nnil\endinput\fi % if no layout
\ifx\bbl@beforeforeign\leavevmode % A poor test for bidi=
\def\bbl@nextfake#1{%
@@ -480,7 +489,7 @@
\fi
\IfBabelLayout{tabular}
{\def\@tabular{%
- \leavevmode\hbox\bgroup\bbl@nextfake$%
+ \leavevmode\hbox\bgroup\bbl@nextfake$% %$
\let\@acol\@tabacol \let\@classz\@tabclassz
\let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray}}
{}
@@ -516,7 +525,7 @@
{\def\@textsuperscript#1{{% lua has separate settings for math
\m@th
\mathdir\pagedir % required with basic-r; ok with default, too
- \ensuremath {^{\mbox {\fontsize \sf@size \z@ #1}}}}}%
+ \ensuremath{^{\mbox {\fontsize \sf@size \z@ #1}}}}}%
\let\bbl@latinarabic=\@arabic
\def\@arabic#1{\babelsublr{\bbl@latinarabic#1}}%
\@ifpackagewith{babel}{bidi=default}%
@@ -576,6 +585,16 @@
\BabelFootnote\localfootnote\languagename{}{}%
\BabelFootnote\mainfootnote{}{}{}}
{}
+\IfBabelLayout{extras}%
+ {\def\underline#1{%
+ \relax
+ \ifmmode\@@underline{#1}%
+ \else\bbl@nextfake$\@@underline{\hbox{#1}}\m@th$\relax\fi}%
+ \DeclareRobustCommand{\LaTeXe}{\mbox{\m@th
+ \if b\expandafter\@car\f@series\@nil\boldmath\fi
+ \babelsublr{%
+ \LaTeX\kern.15em2\bbl@nextfake$_{\textstyle\varepsilon}$}}}}
+ {}
\endinput
%%
%% End of file `luababel.def'.
diff --git a/Master/texmf-dist/tex/generic/babel/nil.ldf b/Master/texmf-dist/tex/generic/babel/nil.ldf
index 5f9fb22e75a..10004499411 100644
--- a/Master/texmf-dist/tex/generic/babel/nil.ldf
+++ b/Master/texmf-dist/tex/generic/babel/nil.ldf
@@ -31,7 +31,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension |.ins|) which are part of the distribution.
%%
-\ProvidesLanguage{nil}[2018/02/14 3.18 Nil language]
+\ProvidesLanguage{nil}[2018/04/25 3.19 Nil language]
\LdfInit{nil}{datenil}
\ifx\l@nohyphenation\@undefined
\@nopatterns{nil}
diff --git a/Master/texmf-dist/tex/generic/babel/switch.def b/Master/texmf-dist/tex/generic/babel/switch.def
index 79e2859dfe5..0c5f6c2d68d 100644
--- a/Master/texmf-dist/tex/generic/babel/switch.def
+++ b/Master/texmf-dist/tex/generic/babel/switch.def
@@ -36,7 +36,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{switch.def}[2018/02/14 3.18 Babel switching mechanism]
+\ProvidesFile{switch.def}[2018/04/25 3.19 Babel switching mechanism]
\ifx\AtBeginDocument\@undefined
\input plain.def\relax
\fi
@@ -57,8 +57,8 @@
\countdef\last@language=19
\def\addlanguage{\alloc@9\language\chardef\@cclvi}
\fi
-\def\bbl@version{3.18}
-\def\bbl@date{2018/02/14}
+\def\bbl@version{3.19}
+\def\bbl@date{2018/04/25}
\def\adddialect#1#2{%
\global\chardef#1#2\relax
\bbl@usehooks{adddialect}{{#1}{#2}}%
@@ -135,7 +135,8 @@
{Unknown language `#1'. Either you have\\%
misspelled its name, it has not been installed,\\%
or you requested it in a previous run. Fix its name,\\%
- install it or just rerun the file, respectively}%
+ install it or just rerun the file, respectively. In\\%
+ some cases, you may need to remove the aux file}%
{You may proceed, but expect wrong results}%
\else
\let\bbl@select@type\z@
diff --git a/Master/texmf-dist/tex/generic/babel/xebabel.def b/Master/texmf-dist/tex/generic/babel/xebabel.def
index 31085b2ce9b..be92128a20e 100644
--- a/Master/texmf-dist/tex/generic/babel/xebabel.def
+++ b/Master/texmf-dist/tex/generic/babel/xebabel.def
@@ -122,9 +122,10 @@
\<bbl@##1dflt@*\bbl@tempa>}}}%
{}}% 1=T - language, already defined
\def\bbl@tempa{%
- \bbl@warning{The current font is not a standard family.\\%
- Script and Language are not applied. Consider defining\\%
- a new family with \string\babelfont,}}%
+ \bbl@warning{The current font is not a standard family:\\%
+ \fontname\font\\%
+ Script and Language are not applied. Consider defining a\\%
+ new family with \string\babelfont. Reported}}%
\bbl@foreach\bbl@font@fams{% don't gather with prev for
\bbl@ifunset{bbl@##1dflt@\languagename}%
{\bbl@cs{famrst@##1}%
@@ -136,17 +137,20 @@
\\\bbl@font@set\<bbl@##1dflt@\languagename>% the main part!
\<##1default>\<##1family>}}}%
\bbl@ifrestoring{}{\bbl@tempa}}%
-\def\bbl@font@set#1#2#3{%
+\def\bbl@font@set#1#2#3{% eg \bbl@rmdflt@lang \rmdefault \rmfamily
\bbl@xin@{<>}{#1}%
\ifin@
\bbl@exp{\\\bbl@fontspec@set\\#1\expandafter\@gobbletwo#1}%
\fi
\bbl@exp{%
- \def\\#2{#1}% eg, \rmdefault{\bbl@rm1dflt@lang}
+ \def\\#2{#1}% eg, \rmdefault{\bbl@rmdflt@lang}
\\\bbl@ifsamestring{#2}{\f@family}{\\#3\let\\\bbl@tempa\relax}{}}}
-\def\bbl@fontspec@set#1#2#3{%
+\def\bbl@fontspec@set#1#2#3{% eg \bbl@rmdflt@lang fnt-opt fnt-nme
+ \let\bbl@tempe\bbl@mapselect
+ \let\bbl@mapselect\relax
\bbl@exp{\<fontspec_set_family:Nnn>\\#1%
{\bbl@cs{lsys@\languagename},#2}}{#3}%
+ \let\bbl@mapselect\bbl@tempe
\bbl@toglobal#1}%
\def\bbl@font@rst#1#2#3#4{%
\bbl@csarg\def{famrst@#4}{\bbl@font@set{#1}#2#3}}