From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13641 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Czech patterns in TeXlive2003 Date: Tue, 30 Sep 2003 17:19:56 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030930171518.01283370@server-1> References: <20030930161823.A6560946@aisa.fi.muni.cz> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1064935847 32058 80.91.224.253 (30 Sep 2003 15:30:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 15:30:47 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 30 17:30:45 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4MSb-0003tX-00 for ; Tue, 30 Sep 2003 17:30:45 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 93EC410B28; Tue, 30 Sep 2003 17:30:41 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id D2FE010B25 for ; Tue, 30 Sep 2003 17:22:07 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8UFLxg19775 for ; Tue, 30 Sep 2003 17:21:59 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 37E521A523; Tue, 30 Sep 2003 17:21:59 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 1B5E7184F8 for ; Tue, 30 Sep 2003 15:21:58 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <20030930161823.A6560946@aisa.fi.muni.cz> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13641 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13641 Hi David, >Petr Olsak has changed slightly Czech pattern file czhyph.tex for >TeXlive2003, it's a bit `Babelized' now. It produces \errmessage for >Babel's \addlanguage being \undefined. It also contains several ugly >hacks to make both plain and LaTeX read \v and \' syntax for Czech >accents, and finally it reads czhyphen.tex containing real patterns. > >The result is that generating ConTeXt format ends with the \errmessage. >Simple workaround is to change alias in cont-usr.tex to pattern files >from czhyph.tex to czhyphen.tex. My discussion with Petr Olsak suggests >to make a more systematic correction: to add a test into czhyph.tex and >make it directly read czhyphen.tex if ConTeXt is detected. > >This needs two things to make sure: >1. Is it OK to read patterns with \v and \' syntax into ConTeXt? >2. Is there a way to detect ConTeXt in order to put into czhyph.tex >something like: > >\ifx\\undefined \else > % for ConTeXt > \input czhyphen.tex > \endinput \fi > >Is there a more systematic/clean solution? Or shall I ask Petr Olsak to >change this in the czhyph.tex file? Ah ... i just found that out yesterday and had on my agenda to ask you to look into it. I have now adapted cont-usr.tex and commented: % \definefilesynonym [lang-cz.pat] [czhyph.tex] % \definefilesynonym [lang-cz.pat] [skhyph.tex] maybe you can trigger on: \contextversion Thanks for taking care of it. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------