From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76203 Path: news.gmane.org!not-for-mail From: hwitloc@gmail.com Newsgroups: gmane.comp.tex.context Subject: Insertion of a Document I.D. Date: Wed, 16 May 2012 13:08:39 +1000 Message-ID: <20120516130839.756@binki> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337141330 12150 80.91.229.3 (16 May 2012 04:08:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 May 2012 04:08:50 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Wed May 16 06:08:50 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SUVXY-0002nn-CH for gctc-ntg-context-518@m.gmane.org; Wed, 16 May 2012 06:08:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 513A7101E3; Wed, 16 May 2012 06:08:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Eb+eEykXofw1; Wed, 16 May 2012 06:08:41 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 221A4101DF; Wed, 16 May 2012 06:08:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B851D101DF for ; Wed, 16 May 2012 06:08:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jTn7bm7jmhxm for ; Wed, 16 May 2012 06:08:39 +0200 (CEST) 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 10BDD101CF for ; Wed, 16 May 2012 06:08:39 +0200 (CEST) Original-Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4G48bqs012998 for ; Wed, 16 May 2012 06:08:38 +0200 Original-Received: from binki (i254105.dynamic.ppp.asahi-net.or.jp [61.125.254.105]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id 9B70E14A54F for ; Wed, 16 May 2012 13:08:35 +0900 (JST) Original-cc: X-Mailer: MH-E 8.2; GNU Mailutils 2.1; GNU Emacs 23.1.90 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=202.224.39.197; country=JP; latitude=36.0000; longitude=138.0000; http://maps.google.com/maps?q=36.0000,138.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THas8Ckv - e09d7badd093 - 20120516 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:76203 Archived-At: I want to generate a document i.d. from the .tex source filename and the current date and put it into the footer. This might be possible already, but I could find it by searching the wiki for filename and document it, or rather too much since filename is mainly used for command line parameters, etc. I know the \currentdate will give the current system date part that I can use, but is there any \filename type command for the master filename, so that a document i.d. could be generated automatically. e.g. \filename\currentdate Regards ___________________________________________________________________________________ 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 ___________________________________________________________________________________