From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15294 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: Overwritten metapost files Date: Tue, 01 Jun 2004 20:45:35 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <6.1.1.1.2.20040601204316.07d63500@server-1> References: <17900CC4-B0DD-11D8-B28B-0030659899AA@fiee.net> <7098E32A-B16F-11D8-A653-000A95C38698@ensta.fr> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1086117436 26981 80.91.224.253 (1 Jun 2004 19:17:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2004 19:17:16 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jun 01 21:17:11 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 1BVEl4-0001sP-00 for ; Tue, 01 Jun 2004 21:17:10 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id DD1ED10B69; Tue, 1 Jun 2004 21:12:15 +0200 (MEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ref.ntg.nl (Postfix) with ESMTP id D272510B5C for ; Tue, 1 Jun 2004 21:00:41 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i51J5SHR024975 for ; Tue, 1 Jun 2004 21:05:28 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id A06E11B2AE; Tue, 1 Jun 2004 21:05:32 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id E219C1B2BD for ; Tue, 1 Jun 2004 19:05:24 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 Original-To: ntg-context@ntg.nl In-Reply-To: <7098E32A-B16F-11D8-A653-000A95C38698@ensta.fr> Original-References: <17900CC4-B0DD-11D8-B28B-0030659899AA@fiee.net> <7098E32A-B16F-11D8-A653-000A95C38698@ensta.fr> X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j 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:15294 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15294 At 14:55 29/05/2004, you wrote: >Le 28 mai 04, =E0 21:27, Henning Hraban Ramm a =E9crit : > >> >>Am Freitag, 28.05.04, um 10:16 Uhr (Europe/Zurich) schrieb Nikolai= Weibull: >>>Probably not as good a reason as I think, but yes, the reason being that >>>I want all texexec output to go into a separate directory. > >Yes, I'd lik that idea very much too! > >Sometimes, one have many (user) files in the main directory, One can >creates subdirectories for well indentified files such as "figures" >for all fil related to figure source (xfig, pstricks, matlab,...) >But I think all context build files (and file derived from context >like metopost files should go **by default** into a separate directory . >(but not the main output file such as "myRaport.pdf" !) > >>Did you try >>texexec myfile --result=3Doutput/myfile normally context will use a namespace for temp files (for that you need to= =20 set \protectbufferstrue in your local cont-sys.tex) you can run on a separate path with texexec.pl --runpath=3De:\tmp\oeps test.tex (if this does not work, check texexec.pl: sub RunFiles { my $currentpath =3D cwd() ; # test if current path is writable if (! -w "$currentpath/texexec.tmp") { print " current path readonly : $currentpath\n"; if ($ENV["TEMP"] && -e $ENV["TEMP"]) { $RunPath =3D $ENV["TEMP"] ; } elsif ($ENV["TMP"] && -e $ENV["TMP"]) { $RunPath =3D $ENV["TMP"] ; } } # test if we need to change paths if (($RunPath ne "") && (! -w "$RunPath/texexec.tmp")) { print " changing to path : $RunPath\n"; $InpPath =3D $currentpath ; chdir ($RunPath) ; } # start working if ($PdfArrange) {