From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41909 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: hyphenation question Date: Wed, 25 Jun 2008 16:16:18 +0200 Message-ID: <48625332.5080406@elvenkind.com> References: <326847810806250318t353f7f4epc4069f473064ad50@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214403508 19175 80.91.229.12 (25 Jun 2008 14:18:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 14:18:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 25 16:19:10 2008 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 1KBVpy-0004xw-Pu for gctc-ntg-context-518@m.gmane.org; Wed, 25 Jun 2008 16:19:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DEB31FBC6; Wed, 25 Jun 2008 16:18:15 +0200 (CEST) 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 12354-01-6; Wed, 25 Jun 2008 16:17:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4EE781FBE8; Wed, 25 Jun 2008 16:17:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 57B161FBE8 for ; Wed, 25 Jun 2008 16:17:01 +0200 (CEST) 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 12354-01-4 for ; Wed, 25 Jun 2008 16:16:18 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id D226D1FCD3 for ; Wed, 25 Jun 2008 16:16:18 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 9B609802BE14 for ; Wed, 25 Jun 2008 16:16:18 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: <326847810806250318t353f7f4epc4069f473064ad50@mail.gmail.com> 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:41909 Archived-At: Alan Stone wrote: > In a document where > > \mainlanguage[fr] > > some words weren't hyphenated correctly > so I've put them in a hyphenation pattern > > \hyphenation{ > ap-pa-ren-ce > at-ten-dai-ent > com-men-cent > d'am-bi-tion > d'in-flu-en-ce > l'ap-pa-ren-ce > } > > The only ones who still don't get hyphenated > corresponding to the above pattern are those > with d'..., l'... All characters taken into consideration for hyphenation need to have a non-zero \lccode, which is generally not true for ' (and for good reason, too!). If you never use ' as in ``see here'', you can set \lccode`\'=`\' and after that, it should work (but untested). Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________