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

2020-05-08 Thread Wolfgang Schuster

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
___
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
___


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

2020-05-08 Thread Denis Maier

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
___
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
___


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

2020-05-07 Thread Wolfgang Schuster

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
___
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
___


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

2020-05-07 Thread Fabrice Couvreur
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  a écrit :

> 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
>
> ___
>
___
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
___


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

2020-05-07 Thread 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
___


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

2020-05-07 Thread Fabrice Couvreur
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
___
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
___