From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37584 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Datenumber Date: Tue, 27 Nov 2007 23:29:26 -0500 (EST) Message-ID: References: <200711270949.07518.bntgcontext@wiseguysweb.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196252678 26706 80.91.229.10 (28 Nov 2007 12:24:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 12:24:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 28 13:30:19 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from mail-forward.uio.no ([129.240.10.42]) by dough.gmane.org with esmtp (Exim 4.50) id 1IxKwW-0004f4-Dy for gctc-ntg-context-518@m.gmane.org; Wed, 28 Nov 2007 12:19:00 +0100 Original-Received: from mail-mx9.uio.no ([129.240.10.39]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1IxEbf-0006FI-Ns for gctc-ntg-context-518@m.gmane.org; Wed, 28 Nov 2007 05:33:03 +0100 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by mail-mx9.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1IxEaR-0001If-Cm for gctc-ntg-context-518@m.gmane.org; Wed, 28 Nov 2007 05:32:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F6141FB14; Wed, 28 Nov 2007 05:29:45 +0100 (CET) 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 20954-02-8; Wed, 28 Nov 2007 05:29:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 647031FAF3; Wed, 28 Nov 2007 05:29:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D8921FAFF for ; Wed, 28 Nov 2007 05:29:36 +0100 (CET) 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 18787-01-8 for ; Wed, 28 Nov 2007 05:29:31 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id 0534E1FAAF for ; Wed, 28 Nov 2007 05:29:30 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY hellskitchen.mr.itd.umich.edu ID 474CEEA8.1E8DF.31604 ; 27 Nov 2007 23:29:28 -0500 X-X-Sender: adityam@adi-laptop In-Reply-To: <200711270949.07518.bntgcontext@wiseguysweb.com> 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 X-UiO-ClamAV-Virus: No X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, AWL=0.023) X-UiO-Scanned: 9005FE4CACAE35A3D1D9CA9BD3EF2607C5BEF506 X-UiO-SPAM-Test: remote_host: 131.211.172.88 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 2 total 4186 max/h 11 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.comp.tex.context:37584 Archived-At: On Tue, 27 Nov 2007, Bart Wise wrote: > LaTeX has a package called datenumber. It basically allows you to several > things: 1) convert a date into a number, 2) add and subtract from that > number, in essence adding and subtracting days, and 3) converting a date > number into a date string. I use this package to create a yearly lesson > schedule and various other similiar things. However, I have spent a > considerable amount of time trying to find the same functionality in ConTeXt > with no avail. Is there a solution for this? Have you looked at a lua solution using LuaTeX? Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________