summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel-slovenian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-06 22:31:40 +0000
committerKarl Berry <karl@freefriends.org>2021-02-06 22:31:40 +0000
commit77e78343dcc68b7958af9a9a23e6f6a4f9158bdd (patch)
tree1f3d728a71910c6d3982945cb8cfdda2073672c5 /Master/texmf-dist/source/generic/babel-slovenian
parent33a5ad681621956bf9a44ff946bc134b97f317b8 (diff)
babel-slovenian (6feb21)
git-svn-id: svn://tug.org/texlive/trunk@57645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-slovenian')
-rw-r--r--Master/texmf-dist/source/generic/babel-slovenian/slovene.dtx32
1 files changed, 17 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/generic/babel-slovenian/slovene.dtx b/Master/texmf-dist/source/generic/babel-slovenian/slovene.dtx
index 391f39e7f9d..bfa6edcc3cf 100644
--- a/Master/texmf-dist/source/generic/babel-slovenian/slovene.dtx
+++ b/Master/texmf-dist/source/generic/babel-slovenian/slovene.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{142}
% \iffalse
% Tell the \LaTeX\ system who we are and write an entry on the
% transcript.
@@ -36,7 +35,7 @@
%<code>\ProvidesLanguage{slovene}
%\fi
%\ProvidesFile{slovene.dtx}
- [2005/03/31 v1.2m Slovene support from the babel system]
+ [2021/02/04 v1.2n Slovene support from the babel system]
%\iffalse
%% File `slovene.dtx'
%% Babel package for LaTeX version 2e
@@ -78,7 +77,7 @@
% \changes{slovene-1.2d}{1994/06/26}{Removed the use of \cs{filedate}
% and moved identification after the loading of \file{babel.def}}
% \changes{slovene-1.2i}{1995/11/03}{Replaced `Slovanian' with correct
-% `Slovenian'}
+% `Slovenian'}
% \changes{slovene-1.2i}{1996/10/10}{Replaced \cs{undefined} with
% \cs{@undefined} and \cs{empty} with \cs{@empty} for consistency
% with \LaTeX, moved the definition of \cs{atcatcode} right to the
@@ -101,7 +100,7 @@
% \begin{table}[htb]
% \begin{center}
% \begin{tabular}{lp{8cm}}
-% |"c| & |\"c|, also implemented for the
+% |"c| & |\"c|, also implemented for the
% lowercase and uppercase s and z. \\
% |"-| & an explicit hyphen sign, allowing hyphenation
% in the rest of the word. \\
@@ -123,7 +122,7 @@
% loaded more than once, checking the category code of the
% \texttt{@} sign, etc.
% \changes{slovene-1.2i}{1996/11/03}{Now use \cs{LdfInit} to perform
-% initial checks}
+% initial checks}
% \begin{macrocode}
%<*code>
\LdfInit{slovene}\captionsslovene
@@ -209,7 +208,7 @@
% \begin{macro}{\noextrasslovene}
% The macro |\extrasslovene| performs all the extra definitions
% needed for the Slovenian language. The macro |\noextrasslovene|
-% is used to cancel the actions of |\extrasslovene|.
+% is used to cancel the actions of |\extrasslovene|.
%
% For Slovene the \texttt{"} character is made active. This is done
% once, later on its definition may vary. Other languages in the
@@ -232,7 +231,7 @@
% First we define shorthands to facilitate the occurence of letters
% such as \v{c}.
% \changes{slovene-1.2i}{1996/09/21}{removed shorthand for \texttt{"L}
-% as it is not needed for slovenian}
+% as it is not needed for slovenian}
% \begin{macrocode}
\declare@shorthand{slovene}{"c}{\textormath{\v c}{\check c}}
\declare@shorthand{slovene}{"s}{\textormath{\v s}{\check s}}
@@ -263,9 +262,12 @@
\declare@shorthand{slovene}{""}{\hskip\z@skip}
% \end{macrocode}
% And we want to have a shorthand for disabling a ligature.
+% \changes{slovene-1.2n}{2021/02/06}{Adapted this shorthand to changes in hyperref}
+% To avoid problems in bookmarks the shorthand should be hyperref aware.
% \begin{macrocode}
+\providecommand\texorpdfstring[2]{#1}
\declare@shorthand{slovene}{"|}{%
- \textormath{\discretionary{-}{}{\kern.03em}}{}}
+ \texorpdfstring{\textormath{\discretionary{-}{}{\kern.03em}}{}}{}}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -275,7 +277,7 @@
% at |\begin{document}| and resetting the category code of
% \texttt{@} to its original value.
% \changes{slovene-1.2i}{1996/11/03}{Now use \cs{ldf@finish} to wrap
-% up}
+% up}
% \begin{macrocode}
\ldf@finish{slovene}
%</code>