Project setup query
![](https://secure.gravatar.com/avatar/c71d406247737b77d06418ee19e71060.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Hi Alan!
Am 30.04.2020 um 15:07 schrieb Alan Bowen
: 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
participants (2)
-
Alan Bowen
-
Henning Hraban Ramm