From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23296 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: xml, context and hyphenation Date: Mon, 07 Nov 2005 16:24:10 +0100 Message-ID: <436F719A.8050903@elvenkind.com> References: <435F8DDA.4080102@student.kuleuven.be> <4366A1BF.2000509@wxs.nl> <436F58C9.5020402@student.kuleuven.be> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1131377195 31735 80.91.229.2 (7 Nov 2005 15:26:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2005 15:26:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 07 16:26:33 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZ8sn-0000B0-SZ for gctc-ntg-context-518@m.gmane.org; Mon, 07 Nov 2005 16:26:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 97F9F127C3; Mon, 7 Nov 2005 16:26:05 +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 04111-01; Mon, 7 Nov 2005 16:26:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 93733127BB; Mon, 7 Nov 2005 16:24:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE369127BB for ; Mon, 7 Nov 2005 16:24:18 +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 03800-07 for ; Mon, 7 Nov 2005 16:24:17 +0100 (CET) Original-Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by ronja.ntg.nl (Postfix) with ESMTP id DB1B6127B8 for ; Mon, 7 Nov 2005 16:24:17 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:59463 helo=[192.168.1.3]) by post-22.mail.nl.demon.net with esmtp (Exim 4.51) id 1EZ8r3-000Mjm-5m for ntg-context@ntg.nl; Mon, 07 Nov 2005 15:24:17 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <436F58C9.5020402@student.kuleuven.be> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23296 Archived-At: Wolfgang Zillig wrote: > Hello, >=20 > sory for the late reply but I checked it again and I created an example > document please look at: > http://www.student.kuleuven.ac.be/~s0167070/env.pdf : now one word > "Vollst=C3=A4ndigkeit" ist > not hyphenated but "=C3=BCbernehmen" is hyphenated. As I process from a= XML > file I can not do something like \hyphenation{Voll-st=C3=A4n-dig-keit}.= What > can I do? You can put the \hyphenation command in your cont-sys.tex or cont-loc.tex. Or you can embed a and put the \hyphenation command in myenv.tex. You have to switch to utf-8 encoding as well, I think. FYI, ConTeXt simply seems to miss the first hyphen, I get the result of \hyphenation{Vollst=C3=A4n-dig-keit} from \showhyphens (you may want to increase the tolerance when working with xml input files). Cheers, Taco