From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16765 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX no longer working Date: Tue, 26 Oct 2004 09:10:30 +0100 Sender: ntg-context-bounces@ntg.nl Message-ID: <20041026091030.12661@news.comp.lancs.ac.uk> References: <417E02FD.1040309@creutzig.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098778478 25283 80.91.229.6 (26 Oct 2004 08:14:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2004 08:14:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 26 10:14:22 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMMTG-0006Kh-00 for ; Tue, 26 Oct 2004 10:14:22 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 81A6512772; Tue, 26 Oct 2004 10:14:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17284-02; Tue, 26 Oct 2004 10:14:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A058412771; Tue, 26 Oct 2004 10:10:42 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 717C412771 for ; Tue, 26 Oct 2004 10:10:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16865-06 for ; Tue, 26 Oct 2004 10:10:40 +0200 (CEST) Original-Received: from mail.comp.lancs.ac.uk (unknown [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 9B09E1276D for ; Tue, 26 Oct 2004 10:10:40 +0200 (CEST) Original-Received: from [81.135.129.31] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id i9Q8AZqG022657; Tue, 26 Oct 2004 09:10:37 +0100 (BST) Original-To: "mailing list for ConTeXt users" , "Christopher Creutzig" In-Reply-To: <417E02FD.1040309@creutzig.de> X-Mailer: CTM PowerMail version 5.0.1 build 4305 English X-Virus-Scanned: by 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16765 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16765 Christopher, Sorry. My email answering has been sporadic in the past few weeks because I have been travelling. (I need to check if some of your mail got spam- filtered, as well!) The problem is with the changes that went into the ConTeXt distribution. Since you're running an up-to-date XeTeX, a temporary workaround is replacing the following: >\resetspecials >\defineoutput [xetex] [xtx] >\setupoutput[xetex] ...with: \setupoutput[dvipdfmx] It's not entirely accurate, but XeTeX now supports 85% of the important dvipdfmx specials, so the next spec-xtx will inherit from dvipdfmx. best, adam Christopher Creutzig said this at Tue, 26 Oct 2004 09:55:41 +0200: >Salvete, > > since mail directly to Adam Lindsay does not seem to get through (I >never got a reply, even when asking if it had got through, so I'm >assuming it didn't), sorry to everyone not interested in XeTeX. > > After upgrading to tetex beta, XeTeX 0.88, and ConTeXt 2004.10.07, I'm >suddenly running into problems: > >\resetspecials >\defineoutput [xetex] [xtx] >\setupoutput[xetex] >\usetypescriptfile [type-xtx] >\definetypeface[Hoe][rm][serif][hoefler] [default][encoding=unicode] >\setupbodyfont [Hoe,rm]% >\setupcolor[state=start] > >\starttext >{\red test} >\stoptext > > > >! Undefined control sequence. >\dostartrgbcolormode ...tring {\colorhexcomponent > >{#1}\colorhexcomponent {#2... > >\doexeccolorrgb ...ode \@@cl@@r \@@cl@@g \@@cl@@b > \or \or \or \or \or >\dosta... > >\doexeccolorR ...!r \normalizeRGB \doexeccolorrgb > \else >\ifCMYKsupported \re... > >\@@crred ->0R:1:0:0: > 0:0 >\dowithcolor ... \??cr \currentpalet #2\endcsname > \od \else \ifcsname >\??cr ... > >\dodoglobalstartcolor ...m!colors 3\@@askedcolor } > \fi \fi >... >l.11 {\red > test} > > > Is there a newer version of XeTeX support available? (spec-xtx.tex >from context/base, which is used, unfortunately only lists >"version=2004.*.*".) > > I believe the problem is in > >\ifx\colorhexcomponent\undefined > > % this will be added to colo-hex.tex > >\else > > % because we intercept the zero condition, the .23pt in 1.23pt will >disappea >r in the > % ifcase zero part branch > > \def\colorhexcomponent#1% > {\ifdim#1\points<.005\points >... > > Why is there an empty first branch in the if? > >Regards, > Christopher Creutzig > >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-