Open main menu


\component

Summary

The command \component is used for including parts of products

Settings

\component[...]
[...]file

Settings string

\component ...
... file

Description

Includes a file (usually a chapter or part) into a product.

Examples

Example 1

Here is a product file that uses the components c_frontmatter.tex c_chapter_1.tex, and c_chapter_2.tex:

\startproduct
    \component c_frontmatter
    \component c_chapter_1
    \component c_chapter_2
\stopproduct

Notes

See also

Help from ConTeXt-Mailinglist/Forum