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 --- .../source/generic/babel-sorbian/lsorbian.dtx | 20 ++++++------ .../source/generic/babel-sorbian/usorbian.dtx | 37 ++++++++++++---------- 2 files changed, 31 insertions(+), 26 deletions(-) (limited to 'Master/texmf-dist/source') 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} -- cgit v1.2.3