From Wiki
Jump to navigation Jump to search



The command \project is used for ...



Settings string

\project ...
... file


When used inside a \startproduct or \startcomponent environment, this command is an instruction to source any \environment files linked in the project file.

The project file itself is not intended to be processed directly. It serves only as a collection of environment files which are sourced by products belonging to this particular project.


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
% first_product.tex
    % use the environment files mentioned in myproject.tex
    \project myproject

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


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: