From 21fe0e070af2427bda486f49569e1a5cb3df486d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 21 Apr 2022 03:01:37 +0000 Subject: CTAN sync 202204210301 --- macros/unicodetex/latex/polyglossia/README.md | 2 +- .../unicodetex/latex/polyglossia/polyglossia.dtx | 37 +++++++++++++-------- .../unicodetex/latex/polyglossia/polyglossia.pdf | Bin 351644 -> 351613 bytes 3 files changed, 24 insertions(+), 15 deletions(-) (limited to 'macros/unicodetex/latex/polyglossia') diff --git a/macros/unicodetex/latex/polyglossia/README.md b/macros/unicodetex/latex/polyglossia/README.md index dbf1c5189d..28f8d5209d 100644 --- a/macros/unicodetex/latex/polyglossia/README.md +++ b/macros/unicodetex/latex/polyglossia/README.md @@ -1,4 +1,4 @@ -# THE POLYGLOSSIA PACKAGE v1.55a +# THE POLYGLOSSIA PACKAGE v1.56 ## Multilingual typesetting with XeLaTeX and LuaLaTeX This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX. diff --git a/macros/unicodetex/latex/polyglossia/polyglossia.dtx b/macros/unicodetex/latex/polyglossia/polyglossia.dtx index 5c72d9843f..8b53cdf70b 100644 --- a/macros/unicodetex/latex/polyglossia/polyglossia.dtx +++ b/macros/unicodetex/latex/polyglossia/polyglossia.dtx @@ -8,7 +8,7 @@ \iffalse % %<*README> -# THE POLYGLOSSIA PACKAGE v1.55a +# THE POLYGLOSSIA PACKAGE v1.56 ## Multilingual typesetting with XeLaTeX and LuaLaTeX This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX. @@ -2807,6 +2807,14 @@ to track the issues and follow progress. % \section{Revision history} % % \bgroup\footnotesize +% \subsection*{1.56 (20-04-2022)} +% +% \subsubsection*{Bug fixes} +% \begin{itemize} +% \item Fix English setup via aliases (\TXI{539}). +% \end{itemize} +% +% % \subsection*{1.55a (10-04-2022)} % % \subsubsection*{Bug fixes} @@ -3693,7 +3701,7 @@ to track the issues and follow progress. % \subsection{polyglossia.sty} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{polyglossia}[2022/04/10 v1.55a +\ProvidesPackage{polyglossia}[2022/04/20 v1.56 Modern multilingual typesetting with XeLaTeX and LuaLaTeX] \RequirePackage{etoolbox} \RequirePackage{makecmds} @@ -4804,7 +4812,7 @@ to track the issues and follow progress. %we call this macro when a gloss file is not found for a given language \def\xpg@nogloss#1{% - \xpg@warning{File~ gloss-#1.ldf~ does~ not~ exist!\MessageBreak + \xpg@warning{Neither~ file~ gloss-#1.ldf~ nor file~ gloss-#1.lde~ exists!\MessageBreak I~ will~ nevertheless~ try~ to~ use~ hyphenation~ patterns~ for~ #1.}% \PolyglossiaSetup{#1}{hyphenmins={2,3},hyphennames={#1},fontsetup=true}% % the above amounts to: @@ -13290,23 +13298,24 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages hyphenmins={2,3}, langtag=ENG, fontsetup=true, + babelname=english } % BCP-47 compliant aliases -\setlanguagealias*[bcp47=en]{english}{en} -\setlanguagealias*[variant=australian,babelname=autralian,bcp47=en-AU]{en}{en-AU} -\setlanguagealias*[variant=canadian,babelname=canadian,bcp47=en-CA]{en}{en-CA} -\setlanguagealias*[variant=british,babelname=british,bcp47=en-NZ]{en}{en-GB} -\setlanguagealias*[variant=newzealand,babelname=newzealand,bcp47=en-NZ]{en}{en-NZ} -\setlanguagealias*[variant=us,babelname=american,bcp47=en-US]{en}{en-US} +\setlanguagealias*{english}{en} +\setlanguagealias*[variant=australian]{english}{en-AU} +\setlanguagealias*[variant=canadian]{english}{en-CA} +\setlanguagealias*[variant=british]{english}{en-GB} +\setlanguagealias*[variant=newzealand]{english}{en-NZ} +\setlanguagealias*[variant=us]{english}{en-US} % Babel aliases -\setlanguagealias[variant=us]{en-US}{american} -\setlanguagealias[variant=australian]{en-AU}{australian} -\setlanguagealias[variant=british]{en-GB}{british} -\setlanguagealias[variant=canadian]{en-CA}{canadian} -\setlanguagealias[variant=newzealand]{en-NZ}{newzealand} +\setlanguagealias[variant=us]{english}{american} +\setlanguagealias[variant=australian]{english}{australian} +\setlanguagealias[variant=british]{english}{british} +\setlanguagealias[variant=canadian]{english}{canadian} +\setlanguagealias[variant=newzealand]{english}{newzealand} \providebool{british@hyphen} \providebool{english@ordinalmonthday} diff --git a/macros/unicodetex/latex/polyglossia/polyglossia.pdf b/macros/unicodetex/latex/polyglossia/polyglossia.pdf index 320e4aa224..9da4544c2b 100644 Binary files a/macros/unicodetex/latex/polyglossia/polyglossia.pdf and b/macros/unicodetex/latex/polyglossia/polyglossia.pdf differ -- cgit v1.2.3