CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ macros/ latex/ contrib/ isodate

You can get this entire directory bundled as isodate.zip.

Packages located here

Package Caption
isodate Tune the output format of dates according to language.

Subdirectories of this one

There are no subdirectories here.

Files in this directory

NameDateSize Description
ChangeLog 2005-04-15 3 Kbyte download
Makefile 2005-03-11 2 Kbyte download
README 2005-04-25 2 Kbyte download Shown below
getversion.tex 2003-12-06 151 bytes download
isodate.dtx 2005-04-15 113 Kbyte download
isodate.ins 2005-04-15 987 bytes download
isodate.pdf 2005-04-15 240 Kbyte download
isodate.xml 2005-04-25 1 Kbyte download
isodateo.dtx 2004-02-12 17 Kbyte download
isodateo.pdf 2005-03-10 132 Kbyte download
testdate.pdf 2005-04-15 87 Kbyte download
testdate.tex 2005-04-15 4 Kbyte download
testisodate_without_babel.tex 2001-04-30 174 bytes download

Contents of the README file

isodate.sty
===========

Tune the output format of dates.

This package provides ten output formats of the 
commands \today, \printdate, \printdateTeX, and \daterange
(partly language dependent): 
ISO (yyyy-mm-dd),
numeric (e.g. dd.\,mm.~yyyy),
short (e.g. dd.\,mm.\,yy),
TeX (yyyy/mm/dd),
original (e.g. dd. mmm yyyy),
short original (e.g. dd. mmm yy),
as well as numerical formats with Roman numerals for the month.

The commands \printdate and \printdateTeX print any date.
The date is given as an argument using the actual date format for output: 
\printdate{yyyy-mm-dd}, \printdate{dd.mm.yyyy}, or \printdate{dd/mm/yyyy},
and \printdateTeX{yyyy/mm/dd}. 

The command \daterange prints a date range and leaves out unnecessary 
year or month entries. 
E.g. 2000-05-03 to 2000-05-08 leads to `2000-05-03 to 08'.

The idea for this package was taken from the akletter class. 


Version 2.0 was totally rewritten so that some incompatiblities may occur.
The old version is still available as isodateo.sty (`o' for old).


Copyright 2000--2005 Harald Harders

This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN
archives in directory macros/latex/base/lppl.txt; either
version 1 of the License, or any later version.



Installation:

before installing: - be sure that the package substr.sty is installed on your
                     system. If not download it from 
                     CTAN:/macros/latex/contrib/substr/ and install it.

automatic: - run "make".
           - copy isodate.sty and *.idf to a place where LaTeX can find them
             or run "make install".
           - run texhash or the corresponding command of your distribution.

by hand: - execute latex on isodate.ins.
         - run texhash or the corresponding command of your distribution.
	 You should not compile the documentation by yourself since it
         uses a non-standard package (morefloats.sty). If you still want
         to compile it by yourself, do the following:
         - execute latex on isodate.dtx (2x).
         - copy isodate.sty and *.idf to a place LaTeX can find them.
         - run texhash or the corresponding command of your distribution.



List of known errors:
    - The \printdate and \printdateTeX commands are not very good in 
      checking the argument for correct syntax.
    - Isodate and draftcopy do not work together.

To do:
    - add other languages
    - Format short given years to four digits and calculate reasonable
      first and second digits.


2005-02-17
Harald Harders
h.harders@tu-bs.de

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.