From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30073 invoked from network); 27 May 2023 10:09:32 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 27 May 2023 10:09:32 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5455E1C346A; Sat, 27 May 2023 12:09:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uPrX2Qf6ZuSR; Sat, 27 May 2023 12:09:09 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D7F9A1C38B6; Sat, 27 May 2023 12:09:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 33ECA1C38B6 for ; Sat, 27 May 2023 12:09:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id chcTZpRjh4zA for ; Sat, 27 May 2023 12:09:07 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.34.20; helo=outbound.soverin.net; envelope-from=j.hagen@freedom.nl; receiver= Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 521261C346A for ; Sat, 27 May 2023 12:09:07 +0200 (CEST) Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4QSyDz0KTFzJy for ; Sat, 27 May 2023 10:09:07 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4QSyDy2flPz6N for ; Sat, 27 May 2023 10:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1685182146; bh=h+tYpTkd7d7m09UZFZVGXPDAAxT3U4n5bG4avbKTw0M=; h=Date:Subject:To:References:From:In-Reply-To:From; b=mKI+spSExPZbdJ3LELHH2sRt/RcDjn25c49AsNiV6A4Dq/2T2EMf5/+Ec0ONVKeZV 04zYcyTVAoVmMs2zz3kIQO8xFOoVhZFe4igeWXoY7QwtALDNpztIs2xdO1JldCgRzM Tl7/iQUoMnbVui30uujNPmZzAi+7RoswafVNaPNI= ARC-Seal: i=1; s=default; d=freedom.nl; t=1685182146; a=rsa-sha256; cv=none; b=madqZYSG2l2EhaoTj68IJW4ukh8qvtPLVxFXiF7oMJqNKgvIFqUwYZjYGrhGmP1ToVyslR PR1KSFpk/UmM20F2WD8ocQ76nIXN71qTgaPAufIfok2BfZU7vKZq8Y041KmObAr5o3C6mn UVelphFGz30a/pqCEjqxmGp99sMVVf8= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1685182146; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hgb9QvoKJGWZ+oMIkm8UcwgfzJue06RyJ6qMehdX7OY=; b=n4ZSitpulznQ19ZAHvY/rhHmaayS+zYWTWdvcKTpc7aHa/y5F8gmLrCu+/nQijsIqjY0+l 4LXOk2sOBpBMnTs+Z3dsRJid/Ba+/2L5ZEntG5r4GjmIeT8VfzLuCNxjVPQDkdzKjhp5KQ uWVWAzLmu6tiY+NqlWTnGRhNxUl0brM= Message-ID: Date: Sat, 27 May 2023 12:09:04 +0200 MIME-Version: 1.0 Content-Language: en-US To: Denis Maier via ntg-context References: <8feec2e4d53b41b0898f66565c42ae2a@unibe.ch> X-Soverin-Authenticated: true In-Reply-To: <8feec2e4d53b41b0898f66565c42ae2a@unibe.ch> Subject: Re: [NTG-context] Can ConTeXt write its pdf to a different directory? X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Hans Hagen via ntg-context Reply-To: mailing list for ConTeXt users Cc: Hans Hagen Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" On 5/27/2023 11:51 AM, Denis Maier via ntg-context wrote: > I usually use a makefile for this. > There I have build rule that first cds into the target directory, then calls context from there. That is indeed the solution (also because the --path option will then fetch from the source). The more lua hackery the more danger of interference. The problem here is that a rename won't work in all scenarios (different drives on windows for instance, or from local disk to network drive). Anyway, one can also give --runpath=sometargetpath which i actually use to run for instance manuals, but there it is driven in the file itself: % language=us runpath=texruns:manuals/musings in combination with TEXRUNS=c:\data\temporary\texruns so that I don't overwrite a stable manual in the source path. Over the decades that context evolved there have been plenty such tricks added. I could probably add a move option to the job ticket mechanism but that has not changed in ages so ... workflows demands are too different. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________