texlive[65213] Master/texmf-dist: datetime2-icelandic (6dec22)

commits+karl at tug.org commits+karl at tug.org
Tue Dec 6 22:16:43 CET 2022


Revision: 65213
          http://tug.org/svn/texlive?view=revision&revision=65213
Author:   karl
Date:     2022-12-06 22:16:42 +0100 (Tue, 06 Dec 2022)
Log Message:
-----------
datetime2-icelandic (6dec22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/datetime2-icelandic/datetime2-icelandic.pdf
    trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx
    trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins
    trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf
    trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf
    trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf

Modified: trunk/Master/texmf-dist/doc/latex/datetime2-icelandic/datetime2-icelandic.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx	2022-12-06 00:50:05 UTC (rev 65212)
+++ trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.dtx	2022-12-06 21:16:42 UTC (rev 65213)
@@ -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,7 +260,7 @@
   \or
   n\protect\'ovember%
   \or
-  desembe%
+  desember%
   \fi
 }
 %    \end{macrocode}
@@ -271,6 +267,7 @@
 %\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
     }%

Modified: trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins	2022-12-06 00:50:05 UTC (rev 65212)
+++ trunk/Master/texmf-dist/source/latex/datetime2-icelandic/datetime2-icelandic.ins	2022-12-06 21:16:42 UTC (rev 65213)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf	2022-12-06 00:50:05 UTC (rev 65212)
+++ trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf	2022-12-06 21:16:42 UTC (rev 65213)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf	2022-12-06 00:50:05 UTC (rev 65212)
+++ trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf	2022-12-06 21:16:42 UTC (rev 65213)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf	2022-12-06 00:50:05 UTC (rev 65212)
+++ trunk/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf	2022-12-06 21:16:42 UTC (rev 65213)
@@ -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
     }%



More information about the tex-live-commits mailing list.