From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21701 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: \type ,\meaning eror check Date: Fri, 29 Jul 2005 10:32:43 +0200 Message-ID: <42E9E9AB.9050709@elvenkind.com> References: <42E7B637.2010502@wxs.nl> <1122609153.26434.5.camel@localhost.localdomain> <42E9D576.5060303@logosrl.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122626107 32008 80.91.229.2 (29 Jul 2005 08:35:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2005 08:35:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 29 10:35:05 2005 Return-path: 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 1DyQKC-0001QV-Pw for gctc-ntg-context-518@m.gmane.org; Fri, 29 Jul 2005 10:34:36 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 923B21278D; Fri, 29 Jul 2005 10:34:36 +0200 (CEST) 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 03431-08; Fri, 29 Jul 2005 10:34:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8B28612816; Fri, 29 Jul 2005 10:32:48 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6C8A712816 for ; Fri, 29 Jul 2005 10:32:47 +0200 (CEST) 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 03462-01 for ; Fri, 29 Jul 2005 10:32:46 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 6DECC1278D for ; Fri, 29 Jul 2005 10:32:46 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 667E517FE3 for ; Fri, 29 Jul 2005 10:30:08 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17298-03 for ; Fri, 29 Jul 2005 10:30:07 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id F20B7138D7 for ; Fri, 29 Jul 2005 10:30:06 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42E9D576.5060303@logosrl.it> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21701 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21701 luigi.scarso wrote: > Problems >=20 > 1. i dont't know how to make checking AFAIK, there is only one way to do this: write a new tex file on- the-fly and run a separate texexec on that file (using \write18), then parse the resulting log file for the occurence of any errors. Not simple at all, I'm afraid. > 2. \type does not combine well with \meaning: =F2 (ie {\`o} ) is not = show. This is a side-effect of TeX being an 8-bit program that doesn't understand utf-8 itself. utf-8 in ConTeXt works by virtue of the first character of a sequence having catcode 13 (\active), but \meaning never outputs any catcodes except 12 (character) and 10 (space). This can be fixed by calling \scantokens: \expanded\type{\expandafter\scantokens\expandafter{\Temp}}% Cheers, Taco