[NTG-context] Compile only one new component in a project

Aditya Mahajan adityam at umich.edu
Thu May 7 16:01:20 CEST 2020


On Thu, 7 May 2020, Fabrice Couvreur wrote:

> Hi,
> Here is part of a project that is starting to be heavy ; when i add a
> chapter i do context seconde.tex
> How do I compile only the chapter I just added ?
> Thank you.
> Fabrice
>
> \startproduct Seconde
>
> \environment modules
> \environment specialite-style
> \environment specialite-macros
>
>  \startfrontmatter
>      \component specialite-titlepage
>      \component specialite-contents
>  \stopfrontmatter
>
>  \startbodymatter
>    \component chapter-1-seconde
>    \component chapter-2-seconde
>    \component chapter-3-seconde
>    \component chapter-4-seconde
>  \stopbodymatter
> \stopproduct

context chapter-4-seconde

There is a MyWay which shows how you can share cross-refs etc.

Aditya


More information about the ntg-context mailing list