From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29430 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: tempdir support in texexec.rb Date: Tue, 18 Jul 2006 12:40:29 +0200 Message-ID: <6faad9f00607180340i4bce9ef3h7d4294f127776558@mail.gmail.com> References: <44BB9D59.30804@tttech.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1153219257 16854 80.91.229.2 (18 Jul 2006 10:40:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2006 10:40:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 18 12:40:55 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G2n0M-0006Wl-Sp for gctc-ntg-context-518@m.gmane.org; Tue, 18 Jul 2006 12:40:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E0D4A12829; Tue, 18 Jul 2006 12:40:42 +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 24634-02-4; Tue, 18 Jul 2006 12:40:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8041412821; Tue, 18 Jul 2006 12:40:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5955612821 for ; Tue, 18 Jul 2006 12:40:33 +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 24634-02-3 for ; Tue, 18 Jul 2006 12:40:31 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by ronja.ntg.nl (Postfix) with SMTP id 0D5F0127ED for ; Tue, 18 Jul 2006 12:40:30 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id p46so117293nfa for ; Tue, 18 Jul 2006 03:40:29 -0700 (PDT) Original-Received: by 10.78.177.3 with SMTP id z3mr1417402hue; Tue, 18 Jul 2006 03:40:29 -0700 (PDT) Original-Received: by 10.78.175.15 with HTTP; Tue, 18 Jul 2006 03:40:29 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: <44BB9D59.30804@tttech.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29430 Archived-At: On 7/17/06, Matthias W=E4chter wrote: > Hi, > > Naively, I thought that the --tempdir option would allow the 'temporary' = files created/updated at a run of texexec be written to whatever is given a= s --tempdir=3D/dir/, but it doesn't work, the files remain in the current d= irectory. Additionally, --output seems to disallow the output be put into a= nother directory (it's always put into `pwd`). > > Is there a (better?) way to specify where these files should go? > > What I'd expect is a directory layout like the following: > > files/ > onesource.tex > env.tex > othersource.tex > project.tex > out/ > project.pdf > tmp/ > project.tmp > project.log > project.tui > project.tuo > mpgraph.mp > project-mpgraph.mp > > as a result of > > $ cd files/ > $ texexec --pdf --tempdir=3Dtmp --output=3Dout/project.pdf project > > Is /me the only one who desires such a split? I would vote for that feature too. With LaTeX you only get approximately two or three additional files which is still acceptable, but esp. when using modules such as R and (yet unfinished) gnuplot, the whole folder becomes pretty messy and you never know what to delete and what not. It's almost impossible to extend ctxtools to delete all the necessary files since even PDF files might serve as "temporary" files in "static" MP figures or as intermediate results of gnuplot runs, ... Mojca