From 8d4bbf8fe35ffb78e4883f175e2e27faeb05f00a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 6 Feb 2021 22:32:03 +0000 Subject: babel-sorbian (6feb21) git-svn-id: svn://tug.org/texlive/trunk@57646 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/generic/babel-sorbian/README.md | 16 +++++++++ .../doc/generic/babel-sorbian/lsorbian.pdf | Bin 124566 -> 131086 bytes .../doc/generic/babel-sorbian/usorbian.pdf | Bin 132650 -> 140300 bytes .../source/generic/babel-sorbian/lsorbian.dtx | 20 +++++------ .../source/generic/babel-sorbian/usorbian.dtx | 37 ++++++++++++--------- .../tex/generic/babel-sorbian/lsorbian.ldf | 2 +- .../tex/generic/babel-sorbian/usorbian.ldf | 9 ++--- 7 files changed, 53 insertions(+), 31 deletions(-) create mode 100644 Master/texmf-dist/doc/generic/babel-sorbian/README.md (limited to 'Master') diff --git a/Master/texmf-dist/doc/generic/babel-sorbian/README.md b/Master/texmf-dist/doc/generic/babel-sorbian/README.md new file mode 100644 index 00000000000..dd9cd0ea1d0 --- /dev/null +++ b/Master/texmf-dist/doc/generic/babel-sorbian/README.md @@ -0,0 +1,16 @@ +# babel-sorbian – Babel support for Upper and Lower Sorbian + +Version: 2021-02-06 v1.0i + +The package provides language definitions file for support of +both Upper and Lower Sorbian, in babel. +Some shortcuts are defined, as well as translations to the relevant +language of standard “LaTeX names”. + +## Copyright (C) +* 1994–2008 Eduard Werner and Johannes Braams + +## License +LATEX Project Public License, version 1.3 or later. + + diff --git a/Master/texmf-dist/doc/generic/babel-sorbian/lsorbian.pdf b/Master/texmf-dist/doc/generic/babel-sorbian/lsorbian.pdf index c02cb8ee80b..dec82bce1e1 100644 Binary files a/Master/texmf-dist/doc/generic/babel-sorbian/lsorbian.pdf and b/Master/texmf-dist/doc/generic/babel-sorbian/lsorbian.pdf differ diff --git a/Master/texmf-dist/doc/generic/babel-sorbian/usorbian.pdf b/Master/texmf-dist/doc/generic/babel-sorbian/usorbian.pdf index d4848e69e5d..edba5ff080f 100644 Binary files a/Master/texmf-dist/doc/generic/babel-sorbian/usorbian.pdf and b/Master/texmf-dist/doc/generic/babel-sorbian/usorbian.pdf differ diff --git a/Master/texmf-dist/source/generic/babel-sorbian/lsorbian.dtx b/Master/texmf-dist/source/generic/babel-sorbian/lsorbian.dtx index f5adbe47631..24ac4b7854c 100644 --- a/Master/texmf-dist/source/generic/babel-sorbian/lsorbian.dtx +++ b/Master/texmf-dist/source/generic/babel-sorbian/lsorbian.dtx @@ -2,10 +2,10 @@ % % Copyright 1989-2008 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. @@ -13,15 +13,15 @@ % 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 Johannes Braams. -% +% % 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. @@ -37,7 +37,7 @@ %\ProvidesLanguage{lsorbian} %\fi %\ProvidesFile{lsorbian.dtx} - [2008/03/17 v1.0g Lower Sorbian support from the babel system] + [2021/02/06 v1.0i Lower Sorbian support from the babel system] %\iffalse %% File `lsorbian.dtx' %% Babel package for LaTeX version 2e @@ -171,7 +171,7 @@ % \changes{lsorbian-1.0e}{1997/10/01}{Use \cs{edef} to define % \cs{today} to save memory} % \changes{lsorbian-1.0e}{1998/03/28}{use \cs{def} instead of -% \cs{edef}} +% \cs{edef}} % \changes{lsorbian-1.0g}{2007/10/19}{Make this work for more than one % option name.} % \begin{macrocode} @@ -202,7 +202,7 @@ \v znje\'nca\or po\v znje\'nca\or winowca\or - nazymnika\or + nazymnika\or godownika\fi \space \number\year}} % \end{macrocode} % \end{macro} @@ -236,7 +236,7 @@ % at |\begin{document}| and resetting the category code of % \texttt{@} to its original value. % \changes{lsorbian-1.0d}{1996/11/03}{Now use \cs{ldf@finish} to wrap -% up} +% up} % \changes{lsorbian-1.0g}{2007/10/19}{Make this work for more than one % option name} % \begin{macrocode} diff --git a/Master/texmf-dist/source/generic/babel-sorbian/usorbian.dtx b/Master/texmf-dist/source/generic/babel-sorbian/usorbian.dtx index 7c02a293cd8..2349133b571 100644 --- a/Master/texmf-dist/source/generic/babel-sorbian/usorbian.dtx +++ b/Master/texmf-dist/source/generic/babel-sorbian/usorbian.dtx @@ -2,10 +2,10 @@ % % Copyright 1989-2008 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. @@ -13,20 +13,19 @@ % 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 Johannes Braams. -% +% % 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{344} % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the % transcript. @@ -36,7 +35,7 @@ %\ProvidesLanguage{usorbian} %\fi %\ProvidesFile{usorbian.dtx} - [2008/03/17 v1.0k Upper Sorbian support from the babel system] + [2021/02/06 v1.0i Upper Sorbian support from the babel system] %\iffalse %% File `usorbian.dtx' %% Babel package for LaTeX version 2e @@ -98,7 +97,7 @@ % loaded more than once, checking the category code of the % \texttt{@} sign, etc. % \changes{usorbian-1.0e}{1996/11/03}{Now use \cs{LdfInit} to perform -% initial checks} +% initial checks} % \changes{usorbian-1.0j}{2007/10/19}{This file can be loaded under % more than one name.} % \begin{macrocode} @@ -109,7 +108,7 @@ % When this file is read as an option, i.e. by the |\usepackage| % command, \texttt{usorbian} will be an `unknown' language, in which % case we have to make it known. So we check for the existence of -% |\l@usorbian| to see whether we have to do something here. +% |\l@usorbian| to see whether we have to do something here. % \changes{usorbian-1.0j}{2007/10/19}{Check for the option % lowersorbian} % As @@ -236,8 +235,9 @@ % Don't forget to turn the shorthands off again. % \changes{usorbian-1.0h}{1999/12/17}{Deactivate shorthands ouside of % Upper Sorbian} +% \changes{usorbian-1.0i}{2021/02/06}{correct deactivation command} % \begin{macrocode} -\expandafter\addto\csname extras\CurrentOption\endcsname{% +\expandafter\addto\csname noextras\CurrentOption\endcsname{% \bbl@deactivate{"}} % \end{macrocode} % @@ -247,7 +247,7 @@ % language definitions turn the character |^| into a shorthand we % need to make sure that it has it's orginial definition here. % \changes{usorbian-1.0k}{2008/03/17}{Make sure the caret has the -% right \cs{catcdoe}} +% right \cs{catcdoe}} % \begin{macrocode} \begingroup \catcode`\^7 \def\x{\endgroup @@ -344,9 +344,14 @@ % and some additional commands: % \begin{macrocode} \declare@shorthand{usorbian}{"-}{\nobreak\-\bbl@allowhyphens} +% \end{macrocode} +% \changes{usorbian-1.0i}{2021/02/06}{Adapted some shorthands to changes in hyperref} +% To avoid problems in bookmarks the shorthands should be hyperref aware. +% \begin{macrocode} +\providecommand\texorpdfstring[2]{#1} \declare@shorthand{usorbian}{"|}{% - \textormath{\nobreak\discretionary{-}{}{\kern.03em}% - \allowhyphens}{}} + \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}% + \allowhyphens}{}}{}} \declare@shorthand{usorbian}{""}{\hskip\z@skip} % \end{macrocode} % @@ -356,7 +361,7 @@ % All that's left to do now is to define a couple of commands % for reasons of compatibility with \file{german.sty}. % \changes{usorbian-1.0g}{1998/06/07}{Now use \cs{shorthandon} and -% \cs{shorthandoff}} +% \cs{shorthandoff}} % \begin{macrocode} \def\mdqon{\shorthandon{"}} \def\mdqoff{\shorthandoff{"}} @@ -371,7 +376,7 @@ % at |\begin{document}| and resetting the category code of % \texttt{@} to its original value. % \changes{usorbian-1.0e}{1996/11/03}{Now use \cs{ldf@finish} to wrap -% up} +% up} % \changes{usorbian-1.0j}{2007/10/19}{Make this work for more than one % option name} % \begin{macrocode} diff --git a/Master/texmf-dist/tex/generic/babel-sorbian/lsorbian.ldf b/Master/texmf-dist/tex/generic/babel-sorbian/lsorbian.ldf index ee5c589c14c..31f8419b173 100644 --- a/Master/texmf-dist/tex/generic/babel-sorbian/lsorbian.ldf +++ b/Master/texmf-dist/tex/generic/babel-sorbian/lsorbian.ldf @@ -37,7 +37,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{lsorbian} - [2008/03/17 v1.0g Lower Sorbian support from the babel system] + [2021/02/06 v1.0i Lower Sorbian support from the babel system] %% File `lsorbian.dtx' %% Babel package for LaTeX version 2e %% Copyright (C) 1989 - 2008 diff --git a/Master/texmf-dist/tex/generic/babel-sorbian/usorbian.ldf b/Master/texmf-dist/tex/generic/babel-sorbian/usorbian.ldf index d1a5de345a6..c50c189a878 100644 --- a/Master/texmf-dist/tex/generic/babel-sorbian/usorbian.ldf +++ b/Master/texmf-dist/tex/generic/babel-sorbian/usorbian.ldf @@ -37,7 +37,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{usorbian} - [2008/03/17 v1.0k Upper Sorbian support from the babel system] + [2021/02/06 v1.0i Upper Sorbian support from the babel system] %% File `usorbian.dtx' %% Babel package for LaTeX version 2e %% Copyright (C) 1989 - 2008 @@ -100,7 +100,7 @@ \@namedef{extras\CurrentOption}{\languageshorthands{usorbian}} \expandafter\addto\csname extras\CurrentOption\endcsname{% \bbl@activate{"}} -\expandafter\addto\csname extras\CurrentOption\endcsname{% +\expandafter\addto\csname noextras\CurrentOption\endcsname{% \bbl@deactivate{"}} \begingroup \catcode`\^7 \def\x{\endgroup @@ -153,9 +153,10 @@ \declare@shorthand{usorbian}{"t}{\textormath{\bbl@disc t{tt}}{t}} \declare@shorthand{usorbian}{"T}{\textormath{\bbl@disc T{TT}}{T}} \declare@shorthand{usorbian}{"-}{\nobreak\-\bbl@allowhyphens} +\providecommand\texorpdfstring[2]{#1} \declare@shorthand{usorbian}{"|}{% - \textormath{\nobreak\discretionary{-}{}{\kern.03em}% - \allowhyphens}{}} + \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}% + \allowhyphens}{}}{}} \declare@shorthand{usorbian}{""}{\hskip\z@skip} \def\mdqon{\shorthandon{"}} \def\mdqoff{\shorthandoff{"}} -- cgit v1.2.3