From 093d3b664f763b99f131fa3dffa07a5a6e45dfb6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Jun 2017 21:45:58 +0000 Subject: datetime2-ukrainian (11jun17) git-svn-id: svn://tug.org/texlive/trunk@44562 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/datetime2-ukrainian/README | 57 ---- .../doc/latex/datetime2-ukrainian/README.md | 56 ++++ .../datetime2-ukrainian/datetime2-ukrainian.pdf | Bin 82741 -> 72066 bytes .../datetime2-ukrainian/datetime2-ukrainian.dtx | 345 ++++++++++++++++++++- .../datetime2-ukrainian-ascii.ldf | 127 ++++++++ .../datetime2-ukrainian-utf8.ldf | 127 +++++++- .../datetime2-ukrainian/datetime2-ukrainian.ldf | 3 +- 7 files changed, 647 insertions(+), 68 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/datetime2-ukrainian/README create mode 100644 Master/texmf-dist/doc/latex/datetime2-ukrainian/README.md diff --git a/Master/texmf-dist/doc/latex/datetime2-ukrainian/README b/Master/texmf-dist/doc/latex/datetime2-ukrainian/README deleted file mode 100644 index 07bffec871d..00000000000 --- a/Master/texmf-dist/doc/latex/datetime2-ukrainian/README +++ /dev/null @@ -1,57 +0,0 @@ -Ukrainian Language Module for datetime2 Package - -Author: Nicola L. C. Talbot (inactive) - -Licence: LPPL - -Required Packages: datetime2, tracklang - -This module is unmaintained. If you want to volunteer to take over -the maintenance contact me at www.dickimaw-books.com/contact.html - -Example usage: - -\documentclass{article} -\usepackage[ukrainian]{datetime2} -\begin{document} -\today -\end{document} - -\documentclass[ukrainian]{article} -\usepackage{babel} -\usepackage[useregional]{datetime2} -\begin{document} -\today -\end{document} - -\documentclass{article} -\usepackage{polyglossia} -\setmainlanguage{ukrainian} -\usepackage[ukrainian]{datetime2} -\begin{document} -\today -\end{document} - -INSTALLATION -============ - -xelatex datetime2-ukrainian.ins - -Move all *.ldf files to -TEXMF/tex/latex/datetime2-contrib/datetime2-ukrainian/ - -Documentation: - -xelatex datetime2-ukrainian.dtx -makeindex -s gind.ist datetime2-ukrainian.idx -makeindex -s gglo.ist -o datetime2-ukrainian.gls datetime2-ukrainian.glo -xelatex datetime2-ukrainian.dtx -xelatex datetime2-ukrainian.dtx - -Move datetime2-ukrainian.pdf and README to -TEXMF/doc/latex/datetime2-contrib/datetime2-ukrainian/ - -This material is subject to the LaTeX Project Public License. -See http://www.ctan.org/license/lppl1.3 for the details of that -license. - diff --git a/Master/texmf-dist/doc/latex/datetime2-ukrainian/README.md b/Master/texmf-dist/doc/latex/datetime2-ukrainian/README.md new file mode 100644 index 00000000000..397f834f795 --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime2-ukrainian/README.md @@ -0,0 +1,56 @@ +Ukrainian Language Module for datetime2 Package + +Author: Nicola L. C. Talbot (inactive) + Sergiy M. Ponomarenko + +Licence: LPPL + +Required Packages: datetime2, tracklang + +This module is unmaintained. If you want to volunteer to take over +the maintenance contact me at www.dickimaw-books.com/contact.html + +Example usage: + +\documentclass{article} +\usepackage[ukrainian]{datetime2} +\begin{document} +\today +\end{document} + +\documentclass[ukrainian]{article} +\usepackage{babel} +\usepackage[useregional]{datetime2} +\begin{document} +\today +\end{document} + +\documentclass{article} +\usepackage{polyglossia} +\setmainlanguage{ukrainian} +\usepackage[ukrainian]{datetime2} +\begin{document} +\today +\end{document} + +INSTALLATION +============ + +xelatex datetime2-ukrainian.ins + +Move all *.ldf files to +TEXMF/tex/latex/datetime2-contrib/datetime2-ukrainian/ + +Documentation: + +xelatex datetime2-ukrainian.dtx +xelatex datetime2-ukrainian.dtx +xelatex datetime2-ukrainian.dtx + +Move datetime2-ukrainian.pdf and README to +TEXMF/doc/latex/datetime2-contrib/datetime2-ukrainian/ + +This material is subject to the LaTeX Project Public License. +See http://www.ctan.org/license/lppl1.3 for the details of that +license. + diff --git a/Master/texmf-dist/doc/latex/datetime2-ukrainian/datetime2-ukrainian.pdf b/Master/texmf-dist/doc/latex/datetime2-ukrainian/datetime2-ukrainian.pdf index 9411b4844f4..01567c068ae 100644 Binary files a/Master/texmf-dist/doc/latex/datetime2-ukrainian/datetime2-ukrainian.pdf and b/Master/texmf-dist/doc/latex/datetime2-ukrainian/datetime2-ukrainian.pdf differ diff --git a/Master/texmf-dist/source/latex/datetime2-ukrainian/datetime2-ukrainian.dtx b/Master/texmf-dist/source/latex/datetime2-ukrainian/datetime2-ukrainian.dtx index 3b91651d5a4..a867baee52c 100644 --- a/Master/texmf-dist/source/latex/datetime2-ukrainian/datetime2-ukrainian.dtx +++ b/Master/texmf-dist/source/latex/datetime2-ukrainian/datetime2-ukrainian.dtx @@ -1,3 +1,5 @@ +% !TeX program = xelatex + %\iffalse %<*package> %% \CharacterTable @@ -35,10 +37,10 @@ pdfauthor={Nicola L.C. Talbot}, pdftitle={datetime2.sty Ukrainian Module}]{hyperref} -\newfontfamily\cyrillicfont{Liberation Serif} -\setmonofont{Liberation Mono} +\newfontfamily\cyrillicfont{CMU Serif} +\setmonofont{CMU Typewriter Text} -\CheckSum{567} +\CheckSum{1139} \renewcommand*{\usage}[1]{\hyperpage{#1}} \renewcommand*{\main}[1]{\hyperpage{#1}} @@ -61,8 +63,8 @@ %\MakeShortVerb{"} % %\title{Ukrainian Module for datetime2 Package} -%\author{Nicola L. C. Talbot (inactive)} -%\date{2015-04-01 (v1.0)} +%\author{Nicola L. C. Talbot (inactive)\\ Sergiy M. Ponomarenko} +%\date{2017-06-11 (v1.1)} %\maketitle % %This module is currently unmaintained and may be subject to change. @@ -117,10 +119,11 @@ %This file contains the settings that use UTF-8 characters. This %file is loaded if XeLaTeX or LuaLaTeX are used. Please make sure %your text editor is set to UTF-8 if you want to view this code. +%\changes{1.1}{2017-06-11}{Adding Ukrainian week days} %\changes{1.0}{2015-04-01}{Initial release} % Identify module % \begin{macrocode} -\ProvidesDateTimeModule{ukrainian-utf8}[2015/04/01 v1.0] +\ProvidesDateTimeModule{ukrainian-utf8}[2017/06/111 v1.1] % \end{macrocode} %\begin{macro}{\DTMukrainianordinal} % \begin{macrocode} @@ -208,8 +211,168 @@ % \end{macrocode} %\end{macro} % -%If abbreviated dates are supported, short month names should be -%likewise provided. +%\begin{macro}{\DTMukrainianshortmonthname} +% Abbreviated Ukrainian month names. +%\changes{1.01}{2017-06-11}{Add abbreviated month names} +% \begin{macrocode} +\newcommand*{\DTMukrainianshortmonthname}[1]{% + \ifcase#1 + \or + січ.% + \or + лют.% + \or + бер.% + \or + квіт.% + \or + трав% + \or + черв.% + \or + лип.% + \or + серп.% + \or + вер.% + \or + жовт.% + \or + листоп.% + \or + груд.% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianshortMonthname} +% As above but start with a capital. +% \begin{macrocode} +\newcommand*{\DTMukrainianshortMonthname}[1]{% + \ifcase#1 + \or + Січ.% + \or + Лют.% + \or + Бер.% + \or + Квіт.% + \or + Трав% + \or + Черв.% + \or + Лип.% + \or + Серп.% + \or + Вер.% + \or + Жовт.% + \or + Листоп.% + \or + Груд.% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianweekdayname} +% Ukrainian day of week names. +% \begin{macrocode} +\newcommand*{\DTMukrainianweekdayname}[1]{% + \ifcase#1 + понеділок% + \or + вівторок% + \or + середа% + \or + четвер% + \or + п'ятниця% + \or + субота% + \or + неділя% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianWeekdayname} +% As above but start with a capital. +% \begin{macrocode} +\newcommand*{\DTMukrainianWeekdayname}[1]{% + \ifcase#1 + Понеділок% + \or + Вівторок% + \or + Середа% + \or + Четвер% + \or + П'ятниця% + \or + Субота% + \or + Неділя% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianshortweekdayname} +% Abbreviated Romanian day of week names. +%\changes{1.01}{2017-06-11}{Add abbreviated day of week names} +% \begin{macrocode} +\newcommand*{\DTMukrainianshortweekdayname}[1]{% + \ifcase#1 + пн.% + \or + вт.% + \or + ср.% + \or + чт% + \or + пт.% + \or + сб.% + \or + нд.% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianshortWeekdayname} +% As above but start with a capital. +% \begin{macrocode} +\newcommand*{\DTMukrainianshortWeekdayname}[1]{% + \ifcase#1 + Пн.% + \or + Вт.% + \or + Ср.% + \or + Чт% + \or + Пт.% + \or + Сб.% + \or + Нд.% + \fi +} +% \end{macrocode} +%\end{macro} +% % %\iffalse % \begin{macrocode} @@ -342,6 +505,170 @@ % \end{macrocode} %\end{macro} % +%\begin{macro}{\DTMukrainianshortmonthname} +% Abbreviated Ukrainian month names. +%\changes{1.01}{2017-06-11}{Add abbreviated month names} +% \begin{macrocode} +\newcommand*{\DTMukrainianshortmonthname}[1]{% + \ifcase#1 + \or + \protect\cyrs\protect\cyrii\protect\cyrch. + \or + \protect\cyrl\protect\cyryu\protect\cyrt. + \or + \protect\cyrb\protect\cyre\protect\cyrr. + \or + \protect\cyrk\protect\cyrv\protect\cyrii\protect\cyrt. + \or + \protect\cyrt\protect\cyrr\protect\cyra\protect\cyrv. + \or + \protect\cyrch\protect\cyre\protect\cyrr\protect\cyrv. + \or + \protect\cyrl\protect\cyri\protect\cyrp. + \or + \protect\cyrs\protect\cyre\protect\cyrr\protect\cyrp. + \or + \protect\cyrv\protect\cyre\protect\cyrr. + \or + \protect\cyrzh\protect\cyro\protect\cyrv\protect\cyrt. + \or + \protect\cyrl\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro + \protect\cyrp. + \or + \protect\cyrg\protect\cyrr\protect\cyru\protect\cyrd. + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianshortMonthname} +% As above but start with a capital. +% \begin{macrocode} +\newcommand*{\DTMukrainianshortMonthname}[1]{% + \ifcase#1 + \or + \protect\CYRS\protect\cyrii\protect\cyrch. + \or + \protect\CYRL\protect\cyryu\protect\cyrt. + \or + \protect\CYRB\protect\cyre\protect\cyrr. + \or + \protect\CYRK\protect\cyrv\protect\cyrii\protect\cyrt. + \or + \protect\CYRT\protect\cyrr\protect\cyra\protect\cyrv. + \or + \protect\CYRCH\protect\cyre\protect\cyrr\protect\cyrv. + \or + \protect\CYRL\protect\cyri\protect\cyrp. + \or + \protect\CYRS\protect\cyre\protect\cyrr\protect\cyrp. + \or + \protect\CYRV\protect\cyre\protect\cyrr. + \or + \protect\CYRZH\protect\cyro\protect\cyrv\protect\cyrt. + \or + \protect\CYRL\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro + \protect\cyrp. + \or + \protect\CYRG\protect\cyrr\protect\cyru\protect\cyrd. + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianweekdayname} +% Ukrainian day of week names. +% \begin{macrocode} +\newcommand*{\DTMukrainianweekdayname}[1]{% + \ifcase#1 + \protect\cyrp\protect\cyro\protect\cyrn\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyro\protect\cyrk% + \or + \protect\cyrv\protect\cyrii\protect\cyrv\protect\cyrt\protect\cyro\protect\cyrr\protect\cyro\protect\cyrk% + \or + \protect\cyrs\protect\cyre\protect\cyrr\protect\cyre\protect\cyrd\protect\cyra% + \or + \protect\cyrch\protect\cyre\protect\cyrt\protect\cyrv\protect\cyre\protect\cyrr% + \or + \protect\cyrp'\protect\cyrya\protect\cyrt\protect\cyrn\protect\cyri\protect\cyrc\protect\cyrya% + \or + \protect\cyrs\protect\cyru\protect\cyrb\protect\cyro\protect\cyrt\protect\cyra% + \or + \protect\cyrn\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyrya% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianWeekdayname} +% As above but start with a capital. +% \begin{macrocode} +\newcommand*{\DTMukrainianWeekdayname}[1]{% + \ifcase#1 + \protect\CYRP\protect\cyro\protect\cyrn\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyro\protect\cyrk% + \or + \protect\CYRV\protect\cyrii\protect\cyrv\protect\cyrt\protect\cyro\protect\cyrr\protect\cyro\protect\cyrk% + \or + \protect\CYRS\protect\cyre\protect\cyrr\protect\cyre\protect\cyrd\protect\cyra% + \or + \protect\CYRCH\protect\cyre\protect\cyrt\protect\cyrv\protect\cyre\protect\cyrr% + \or + \protect\CYRP'\protect\cyrya\protect\cyrt\protect\cyrn\protect\cyri\protect\cyrc\protect\cyrya% + \or + \protect\CYRS\protect\cyru\protect\cyrb\protect\cyro\protect\cyrt\protect\cyra% + \or + \protect\CYRN\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyrya% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianshortweekdayname} +% Abbreviated Ukrainian day of week names. +%\changes{1.01}{2017-06-11}{Add abbreviated day of week names} +% \begin{macrocode} +\newcommand*{\DTMukrainianshortweekdayname}[1]{% + \ifcase#1 + \protect\cyrp\protect\cyrn.% + \or + \protect\cyrv\protect\cyrt.% + \or + \protect\cyrs\protect\cyrr.% + \or + \protect\cyrch\protect\cyrt% + \or + \protect\cyrp\protect\cyrt.% + \or + \protect\cyrs\protect\cyrb.% + \or + \protect\cyrn\protect\cyrd.% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMukrainianshortWeekdayname} +% As above but start with a capital. +% \begin{macrocode} +\newcommand*{\DTMukrainianshortWeekdayname}[1]{% + \ifcase#1 + \protect\CYRP\protect\cyrn.% + \or + \protect\CYRV\protect\cyrt.% + \or + \protect\CYRS\protect\cyrr.% + \or + \protect\CYRCH\protect\cyrt.% + \or + \protect\CYRP\protect\cyrt.% + \or + \protect\CYRS\protect\cyrb.% + \or + \protect\CYRN\protect\cyrd.% + \fi +} +% \end{macrocode} +%\end{macro} +% %\iffalse % \begin{macrocode} % @@ -359,7 +686,7 @@ % % Identify Module % \begin{macrocode} -\ProvidesDateTimeModule{ukrainian}[2015/04/01 v1.0] +\ProvidesDateTimeModule{ukrainian}[2017/06/11 v1.1] % \end{macrocode} % Need to find out if XeTeX or LuaTeX are being used. % \begin{macrocode} diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf index a48c7bcdaf5..6951d591ce9 100644 --- a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf @@ -24,6 +24,7 @@ %% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and %% datetime2-ukrainian.ldf. %% + %% \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 @@ -123,6 +124,132 @@ \protect\cyrya \fi } +\newcommand*{\DTMukrainianshortmonthname}[1]{% + \ifcase#1 + \or + \protect\cyrs\protect\cyrii\protect\cyrch. + \or + \protect\cyrl\protect\cyryu\protect\cyrt. + \or + \protect\cyrb\protect\cyre\protect\cyrr. + \or + \protect\cyrk\protect\cyrv\protect\cyrii\protect\cyrt. + \or + \protect\cyrt\protect\cyrr\protect\cyra\protect\cyrv. + \or + \protect\cyrch\protect\cyre\protect\cyrr\protect\cyrv. + \or + \protect\cyrl\protect\cyri\protect\cyrp. + \or + \protect\cyrs\protect\cyre\protect\cyrr\protect\cyrp. + \or + \protect\cyrv\protect\cyre\protect\cyrr. + \or + \protect\cyrzh\protect\cyro\protect\cyrv\protect\cyrt. + \or + \protect\cyrl\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro + \protect\cyrp. + \or + \protect\cyrg\protect\cyrr\protect\cyru\protect\cyrd. + \fi +} +\newcommand*{\DTMukrainianshortMonthname}[1]{% + \ifcase#1 + \or + \protect\CYRS\protect\cyrii\protect\cyrch. + \or + \protect\CYRL\protect\cyryu\protect\cyrt. + \or + \protect\CYRB\protect\cyre\protect\cyrr. + \or + \protect\CYRK\protect\cyrv\protect\cyrii\protect\cyrt. + \or + \protect\CYRT\protect\cyrr\protect\cyra\protect\cyrv. + \or + \protect\CYRCH\protect\cyre\protect\cyrr\protect\cyrv. + \or + \protect\CYRL\protect\cyri\protect\cyrp. + \or + \protect\CYRS\protect\cyre\protect\cyrr\protect\cyrp. + \or + \protect\CYRV\protect\cyre\protect\cyrr. + \or + \protect\CYRZH\protect\cyro\protect\cyrv\protect\cyrt. + \or + \protect\CYRL\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro + \protect\cyrp. + \or + \protect\CYRG\protect\cyrr\protect\cyru\protect\cyrd. + \fi +} +\newcommand*{\DTMukrainianweekdayname}[1]{% + \ifcase#1 + \protect\cyrp\protect\cyro\protect\cyrn\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyro\protect\cyrk% + \or + \protect\cyrv\protect\cyrii\protect\cyrv\protect\cyrt\protect\cyro\protect\cyrr\protect\cyro\protect\cyrk% + \or + \protect\cyrs\protect\cyre\protect\cyrr\protect\cyre\protect\cyrd\protect\cyra% + \or + \protect\cyrch\protect\cyre\protect\cyrt\protect\cyrv\protect\cyre\protect\cyrr% + \or + \protect\cyrp'\protect\cyrya\protect\cyrt\protect\cyrn\protect\cyri\protect\cyrc\protect\cyrya% + \or + \protect\cyrs\protect\cyru\protect\cyrb\protect\cyro\protect\cyrt\protect\cyra% + \or + \protect\cyrn\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyrya% + \fi +} +\newcommand*{\DTMukrainianWeekdayname}[1]{% + \ifcase#1 + \protect\CYRP\protect\cyro\protect\cyrn\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyro\protect\cyrk% + \or + \protect\CYRV\protect\cyrii\protect\cyrv\protect\cyrt\protect\cyro\protect\cyrr\protect\cyro\protect\cyrk% + \or + \protect\CYRS\protect\cyre\protect\cyrr\protect\cyre\protect\cyrd\protect\cyra% + \or + \protect\CYRCH\protect\cyre\protect\cyrt\protect\cyrv\protect\cyre\protect\cyrr% + \or + \protect\CYRP'\protect\cyrya\protect\cyrt\protect\cyrn\protect\cyri\protect\cyrc\protect\cyrya% + \or + \protect\CYRS\protect\cyru\protect\cyrb\protect\cyro\protect\cyrt\protect\cyra% + \or + \protect\CYRN\protect\cyre\protect\cyrd\protect\cyrii\protect\cyrl\protect\cyrya% + \fi +} +\newcommand*{\DTMukrainianshortweekdayname}[1]{% + \ifcase#1 + \protect\cyrp\protect\cyrn.% + \or + \protect\cyrv\protect\cyrt.% + \or + \protect\cyrs\protect\cyrr.% + \or + \protect\cyrch\protect\cyrt% + \or + \protect\cyrp\protect\cyrt.% + \or + \protect\cyrs\protect\cyrb.% + \or + \protect\cyrn\protect\cyrd.% + \fi +} +\newcommand*{\DTMukrainianshortWeekdayname}[1]{% + \ifcase#1 + \protect\CYRP\protect\cyrn.% + \or + \protect\CYRV\protect\cyrt.% + \or + \protect\CYRS\protect\cyrr.% + \or + \protect\CYRCH\protect\cyrt.% + \or + \protect\CYRP\protect\cyrt.% + \or + \protect\CYRS\protect\cyrb.% + \or + \protect\CYRN\protect\cyrd.% + \fi +} \endinput %% %% End of file `datetime2-ukrainian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf index b2f38c039b9..1a9fef187dd 100644 --- a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf @@ -24,6 +24,7 @@ %% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and %% datetime2-ukrainian.ldf. %% + %% \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 @@ -39,7 +40,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{ukrainian-utf8}[2015/04/01 v1.0] +\ProvidesDateTimeModule{ukrainian-utf8}[2017/06/111 v1.1] \newcommand*{\DTMukrainianordinal}[1]{% \number#1 } @@ -103,6 +104,130 @@ Грудня% \fi } +\newcommand*{\DTMukrainianshortmonthname}[1]{% + \ifcase#1 + \or + січ.% + \or + лют.% + \or + бер.% + \or + квіт.% + \or + трав% + \or + черв.% + \or + лип.% + \or + серп.% + \or + вер.% + \or + жовт.% + \or + листоп.% + \or + груд.% + \fi +} +\newcommand*{\DTMukrainianshortMonthname}[1]{% + \ifcase#1 + \or + Січ.% + \or + Лют.% + \or + Бер.% + \or + Квіт.% + \or + Трав% + \or + Черв.% + \or + Лип.% + \or + Серп.% + \or + Вер.% + \or + Жовт.% + \or + Листоп.% + \or + Груд.% + \fi +} +\newcommand*{\DTMukrainianweekdayname}[1]{% + \ifcase#1 + понеділок% + \or + вівторок% + \or + середа% + \or + четвер% + \or + п'ятниця% + \or + субота% + \or + неділя% + \fi +} +\newcommand*{\DTMukrainianWeekdayname}[1]{% + \ifcase#1 + Понеділок% + \or + Вівторок% + \or + Середа% + \or + Четвер% + \or + П'ятниця% + \or + Субота% + \or + Неділя% + \fi +} +\newcommand*{\DTMukrainianshortweekdayname}[1]{% + \ifcase#1 + пн.% + \or + вт.% + \or + ср.% + \or + чт% + \or + пт.% + \or + сб.% + \or + нд.% + \fi +} +\newcommand*{\DTMukrainianshortWeekdayname}[1]{% + \ifcase#1 + Пн.% + \or + Вт.% + \or + Ср.% + \or + Чт% + \or + Пт.% + \or + Сб.% + \or + Нд.% + \fi +} \endinput %% %% End of file `datetime2-ukrainian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf index 05564019e9b..62660f7cf62 100644 --- a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf @@ -24,6 +24,7 @@ %% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and %% datetime2-ukrainian.ldf. %% + %% \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 @@ -39,7 +40,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{ukrainian}[2015/04/01 v1.0] +\ProvidesDateTimeModule{ukrainian}[2017/06/11 v1.1] \RequirePackage{ifxetex,ifluatex} \ifxetex \RequireDateTimeModule{ukrainian-utf8} -- cgit v1.2.3