From 848fa532bc33b4e1a8f95648e62052982d28aa31 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 14 Sep 2015 21:52:57 +0000 Subject: babel-welsh git-svn-id: svn://tug.org/texlive/trunk@38372 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/babel-welsh/README | 12 +++ .../texmf-dist/doc/generic/babel-welsh/welsh.pdf | Bin 108985 -> 111128 bytes .../source/generic/babel-welsh/welsh.dtx | 100 +++++++++++---------- .../texmf-dist/tex/generic/babel-welsh/welsh.ldf | 86 ++++++++---------- 4 files changed, 101 insertions(+), 97 deletions(-) create mode 100644 Master/texmf-dist/doc/generic/babel-welsh/README diff --git a/Master/texmf-dist/doc/generic/babel-welsh/README b/Master/texmf-dist/doc/generic/babel-welsh/README new file mode 100644 index 00000000000..65ac842dc9d --- /dev/null +++ b/Master/texmf-dist/doc/generic/babel-welsh/README @@ -0,0 +1,12 @@ +Welsh 1.1a +------------ + +This is the babel style for Welsh. + +Changes 1.1 +----------- +* Date fixed +* UTF-8 encoded strings for XeTeX and LuaTeX + +---------- +2015-09-03 \ No newline at end of file diff --git a/Master/texmf-dist/doc/generic/babel-welsh/welsh.pdf b/Master/texmf-dist/doc/generic/babel-welsh/welsh.pdf index 221887ffe13..fcac31cc60d 100644 Binary files a/Master/texmf-dist/doc/generic/babel-welsh/welsh.pdf and b/Master/texmf-dist/doc/generic/babel-welsh/welsh.pdf differ diff --git a/Master/texmf-dist/source/generic/babel-welsh/welsh.dtx b/Master/texmf-dist/source/generic/babel-welsh/welsh.dtx index 95965fcfaed..d39ced66225 100644 --- a/Master/texmf-dist/source/generic/babel-welsh/welsh.dtx +++ b/Master/texmf-dist/source/generic/babel-welsh/welsh.dtx @@ -1,7 +1,8 @@ % \iffalse meta-comment % -% Copyright 1989-2005 Johannes L. Braams and any individual authors -% listed elsewhere in this file. All rights reserved. +% Copyright 1989-2015 Johannes L. Braams, Javier Bezos and any +% individual authors listed elsewhere in this file. All rights +% reserved. % % This file is part of the Babel system. % -------------------------------------- @@ -16,17 +17,17 @@ % % This work has the LPPL maintenance status "maintained". % -% The Current Maintainer of this work is Johannes Braams. +% The Current Maintainer of this work is Javier Bezos % % The list of all files belonging to the Babel system is -% given in the file `manifest.bbl. See also `legal.bbl' for additional +% 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{97} +% \CheckSum{81} % % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the @@ -37,15 +38,13 @@ %\ProvidesLanguage{welsh} %\fi %\ProvidesFile{welsh.dtx} - [2005/03/31 v1.0d Welsh support from the babel system] + [2015/09/03 v1.1a Welsh support from the babel system] %\iffalse %% File `welsh.dtx' %% Babel package for LaTeX version 2e -%% Copyright (C) 1989 -- 2005 +%% Copyright (C) 1989 -- 2015 %% 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 Welsh language definition file. @@ -76,6 +75,8 @@ % % \StopEventually{} % +% \section{Code} +% % The macro |\ldf@init| takes care of preventing that this file is % loaded more than once, checking the category code of the % \texttt{@} sign, etc. @@ -114,34 +115,6 @@ % \changes{welsh-1.0c}{2000/09/20}{Added \cs{glossaryname}} % \changes{welsh-1.0d}{2005/03/31}{Provided the translation for % Glossary} -% \begin{macrocode} -\def\captionswelsh{% - \def\prefacename{Rhagair}% - \def\refname{Cyfeiriadau}% - \def\abstractname{Crynodeb}% - \def\bibname{Llyfryddiaeth}% - \def\chaptername{Pennod}% - \def\appendixname{Atodiad}% - \def\contentsname{Cynnwys}% - \def\listfigurename{Rhestr Ddarluniau}% - \def\listtablename{Rhestr Dablau}% - \def\indexname{Mynegai}% - \def\figurename{Darlun}% - \def\tablename{Taflen}% - \def\partname{Rhan}% - \def\enclname{amgae\"edig}% - \def\ccname{cop\"\i au}% - \def\headtoname{At}% % `at' on letters meaning `to ( a person)' - % `to (a place)' is `i' in Welsh - \def\pagename{tudalen}% - \def\seename{gweler}% - \def\alsoname{gweler hefyd}% - \def\proofname{Prawf}% - \def\glossaryname{Rhestr termau}% - } -% \end{macrocode} -% \end{macro} -% % \begin{macro}{\datewelsh} % The macro |\datewelsh| redefines the command |\today| to % produce welsh dates. @@ -151,15 +124,49 @@ % \cs{edef}} % \changes{welsh-1.0d}{2005/03/31}{removed `a viz' from the definition % of \cs{today}} +% \changes{welsh-1.1a}{2015/09/03}{Strings are defined in the 3.9 way. +% Also Unicode strings} % \begin{macrocode} -\def\datewelsh{% - \def\today{\ifnum\day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else - \number\day\fi\space\ifcase\month\or - Ionawr\or Chwefror\or Mawrth\or Ebrill\or - Mai\or Mehefin\or Gorffennaf\or Awst\or - Medi\or Hydref\or Tachwedd\or Rhagfyr\fi - \space\number\year}} +\StartBabelCommands*{welsh}{captions} + [unicode, charset=utf8, fontenc=EU1 EU2] + \SetString{\enclname}{amgaeëdig} + \SetString{\ccname}{copï au} % \end{macrocode} +% +% And now, the generic branch, using the LICR and assuming T1. +% +% \begin{macrocode} +\StartBabelCommands*{welsh}{captions} + \SetString{\prefacename}{Rhagair} + \SetString{\refname}{Cyfeiriadau} + \SetString{\abstractname}{Crynodeb} + \SetString{\bibname}{Llyfryddiaeth} + \SetString{\chaptername}{Pennod} + \SetString{\appendixname}{Atodiad} + \SetString{\contentsname}{Cynnwys} + \SetString{\listfigurename}{Rhestr Ddarluniau} + \SetString{\listtablename}{Rhestr Dablau} + \SetString{\indexname}{Mynegai} + \SetString{\figurename}{Darlun} + \SetString{\tablename}{Taflen} + \SetString{\partname}{Rhan} + \SetString{\enclname}{amgae\"edig} + \SetString{\ccname}{cop\"\i au} + \SetString{\headtoname}{At} + \SetString{\pagename}{tudalen} + \SetString{\seename}{gweler} + \SetString{\alsoname}{gweler hefyd} + \SetString{\proofname}{Prawf} + \SetString{\glossaryname}{Rhestr termau} +\StartBabelCommands*{welsh}{date} + \SetStringLoop{month#1name}{% + Ionawr,Chwefror,Mawrth,Ebrill,Mai,Mehefin,% + Gorffennaf,Awst,Medi,Hydref,Tachwedd,Rhagfyr} + \SetString\today{% + {\number\day} \@nameuse{month\romannumeral\month name} {\number\year}} +\EndBabelCommands +% \end{macrocode} +% \end{macro} % \end{macro} % % \begin{macro}{\extraswelsh} @@ -184,6 +191,7 @@ % \texttt{@} to its original value. % \begin{macrocode} \ldf@finish{welsh} +\endinput % % \end{macrocode} % @@ -204,4 +212,4 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -%% +\endinput diff --git a/Master/texmf-dist/tex/generic/babel-welsh/welsh.ldf b/Master/texmf-dist/tex/generic/babel-welsh/welsh.ldf index 58bc629496c..5428beb3c5a 100644 --- a/Master/texmf-dist/tex/generic/babel-welsh/welsh.ldf +++ b/Master/texmf-dist/tex/generic/babel-welsh/welsh.ldf @@ -37,68 +37,52 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{welsh} - [2005/03/31 v1.0d Welsh support from the babel system] + [2015/09/03 v1.1a Welsh support from the babel system] %% File `welsh.dtx' %% Babel package for LaTeX version 2e -%% Copyright (C) 1989 -- 2005 +%% Copyright (C) 1989 -- 2015 %% by Johannes Braams, TeXniek -%% Please report errors to: J.L. Braams -%% babel at braams.cistron.nl \LdfInit{welsh}{captionswelsh} \ifx\undefined\l@welsh \@nopatterns{welsh} \adddialect\l@welsh0\fi \providehyphenmins{\CurrentOption}{\tw@\thr@@} -\def\captionswelsh{% - \def\prefacename{Rhagair}% - \def\refname{Cyfeiriadau}% - \def\abstractname{Crynodeb}% - \def\bibname{Llyfryddiaeth}% - \def\chaptername{Pennod}% - \def\appendixname{Atodiad}% - \def\contentsname{Cynnwys}% - \def\listfigurename{Rhestr Ddarluniau}% - \def\listtablename{Rhestr Dablau}% - \def\indexname{Mynegai}% - \def\figurename{Darlun}% - \def\tablename{Taflen}% - \def\partname{Rhan}% - \def\enclname{amgae\"edig}% - \def\ccname{cop\"\i au}% - \def\headtoname{At}% % `at' on letters meaning `to ( a person)' - % `to (a place)' is `i' in Welsh - \def\pagename{tudalen}% - \def\seename{gweler}% - \def\alsoname{gweler hefyd}% - \def\proofname{Prawf}% - \def\glossaryname{Rhestr termau}% - } -\def\datewelsh{% - \def\today{\ifnum\day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else - \number\day\fi\space\ifcase\month\or - Ionawr\or Chwefror\or Mawrth\or Ebrill\or - Mai\or Mehefin\or Gorffennaf\or Awst\or - Medi\or Hydref\or Tachwedd\or Rhagfyr\fi - \space\number\year}} +\StartBabelCommands*{welsh}{captions} + [unicode, charset=utf8, fontenc=EU1 EU2] + \SetString{\enclname}{amgaeëdig} + \SetString{\ccname}{copï au} +\StartBabelCommands*{welsh}{captions} + \SetString{\prefacename}{Rhagair} + \SetString{\refname}{Cyfeiriadau} + \SetString{\abstractname}{Crynodeb} + \SetString{\bibname}{Llyfryddiaeth} + \SetString{\chaptername}{Pennod} + \SetString{\appendixname}{Atodiad} + \SetString{\contentsname}{Cynnwys} + \SetString{\listfigurename}{Rhestr Ddarluniau} + \SetString{\listtablename}{Rhestr Dablau} + \SetString{\indexname}{Mynegai} + \SetString{\figurename}{Darlun} + \SetString{\tablename}{Taflen} + \SetString{\partname}{Rhan} + \SetString{\enclname}{amgae\"edig} + \SetString{\ccname}{cop\"\i au} + \SetString{\headtoname}{At} + \SetString{\pagename}{tudalen} + \SetString{\seename}{gweler} + \SetString{\alsoname}{gweler hefyd} + \SetString{\proofname}{Prawf} + \SetString{\glossaryname}{Rhestr termau} +\StartBabelCommands*{welsh}{date} + \SetStringLoop{month#1name}{% + Ionawr,Chwefror,Mawrth,Ebrill,Mai,Mehefin,% + Gorffennaf,Awst,Medi,Hydref,Tachwedd,Rhagfyr} + \SetString\today{% + {\number\day} \@nameuse{month\romannumeral\month name} {\number\year}} +\EndBabelCommands \addto\extraswelsh{} \addto\noextraswelsh{} \ldf@finish{welsh} -%% \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 %% %% End of file `welsh.ldf'. -- cgit v1.2.3