ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Joining two paragraphs
@ 2013-07-22 15:24 "H. Özoguz"
  2013-07-22 15:43 ` Marco Patzer
  0 siblings, 1 reply; 2+ messages in thread
From: "H. Özoguz" @ 2013-07-22 15:24 UTC (permalink / raw)
  To: ntg-context

Hello,

how to join to paragraphs /lines, such that they are not broken on to pages?

\starttext
\dorecurse{30}{First line.\\ Second line.\\}

\stoptext


You see that the last "First line" on the first page is alone, the 
"Second line" comes on the next page, of course correct in this example. 
I could join them now with "\testpage[2]", but is there another way, 
without counting lines? And without invisible frames? Just like an 
automatic "testpage", which knows how many lines it must have.

Thanks
Huseyin


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


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

* Re: [***SPAM***] Joining two paragraphs
  2013-07-22 15:24 [***SPAM***] Joining two paragraphs "H. Özoguz"
@ 2013-07-22 15:43 ` Marco Patzer
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Patzer @ 2013-07-22 15:43 UTC (permalink / raw)
  To: ntg-context


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

On 2013–07–22 "H. Özoguz" wrote:

> how to join to paragraphs /lines, such that they are not broken on to pages?
> 
> \starttext
> \dorecurse{30}{First line.\\ Second line.\\}

\dorecurse{30}{First line.\blank[samepage] Second line.\\}

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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
___________________________________________________________________________________

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

end of thread, other threads:[~2013-07-22 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-22 15:24 [***SPAM***] Joining two paragraphs "H. Özoguz"
2013-07-22 15:43 ` Marco Patzer

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