Hi all! I'm trying to work with environements, projects, products and components. I have the following setup, involving juste one component at the moment: The component file is named acoustique.tex: \startcomponent acoustique \product prd_articlesdemo \project project_dhfq2 [some text] \stopcomponent Then, in the same folder, there's the product file: \startproduct prd_articlesdemo \project project_dhfq2 \component acoustique \stopproduct Then, in the same folder, there's the project file: \startproject project_dhfq2 \environment env_dhfq2 \product prd_articlesdemo \stopproject Then, in a folder above my working folder, there's the environment file: \startenvironment env_dhfq2 [too much stuff to paste here] \stopenvironment Now when I compile either the component or the product, I get: TeXExec | no ctx file found TeXExec | nothing to process What I am doing wrong? Is it right not to use \starttext ... \stoptext here? Thanks! JFS
Am 2007-01-16 um 17:14 schrieb Jeff Smith:
What I am doing wrong? Is it right not to use \starttext ... \stoptext here?
Yes it it. And I can't see why it shouldn't work. Perhaps add some blank lines. The filenames are of course the same as in your definitions? Reference: http://wiki.contextgarden.net/Project_structure Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Jeff Smith wrote:
Hi all!
I'm trying to work with environements, projects, products and components. I have the following setup, involving juste one component at the moment:
The component file is named acoustique.tex:
\startcomponent acoustique \product prd_articlesdemo \project project_dhfq2
[some text]
\stopcomponent
Then, in the same folder, there's the product file:
\startproduct prd_articlesdemo \project project_dhfq2 \component acoustique \stopproduct
Then, in the same folder, there's the project file:
\startproject project_dhfq2 \environment env_dhfq2 \product prd_articlesdemo \stopproject
Then, in a folder above my working folder, there's the environment file:
\startenvironment env_dhfq2
[too much stuff to paste here]
\stopenvironment
Now when I compile either the component or the product, I get:
TeXExec | no ctx file found TeXExec | nothing to process
TeXExec normally say this if there is not any file mentioned on the command line, or if it cannot find any file based on the name supplied on that commandline. Quick recap (but you probably double checked all of this a number of times by now): 1. your file is called prd_articlesdemo.tex 2. you (as a user) have file permissions to read the file 3. you are in the directory where that file is 4. your command is: "texexec prd_articlesdemo" That really should do the trick. I am clueless about what else could be wrong. Best, Taco
On 1/16/07, Taco Hoekwater
TeXExec normally say this if there is not any file mentioned on the command line, or if it cannot find any file based on the name supplied on that commandline.
Okay. As a verification I processed my document manually with the command line instead of using my editor (not scite), and what do you know, it worked! I just had to adjust my compiler information in my editor settings, since my component files were now placed a folder further down in the tree. Oopsie. Glad to know I had the ConTeXt part okay first, this time. :-) So thanks Taco, and all! JFS JF
"Jeff Smith"
What I am doing wrong?
The setup looks okay to me too. I use a similar setup with no problems. I just posted its source code http://web.mit.edu/18.098/. You might compare the product/project/env files there with what you have. But if you send me off-list a .tar.gz of your source tree (or post it if it's public and send me the url), I'll try it here and see what goes wrong. That will give data on whether, for one, the problem is something peculiar to your context setup or it's a more general issue (e.g. either a misnamed source file or a ConTeXt bug). -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien)
participants (4)
-
Henning Hraban Ramm
-
Jeff Smith
-
Sanjoy Mahajan
-
Taco Hoekwater