Open main menu


\product

Summary

The command \product lists a product in a larger project

Settings

\product[...]
[...]file

Settings string

\product ...
... file

Description

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.

Examples

Example 1

% myproject.tex
\startproject useful_label % name for reporting purposes; should not be empty
    % Any file that states \project myproj will use the following environments:
    \environment env_layout
    \environment env_fonts

    % These \product commands do not do anything
    \product first_product
    \product second_product
\stopproject
% first_product.tex
\startproduct
    % use the environment files mentioned in myproject.tex
    \project myproj

    \subject{Chapter One}

    He sat, in defiance of municipal orders, astride the gun Zam-Zammah
    on her brick platform opposite the old Ajaib-Gher --- the Wonder-house,
    as the natives call the Lahore Museum. Who hold Zam-Zammah, that
    \quote{fire-breathing dragon}, hold the Punjab; for the great
    green-bronze piece is always the first of the conqueror's loot.
\stopproduct

Notes

See also

Help from ConTeXt-Mailinglist/Forum