Re: [NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Pablo Rodriguez
On 11/23/20 4:29 PM, Joseph wrote:
> Could reproduce this problem with ‘default’ font and even seeing it
> cumulating in same page. BTW, Perhaps you already fixed it locally.

Hi Joseph,

probably the approach has to be different.

Setting the whitespace to line fixes everything:

  \startsetups[*lessstrict]
  \widowpenalty=1000
  \clubpenalty=1000
  \brokenpenalty=1000
  \stopsetups

  \setuplayout[setups={*lessstrict}, grid=both]

  \showgrid

  \setupwhitespace[line]

  \starttext

  \dorecurse{8}
{\blank[line]Fin des psalmes.\par
 \blank[line]\input knuth\par}

  \stoptext

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Joseph
Could reproduce this problem with ‘default’ font and even seeing it cumulating in same page. BTW, Perhaps you already fixed it locally. \showgrid\setuplayout[grid=both] \starttext\dorecurse{8}{\blank[line]Fin des psalmes.\blank[line]\input knuth }\stoptext De : Hans HagenEnvoyé le :lundi 23 novembre 2020 13:19À : Joseph; mailing list for ConTeXt usersObjet :Re: RE : RE : [NTG-context] Issue with grid On 11/23/2020 11:13 AM, Joseph wrote:> Yes, I refer to text not being aligned on the grid. This only happens if > \blank is used it seems, and text sits above where it’s supposed to (ie > amount of space being skipped vertically is smaller, ie \blank[line] > skips less than 1 line). I attach pdf I get. Could reduce MWE a bit.> > \showgrid> > \setuplayout[grid=both]> > \definefontfamily[mainfont][serif][EBGaramond][features=default]> > \setupbodyfont[mainfont, 9pt]> > \starttext> > \blank[line]Fin des psalmes.> > \blank[line]Fin des psalmes.> > \dorecurse{8}{\input knuth> > }> > \stoptextIt looks ok here< I also checked the latest eb (less fonts now it seems). Hans  -   Hans Hagen | PRAGMA ADE   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands    tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___