ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: XeTeX no longer working
Date: Tue, 26 Oct 2004 09:10:30 +0100	[thread overview]
Message-ID: <20041026091030.12661@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <417E02FD.1040309@creutzig.de>

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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2004-10-26  8:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26  7:55 Christopher Creutzig
2004-10-26  8:10 ` Adam Lindsay [this message]
2004-10-26 11:32   ` Nikolai Weibull
2004-10-26 12:20     ` Adam Lindsay
2004-10-26 12:59       ` Nikolai Weibull
     [not found] <417E2AF9.1030603@creutzig.de>
2004-10-26 12:13 ` Adam Lindsay
2004-10-26 12:50   ` Hans Hagen
2004-10-26 13:55     ` Adam Lindsay
2004-10-26 14:04       ` Christopher Creutzig
2004-10-26 14:34         ` Hans Hagen
2004-10-26 14:19       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041026091030.12661@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).