From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78419 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Current source directory. Date: Mon, 24 Sep 2012 23:37:53 +0200 Message-ID: <871uhryudq.fsf@micropit.couberia.selfip.net> References: 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: ger.gmane.org 1348522681 2070 80.91.229.3 (24 Sep 2012 21:38:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2012 21:38:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 24 23:38:05 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 1TGGLq-0002f2-IX for gctc-ntg-context-518@m.gmane.org; Mon, 24 Sep 2012 23:38:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66D8D10249; Mon, 24 Sep 2012 23:37:57 +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 3wQDs5P0TdP2; Mon, 24 Sep 2012 23:37:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C7AB8101EB; Mon, 24 Sep 2012 23:37:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE6C0101EB for ; Mon, 24 Sep 2012 23:37:52 +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 KfVPxFywvxVm for ; Mon, 24 Sep 2012 23:37:52 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 1AFBC101E9 for ; Mon, 24 Sep 2012 23:37:51 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8OLgdlu025105 for ; Mon, 24 Sep 2012 23:42:39 +0200 Original-Received: from micropit.couberia.bzh ([2.2.244.192]) by mwinf5d49 with ME id 39dq1k00D49n6sq039drBp; Mon, 24 Sep 2012 23:37:51 +0200 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id AF4A85007D8; Mon, 24 Sep 2012 23:37:53 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: (Andre Caldas's message of "Mon, 24 Sep 2012 17:28:03 -0300") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.124; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01I39GDEH - fe715ea49370 - 20120924 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78419 Archived-At: On Mon, Sep 24 2012, Andre Caldas wrote: > Is there a way to know the directory of the currently being processed > source file? This works with mkiv: \starttext PWD: \cldcontext{io.popen"pwd":read()} \stoptext -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________