If I have


\startproject project
\product one
\product two

and the corresponding product files, is there an easy way to process all product files, so I get


at once?

  • No, apart from manually running all the files.
    – Aditya
    Commented Oct 14, 2016 at 16:04

1 Answer 1


You are using the project structure incorrectly. Projects are not wrappers for products, but usually contain a list of environments which are then included in a product.

Imagine you had a long list of environments for the page layout, the colour theme, the bibliography macros, and mathematical macros for your document. You wouldn't want to repeat the whole list in every component, which is why you collect this list in a project. For example


\startproject *
  \environemnt env-design
  \environemnt env-layout
  \environemnt env-biblio
  \environemnt env-mathem


\project proj-mag
\startproduct *
  \component c-editorial

The file that you run ConTeXt on is p-issue1.tex.

  • Nonetheless, at project level you can specify products as the OP did (and as it is done in the ConTeXt Wiki page); so, it isn't that obvious that you still need something like make if you want to automate compiling a bunch of project-related products. Commented Sep 10, 2022 at 21:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .