texlive[57647] Master/texmf-dist: babel-swedish (6feb21)

commits+karl at tug.org commits+karl at tug.org
Sat Feb 6 23:32:17 CET 2021


Revision: 57647
          http://tug.org/svn/texlive?view=revision&revision=57647
Author:   karl
Date:     2021-02-06 23:32:17 +0100 (Sat, 06 Feb 2021)
Log Message:
-----------
babel-swedish (6feb21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/babel-swedish/swedish.pdf
    trunk/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx
    trunk/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/babel-swedish/README.md

Added: trunk/Master/texmf-dist/doc/generic/babel-swedish/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-swedish/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/babel-swedish/README.md	2021-02-06 22:32:17 UTC (rev 57647)
@@ -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.


Property changes on: trunk/Master/texmf-dist/doc/generic/babel-swedish/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/generic/babel-swedish/swedish.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx	2021-02-06 22:32:03 UTC (rev 57646)
+++ trunk/Master/texmf-dist/source/generic/babel-swedish/swedish.dtx	2021-02-06 22:32:17 UTC (rev 57647)
@@ -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 at 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 at 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 at active@char{"}
@@ -386,12 +385,17 @@
 %    \texttt{"\protect\indexeqs}, \cs{-} and \texttt{"~}}
 %    \begin{macrocode}
 \declare at shorthand{swedish}{"-}{\nobreak-\bbl at 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 at shorthand{swedish}{"|}{%
-  \textormath{\nobreak\discretionary{-}{}{\kern.03em}%
-              \bbl at allowhyphens}{}}
+  \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}%
+              \bbl at allowhyphens}{}}{}}
+\declare at shorthand{swedish}{"~}{%
+  \texorpdfstring{\textormath{\leavevmode\hbox{-}\bbl at allowhyphens}{-}}{-}}
 \declare at shorthand{swedish}{""}{\hskip\z at skip}
-\declare at shorthand{swedish}{"~}{%
-  \textormath{\leavevmode\hbox{-}\bbl at allowhyphens}{-}}
 \declare at shorthand{swedish}{"=}{\hbox{-}\allowhyphens}
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf	2021-02-06 22:32:03 UTC (rev 57646)
+++ trunk/Master/texmf-dist/tex/generic/babel-swedish/swedish.ldf	2021-02-06 22:32:17 UTC (rev 57647)
@@ -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 at shorthand{swedish}{"t}{\textormath{\bbl at disc t{tt}}{t}}
 \declare at shorthand{swedish}{"T}{\textormath{\bbl at disc T{TT}}{T}}
 \declare at shorthand{swedish}{"-}{\nobreak-\bbl at allowhyphens}
+\providecommand\texorpdfstring[2]{#1}
 \declare at shorthand{swedish}{"|}{%
-  \textormath{\nobreak\discretionary{-}{}{\kern.03em}%
-              \bbl at allowhyphens}{}}
+  \texorpdfstring{\textormath{\nobreak\discretionary{-}{}{\kern.03em}%
+              \bbl at allowhyphens}{}}{}}
+\declare at shorthand{swedish}{"~}{%
+  \texorpdfstring{\textormath{\leavevmode\hbox{-}\bbl at allowhyphens}{-}}{-}}
 \declare at shorthand{swedish}{""}{\hskip\z at skip}
-\declare at shorthand{swedish}{"~}{%
-  \textormath{\leavevmode\hbox{-}\bbl at allowhyphens}{-}}
 \declare at shorthand{swedish}{"=}{\hbox{-}\allowhyphens}
 \addto\extrasswedish{\babel at save\-}
 \addto\extrasswedish{\def\-{\allowhyphens



More information about the tex-live-commits mailing list.