On 14-7-2011 10:49, Philipp Gesang wrote:
Hi Hans,
the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter head moves up into the page header which it did not prior to the update (cf. mkii’s behaviour):
forget about mkii, we have a new and different mechanism \setuplayout[grid=yes] \showgrid % tolerant] \showgrid \setuppapersize[S6][S6] \starttext \setuphead[chapter][after=] \definegridsnapping[MyOne] [global,strut] \definegridsnapping[MyTwo] [local,strut] \definegridsnapping[MyThree][global,strut,top:3] \definegridsnapping[MyThree][local,strut,top:3] \setuphead[chapter][grid=MyOne] \startchapter[title={Global, Strut}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyTwo] \startchapter[title={Local, Strut}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyThree] \startchapter[title={Global, Strut, 3 Top Lines}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyFour] \startchapter[title={Local, Strut, 3 Top Lines}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyOne] \startchapter[title={Global,\\Strut}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyTwo] \startchapter[title={Local,\\Strut}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyThree] \startchapter[title={Global, Strut,\\3 Top Lines}] test \par test \par test \stopchapter \setuphead[chapter][grid=MyFour] \startchapter[title={Local, Strut,\\3 Top Lines}] test \par test \par test \stopchapter \stoptext the question is, what are reasonable defaults (many more structural elements will have a grid key) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------