Issue with page break at \blank samepage
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
Dear list, Somehow the Following MWE processed with recent betas : %%%% \setuplayout[grid=both] % commenting does not change the result \starttext \dorecurse{31}{ A. } \input knuth \blank[line, samepage]Second. \stoptext %%%% Outputs a pdf with 2 pages and « Second » is left alone in 2nd page. This is different from online context with prints last line of knuth par in 2nd page too. I thought that « samepage » specifier in \blank prevented page break at that point ? Is there another option for this now ? Thanks Best regards Joseph
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
Dear list,
Somehow the Following MWE processed with recent betas :
%%%%
\setuplayout[grid=both] % commenting does not change the result
\starttext
\dorecurse{31}{
A.
}
\input knuth
\blank[line, samepage]Second.
\stoptext
%%%%
Outputs a pdf with 2 pages and « Second » is left alone in 2^nd page.
This is different from online context with prints last line of knuth par in 2^nd page too.
I thought that « samepage » specifier in \blank prevented page break at that point ? Is there another option for this now ? i'm still figuring out the best way to support both the spacing model (which has to look ahead) and side floats (where we run into the usual stuff done in grouping that need to be known outside and it's that code
On 7/26/2018 11:01 PM, Joseph Canedo wrote: that's needed for some of my collegues work) .. in fact those are the most complex mechanisms that at some point (aroudn end this year) i want to more or less freeze .. till then betas can differ (which is why they're betas) i have a solution (but esp the specific tricky side float stuff will only work ok in an upcoming luatex as i am not going to figure out some temp solution) 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
Dear list,
Somehow the Following MWE processed with recent betas :
%%%%
\setuplayout[grid=both] % commenting does not change the result
\starttext
\dorecurse{31}{
A.
}
\input knuth
\blank[line, samepage]Second.
\stoptext
%%%%
Outputs a pdf with 2 pages and « Second » is left alone in 2^nd page.
This is different from online context with prints last line of knuth par in 2^nd page too.
I thought that « samepage » specifier in \blank prevented page break at that point ? Is there another option for this now ? i'm still figuring out the best way to support both the spacing model (which has to look ahead) and side floats (where we run into the usual stuff done in grouping that need to be known outside and it's that code
No rush at all, this can wait for sure. Just wanted to report this problem. Thanks a lot (as Always 😊), Joseph De : Hans Hagen Envoyé le :vendredi 27 juillet 2018 18:22 À : mailing list for ConTeXt users; Joseph Canedo Objet :Re: [NTG-context] Issue with page break at \blank samepage On 7/26/2018 11:01 PM, Joseph Canedo wrote: that's needed for some of my collegues work) .. in fact those are the most complex mechanisms that at some point (aroudn end this year) i want to more or less freeze .. till then betas can differ (which is why they're betas) i have a solution (but esp the specific tricky side float stuff will only work ok in an upcoming luatex as i am not going to figure out some temp solution) 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Joseph Canedo