From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79629 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setupbreakpoints[compound] does not work? Date: Thu, 29 Nov 2012 15:48:39 +0100 Message-ID: References: <50B75142.8010108@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354200583 24266 80.91.229.3 (29 Nov 2012 14:49:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 14:49:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 29 15:49:55 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Te5Qz-0000Xj-G6 for gctc-ntg-context-518@m.gmane.org; Thu, 29 Nov 2012 15:49:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4987D10253; Thu, 29 Nov 2012 15:49:38 +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 JrHv2QuS4YAg; Thu, 29 Nov 2012 15:49:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A9A7510205; Thu, 29 Nov 2012 15:49:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB37110205 for ; Thu, 29 Nov 2012 15:49:34 +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 IbIIwZlvHiio for ; Thu, 29 Nov 2012 15:49:30 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 553DE10202 for ; Thu, 29 Nov 2012 15:49:30 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qATEgJnW022714 for ; Thu, 29 Nov 2012 15:42:20 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so7368115bkc.14 for ; Thu, 29 Nov 2012 06:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=n24J6Uk5I7YJCK4mFnoI2Y01dFBWCkaFcJT8uyXPREc=; b=wzLbfSAtR3H6J7zS2oDMiMib1yrlATEP1KC36xO3vhGiJOLzYZFf5/YmxZ0GKyr7nS W3zoiavNDsKnH/LP6waFZa9Q5E12usOxgyJgrNmto3u4lsJyWi4taKLHG9Nc8JjzviCA qqzJ1489bP7DDHHH7fZj8y/pASnX06f9SygMOnOQvwzYvfAYxoeROLegRjGZI19rXdMd XYg4fBno5GM27WrVrIMV2wFC13wIihVZ9TtweJbhhA0l7BMj0y0vtZu9a73lDuTwpwmx dc/1pZ7E9/R3p0tMpjLIWdstwZPEO2oukAe5GnNQSutriSzdQv/ekxJJlIGcccS5+ORE XiuA== Original-Received: by 10.204.129.66 with SMTP id n2mr6252285bks.94.1354200569185; Thu, 29 Nov 2012 06:49:29 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d0740ca.pool.mediaWays.net. [77.7.64.202]) by mx.google.com with ESMTPS id u3sm1290606bkw.9.2012.11.29.06.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Nov 2012 06:49:26 -0800 (PST) In-Reply-To: <50B75142.8010108@mmnetz.de> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WItqGjWM - 4ab0d9833cda - 20121129 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79629 Archived-At: Am 29.11.2012 um 13:12 schrieb H. =D6zoguz : > Hi, > = > in the following example I use \setbreakpoints[compound], I understood, t= hat word-breaking would be made (or preferred) at hyphens. > = > There could be a perfect line break at the hyphen of "-CC", but there is = no break, and instead the complete word "AA-BB-CC" is printed, then partial= ly in the margin. > = > = > \setbreakpoints[compound] > = > \showframe > = > \version[temporary] > = > = > \starttext > = > .........................................................................= ..............................................AA-BB-CC. And the next senten= ce. > = > \stoptext > = > = > Why that does not work? It comes from the settings for hyphen, when you look at the definition \definebreakpoint [compound] [-] [nleft=3D3,nright=3D3,type=3D1] you can see it needs at least three characters at the left and right before= a line break is inserted, When you change the settings to \definebreakpoint [compound] [-] [nleft=3D2,nright=3D2] a linebreak is inserted after the hyphen. You can also change the values on= ly for a certain language when you add =93language=3D=85=94 to \definebreak= point. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________