diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-27 03:00:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-27 03:00:57 +0000 |
commit | b93d257f657e619e22b8b7a27446118ce041727e (patch) | |
tree | 9743069419ee702e9088dbda6411d3dd5e1d0033 /macros/latex/contrib/babel-contrib | |
parent | 2eae12e56ca15396e8ff63b3a9b0d450d675dc5e (diff) |
CTAN sync 202401270300
Diffstat (limited to 'macros/latex/contrib/babel-contrib')
-rw-r--r-- | macros/latex/contrib/babel-contrib/norsk/README.md | 15 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/norsk/norsk.dtx | 127 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/norsk/norsk.ins | 40 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/norsk/norsk.pdf | bin | 142246 -> 154485 bytes | |||
-rw-r--r-- | macros/latex/contrib/babel-contrib/samin/README.md | 8 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/samin/samin.dtx | 75 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/samin/samin.ins | 41 | ||||
-rw-r--r-- | macros/latex/contrib/babel-contrib/samin/samin.pdf | bin | 124782 -> 137510 bytes |
8 files changed, 138 insertions, 168 deletions
diff --git a/macros/latex/contrib/babel-contrib/norsk/README.md b/macros/latex/contrib/babel-contrib/norsk/README.md new file mode 100644 index 0000000000..230f986bc5 --- /dev/null +++ b/macros/latex/contrib/babel-contrib/norsk/README.md @@ -0,0 +1,15 @@ +Norwegian 2.0j +-------------- + +This is the babel style for Norwegian + +**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 +https://latex3.github.io/babel/contact.html .** + +Changes 2.0j +------------ + +Allow norwegian as the language name, preferred to norsk. + diff --git a/macros/latex/contrib/babel-contrib/norsk/norsk.dtx b/macros/latex/contrib/babel-contrib/norsk/norsk.dtx index e8b8880190..ab541701b8 100644 --- a/macros/latex/contrib/babel-contrib/norsk/norsk.dtx +++ b/macros/latex/contrib/babel-contrib/norsk/norsk.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,35 +16,30 @@ % % 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{305} % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the % transcript. %<*dtx> \ProvidesFile{norsk.dtx} %</dtx> -%<code>\ProvidesLanguage{norsk} +%<code>\ProvidesLanguage{norwegian} +%<nynorsk>\ProvidesLanguage{nynorsk} +%<norsk>\ProvidesLanguage{norsk} %\fi %\ProvidesFile{norsk.dtx} - [2012/08/06 v2.0i Norsk support from the babel system] + [2024/01/26 v2.0j Norwegian support from the babel system] %\iffalse %%File `norsk.dtx' %% Babel package for LaTeX version 2e -%% Copyright (C) 1989 - 2005 +%% 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 Norwegian language definition file. Contributions @@ -83,6 +78,7 @@ % with \LaTeX} % \changes{norsk-1.2h}{1996/10/10}{Moved the definition of % \cs{atcatcode} right to the beginning.} +% \changes{norsk-2.0j}{2024/01/23}{Dual load norwegian/norsk} % % % \section{The Norwegian language} @@ -162,9 +158,19 @@ % \changes{norsk-1.2d}{1994/06/26}{Now use \cs{@nopatterns} to produce % the warning} % \begin{macrocode} -\ifx\l@norsk\@undefined - \@nopatterns{Norsk} - \adddialect\l@norsk0\fi +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \def\bbl@tempa#1{% + \ifx#1\@undefined\else + \expandafter\adddialect\csname l@\CurrentOption\endcsname#1% + \fi}% Last wins: + \bbl@tempa\l@nynorsk + \bbl@tempa\l@norsk + \bbl@tempa\l@norwegian +\fi +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \@nopatterns{\CurrentOption} + \expandafter\adddialect\csname l@\CurrentOption\endcsname\z@ +\fi % \end{macrocode} % % \begin{macro}{\norskhyphenmins} @@ -186,10 +192,6 @@ % Now we have to decide which version of the captions should be % made available. This can be done by checking the contents of % |\CurrentOption|. -% \begin{macrocode} -\def\bbl@tempa{norsk} -\ifx\CurrentOption\bbl@tempa -% \end{macrocode} % % The next step consists of defining commands to switch to (and % from) the Norwegian language. @@ -209,7 +211,34 @@ % \changes{norsk-2.0g}{1996/04/01}{Replaced `Glossary' by its % translation} % \begin{macrocode} - \def\captionsnorsk{% +\def\bbl@tempa{nynorsk} +\ifx\CurrentOption\bbl@tempa + \def\captionsnynorsk{% + \def\prefacename{Forord}% + \def\refname{Referansar}% + \def\abstractname{Samandrag}% + \def\bibname{Litteratur}% or Litteraturoversyn + % or Referansar + \def\chaptername{Kapittel}% + \def\appendixname{Tillegg}% or Appendiks + \def\contentsname{Innhald}% + \def\listfigurename{Figurar}% or Figurliste + \def\listtablename{Tabellar}% or Tabelliste + \def\indexname{Register}% + \def\figurename{Figur}% + \def\tablename{Tabell}% + \def\partname{Del}% + \def\enclname{Vedlegg}% + \def\ccname{Kopi til}% + \def\headtoname{Til}% in letter + \def\pagename{Side}% + \def\seename{Sj\aa{}}% + \def\alsoname{Sj\aa{} \`{o}g}% + \def\proofname{Bevis}% + \def\glossaryname{Ordliste}% + } +\else + \@namedef{captions\CurrentOption}{% \def\prefacename{Forord}% \def\refname{Referanser}% \def\abstractname{Sammendrag}% @@ -233,14 +262,13 @@ \def\proofname{Bevis}% \def\glossaryname{Ordliste}% } -\else +\fi % \end{macrocode} % \end{macro} % % For the `nynorsk' version of these definitions we just add a % ``dialect''. % \begin{macrocode} - \adddialect\l@nynorsk\l@norsk % \end{macrocode} % % \begin{macro}{\captionsnynorsk} @@ -257,33 +285,7 @@ % \changes{norsk-2.0g}{1996/04/01}{Replaced `Glossary' by its % translation} % \changes{norks-2.0h}{2001/01/12}{Changed \cs{ccname} and \cs{alsoname}} -% \begin{macrocode} - \def\captionsnynorsk{% - \def\prefacename{Forord}% - \def\refname{Referansar}% - \def\abstractname{Samandrag}% - \def\bibname{Litteratur}% or Litteraturoversyn - % or Referansar - \def\chaptername{Kapittel}% - \def\appendixname{Tillegg}% or Appendiks - \def\contentsname{Innhald}% - \def\listfigurename{Figurar}% or Figurliste - \def\listtablename{Tabellar}% or Tabelliste - \def\indexname{Register}% - \def\figurename{Figur}% - \def\tablename{Tabell}% - \def\partname{Del}% - \def\enclname{Vedlegg}% - \def\ccname{Kopi til}% - \def\headtoname{Til}% in letter - \def\pagename{Side}% - \def\seename{Sj\aa{}}% - \def\alsoname{Sj\aa{} \`{o}g}% - \def\proofname{Bevis}% - \def\glossaryname{Ordliste}% - } -\fi -% \end{macrocode} +% % \end{macro} % % \begin{macro}{\datenorsk} @@ -431,24 +433,13 @@ % \begin{macrocode} \ldf@finish\CurrentOption %</code> +% Finally, We create a few proxy files. +% +% \begin{macrocode} +%<*norsk|nynorsk> +\input norwegian.ldf\relax +%</norsk|nynorsk> % \end{macrocode} % % \Finale -%% -%% \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 \~} -%% \endinput diff --git a/macros/latex/contrib/babel-contrib/norsk/norsk.ins b/macros/latex/contrib/babel-contrib/norsk/norsk.ins index 9ec2729e64..f21a7bef19 100644 --- a/macros/latex/contrib/babel-contrib/norsk/norsk.ins +++ b/macros/latex/contrib/babel-contrib/norsk/norsk.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,15 @@ %% %% 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 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. %% %% --------------- start of docstrip commands ------------------ %% -\def\filedate{1999/04/11} +\def\filedate{2024/01/26} \def\batchfile{norsk.ins} \input docstrip.tex @@ -53,7 +49,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 +65,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 +75,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 +91,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 +106,9 @@ of this file under its original name. \usedir{tex/generic/babel} \usepreamble\mainpreamble -\generate{\file{norsk.ldf}{\from{norsk.dtx}{code}} +\generate{\file{norwegian.ldf}{\from{norsk.dtx}{code}} + \file{norsk.ldf}{\from{norsk.dtx}{norsk}} + \file{nynorsk.ldf}{\from{norsk.dtx}{nynorsk}} } \usepreamble\fdpreamble diff --git a/macros/latex/contrib/babel-contrib/norsk/norsk.pdf b/macros/latex/contrib/babel-contrib/norsk/norsk.pdf Binary files differindex 896d926f50..7416dfc5bd 100644 --- a/macros/latex/contrib/babel-contrib/norsk/norsk.pdf +++ b/macros/latex/contrib/babel-contrib/norsk/norsk.pdf 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 Binary files differindex b47a57923b..c80673a1db 100644 --- a/macros/latex/contrib/babel-contrib/samin/samin.pdf +++ b/macros/latex/contrib/babel-contrib/samin/samin.pdf |