From 4ef3da7511c0b4fa5799b0f27d44c97819e0f974 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 6 Dec 2022 21:16:42 +0000 Subject: datetime2-icelandic (6dec22) git-svn-id: svn://tug.org/texlive/trunk@65213 c570f23f-e606-0410-a88d-b1316a301751 --- .../datetime2-icelandic/datetime2-icelandic.pdf | Bin 81343 -> 74008 bytes .../datetime2-icelandic/datetime2-icelandic.dtx | 43 +++++++++++---------- .../datetime2-icelandic/datetime2-icelandic.ins | 2 +- .../datetime2-icelandic-ascii.ldf | 8 ++-- .../datetime2-icelandic-utf8.ldf | 8 ++-- .../datetime2-icelandic/datetime2-icelandic.ldf | 8 ++-- 6 files changed, 35 insertions(+), 34 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/datetime2-icelandic/datetime2-icelandic.pdf b/Master/texmf-dist/doc/latex/datetime2-icelandic/datetime2-icelandic.pdf index 501065608f2..bbc2d840040 100644 Binary files a/Master/texmf-dist/doc/latex/datetime2-icelandic/datetime2-icelandic.pdf and b/Master/texmf-dist/doc/latex/datetime2-icelandic/datetime2-icelandic.pdf differ diff --git a/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx b/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx index 560bcdb1d2f..c8dc7570e14 100644 --- a/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx +++ b/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx @@ -19,7 +19,7 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2018 Nicola Talbot, all rights reserved. +% Copyright (C) 2018-2022 Nicola Talbot, all rights reserved. % (New maintainer add relevant lines here.) % \fi % \iffalse @@ -30,8 +30,6 @@ \usepackage{graphicx} \usepackage{fontspec} \usepackage[colorlinks, - bookmarks, - hyperindex=false, pdfauthor={Nicola L.C. Talbot}, pdftitle={datetime2.sty Icelandic Module}]{hyperref} @@ -40,13 +38,10 @@ \CheckSum{300} -\renewcommand*{\usage}[1]{\hyperpage{#1}} -\renewcommand*{\main}[1]{\hyperpage{#1}} -\IndexPrologue{\section*{\indexname}\markboth{\indexname}{\indexname}} \setcounter{IndexColumns}{2} \newcommand*{\sty}[1]{\textsf{#1}} -\newcommand*{\opt}[1]{\texttt{#1}\index{#1=\texttt{#1}|main}} +\newcommand*{\opt}[1]{\texttt{#1}} \RecordChanges \PageIndex @@ -62,12 +57,12 @@ % %\title{Icelandic Module for datetime2 Package} %\author{Nicola L. C. Talbot (inactive)} -%\date{2018-04-24 (v1.1)} +%\date{2022-12-06 (v1.2)} %\maketitle % %This module is currently unmaintained and may be subject to change. -%If you want to volunteer to take over maintanance, contact me at -%\url{http://www.dickimaw-books.com/contact.html} +%If you want to volunteer to take over maintenance, contact me at +%\url{https://www.dickimaw-books.com/contact.html} % %\begin{abstract} %This is the Icelandic language module for the \sty{datetime2} @@ -103,9 +98,7 @@ %\StopEventually{% %\clearpage %\phantomsection -%\addcontentsline{toc}{section}{Change History}% %\PrintChanges -%\addcontentsline{toc}{section}{\indexname}% %\PrintIndex} %\section{The Code} %\iffalse @@ -120,7 +113,7 @@ %\changes{1.0}{2015-03-30}{Initial release} % Identify module % \begin{macrocode} -\ProvidesDateTimeModule{icelandic-utf8}[2018/04/24 v1.1] +\ProvidesDateTimeModule{icelandic-utf8}[2022/12/06 v1.2] % \end{macrocode} %\begin{macro}{\DTMicelandicordinal} % \begin{macrocode} @@ -133,6 +126,7 @@ % %\begin{macro}{\DTMicelandicmonthname} % Icelandic month names. +%\changes{1.2}{2022-12-06}{corrected desember} % \begin{macrocode} \newcommand*{\DTMicelandicmonthname}[1]{% \ifcase#1 @@ -159,7 +153,7 @@ \or nóvember% \or - desembe% + desember% \fi } % \end{macrocode} @@ -167,6 +161,7 @@ % %\begin{macro}{\DTMicelandicMonthname} % As above but capitalize. +%\changes{1.2}{2022-12-06}{corrected Desember} % \begin{macrocode} \newcommand*{\DTMicelandicMonthname}[1]{% \ifcase#1 @@ -193,7 +188,7 @@ \or Nóvember% \or - Desembe% + Desember% \fi } % \end{macrocode} @@ -223,7 +218,7 @@ %\changes{1.0}{2015-03-30}{Initial release} % Identify module % \begin{macrocode} -\ProvidesDateTimeModule{icelandic-ascii}[2018/04/24 v1.1] +\ProvidesDateTimeModule{icelandic-ascii}[2022/12/06 v1.2] % \end{macrocode} % %If abbreviated dates are supported, short month names should be @@ -238,6 +233,7 @@ % %\begin{macro}{\DTMicelandicmonthname} % Icelandic month names. +%\changes{1.2}{2022-12-06}{corrected desember} % \begin{macrocode} \newcommand*{\DTMicelandicmonthname}[1]{% \ifcase#1 @@ -264,13 +260,14 @@ \or n\protect\'ovember% \or - desembe% + desember% \fi } % \end{macrocode} %\end{macro} % %\begin{macro}{\DTMicelandicMonthname} +%\changes{1.2}{2022-12-06}{corrected Desember} % As above but capitalize. % \begin{macrocode} \newcommand*{\DTMicelandicMonthname}[1]{% @@ -298,7 +295,7 @@ \or N\protect\'ovember% \or - Desembe% + Desember% \fi } % \end{macrocode} @@ -322,15 +319,19 @@ % % Identify Module % \begin{macrocode} -\ProvidesDateTimeModule{icelandic}[2018/04/24 v1.1] +\ProvidesDateTimeModule{icelandic}[2022/12/06 v1.2] % \end{macrocode} % Need to find out if XeTeX or LuaTeX are being used. +%\changes{1.2}{2022-12-06}{switched to iftex} % \begin{macrocode} -\RequirePackage{ifxetex,ifluatex} +\RequirePackage{iftex} % \end{macrocode} % XeTeX and LuaTeX natively support UTF-8, so load % \texttt{icelandic-utf8} if either of those engines are used % otherwise load \texttt{icelandic-ascii}. +% Modern LaTeX kernels have much better support for UTF-8, so +% a test could also be added to determine if \cs{inputencoding} is +% \texttt{utf8}. % \begin{macrocode} \ifxetex \RequireDateTimeModule{icelandic-utf8} @@ -543,7 +544,7 @@ }% {% time style \renewcommand*\DTMdisplaytime[3]{% - \number##1 + \number##1 % space intended \DTMicelandictimesep\DTMtwodigits{##2}% \ifDTMshowseconds\DTMicelandictimesep\DTMtwodigits{##3}\fi }% diff --git a/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins b/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins index c2d0571be56..664141dbb6a 100644 --- a/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins +++ b/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins @@ -3,7 +3,7 @@ \preamble datetime2-icelandic.dtx - Copyright 2018 Nicola Talbot + Copyright 2018-2022 Nicola Talbot This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf index da279aff104..ce8cf0ff9c3 100644 --- a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf @@ -7,7 +7,7 @@ %% datetime2-icelandic.dtx (with options: `datetime2-icelandic-ascii.ldf,package') %% %% datetime2-icelandic.dtx -%% Copyright 2018 Nicola Talbot +%% Copyright 2018-2022 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -39,7 +39,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{icelandic-ascii}[2018/04/24 v1.1] +\ProvidesDateTimeModule{icelandic-ascii}[2022/12/06 v1.2] \newcommand*{\DTMicelandicordinal}[1]{% \number#1.% } @@ -68,7 +68,7 @@ \or n\protect\'ovember% \or - desembe% + desember% \fi } \newcommand*{\DTMicelandicMonthname}[1]{% @@ -96,7 +96,7 @@ \or N\protect\'ovember% \or - Desembe% + Desember% \fi } \endinput diff --git a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf index 3dbc18f0f52..95cedbe0904 100644 --- a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf @@ -7,7 +7,7 @@ %% datetime2-icelandic.dtx (with options: `datetime2-icelandic-utf8.ldf,package') %% %% datetime2-icelandic.dtx -%% Copyright 2018 Nicola Talbot +%% Copyright 2018-2022 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -39,7 +39,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{icelandic-utf8}[2018/04/24 v1.1] +\ProvidesDateTimeModule{icelandic-utf8}[2022/12/06 v1.2] \newcommand*{\DTMicelandicordinal}[1]{% \number#1.% } @@ -68,7 +68,7 @@ \or nóvember% \or - desembe% + desember% \fi } \newcommand*{\DTMicelandicMonthname}[1]{% @@ -96,7 +96,7 @@ \or Nóvember% \or - Desembe% + Desember% \fi } \endinput diff --git a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf index 6ad1271b699..c6ba9a44737 100644 --- a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf @@ -7,7 +7,7 @@ %% datetime2-icelandic.dtx (with options: `datetime2-icelandic.ldf,package') %% %% datetime2-icelandic.dtx -%% Copyright 2018 Nicola Talbot +%% Copyright 2018-2022 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -39,8 +39,8 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{icelandic}[2018/04/24 v1.1] -\RequirePackage{ifxetex,ifluatex} +\ProvidesDateTimeModule{icelandic}[2022/12/06 v1.2] +\RequirePackage{iftex} \ifxetex \RequireDateTimeModule{icelandic-utf8} \else @@ -163,7 +163,7 @@ }% {% time style \renewcommand*\DTMdisplaytime[3]{% - \number##1 + \number##1 % space intended \DTMicelandictimesep\DTMtwodigits{##2}% \ifDTMshowseconds\DTMicelandictimesep\DTMtwodigits{##3}\fi }% -- cgit v1.2.3