From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38086 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Hyphenation with apostrophes Date: Tue, 18 Dec 2007 09:20:37 +0100 Message-ID: <476782D5.1060806@elvenkind.com> References: <47627C00.8070206@aluzina.org> <47664AE8.30808@elvenkind.com> <20071217201216.GA7396@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1197966204 13718 80.91.229.12 (18 Dec 2007 08:23:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 08:23:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 18 09:23:35 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4Xjj-0006o1-2B for gctc-ntg-context-518@m.gmane.org; Tue, 18 Dec 2007 09:23:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D348A1FB1B; Tue, 18 Dec 2007 09:22:59 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14706-03-8; Tue, 18 Dec 2007 09:22:02 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EB9BF1FB7F; Tue, 18 Dec 2007 09:21:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1CF31FB8C for ; Tue, 18 Dec 2007 09:21:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14706-03-5 for ; Tue, 18 Dec 2007 09:21:30 +0100 (CET) Original-Received: from www.bittext.nl (unknown [195.86.58.132]) by ronja.ntg.nl (Postfix) with ESMTP id 1EEA51FB5E for ; Tue, 18 Dec 2007 09:20:40 +0100 (CET) Original-Received: from localhost (vz3.aanhet.net [127.0.0.1]) by www.bittext.nl (Postfix) with ESMTP id E02EB1E8C2B4 for ; Tue, 18 Dec 2007 09:20:38 +0100 (CET) X-Virus-Scanned: amavisd-new at bittext.nl Original-Received: from www.bittext.nl ([127.0.0.1]) by localhost (vz3.aanhet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EmLaqZ10tSDx for ; Tue, 18 Dec 2007 09:20:36 +0100 (CET) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.bittext.nl (Postfix) with ESMTP id 4919D1E8C2B3 for ; Tue, 18 Dec 2007 09:20:36 +0100 (CET) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <20071217201216.GA7396@gaston.couberia.bzh> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38086 Archived-At: Peter M=FCnster wrote: > On Mon, Dec 17, 2007 at 11:09:44AM +0100, Taco Hoekwater wrote: >> At the tex level you need either >> >> \lccode`\'=3D`\' >> >> or make the ' an active character running a macro that is a bit like >> ||, e.g. this: >> >> \catcode`\'=3D\active >> \unexpanded\def'{\string'\prewordbreak} > = > Hello, > = > Do you know, how this is done in LaTeX? I remember, that such things have > never been a problem there. IIRC, the languages that needed this used the \lccode change together with higher values of \lefthyphenmin and \righthyphenmin to prevent bad hyphenations like ``instruccion-s''. But that was at least half a decade ago, so I may recall this wrong or something may have changed since then. Best wishes, Taco ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________