From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67344 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Use date of the tex file in the document Date: Thu, 24 Mar 2011 17:33:00 +0100 Message-ID: <579A9EA3-A9B1-44A6-ABC8-36F733161523@googlemail.com> References: <20110324102202.GD3626@orcus> <20110324120017.78d5e9b9@glyph> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300984419 18357 80.91.229.12 (24 Mar 2011 16:33:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2011 16:33:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 24 17:33:35 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 1Q2nTY-00049v-A1 for gctc-ntg-context-518@m.gmane.org; Thu, 24 Mar 2011 17:33:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6802CAB31; Thu, 24 Mar 2011 17:33:16 +0100 (CET) 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 QeSnAcRWOX1M; Thu, 24 Mar 2011 17:33:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 447A8CAB36; Thu, 24 Mar 2011 17:33:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7324ECAB36 for ; Thu, 24 Mar 2011 17:33:12 +0100 (CET) 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 ySUYx1ZJAabX for ; Thu, 24 Mar 2011 17:33:10 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 5B2B7CAB31 for ; Thu, 24 Mar 2011 17:33:10 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2OGXO7s009412 for ; Thu, 24 Mar 2011 17:33:24 +0100 Original-Received: by bwz17 with SMTP id 17so293543bwz.14 for ; Thu, 24 Mar 2011 09:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=jB8SsYXw2K7TuhHWoNu5eGshqebKpJrsLdpj/WuoEnQ=; b=ASbd3InD/sqSPvt4vR3Zc25+ikqhYaTIDNBcJauHv2r5c6iZC0p6cdtOK2B6B2XuHV e4ah+DBa9aMTS084D+grlXX8ZosmukXnu5RE36d903kmBD/1AJcvmwvH7Vu5AkXx3ghb 27+COS8G5zCMF9ME6EDISH2seN4l2F712ZbzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=vMKKbTN3xviRwmKYIxYxFWdc3V/AXqTmkVgvHnE3BAjx3iTiuhwBbXiZzRbzvhB6Fp b6ua+MsmfKJjX7p6r3ff+WGsDyXv35AHVySqOt7Ej+GqkxnRnhOQ4iodUMEnfxCCazdK qHPW4cCHFRhcT3gPt70Ozzi9vCllZ1CtAwvP4= Original-Received: by 10.204.127.129 with SMTP id g1mr7491127bks.39.1300984403928; Thu, 24 Mar 2011 09:33:23 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B294F15.dip.t-dialin.net [91.41.79.21]) by mx.google.com with ESMTPS id rb14sm63795bkb.9.2011.03.24.09.33.18 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Mar 2011 09:33:22 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 0rEn4xo4p - 87475c3af9af - 20110324 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:67344 Archived-At: Am 24.03.2011 um 17:29 schrieb Cecil Westerhof: > \def\getdate% > {\dosinglegroupempty\dogetdate} > > \def\dogetdate#1% > {context{modification_date("\jobname.tex", "#1")}} \def\getdate {\dosingleempty\dogetdate} \def\dogetdate[#1]% {\ctalua{context(modification_date("\jobname.tex", "#1"))}} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________