Hello,

I'm trying to use advantages of project/product/component structure.

Suppose having a very simple example (both files in the same directory):

---- Prod.mkiv
\startproduct PPP
  \component Comp.mkiv

  Product
\stopproduct
----

And:

---- Comp.mkiv
\startcomponent CCC
  Component
\stopcomponent
----

When I compile Comp.mkiv, I get (successfully) text "Component".

When I compile Prod.mkiv, I get (successfully) text "Product Component".

So the question - what are "PPP" and "CCC" identifiers (following \startproduct 
and \starcomponent respectively) used or intended for?

- So far, it seems to me that I refer to file names (as with \input) when 
working with components rather than their ids assigned by \startcomponent or 
\startproduct.

What would be a situation when I'd need to use ids "CCC" or "PPP" (or later, those assigned by 
"\startproduct PROD" and "\startenvironment ENV")?

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

Attachment: Comp.mkiv
Description: Binary data

Attachment: Prod.mkiv
Description: Binary data

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to