On 2011-07-14 <11:29:29>, Hans Hagen wrote:
> 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

Ok, thanks for the info. I’ll update my layouts then. (Btw is
this new functionality described in „Layouts in Context“? I
didn’t yet receive my copy and when it arrives, unfortunately, I
won’t be able to look into it for another month :(. Just want to
know whether I’ll miss something that important during my time
away.)

Best regards, Philipp



> 
> \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
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : [email protected] / 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
> ___________________________________________________________________________________

Attachment: pgpGHdPUMbJET.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to