From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62501 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Problem typing file with diacritics by \typefile Date: Tue, 12 Oct 2010 08:18:12 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------tiIrG4w4oVDU3Fej1XdmMZ X-Trace: dough.gmane.org 1286864313 9874 80.91.229.12 (12 Oct 2010 06:18:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 06:18:33 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 12 08:18:30 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5YBx-0003bA-7m for gctc-ntg-context-518@m.gmane.org; Tue, 12 Oct 2010 08:18:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4E00CA6FB; Tue, 12 Oct 2010 08:18:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kXrfszkhxBtC; Tue, 12 Oct 2010 08:18:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4A48CA6DE; Tue, 12 Oct 2010 08:18:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28BFFCA6DE for ; Tue, 12 Oct 2010 08:18:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id B+NvjX-VaXjS for ; Tue, 12 Oct 2010 08:18:19 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id EC3FECA65F for ; Tue, 12 Oct 2010 08:18:18 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9C6IG2X013709 for ; Tue, 12 Oct 2010 08:18:17 +0200 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Tue, 12 Oct 2010 08:18:13 +0200 User-Agent: Opera Mail/10.10 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DhGig7c - 3646c9465aee - 20101012 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:62501 Archived-At: ------------tiIrG4w4oVDU3Fej1XdmMZ Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Hello, I have problem. Suppose having t-TypeF.ctx which is to print itself: --- \enableregime[cp1250] \starttext ABC =C5=BD=C5=A0=C4=8C \typefile[]{t-TypeF.ctx} \stoptext --- The letters "=C5=BD=C5=A0=C4=8C" to be printed during \typefile are the = problem. I get a long error message, where the key message is: l.9 \typefile[]{t-TypeF.ctx} ! String contains an invalid utf-8 sequence. system > error on line 73 in file t-TypeF.ctx: String contains = an invalid utf-8 sequence ... l.73 =C2=B4=E2=94=90=C5=BB The file is created with CP 1250 =3D Windows, Eastern Europe, Czech Repu= blic. So how do I make ctx accept also Czech letters with diacritics like "=C5= =BD=C5=A0=C4=8C"? - I also looked to wiki to \setuptyping, but it doesn't seem to there wo= uld be a command which could change this. Lukas -- = Ing. Luk=C3=A1=C5=A1 Proch=C3=A1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=C3=A1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ------------tiIrG4w4oVDU3Fej1XdmMZ Content-Disposition: attachment; filename=t-TypeF.ctx Content-Type: application/octet-stream; name=t-TypeF.ctx Content-Transfer-Encoding: Base64 XGVuYWJsZXJlZ2ltZVtjcDEyNTBdCgpcc3RhcnR0ZXh0CgogIEFCQwoKICCOisgK CiAgXHR5cGVmaWxlW117dC1UeXBlRi5jdHh9Cgpcc3RvcHRleHQK ------------tiIrG4w4oVDU3Fej1XdmMZ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ------------tiIrG4w4oVDU3Fej1XdmMZ--