From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23298 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 17:03:55 +0100 Message-ID: <436F7AEB.3060209@elvenkind.com> References: <435F8DDA.4080102@student.kuleuven.be> <4366A1BF.2000509@wxs.nl> <436F58C9.5020402@student.kuleuven.be> <436F719A.8050903@elvenkind.com> <436F74E3.9000503@student.kuleuven.be> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010004060603090401060106" X-Trace: sea.gmane.org 1131381908 17278 80.91.229.2 (7 Nov 2005 16:45:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2005 16:45:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 07 17:44:55 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 1EZA3D-0001mr-8t for gctc-ntg-context-518@m.gmane.org; Mon, 07 Nov 2005 17:40:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 898181277F; Mon, 7 Nov 2005 17:40:51 +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 04523-05; Mon, 7 Nov 2005 17:40:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BEDDB127BF; Mon, 7 Nov 2005 17:04:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B42B127BF for ; Mon, 7 Nov 2005 17:04:03 +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 04329-07 for ; Mon, 7 Nov 2005 17:04:02 +0100 (CET) Original-Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by ronja.ntg.nl (Postfix) with ESMTP id 92247127BD for ; Mon, 7 Nov 2005 17:04:02 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:59522 helo=[192.168.1.3]) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1EZ9TV-000NV3-OD for ntg-context@ntg.nl; Mon, 07 Nov 2005 16:04:02 +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: <436F74E3.9000503@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:23298 Archived-At: This is a multi-part message in MIME format. --------------010004060603090401060106 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Wolfgang Zillig wrote: > Hello, >=20 > when I add \hyphenation{Voll-st=C3=B6n-dig-keit} into my tex file I get= the=20 > following error: >=20 > (C:\texmf\tex\context\base\xtag-utf.tex > loading : Context XML Macros (UTF-8) > ) > ! Not a letter. > \@default@adiaeresis ->\char 228 > \utfunihashglyph ...r \utfdiv=20 > {#1}}{#1}\endcsname > \fi > Voll-st=C3=A4 > n-dig-keit > \hyphenation ...malhyphenation {\the \scratchtoks > }\endgroup > l.118 \hyphenation{Voll-st=C3=A4n-dig-keit} > ? >=20 >=20 > Any ideas? Perhaps your input is latin1, only pretending to be utf-8. In a latin-1 text editor, it should look like this: \hyphenation{Voll-st=C3=83=C2=A4n-dig-keit} But this sort of stuff is tricky to get right in e-mail, and I am just guessing. What I tried is attached, and that worked for me. Cheers, Taco --------------010004060603090401060106 Content-Type: application/x-tex; name="vols-utf.tex" Content-Disposition: inline; filename="vols-utf.tex" Content-Transfer-Encoding: quoted-printable \language[de] \useencoding[utf] \hyphenation{Voll-st=C3=A4n-dig-keit} \starttext \showhyphens{Vollst=C3=A4ndigkeit} \stoptext --------------010004060603090401060106 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------010004060603090401060106--