From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116629 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pawel Urbanski via ntg-context Newsgroups: gmane.comp.tex.context Subject: Project structure with nested subfolders and shared environments. Date: Thu, 15 Dec 2022 22:52:43 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0328382833123649437==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7492"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Pawel Urbanski To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 15 22:53:26 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 1p5wAQ-0001ij-4C for gctc-ntg-context-518@m.gmane-mx.org; Thu, 15 Dec 2022 22:53:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1D1A62A4CD4; Thu, 15 Dec 2022 22:53:01 +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 ee3kQKimoy3d; Thu, 15 Dec 2022 22:52:58 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AE29E2A4CE5; Thu, 15 Dec 2022 22:52:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DA74B2A4CE2 for ; Thu, 15 Dec 2022 22:52:55 +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 ZaOehNWG1UiF for ; Thu, 15 Dec 2022 22:52:54 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.46; helo=mail-ua1-f46.google.com; envelope-from=urbanski.pawel@gmail.com; receiver= Original-Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (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 347392A4CD4 for ; Thu, 15 Dec 2022 22:52:53 +0100 (CET) Original-Received: by mail-ua1-f46.google.com with SMTP id n21so82690uaj.8 for ; Thu, 15 Dec 2022 13:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Hl4g/1fao6Y3hw/X6iASxkcEgfP0SBl7xLK8zyfV1fc=; b=LsDyoXfo68pqvq16xWGJFAu9CPcA23a13qlchpADZWhMGcOHqcDnexj5qte5vLgryF N8wiqRWsPcTCG2UWkR8PwBGjFduA3NH1ZC/xIrykXhTRGd+px+BoLMp3+rFLu6NaNVul FAg/XgYa8Ue+KuN02vOU9FbXRkPe1h2ODGZikJ2ersbBSO80Ri2EYfB5Rv5kQ1lEXq4d u4OMqKXxiz2enai9gnoH9SVa8fNZmX4L/ga9J7MwDNJIHp2mCRqQUBs7oE9j0RGIy9m+ Ou0p7Z/tztQm2QTbjs9bB7RxQw/BEcjnC1Q60DDl6fKz4ecyfVs8W7wWkQxqf6kjhXyL FIhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Hl4g/1fao6Y3hw/X6iASxkcEgfP0SBl7xLK8zyfV1fc=; b=FyfHxg5RHU8xvvfWzq/EqVVEf3s1IGARFe5vgMpJGMYrRxi57qQbdLrudO0x/wna+c jqmiTyWY6NhHpXDpNA/n3aqLm8s8Sq53J+ZlGkIW4atv2gvy8HggtlYBiEjzF0axjG3P hqbc1bk/O2cUF8Zv/Kx+cppgOeZQX9kD1v5OlFgKOwpvGDV3Oy9q+wHBG4Wgcv/Sr+4q Yq6aO/US4ySF13OwHeDqPnAx7bjsunex5t7Om3e4t5tJBZ2pmjNIZfEqOk2A4yF/U6Lr x3V7TLOLq2GAwRGe77yHQD7NQUm/ZZhANoGzE6hxC8aoTpBpLMecztCL8LtJJgIfl9bx 6FXQ== X-Gm-Message-State: ANoB5pkCNjG3Z3BdY0wJIK4tX3OnZCkl+AgGveFRuwVr7W+z8zkSXZTC ctK1kEYzlvkRwqdM7TCpyLriQGhGwhWZ1W4cj4NKA1DkwBs= X-Google-Smtp-Source: AA0mqf7feXqmcQccDGAMVj3br1viq2cfq9NPz3tZSprQhnTi6fkoEAW/yPjzE+qT7HrB0lPJIghPfLpWqfO3kjEqisk= X-Received: by 2002:a9f:3098:0:b0:419:a6c9:f55e with SMTP id j24-20020a9f3098000000b00419a6c9f55emr16863205uab.44.1671141172176; Thu, 15 Dec 2022 13:52:52 -0800 (PST) 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:116629 Archived-At: --===============0328382833123649437== Content-Type: multipart/alternative; boundary="000000000000efec1305efe4df9e" --000000000000efec1305efe4df9e Content-Type: text/plain; charset="UTF-8" Dear Everyone, I'm setting up a project structure that will possibly let me share styles and layouts with lots of documents I need to create weekly. Unfortunately my definitions in the environment file or files are ignored... Here is the setup under the purposely created structure: ** The folder called: 'MainFolder' is the root of my document repository. ** The 'Metadata' folder inside the 'MainFolder' contains environment files. ** The 'SubFolder/SubSubFolder' inside the 'MainFolder' is the nestin glevel I need with all the documents. Here are the files: % /MainFolder/Meta.tex \startproject * \usepath [{ Metadata }] \environment Environment.tex \stopproject % /MainFolder/Metadata/Environment.tex \startenvironment * % Test if setup is applied. \setupbodyfont[ebgaramond] \stopenvironment % /MainFolder/SubFolder/SubSubFolder/Doc.tex \startproduct * \project Meta \startcomponent * \startchapter[title={ Nested }] \input tufte \stopchapter \stopcomponent \stopproduct Unfortunately the default font is applied and EB Garamond is not picked up from the environment. The question is: ** How can I use such a structure to share styles and layouts kept i the 'Metadata' folder and use htem in products that are ment to be complete documents kept in the 'SubSubFolders'? All the very best and htank you in advance for any clarifications... Pawel --000000000000efec1305efe4df9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Everyone,
I'm setting up a project structure t= hat will possibly let me share styles and layouts with lots of documents I = need to create weekly.
Unfortunately my definitions in the environment f= ile or files are ignored...

Here is the setup under the purposely cr= eated structure:
** The folder called: 'MainFolder' is the root = of my document repository.
** The 'Metadata' folder inside the &= #39;MainFolder' contains environment files.
** The 'SubFolder/Su= bSubFolder' inside the 'MainFolder' is the nestin glevel I need= with all the documents.
=C2=A0Here are the files:
% /MainFolder/Meta= .tex
\startproject *
\usepath [{ Metadata }]
\environment Environm= ent.tex
\stopproject

% /MainFolder/Metadata/Environment.tex
\s= tartenvironment *
% Test if setup is applied.
\setupbodyfont[ebgaramo= nd]
\stopenvironment

% /MainFolder/SubFolder/SubSubFolder/Doc.tex=
\startproduct *
\project Meta
\startcomponent *
\startchapter[= title=3D{ Nested }]
\input tufte
\stopchapter
\stopcomponent
\s= topproduct

Unfortunately the default font is applied and EB Garamond= is not picked up from the environment.

The question is:
** How c= an I use such a structure to share styles and layouts kept i the 'Metad= ata' folder and use htem in products that are ment to be complete docum= ents kept in the 'SubSubFolders'?

All the very best and htan= k you in advance for any clarifications...

Pawel
--000000000000efec1305efe4df9e-- --===============0328382833123649437== 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== --===============0328382833123649437==--