Command/startcomponent

From Wiki
Jump to navigation Jump to search


\startcomponent ... \stopcomponent

Summary

The environment \startcomponent ... \stopcomponent indicates a component in a product.

Settings

\startcomponent[...] ... \stopcomponent
[...]file *

Settings string

\startcomponent ... ... \stopcomponent
... file *

Description

\startcomponent...\stopcomponent is the

lowest level component in a project structure. It can contain all kind of commands and text. You can invoke project files (and the environment files the project file links to) with \project; you can invoke component-specific environment files with \environment; and other components with \component. Calls to \product do nothing.

You can type \startcomponent * to indicate that the component's reporting name is the same as the filename (without the extension).

Examples

Example 1

% intro-issue1.tex
\startcomponent *
   \project projectname

   \chapter{Introduction to issue1}

   \section{Comment}

Introduction to the issue1.

   \section{How to use this paper}

   \section{Reading further}
\stopcomponent

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: