summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-26 22:02:41 +0000
committerKarl Berry <karl@freefriends.org>2024-01-26 22:02:41 +0000
commitaf4334a2fc633707dcb43f162b9d8687a345845f (patch)
tree743863d61b04689faac3f2a5d95cbd15a7fce917 /Master/texmf-dist/source/generic
parentecf5f367971e4e77af81571dc5f6eeeae4bcde44 (diff)
babel-samin (26jan24)
git-svn-id: svn://tug.org/texlive/trunk@69604 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/babel-samin/samin.dtx75
-rw-r--r--Master/texmf-dist/source/generic/babel-samin/samin.ins41
2 files changed, 45 insertions, 71 deletions
diff --git a/Master/texmf-dist/source/generic/babel-samin/samin.dtx b/Master/texmf-dist/source/generic/babel-samin/samin.dtx
index b3d951204c7..bca9dffe90f 100644
--- a/Master/texmf-dist/source/generic/babel-samin/samin.dtx
+++ b/Master/texmf-dist/source/generic/babel-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/Master/texmf-dist/source/generic/babel-samin/samin.ins b/Master/texmf-dist/source/generic/babel-samin/samin.ins
index e94cf6f90ab..2c631836876 100644
--- a/Master/texmf-dist/source/generic/babel-samin/samin.ins
+++ b/Master/texmf-dist/source/generic/babel-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