summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/babel-contrib/samin
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-27 03:00:57 +0000
committerNorbert Preining <norbert@preining.info>2024-01-27 03:00:57 +0000
commitb93d257f657e619e22b8b7a27446118ce041727e (patch)
tree9743069419ee702e9088dbda6411d3dd5e1d0033 /macros/latex/contrib/babel-contrib/samin
parent2eae12e56ca15396e8ff63b3a9b0d450d675dc5e (diff)
CTAN sync 202401270300
Diffstat (limited to 'macros/latex/contrib/babel-contrib/samin')
-rw-r--r--macros/latex/contrib/babel-contrib/samin/README.md8
-rw-r--r--macros/latex/contrib/babel-contrib/samin/samin.dtx75
-rw-r--r--macros/latex/contrib/babel-contrib/samin/samin.ins41
-rw-r--r--macros/latex/contrib/babel-contrib/samin/samin.pdfbin124782 -> 137510 bytes
4 files changed, 53 insertions, 71 deletions
diff --git a/macros/latex/contrib/babel-contrib/samin/README.md b/macros/latex/contrib/babel-contrib/samin/README.md
new file mode 100644
index 0000000000..29600f62c2
--- /dev/null
+++ b/macros/latex/contrib/babel-contrib/samin/README.md
@@ -0,0 +1,8 @@
+Northern Sami
+-------------
+
+Changes 1.0d
+------------
+
+Allow northernsami as the language name, preferred to samin.
+
diff --git a/macros/latex/contrib/babel-contrib/samin/samin.dtx b/macros/latex/contrib/babel-contrib/samin/samin.dtx
index b3d951204c..bca9dffe90 100644
--- a/macros/latex/contrib/babel-contrib/samin/samin.dtx
+++ b/macros/latex/contrib/babel-contrib/samin/samin.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1989-2005 Johannes L. Braams and any individual authors
+% Copyright 1989-2024 Johannes L. Braams and any individual authors
% listed elsewhere in this file. All rights reserved.
%
% This file is part of the Babel system.
@@ -16,17 +16,12 @@
%
% 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 Current Maintainer of this work is Javier Bezos
%
% 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{120}
%
% \iffalse
% Tell the \LaTeX\ system who we are and write an entry on the
@@ -34,20 +29,19 @@
%<*dtx>
\ProvidesFile{samin.dtx}
%</dtx>
-%<code>\ProvidesLanguage{samin}
+%<code>\ProvidesLanguage{northernsami}
+%<samin>\ProvidesLanguage{samin}
%\fi
%\ProvidesFile{samin.dtx}
- [2004/02/20 v1.0c North Sami support from the babel system]
+ [2024/01/26 v1.0d Northern Sami support from the babel system]
%\iffalse
%% Babel package for LaTeX version 2e
-%% Copyright (C) 1989 -- 2004
+%% Copyright (C) 1989 -- 2024
%% by Johannes Braams, TeXniek
-%
-%% Please report errors to: J.L. Braams
-%% babel at braams.cistron.nl
+%% by Javier Bezos
%
% This file is part of the babel system, it provides the source code for
-% the North Sami language definition file.
+% the Northern Sami language definition file.
%<*filedriver>
\documentclass{ltxdoc}
\newcommand*{\TeXhax}{\TeX hax}
@@ -63,6 +57,8 @@
%\fi
% \GetFileInfo{samin.dtx}
%
+% \changes{samin-1.0d}{2024/01/23}{Dual load northernsami/samin}
+%
% \section{The North Sami language}
%
% The file \file{\filename}\footnote{The file described in this
@@ -113,9 +109,19 @@
% something here.
%
% \begin{macrocode}
-\ifx\undefined\l@samin
- \@nopatterns{Samin}
- \adddialect\l@samin0\fi
+\ifx\l@northernsami\@undefined
+ \ifx\l@samin\@undefined
+ \@nopatterns{Northern Sami}
+ \adddialect\l@northernsami\z@
+ \let\l@samin\l@northernsami
+ \else
+ \let\l@northernsami\l@samin
+ \fi
+\else
+ \ifx\l@samin\@undefined
+ \let\l@samin\l@northernsami
+ \fi
+\fi
% \end{macrocode}
%
% The next step consists of defining commands to switch to (and
@@ -126,7 +132,7 @@
% parameters |\lefthyphenmin| and |\righthyphenmin|.
% \changes{samin-1.0b}{2000/09/26}{use \cs{providehyphenmins}}
% \begin{macrocode}
-\providehyphenmins{samin}{\tw@\tw@}
+\providehyphenmins{\CurrentOption}{\tw@\tw@}
% \end{macrocode}
% \end{macro}
%
@@ -137,7 +143,7 @@
% \changes{samin-1.0c}{2000/10/04}{Provided the translation for
% glossary}
% \begin{macrocode}
-\def\captionssamin{%
+\@namedef{captions\CurrentOption}{%
\def\prefacename{Ovdas\'atni}%
\def\refname{\v Cujuhusat}%
\def\abstractname{\v Coahkk\'aigeassu}%
@@ -167,7 +173,7 @@
% The macro |\datesamin| redefines the command |\today| to
% produce North Sami dates.
% \begin{macrocode}
-\def\datesamin{%
+\@namedef{date\CurrentOption}{%
\def\today{\ifcase\month\or
o\dj{}\dj{}ajagem\'anu\or
guovvam\'anu\or
@@ -197,8 +203,8 @@
% language definition files.
%
% \begin{macrocode}
-\addto\extrassamin{}
-\addto\noextrassamin{}
+\expandafter\addto\csname extras\CurrentOption\endcsname{}
+\expandafter\addto\csname noextras\CurrentOption\endcsname{}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -208,25 +214,16 @@
% at |\begin{document}| and resetting the category code of
% \texttt{@} to its original value.
% \begin{macrocode}
-\ldf@finish{samin}
+\ldf@finish{\CurrentOption}
%</code>
+% Finally, We create a proxy file.
+%
+% \begin{macrocode}
+%<*samin>
+\input northernsami.ldf\relax
+%</samin>
% \end{macrocode}
%
% \Finale
%\endinput
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
+
diff --git a/macros/latex/contrib/babel-contrib/samin/samin.ins b/macros/latex/contrib/babel-contrib/samin/samin.ins
index e94cf6f90a..2c63183687 100644
--- a/macros/latex/contrib/babel-contrib/samin/samin.ins
+++ b/macros/latex/contrib/babel-contrib/samin/samin.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1989-2005 Johannes L. Braams and any individual authors
+%% Copyright 1989-2024 Johannes L. Braams and any individual authors
%% listed elsewhere in this file. All rights reserved.
%%
%% This file is part of the Babel system.
@@ -19,19 +19,11 @@
%%
%% 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 LaTeX base distribution 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.
+%% The Current Maintainer of this work is Javier Bezos.
%%
%% --------------- start of docstrip commands ------------------
%%
-\def\filedate{2000/09/26}
+\def\filedate{2024/01/26}
\def\batchfile{samin.ins}
\input docstrip.tex
@@ -53,7 +45,7 @@
\declarepreamble\mainpreamble
This is a generated file.
-Copyright 1989-2005 Johannes L. Braams and any individual authors
+Copyright 1989-2024 Johannes L. Braams and any individual authors
listed elsewhere in this file. All rights reserved.
This file was generated from file(s) of the Babel system.
@@ -69,15 +61,7 @@ version 2003/12/01 or later.
This work has the LPPL maintenance status "maintained".
-The Current Maintainer of this work is Johannes Braams.
-
-This file may only be distributed together with a copy of the Babel
-system. You may however distribute the Babel system without
-such generated files.
-
-The list of all files belonging to the Babel distribution is
-given in the file `manifest.bbl'. See also `legal.bbl for additional
-information.
+The Current Maintainer of this work is Javier Bezos
The list of derived (unpacked) files belonging to the distribution
and covered by LPPL is defined by the unpacking scripts (with
@@ -87,7 +71,7 @@ extension .ins) which are part of the distribution.
\declarepreamble\fdpreamble
This is a generated file.
-Copyright 1989-2005 Johannes L. Braams and any individual authors
+Copyright 1989-2024 Johannes L. Braams and any individual authors
listed elsewhere in this file. All rights reserved.
This file was generated from file(s) of the Babel system.
@@ -103,15 +87,7 @@ version 2003/12/01 or later.
This work has the LPPL maintenance status "maintained".
-The Current Maintainer of this work is Johannes Braams.
-
-This file may only be distributed together with a copy of the Babel
-system. You may however distribute the Babel system without
-such generated files.
-
-The list of all files belonging to the Babel distribution is
-given in the file `manifest.bbl'. See also `legal.bbl for additional
-information.
+The Current Maintainer of this work is Javier Bezos
In particular, permission is granted to customize the declarations in
this file to serve the needs of your installation.
@@ -126,7 +102,8 @@ of this file under its original name.
\usedir{tex/generic/babel}
\usepreamble\mainpreamble
-\generate{\file{samin.ldf}{\from{samin.dtx}{code}}
+\generate{\file{northernsami.ldf}{\from{samin.dtx}{code}}
+ \file{samin.ldf}{\from{samin.dtx}{samin}}
}
\usepreamble\fdpreamble
diff --git a/macros/latex/contrib/babel-contrib/samin/samin.pdf b/macros/latex/contrib/babel-contrib/samin/samin.pdf
index b47a57923b..c80673a1db 100644
--- a/macros/latex/contrib/babel-contrib/samin/samin.pdf
+++ b/macros/latex/contrib/babel-contrib/samin/samin.pdf
Binary files differ