Index of /archives/text/CTAN/macros/latex/contrib/isodate

Icon  Name                                      Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] ChangeLog 2010-01-04 04:46 3.7K [TXT] Makefile 2005-03-12 01:48 2.6K [TXT] README 2010-01-04 04:47 2.5K [   ] getversion.tex 2003-12-07 03:13 151 [   ] isodate.dtx 2010-01-04 05:57 117K [TXT] isodate.ins 2010-01-04 04:47 1.0K [   ] isodate.pdf 2010-01-04 05:59 255K [   ] isodate.xml 2010-01-04 06:00 1.3K [   ] isodateo.dtx 2004-02-13 00:57 18K [   ] isodateo.pdf 2005-03-11 02:57 132K [   ] testdate.pdf 2010-01-04 05:59 85K [   ] testdate.tex 2010-01-04 02:27 5.2K [   ] testisodate_without_babel.tex 2001-04-30 18:43 174
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--2010 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.


2010-01-03
Harald Harders
h.harders@tu-bs.de