From e068841d2fc2976d094b382e4dd5e4d6df455506 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 7 Feb 2021 03:00:48 +0000 Subject: CTAN sync 202102070300 --- .../latex/contrib/babel-contrib/swedish/README.md | 16 +++++++++ .../contrib/babel-contrib/swedish/swedish.dtx | 38 ++++++++++++--------- .../contrib/babel-contrib/swedish/swedish.pdf | Bin 130054 -> 138372 bytes 3 files changed, 37 insertions(+), 17 deletions(-) create mode 100644 macros/latex/contrib/babel-contrib/swedish/README.md (limited to 'macros/latex/contrib/babel-contrib/swedish') diff --git a/macros/latex/contrib/babel-contrib/swedish/README.md b/macros/latex/contrib/babel-contrib/swedish/README.md new file mode 100644 index 0000000000..484610b119 --- /dev/null +++ b/macros/latex/contrib/babel-contrib/swedish/README.md @@ -0,0 +1,16 @@ +# babel-danish – Babel contributed support for Danish + +Version: 2021-02-06 v2.3e + +This is the babel style for Finnish. + +**This package is NOT being actively maintained, but bugs might +got fixed if you report them. If you want to take over maintenance +of this language style, please contact me at +http://www.texnia.com/contact.html .** + +## Copyright (C) +* 1989–2005 Johannes Braams, Sten Hellman + +## License +LATEX Project Public License, version 1.3 or later. diff --git a/macros/latex/contrib/babel-contrib/swedish/swedish.dtx b/macros/latex/contrib/babel-contrib/swedish/swedish.dtx index 6beb68787b..67b6b049d4 100644 --- a/macros/latex/contrib/babel-contrib/swedish/swedish.dtx +++ b/macros/latex/contrib/babel-contrib/swedish/swedish.dtx @@ -2,10 +2,10 @@ % % Copyright 1989-2005 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{272} % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the % transcript. @@ -36,7 +35,7 @@ %\ProvidesLanguage{swedish} %\fi %\ProvidesFile{swedish.dtx} - [2005/03/31 v2.3d Swedish support from the babel system] + [2021/02/06 v2.3e Swedish support from the babel system] %\iffalse %% File `swedish.dtx' %% Babel package for LaTeX version 2e @@ -50,7 +49,7 @@ % code for the Swedish language definition file. A contribution % was made by Sten Hellman HELLMAN@CERNVM.CERN.CH % -% Further enhancements for version 2.0 were provided by +% Further enhancements for version 2.0 were provided by % Erik "Osthols %<*filedriver> \documentclass{ltxdoc} @@ -105,7 +104,7 @@ % should be hyphenated as \texttt{straff-f{\aa}nge}. % This is also implemented for b, d, f, g, l, m, n, % p, r, s, and t. \\ -% \verb="|= & disable ligature at this position. This should be +% \verb="|= & disable ligature at this position. This should be % used for compound words, such as % ``\texttt{stra|"|ffinr\"attning}'', % which should not have the ligature ``ffi''. \\ @@ -141,7 +140,7 @@ % loaded more than once, checking the category code of the % \texttt{@} sign, etc. % \changes{swedish-2.1}{1996/11/03}{Now use \cs{LdfInit} to perform -% initial checks} +% initial checks} % \begin{macrocode} %<*code> \LdfInit{swedish}\captionsswedish @@ -215,7 +214,7 @@ \def\alsoname{se \"aven}% % \end{macrocode} % \changes{swedish-1.3g}{1995/11/03}{Replaced `Proof' by its -% translation} +% translation} % \changes{swedish-2.3b}{2000/09/26}{Added \cs{glossaryname}} % \changes{swedish-2.3c}{2001/03/12}{Provided translation for % Glossary} @@ -296,7 +295,7 @@ % For Swedish the \texttt{"} character is made active. This is done % once, later on its definition may vary. % \changes{swedish-2.0}{1996/01/24}{Added active double quote -% character} +% character} % % \begin{macrocode} \initiate@active@char{"} @@ -386,12 +385,17 @@ % \texttt{"\protect\indexeqs}, \cs{-} and \texttt{"~}} % \begin{macrocode} \declare@shorthand{swedish}{"-}{\nobreak-\bbl@allowhyphens} +% \end{macrocode} +% \changes{swedish-2.3e}{2021/02/06}{Adapted some shorthands to changes in hyperref} +% To avoid problems in bookmarks some shorthands should be hyperref aware. +% \begin{macrocode} +\providecommand\texorpdfstring[2]{#1} \declare@shorthand{swedish}{"|}{% - \textormath{\nobreak\discretionary{-}{}{\kern.03em}% - \bbl@allowhyphens}{}} -\declare@shorthand{swedish}{""}{\hskip\z@skip} + \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}% + \bbl@allowhyphens}{}}{}} \declare@shorthand{swedish}{"~}{% - \textormath{\leavevmode\hbox{-}\bbl@allowhyphens}{-}} + \texorpdfstring{\textormath{\leavevmode\hbox{-}\bbl@allowhyphens}{-}}{-}} +\declare@shorthand{swedish}{""}{\hskip\z@skip} \declare@shorthand{swedish}{"=}{\hbox{-}\allowhyphens} % \end{macrocode} % diff --git a/macros/latex/contrib/babel-contrib/swedish/swedish.pdf b/macros/latex/contrib/babel-contrib/swedish/swedish.pdf index ef105bc33b..acdbe438ec 100644 Binary files a/macros/latex/contrib/babel-contrib/swedish/swedish.pdf and b/macros/latex/contrib/babel-contrib/swedish/swedish.pdf differ -- cgit v1.2.3