ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <gesang@stud.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [beta] grid & head
Date: Thu, 14 Jul 2011 16:26:51 +0200	[thread overview]
Message-ID: <20110714142508.GA3565@orcus.urz.uni-heidelberg.de> (raw)
In-Reply-To: <4E1EB6F9.3050706@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 3218 bytes --]

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 : 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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2011-07-14 14:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 20:50 beta Hans Hagen
2011-07-14  7:19 ` beta Hans van der Meer
2011-07-14  8:13   ` beta Hans Hagen
2011-07-14  8:49 ` [beta] grid & head Philipp Gesang
2011-07-14  9:29   ` Hans Hagen
2011-07-14 12:18     ` Christian
2011-07-14 14:26     ` Philipp Gesang [this message]
2011-07-14 14:37       ` Hans Hagen
2011-07-14 14:42         ` Philipp Gesang
2011-07-14 14:47 ` beta Thomas A. Schmitz
2011-07-14 15:24   ` beta Hans Hagen
2011-07-14 16:07     ` beta Andreas Harder
2011-07-15  9:55       ` beta Hans Hagen
     [not found]         ` <4902C69F-949F-490B-95A4-07FBBF5F91D0@uni-koblenz.de>
     [not found]           ` <4E2025A4.7020006@wxs.nl>
2011-07-15 11:43             ` beta Andreas Harder
2011-07-15 12:28               ` beta Wolfgang Schuster
2011-07-15 12:44                 ` beta Andreas Harder
2011-07-14 15:28 ` beta Aditya Mahajan
2011-07-18 20:31   ` beta Aditya Mahajan
2011-07-19  8:56     ` beta Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110714142508.GA3565@orcus.urz.uni-heidelberg.de \
    --to=gesang@stud.uni-heidelberg.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).