ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Project structure with nested subfolders and shared environments.
@ 2022-12-15 21:52 Pawel Urbanski via ntg-context
  2022-12-16  6:51 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 8+ messages in thread
From: Pawel Urbanski via ntg-context @ 2022-12-15 21:52 UTC (permalink / raw)
  To: ntg-context; +Cc: Pawel Urbanski


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-16 14:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 21:52 Project structure with nested subfolders and shared environments Pawel Urbanski via ntg-context
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

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).