From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40670 Path: news.gmane.org!not-for-mail From: richard.stephens@converteam.com Newsgroups: gmane.comp.tex.context Subject: Re: Date with three-letter month Date: Thu, 24 Apr 2008 14:15:05 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0213544732==" X-Trace: ger.gmane.org 1209043179 17269 80.91.229.12 (24 Apr 2008 13:19:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 13:19:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 15:20:11 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Jp1Mn-0000TS-QP for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 15:20:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D59451FCC7; Thu, 24 Apr 2008 15:19:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04491-01-9; Thu, 24 Apr 2008 15:18:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92F4A1FCB7; Thu, 24 Apr 2008 15:18:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 982291FCB7 for ; Thu, 24 Apr 2008 15:18:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03304-01-21 for ; Thu, 24 Apr 2008 15:18:04 +0200 (CEST) Original-Received: from mail.converteam.com (mail.converteam.com [212.155.191.29]) by ronja.ntg.nl (Postfix) with ESMTP id EFDF91FCAA for ; Thu, 24 Apr 2008 15:18:03 +0200 (CEST) X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 X-MIMETrack: Serialize by Router on G-WWH20/SRV/ALSTOM(Release 7.0.2|September 26, 2006) at 24/04/2008 15:26:21, Serialize complete at 24/04/2008 15:26:21 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40670 Archived-At: This is a multipart message in MIME format. --===============0213544732== Content-Type: multipart/alternative; boundary="=_alternative 0048CDCC80257435_=" This is a multipart message in MIME format. --=_alternative 0048CDCC80257435_= Content-Type: text/plain; charset="us-ascii" >> 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. Thanks, Richard ________________ www.converteam.com Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. Please consider the environment before printing this e-mail --=_alternative 0048CDCC80257435_= Content-Type: text/html; charset="us-ascii"
>> 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.

Thanks,

Richard


________________
www.converteam.com
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If  you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.

Please consider the environment before printing this e-mail
--=_alternative 0048CDCC80257435_=-- --===============0213544732== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0213544732==--