ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Component: \product, \project
Date: Tue, 4 Sep 2012 13:57:50 +0200	[thread overview]
Message-ID: <CAF=dkzwQeYKg7gXttKFcTxU9j+mMzE0CJNn+yku7KLUbWQD9zA@mail.gmail.com> (raw)
In-Reply-To: <op.wj3ss02ntpjj8f@lpr>

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
___________________________________________________________________________________

  reply	other threads:[~2012-09-04 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04  9:04 Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-04 11:57 ` Sietse Brouwer [this message]
2012-09-04 12:13   ` Procházka Lukáš Ing. - Pontex s. r. o.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=dkzwQeYKg7gXttKFcTxU9j+mMzE0CJNn+yku7KLUbWQD9zA@mail.gmail.com' \
    --to=sbbrouwer@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).