Can't compile the whole project
Hello from a new ConTeXt user! I've read the wiki-page on how to separate input files into a project structure (http://wiki.contextgarden.net/Project_structure) and now I have the problem that: - I can "compile" an individual component (resulting in a PDF) - I also can compile a product - But I can't compile the whole __project__! Everytime I try to compile the project, I get the "No pages of output" message in the log. My setup is the following: ----------------File: /environment.tex------------------------- \startenvironment environment \stopenvironment ----------------File: /project.tex----------------------------- \startproject project \environment environment \product ./product/product \stopproject ----------------File: /product/product.tex--------------------- \startproduct product \project project \component ./component/component \stopproduct ----------------File: /product/component/component.tex--------- \startcomponent component \product product \project project \dorecurse{10}{Component 1} \stopcomponent %________________________________________________________________ %I've put up those files in http://schechtel.de/pub/context/proj.zip Now.. I get a PDF when I compile component.tex individually, the same with product.tex -- but the PDF is not build when I compile project.tex The Logfile http://schechtel.de/pub/context/project.log.html ...shows something very interesting (marked red, scroll down). What am I doing wrong? Thanks for your help, Roman Schechtel
Roman Schechtel wrote:
Hello from a new ConTeXt user!
I've read the wiki-page on how to separate input files into a project structure (http://wiki.contextgarden.net/Project_structure) and now I have the problem that:
- I can "compile" an individual component (resulting in a PDF) - I also can compile a product - But I can't compile the whole __project__!
IIRC, you are not supposed to be able to do that. Products are compilable files, but Projects are only placeholders for layout settings. Taco
Hello, I think this is due to the folder structure. When you copy everythin into the same folder it works (at leat project and product must be in the same folder). I don't know if this is supposed to be this way. Wolfgang Taco Hoekwater schrieb:
Roman Schechtel wrote:
Hello from a new ConTeXt user!
I've read the wiki-page on how to separate input files into a project structure (http://wiki.contextgarden.net/Project_structure) and now I have the problem that:
- I can "compile" an individual component (resulting in a PDF) - I also can compile a product - But I can't compile the whole __project__!
IIRC, you are not supposed to be able to do that. Products are compilable files, but Projects are only placeholders for layout settings.
Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Greetings,
I think this is due to the folder structure. When you copy everythin into the same folder it works (at leat project and product must be in the same folder).
Thanks for the idea! Yes, now I get a PDF, even when the component resides where it was. /project.tex /product.tex | +-> /prod_dir/comp_dir/component.tex works fine, then why not: /project.tex | +-> /prod_dir/product.tex | +-> /prod_dir/comp_dir/component.tex ? RS
Taco Hoekwater wrote:
Roman Schechtel wrote:
Hello from a new ConTeXt user!
I've read the wiki-page on how to separate input files into a project structure (http://wiki.contextgarden.net/Project_structure) and now I have the problem that:
- I can "compile" an individual component (resulting in a PDF) - I also can compile a product - But I can't compile the whole __project__!
IIRC, you are not supposed to be able to do that. Products are compilable files, but Projects are only placeholders for layout settings.
YRC Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Roman Schechtel
-
Taco Hoekwater
-
Wolfgang Zillig