From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42365 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: foldername instead of jobname Date: Fri, 11 Jul 2008 22:58:34 +0200 Message-ID: <534DDCA6-FE46-404A-8BD3-9A642BB121B6@st.estfiles.de> References: <231AD6E7-EBF9-40A4-98AA-0C78E3F871B0@st.estfiles.de> <4877C646.4080802@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215810025 24412 80.91.229.12 (11 Jul 2008 21:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2008 21:00:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 11 23:01:11 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KHPja-00013t-EA for gctc-ntg-context-518@m.gmane.org; Fri, 11 Jul 2008 23:00:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE35A1FD04; Fri, 11 Jul 2008 22:59:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20502-01-16; Fri, 11 Jul 2008 22:59:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C28DA1FCA1; Fri, 11 Jul 2008 22:59:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16DB21FCA1 for ; Fri, 11 Jul 2008 22:59:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22289-03-2 for ; Fri, 11 Jul 2008 22:58:35 +0200 (CEST) Original-Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.44]) by ronja.ntg.nl (Postfix) with ESMTP id 40E511FC51 for ; Fri, 11 Jul 2008 22:58:35 +0200 (CEST) Original-Received: from [89.247.15.87] (helo=[192.168.1.5]) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1KHPhL-0003Zp-3H for ntg-context@ntg.nl; Fri, 11 Jul 2008 22:58:35 +0200 In-Reply-To: <4877C646.4080802@elvenkind.com> X-Mailer: Apple Mail (2.926) X-Df-Sender: 698580 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42365 Archived-At: Am 11.07.2008 um 22:44 schrieb Taco Hoekwater: > In mkiv you can simply do: > > \edef\foldername{\ctxlua{tex.sprint(lfs.currentdir())}} > > (assuming the jobname file lives inside the current directory) quite comfortable ;o) st. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________