From cdeb4834b3436b45fecf1439582b82cc99c6a135 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 27 Jan 2024 20:58:03 +0000 Subject: babel-scottish (27jan24) git-svn-id: svn://tug.org/texlive/trunk@69610 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/generic/babel-scottish/scottish.dtx | 70 ++++++++++------------ .../source/generic/babel-scottish/scottish.ins | 37 +++--------- 2 files changed, 42 insertions(+), 65 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/generic/babel-scottish/scottish.dtx b/Master/texmf-dist/source/generic/babel-scottish/scottish.dtx index 82613e5cd0b..2f9321c7e48 100644 --- a/Master/texmf-dist/source/generic/babel-scottish/scottish.dtx +++ b/Master/texmf-dist/source/generic/babel-scottish/scottish.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{95} % % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the @@ -34,18 +29,17 @@ %<*dtx> \ProvidesFile{scottish.dtx} % -%\ProvidesLanguage{scottish} +%\ProvidesLanguage{scottishgaelic} +%\ProvidesLanguage{scottish} %\fi %\ProvidesFile{scottish.dtx} - [2005/03/31 v1.0g Scottish support from the babel system] + [2024/01/27 v1.0h Scottish support from the babel system] %\iffalse %% File `scottish.dtx' %% Babel package for LaTeX version 2e %% Copyright (C) 1989 -- 2005 %% 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 Scottish language definition file. @@ -67,6 +61,7 @@ %\fi % \GetFileInfo{scottish.dtx} % +% \changes{scottish-1.0h}{2024/01/27}{Dual load scottishgaelic/scottish} % \changes{scottish-1.0b}{1995/06/14}{Corrected typos (PR1652)} % \changes{scottish-1.0d}{1996/10/10}{Replaced \cs{undefined} with % \cs{@undefined} and \cs{empty} with \cs{@empty} for consistency @@ -93,7 +88,7 @@ % initial checks} % \begin{macrocode} %<*code> -\LdfInit{scottish}\captionsscottish +\LdfInit\CurrentOption{date\CurrentOption} % \end{macrocode} % % When this file is read as an option, i.e. by the |\usepackage| @@ -103,9 +98,19 @@ % here. % % \begin{macrocode} -\ifx\l@scottish\@undefined - \@nopatterns{scottish} - \adddialect\l@scottish0\fi +\ifx\l@scottishgaelic\@undefined + \ifx\l@scottish\@undefined + \@nopatterns{Scottish Gaelic} + \adddialect\l@scottishgaelic\z@ + \let\l@scottish\l@scottishgaelic + \else + \let\l@scottishgaelic\l@scottish + \fi +\else + \ifx\l@scottish\@undefined + \let\l@scottish\l@scottishgaelic + \fi +\fi % \end{macrocode} % The next step consists of defining commands to switch to (and % from) the Scottish language. @@ -117,7 +122,7 @@ % AMS-\LaTeX} % \changes{scottish-1.0g}{2000/09/20}{Added \cs{glossaryname}} % \begin{macrocode} -\addto\captionsscottish{% +\@namedef{captions\CurrentOption}{% \def\prefacename{Preface}% <-- needs translation \def\refname{Iomraidh}% \def\abstractname{Br\`{\i}gh}% @@ -151,7 +156,7 @@ % \changes{scottish-1.0e}{1998/03/28}{use \cs{def} instead of % \cs{edef}} % \begin{macrocode} -\def\datescottish{% +\@namedef{date\CurrentOption}{% \def\today{% \number\day\space \ifcase\month\or am Faoilteach\or an Gearran\or am M\`art\or an Giblean\or @@ -172,8 +177,8 @@ % definition files. % % \begin{macrocode} -\addto\extrasscottish{} -\addto\noextrasscottish{} +\expandafter\addto\csname extras\CurrentOption\endcsname{} +\expandafter\addto\csname noextras\CurrentOption\endcsname{} % \end{macrocode} % \end{macro} % \end{macro} @@ -185,25 +190,16 @@ % \changes{scottish-1.0d}{1996/11/03}{Now use \cs{ldf@finish} to wrap % up} % \begin{macrocode} -\ldf@finish{scottish} +\ldf@finish{\CurrentOption} % +% Finally, We create a proxy file. +% +% \begin{macrocode} +%<*scottish> +\input scottishgaelic.ldf\relax +% % \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-scottish/scottish.ins b/Master/texmf-dist/source/generic/babel-scottish/scottish.ins index 5937bb1c446..232b3ca0183 100644 --- a/Master/texmf-dist/source/generic/babel-scottish/scottish.ins +++ b/Master/texmf-dist/source/generic/babel-scottish/scottish.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,11 +19,7 @@ %% %% 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 @@ -31,7 +27,7 @@ %% %% --------------- start of docstrip commands ------------------ %% -\def\filedate{1999/04/11} +\def\filedate{2014/01/27} \def\batchfile{scottish.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,8 @@ of this file under its original name. \usedir{tex/generic/babel} \usepreamble\mainpreamble -\generate{\file{scottish.ldf}{\from{scottish.dtx}{code}} +\generate{\file{scottishgaelic.ldf}{\from{scottish.dtx}{code}} + \file{scottish.ldf}{\from{scottish.dtx}{scottish}} } \usepreamble\fdpreamble -- cgit v1.2.3