* Global and per product TOC
@ 2006-05-09 21:44 nico
0 siblings, 0 replies; only message in thread
From: nico @ 2006-05-09 21:44 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-09 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-09 21:44 Global and per product TOC nico
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).