From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114641 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: command line arguments to specify output directory Date: Thu, 31 Mar 2022 17:02:27 +0200 Message-ID: References: <5da928cb-f64b-e0e7-ff14-eada822825fa@gmail.com> <76b99f3b-d189-ca56-6460-16bd6d0a631f@leliseron.org> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5442138381491645012==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39119"; mail-complaints-to="usenet@ciao.gmane.io" Cc: A A To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 31 17:03:08 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZwKK-0009uE-Gz for gctc-ntg-context-518@m.gmane-mx.org; Thu, 31 Mar 2022 17:03:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 46E6B2899BE; Thu, 31 Mar 2022 17:02:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-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 zlMUwIBEbmKi; Thu, 31 Mar 2022 17:02:43 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F08BE289967; Thu, 31 Mar 2022 17:02:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E6500289967 for ; Thu, 31 Mar 2022 17:02:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-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 uAge_Q0uvkuw for ; Thu, 31 Mar 2022 17:02:40 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.180; helo=mail-il1-f180.google.com; envelope-from=amine.aboufirass@gmail.com; receiver= Original-Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5703928981D for ; Thu, 31 Mar 2022 17:02:40 +0200 (CEST) Original-Received: by mail-il1-f180.google.com with SMTP id k11so8256126ilv.5 for ; Thu, 31 Mar 2022 08:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eFMcnYQOh66Gwa7A+l6OUXzsUKyY/+X1vlyIyvcnUcE=; b=a6mriwms0L8D5pNSHpwbYofPI48Akd5a5tt9hOYiCR8beMarMztUrif/kKRVQwzyWI BHfUSawg3O0ebd7zfZUGVigpSSvTIfbvyq+dc2kuzRvErZtd97YCXf73DetMe7UjmfvY Foo/IUs6IIwwI7D2RD3IxsSGHY3WKzRjnsvVIEzf1HtmCkqIE3hesWj8S+kWA4io4a01 5mOZi7XMylJI/kh1jA+zjMCmHNNTRhoAOgLqFMKnx+jMX/Cr+dGsaYHF84bYqVu4ID7A ClxrynylbY6hqAL2YdBZHacVu/2lqSGo20WYiBMpafHU1Tl1UV22R1JUbfBeQWvEPyMk aw5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eFMcnYQOh66Gwa7A+l6OUXzsUKyY/+X1vlyIyvcnUcE=; b=d5/4hImCsZa89NA/gkybEJJb/fEZq0Of6UVJ8Jt6jNJMCiMSjNJFwUiX9dc6Hu1m8U zlFoAkQbw/5VfxwTNPwVvj7NCz5zmV3ynZJENtkvdRFaBb/PBmvK0w0t9NC8lA/ApczB ggfF/flPy0ybuWYqyfkd00NnURnkKzdPu6z5Q9ojg0nsKtJm7Yf4v++jcBRkgZEjAn16 /hxEC8aKd0Jja0ujelhQnVSVs/UMSIoH4g7R3ZJE4rTV1GovgUR7uTP7d6UxU7NiKDL0 ycwCbOcv5HXZ59TYWAsSfYy3l8gQH96IVJc+t8H6gsM7n04ANjk46Vc6iySHe+WWfAmc +szQ== X-Gm-Message-State: AOAM530uCYOCRvTpbVoFhvsPyM7FyVS9D6+KJw2+0WYIOkjH8T4mUNGt s4U7BuaPLiTG8UOvFcFBJhfcPRsbVmYIBkRWsIDsoxp2Pv3rPQ== X-Google-Smtp-Source: ABdhPJxQreqobCAYnS74usG5ofo3HTvwtXMUrVGixdmddVPFumxkAP66giDTcR2Pw5umQHAwybaKzq4fUtxKyV4Q3cE= X-Received: by 2002:a05:6e02:1c8b:b0:2c8:37b1:3934 with SMTP id w11-20020a056e021c8b00b002c837b13934mr13777181ill.311.1648738958140; Thu, 31 Mar 2022 08:02:38 -0700 (PDT) In-Reply-To: <76b99f3b-d189-ca56-6460-16bd6d0a631f@leliseron.org> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114641 Archived-At: --===============5442138381491645012== Content-Type: multipart/alternative; boundary="000000000000ed699005db84f351" --000000000000ed699005db84f351 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable At first I was not following Aditya's note that "filename has to be relative to the test/ directory not CWD". When I followed that recommendation it worked fine. On Thu, 31 Mar 2022, 11:28 Alain Delmotte via ntg-context, < ntg-context@ntg.nl> wrote: > Hi Amine, > Le 31/03/2022 =C3=A0 07:24, A A via ntg-context a =C3=A9crit : > > Hi Aditya, > > Nevermind, I got it to work. Thanks! > > Amine > > > And how did you get it to work? Could you leave a trace of what you did? > > Thanks > > -- > > Alain > > > On Thu, 31 Mar 2022 at 07:21, A A wrote: > >> Hi Aditya, >> >> Sorry, but I'm still getting an error: >> >> *runtime error : input file 'test/test.tex' is not found, quitting* >> >> Amine >> >> On Thu, 31 Mar 2022 at 00:46, Aditya Mahajan via ntg-context < >> ntg-context@ntg.nl> wrote: >> >>> On Wed, 30 Mar 2022, A A via ntg-context wrote: >>> > On Wed, 30 Mar 2022 at 18:39, Wolfgang Schuster < >>> > wolfgang.schuster.lists@gmail.com> wrote: >>> > >>> > > A A via ntg-context schrieb am 30.03.2022 um 18:24: >>> > > > Dear All, >>> > > > >>> > > > I would like to ask whether there exists a command line option to >>> the >>> > > > context executable which would allow me to specify the directory = in >>> > > > which I would like my output to be dumped. >>> > > > >>> > > > I have noticed that if I call the executable outside the director= y >>> in >>> > > > which the .tex file resides, my supporting files (and resulting >>> pdf) >>> > > > are dumped outside the directory in which the .tex file is locate= d. >>> > > >>> > > context --runpath=3D... filename >>> > >>> > - I tried the following *context --runpath=3Dtest test/test.tex * = but >>> it >>> > still dumps all the output (.log, .pdf and .tuc) into my current >>> directory. >>> > I would like for it to get dumped inside the *test *directory... >>> >>> mtxrun --path=3Dtest --script context test.tex >>> >>> (note that filename has to be relative to the test/ directory not CWD) >>> >>> Aditya >>> >>> _______________________________________________________________________= ____________ >>> 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://context.aanhet.net >>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>> wiki : http://contextgarden.net >>> >>> _______________________________________________________________________= ____________ >>> >> > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000ed699005db84f351 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
At first I was not following Aditya's note that= =C2=A0 "filename has to be relative to the test/ directory not CWD&quo= t;. When I followed that recommendation it worked fine.

On Thu, 31 Mar= 2022, 11:28 Alain Delmotte via ntg-context, <ntg-context@ntg.nl> wrote:
=20 =20 =20

Hi Amine,

Le 31/03/2022 =C3=A0 07:24, A A via ntg-context a =C3=A9crit=C2=A0:
=20
Hi Aditya,

Nevermind, I got it to work. Thanks!

Amine


And how did you get it to work? Could you leave a trace of what you did?

Thanks

--

Alain


On Thu, 31 Mar 2022 at 07:21, A A <amine.aboufirass@gmail.com> wrote:
Hi Aditya,

Sorry, but I'm still getting an error:

runtime error : input file 'test/test.tex' is n= ot found, quitting

Amine

On Thu, 31 Mar 2022 at 00:46, Aditya Mahajan via ntg-context <ntg-context@ntg.nl<= /a>> wrote:
On Wed, 30 Ma= r 2022, A A via ntg-context wrote:
> On Wed, 30 Mar 2022 at 18:39, Wolfgang Schuster <
>
wolfgang.schuster.lists@gmail.com> wrote:
>
> > A A via ntg-context schrieb am 30.03.2022 um 18:24:
> > > Dear All,
> > >
> > > I would like to ask whether there exists a command line option to the
> > > context executable which would allow me to specify the directory in
> > > which I would like my output to be dumped.
> > >
> > > I have noticed that if I call the executable outside the directory in
> > > which the .tex file resides, my supporting files (and resulting pdf)
> > > are dumped outside the directory in which the .tex file is located.
> >
> > context --runpath=3D... filename
>
>=C2=A0 =C2=A0 - I tried the following *context --runpath= =3Dtest test/test.tex * but it
>=C2=A0 =C2=A0 still dumps all the output (.log, .pdf and = .tuc) into my current directory.
>=C2=A0 =C2=A0 I would like for it to get dumped inside th= e *test *directory...

mtxrun --path=3Dtest --script context test.tex

(note that filename has to be relative to the test/ directory not CWD)

Aditya
___________________________________________________________________________= ________
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=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 : https://bi= tbucket.org/phg/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net<= /a>
___________________________________________________________________________= ________

________________________________________________________________=
___________________
If your question is of interest to others as well, please add an entry to t=
he Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl=
/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror=
/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________=
________
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / http:/= /www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000ed699005db84f351-- --===============5442138381491645012== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5442138381491645012==--