÷ƒ’À;è TeX output 2000.06.14:1717‹ÿÿÿÿ ª� ýs o� ýÞ�’­¢PóDÓítG®G®cmr17¹The–7tó߆µTG® cmtt12ºisodate“¹pac�Œqk‘ÿäage��Ÿùº¯ó!",š cmsy10¿ŽŽŽŸ�����’Òú˜óX«Q cmr12»Harald‘ê¨HardersŽŽŸ��’ÂìËó߆µT cmtt12Æh.harders@tu-bs.deŽŽŽŽŽŸ%ˆ‹�’�ÿ¿»File–ê¨Date“2000-06-14,“Prin�¬rted“2000-06-14ŽŸ.�’æ!Kót ‰: cmbx9ÈAbstractŽŸ¬Ñ�‘bóo´‹Ç cmr9ÇThis–€¥pacš¾9k‘ÿ|rage“pro˜vides“commands“to“switc˜h“b�AÇet˜w˜een“di eren˜t“date“formatsޤ �‘b(standard,–˜éISO,›Ken�¾9umeric,“L�Ÿýó5�‘ü«‡ó¹Aa¨cmr6ÁAŽŽ‘© ÇT�‘þuAŸïÿEŽ‘˜ŸX˜pac•¾9k‘ÿ|rage).‘¾¤They˜are˜used˜b“y˜the˜ó ߤN cmtt9Ë\todayŽ¡�‘bÇcommand–Tand“bš¾9y“the“Ë\printdate“Çcommand“that“prin˜ts“an˜y“date.Ž¡�‘oßüThe–Tidea“for“this“pacš¾9k‘ÿ|rage“w˜as“tak˜en“from“the“akletter“class.ŽŸ!Ä�‘Ió"ÂÖN ff cmbx12ÍCon•ŒÌten“tsŽ©��‘Ió#ò"V cmbx10Î1Ž‘XCommands�’¼1ŽŽ¤ ��‘XóKñ`y cmr10²1.1Ž‘oSwitc�¸ãhing–UUthe“date“format‘¬��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘V�1ŽŽ¡��‘X1.2Ž‘oPrin•¸ãting›UUan“y˜date‘�¹��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘V�2ŽŽ¡��‘X1.3Ž‘oChanging–UUthe“ISO“format‘ÛÇ��‘ü.ŽŽ–Ç��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ“��‘ü.ŽŽ�‘V�2ŽŽ¦��‘IÎ2Ž‘XCalling–ÕTthe“pac�®9k‘ÿ\rage�’ì|2ŽŽ¦��‘IAŽ‘XLicence�’(ü3ŽŽ¦��‘IBŽ‘XKno�®9wn‘ÕTerrors�’ ¼3ŽŽ¦��‘ICŽ‘XPlanned–ÕTfeatures“and“c�®9hanges�’¸Í½3ŽŽ¦��‘IDŽ‘XThe‘ÕTimplemen�®9tation�’èUz3ŽŽŸ!Ä��‘IÍ1Ž‘aLËCommandsŽŸç��‘Ió$ÂÖN  cmbx12Ï1.1Ž‘gÀSwitc� hing–€the“date“formatŽŸuT�‘I²This–A-pacš¸ãk‘ÿqÇage“pro˜vides“ v˜e“commands“to“switc˜h“the“output“format“of“the“ó%ßêŸ'EŽ‘ãxX“formatŽŽŽŽŽ����‘3PË\isodateŽŽŽŽ��¡��‘3P\numdateŽŽŽŽ��Ÿ��‘À$\shortdateŽŽŽŽ��Ÿ$��‘3P\TeXdateŽŽŽŽŽŸ�’ø²1ŽŽŒ‹* ª� ýs o� ý´��Ÿ0��‘yºË\origdateŽŽŽŽŸ46�‘X²The–³/nš¸ãumeric“and“short“n˜umeric“format“c˜hange“their“b�Geha˜viour“dep�Gending“onޤ �‘Ithe–UUactual“language:ŽŸqÇ���Ÿóæd��‘Igerman,‘UUngermanŽ�’¡*¸Ðdd.\,mm.~yyyyŽ�’ñj’²resp.Ž�’#Ðdd.\,mm.\,yyŽŽ¡��‘I²US‘UUEnglishŽ�’¡*¸Ðmm/dd/yyyyŽ�’ñj’²resp.Ž�’#Ðmm/dd/yyŽŽ¡��‘I²other‘UUlanguagesŽ�’¡*¸Ðdd/mm/yyyyŽ�’ñj’²resp.Ž�’#Ðdd/mm/yyŽŽŽŽŽŸ&7Þ��‘IÏ1.2Ž‘gÀPrin• ting›€an“y˜dateŽŸuT�‘I²The–›æcommand“Ð\printdate{#1}“²prinš¸ãts“an˜y“date“in“the“actual“format.‘EzThe“argu-Ž����‘À$Ë\printdateŽŽŽŽ¡�‘I²men•¸ãt›UUma“y˜b�Ge˜a˜date˜in˜German,˜British˜English,˜or˜ISO˜format,˜e.g.Ž¡©,Ý�‘bÐ\printdate{24.12.2000}Ž¡�‘b\printdate{24/12/2000}Ž¡�‘b\printdate{2000-12-24}ަ�‘X²The–9&command“Ð\printdateTeX{#1}“²prinš¸ãts“an˜y“date“in“the“actual“format.‘hbTheŽ����‘“bË\printdateTeXŽŽŽŽ¡�‘I²argumen•¸ãt›UUm“ust˜b�Ge˜in˜the˜L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX˜format˜Ðyyyy/mm/dd²,˜e.g.Ž¡¦�‘bÐ\printdateTeX{2000/12/24}ަ�‘I²This–â‡command“is“useful“for“prinš¸ãting“v˜ersion“information“stored“in“a“macro.‘\F‘ÿ*ªorŽ¡�‘Iexample–ŒGthe“vš¸ãersion“of“this“do�Gcumen˜tation“is“stored“in“the“macro“Ð\docdateŽ¡�‘I²(\2000/06/14").‘€T‘ÿ*ªo–2=prinš¸ãt“it“with“the“actual“date“format“y˜ou“can“use“the“com-Ž¡�‘Imand–UUÐ\printdateTeX{\docdate}“²whic�¸ãh“leads“to“\2000-06-14".ŽŸbŠ��‘IÏ1.3Ž‘gÀChanging–€the“ISO“formatŽŸuT�‘I²I›Ò×am–Ò÷not“sure“whether“the“ISO˜format“should“b�Ge“yyyy-mm-dd“or“yyyy{mm{dd.Ž����‘3PË\isodashŽŽŽŽ¡�‘I²By–Vªdefault“I‘V©use“\-"“as“dash.‘uÅY‘ÿ*ªou“can“c�¸ãhange“this“using“the“Ð\isodash“²command,Ž¡�‘Ie.g.ަ�‘bÐ\printdate{24/12/2000}Ž¡�‘b\isodash{--}Ž¡�‘b\printdate{24/12/2000}ަ�‘I²leads–UUto“\2000-12-24“2000{12{24".‘qÇOr“for“exampleަ�‘bÐ\isodash{$\cdot$}Ž¡�‘b\printdate{24/12/2000}ަ�‘I²leads–UUto“\2000ó !",š cmsy10¸²12¸²24".ŽŸ v��‘IÍ2Ž‘aLËCalling–ffthe“pac�ŒÌk‘ÿ™ageŽŸç�‘I²The–UUpac�¸ãk‘ÿqÇage“is“called“using“the“Ð\usepackage“²command:Ž¡�‘IÐ\usepackage[²optionÐ]{isodate}².Ž¡�‘XThe–UUpšGossible“pac�¸ãk‘ÿqÇage“options“can“b˜e“seen“in“table“1.Ž‘IŸüÕ‰ff�ÿrŸ @���‘ ÷ˆŸý-:óq¡% cmsy6ÅŽŽ‘LÜó|{Ycmr8ÀThis–ÕX le“has“všÃŽersion“1.04“last“revised“2000-06-14,“do�Ÿ'EŽ‘ãxX–UUn�¸ãumeric“date“format“(yyyy/mm/dd)ŽŽ¡��‘ÐorigŽ�‘-Ç$²normal–UUL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“date“format“(default)ŽŽ¦‰ffùùŽŽŽŽŸ»‹��‘IÍAŽ‘enîLicenceŽ©ç�‘I²Cop•¸ãyrigh“t–UU2000“Harald“Hardersޤ �‘XThis–|Áprogram“can“bšGe“redistributed“and/or“mo˜di ed“under“the“terms“of“theŽ¡�‘ILaT›ÿ*ªeX‘ÏJPro‘Ž8ject–ÏîPublic“License“Distributed“from“CT˜AN‘ÏJarc•¸ãhiv“es–Ïîin“directoryŽ¡�‘Imacros/latex/base/lppl.txt;–UUeither“vš¸ãersion“1“of“the“License,“or“an˜y“later“v˜ersion.ŽŸ!��‘IÍBŽ‘d·vKno�ŒÌwn‘fferrorsަ����‘X¸ŽŽŽ‘b²The–±Ð\printdate“²and“Ð\printdateTeX‘°ð²commands“are“not“vš¸ãery“go•Go“d–±in“c˜hec˜k-Ž¡�‘bing–UUthe“argumenš¸ãt“for“correct“syn˜tax.ŽŸ!��‘IÍCŽ‘dædPlanned–fffeatures“and“c�ŒÌhangesަ����‘X¸ŽŽŽ‘b²Of–UUcourse“eliminate“the“errors.ŽŸÝÆ����‘X¸ŽŽŽ‘b²Add–ÅÜother“languages“then“german,–âŽngerman,“english,“USenglish.‘AôPlease‘ÅÜhelpŽ¡�‘bme–UUwith“this“topic,“I“don't“kno�¸ãw“the“date“formats“in“other“languages.ŽŸ!��‘IÍDŽ‘e�ÝThe‘ffimplemen�ŒÌtationަ�‘I²Heading–UUof“the“pac�¸ãk‘ÿqÇage:Ž© îã��‘Lüs±1Ž‘Sª®Ë\NeedsTeXFormat{LaTeX2e}ޤ ��‘Lüs±2Ž‘Sª®Ë\ProvidesPackage{isodate}[\filedate]Ž¡��‘Lüs±3Ž‘Sª®Ë\RequirePackage{ifthen}Ž¡��‘Lüs±4Ž‘Sª®Ë\RequirePackage{calc}ŽŸîã�‘I²Aš¸ãt–I¥the“end“of“the“pream˜ble“the“pac˜k‘ÿqÇage“tests“whether“one“of“the“pac˜k‘ÿqÇages“Ðbabel²,ޤ �‘IÐgerman²,‘$$or–Ç”Ðngerman“²is“loaded.‘È…If“not“it“is“assumed“that“American“English“isŽ¡�‘Iw•¸ãan“ted–NE(L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“is“an“American“programme).‘\–The“original“date“format“is“sa•¸ãv“edŽ¡�‘Iand–ËÚthe“command“Ð\iflanguage“²is“rede ned“to“pro�Gcess“the“\true“part"“for“english,Ž¡�‘Iamerican,–UUand“USenglish“options“and“otherwise“the“\false“part".ަ��‘Lüs±5Ž‘Sª®Ë\AtBeginDocument{%ޤ ��‘Lüs±6Ž‘]ÚË\@ifpackageloaded{babel}{}{%Ž¡��‘Lüs±7Ž‘f‘Ë\@ifpackageloaded{german}{}{%Ž¡��‘Lüs±8Ž‘p2Ë\@ifpackageloaded{ngerman}{}{%ŽŸîã�‘I²Here–iÅyš¸ãou“can“add“new“languages.‘¯T‘ÿ*ªell“me“what“y˜ou“ha˜v˜e“inserted“in“order“toŽŸ �‘Ienable–UUme“to“actualize“the“pac�¸ãk‘ÿqÇage.ަ��‘Lüs±9Ž‘yw^Ë\let\@origdate\today%Ž¡��‘I±10Ž‘yw^Ë\setboolean{isodate@american}{true}%ŽŽŸ�’ø²3ŽŽŒ‹- ª� ýs o� ý´��‘I±11Ž‘yw^Ë\def\iflanguage#1#2#3{\ifthenelse{%ޤ ��‘I±12Ž’Œ]¶Ë\equal{#1}{english}\or%Ž¡��‘I±13Ž’Œ]¶Ë\equal{#1}{american}\or%Ž¡��‘I±14Ž’Œ]¶Ë\equal{#1}{USenglish}%Ž¡��‘I±15Ž’Œ]¶Ë}{#2}{#3}}%Ž¡��‘I±16Ž‘yw^Ë}}}}ŽŸ�‘X²Sa•¸ãv“e–�the“original“command“Ð\today“²in“Ð\@origdate“²after“switc�¸ãhing“language.Ž© �‘IWhš¸ãy–UUdo�Ges“the“w˜a˜y“using“Ð\extras²lang“not“w˜ork?ŽŸ��‘I±17Ž‘Sª®Ë%\def\extrasgerman{\let\@origdate\today}Ž¡��‘I±18Ž‘Sª®Ë%\def\extrasngerman{\let\@origdate\today}Ž¡��‘I±19Ž‘Sª®Ë%\def\extrasenglish{\let\@origdate\today}Ž¡��‘I±20Ž‘Sª®Ë%\def\extrasUKenglish{\let\@origdate\today}Ž¡��‘I±21Ž‘Sª®Ë%\def\extrasUSenglish{\let\@origdate\today}ŽŸ����‘øf \selectlanguageŽŽŽ‘I²As–vÆa“w�¸ãork‘ÿqÇaround“rede ne“the“command“Ð\selectlanguage“²to“set“Ð\@origdate“²afterަ�‘Iswitcš¸ãhing–i�the“language.‘®vAn“o˜wn“b•Go“olean–i�to“sa˜v˜e“whether“British“or“Americanަ�‘IEnglish–UUis“c�¸ãhosen“is“used.ަ�‘XTHIS–UUIS“A“HAš¸ãCK!!‘qÇPlease“help“me“to“a˜v˜oid“it.Ž©��‘I±22Ž‘Sª®Ë\newboolean{isodate@american}%Ž¡��‘I±23Ž‘Sª®Ë\AtBeginDocument{%Ž¡��‘I±24Ž‘]ÚË\let\@origselectlanguage\selectlanguage%Ž¡��‘I±25Ž‘]ÚË\renewcommand{\selectlanguage}[1]{\@origselectlanguage{#1}%Ž¡��‘I±26Ž‘f‘Ë\def\@origdate{}%Ž¡��‘I±27Ž‘f‘Ë\let\@origdate\today%Ž¡��‘I±28Ž‘f‘Ë\ifthenelse{\equal{#1}{american}\or\equal{#1}{USenglish}}{%Ž¡��‘I±29Ž‘yw^Ë\setboolean{isodate@american}{true}}{%Ž¡��‘I±30Ž‘yw^Ë\setboolean{isodate@american}{false}}}%Ž¡��‘I±31Ž‘Sª®Ë}ŽŸ�‘I²De ne–UUthe“pac�¸ãk‘ÿqÇage“options.ަ��‘I±32Ž‘Sª®Ë\DeclareOption{iso}{\AtBeginDocument{\isodate}}Ž¡��‘I±33Ž‘Sª®Ë\DeclareOption{num}{\AtBeginDocument{\numdate}}Ž¡��‘I±34Ž‘Sª®Ë\DeclareOption{short}{\AtBeginDocument{\shortdate}}Ž¡��‘I±35Ž‘Sª®Ë\DeclareOption{TeX}{\AtBeginDocument{\TeXdate}}Ž¡��‘I±36Ž‘Sª®Ë\DeclareOption{orig}{\AtBeginDocument{\origdate}}Ž¡��‘I±37Ž‘Sª®Ë\ExecuteOptions{orig}Ž¡��‘I±38Ž‘Sª®Ë\ProcessOptionsŽŸ�‘I²Prin•¸ãt›UUda“y˜or˜mon“th˜ lled˜with˜zero˜to˜a˜format˜with˜t“w“o˜digits.ަ��‘I±39Ž‘Sª®Ë\def\dday{\ifthenelse{\number\day<10}{0}{}\number\day}Ž¡��‘I±40Ž‘Sª®Ë\def\dmonth{\ifthenelse{\number\month<10}{0}{}\number\month}ŽŸ�‘I²Prin•¸ãt›¹øda“y˜and˜mon“th˜in˜n“umerical˜format˜using˜the˜righ“t˜format˜for˜the˜presen“tŽŸ �‘Ilanguage.ަ��‘I±41Ž‘Sª®Ë\DeclareRobustCommand*{\num@today}[1]{%Ž¡��‘I±42Ž‘]ÚË\iflanguage{german}{\dday.\,\dmonth.#1}{%Ž¡��‘I±43Ž‘f‘Ë\iflanguage{ngerman}{\dday.\,\dmonth.#1}{%Ž¡��‘I±44Ž‘p2Ë\iflanguage{austrian}{\dday.\,\dmonth.#1}{%ŽŸ�‘I²Here–iÅyš¸ãou“can“add“new“languages.‘¯T‘ÿ*ªell“me“what“y˜ou“ha˜v˜e“inserted“in“order“toŽŸ �‘Ienable–UUme“to“actualize“the“pac�¸ãk‘ÿqÇage.ަ��‘I±45Ž‘yw^Ë\iflanguage{english}{%Ž¡��‘I±46Ž’‚êŠË\ifthenelse{\boolean{isodate@american}}{%Ž¡��‘I±47Ž’Œ]¶Ë\dmonth/\dday/}{\dday/\dmonth/}}{%ŽŽŸ�’ø²4ŽŽŒ‹z ª� ýs o� ý´��‘I±48Ž‘f‘Ë\dday/\dmonth/}}}}%ޤ ��‘I±49Ž‘Sª®Ë}Ž© ����‘yº\numdateŽŽŽ‘I²Switcš¸ãh–UUto“long“n˜umeric“date“format.ŽŸ à��‘I±50Ž‘Sª®Ë\DeclareRobustCommand*{\numdate}{%Ž¡��‘I±51Ž‘]ÚË\gdef\today{%Ž¡��‘I±52Ž‘f‘Ë\num@today{~}%Ž¡��‘I±53Ž‘f‘Ë\number\year}}ަ����‘Ž\shortdateŽŽŽ‘I²Switcš¸ãh–UUto“short“n˜umeric“date“format.ŽŸ à��‘I±54Ž‘Sª®Ë\newcounter{yeartwo}Ž¡��‘I±55Ž‘Sª®Ë\DeclareRobustCommand*{\shortdate}{%Ž¡��‘I±56Ž‘]ÚË\gdef\today{%Ž¡��‘I±57Ž‘f‘Ë\num@today{\,}%Ž¡��‘I±58Ž‘f‘Ë\setcounter{yeartwo}{\number\year}%Ž¡��‘I±59Ž‘f‘Ë\whiledo{\theyeartwo>99}{\setcounter{yeartwo}{\theyeartwo-100}}{}%Ž¡��‘I±60Ž‘f‘Ë\ifthenelse{\number\theyeartwo<10}{0}{}\theyeartwo}}ަ����‘yº\isodateŽŽŽ‘I²Switc�¸ãh–UUto“ISO“date“format.ŽŸ à��‘I±61Ž‘Sª®Ë\DeclareRobustCommand*{\isodate}{%Ž¡��‘I±62Ž‘]ÚË\gdef\today{%Ž¡��‘I±63Ž‘f‘Ë\number\year\@isodash%Ž¡��‘I±64Ž‘f‘Ë\ifthenelse{\number\month<10}{0}{}\number\month\@isodash%Ž¡��‘I±65Ž‘f‘Ë\ifthenelse{\number\day<10}{0}{}\number\day}}ަ�‘I²De ne–UUthe“default“ISO“dash“to“\-".ޤ à��‘I±66Ž‘Sª®Ë\def\@isodash{-}%ަ����‘yº\isodateŽŽŽ‘I²De ne–UUthe“command“Ð\isodash“²whicš¸ãh“c˜hanges“the“dash“in“the“ISO“date“format.Ž¡��‘I±67Ž‘Sª®Ë\DeclareRobustCommand*{\isodash}[1]{\def\@isodash{#1}}%ަ����‘À$\origdateŽŽŽ‘I²Switc•¸ãh›UUbac“k˜to˜original˜date˜format.Ž¡��‘I±68Ž‘Sª®Ë\DeclareRobustCommand*{\origdate}{\gdef\today{\@origdate}}ަ����‘yº\TeXdateŽŽŽ‘I²Switc�¸ãh–UUto“the“T�‘þU>Ÿ'EŽ‘ãxX“date“format.Ž¡��‘I±69Ž‘Sª®Ë\DeclareRobustCommand*{\TeXdate}{%ޤ ��‘I±70Ž‘]ÚË\gdef\today{%Ž¡��‘I±71Ž‘f‘Ë\number\year/%Ž¡��‘I±72Ž‘f‘Ë\ifthenelse{\number\month<10}{0}{}\number\month/%Ž¡��‘I±73Ž‘f‘Ë\ifthenelse{\number\day<10}{0}{}\number\day}}ަ����‘àÆ²\IfSubStringInStringŽŽŽ‘I²T‘ÿ*ªest–±ªif“a“substring“is“conš¸ãtained“in“a“string.‘†ÇIf“y˜es“execute“the“third“argumen˜t,‘È¿ifޤ �‘Inot–UUthe“fourth:Ž¡�‘IÐ\IfSubStringInString{substring}{string}{if–?ýpart}{else“part}Ž¡�‘X²This–L™command“wš¸ãas“p�Gosted“in“the“German“T�‘þU>Ÿ'EŽ‘ãxX“newsgroup“b˜y“Heik˜o“Ob�GerdiekŽ¡�‘I(Ðoberdiek@ruf.uni-freiburg.de²).ŽŸ à��‘I±74Ž‘Sª®Ë\@ifundefined{IfSubStringInString}{%ޤ ��‘I±75Ž‘]ÚË\newcommand*{\IfSubStringInString}[2]{%Ž¡��‘I±76Ž‘f‘Ë\def\is@compare##1#1##2\@nil{%Ž¡��‘I±77Ž‘p2Ë\def\is@param{##2}%Ž¡��‘I±78Ž‘p2Ë\ifx\is@param\@emptyŽ¡��‘I±79Ž‘p2Ë\expandafter\@secondoftwoŽ¡��‘I±80Ž‘p2Ë\elseŽŽŸ�’ø²5ŽŽŒ‹*ç ª� ýs o� ý´��‘I±81Ž‘p2Ë\expandafter\@firstoftwoޤ ��‘I±82Ž‘p2Ë\fiŽ¡��‘I±83Ž‘p2Ë}%Ž¡��‘I±84Ž‘f‘Ë\is@compare#2#1\@nilŽ¡��‘I±85Ž‘f‘Ë}%Ž¡��‘I±86Ž‘]ÚË}{}%Ž©ª«����‘øf \IfCharInStringŽŽŽ‘I²T‘ÿ*ªest–àÒif“a“cš¸ãhar“is“con˜tained“in“a“string.‘=If“y˜es“execute“the“third“argumen˜t,‘±if“notޤ �‘Ithe‘UUfourth:Ž¡�‘IÐ\IfCharInString{char}{string}{if–?ýpart}{else“part}Ž¡�‘X²This–UUcommand“wš¸ãas“also“written“b˜y“Heik˜o“Ob�Gerdiek.ŽŸ Ž9��‘I±87Ž‘Sª®Ë\@ifundefined{IfCharInString}{%ޤ ��‘I±88Ž‘]ÚË\newcommand\IfCharInString{}Ž¡��‘I±89Ž‘]ÚË\let\IfCharInString\IfSubStringInStringŽ¡��‘I±90Ž‘Sª®Ë}{}%ަ�‘I²Prin•¸ãt›UUan“y˜date˜(in“ternal˜command,˜syn“tax:‘qÇÐ\@printdate{yyyy}{mm}{dd}²).ŽŸ Ž9��‘I±91Ž‘Sª®Ë\DeclareRobustCommand*{\@printdate}[3]{%Ž¡��‘I±92Ž‘]ÚË\begingroup%Ž¡��‘I±93Ž‘]ÚË\def\year{#1}%Ž¡��‘I±94Ž‘]ÚË\def\month{#2}%Ž¡��‘I±95Ž‘]ÚË\def\day{#3}%Ž¡��‘I±96Ž‘]ÚË\today%Ž¡��‘I±97Ž‘]ÚË\endgroup%Ž¡��‘I±98Ž‘Sª®Ë}ަ����‘Ž\printdateŽŽŽ‘I²Prin•¸ãt›��an“y˜date˜in˜the˜actual˜date˜format.‘+0This˜command˜understands˜the˜German,ŽŸ �‘IBritish,–UUand“ISO“formats.ŽŸ Ž9��‘I±99Ž‘Sª®Ë\DeclareRobustCommand*{\printdate}[1]{%Ž¡��‘E�±100Ž‘]ÚË\expandafter\@expafterprintdate\expandafter{#1}}%ަ�‘I²The–àcommand“Ð\@expafterprintdate“²needs“an“already“expanded“argumen�¸ãt.‘ÏSoޤ �‘Ithe–UUcommand“Ð\printdate“²expands“it“and“calls“Ð\@expafterprintdate².Ž¡�‘XThe–#Öerror“handling“of“this“macro“is“v�¸ãery“p•Go“or.–aHE.g.“the–#ÖGerman“date“\5.‘aHJuniŽ¡�‘I2000"–E’is“understo•Go“d–E’as“a“date“in“the“format“\dd.mm.yyyy"“but“can“of“course“notŽ¡�‘Ib�Ge–UUhandled“correctly‘ÿ*ª.Ž© Ž9��‘E�±101Ž‘Sª®Ë\DeclareRobustCommand*{\@expafterprintdate}[1]{%ޤ ��‘E�±102Ž‘]ÚË\IfCharInString{.}{#1}{\printdatenumger{#1}}{%Ž¡��‘E�±103Ž‘f‘Ë\IfCharInString{-}{#1}{\printdateiso{#1}}{%Ž¡��‘E�±104Ž‘p2Ë\IfCharInString{/}{#1}{\printdatenumeng{#1}}{%Ž¡��‘E�±105Ž‘yw^Ë\PackageError{isodate}{unrecognized–¹–date“format}{Use“one“ofŽ¡��‘E�±106Ž’‚êŠËthe–¹–following“formats“as“macro“argument:^^J%Ž¡��‘E�±107Ž’‚êŠË\space\space‘¹–dd.mm.yyyy^^J%Ž¡��‘E�±108Ž’‚êŠË\space\space‘¹–dd/mm/yyyy^^J%Ž¡��‘E�±109Ž’‚êŠË\space\space‘¹–yyyy-mm-dd^^J%Ž¡��‘E�±110Ž’‚êŠËDon't–¹–use“any“spaces“or“commands“like“\protect\,“orŽ¡��‘E�±111Ž’‚êŠË\protect~–¹–inside“the“argument.}%Ž¡��‘E�±112Ž‘yw^Ë}}}}ŽŸŽ9�‘I²Analyze–«œthe“argumenš¸ãt“con˜taining“a“date“in“ISO‘«…format“an“prin˜t“it.‘t›This“macrosŽŸ �‘Ido�Ges–UUnot“conš¸ãtain“an˜y“error“handling.ަ��‘E�±113Ž‘Sª®Ë\DeclareRobustCommand*{\printdateiso}[1]{%Ž¡��‘E�±114Ž‘]ÚË\expandafter\@printdateiso‘¹–#1\@empty}Ž¡��‘E�±115Ž‘Sª®Ë\def\@printdateiso#1-#2-#3\@empty{\@printdate{#1}{#2}{#3}}ŽŽŸ�’ø²6ŽŽŒ‹4µ ª� ýs o� ý´�‘I²Analyze–åthe“argumenš¸ãt“con˜taining“a“date“in“German“n˜umeric“format“an“prin˜t“it.Ž© �‘IThis–UUmacros“do�Ges“not“conš¸ãtain“an˜y“error“handling.ŽŸ��‘E�±116Ž‘Sª®Ë\DeclareRobustCommand*{\printdatenumger}[1]{%ޤ ��‘E�±117Ž‘]ÚË\expandafter\@printdatenumger‘¹–#1\@empty}Ž¡��‘E�±118Ž‘Sª®Ë\def\@printdatenumger#1.#2.#3\@empty{\@printdate{#3}{#2}{#1}}ŽŸ�‘I²Analyze–2hthe“argumenš¸ãt“con˜taining“a“date“in“Britisc˜h“English“n˜umeric“format“anަ�‘Iprinš¸ãt–UUit.‘qÇThis“macros“do�Ges“not“con˜tain“an˜y“error“handling.ŽŸ��‘E�±119Ž‘Sª®Ë\DeclareRobustCommand*{\printdatenumeng}[1]{%Ž¡��‘E�±120Ž‘]ÚË\expandafter\@printdatenumeng‘¹–#1\@empty}Ž¡��‘E�±121Ž‘Sª®Ë\def\@printdatenumeng#1/#2/#3\@empty{\@printdate{#3}{#2}{#1}}ŽŸ����‘ÙÌ\printdateTeXŽŽŽ‘I²Analyze–»Ùthe“argumenš¸ãt“con˜taining“a“date“in“the“LaT‘ÿ*ªeX‘»²st˜yle“yyyy/mm/dd“an“prin˜tަ�‘Iit.‘bThis–&Eformat“can“not“bšGe“handled“automaticaly“b�¸ãy“Ð\printdate“²b˜ecause“it“couldަ�‘Ib�Ge–¢6mixed“up“with“the“English“format.‘XiThe“error“handling“of“this“routine“is“v�¸ãeryަ�‘Ip•Go“or.‘qÇIt–UUjust“c•¸ãhec“ks–UUwhether“the“argumenš¸ãt“con˜tains“at“least“one“\/".Ž©��‘E�±122Ž‘Sª®Ë\DeclareRobustCommand*{\printdateTeX}[1]{%Ž¡��‘E�±123Ž‘]ÚË\expandafter\@printdateTeX\expandafter{#1}}Ž¡��‘E�±124Ž‘Sª®Ë\DeclareRobustCommand*{\@printdateTeX}[1]{%Ž¡��‘E�±125Ž‘]ÚË\IfCharInString{/}{#1}{\expandafter\@@printdateTeX‘¹–#1\@empty}{%Ž¡��‘E�±126Ž‘f‘Ë\PackageError{isodate}{unrecognized–¹–date“format}{Use“the“formatŽ¡��‘E�±127Ž‘p2Ëyyyy/mm/dd.^^J%Ž¡��‘E�±128Ž‘p2ËDon't–¹–use“any“spaces“or“commands“like“\protect\,“orŽ¡��‘E�±129Ž‘p2Ë\protect~–¹–inside“the“argument.}}%Ž¡��‘E�±130Ž‘Sª®Ë}Ž¡��‘E�±131Ž‘Sª®Ë\def\@@printdateTeX#1/#2/#3\@empty{\@printdate{#1}{#2}{#3}}ŽŸ�‘I²The–UUend“of“the“pac�¸ãk‘ÿqÇage.ަ��‘E�±132Ž‘Sª®Ë\endinputŽ©!Ä�‘IÍChange‘ffHistoryŽŸd³ç��Ÿ¾�‘IÇ1.01Ž¡�‘XGeneral:›TImpro•¾9v“e˜do�AÇcumen“tation‘/©�‘}„.Ž‘ yz1Ž¡�‘I1.02Ž¡�‘XË\selectlanguageÇ:–_‰Fix“AmericanŽ¡�‘glanguage–Tsupp�AÇort“bš¾9y“a“hac˜k‘´a�‘}„.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž‘ 9€4Ž¡�‘I1.03Ž¡�‘XGeneral:–1¨Insert“co�AÇde“for“handlingŽŽ�Ÿ¾�’€not–Tloaded“language“pac�¾9k‘ÿ|rages‘^�‘}„.Ž‘ 9€3Ž¡�’ÿ€1.04Ž¡�’€General:–É�Add“L�Ÿýó5�‘ü«‡ÁAŽŽ‘© ÇT�‘þuAŸïÿEŽ‘˜ŸX“date“formatŽ¡�’€yyyy/mm/dd‘”�‘}„.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ 9€7Ž¡�’€Mak�¾9e–Tthe“commands“robust‘ã*�‘}„.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž‘ yz1Ž¡�’€Ë\TeXdateÇ:–2tAdd“L�Ÿýó5�‘ü«‡ÁAŽŽ‘© ÇT�‘þuAŸïÿEŽ‘˜ŸX“date“formatŽ¡�’€yyyy/mm/dd‘”�‘}„.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ 9€5ŽŽŽ¦�‘IÍIndexŽŸç�‘I²Num�¸ãbšGers–µ˜written“in“italic“refer“to“the“page“where“the“corresp˜onding“en�¸ãtry“is“de-ޤ �‘IscribšGed,‘Dthe– Àones“underlined“to“the“co˜de“line“of“the“de nition,‘Dthe“rest“to“the“co˜deŽ¡�‘Ilines–UUwhere“the“en�¸ãtry“is“used.ŽŸ8Av��Ÿß°Q�‘mmJÈSym�´Cb�K¼olsޤ'Ø�‘IË\@@printdateTeX‘cÒÇ125,‘T131Ž¡�‘IË\@expafterprintdateŽŽ�Ÿß°Q�’બ�‘}„Ç.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ iú100,‘T101ޤ'Ø�’ª¬Ë\@ifpackageloaded‘yê�‘}„Ç.Ž‘ýÐ6{8Ž¡�’ª¬Ë\@isodash‘/&Ç63,–T64,“66,“67ŽŽ�Ÿß°Q�’