[NTG-context] Component of a product

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Thu Jun 18 10:59:34 CEST 2015


Hello,

suppose the following case:

---- Book.mkiv
\startproduct *
   \component A.mkiv
   \component B.mkiv
\stopproduct
----

---- A.mkiv
\startcomponent *
   \section{A}
\stopcomponent
----

---- B.mkiv
\startcomponent *
   \section{B}
\stopcomponent
----

When compiling "Book.mkiv", I'm getting the following sections (obviously):
1. A
2. B

Similarly, when compiling "A.mkiv", I'm getting:
1. A

and for "B.mkiv":
1. B

But: is there a way to say to ConTeXt - when compiling just B.mkiv - that B.mkiv is supposed to be a part of a product (Book.mkiv) and so that the chapter should be numbered from 2, so to get:
1. B
?

I supposed that project/product/component abilities of ConTeXt were mentioned for this, but...?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A.mkiv
Type: application/octet-stream
Size: 50 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150618/4960987d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: B.mkiv
Type: application/octet-stream
Size: 50 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150618/4960987d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Book.mkiv
Type: application/octet-stream
Size: 73 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150618/4960987d/attachment-0002.obj>


More information about the ntg-context mailing list