From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40668 Path: news.gmane.org!not-for-mail From: richard.stephens@converteam.com Newsgroups: gmane.comp.tex.context Subject: Re: (no subject) Date: Thu, 24 Apr 2008 14:10:07 +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="===============1981399869==" X-Trace: ger.gmane.org 1209042731 15637 80.91.229.12 (24 Apr 2008 13:12:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 13:12:11 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 15:12:47 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 1Jp1Fm-000617-5b for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 15:12:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FE481FC83; Thu, 24 Apr 2008 15:12:03 +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 04482-01-3; Thu, 24 Apr 2008 15:11:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50F671FC1A; Thu, 24 Apr 2008 15:11:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6B961FADF for ; Thu, 24 Apr 2008 15:11:16 +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-2 for ; Thu, 24 Apr 2008 15:10:44 +0200 (CEST) Original-Received: from mail.converteam.com (mail.converteam.com [212.155.191.29]) by ronja.ntg.nl (Postfix) with ESMTP id 774CB1FC5A for ; Thu, 24 Apr 2008 15:10:44 +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:18:52, Serialize complete at 24/04/2008 15:18:52 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:40668 Archived-At: This is a multipart message in MIME format. --===============1981399869== Content-Type: multipart/alternative; boundary="=_alternative 0048599C80257435_=" This is a multipart message in MIME format. --=_alternative 0048599C80257435_= 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 > Thanks, Taco, that does the job for now. Now all we need is something called \Monthshort which puts the first letter in uppercase (Jan, Feb etc)!!! Thanks, Richard --=_alternative 0048599C80257435_= 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

>

Thanks, Taco, that does the job for now.  
Now all we need is something called \Monthshort which puts the
first letter in uppercase (Jan, Feb etc)!!!

Thanks,

Richard
--=_alternative 0048599C80257435_=-- --===============1981399869== 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 ___________________________________________________________________________________ --===============1981399869==--