Compile only one new component in a project
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
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
Hi Aditya,
It does not work ; the compilation encounters errors with each command that
I created. I guess it comes from the components.
Fabrice
##chapter-4-seconde.tex##
\startcomponent chapter-4-seconde
\startchapter[title=]
...
\stopchapter
\stopcomponent
Le jeu. 7 mai 2020 à 16:01, Aditya Mahajan
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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
Fabrice Couvreur schrieb am 07.05.2020 um 17:21:
Hi Aditya, It does not work ; the compilation encounters errors with each command that I created. I guess it comes from the components.
You have to load all environment files in your components. In your case where you use multiple files you can use a project file where you load all environments and load then the project file in your product and component files.
##chapter-4-seconde.tex##
\startcomponent chapter-4-seconde
Add here \environment ... or \project ...
\startchapter[title=] ... \stopchapter
\stopcomponent
Wolfgang
Hi Am 07.05.2020 um 16:01 schrieb Aditya Mahajan:
On Thu, 7 May 2020, Fabrice Couvreur wrote:
context chapter-4-seconde
There is a MyWay which shows how you can share cross-refs etc.
Aditya
Where is that? I would be very interested in learning about this. But couldn't find the mentioned My Way... Best, Denis
Denis Maier schrieb am 08.05.2020 um 11:49:
Hi
Am 07.05.2020 um 16:01 schrieb Aditya Mahajan:
On Thu, 7 May 2020, Fabrice Couvreur wrote:
context chapter-4-seconde
There is a MyWay which shows how you can share cross-refs etc.
Aditya
Where is that? I would be very interested in learning about this. But couldn't find the mentioned My Way...
Look into the documentation folder of your ConTeXt installation. ...\tex\texmf-context\doc\context\documents\general\magazines Project structure: mag-1101-mkiv.pdf Cross references: mag-1103-mkiv.pdf Wolfgang
participants (4)
-
Aditya Mahajan
-
Denis Maier
-
Fabrice Couvreur
-
Wolfgang Schuster