From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116637 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pawel Urbanski via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Project structure with nested subfolders and shared environments. Date: Fri, 16 Dec 2022 11:00:47 +0100 Message-ID: References: <0b2d6985-980d-251a-a332-25a1b87e5765@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6114146187424797837==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Pawel Urbanski To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 16 11:01:23 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 1p67Ws-0000mY-LS for gctc-ntg-context-518@m.gmane-mx.org; Fri, 16 Dec 2022 11:01:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 368DF2A4D2F; Fri, 16 Dec 2022 11:01:03 +0100 (CET) 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 Jd3Oom4OKO6t; Fri, 16 Dec 2022 11:01:02 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5096B2A4D35; Fri, 16 Dec 2022 11:01:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E1D972A4D34 for ; Fri, 16 Dec 2022 11:01:00 +0100 (CET) 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 S63GhREl2BiW for ; Fri, 16 Dec 2022 11:01:00 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.47; helo=mail-ua1-f47.google.com; envelope-from=urbanski.pawel@gmail.com; receiver= Original-Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (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 D90C12A4D2F for ; Fri, 16 Dec 2022 11:00:59 +0100 (CET) Original-Received: by mail-ua1-f47.google.com with SMTP id p9so394514uam.12 for ; Fri, 16 Dec 2022 02:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=zgo80f6jle2Z/FK7mzVyfKV5UEe2bnKtv9JMEtmdAYc=; b=mJ8J/wlRzbwwCxnkxsu7q1ELS59N+DLMJKEmUCzusnZ46B4o0foEQzdOTKZNljP+42 v+dbnEMhV0aPOBxOHqp1R2D5EMQEQnzINUmE1XFFF4uOP7nrnBjAMjavWaqLc04TeCD6 gK6MZWTjMUrlbd5AZF7PYA11CWe5lLbaNq20T1zn/Zi7tUkBf3XUZ61F4suUq0wUbynP xtmARsWJ9AjJ6k00CDbX1sVPuu0SJEowh/qbZrbSqMQ63VD5rm8OSbmq+Mr9ATPYh947 9X+QqC1zIjAkYqBcVDKRmIUz4A1WHTX8+m0N990f9QYfzAGrRx9Wzh7p/kF7kpSiTL2G 5+fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zgo80f6jle2Z/FK7mzVyfKV5UEe2bnKtv9JMEtmdAYc=; b=pAul9aee6bn1Relts4+j7gxFWQhsQjOmYFgYbwELDSFALufK2VOxpe3Vg5YDwDbefe AtoZXy7oGedlDQBb8m5wvBsQB/99bwzoCEZ73t2U6oyNdun32uW/2OnW+djS/q/ySprQ 8kIwQaNBz9TKgV9m23cPFkn1hpS+1K3LvUAGMJjqRgfQTAGuPZPJw2gxTI0WFUStSZcg P3eMb6oK3WB5G8NiQ64bKBPl3+6Nd4A69Q7zvrh9+WtZ7xA5w+CBeVDN3oXNk4Hk+D7+ OPFh2u03osr1oJgu0qyqLBB8Uu09bbyAIOwdSr7i2R8WL3cicNLp34RFdkOXxWtkh3d0 nhgg== X-Gm-Message-State: ANoB5pmh6NS8PCn6IZkpCpdzqKmgNzS8ZCB4AlaEb8zx32s+TSvGnCdR u+fXvJxDlNF7xhu+Yip9FYk2BoJhmHOAi+39d5TUSwHA X-Google-Smtp-Source: AA0mqf440OScEy171q+p93UwLijCWjcZH7u9dzw4W5FfHmUVNdF45VMqDHkKaOg8XqMgiWi0o9c6fQJ1/ZV+bjenV9s= X-Received: by 2002:a9f:3098:0:b0:419:a6c9:f55e with SMTP id j24-20020a9f3098000000b00419a6c9f55emr17166110uab.44.1671184858388; Fri, 16 Dec 2022 02:00:58 -0800 (PST) In-Reply-To: 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:116637 Archived-At: --===============6114146187424797837== Content-Type: multipart/alternative; boundary="000000000000d69ca405efef0b45" --000000000000d69ca405efef0b45 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for responses. While the ability to sort of inherit setups would be very useful it looks like as of time of posting this message in December 2022 it is not possible. As a workaround I will create a shead environment file and just bulk copy it to subfolders. In case when I'll need to globally change some configuration I can just replace the file. I keep all my documents in GIT so the ability to reverte hte change is just a command away. Thanks for help. Best, Pawel On Fri, Dec 16, 2022 at 10:55 AM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 16.12.22 um 10:09 schrieb Pawel Urbanski via ntg-context: > > When I compile a document I switch to the SubSubFolder for the document > > file is in there. > > In my experience this won=E2=80=99t work. ConTeXt searches from the curre= nt > folder (you can configure search paths, but I gave up on that, and you=E2= =80=99d > have to do it in the called file). > > It should be enough to call the environment from the project, but either > the project or the environment isn=E2=80=99t found if the path doesn=E2= =80=99t fit the > call location. > > Hraban > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --000000000000d69ca405efef0b45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for responses. While the ability to sort of inhe= rit setups would be very useful it looks like as of time of posting this me= ssage in December 2022 it is not possible.
As a workaround I will creat= e a shead environment file and just bulk copy it to subfolders. In case whe= n I'll need to globally change some configuration I can just replace th= e file.
I keep all my documents in GIT so the ability to reverte = hte=C2=A0change is just a command away.

Thanks for= help.

Best,
Pawel

On Fri, Dec 16, = 2022 at 10:55 AM Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl> wrote:
Am 16.12.22 um 10:09 schrieb Pawel Ur= banski via ntg-context:
> When I compile a document I switch to the SubSubFolder for the documen= t
> file is in there.

In my experience this won=E2=80=99t work. ConTeXt searches from the current=
folder (you can configure search paths, but I gave up on that, and you=E2= =80=99d
have to do it in the called file).

It should be enough to call the environment from the project, but either the project or the environment isn=E2=80=99t found if the path doesn=E2=80= =99t fit the
call location.

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

maillist : ntg-cont= ext@ntg.nl / https://www.ntg.nl/mailman/listinfo/= ntg-context
webpage=C2=A0 : https://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 :
https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: https://contextgarden.net
___________________________________________________________________________= ________
--000000000000d69ca405efef0b45-- --===============6114146187424797837== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6114146187424797837==--