From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78378 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: CP 1250 & component Date: Wed, 19 Sep 2012 15:02:55 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------hgaXkSLgxIAPHLsBJgv9xc X-Trace: ger.gmane.org 1348059756 26261 80.91.229.3 (19 Sep 2012 13:02:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2012 13:02:36 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 19 15:02:39 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TEJvI-0007Uf-Ks for gctc-ntg-context-518@m.gmane.org; Wed, 19 Sep 2012 15:02:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF17F10211; Wed, 19 Sep 2012 15:02:31 +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 DisX-OINcxoT; Wed, 19 Sep 2012 15:02:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DBFE5101EF; Wed, 19 Sep 2012 15:02:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 983E3101EF for ; Wed, 19 Sep 2012 15:02:27 +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 xmy8dJGGY+T1 for ; Wed, 19 Sep 2012 15:02:21 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 6CD82101E6 for ; Wed, 19 Sep 2012 15:02:21 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8JD2HJP013198 for ; Wed, 19 Sep 2012 15:02:19 +0200 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Wed, 19 Sep 2012 15:02:11 +0200 User-Agent: Opera Mail/12.02 (Win32) X-Bayes-Prob: 0.5 (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: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78378 Archived-At: ------------hgaXkSLgxIAPHLsBJgv9xc Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Hello, I have problem using CP 1250 and component/environment. Suppose having a simple example: ---- t-M.mkiv - File of macro definitions %\enableregime[cp1250] \def\ccc{=C4=8D} % A Czech letter with diacritics ---- ---- t-Env.mkiv - Environment file - just load macros %\enableregime[cp1250] \input t-M.mkiv \startenvironment * \stopenvironment ---- ---- t-Comp.mkiv - Component - this file is to be compiled %\enableregime[cp1250] \environment t-Env.mkiv \startcomponent * Comp \stopcomponent ---- I tried to place "\enableregime[cp1250]" statement to all places where i= t is marked as comment now, but no position was accepted by ConTeXt - I = was always getting: " ConTeXt ver: 2012.08.02 10:55 MKIV fmt: 2012.8.3 int: english/english= ... regimes > loading > vector 'cp1250' is loaded (t-Env.mkiv (t-M.mkiv ! String contains an invalid utf-8 sequence. system > tex > error on line 3 in file t-M.mkiv: String contain= s an invalid utf-8 sequence ... 1 %\enableregime[cp1250] 2 3 >> \def\ccc{=C5=94} 4 l.3 \def\ccc{ =C5=94} ) Runaway definition? ->=C2=B4=E2=94=90=C5=BB" ... " Note that the following code works OK: ---- t-Comp(alt).mkiv - Component with successful compilation \enableregime[cp1250] \input t-M.mkiv % The "problematic" file is loaded here \startcomponent * Comp \stopcomponent ---- So is there a way how to involve the macro file "t-M.mkiv" (CP 1250, Cze= ch) into the environment file "t-Env.mkiv"? TIA. Best regards, 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 ------------hgaXkSLgxIAPHLsBJgv9xc Content-Disposition: attachment; filename=t-Comp.mkiv Content-Type: application/octet-stream; name="t-Comp.mkiv" Content-Transfer-Encoding: Base64 XGVuYWJsZXJlZ2ltZVtjcDEyNTBdDQoNClxpbnB1dCB0LU0ubWtpdg0KDQolXGVu dmlyb25tZW50IHQtRW52Lm1raXYNCg0KXHN0YXJ0Y29tcG9uZW50ICoNCiAgQ29t cA0KXHN0b3Bjb21wb25lbnQNCg== ------------hgaXkSLgxIAPHLsBJgv9xc Content-Disposition: attachment; filename=t-Env.mkiv Content-Type: application/octet-stream; name="t-Env.mkiv" Content-Transfer-Encoding: Base64 JVxlbmFibGVyZWdpbWVbY3AxMjUwXQ0KDQpcaW5wdXQgdC1NLm1raXYNCg0KXHN0 YXJ0ZW52aXJvbm1lbnQgKg0KXHN0b3BlbnZpcm9ubWVudA0K ------------hgaXkSLgxIAPHLsBJgv9xc Content-Disposition: attachment; filename=t-M.mkiv Content-Type: application/octet-stream; name="t-M.mkiv" Content-Transfer-Encoding: Base64 JVxlbmFibGVyZWdpbWVbY3AxMjUwXQ0KDQpcZGVmXGNjY3vofQ0K ------------hgaXkSLgxIAPHLsBJgv9xc 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 ___________________________________________________________________________________ ------------hgaXkSLgxIAPHLsBJgv9xc--