From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81996 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Hyphenation documentation Date: Sat, 20 Apr 2013 22:05:21 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366488364 15693 80.91.229.3 (20 Apr 2013 20:06:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Apr 2013 20:06:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 20 22:06:06 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 1UTe2t-0004TZ-7g for gctc-ntg-context-518@m.gmane.org; Sat, 20 Apr 2013 22:06:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6196F101EA; Sat, 20 Apr 2013 22:06:02 +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 IvaDsP24UO1b; Sat, 20 Apr 2013 22:05:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BB6AE101E6; Sat, 20 Apr 2013 22:05:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39489101E6 for ; Sat, 20 Apr 2013 22:05:57 +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 ErzTr4nwEetv for ; Sat, 20 Apr 2013 22:05:53 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 0CDE5101E4 for ; Sat, 20 Apr 2013 22:05:52 +0200 (CEST) Original-Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3KK5pol027898 for ; Sat, 20 Apr 2013 22:05:52 +0200 Original-Received: by mail-wi0-f170.google.com with SMTP id l13so2677609wie.1 for ; Sat, 20 Apr 2013 13:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=7cZA4Z6O62B2XSt+pD83hkQu0qLRVW/ONmUH+GWMXvE=; b=P2IW9WMzKQJncOFlNp4gro9NA0Dj3Pi8Mey7cG9nIuMDRLhqk3xSQrhMrFSJ6qm3D0 FMGUo87Vkby3I818e2rSBzdtYujvCFLX5krx6SUEPIOEwgEJFVSSlPYi8+Yva3+a4JDS UknzfvHxW9eRPL3vUnSEBHgdYoh99W1FqdIjKqGRN1ByY+s8DnHbJfvsEu/8JMm4TqWC DJyzNcuRs5t9WVbSiqr+mTyDEXdpf4p8X7BfmfbiH6jz69Q5J0j+a7JwRKxV591H0Tgs NFLTTtZFn9eyEdIV9TUGU0Q0OqOExC4LTgHE1WkiyycJ/KrVuIUvrk93mgQBj6wN8azc XMEw== X-Received: by 10.180.104.197 with SMTP id gg5mr39590693wib.13.1366488351805; Sat, 20 Apr 2013 13:05:51 -0700 (PDT) Original-Received: by 10.15.110.3 with HTTP; Sat, 20 Apr 2013 13:05:21 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22a; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Jqk5QiG - f817f9f92600 - 20130420 (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:81996 Archived-At: 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? 2. In the command \definebreakpoint, what do these keys do? I can't get them to do anything (MWE below) ** left ** middle ** right 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 If this behaviour is not a bug: is there a way to set a breakpoint X that produces ...X...X- / ...? Cheers, Sietse % 2013-04-20 \definebreakpoints[aapje] \definebreakpoint [aapje] [1] [nleft=3,nright=3,type=1] \definebreakpoint [aapje] [2] [nleft=3,nright=3,type=2] \definebreakpoint [aapje] [3] [nleft=3,nright=3,type=3] \definebreakpoint [aapje] [4] [nleft=3,nright=3,type=4] \definebreakpoint [aapje] [5] [nleft=3,nright=3,type=5] \definebreakpoint [aapje] [6] [nleft=3,nright=3,left=X,middle=Y,right=Z] \setbreakpoints[aapje] \setuppapersize[A7] \showframe \starttext \setupwhitespace[big] aapje1aapje1aapje1aapje1aapje1aapje1aapje \par aapje2aapje2aapje2aapje2aapje2aapje2aapje \par aapje3aapje3aapje3aapje3aapje3aapje3aapje \par aapje4aapje4aapje4aapje4aapje4aapje4aapje \par aapje5aapje5aapje5aapje5aapje5aapje5aapje \par aapje6aapje6aapje6aapje6aapje6aapje6aapje \par \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________