Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/macros/latex/contrib/isodate

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

Files

Name Size Date Notes
ChangeLog 3801 2010-01-03 08:46
Makefile 2631 2005-03-11 05:48
README 2598 2010-01-03 08:47
getversion.tex 151 2003-12-06 07:13
isodate.dtx 119533 2010-01-03 09:57
isodate.ins 987 2010-01-03 08:47
isodate.pdf 260733 2010-01-03 09:59
isodate.xml 1345 2010-01-03 10:00
isodateo.dtx 17977 2004-02-12 04:57
isodateo.pdf 135483 2005-03-10 06:57
testdate.pdf 86990 2010-01-03 09:59
testdate.tex 5325 2010-01-03 06:27
testisodate_without_babel.tex 174 2001-04-30 11:43

Down­load the con­tents of this pack­age in one zip archive (445.5k).

iso­date – Tune the out­put for­mat of dates ac­cord­ing to lan­guage

This pack­age pro­vides ten out­put for­mats of the com­mands \to­day, \print­date, \print­datε-TeX, and \dat­erange (partly lan­guage de­pen­dent).

For­mats avail­able are: ISO (yyyy-mm-dd), nu­meric (e.g. dd.\,mm.~yyyy), short (e.g. dd.\,mm.\,yy), TeX (yyyy/mm/dd), orig­i­nal (e.g. dd. mmm yyyy), short orig­i­nal (e.g. dd. mmm yy), as well as nu­mer­i­cal for­mats with Ro­man nu­mer­als for the month.

The com­mands \print­date and \print­datε-TeX print any date. The com­mand \dat­erange prints a date range and leaves out un­nec­es­sary year or month en­tries.

This pack­age sup­ports Ger­man (old and new rules), Aus­trian, US English, Bri­tish English, French, Dan­ish, Swedish, and Nor­we­gian.

Pack­age De­tailsiso­date
Ver­sion2.28
Li­censeThe LaTeX Project Public Li­cense
Copy­right2000-2005 Har­ald Harders
Main­tainerHar­ald Harders
Con­tained inTeXlive as iso­date
MikTeX as iso­date
Topics ma­nip­u­late dates and/or times
Guest Book Sitemap Contact