From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26172 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?Q?Martin_Kola=F8=EDk?= Newsgroups: gmane.comp.tex.context Subject: Problem with encoding, XML and writetolist... Date: Tue, 28 Feb 2006 08:24:26 +0100 Message-ID: Reply-To: martin.kolarik@email.cz, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1141111476 3230 80.91.229.2 (28 Feb 2006 07:24:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2006 07:24:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 28 08:24:34 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FDzDl-0006AX-9E for gctc-ntg-context-518@m.gmane.org; Tue, 28 Feb 2006 08:24:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E19351279D; Tue, 28 Feb 2006 08:24:32 +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 16790-04; Tue, 28 Feb 2006 08:24:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2AF5012793; Tue, 28 Feb 2006 08:24:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 755FF12793 for ; Tue, 28 Feb 2006 08:24:26 +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 16789-06 for ; Tue, 28 Feb 2006 08:24:25 +0100 (CET) Original-Received: from mail.mii.cz (217-112-164-99.cust.avonet.cz [217.112.164.99]) by ronja.ntg.nl (Postfix) with SMTP id EA2F112772 for ; Tue, 28 Feb 2006 08:24:24 +0100 (CET) Original-Received: (qmail 14533 invoked from network); 28 Feb 2006 07:24:24 -0000 Original-Received: from nat6.mii.cz (HELO enceladus) (217.115.241.29) by belinda.mii.cz with SMTP; 28 Feb 2006 07:24:24 -0000 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:26172 Archived-At: Hi all, I have problem with chars encoding now; I have updated ConTeXt sometimes in January; before the time I was using old (year) version. In this prehistorical version the problem was not present. What is the stuff? The following code generates content with titles without spaces -- accented characters are replaced with \char XXX variant, so during reading TUI line TeX gobbles a space after XXX as a part of syntax rule. Can I do something? With encoding? With XML? Thank you very much, have a nice day, Martin Code: \defineXMLenvironment [chapter] {\defineXMLsave[title]} {\expanded {\chapter\XMLflush{title}}} \starttext \startbuffer Ahoj=E1 hoj=E8 kuna \stopbuffer \processXMLbuffer \completecontent[criterium=3Dall] \stoptext