texlive[44722] Master/texmf-dist: babel (29jun17)
commits+karl at tug.org
commits+karl at tug.org
Thu Jun 29 23:28:45 CEST 2017
Revision: 44722
http://tug.org/svn/texlive?view=revision&revision=44722
Author: karl
Date: 2017-06-29 23:28:45 +0200 (Thu, 29 Jun 2017)
Log Message:
-----------
babel (29jun17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/babel/README
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/bbcompat.dtx
trunk/Master/texmf-dist/source/latex/babel/locale.zip
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/blplain.tex
trunk/Master/texmf-dist/tex/generic/babel/bplain.tex
trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
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/plain.def
trunk/Master/texmf-dist/tex/generic/babel/switch.def
trunk/Master/texmf-dist/tex/generic/babel/xebabel.def
Removed Paths:
-------------
trunk/Master/texmf-dist/source/latex/babel/bbunicode.dtx
trunk/Master/texmf-dist/tex/generic/babel/locale/gsw/babel-swissgerman.tex
Modified: trunk/Master/texmf-dist/doc/latex/babel/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/babel/README 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/doc/latex/babel/README 2017-06-29 21:28:45 UTC (rev 44722)
@@ -1,4 +1,4 @@
-Babel 3.11
+Babel 3.12
----------
This package manages culturally-determined typographical (and other)
@@ -53,6 +53,9 @@
Recent changes
--------------
+[3.12 - No real changes in the babel core. Just a few technical changes
+ related to the files.]
+
3.11 - Fix - error when version in format and of package
didn't match.
- Now switch.def is loaded always.
@@ -82,5 +85,5 @@
------------
Javier Bezos
-2017-06-26
+2017/06/29
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 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/source/latex/babel/babel.dtx 2017-06-29 21:28:45 UTC (rev 44722)
@@ -36,7 +36,7 @@
%\iffalse
%% File 'babel.dtx'
%\fi
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%\iffalse
%
% Babel DOCUMENT-STYLE option for LaTeX version 2.09 or plain TeX;
@@ -208,8 +208,8 @@
\vspace{2cm}\hspace{1.5cm}
\begin{minipage}{5cm}
\Large
-Version 3.11\newline
-2017/06/26
+Version 3.12\newline
+2017/06/29
\vspace{1cm}
\textit{Original author}\newline
@@ -2440,7 +2440,6 @@
\end{itemize}
\DocInput{babel.dtx}
-\DocInput{bbunicode.dtx}
\section{Conclusion}
@@ -2574,8 +2573,8 @@
% little bit of literate programming.
%
% \begin{macrocode}
-%<<version=3.11>>
-%<<date=2017/06/26>>
+%<<version=3.12>>
+%<<date=2017/06/29>>
% \end{macrocode}
%
% \section{Tools}
Modified: trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/source/latex/babel/bbcompat.dtx 2017-06-29 21:28:45 UTC (rev 44722)
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2017/06/26 v3.11]
+\ProvidesFile{bbcompat.dtx}[2017/06/29 v3.12]
%</dtx>
%
%% File 'bbcompat.dtx'
Deleted: trunk/Master/texmf-dist/source/latex/babel/bbunicode.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/babel/bbunicode.dtx 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/source/latex/babel/bbunicode.dtx 2017-06-29 21:28:45 UTC (rev 44722)
@@ -1,566 +0,0 @@
-% \iffalse meta-comment
-%
-% Copyright 2013-2017 Javier Bezos 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 all files belonging to the Babel system is
-% given in the file `manifest.bbl. See also `legal.bbl' for additional
-% information.
-%
-% 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.
-% \fi
-% \CheckSum{795}
-%
-% \iffalse
-%<*dtx>
-\ProvidesFile{bbunicode.dtx}
- [2017/06/26 v3.11 Babel hooks for Unicode engines]
-%</dtx>
-%
-%% File `bbunicode.dtx'
-%% Babel package for LaTeX version 2e
-%% Copyright (C) 2103-2017
-%% by Javier Bezos
-%
-%<*filedriver>
-\documentclass{ltxdoc}
-\font\manual=logo10 % font used for the METAFONT logo, etc.
-\newcommand*\MF{{\manual META}\-{\manual FONT}}
-\newcommand*{\babel}{\textsf{babel}}
-\newcommand*{\langvar}{$\langle \it lang \rangle$}
-\newcommand*{\note}[1]{}
-\newcommand*{\pkg}[1]{\textsf{#1}}
-\newcommand*{\Lopt}[1]{\textsf{#1}}
-\newcommand*{\file}[1]{\texttt{#1}}
-\begin{document}
- \DocInput{bbunicode.dtx}
-\end{document}
-%</filedriver>
-% \fi
-%
-% \GetFileInfo{bbunicode.dtx}
-% \StopEventually{}
-%
-% \section{Tentative font handling}
-%
-% A general solution is far from trivial:
-% \begin{itemize}
-% \item |\addfontfeature| only sets it for the current family and it's
-% not very efficient, and
-% \item |\defaultfontfeatures| requires to redefine the font (and the
-% opti\texttt{}ons aren't ``orthogonal'').
-% \end{itemize}
-%
-% \begin{macrocode}
-%<<*Font selection>>
-\def\babelFSstore#1{%
- \bbl at for\bbl at tempa{#1}{%
- \edef\bbl at tempb{\noexpand\bbl at FSstore{\bbl at tempa}}
- \bbl at tempb{rm}\rmdefault\bbl at save@rmdefault
- \bbl at tempb{sf}\sfdefault\bbl at save@sfdefault
- \bbl at tempb{tt}\ttdefault\bbl at save@ttdefault}}
-\def\bbl at FSstore#1#2#3#4{%
- \bbl at csarg\edef{#2default#1}{#3}%
- \expandafter\addto\csname extras#1\endcsname{%
- \let#4#3%
- \ifx#3\f at family
- \edef#3{\csname bbl@#2default#1\endcsname}%
- \fontfamily{#3}\selectfont
- \else
- \edef#3{\csname bbl@#2default#1\endcsname}%
- \fi}%
- \expandafter\addto\csname noextras#1\endcsname{%
- \ifx#3\f at family
- \fontfamily{#4}\selectfont
- \fi
- \let#3#4}}
-\let\bbl at langfeatures\@empty
-\def\babelFSfeatures{%
- \let\bbl at ori@fontspec\fontspec
- \renewcommand\fontspec[1][]{%
- \bbl at ori@fontspec[\bbl at langfeatures##1]}
- \let\babelFSfeatures\bbl at FSfeatures
- \babelFSfeatures}
-\def\bbl at FSfeatures#1#2{%
- \expandafter\addto\csname extras#1\endcsname{%
- \babel at save\bbl at langfeatures
- \edef\bbl at langfeatures{#2,}}}
-%<</Font selection>>
-% \end{macrocode}
-% \section{Hooks for XeTeX and LuaTeX}
-%
-% \subsection{XeTeX}
-%
-% Unfortunately, the current encoding cannot be retrieved and
-% therefore it is reset always to |utf8|, which seems a sensible
-% default.
-%
-% \LaTeX{} sets many ``codes'' just before loading
-% \verb|hyphen.cfg|. That is not a problem in luatex, but in xetex
-% they must be reset to the proper value. Most of the work is done in
-% \textsf{xe(la)tex.ini}, so here we just ``undo'' some of the
-% changes done by \LaTeX. Anyway, for consistency Lua\TeX{} also
-% resets the catcodes.
-% \changes{bbunicode~1.0c}{2014/03/10}{Reset ``codes'' set by \cs{LaTeX}
-% to what xetex expects. Used also in luatex.}
-% \changes{bbunicode~1.0f}{2015/12/06}{This block was assigned to
-% xetex, even in luatex. Fixed here and below.}
-% \begin{macrocode}
-%<<*Restore Unicode catcodes before loading patterns>>
- \begingroup
- % Reset chars "80-"C0 to category "other", no case mapping:
- \catcode`\@=11 \count@=128
- \loop\ifnum\count@<192
- \global\uccode\count@=0 \global\lccode\count@=0
- \global\catcode\count@=12 \global\sfcode\count@=1000
- \advance\count@ by 1 \repeat
- % Other:
- \def\O ##1 {%
- \global\uccode"##1=0 \global\lccode"##1=0
- \global\catcode"##1=12 \global\sfcode"##1=1000 }%
- % Letter:
- \def\L ##1 ##2 ##3 {\global\catcode"##1=11
- \global\uccode"##1="##2
- \global\lccode"##1="##3
- % Uppercase letters have sfcode=999:
- \ifnum"##1="##3 \else \global\sfcode"##1=999 \fi }%
- % Letter without case mappings:
- \def\l ##1 {\L ##1 ##1 ##1 }%
- \l 00AA
- \L 00B5 039C 00B5
- \l 00BA
- \O 00D7
- \l 00DF
- \O 00F7
- \L 00FF 0178 00FF
- \endgroup
- \input #1\relax
-%<</Restore Unicode catcodes before loading patterns>>
-% \end{macrocode}
-%
-% Now, the code.
-%
-% \begin{macrocode}
-%<*xetex>
-\def\BabelStringsDefault{unicode}
-\let\xebbl at stop\relax
-\AddBabelHook{xetex}{encodedcommands}{%
- \def\bbl at tempa{#1}%
- \ifx\bbl at tempa\@empty
- \XeTeXinputencoding"bytes"%
- \else
- \XeTeXinputencoding"#1"%
- \fi
- \def\xebbl at stop{\XeTeXinputencoding"utf8"}}
-\AddBabelHook{xetex}{stopcommands}{%
- \xebbl at stop
- \let\xebbl at stop\relax}
-\AddBabelHook{xetex}{loadkernel}{%
-<@Restore Unicode catcodes before loading patterns@>}
-<@Font selection@>
-%</xetex>
-% \end{macrocode}
-%
-% \subsection{LuaTeX}
-%
-% The new loader for luatex is based solely on |language.dat|, which
-% is read on the fly. The code shouldn't be executed when the format
-% is build, so we check if |\AddBabelHook| is defined. Then comes a
-% modified version of the loader in |hyphen.cfg| (without the
-% hyphenmins stuff, which is under the direct control of \babel).
-%
-% The names |\l@<language>| are defined and take some value from the
-% beginning because all \texttt{ldf} files assume this for the
-% corresponding language to be considered valid, but patterns are not
-% loaded (except the first one). This is done later, when the language
-% is first selected (which usually means when the \texttt{ldf}
-% finishes). If a language has been loaded, |\bbl at hyphendata@<num>|
-% exists (with the names of the files read).
-%
-% The default setup preloads the first language into the format. This
-% is intended mainly for `english', so that it's available without
-% further intervention from the user. To avoid duplicating it, the
-% following rule applies: if the ``0th'' language and the first
-% language in |language.dat| have the same name then just ignore the
-% latter. If there are new synonymous, the are added, but note if the
-% language patterns have not been preloaded they won't at run time.
-%
-% Other preloaded languages could be read twice, if they has been
-% preloaded into the format. This is not optimal, but it shouldn't
-% happen very often -- with \luatex{} patterns are best loaded when
-% the document is typeset, and the ``0th'' language is preloaded just
-% for backwards compatibility.
-%
-% As of 1.1b, lua(e)tex is taken into account. Formerly, loading of
-% patterns on the fly didn't work in this format, but with the new
-% loader it does. Unfortunately, the format is not based on \babel,
-% and data could be duplicated, because languages are reassigned above
-% those in the format (nothing serious, anyway). Note even with this
-% format |language.dat| is used (under the principle of a single
-% source), instead of |language.def|.
-%
-% Of course, there is room for improvements, like tools to read and
-% reassign languages, which would require modifying the language list,
-% and better error handling.
-%
-% We need catcode tables, but no format (targeted by \babel) provide a
-% command to allocate them (although there are packages like
-% \textsf{ctablestack}). For the moment, a dangerous approach is used
-% -- just allocate a high random number and cross the fingers. To
-% complicate things, \textsf{etex.sty} changes the way languages are
-% allocated.
-%
-% \changes{bbunicode~1.0b}{2013/04/22}{luatex-hyphen is loaded with
-% require. Changes supplied by \'{E}lie Roux.}
-% \changes{bbunicode~1.0c}{2014/03/10}{Defined hook for
-% `initiateactive', to fetch the next token and continue only if
-% letter or other.}
-% \changes{bbunicode~1.0d}{2014/03/21}{Removed the `misfeature' for
-% `initiateactive'.}
-% \changes{bbunicode~1.0e}{2015/05/10}{Use brackets instead of
-% \cs{luaescapestring}.}
-% \changes{bbunicode~1.0e}{2015/07/26}{Added function addpattern
-% and modified the patterns hook.}
-% \changes{bbunicode~1.1a}{2016/01/26}{New hyphenation loader for
-% luatex.}
-% \changes{bbunicode~1.1b}{2016/02/05}{Also lua(e)tex.}
-% \changes{bbunicode~1.1c}{2016/02/08}{Base reading of patterns on
-% number, not in name.}
-% \changes{bbunicode~1.1c}{2016/02/08}{Some hacks for polyglossia. To
-% be improved.}
-% \changes{bbunicode~1.1c}{2016/02/23}{Thoroughly revised.}
-% \changes{bbunicode~1.1d}{2016/4/22}{Lua: Fixed a line break at
-% \cs{foreignlanguage} with unloaded patterns. Added
-% \cs{babelcatcodetablenum}, just in case.}
-%
-% \begin{macrocode}
-%<*luatex>
-\ifx\AddBabelHook\@undefined
-\begingroup
- \toks@{}
- \count@\z@ % 0=start, 1=0th, 2=normal
- \def\bbl at process@line#1#2 #3 #4 {%
- \ifx=#1%
- \bbl at process@synonym{#2}%
- \else
- \bbl at process@language{#1#2}{#3}{#4}%
- \fi
- \ignorespaces}
- \def\bbl at manylang{%
- \ifnum\bbl at last>\@ne
- \bbl at info{Non-standard hyphenation setup}%
- \fi
- \let\bbl at manylang\relax}
- \def\bbl at process@language#1#2#3{%
- \ifcase\count@
- \@ifundefined{zth@#1}{\count@\tw@}{\count@\@ne}%
- \or
- \count@\tw@
- \fi
- \ifnum\count@=\tw@
- \expandafter\addlanguage\csname l@#1\endcsname
- \language\allocationnumber
- \chardef\bbl at last\allocationnumber
- \bbl at manylang
- \let\bbl at elt\relax
- \xdef\bbl at languages{%
- \bbl at languages\bbl at elt{#1}{\the\language}{#2}{#3}}%
- \fi
- \the\toks@
- \toks@{}}
- \def\bbl at process@synonym at aux#1#2{%
- \global\expandafter\chardef\csname l@#1\endcsname#2\relax
- \let\bbl at elt\relax
- \xdef\bbl at languages{%
- \bbl at languages\bbl at elt{#1}{#2}{}{}}}%
- \def\bbl at process@synonym#1{%
- \ifcase\count@
- \toks@\expandafter{\the\toks@\relax\bbl at process@synonym{#1}}%
- \or
- \@ifundefined{zth@#1}{\bbl at process@synonym at aux{#1}{0}}{}%
- \else
- \bbl at process@synonym at aux{#1}{\the\bbl at last}%
- \fi}
- \ifx\bbl at languages\@undefined % Just a (sensible?) guess
- \chardef\l at english\z@
- \chardef\l at USenglish\z@
- \chardef\bbl at last\z@
- \global\@namedef{bbl at hyphendata@0}{{hyphen.tex}{}}
- \gdef\bbl at languages{%
- \bbl at elt{english}{0}{hyphen.tex}{}%
- \bbl at elt{USenglish}{0}{}{}}
- \else
- \global\let\bbl at languages@format\bbl at languages
- \def\bbl at elt#1#2#3#4{% Remove all except language 0
- \ifnum#2>\z@\else
- \noexpand\bbl at elt{#1}{#2}{#3}{#4}%
- \fi}%
- \xdef\bbl at languages{\bbl at languages}%
- \fi
- \def\bbl at elt#1#2#3#4{\@namedef{zth@#1}{}} % Define flags
- \bbl at languages
- \openin1=language.dat
- \ifeof1
- \bbl at warning{I couldn't find language.dat. No additional\\%
- patterns loaded. Reported}%
- \else
- \loop
- \endlinechar\m at ne
- \read1 to \bbl at line
- \endlinechar`\^^M
- \if T\ifeof1F\fi T\relax
- \ifx\bbl at line\@empty\else
- \edef\bbl at line{\bbl at line\space\space\space}%
- \expandafter\bbl at process@line\bbl at line\relax
- \fi
- \repeat
- \fi
-\endgroup
-\def\bbl at get@enc#1:#2:#3\@@@{\def\bbl at hyph@enc{#2}}
-\ifx\babelcatcodetablenum\@undefined
- \def\babelcatcodetablenum{5211}
-\fi
-\def\bbl at luapatterns#1#2{%
- \bbl at get@enc#1::\@@@
- \setbox\z@\hbox\bgroup
- \begingroup
- \ifx\catcodetable\@undefined
- \let\savecatcodetable\luatexsavecatcodetable
- \let\initcatcodetable\luatexinitcatcodetable
- \let\catcodetable\luatexcatcodetable
- \fi
- \savecatcodetable\babelcatcodetablenum\relax
- \initcatcodetable\numexpr\babelcatcodetablenum+1\relax
- \catcodetable\numexpr\babelcatcodetablenum+1\relax
- \catcode`\#=6 \catcode`\$=3 \catcode`\&=4 \catcode`\^=7
- \catcode`\_=8 \catcode`\{=1 \catcode`\}=2 \catcode`\~=13
- \catcode`\@=11 \catcode`\^^I=10 \catcode`\^^J=12
- \catcode`\<=12 \catcode`\>=12 \catcode`\*=12 \catcode`\.=12
- \catcode`\-=12 \catcode`\/=12 \catcode`\[=12 \catcode`\]=12
- \catcode`\`=12 \catcode`\'=12 \catcode`\"=12
- \input #1\relax
- \catcodetable\babelcatcodetablenum\relax
- \endgroup
- \def\bbl at tempa{#2}%
- \ifx\bbl at tempa\@empty\else
- \input #2\relax
- \fi
- \egroup}%
-\def\bbl at patterns@lua#1{%
- \language=\expandafter\ifx\csname l@#1:\f at encoding\endcsname\relax
- \csname l@#1\endcsname
- \edef\bbl at tempa{#1}%
- \else
- \csname l@#1:\f at encoding\endcsname
- \edef\bbl at tempa{#1:\f at encoding}%
- \fi\relax
- \@namedef{lu at texhyphen@loaded@\the\language}{}% Temp
- \@ifundefined{bbl at hyphendata@\the\language}%
- {\def\bbl at elt##1##2##3##4{%
- \ifnum##2=\csname l@\bbl at tempa\endcsname % #2=spanish, dutch:OT1...
- \def\bbl at tempb{##3}%
- \ifx\bbl at tempb\@empty\else % if not a synonymous
- \def\bbl at tempc{{##3}{##4}}%
- \fi
- \bbl at csarg\xdef{hyphendata@##2}{\bbl at tempc}%
- \fi}%
- \bbl at languages
- \@ifundefined{bbl at hyphendata@\the\language}%
- {\bbl at info{No hyphenation patterns were set for\\%
- language ‘\bbl at tempa’. Reported}}%
- {\expandafter\expandafter\expandafter\bbl at luapatterns
- \csname bbl at hyphendata@\the\language\endcsname}}{}}
-\endinput\fi
-\begingroup
-\catcode`\%=12
-\catcode`\'=12
-\catcode`\"=12
-\catcode`\:=12
-\directlua{
- Babel = {}
- function Babel.bytes(line)
- return line:gsub("(.)",
- function (chr) return unicode.utf8.char(string.byte(chr)) end)
- end
- function Babel.begin_process_input()
- if luatexbase and luatexbase.add_to_callback then
- luatexbase.add_to_callback('process_input_buffer',
- Babel.bytes,'Babel.bytes')
- else
- Babel.callback = callback.find('process_input_buffer')
- callback.register('process_input_buffer',Babel.bytes)
- end
- end
- function Babel.end_process_input ()
- if luatexbase and luatexbase.remove_from_callback then
- luatexbase.remove_from_callback('process_input_buffer','Babel.bytes')
- else
- callback.register('process_input_buffer',Babel.callback)
- end
- end
- function Babel.addpatterns(pp, lg)
- local lg = lang.new(lg)
- local pats = lang.patterns(lg) or ''
- lang.clear_patterns(lg)
- for p in pp:gmatch('[^%s]+') do
- ss = ''
- for i in string.utfcharacters(p:gsub('%d', '')) do
- ss = ss .. '%d?' .. i
- end
- ss = ss:gsub('^%%d%?%.', '%%.') .. '%d?'
- ss = ss:gsub('%.%%d%?$', '%%.')
- pats, n = pats:gsub('%s' .. ss .. '%s', ' ' .. p .. ' ')
- if n == 0 then
- tex.sprint(
- [[\string\csname\space bbl at info\endcsname{New pattern: ]]
- .. p .. [[}]])
- pats = pats .. ' ' .. p
- else
- tex.sprint(
- [[\string\csname\space bbl at info\endcsname{Renew pattern: ]]
- .. p .. [[}]])
- end
- end
- lang.patterns(lg, pats)
- end
-}
-\endgroup
-\def\BabelStringsDefault{unicode}
-\let\luabbl at stop\relax
-\AddBabelHook{luatex}{encodedcommands}{%
- \def\bbl at tempa{utf8}\def\bbl at tempb{#1}%
- \ifx\bbl at tempa\bbl at tempb\else
- \directlua{Babel.begin_process_input()}%
- \def\luabbl at stop{%
- \directlua{Babel.end_process_input()}}%
- \fi}%
-\AddBabelHook{luatex}{stopcommands}{%
- \luabbl at stop
- \let\luabbl at stop\relax}
-\AddBabelHook{luatex}{patterns}{%
- \@ifundefined{bbl at hyphendata@\the\language}%
- {\def\bbl at elt##1##2##3##4{%
- \ifnum##2=\csname l@#2\endcsname % #2=spanish, dutch:OT1...
- \def\bbl at tempb{##3}%
- \ifx\bbl at tempb\@empty\else % if not a synonymous
- \def\bbl at tempc{{##3}{##4}}%
- \fi
- \bbl at csarg\xdef{hyphendata@##2}{\bbl at tempc}%
- \fi}%
- \bbl at languages
- \@ifundefined{bbl at hyphendata@\the\language}%
- {\bbl at info{No hyphenation patterns were set for\\%
- language ‘#2’. Reported}}%
- {\expandafter\expandafter\expandafter\bbl at luapatterns
- \csname bbl at hyphendata@\the\language\endcsname}}{}%
- \@ifundefined{bbl at patterns@}{}{%
- \begingroup
- \@expandtwoargs\in@{,\number\language,}{,\bbl at pttnlist}%
- \ifin@\else
- \ifx\bbl at patterns@\@empty\else
- \directlua{ Babel.addpatterns(
- [[\bbl at patterns@]], \number\language) }%
- \fi
- \@ifundefined{bbl at patterns@#1}%
- \@empty
- {\directlua{ Babel.addpatterns(
- [[\space\csname bbl at patterns@#1\endcsname]],
- \number\language) }}%
- \xdef\bbl at pttnlist{\bbl at pttnlist\number\language,}%
- \fi
- \endgroup}}
-\AddBabelHook{luatex}{everylanguage}{%
- \def\process at language##1##2##3{%
- \def\process at line####1####2 ####3 ####4 {}}}
-\AddBabelHook{luatex}{loadpatterns}{%
- \input #1\relax
- \expandafter\gdef\csname bbl at hyphendata@\the\language\endcsname
- {{#1}{}}}
-\AddBabelHook{luatex}{loadexceptions}{%
- \input #1\relax
- \def\bbl at tempb##1##2{{##1}{#1}}%
- \expandafter\xdef\csname bbl at hyphendata@\the\language\endcsname
- {\expandafter\expandafter\expandafter\bbl at tempb
- \csname bbl at hyphendata@\the\language\endcsname}}
-% \end{macrocode}
-%
-% \begin{macro}{\babelpatterns}
-%
-% This macro adds patterns. Two macros are used to store them:
-% |\bbl at patterns@| for the global ones and |\bbl at patterns@<lang>|
-% for language ones. We make sure there is a space between words
-% when multiple commands are used.
-% \changes{bbunicode~1.0e}{2015/07/26}{Macro \cs{babelpatterns} added}
-%
-% \begin{macrocode}
-\@onlypreamble\babelpatterns
-\AtEndOfPackage{%
- \newcommand\babelpatterns[2][\@empty]{%
- \ifx\bbl at patterns@\relax
- \let\bbl at patterns@\@empty
- \fi
- \ifx\bbl at pttnlist\@empty\else
- \bbl at warning{%
- You must not intermingle \string\selectlanguage\space and\\%
- \string\babelpatterns\space or some patterns will not\\%
- be taken into account. Reported}%
- \fi
- \ifx\@empty#1%
- \protected at edef\bbl at patterns@{\bbl at patterns@\space#2}%
- \else
- \edef\bbl at tempb{\zap at space#1 \@empty}%
- \bbl at for\bbl at tempa\bbl at tempb{%
- \bbl at fixname\bbl at tempa
- \bbl at iflanguage\bbl at tempa{%
- \bbl at csarg\protected at edef{patterns@\bbl at tempa}{%
- \@ifundefined{bbl at patterns@\bbl at tempa}%
- \@empty
- {\csname bbl at patterns@\bbl at tempa\endcsname\space}%
- #2}}}%
- \fi}}
-% \end{macrocode}
-% \end{macro}
-%
-% Common stuff.
-%
-% \begin{macrocode}
-\AddBabelHook{luatex}{loadkernel}{%
-<@Restore Unicode catcodes before loading patterns@>}
-<@Font selection@>
-%</luatex>
-% \end{macrocode}
-%
-\endinput
-%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
Modified: trunk/Master/texmf-dist/source/latex/babel/locale.zip
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.def 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.def 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
@@ -56,7 +56,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{babel.def}[2017/06/26 3.11 Babel common definitions]
+\ProvidesFile{babel.def}[2017/06/29 3.12 Babel common definitions]
\ifx\AtBeginDocument\@undefined
\input plain.def\relax
\fi
Modified: trunk/Master/texmf-dist/tex/generic/babel/babel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/babel.sty 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/babel.sty 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
@@ -48,7 +48,7 @@
%% by Javier Bezos
%% all rights reserved.
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{babel}[2017/06/26 3.11 The Babel package]
+\ProvidesPackage{babel}[2017/06/29 3.12 The Babel package]
\@ifpackagewith{babel}{debug}
{\let\bbl at debug\@firstofone}
{\let\bbl at debug\@gobble}
Modified: trunk/Master/texmf-dist/tex/generic/babel/blplain.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/blplain.tex 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/blplain.tex 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
Modified: trunk/Master/texmf-dist/tex/generic/babel/bplain.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/bplain.tex 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/bplain.tex 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
Modified: trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/hyphen.cfg 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
@@ -52,7 +52,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{hyphen.cfg}[2017/06/26 3.11 Babel hyphens]
+\ProvidesFile{hyphen.cfg}[2017/06/29 3.12 Babel hyphens]
\xdef\bbl at format{\jobname}
\ifx\AtBeginDocument\@undefined
\def\@empty{}
@@ -83,7 +83,7 @@
\countdef\last at language=19
\def\addlanguage{\alloc at 9\language\chardef\@cclvi}
\fi
-\toks8{Babel <3.11> and hyphenation patterns for }%
+\toks8{Babel <3.12> and hyphenation patterns for }%
\def\process at line#1#2 #3 #4 {%
\ifx=#1%
\process at synonym{#2}%
Deleted: trunk/Master/texmf-dist/tex/generic/babel/locale/gsw/babel-swissgerman.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/locale/gsw/babel-swissgerman.tex 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/locale/gsw/babel-swissgerman.tex 2017-06-29 21:28:45 UTC (rev 44722)
@@ -1,12 +0,0 @@
-% 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{gsw}{%
-}
-\endinput
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/generic/babel/luababel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/luababel.def 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/luababel.def 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
Modified: trunk/Master/texmf-dist/tex/generic/babel/nil.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/nil.ldf 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/nil.ldf 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
@@ -47,7 +47,7 @@
%% TeXniek
%% by Javier Bezos
%% all rights reserved.
-\ProvidesLanguage{nil}[2017/06/26 3.11 Nil language]
+\ProvidesLanguage{nil}[2017/06/29 3.12 Nil language]
\LdfInit{nil}{datenil}
\ifx\l at nohyphenation\@undefined
\@nopatterns{nil}
Modified: trunk/Master/texmf-dist/tex/generic/babel/plain.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/plain.def 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/plain.def 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
Modified: trunk/Master/texmf-dist/tex/generic/babel/switch.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/switch.def 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/switch.def 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
@@ -52,7 +52,7 @@
\wlog{File: #1 #4 #3 <#2>}%
\let\ProvidesFile\@undefined}
\fi
-\ProvidesFile{switch.def}[2017/06/26 3.11 Babel switching mechanism]
+\ProvidesFile{switch.def}[2017/06/29 3.12 Babel switching mechanism]
\ifx\AtBeginDocument\@undefined
\input plain.def\relax
\fi
@@ -73,8 +73,8 @@
\countdef\last at language=19
\def\addlanguage{\alloc at 9\language\chardef\@cclvi}
\fi
-\def\bbl at version{3.11}
-\def\bbl at date{2017/06/26}
+\def\bbl at version{3.12}
+\def\bbl at date{2017/06/29}
\def\adddialect#1#2{%
\global\chardef#1#2\relax
\bbl at usehooks{adddialect}{{#1}{#2}}%
Modified: trunk/Master/texmf-dist/tex/generic/babel/xebabel.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel/xebabel.def 2017-06-29 09:56:32 UTC (rev 44721)
+++ trunk/Master/texmf-dist/tex/generic/babel/xebabel.def 2017-06-29 21:28:45 UTC (rev 44722)
@@ -38,7 +38,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%% File 'babel.dtx'
-%%\ProvidesFile{babel.dtx}[2017/06/26 v3.11 The Babel package]
+%%\ProvidesFile{babel.dtx}[2017/06/29 v3.12 The Babel package]
%% Babel package for LaTeX2e.
%% Copyright (C) 1989-2008 by Johannes Braams,
%% TeXniek
More information about the tex-live-commits
mailing list