From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70386 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: timestamps with \date Date: Wed, 3 Aug 2011 02:03:34 +0200 Message-ID: References: <5A047769-E5A3-4DCF-B889-F6A37ECE968A@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312329837 18506 80.91.229.12 (3 Aug 2011 00:03:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2011 00:03:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 03 02:03:53 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QoOwC-0005Mu-Mt for gctc-ntg-context-518@m.gmane.org; Wed, 03 Aug 2011 02:03:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9FEECAEBD; Wed, 3 Aug 2011 02:03:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XmJIptAQId0E; Wed, 3 Aug 2011 02:03:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2BDDCAEB6; Wed, 3 Aug 2011 02:03:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13E13CAEB6 for ; Wed, 3 Aug 2011 02:03:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xpYWvj+E-W0j for ; Wed, 3 Aug 2011 02:03:36 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id E09CDCAEB3 for ; Wed, 3 Aug 2011 02:03:35 +0200 (CEST) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7303YaS019154 for ; Wed, 3 Aug 2011 02:03:35 +0200 Original-Received: by qyk4 with SMTP id 4so312768qyk.14 for ; Tue, 02 Aug 2011 17:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UpXpB0ZV8EBva8tPAD8ZOHARpH/JTnye5fMC86VBy8Y=; b=t5kPVf8Ul0VNekmCt1eTabmxCdFSuKdR1GfNlbevxHWcv2Ods5UprRIvT9IR0rVmbI 2ty7ALt7cTnKii8XCZsiajLTZeZH+HU6nFz0ZAczOGraIKFiX92b9WR0JERamKzsWI3t FYleOrJ5u5cIBNXo2GcmroD3UhGHf/npQRGfs= Original-Received: by 10.229.40.134 with SMTP id k6mr4612587qce.242.1312329814460; Tue, 02 Aug 2011 17:03:34 -0700 (PDT) Original-Received: by 10.229.218.202 with HTTP; Tue, 2 Aug 2011 17:03:34 -0700 (PDT) In-Reply-To: <5A047769-E5A3-4DCF-B889-F6A37ECE968A@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06FfA3zIr - 401eb1d9b999 - 20110803 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:70386 Archived-At: On Mon, Aug 1, 2011 at 17:25, Wolfgang Schuster wrote: > > Am 01.08.2011 um 17:15 schrieb Mojca Miklavec: > >> Hello, >> >> I would like to add timestamps to the document. The command \date >> seems handy for that, but it doesn't offer any hour/minute/second >> keyword, or at least I wasn't able to find it in documentation. >> >> Is there some more convenient way to add current date and time to the document? > > \starttext > \startlines > \currenttime > \currenttime[h] > \currenttime[m] > \currenttime[h,{\,:\,},m] > \stoplines > \stoptext Thank you. This should go to command reference, I guess (but I'm not sure what is the current upstream method to add new commands; wiki?). Is there any specific reason why hour and minutes are not supported in \date? Mojca ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________