Hello,

I would like to be able to have a set of books in a single document, and  
think the project/product model could be used.

In the big manual it is said that one can have a completecontent per  
product. I would like a global TOC, and for each product a TOC per product  
(in this case per book). Currently each book have the whole project TOC.   
How to achieve this? Thanks for any hint.

The structure I've tried:

\startproject proj

% global TOC
\completecontent
\product book1
\product book2

\stopproject
--------------
\startproduct book1

\project proj

% well, to put in an environment file...
\startsectionblockenvironment[frontpart]
   \setuppagenumber[number=1]
   \setuppagenumbering[conversion=romannumerals]
\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
   \setuppagenumber[number=1]
\stopsectionblockenvironment

\starttext
\startfrontmatter
% Local book TOC?
\completecontent[criterium=local]
\chapter{A}
a
\chapter{B}
a
\stopfrontmatter
\startbodymatter
\chapter{A}
a
\chapter{B}
a
\stopbodymatter
\startappendices
\chapter{A}
a
\chapter{B}
a
\stopappendices
\stoptext

\stopproduct
-------------
(The same for book2)


Regards,
BG
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to