ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Compile only one new component in a project
@ 2020-05-07 13:51 Fabrice Couvreur
  2020-05-07 14:01 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Couvreur @ 2020-05-07 13:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 581 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1057 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile only one new component in a project
  2020-05-07 13:51 Compile only one new component in a project Fabrice Couvreur
@ 2020-05-07 14:01 ` Aditya Mahajan
  2020-05-07 15:21   ` Fabrice Couvreur
  2020-05-08  9:49   ` Denis Maier
  0 siblings, 2 replies; 6+ messages in thread
From: Aditya Mahajan @ 2020-05-07 14:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile only one new component in a project
  2020-05-07 14:01 ` Aditya Mahajan
@ 2020-05-07 15:21   ` Fabrice Couvreur
  2020-05-07 15:32     ` Wolfgang Schuster
  2020-05-08  9:49   ` Denis Maier
  1 sibling, 1 reply; 6+ messages in thread
From: Fabrice Couvreur @ 2020-05-07 15:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1743 bytes --]

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 <adityam@umich.edu> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3456 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile only one new component in a project
  2020-05-07 15:21   ` Fabrice Couvreur
@ 2020-05-07 15:32     ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2020-05-07 15:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile only one new component in a project
  2020-05-07 14:01 ` Aditya Mahajan
  2020-05-07 15:21   ` Fabrice Couvreur
@ 2020-05-08  9:49   ` Denis Maier
  2020-05-08 10:48     ` Wolfgang Schuster
  1 sibling, 1 reply; 6+ messages in thread
From: Denis Maier @ 2020-05-08  9:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Aditya Mahajan

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile only one new component in a project
  2020-05-08  9:49   ` Denis Maier
@ 2020-05-08 10:48     ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2020-05-08 10:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Denis Maier

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-08 10:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 13:51 Compile only one new component in a project Fabrice Couvreur
2020-05-07 14:01 ` Aditya Mahajan
2020-05-07 15:21   ` Fabrice Couvreur
2020-05-07 15:32     ` Wolfgang Schuster
2020-05-08  9:49   ` Denis Maier
2020-05-08 10:48     ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).