ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Component: \product, \project
@ 2012-09-04  9:04 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-09-04 11:57 ` Sietse Brouwer
  0 siblings, 1 reply; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-04  9:04 UTC (permalink / raw)
  To: ConTeXt

Hello,

when looking at http://wiki.contextgarden.net/Project_structure -

- why \product and/or \project specification is used in the COMPONENT in the example, or why is it supposed or even required to use in components?

I imagined that component doesn't need to know in which project/product is used, even when in may be intended to more projects/products.

So does it mean I would have to enumerate all projects/products in which the component is to be used?

Or can be \product and/or \project specification omitted in the component?

Best regards,

Lukas


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

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

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


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

* Re: Component: \product, \project
  2012-09-04  9:04 Component: \product, \project Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-09-04 11:57 ` Sietse Brouwer
  2012-09-04 12:13   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 3+ messages in thread
From: Sietse Brouwer @ 2012-09-04 11:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello Lukáš,

> I imagined that component doesn't need to know in which project/product is
> used, even when in may be intended to more projects/products.

Usually, projects (collections of environment files) are applied at the
product level. Sometimes, however, you want to apply one at the component
level, so you put a \project in the \startcomponent.

You never need to put \product anywhere.

Clearer descriptions of what the commands \project and \product do can
be found on the command pages; same for all the other structure
commands. The [[Project structure]] page is indeed confusing, it needs
a better structure itself.

Description from http://wiki.contextgarden.net/Command/project:
When used inside a \startproduct or \startcomponent environment,
\project is an instruction to source any \environment files linked in
the project file.

Description from http://wiki.contextgarden.net/Command/product:
The command \product does not do anything: to link a product to a
project file, one should use \project inside the product. Nonetheless,
the \product command is often used inside project files as a reminder
of what products the project involves.

Hope this helps.
Kind regards,
Sietse
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Component: \product, \project
  2012-09-04 11:57 ` Sietse Brouwer
@ 2012-09-04 12:13   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-04 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

... Thanks for explanation, it's much clearer now.

Best regards,

Lukas


On Tue, 04 Sep 2012 13:57:50 +0200, Sietse Brouwer <sbbrouwer@gmail.com> wrote:

> Hello Lukáš,
>
> Usually, projects (collections of environment files) are applied at the
> product level. Sometimes, however, you want to apply one at the component
> level, so you put a \project in the \startcomponent.
>
> You never need to put \product anywhere.
>
> Clearer descriptions of what the commands \project and \product do can
> be found on the command pages; same for all the other structure
> commands. The [[Project structure]] page is indeed confusing, it needs
> a better structure itself.
>
> Description from http://wiki.contextgarden.net/Command/project:
> When used inside a \startproduct or \startcomponent environment,
> \project is an instruction to source any \environment files linked in
> the project file.
>
> Description from http://wiki.contextgarden.net/Command/product:
> The command \product does not do anything: to link a product to a
> project file, one should use \project inside the product. Nonetheless,
> the \product command is often used inside project files as a reminder
> of what products the project involves.
>
> Hope this helps.
> Kind regards,
> Sietse

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

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

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


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

end of thread, other threads:[~2012-09-04 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-04  9:04 Component: \product, \project Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-04 11:57 ` Sietse Brouwer
2012-09-04 12:13   ` Procházka Lukáš Ing. - Pontex s. r. o.

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