diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-03 22:43:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-03 22:43:56 +0000 |
commit | d3e0a69fed4336a821309707ba2f1d10a4b93b68 (patch) | |
tree | 136b4f7d6661fab1bdc27a804fde428858c8818e /Master | |
parent | cdbf138eeebd04def89eca636d48726ff60fd5cb (diff) |
babel (3mar21)
git-svn-id: svn://tug.org/texlive/trunk@58084 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/babel/README.md | 153 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/babel/babel.pdf | bin | 818447 -> 818518 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/babel/babel.dtx | 29 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/babel/babel.ins | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/babel/bbcompat.dtx | 9 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/babel/locale.zip | bin | 778055 -> 778243 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/babel.def | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/babel.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/hyphen.cfg | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/locale/ro/babel-ro.ini | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/locale/ug/babel-ug.ini | 70 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/luababel.def | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/ngermanb.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/nil.ldf | 2 |
14 files changed, 83 insertions, 210 deletions
diff --git a/Master/texmf-dist/doc/latex/babel/README.md b/Master/texmf-dist/doc/latex/babel/README.md index fe4414073f2..1ec95e18268 100644 --- a/Master/texmf-dist/doc/latex/babel/README.md +++ b/Master/texmf-dist/doc/latex/babel/README.md @@ -1,17 +1,20 @@ -## Babel 3.54 +## Babel 3.55 This package manages culturally-determined typographical (and other) -rules, and hyphenation patterns for a wide range of languages. Many +rules, and hyphenation patterns for a wide range of languages. Many language styles work with pdflatex, as well as with xelatex and -lualatex out of the box. A few even work with plain formats. +lualatex out of the box. A few even work with plain formats. Included +is a set of ini files for about 250 languages. The latest stable version is available on <https://ctan.org/pkg/babel>. -Changes in version 3.54 are described in: +Changes in version 3.55 are described in: -https://github.com/latex3/babel/wiki/What's-new-in-babel-3.54 +https://github.com/latex3/babel/blob/master/news-guides/news/whats-new-in-babel-3.55.md -Included is a set of ini files for about 250 languages. +Apart from the manual, you can find information on some aspects of babel at: + +https://github.com/latex3/babel/tree/master/news-guides The best way to install and/or update it is with the help of package managers. @@ -41,136 +44,18 @@ You may also report them to the current maintainer more informally on: Bugs related to specific languages are best reported to their respective authors. -### Latest changes +### Summary of Latest changes ``` -3.54 2021-02-22 - * RTL text inside \put (with pict2e) correctly rendered in - typical cases (lua, #98). - * Same for \tikz (lua). - * The main change in internal (loader of ini files refactored). - * Fixes: - - The tentative \foreignlanguage* stopped working. - -3.53 2021-01-26 - * Extended \setlocalecaption to allow .template (related to - #111). - * Allow access to some features in `ini` files even with `ldf` - ones. - * Tool to create ldf files with a (more or less) GUI. - * Captions for Sinhala (thanks to Nisal D Bandara). - * Fixes: - - Not really a fix, but I started working on `picture` with - bidi in lua. - - Parenthesis sometimes mirrored at the end of math with - bidi=basic. -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.53 - -3.52 2020-12-16 - * WARNING. If you need the style for Afrikaans you must update - babel-dutch. - * Improved \babelposthyphenation and \babelprehyphenation: - - Ordinary spaces can be matched in the latter. - - Keys 'insert' and 'penalty'. - - Some bugs fixed. - * Fixes: - - A couple of issues with \localeinfo and \getlocaleproperty - (#102, #105). - - Save size overflow with many \selectlanguage's (#109). - - Albanian: fix a typo in contents name (#104) - - Missing ‘Unused global option(s)’ warning (#110) -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.52 - -3.51 2020-10-27 - * Common interface to (re)define captions (with - \setlocalecaption). - * frenchspacing filled in many ini files. - * A new internal macro (for ldf files) named \babel@texpdf, to - ease interoperativity with hyperref in shorthands. - * Fixes: - - Error when loading a language on the fly in tabular (#97). - - 'hyphenrules' raised an error with 'base' option (#59). - - Better handling of autoloaded languages (eg, catcodes). - - An error was raised with CJK and a null font (#99). - - language.tag.bcp47 and tag.ini in \localeinfo didn't work - (#102). -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.52 - -3.50 2020-10-06 - * Fixes: - - main=<language> stopped working in some cases (#96). - - Footnotes were not \long with layout=footnotes. -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.50 - -3.49 2020-10-03 - * BUG. This version has a severe bug with main= (fixed in 3.50). - * Allow standard LaTeX syntax to recognize locales based on ini - files in the most common cases. - * frenchspacing is set with ini files. - * Fixes: - - layout.lists=off didn't work (#94) -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.49 - -3.48 2020-09-01 - * New (tentative) tools to customize some labels (like chapters - in CJK and Hungarian). - * Warning instead of error if neither 0 nor ZERO WIDTH SPACE is - found in some Southeast Asian languages. - * Fixes: - - \babelshorthand didn't work with some dialects (#91). - - \selectlanguage and otherlanguage raised an error inside - tabular. -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.48 - -3.47 2020-07-13 +3.55 2021-03-03?? + * Captions for Uyghur. * Fixes: - - Spurious spaces when autoloading locales (bug introduced - in 3.46 when fixing #80). - - In dtx files, autoloading printed some spurious text - (because % is set to ignore, #87). - * New - \getlocaleproperty*, which doesn't raise an error. - * Basic ini+tex templates for about 500 languages in the GitHub - repository. -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.47 - -3.46 2020-07-06 - * Languages can now be optionally selected with their BCP 47 - tags. - * \BabelEnsureInfo now loads the basic data for the requested - languages immediately (formerly it was done at the end of the - preamble). - * Fixes: - - Getting rid of the hyphen in XeTeX was not working as - expected. A new procedure has been devised. - - tag.bcp47 now contains what its name promises, instead of - just the language subtag (#70). - - Locale info was not loaded if the name had uppercase letters - in some OSs (#80). - - The [..|..] syntax in ini dates didn't recognize 'digits'. -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.46 - -3.45 2020-06-10 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.45 - -3.44 2020-05-13 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.44 - -3.43 2020-04-28 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.43 - -3.42 2020-03-22 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.42 - -3.41 2020-02-27 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.41 - -3.40 2020-02-14 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.40 + - Wrong caption in Romanian for Index (#117). + - Missing lines in ngermanb.sty (#118). + * There is also some tentative code to improve pgfpicture with + RTL texts. +``` -3.39 2020-02-03 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.39 +### Previous changes -3.38 2020-01-15 -See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.38 -``` +See https://github.com/latex3/babel/blob/master/news-guides/news/ -Javier Bezos diff --git a/Master/texmf-dist/doc/latex/babel/babel.pdf b/Master/texmf-dist/doc/latex/babel/babel.pdf Binary files differindex f455a616471..89135c5cb23 100644 --- a/Master/texmf-dist/doc/latex/babel/babel.pdf +++ b/Master/texmf-dist/doc/latex/babel/babel.pdf diff --git a/Master/texmf-dist/source/latex/babel/babel.dtx b/Master/texmf-dist/source/latex/babel/babel.dtx index 093a61a6f1c..e91394c7bfb 100644 --- a/Master/texmf-dist/source/latex/babel/babel.dtx +++ b/Master/texmf-dist/source/latex/babel/babel.dtx @@ -31,7 +31,7 @@ % % \iffalse %<*filedriver> -\ProvidesFile{babel.dtx}[2021/02/22 v3.54 The Babel package] +\ProvidesFile{babel.dtx}[2021/03/03 v3.55 The Babel package] \documentclass{ltxdoc} \GetFileInfo{babel.dtx} \usepackage{fontspec} @@ -243,11 +243,11 @@ also some notes on its use with Plain \TeX. Part II describes the code, and usually it can be ignored. \item[\sffamily\color{messages}What if I’m interested only in the - latest changes?] Changes and new features with relation to version 3.8 - are highlighted with \New{X.XX}\hspace{-.5em}, and there are some - notes for the latest versions in - \href{https://github.com/latex3/babel/wiki}{the \babel{} wiki}. The - most recent features can be still unstable. +latest changes?] Changes and new features with relation to version 3.8 +are highlighted with \New{X.XX}\hspace{-.5em}, and there are some notes +for the latest versions in +\href{https://github.com/latex3/babel/tree/master/news-guides}{the +\babel{} repository}. The most recent features can be still unstable. \item[\sffamily\color{messages}Can I help?] Sure! If you are interested in the \TeX{} multilingual support, please join the @@ -3028,9 +3028,10 @@ to \textit{ύ}, so that the diaeresis is removed. This feature is activated with the first |\babelposthyphenation| or |\babelprehyphenation|. -See the \href{https://github.com/latex3/babel/wiki}{\babel\ wiki} for a -more detailed description and some examples. It also describes a few -additional replacement types (|string|, |penalty|). +See the +\href{https://github.com/latex3/babel/blob/master/news-guides/guides/non-standard-hyphenation-with-luatex.md}{\babel\ +site} for a more detailed description and some examples. It also +describes a few additional replacement types (|string|, |penalty|). Although the main purpose of this command is non-standard hyphenation, it may actually be used for other transformations (after hyphenation is @@ -4106,7 +4107,7 @@ but if you want to do it, here are a few guidelines. The following page provides a starting point for \texttt{ldf} files: \texttt{http://www.texnia.com/incubator.html}. See also -\texttt{https://github.com/latex3/babel/wiki/List-of-locale-templates}. +\texttt{https://github.com/latex3/babel/blob/master/news-guides/guides/list-of-locale-templates.md}. If you need further assistance and technical advice in the development of language styles, I am willing to help you. And of @@ -4848,8 +4849,8 @@ help from Bernd Raichle, for which I am grateful. % \section{Tools} % % \begin{macrocode} -%<<version=3.54>> -%<<date=2021/02/22>> +%<<version=3.55>> +%<<date=2021/03/03>> % \end{macrocode} % % \textbf{Do not use the following macros in \texttt{ldf} files. They @@ -14359,6 +14360,10 @@ end \fi \AtBeginDocument {\ifx\tikz@atbegin@node\@undefined\else + \ifx\AddToHook\@undefined\else % TODO. Still tentative. + \AddToHook{env/pgfpicture/begin}{\bbl@pictsetdir\@ne}% + \bbl@add\pgfinterruptpicture{\bbl@pictresetdir}% + \fi \let\bbl@OL@pgfpicture\pgfpicture \bbl@sreplace\pgfpicture{\pgfpicturetrue}% {\bbl@pictsetdir\z@\pgfpicturetrue}% diff --git a/Master/texmf-dist/source/latex/babel/babel.ins b/Master/texmf-dist/source/latex/babel/babel.ins index 73a8825c196..29d689b4b86 100644 --- a/Master/texmf-dist/source/latex/babel/babel.ins +++ b/Master/texmf-dist/source/latex/babel/babel.ins @@ -26,7 +26,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. %% -\def\filedate{2021/02/22} +\def\filedate{2021/03/03} \def\batchfile{babel.ins} \input docstrip.tex diff --git a/Master/texmf-dist/source/latex/babel/bbcompat.dtx b/Master/texmf-dist/source/latex/babel/bbcompat.dtx index bd6f5b7bfd8..91092197f2a 100644 --- a/Master/texmf-dist/source/latex/babel/bbcompat.dtx +++ b/Master/texmf-dist/source/latex/babel/bbcompat.dtx @@ -30,7 +30,7 @@ % % \iffalse %<*dtx> -\ProvidesFile{bbcompat.dtx}[2021/02/22 v3.54] +\ProvidesFile{bbcompat.dtx}[2021/03/03 v3.55] %</dtx> % %% File 'bbcompat.dtx' @@ -190,12 +190,11 @@ %<+galician>\def\CurrentOption{galician} %<+galician>\input galician.ldf\relax %<+austrian>\def\CurrentOption{austrian} -%<+german>\def\CurrentOption{german} %<+germanb>\def\CurrentOption{german} -%<+austrian|german|germanb>\input germanb.ldf\relax +%<+austrian|germanb>\input germanb.ldf\relax %<+naustrian>\def\CurrentOption{naustrian} -%<+ngerman>\def\CurrentOption{ngerman} -%<+naustrian|ngerman>\input ngermanb.ldf\relax +%<+ngermanb>\def\CurrentOption{ngerman} +%<+naustrian|ngermanb>\input ngermanb.ldf\relax %<+greek>\def\CurrentOption{greek} %<+greek>\input greek.ldf\relax %<+icelandic>\def\CurrentOption{icelandic} diff --git a/Master/texmf-dist/source/latex/babel/locale.zip b/Master/texmf-dist/source/latex/babel/locale.zip Binary files differindex 6524dc27fcf..34b8e0b0e11 100644 --- a/Master/texmf-dist/source/latex/babel/locale.zip +++ b/Master/texmf-dist/source/latex/babel/locale.zip diff --git a/Master/texmf-dist/tex/generic/babel/babel.def b/Master/texmf-dist/tex/generic/babel/babel.def index 5242215ff52..60c7c172e36 100644 --- a/Master/texmf-dist/tex/generic/babel/babel.def +++ b/Master/texmf-dist/tex/generic/babel/babel.def @@ -39,7 +39,7 @@ \wlog{File: #1 #4 #3 <#2>}% \let\ProvidesFile\@undefined} \fi -\ProvidesFile{babel.def}[2021/02/22 3.54 Babel common definitions] +\ProvidesFile{babel.def}[2021/03/03 3.55 Babel common definitions] \ifx\AtBeginDocument\@undefined % TODO. change test. % == Code for plain == \def\@empty{} @@ -397,8 +397,8 @@ \fi \countdef\last@language=19 % TODO. why? remove? \def\addlanguage{\csname newlanguage\endcsname} -\def\bbl@version{3.54} -\def\bbl@date{2021/02/22} +\def\bbl@version{3.55} +\def\bbl@date{2021/03/03} \def\adddialect#1#2{% \global\chardef#1#2\relax \bbl@usehooks{adddialect}{{#1}{#2}}% diff --git a/Master/texmf-dist/tex/generic/babel/babel.sty b/Master/texmf-dist/tex/generic/babel/babel.sty index b7dc33eea74..f0c953c9951 100644 --- a/Master/texmf-dist/tex/generic/babel/babel.sty +++ b/Master/texmf-dist/tex/generic/babel/babel.sty @@ -33,7 +33,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] -\ProvidesPackage{babel}[2021/02/22 3.54 The Babel package] +\ProvidesPackage{babel}[2021/03/03 3.55 The Babel package] \@ifpackagewith{babel}{debug} {\providecommand\bbl@trace[1]{\message{^^J[ #1 ]}}% \let\bbl@debug\@firstofone diff --git a/Master/texmf-dist/tex/generic/babel/hyphen.cfg b/Master/texmf-dist/tex/generic/babel/hyphen.cfg index 9ad1aa862e9..2c8ef5ce321 100644 --- a/Master/texmf-dist/tex/generic/babel/hyphen.cfg +++ b/Master/texmf-dist/tex/generic/babel/hyphen.cfg @@ -37,10 +37,10 @@ \wlog{File: #1 #4 #3 <#2>}% \let\ProvidesFile\@undefined} \fi -\ProvidesFile{hyphen.cfg}[2021/02/22 3.54 Babel hyphens] +\ProvidesFile{hyphen.cfg}[2021/03/03 3.55 Babel hyphens] \xdef\bbl@format{\jobname} -\def\bbl@version{3.54} -\def\bbl@date{2021/02/22} +\def\bbl@version{3.55} +\def\bbl@date{2021/03/03} \ifx\AtBeginDocument\@undefined \def\@empty{} \let\orig@dump\dump diff --git a/Master/texmf-dist/tex/generic/babel/locale/ro/babel-ro.ini b/Master/texmf-dist/tex/generic/babel/locale/ro/babel-ro.ini index 0215ffc5288..31970c24c45 100644 --- a/Master/texmf-dist/tex/generic/babel/locale/ro/babel-ro.ini +++ b/Master/texmf-dist/tex/generic/babel/locale/ro/babel-ro.ini @@ -11,8 +11,8 @@ [identification] charset = utf8 -version = 1.2 -date = 2020-06-30 +version = 1.3 +date = 2021-02-25 name.local = română name.english = Romanian name.babel = romanian @@ -38,7 +38,7 @@ appendix = Anexa contents = Cuprins listfigure = Listă de figuri listtable = Listă de tabele -index = Glosar +index = Index figure = Figura table = Tabela part = Partea @@ -61,7 +61,7 @@ appendix = Anexa contents = Cuprins listfigure = List\u a de figuri listtable = List\u a de tabele -index = Glosar +index = Index figure = Figura table = Tabela part = Partea 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 57d164f7903..104cf00c468 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 @@ -8,11 +8,12 @@ ; * Common Locale Data Repository (license Unicode): ; http://cldr.unicode.org/ ; http://unicode.org/copyright.html +; * Captions by Osman Tursun (https://github.com/neouyghur) [identification] charset = utf8 -version = 1.4 -date = 2020-10-11 +version = 1.5 +date = 2021-02-26 name.local = ئۇيغۇرچە name.english = Uyghur name.babel = uyghur @@ -28,50 +29,27 @@ encodings = derivate = no [captions] -preface = -ref = -abstract = -bib = -chapter = -appendix = -contents = -listfigure = -listtable = -index = -figure = -table = -part = -encl = -cc = -headto = -page = -see = -also = -proof = -glossary = - -[captions.licr] -preface = -ref = -abstract = -bib = -chapter = -appendix = -contents = -listfigure = -listtable = -index = -figure = -table = -part = -encl = -cc = -headto = -page = -see = -also = -proof = -glossary = +preface = كىرىش سۆز +ref = پايدىلانما +abstract = ئابستراكت +bib = پايدىلانما +chapter = باب +appendix = قوشۇمچە +contents = مۇندەرىجە +listfigure = رەسىملەر +listtable = جەدۋەللەر +index = ئىندېكىس +figure = رەسىم +table = جەدۋەل +part = قىسىم +encl = قوشۇمچە ھۆججەت +cc = باشقا تاپشۇرۇۋالغۇچى +headto = تاپشۇرۇۋالغۇچى +page = بەت +see = قاراڭ +also = ئايرىم قاراڭ +proof = ئىسپات +glossary = لۇغەت [date.gregorian] date.long = [d]-[MMMM]، [y] diff --git a/Master/texmf-dist/tex/generic/babel/luababel.def b/Master/texmf-dist/tex/generic/babel/luababel.def index fb2459868e8..a032fbe7631 100644 --- a/Master/texmf-dist/tex/generic/babel/luababel.def +++ b/Master/texmf-dist/tex/generic/babel/luababel.def @@ -1481,6 +1481,10 @@ end \fi \AtBeginDocument {\ifx\tikz@atbegin@node\@undefined\else + \ifx\AddToHook\@undefined\else % TODO. Still tentative. + \AddToHook{env/pgfpicture/begin}{\bbl@pictsetdir\@ne}% + \bbl@add\pgfinterruptpicture{\bbl@pictresetdir}% + \fi \let\bbl@OL@pgfpicture\pgfpicture \bbl@sreplace\pgfpicture{\pgfpicturetrue}% {\bbl@pictsetdir\z@\pgfpicturetrue}% diff --git a/Master/texmf-dist/tex/generic/babel/ngermanb.sty b/Master/texmf-dist/tex/generic/babel/ngermanb.sty index 566b3a2aa6b..455ee3e1e4c 100644 --- a/Master/texmf-dist/tex/generic/babel/ngermanb.sty +++ b/Master/texmf-dist/tex/generic/babel/ngermanb.sty @@ -42,6 +42,8 @@ \bblstyerror \fi \fi +\def\CurrentOption{ngerman} +\input ngermanb.ldf\relax %% %% \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 diff --git a/Master/texmf-dist/tex/generic/babel/nil.ldf b/Master/texmf-dist/tex/generic/babel/nil.ldf index 68e9eaad3c4..d7733c017a6 100644 --- a/Master/texmf-dist/tex/generic/babel/nil.ldf +++ b/Master/texmf-dist/tex/generic/babel/nil.ldf @@ -32,7 +32,7 @@ %% extension |.ins|) which are part of the distribution. %% -\ProvidesLanguage{nil}[2021/02/22 3.54 Nil language] +\ProvidesLanguage{nil}[2021/03/03 3.55 Nil language] \LdfInit{nil}{datenil} \ifx\l@nil\@undefined \newlanguage\l@nil |