summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-24 23:55:40 +0000
committerKarl Berry <karl@freefriends.org>2007-04-24 23:55:40 +0000
commita3b51f6f68d0fe50bab2eaf0a7734b46f31003b4 (patch)
treef73af399ba949efb552802336e44a6a1707897f6 /Master
parentc65c25c59074eaa09621f4fd782362b2c5227e32 (diff)
datetime 2.51 (24apr07)
git-svn-id: svn://tug.org/texlive/trunk@4183 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/datetime/CHANGES3
-rw-r--r--Master/texmf-dist/doc/latex/datetime/README7
-rw-r--r--Master/texmf-dist/doc/latex/datetime/datetime.pdfbin160912 -> 160888 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime/datetime.perl28
-rw-r--r--Master/texmf-dist/doc/latex/datetime/manual.html10
-rw-r--r--Master/texmf-dist/source/latex/datetime/datetime.dtx40
-rw-r--r--Master/texmf-dist/source/latex/datetime/datetime.ins2
-rw-r--r--Master/texmf-dist/tex/latex/datetime/datetime.sty6
-rw-r--r--Master/texmf-dist/tpm/datetime.tpm10
9 files changed, 66 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime/CHANGES b/Master/texmf-dist/doc/latex/datetime/CHANGES
index 9e360fd205b..4c7b14e1d29 100644
--- a/Master/texmf-dist/doc/latex/datetime/CHANGES
+++ b/Master/texmf-dist/doc/latex/datetime/CHANGES
@@ -1,5 +1,8 @@
datetime.sty history
+Version 2.52: fixed bug in \textdate arising from change in
+fmtcount internals.
+
Version 2.51: fixed time between midnight and 1am
Version 2.5: Added (n)german week day names (thanks to Uwe Bieling)
diff --git a/Master/texmf-dist/doc/latex/datetime/README b/Master/texmf-dist/doc/latex/datetime/README
index ca9c30b422e..556a0154b69 100644
--- a/Master/texmf-dist/doc/latex/datetime/README
+++ b/Master/texmf-dist/doc/latex/datetime/README
@@ -1,6 +1,6 @@
-LaTeX Package : datetime v 2.51
+LaTeX Package : datetime v 2.52
-Last Modified : 30 January 2007
+Last Modified : 21 April 2007
Author : Nicola Talbot
@@ -36,6 +36,9 @@ makeindex -s gglo.ist -t datetime.glg -o datetime.gls datetime.glo
latex datetime.dtx
latex datetime.dtx
+(If you want the documented source code, remove the command
+\OnlyDescription from datetime.dtx before doing the above.)
+
Place the resulting file (datetime.dvi) into the documentation
directory (e.g. texmf/doc/latex/datetime/).
diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.pdf b/Master/texmf-dist/doc/latex/datetime/datetime.pdf
index 6e0db97efe6..6a0adda2c59 100644
--- a/Master/texmf-dist/doc/latex/datetime/datetime.pdf
+++ b/Master/texmf-dist/doc/latex/datetime/datetime.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.perl b/Master/texmf-dist/doc/latex/datetime/datetime.perl
index 1b557a51a7b..012f42b6c73 100644
--- a/Master/texmf-dist/doc/latex/datetime/datetime.perl
+++ b/Master/texmf-dist/doc/latex/datetime/datetime.perl
@@ -1,7 +1,7 @@
# File : datetime.perl
# Author : Nicola Talbot
-# Date : 17 Jan 2007
-# Version : 1.02
+# Date : 21 Apr 2007
+# Version : 1.03
# Description : LaTeX2HTML implementation of datetime package.
# set up default values for internal counters.
@@ -1359,14 +1359,6 @@ sub format_date{
local($br_id) = ++$global{'max_id'};
$str =~ s/{ORDINALDATE{DAY}}/\\ordinaldate${OP}$br_id${CP}$day${OP}$br_id${CP}/g;
- $str =~ s/{NUMBERSTRING{DAY}}/&get_numberstring($day)/eg;
- $str =~ s/{NUMBERSTRING{MONTH}}/&get_numberstring($month)/eg;
- $str =~ s/{NUMBERSTRING{YEAR}}/&get_numberstring($year)/eg;
-
- $str =~ s/{ORDINALSTRING{DAY}}/&get_ordinalstring($day)/eg;
- $str =~ s/{ORDINALSTRING{MONTH}}/&get_ordinalstring($month)/eg;
- $str =~ s/{ORDINALSTRING{YEAR}}/&get_ordinalstring($year)/eg;
-
$str =~ s/{NNUMBERSTRING{DAY}}/&get_Numberstring($day)/eg;
$str =~ s/{NNUMBERSTRING{MONTH}}/&get_Numberstring($month)/eg;
$str =~ s/{NNUMBERSTRING{YEAR}}/&get_Numberstring($year)/eg;
@@ -1375,6 +1367,22 @@ sub format_date{
$str =~ s/{OORDINALSTRING{MONTH}}/&get_Ordinalstring($month)/eg;
$str =~ s/{OORDINALSTRING{YEAR}}/&get_Ordinalstring($year)/eg;
+ $str =~ s/{CAPNUMBERSTRING{DAY}}/uc(&get_numberstring($day))/eg;
+ $str =~ s/{CAPNUMBERSTRING{MONTH}}/uc(&get_numberstring($month))/eg;
+ $str =~ s/{CAPNUMBERSTRING{YEAR}}/uc(&get_numberstring($year))/eg;
+
+ $str =~ s/{CAPORDINALSTRING{DAY}}/uc(&get_ordinalstring($day))/eg;
+ $str =~ s/{CAPORDINALSTRING{MONTH}}/uc(&get_ordinalstring($month))/eg;
+ $str =~ s/{CAPORDINALSTRING{YEAR}}/uc(&get_ordinalstring($year))/eg;
+
+ $str =~ s/{NUMBERSTRING{DAY}}/&get_numberstring($day)/eg;
+ $str =~ s/{NUMBERSTRING{MONTH}}/&get_numberstring($month)/eg;
+ $str =~ s/{NUMBERSTRING{YEAR}}/&get_numberstring($year)/eg;
+
+ $str =~ s/{ORDINALSTRING{DAY}}/&get_ordinalstring($day)/eg;
+ $str =~ s/{ORDINALSTRING{MONTH}}/&get_ordinalstring($month)/eg;
+ $str =~ s/{ORDINALSTRING{YEAR}}/&get_ordinalstring($year)/eg;
+
$str;
}
diff --git a/Master/texmf-dist/doc/latex/datetime/manual.html b/Master/texmf-dist/doc/latex/datetime/manual.html
index 402a77dfc15..eb0dd84c4eb 100644
--- a/Master/texmf-dist/doc/latex/datetime/manual.html
+++ b/Master/texmf-dist/doc/latex/datetime/manual.html
@@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
-<TITLE>datetime.sty v2.51: Formatting Current Date and Time</TITLE>
-<META NAME="description" CONTENT="datetime.sty v2.51: Formatting Current Date and Time">
+<TITLE>datetime.sty v2.52: Formatting Current Date and Time</TITLE>
+<META NAME="description" CONTENT="datetime.sty v2.52: Formatting Current Date and Time">
<META NAME="keywords" CONTENT="manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
@@ -34,10 +34,10 @@ original version by: Nikos Drakos, CBLU, University of Leeds
<P>
- <H1 ALIGN="CENTER">datetime.sty v2.51: Formatting Current Date and
+ <H1 ALIGN="CENTER">datetime.sty v2.52: Formatting Current Date and
Time</H1>
<P ALIGN="CENTER"><STRONG>Nicola L.C. Talbot</STRONG></P>
-<P ALIGN="CENTER"><STRONG>30 Jan 2007</STRONG></P>
+<P ALIGN="CENTER"><STRONG>21 April 2007</STRONG></P>
<BR>
<H2><A NAME="SECTION00010000000000000000">
@@ -864,7 +864,7 @@ to Uwe Bieling for supplying the German names
<A href=http://theoval.cmp.uea.ac.uk/~nlct/>Nicola L. C. Talbot</A>.
<A HREF=http://www.cmp.uea.ac.uk/>School of Computing Sciences</A>.
<A HREF=http://www.uea.ac.uk/>University of East Anglia.</A>
-Last Modified: 2007-01-30
+Last Modified: 2007-04-21
</ADDRESS>
</BODY>
</HTML>
diff --git a/Master/texmf-dist/source/latex/datetime/datetime.dtx b/Master/texmf-dist/source/latex/datetime/datetime.dtx
index 641a2b33013..5a2c06c745a 100644
--- a/Master/texmf-dist/source/latex/datetime/datetime.dtx
+++ b/Master/texmf-dist/source/latex/datetime/datetime.dtx
@@ -11,7 +11,7 @@
% -author "Nicola Talbot"
% -dir "source"
% datetime
-% Created on 2007/1/30 22:55
+% Created on 2007/4/21 19:13
%\fi
%\iffalse
%<*package>
@@ -58,12 +58,12 @@
%
%\RecordChanges
%\OnlyDescription
-%\def\docdate{30 Jan 2007}
+%\def\docdate{21 April 2007}
%
%\changes{v2.46}{30 Sep 2005}{'today defined using 'DeclareRobustCommand}
%\changes{v2.41}{22 Oct 2004}{'today defined using 'providecommand instead of 'renewcommand}
%
-% \title{datetime.sty v2.51: Formatting Current Date and
+% \title{datetime.sty v2.52: Formatting Current Date and
%Time}
% \author{Nicola L.C. Talbot}
% \date{\docdate}
@@ -662,7 +662,7 @@
% This section documents the code for \texttt{datetime.sty}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime}[2007/01/30 v2.51 Date Time Package]
+\ProvidesPackage{datetime}[2007/04/21 v2.52 Date Time Package]
% \end{macrocode}
%\texttt{fmtcount.sty} needs to be loaded here as it defines the command |\fmtord| which may be redefined later:
% \begin{macrocode}
@@ -814,7 +814,9 @@
\renewcommand*{\formatdate}[3]{%
\ifshowdow\dayofweekname{##1}{##2}{##3} the \fi
\@day=##1\relax\@month=##2\relax\@year=##3\relax
-\@Ordinalstring\@day\ of \monthname[\@month], \@Numberstring\@year}}
+\Ordinalstringnum{\@day}\ of \monthname[\@month],
+\Numberstringnum{\@year}%
+}}
% \end{macrocode}
% US format (as per original definition of |\today|)
% \begin{macrocode}
@@ -3867,8 +3869,8 @@ Month numbers should go from 1 to 12}%
% \begin{macrocode}
# File : datetime.perl
# Author : Nicola Talbot
-# Date : 17 Jan 2007
-# Version : 1.02
+# Date : 21 Apr 2007
+# Version : 1.03
# Description : LaTeX2HTML implementation of datetime package.
# set up default values for internal counters.
@@ -5226,14 +5228,6 @@ sub format_date{
local($br_id) = ++$global{'max_id'};
$str =~ s/{ORDINALDATE{DAY}}/\\ordinaldate${OP}$br_id${CP}$day${OP}$br_id${CP}/g;
- $str =~ s/{NUMBERSTRING{DAY}}/&get_numberstring($day)/eg;
- $str =~ s/{NUMBERSTRING{MONTH}}/&get_numberstring($month)/eg;
- $str =~ s/{NUMBERSTRING{YEAR}}/&get_numberstring($year)/eg;
-
- $str =~ s/{ORDINALSTRING{DAY}}/&get_ordinalstring($day)/eg;
- $str =~ s/{ORDINALSTRING{MONTH}}/&get_ordinalstring($month)/eg;
- $str =~ s/{ORDINALSTRING{YEAR}}/&get_ordinalstring($year)/eg;
-
$str =~ s/{NNUMBERSTRING{DAY}}/&get_Numberstring($day)/eg;
$str =~ s/{NNUMBERSTRING{MONTH}}/&get_Numberstring($month)/eg;
$str =~ s/{NNUMBERSTRING{YEAR}}/&get_Numberstring($year)/eg;
@@ -5242,6 +5236,22 @@ sub format_date{
$str =~ s/{OORDINALSTRING{MONTH}}/&get_Ordinalstring($month)/eg;
$str =~ s/{OORDINALSTRING{YEAR}}/&get_Ordinalstring($year)/eg;
+ $str =~ s/{CAPNUMBERSTRING{DAY}}/uc(&get_numberstring($day))/eg;
+ $str =~ s/{CAPNUMBERSTRING{MONTH}}/uc(&get_numberstring($month))/eg;
+ $str =~ s/{CAPNUMBERSTRING{YEAR}}/uc(&get_numberstring($year))/eg;
+
+ $str =~ s/{CAPORDINALSTRING{DAY}}/uc(&get_ordinalstring($day))/eg;
+ $str =~ s/{CAPORDINALSTRING{MONTH}}/uc(&get_ordinalstring($month))/eg;
+ $str =~ s/{CAPORDINALSTRING{YEAR}}/uc(&get_ordinalstring($year))/eg;
+
+ $str =~ s/{NUMBERSTRING{DAY}}/&get_numberstring($day)/eg;
+ $str =~ s/{NUMBERSTRING{MONTH}}/&get_numberstring($month)/eg;
+ $str =~ s/{NUMBERSTRING{YEAR}}/&get_numberstring($year)/eg;
+
+ $str =~ s/{ORDINALSTRING{DAY}}/&get_ordinalstring($day)/eg;
+ $str =~ s/{ORDINALSTRING{MONTH}}/&get_ordinalstring($month)/eg;
+ $str =~ s/{ORDINALSTRING{YEAR}}/&get_ordinalstring($year)/eg;
+
$str;
}
diff --git a/Master/texmf-dist/source/latex/datetime/datetime.ins b/Master/texmf-dist/source/latex/datetime/datetime.ins
index afd34260cc5..44e541c8675 100644
--- a/Master/texmf-dist/source/latex/datetime/datetime.ins
+++ b/Master/texmf-dist/source/latex/datetime/datetime.ins
@@ -1,4 +1,4 @@
-% datetime.ins generated using makedtx version 0.91b 2007/1/30 22:55
+% datetime.ins generated using makedtx version 0.91b 2007/4/21 19:13
\input docstrip
\preamble
diff --git a/Master/texmf-dist/tex/latex/datetime/datetime.sty b/Master/texmf-dist/tex/latex/datetime/datetime.sty
index 15f0e51d927..c26f32b35b1 100644
--- a/Master/texmf-dist/tex/latex/datetime/datetime.sty
+++ b/Master/texmf-dist/tex/latex/datetime/datetime.sty
@@ -27,7 +27,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime}[2007/01/30 v2.51 Date Time Package]
+\ProvidesPackage{datetime}[2007/04/21 v2.52 Date Time Package]
\RequirePackage{fmtcount}
\newif\if@dt@nodate
\@dt@nodatefalse
@@ -92,7 +92,9 @@
\renewcommand*{\formatdate}[3]{%
\ifshowdow\dayofweekname{##1}{##2}{##3} the \fi
\@day=##1\relax\@month=##2\relax\@year=##3\relax
-\@Ordinalstring\@day\ of \monthname[\@month], \@Numberstring\@year}}
+\Ordinalstringnum{\@day}\ of \monthname[\@month],
+\Numberstringnum{\@year}%
+}}
\DeclareRobustCommand*{\usdate}{%
\renewcommand*{\formatdate}[3]{%
\@day=##1\relax\@month=##2\relax\@year=##3\relax
diff --git a/Master/texmf-dist/tpm/datetime.tpm b/Master/texmf-dist/tpm/datetime.tpm
index 60289d71c96..8dc1b034eed 100644
--- a/Master/texmf-dist/tpm/datetime.tpm
+++ b/Master/texmf-dist/tpm/datetime.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/datetime.zip">
<TPM:Name>datetime</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2007/04/08 17:46:17</TPM:Date>
+ <TPM:Date>2007/04/24 23:55:30</TPM:Date>
<TPM:Version>1.1</TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>
@@ -21,10 +21,10 @@ as macros for displaying the value of LaTeX counter as a string
[description copied from TeX Catalogue]
</TPM:Description>
<TPM:Author>Nicola Talbot</TPM:Author>
- <TPM:Size>505705</TPM:Size>
+ <TPM:Size>514452</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="121775">
+ <TPM:RunFiles size="121785">
texmf-dist/tex/latex/datetime/datetime.sty
texmf-dist/tex/latex/datetime/dt-austrian.def
texmf-dist/tex/latex/datetime/dt-bahasa.def
@@ -70,7 +70,7 @@ texmf-dist/tex/latex/datetime/dt-usorbian.def
texmf-dist/tex/latex/datetime/dt-welsh.def
texmf-dist/tpm/datetime.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="233220">
+ <TPM:DocFiles size="233826">
texmf-dist/doc/latex/datetime/CHANGES
texmf-dist/doc/latex/datetime/README
texmf-dist/doc/latex/datetime/datetime.pdf
@@ -78,7 +78,7 @@ texmf-dist/doc/latex/datetime/datetime.perl
texmf-dist/doc/latex/datetime/dt-sampl.tex
texmf-dist/doc/latex/datetime/manual.html
</TPM:DocFiles>
- <TPM:SourceFiles size="159457">
+ <TPM:SourceFiles size="159898">
texmf-dist/source/latex/datetime/datetime.dtx
texmf-dist/source/latex/datetime/datetime.ins
</TPM:SourceFiles>