ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pawel Urbanski via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Pawel Urbanski <urbanski.pawel@gmail.com>
Subject: Project structure with nested subfolders and shared environments.
Date: Thu, 15 Dec 2022 22:52:43 +0100	[thread overview]
Message-ID: <CADUDiDEHc4Q5n8e_j2APL6zptL6GhO+kZM8snLudek1uLV5ksw@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1358 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1559 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2022-12-15 21:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15 21:52 Pawel Urbanski via ntg-context [this message]
2022-12-16  6:51 ` Henning Hraban Ramm via ntg-context
2022-12-16  9:09   ` Pawel Urbanski via ntg-context
2022-12-16  9:54     ` Henning Hraban Ramm via ntg-context
2022-12-16 10:00       ` Pawel Urbanski via ntg-context
2022-12-16 10:19         ` Denis Maier via ntg-context
2022-12-16 14:00     ` Wolfgang Schuster via ntg-context
2022-12-16  9:11   ` Denis Maier via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADUDiDEHc4Q5n8e_j2APL6zptL6GhO+kZM8snLudek1uLV5ksw@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=urbanski.pawel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).