ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Can't compile the whole project
@ 2005-09-13 21:48 Roman Schechtel
  2005-09-14  6:26 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Schechtel @ 2005-09-13 21:48 UTC (permalink / raw)


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

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

* Re: Can't compile the whole project
  2005-09-13 21:48 Can't compile the whole project Roman Schechtel
@ 2005-09-14  6:26 ` Taco Hoekwater
  2005-09-14  7:13   ` Wolfgang Zillig
  2005-09-14  7:36   ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Taco Hoekwater @ 2005-09-14  6:26 UTC (permalink / raw)


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

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

* Re: Can't compile the whole project
  2005-09-14  6:26 ` Taco Hoekwater
@ 2005-09-14  7:13   ` Wolfgang Zillig
  2005-09-14  9:10     ` Roman Schechtel
  2005-09-14  7:36   ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Zillig @ 2005-09-14  7:13 UTC (permalink / raw)


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
>

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

* Re: Can't compile the whole project
  2005-09-14  6:26 ` Taco Hoekwater
  2005-09-14  7:13   ` Wolfgang Zillig
@ 2005-09-14  7:36   ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2005-09-14  7:36 UTC (permalink / raw)


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

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

* Re: Can't compile the whole project
  2005-09-14  7:13   ` Wolfgang Zillig
@ 2005-09-14  9:10     ` Roman Schechtel
  0 siblings, 0 replies; 5+ messages in thread
From: Roman Schechtel @ 2005-09-14  9:10 UTC (permalink / raw)


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

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

end of thread, other threads:[~2005-09-14  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-13 21:48 Can't compile the whole project Roman Schechtel
2005-09-14  6:26 ` Taco Hoekwater
2005-09-14  7:13   ` Wolfgang Zillig
2005-09-14  9:10     ` Roman Schechtel
2005-09-14  7:36   ` Hans Hagen

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