Hans Hagen schrieb:
is there a first-line comment directive or a \setupoutput[] parameter to force usage of XeTeX just like the --xtx commandline switch?
% engine=xetex
should work
Doesn't work for me. Test document: ------ xetex-invocation-engine.tex-------- % engine=xetex \starttext This is a piece of text \stoptext ------------------------------------------- And I get the attached results from 'texexec xetex-invocation-engine.tex'. Looks like for some reason ConTeXt still assumes PDFTeX somewhere and loads spec-tpd.tex. Philipp ============= Log ============ TeXExec | processing document 'xetex-invocation-engine.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file xetex-invocation-engine.top TeXExec | using randomseed 516 TeXExec | tex engine: xetex TeXExec | tex format: cont-en TeXExec | progname: context This is XeTeX, Version 3.141592-2.2-0.995 (Web2C 7.5.5) (format=cont-en 2006.11.1) 2 NOV 2006 13:07 entering extended mode (WARNING: translate-file "natural.tcx" ignored) **xetex-invocation-engine.tex \emergencyend (./xetex-invocation-engine.tex ConTeXt ver: 2006.10.27 15:16 MK II fmt: 2006.11.1 int: english/english language : language en is active system : cont-new loaded (c:/w32tex/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/w32tex/share/texmf/tex/context/base/cont-new.mkii)) system : cont-old loaded (c:/w32tex/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (c:/w32tex/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (c:/w32tex/share/texmf/tex/context/user/cont-sys.rme (c:/w32tex/share/texmf/tex/context/base/type-exa.tex) (c:/w32tex/share/texmf/tex/context/base/type-syn.tex) (c:/w32tex/share/texmf/tex/context/base/type-enc.tex) (c:/w32tex/share/texmf/tex/context/base/type-siz.tex) (c:/w32tex/share/texmf/tex/context/base/type-map.tex) (c:/w32tex/share/texmf/tex/context/base/type-spe.tex) (c:/w32tex/share/texmf/tex/context/base/type-akb.tex) (c:/w32tex/share/texmf/tex/context/base/type-xtx.tex)) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr-> texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 ru->t2a:t2a->21->2:3 en->ec:e c->22->2:3 uk->ec:ec->23->2:3 us->ec:ec->24->2:3 agr->agr:agr->25->2:3 da->ec:e c->26->2:3 sv->ec:ec->27->2:3 af->ec:ec->28->2:3 no->ec:ec->29->2:3 deo->ec:ec-
30->2:3 es->ec:ec->31->2:3 ca->ec:ec->32->2:3 la->ec:ec->33->2:3 ro->ec:ec->34 ->2:3 tr->ec:ec->35->2:3 fi->ec:ec->37->2:3 hu->ec:ec->38->2:3 loaded specials : tex,postscript,rokicki loaded \openout3 = `xetex-invocation-engine.tui'.
system : xetex-invocation-engine.top loaded
(./xetex-invocation-engine.top
specials : loading definition file tpd
(c:/w32tex/share/texmf/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
! Emergency stop.