From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7153 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Conditional text Date: Thu, 7 Mar 2002 19:49:04 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <44844809.20020307194904@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035397637 16907 80.91.224.250 (23 Oct 2002 18:27:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:27:17 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:7153 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7153 Hello, I'd like to separate two blocks of text with some stuff which depending on wether the two blocks are on the same page or not. Example one: two paragraph are separate by a \blank of space, but if there is a page change, then three starts are inserted on top of the next page. Example two: sections start without creating a new page, but if they stay on the same page, then a line is drawn before them. The nicest thing would be a command (to be used after a \blank) like \ifstillonsamepageelse{do something}{do something else}. Do I have to go through the referencing mechanism or is there something built-in already? -- Giuseppe "Oblomov" Bilotta