From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55112 Path: news.gmane.org!not-for-mail From: Matthijs Kooijman Newsgroups: gmane.comp.tex.context Subject: page[no] not working? Date: Mon, 7 Dec 2009 22:55:16 +0100 Message-ID: <20091207215516.GA13955@katherina.student.utwente.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0273023425==" X-Trace: ger.gmane.org 1260222935 9797 80.91.229.12 (7 Dec 2009 21:55:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Dec 2009 21:55:35 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 07 22:55:28 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHlYG-0000bI-0Z for gctc-ntg-context-518@m.gmane.org; Mon, 07 Dec 2009 22:55:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 345B0C9B7E; Mon, 7 Dec 2009 22:55:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SHcMvKBy2W5z; Mon, 7 Dec 2009 22:55:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B5C0C9BAC; Mon, 7 Dec 2009 22:55:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FD09C9B7E for ; Mon, 7 Dec 2009 22:55:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HB+fAwcbetGj for ; Mon, 7 Dec 2009 22:55:17 +0100 (CET) Original-Received: from katherina.student.utwente.nl (katherina.student.utwente.nl [130.89.168.160]) by balder.ntg.nl (Postfix) with ESMTP id 64B42C9BAC for ; Mon, 7 Dec 2009 22:55:17 +0100 (CET) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1NHlY4-0005J5-UJ for ntg-context@ntg.nl; Mon, 07 Dec 2009 22:55:16 +0100 Mail-Followup-To: Mailing list for ConTeXt users X-PGP-Fingerprint: 7F6A 9F44 2820 18E2 18DE 24AA CF49 D0E6 8A2F AFBC X-PGP-Key: http://katherina.student.utwente.nl/~matthijs/gpg_pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55112 Archived-At: --===============0273023425== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AWK4me2AuklBQkfT" Content-Disposition: inline --AWK4me2AuklBQkfT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I've come to understand taht using the \page[no] command should prevent a pagebreak at that particular spot whenever possible. However, this seems to= be not working for me. My actual problem is with a \startframed directly after= a description "header", but the problem is easily reproduced with the below example (for MkII, replace the 25cm with 20cm). The \dontleavehmod was need= ed to make the \blank work... \starttext \dontleavehmode \blank[25cm] A \page[no] \startframedtext H \stopframedtext \stoptext This example generates the "A" at the bottom of the first page, with the bo= xed H on the next page, putting a page break exactly where the page[no] is. Is = it broken, or am I missing an important detail about how page[no] works? I've also tried=20 \defineblankmethod [nobreak] {\nobreak} \blank[nobreak,line] and some variations as suggested by Wolfgang (IIRC) in some thread from 200= 8, but that failed with "missing number, treated as zero" for me. Gr. Matthijs --AWK4me2AuklBQkfT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksdecQACgkQz0nQ5oovr7zkmgCfbATun2QdUjOHBhm+vE6p3n12 SI4An29AItJUqGkPaAwSBbr5q83v4epo =HfW3 -----END PGP SIGNATURE----- --AWK4me2AuklBQkfT-- --===============0273023425== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0273023425==--