In addition to my previous mail there is also an article published in the MAPS39 which shows an example of using layers. You can download it from here : http://www.ntg.nl/maps/39/ (Willi Egger, Decorating CD-ROMs and DVDs (English), MAPS 39, 2009, 59-71) Willi On 16 Jul 2011, at 19:35, Marcin Borkowski wrote:
Anybody help, please...?
Dnia 2011-07-14, o godz. 23:37:29 Marcin Borkowski
napisaĆ(a): I think that the general problem is that I have a wrong conceptual model of layers in ConTeXt. You know, when I hear the word "layer", I have some ideas about how it should/could/might work, and probably these ideas are different than Hans'. So I'm going to briefly describe my idea (already modified by the answers) and please tell me what's wrong with it.
So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly framed/colored/etc., which is going to appear on all pages (default) or on selected ones. The contents of layers are set with \setlayer, (with some - mysterious for me - "setups" trickery if they are going to change from page to page), and they are actually put on the page by \setupbackgrounds. (And I have no idea what \flushlayer does in this conceptual framework.) So layers are actually kind of "beneath" ordinary page contents.
Some of these commands (which ones?) should moreover be placed before \startext.
OK, so where am I right and where am I wrong now?
Best
-- Marcin Borkowski ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________