From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15464 Path: main.gmane.org!not-for-mail From: "Patrick Gundlach" Newsgroups: gmane.comp.tex.context Subject: Re: filename Date: 21 Jun 2004 17:44:55 +0200 Organization: chaos Sender: ntg-context-admin@ntg.nl Message-ID: References: <200406211551.53467.lohmannt@web.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087832837 661 80.91.224.253 (21 Jun 2004 15:47:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 15:47:17 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Jun 21 17:47:10 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcR0o-000312-00 for ; Mon, 21 Jun 2004 17:47:10 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CDC1510B7C; Mon, 21 Jun 2004 17:47:06 +0200 (MEST) Original-Received: from lilly.ping.de (lilly.ping.de [83.97.42.2]) by ref.ntg.nl (Postfix) with SMTP id BF24810B77 for ; Mon, 21 Jun 2004 17:44:52 +0200 (MEST) Original-Received: (qmail 18520 invoked from network); 21 Jun 2004 15:44:36 -0000 Original-Received: (ofmipd 83.97.40.252); 21 Jun 2004 15:44:14 -0000 Original-Received: from schnee.local (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id i5LFiueu000730 for ; Mon, 21 Jun 2004 17:44:56 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id i5LFiu4D000729; Mon, 21 Jun 2004 17:44:56 +0200 (CEST) Original-To: ntg-context@ntg.nl X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f X-Lieblings-Musik: the_capricorns In-Reply-To: <200406211551.53467.lohmannt@web.de> (Thomas Lohmann's message of "Mon, 21 Jun 2004 15:51:53 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15464 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15464 Hello Thomas, > I'm looking for a comand to insert the current filename and or path like > inserting the current date with \currentdate. Any help? Well, I don't think you can do this. You can only get the name of the main TeX file by using \jobname, but thats all. (Hopefully I didn't miss some secret.) Different approach: put some info in your file with a macro like \define\thisfile{/path/to/test.tex}. Or you can put some RCS information in your file for example. Patrick --