ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Project setup query
@ 2020-04-30 13:07 Alan Bowen
  2020-04-30 17:30 ` Henning Hraban Ramm
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Bowen @ 2020-04-30 13:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

This is a minor issue—to which I expect the answer will be simple,
something I should know by now but do not. I am just trying to see if I can
streamline a working directory.

In Directory01, I have a number of prd_NameXX.tex files as well as a
Directory02 which contains .tex files  that are to be called on by each one
of the prd_Name.tex files.

Is there a way to identify the TEX root for each of the common files (in
Directory02) so that
the file will be processed when I process any one of the prd files in
Directory01?

I have tried
% !TEX root=../prd_\mystring.tex

with, e.g., \def\mystring{Name01} in the prd_Name01.tex file, but that does
not seem to work—the various .tex files re not found.

What puzzles me is that the environment files in Directory02 are found.
(That they are identified in a prj file in Directory01 does not seem to be
the reason why.)

There is no problem if I move the contents of Directory02 into Directory01.

Alan

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

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

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

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

* Re: Project setup query
  2020-04-30 13:07 Project setup query Alan Bowen
@ 2020-04-30 17:30 ` Henning Hraban Ramm
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Hraban Ramm @ 2020-04-30 17:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Alan!

> Am 30.04.2020 um 15:07 schrieb Alan Bowen <bowenalan03@gmail.com>:
> 
> Is there a way to identify the TEX root for each of the common files (in Directory02) so that
> the file will be processed when I process any one of the prd files in Directory01?
> 
> I have tried 
> % !TEX root=../prd_\mystring.tex

Processing single components won’t work in your project, since I defined several metadata macros in the product. More off list.

> with, e.g., \def\mystring{Name01} in the prd_Name01.tex file, but that does not seem to work—the various .tex files re not found.

Comment lines are not handled by TeX, and therefore don’t get expanded.


Best, Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-04-30 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 13:07 Project setup query Alan Bowen
2020-04-30 17:30 ` Henning Hraban Ramm

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