| 1 |
isodate.sty |
| 2 |
=========== |
| 3 |
|
| 4 |
Tune the output format of dates. |
| 5 |
|
| 6 |
This package provides ten output formats of the |
| 7 |
commands \today, \printdate, \printdateTeX, and \daterange |
| 8 |
(partly language dependent): |
| 9 |
ISO (yyyy-mm-dd), |
| 10 |
numeric (e.g. dd.\,mm.~yyyy), |
| 11 |
short (e.g. dd.\,mm.\,yy), |
| 12 |
TeX (yyyy/mm/dd), |
| 13 |
original (e.g. dd. mmm yyyy), |
| 14 |
short original (e.g. dd. mmm yy), |
| 15 |
as well as numerical formats with Roman numerals for the month. |
| 16 |
|
| 17 |
The commands \printdate and \printdateTeX print any date. |
| 18 |
The date is given as an argument using the actual date format for output: |
| 19 |
\printdate{yyyy-mm-dd}, \printdate{dd.mm.yyyy}, or \printdate{dd/mm/yyyy}, |
| 20 |
and \printdateTeX{yyyy/mm/dd}. |
| 21 |
|
| 22 |
The command \daterange prints a date range and leaves out unnecessary |
| 23 |
year or month entries. |
| 24 |
E.g. 2000-05-03 to 2000-05-08 leads to `2000-05-03 to 08'. |
| 25 |
|
| 26 |
The idea for this package was taken from the akletter class. |
| 27 |
|
| 28 |
|
| 29 |
Version 2.0 was totally rewritten so that some incompatiblities may occur. |
| 30 |
The old version is still available as isodateo.sty (`o' for old). |
| 31 |
|
| 32 |
|
| 33 |
Copyright 2000--2010 Harald Harders |
| 34 |
|
| 35 |
This program can be redistributed and/or modified under the terms |
| 36 |
of the LaTeX Project Public License Distributed from CTAN |
| 37 |
archives in directory macros/latex/base/lppl.txt; either |
| 38 |
version 1 of the License, or any later version. |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
Installation: |
| 43 |
|
| 44 |
before installing: - be sure that the package substr.sty is installed on your |
| 45 |
system. If not download it from |
| 46 |
CTAN:/macros/latex/contrib/substr/ and install it. |
| 47 |
|
| 48 |
automatic: - run "make". |
| 49 |
- copy isodate.sty and *.idf to a place where LaTeX can find them |
| 50 |
or run "make install". |
| 51 |
- run texhash or the corresponding command of your distribution. |
| 52 |
|
| 53 |
by hand: - execute latex on isodate.ins. |
| 54 |
- run texhash or the corresponding command of your distribution. |
| 55 |
You should not compile the documentation by yourself since it |
| 56 |
uses a non-standard package (morefloats.sty). If you still want |
| 57 |
to compile it by yourself, do the following: |
| 58 |
- execute latex on isodate.dtx (2x). |
| 59 |
- copy isodate.sty and *.idf to a place LaTeX can find them. |
| 60 |
- run texhash or the corresponding command of your distribution. |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
List of known errors: |
| 65 |
- The \printdate and \printdateTeX commands are not very good in |
| 66 |
checking the argument for correct syntax. |
| 67 |
- Isodate and draftcopy do not work together. |
| 68 |
|
| 69 |
To do: |
| 70 |
- add other languages |
| 71 |
- Format short given years to four digits and calculate reasonable |
| 72 |
first and second digits. |
| 73 |
|
| 74 |
|
| 75 |
2010-01-03 |
| 76 |
Harald Harders |
| 77 |
[email protected] |