summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-06 22:32:17 +0000
committerKarl Berry <karl@freefriends.org>2021-02-06 22:32:17 +0000
commit39378a05890e8acd64706acf9e74410d82bf96a1 (patch)
treef64e028975a18b933bbef05040389f280f10695b
parent8d4bbf8fe35ffb78e4883f175e2e27faeb05f00a (diff)
babel-swedish (6feb21)
git-svn-id: svn://tug.org/texlive/trunk@57647 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/babel-swedish/README.md16
-rw-r--r--Master/texmf-dist/doc/generic/babel-swedish/swedish.pdfbin130054 -> 138372 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-swedish/swedish.dtx38
-rw-r--r--Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf11
4 files changed, 43 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-swedish/README.md b/Master/texmf-dist/doc/generic/babel-swedish/README.md
new file mode 100644
index 00000000000..484610b1190
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-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/Master/texmf-dist/doc/generic/babel-swedish/swedish.pdf b/Master/texmf-dist/doc/generic/babel-swedish/swedish.pdf
index ef105bc33b0..acdbe438ec2 100644
--- a/Master/texmf-dist/doc/generic/babel-swedish/swedish.pdf
+++ b/Master/texmf-dist/doc/generic/babel-swedish/swedish.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx b/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx
index 6beb68787b5..67b6b049d43 100644
--- a/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx
+++ b/Master/texmf-dist/source/generic/babel-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 @@
%<code>\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 <erik\_osthols@yahoo.com>
%<*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/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf b/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf
index a0446c49a40..74bd154f741 100644
--- a/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf
+++ b/Master/texmf-dist/tex/generic/babel-swedish/swedish.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{swedish}
- [2005/03/31 v2.3d Swedish support from the babel system]
+ [2021/02/06 v2.3e Swedish support from the babel system]
%% File `swedish.dtx'
%% Babel package for LaTeX version 2e
%% Copyright (C) 1989 - 2005
@@ -127,12 +127,13 @@
\declare@shorthand{swedish}{"t}{\textormath{\bbl@disc t{tt}}{t}}
\declare@shorthand{swedish}{"T}{\textormath{\bbl@disc T{TT}}{T}}
\declare@shorthand{swedish}{"-}{\nobreak-\bbl@allowhyphens}
+\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}
\addto\extrasswedish{\babel@save\-}
\addto\extrasswedish{\def\-{\allowhyphens