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 28974 invoked from network); 27 May 2023 09:51:47 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 27 May 2023 09:51:47 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B7B7C1C3468; Sat, 27 May 2023 11:51:29 +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 IMi2BNAWB_8O; Sat, 27 May 2023 11:51:26 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 12E1D1C38C6; Sat, 27 May 2023 11:51:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 00B9E1C3468 for ; Sat, 27 May 2023 11:51:23 +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 bqW487r2ANBL for ; Sat, 27 May 2023 11:51:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.83; helo=mailhub-lb2.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch [130.92.0.83]) (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 3DCE41C3218 for ; Sat, 27 May 2023 11:51:21 +0200 (CEST) X-Virus-Scanned: By University of Bern - MGW Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id E257850008F; Sat, 27 May 2023 11:51:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unibe.ch; s=mgwsel1; t=1685181079; bh=x7pr7DmEJgauKcpX+D7sHaKkc4bCzz9d/3PPFLDNGQA=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=Bsb0ntGu2FgqhwDt/MXjJHoTGDM/RS5bQVR4KPaznnABA1nSIfSFflkHKsryUQCS+ Ea7IfhmmE58W0xoxc8nKiW7ptxnNWU5YS8DRlcleaVO8XUweAVfIHVZ2KE5aFem++J JwpiU6/GBxZwAR4iNY/7QvvX8PxFUNuU2vxsoOPrMlvLhiF7IrnkwQGJV6ojaFJnkZ GKKPkx1irYw8ySWml9Is5Meixlv+hTuJtwd0WXl4a/7MhkQYfH+tncjC2kDEqPtu6u GLM9U6BM3sRkcPUTU+rVst3537Pbl4af8o2Y/fPuNmeHgR0EROAryUHC4UsvJBjwz6 eimUIRwP4Cp7w== Received: from aai-mail-01.campus.unibe.ch (130.92.13.40) by AAI-EDGE-04.campus.unibe.ch (130.92.13.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.1.2507.23; Sat, 27 May 2023 11:51:17 +0200 Received: from aai-mail-03.campus.unibe.ch (130.92.13.41) by aai-mail-01.campus.unibe.ch (130.92.13.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.1.2507.23; Sat, 27 May 2023 11:51:19 +0200 Received: from aai-mail-03.campus.unibe.ch ([172.18.73.17]) by aai-mail-03.campus.unibe.ch ([172.18.73.17]) with mapi id 15.01.2507.023; Sat, 27 May 2023 11:51:19 +0200 To: Thread-Topic: [NTG-context] Can ConTeXt write its pdf to a different directory? Thread-Index: AQHZkD94EJtwMOqaYEWw6POyw8osfa9t4K4B Date: Sat, 27 May 2023 09:51:19 +0000 Message-ID: <8feec2e4d53b41b0898f66565c42ae2a@unibe.ch> References: In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-CH X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.72.2] MIME-Version: 1.0 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: Denis Maier via ntg-context Reply-To: mailing list for ConTeXt users Cc: denis.maier@unibe.ch Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" I usually use a makefile for this. There I have build rule that first cds into the target directory, then calls context from there. Best Denis ________________________________________ Von: ntg-context im Auftrag von peter.hopcroft--- via ntg-context Gesendet: Samstag, 27. Mai 2023 03:52:42 An: ntg-context@ntg.nl Cc: peter.hopcroft@icloud.com Betreff: [NTG-context] Can ConTeXt write its pdf to a different directory? My .tex file is in a directory within my working directory. I would like ConTeXt to write its output in the same directory as my .tex file. But it writes to the working directory. This was asked 10 years ago: `tex.stackexchange.com/questions/67928/how-to-set-output-directory-in-context-command` The answer given then was to use: `context filename --result=output-directory/filename` But this doesn't work now. When I compile my .tex file, I get a message: `results are to be on the running path, not on 'output-directory', ignoring --result` I've looked in the wiki: `https://wiki.contextgarden.net/Context` Thank you, Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________