ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Issue with page break at \blank samepage
@ 2018-07-26 21:01 Joseph Canedo
  2018-07-27 16:22 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Canedo @ 2018-07-26 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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



[-- Attachment #1.2: Type: text/html, Size: 2688 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Issue with page break at \blank samepage
  2018-07-26 21:01 Issue with page break at \blank samepage Joseph Canedo
@ 2018-07-27 16:22 ` Hans Hagen
  2018-07-27 19:25   ` Joseph Canedo
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2018-07-27 16:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joseph Canedo

On 7/26/2018 11:01 PM, Joseph Canedo wrote:
> 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 
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Issue with page break at \blank samepage
  2018-07-27 16:22 ` Hans Hagen
@ 2018-07-27 19:25   ` Joseph Canedo
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Canedo @ 2018-07-27 19:25 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users


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

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


[-- Attachment #1.2: Type: text/html, Size: 5098 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-27 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26 21:01 Issue with page break at \blank samepage Joseph Canedo
2018-07-27 16:22 ` Hans Hagen
2018-07-27 19:25   ` Joseph Canedo

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).