From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67330 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Use date of the tex file in the document Date: Thu, 24 Mar 2011 11:56:08 +0100 Message-ID: References: <20110324102202.GD3626@orcus> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0194887222==" X-Trace: dough.gmane.org 1300964183 20244 80.91.229.12 (24 Mar 2011 10:56:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2011 10:56:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 24 11:56:18 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 1Q2iDA-00005D-LP for gctc-ntg-context-518@m.gmane.org; Thu, 24 Mar 2011 11:56:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33505CAAFF; Thu, 24 Mar 2011 11:56:02 +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 EvzhuVkLU0ln; Thu, 24 Mar 2011 11:56:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE095CAB2F; Thu, 24 Mar 2011 11:55:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06C55CAB2F for ; Thu, 24 Mar 2011 11:55:58 +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 4ZTXswJd2V8j for ; Thu, 24 Mar 2011 11:55:55 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id DC91FCAAFF for ; Thu, 24 Mar 2011 11:55:55 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2OAu9rS003925 for ; Thu, 24 Mar 2011 11:56:09 +0100 Original-Received: by fxm18 with SMTP id 18so10850200fxm.14 for ; Thu, 24 Mar 2011 03:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=7FswV/l6CbUFMoED6eAkIk+8YTju7NmiOcGHyGTGie8=; b=qTS4QS/o1Zzo1z76uriwxy5N8Bb56ooDm6TQiGJ0bXDTiRKRhuC33E1zbdrv86i5Wi 8yj15qYqBG7LrZIXDBlmwXiAgER7pjMYDBuWWx0ccMhAAb51WTw+QJgQjiNP7r9PFgfy 8lfKxS8JADenaeK6e7vVn2QdykkAIzOqM9x5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DrogxL4KOJ/jvKfzcNiQ5vyCZDv9b2VzXy64acWRPgR0S0jAyCLCqYQaQugTvBpvjI YtcmxOlzgCXQ+DQzHSN4UTSEPX51QdiBaSK6HKch5jzsmRKDTrLXFpoy/26eLHLjehoV QdcyCBiu4jV2hC1Aeywa1Vjuz270y6mztlweo= Original-Received: by 10.223.159.9 with SMTP id h9mr999087fax.145.1300964168956; Thu, 24 Mar 2011 03:56:08 -0700 (PDT) Original-Received: by 10.223.110.71 with HTTP; Thu, 24 Mar 2011 03:56:08 -0700 (PDT) In-Reply-To: <20110324102202.GD3626@orcus> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0bEmWU9Qi - 7ac5f23028fb - 20110324 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:67330 Archived-At: --===============0194887222== Content-Type: multipart/alternative; boundary=0023541868d427fb6b049f385322 --0023541868d427fb6b049f385322 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/3/24 Philipp Gesang > On 2011-03-24 <10:26:00>, Cecil Westerhof wrote: > > I would like to use the date of the document in the generated PDF. (It = is > > not interesting when the PDF is generated, but when the source was last > > changed.) How would I do this? > > this solution checks only the main file, you=92d have to extend it > if you want it to respect included parts as well. > For this moment it is good enough. In the future I'll change it to generate different formats. (I'll post it here.) --=20 Cecil Westerhof --0023541868d427fb6b049f385322 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2011/3/24 Philipp Gesang <<= a href=3D"mailto:pgesang@ix.urz.uni-heidelberg.de">pgesang@ix.urz.uni-heide= lberg.de>
On 2011-03-24 <10:26:00>, Cecil Westerhof wrote: > I would like to use the date of the document in the generated PDF. (It= is
> not interesting when the PDF is generated, but when the source was las= t
> changed.) How would I do this?

this solution checks only the main file, you=92d have to extend it
if you want it to respect included parts as well.

= For this moment it is good enough. In the future I'll change it to gene= rate different formats. (I'll post it here.)

-- Cecil Westerhof
--0023541868d427fb6b049f385322-- --===============0194887222== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0194887222==--