From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9494 Path: main.gmane.org!not-for-mail From: AlterEgo Qasars Newsgroups: gmane.comp.tex.context Subject: Regimes? Date: Tue, 8 Oct 2002 08:34:09 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20021008063409.GB31555@merkur.econ.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035399810 3485 80.91.224.250 (23 Oct 2002 19:03:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:03:30 +0000 (UTC) Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g986aVe25892 for ; Tue, 8 Oct 2002 08:36:31 +0200 (MEST) Original-Received: from smail.let.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Tue, 8 Oct 2002 08:36:09 +0200 Original-Received: by smail.let.uu.nl (8.9.3/8.9.3/JEvW) id IAA12663 for ntg-context-list; Tue, 8 Oct 2002 08:34:13 +0200 (MET DST) X-Authentication-Warning: smail.let.uu.nl: majordom set sender to owner-ntg-context@let.uu.nl using -f Original-Received: from spider.let.uu.nl (spider.let.uu.nl [131.211.194.47]) by smail.let.uu.nl (8.9.3/8.9.3/JEvW) with ESMTP id IAA12659 for ; Tue, 8 Oct 2002 08:34:10 +0200 (MET DST) Original-Received: from anor.ics.muni.cz (root@anor.ics.muni.cz [147.251.4.35]) by spider.let.uu.nl (8.11.2/8.11.2/SYSADM) with ESMTP id g986Y9226652 for ; Tue, 8 Oct 2002 08:34:09 +0200 (MEST) Original-Received: from merkur.econ.muni.cz (merkur.econ.muni.cz [147.251.189.10]) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id g986Y97h003498 for ; Tue, 8 Oct 2002 08:34:09 +0200 Original-Received: (from quasar@localhost) by merkur.econ.muni.cz (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id g986Y9v31905 for ntg-context@ntg.nl; Tue, 8 Oct 2002 08:34:09 +0200 Original-To: konference o ConTeXtu Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Muni-Virus-Test: Clean Precedence: bulk Xref: main.gmane.org gmane.comp.tex.context:9494 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9494 Good morning once more. I have to typeset something in TX fonts. It has EC (Cork?) encoding, while my input has Iso Latin 2 (il2) encoding. It is a virtual font, so reencoding is not so easy. I found ConTeXt can reencode it itself via regimes. After some digging in the source coude I included this in my document: \startregime [mine] \defineactivetoken 169 {\Scaron} \defineactivetoken 171 {\Tcaron} \defineactivetoken 174 {\Zcaron} \defineactivetoken 185 {\scaron} \defineactivetoken 187 {\tcaron} \defineactivetoken 190 {\zcaron} \defineactivetoken 193 {\Aacute} \defineactivetoken 200 {\Ccaron} \defineactivetoken 201 {\Eacute} \defineactivetoken 204 {\Ecaron} \defineactivetoken 205 {\Iacute} \defineactivetoken 207 {\Dcaron} \defineactivetoken 210 {\Ncaron} \defineactivetoken 211 {\Oacute} \defineactivetoken 216 {\Rcaron} \defineactivetoken 217 {\Uring} % Velke U s krouzkem \defineactivetoken 218 {\Uacute} \defineactivetoken 218 {\Uacute} \defineactivetoken 221 {\Yacute} \defineactivetoken 225 {\aacute} \defineactivetoken 232 {\ccaron} \defineactivetoken 233 {\eacute} \defineactivetoken 236 {\ecaron} \defineactivetoken 237 {\iacute} \defineactivetoken 239 {\dcaron} \defineactivetoken 242 {\ncaron} \defineactivetoken 243 {\oacute} \defineactivetoken 248 {\rcaron} \defineactivetoken 249 {\uring} % male u s krouzkem \defineactivetoken 250 {\uacute} \defineactivetoken 253 {\yacute} % \defineactivetoken 254 {\quotedblbase} % \defineactivetoken 255 {\quotedblleft} \stopregime \enableregime[mine] It works well, but 1) bookmarks now includes some funny stuff 2) \hyphenation causes errors 3) it is hard to use special charachters (like czech double quotes) because it is in every encoding in another place Is it possible to improve this behavior? What I'm doing wrong? Many thanks and greetings. M.K.