On Wed, Jul 2, 2008 at 1:18 AM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Tue, 1 Jul 2008, Hans Hagen wrote: > >> for that purpose there has always been >> >> \setuphead[chapter][incrementnumber=somefilename] % whole doc file >> >> (just as there are parallel documents and such) > > I cannot get this feature to work. See the attached sample files. > > I have a product file, prod.tex, two components, chap1.tex, chap2.tex and an > evironment file containing \setuphead[chapter][incrementnumber=prod]. > > I first compile the whole product, then I compile chap2, but the chapter > number is 1.
I think you can make two products where the second product starts with the last number from the first product but not tested from my side. \startproduct prod2 \setuphead[chapter][incrementnumber=prod1] ... \stopproduct Regards 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________