From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81997 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Hyphenation documentation Date: Sun, 21 Apr 2013 10:26:01 +0200 Message-ID: <4D827861-EF3F-4C0E-9D82-B8EAE8C8BA2A@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1366532770 24290 80.91.229.3 (21 Apr 2013 08:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Apr 2013 08:26:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 21 10:26:14 2013 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 1UTpbC-0002IH-IR for gctc-ntg-context-518@m.gmane.org; Sun, 21 Apr 2013 10:26:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90D17101F2; Sun, 21 Apr 2013 10:26:11 +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 w69aLBXRU3KO; Sun, 21 Apr 2013 10:26:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0D2FA101E6; Sun, 21 Apr 2013 10:26:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4AAE101E6 for ; Sun, 21 Apr 2013 10:26:04 +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 s8fih7FgCRcX for ; Sun, 21 Apr 2013 10:26:02 +0200 (CEST) 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 713B5101E4 for ; Sun, 21 Apr 2013 10:26:02 +0200 (CEST) Original-Received: from mail-bk0-x22d.google.com (mail-bk0-x22d.google.com [IPv6:2a00:1450:4008:c01::22d]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3L8Q1HQ017065 for ; Sun, 21 Apr 2013 10:26:01 +0200 Original-Received: by mail-bk0-f45.google.com with SMTP id j4so275051bkw.32 for ; Sun, 21 Apr 2013 01:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=mscBfhUM5YVNxfoLLcmBSRinq7Qs9E3rGOXmSScmq9Q=; b=b8AYLPTvuIm8tryGSBe4FMUQcqlSr/oyJTa7jI3jYusKz5iOo+eMgVbpPB38O1JS7S 4NizWszLyUYaLiXC3E5ViiCU1HP6rIldg2Qr+/KtAZeaFuMdHOkMTbfa3f9EvYuwca0s v2xnzfjBmsI+83XDIzaCnnhyCfEc8NREPMzGDmOhVHg4BC2Zu33+Xqe7Z5jPGZWOav4L bU03QY7P4SwGQEc5rKWt1TuSycbZxDcRhorcnZB876L+zlC7DbX1Uq96kQSKhw9Iazgd NZlhhtxCSRZSy65vTDr32MPEtz2h58V3WO8eJn8Gt9lWtQ7jr+CiJN+iv9C2783UKDkO 9TsA== X-Received: by 10.204.168.201 with SMTP id v9mr8418895bky.116.1366532759965; Sun, 21 Apr 2013 01:25:59 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf0e14.pool.mediaWays.net. [77.191.14.20]) by mx.google.com with ESMTPS id f4sm956782bkz.14.2013.04.21.01.25.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Apr 2013 01:25:59 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJqwq1m7 - 358ead7fd874 - 20130421 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81997 Archived-At: Am 20.04.2013 um 22:05 schrieb Sietse Brouwer : > Hello all, > = > I've just pulled together some questions of mine and their answers, > and written them up into a hyphenation Q&A. > http://wiki.contextgarden.net/Hyphenation > http://wiki.contextgarden.net/Command/definebreakpoint > = > Unfortunately, there are still some holes in the documentation I > wrote. Questions I still have, and which I now pose to the list: > = > 1. how do I protect a single instance of a word against hyphenation? > Does ConTeXt, like LaTeX, use \hbox{myfragileword}, or something > different? No, you have to use \hbox too but I think a command with a speaking name would be better. > 2. In the command \definebreakpoint, what do these keys do? I can't > get them to do anything (MWE below) > ** left > ** middle > ** right The left, right and middle keys are used in combination with =93type=3D5=94. \definebreakpoints[test] \definebreakpoint [test] [?] [type=3D5,left=3DL,right=3DR,middle=3DM] \setbreakpoints[test] \setuppapersize[A7] \starttext \showframe xxxx?xxxx?xxxx?xxxx?xxxx?xxxx?xxxx?xxxx\par \stoptext > 3. Is there perhaps a bug in breakpoints of type 2 and 3. (MWE below.) > The key 'type' seems to control where hyphens appear. If 1 is a > hyphenation character of type 1, etc, this is the observed behaviour > (`/` is the linebreak): > ...1...1 / ... > ...2... / 2-... % I would expect: ...2... / -2... > ...3...-3 / ... % I would expect: ...3...3- / ... > ...4...4 / 4... > ...... / ... % breakpoint of type 5 just disappears Type 2 and 3 are used for braces to have line breaks which produce (xxx-) xxx and xxx (-xxx) > If this behaviour is not a bug: is there a way to set a breakpoint X > that produces ...X...X- / =85? You have to use type 5 to create a rule for this, do you have a example where this is needed besides the one mentioned in the duden [1] example for a closing bracket. [1] http://www.duden.de/sprachwissen/sprachratgeber/klammern-und-bindestric= h-bei-der-worttrennung 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 ___________________________________________________________________________= ________