* accessing prd file from component file
@ 2020-04-22 15:38 Alan Bowen
2020-04-22 18:49 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Alan Bowen @ 2020-04-22 15:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 594 bytes --]
When my component files were in the same directory as my component files,
the line
%! TeX root = prd_whatever
allowed processing the component file from the component file. (I use
TeXShop for this.)
The project structure has been changed: the component files are in a
subdirectory of the directory that has the prd file. Now,
%! TeX root = prd_whatever
no longer works. (E.g., it cannot find the environment files called in the
prd file.)
Is there a way to restore processing from the component file. My
experiments are near to wearing out the “error” message/page.
Alan
[-- Attachment #1.2: Type: text/html, Size: 1794 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: accessing prd file from component file
2020-04-22 15:38 accessing prd file from component file Alan Bowen
@ 2020-04-22 18:49 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2020-04-22 18:49 UTC (permalink / raw)
To: mailing list for ConTeXt users, Alan Bowen
Alan Bowen schrieb am 22.04.2020 um 17:38:
> When my component files were in the same directory as my component
> files, the line
> %! TeX root = prd_whatever
> allowed processing the component file from the component file. (I use
> TeXShop for this.)
>
> The project structure has been changed: the component files are in a
> subdirectory of the directory that has the prd file. Now,
> %! TeX root = prd_whatever
> no longer works. (E.g., it cannot find the environment files called in
> the prd file.)
>
> Is there a way to restore processing from the component file. My
> experiments are near to wearing out the “error” message/page.
What I get from your description is that your problem is editor
related and has nothing to do with ConTeXt itself.
What I found online is that TeXShop has to be told [1] to search
for the main file in higher folder with
% !TEX root = ../prd_whatever
It is possible to do something similar with ConTeXt itself but
then you get only a PDF with the current file and not the complete
document.
[1] TeXShop Tips & Tricks: https://herbs.github.io/
Wolfgang
___________________________________________________________________________________
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-22 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 15:38 accessing prd file from component file Alan Bowen
2020-04-22 18:49 ` Wolfgang Schuster
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).