On Thu, 24 Apr 2008, richard.stephens@converteam.com wrote:
I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable for use in a margin, but avoids the confusion of American (04-23-08) vs English (23-04-08) ordering when using numbers. Can anyone help?
These are available (sort of)
\currentdate[day,--,{\monthshort\normalmonth},--,year] % lowercase
or
\currentdate[day,--,{\MONTHSHORT\normalmonth},--,year] % uppercase
Best wishes, Taco
Thanks Taco. This does the job. All I need now is a version (\Monthshort ??) which puts the first letter in uppercase, Jan , Feb, etc.
See if this works (untested) \unprotect \setuplabeltext [\s!en] [\v!january :\s!mnem=Jan.] \setuplabeltext [\s!en] [\v!february :\s!mnem=Feb.] \setuplabeltext [\s!en] [\v!march :\s!mnem=Mar.] \setuplabeltext [\s!en] [\v!april :\s!mnem=Apr.] \setuplabeltext [\s!en] [\v!may :\s!mnem=May] \setuplabeltext [\s!en] [\v!june :\s!mnem=Jun.] \setuplabeltext [\s!en] [\v!july :\s!mnem=Jul.] \setuplabeltext [\s!en] [\v!august :\s!mnem=Aug.] \setuplabeltext [\s!en] [\v!september:\s!mnem=Sep.] \setuplabeltext [\s!en] [\v!october :\s!mnem=Oct.] \setuplabeltext [\s!en] [\v!november :\s!mnem=Nov.] \setuplabeltext [\s!en] [\v!december :\s!mnem=Dec.] \protect