From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53045 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \blank Date: Sun, 20 Sep 2009 20:51:37 +0200 Message-ID: <154BC925-F88B-4049-AD28-9FF09B791BFA@googlemail.com> References: <4AB65CB4.5070700@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253472725 5522 80.91.229.12 (20 Sep 2009 18:52:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 18:52:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 20 20:51:58 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 1MpRVu-0000tu-Eu for gctc-ntg-context-518@m.gmane.org; Sun, 20 Sep 2009 20:51:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66726C9A92; Sun, 20 Sep 2009 20:51:55 +0200 (CEST) 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 A1bUhZhuajUY; Sun, 20 Sep 2009 20:51:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98A1EC9A47; Sun, 20 Sep 2009 20:51:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E7FDC9A1F for ; Sun, 20 Sep 2009 20:51:47 +0200 (CEST) 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 o4mJkjTv5XjZ for ; Sun, 20 Sep 2009 20:51:40 +0200 (CEST) Original-Received: from mail-fx0-f214.google.com (mail-fx0-f214.google.com [209.85.220.214]) by balder.ntg.nl (Postfix) with ESMTP id E5397C9A47 for ; Sun, 20 Sep 2009 20:51:39 +0200 (CEST) Original-Received: by fxm10 with SMTP id 10so1664270fxm.8 for ; Sun, 20 Sep 2009 11:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=z0asqjpVT4S5D2rvb9570kIi/rhsiBnNwRAT1XwcJ54=; b=ggGEcchrsYgeDjdrmYBhSYh1CmeZXz2a/h88gc3vxCPPRZ4n2ZL6emVfaBEUJERseV B63utRBa4SQpwVPuzly+dOJf55XSeCRWv35eHy2YbIxjiqjOwY016tAyer8CFZZumaAc zT65tx5ajuHyMYjyeo+wXkdvu3pYIqicthCQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=XrEhhdENyQd/HIx+iQscEuRs5fGm6Xp1uUb3ItE2J76oO6QDZf4HnuI3he916sNGGV pb9HfN+ir8qjGP5M4ad9YZfjXvTldUVoCTiiG1kapj94TrNAjbTFTthyCPnkiE1Hm1sM lfUITkvYuvIooh/KGDANmQs6/hWiNcz1a7hzM= Original-Received: by 10.86.243.15 with SMTP id q15mr3848408fgh.21.1253472699603; Sun, 20 Sep 2009 11:51:39 -0700 (PDT) Original-Received: from ?192.168.2.23? (p549566D5.dip.t-dialin.net [84.149.102.213]) by mx.google.com with ESMTPS id d6sm5260434fga.1.2009.09.20.11.51.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 20 Sep 2009 11:51:38 -0700 (PDT) In-Reply-To: <4AB65CB4.5070700@wxs.nl> X-Mailer: Apple Mail (2.1076) 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:53045 Archived-At: Am 20.09.2009 um 18:47 schrieb Hans Hagen: >> the following examples did not give the expected results in mkiv. >> 1. Whitespace at the top of the page is ignored >> \starttext >> \blank[force,3cm] >> text >> \stoptext >> 2. Unbreakable whitespace is not possible. >> \doifmode{mkii}{\defineblankmethod[nobreak]{\penalty10000}} >> \starttext >> \dontleavehmode\vskip.95\textheight >> \doifmode{mkii}{text\endgraf\blank[nobreak,line]text} >> \doifmode{mkiv}{text\endgraf\blank[samepage,line]text} >> \stoptext > > i'll make a beta for you (at the usual spot); beware; som > eexperimental grid snapping so don't enable that the second example works now but the first is still wrong i saw also you dropped the \nowhitespace command, can you bring it back or what is the recommended way to replace it, e.g. in a case like this where \engraf is hidden in internal macros it was perfect to suppress the whitespace \setupwhitespace[line] \starttext line 1\endgraf\nowhitespace % no distance between the lines line 2\endgraf % normal distance between the lines line 3 \stoptext Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________