* Forcing XeTeX output
@ 2006-11-02 10:45 Philipp Reichmuth
2006-11-02 10:48 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Reichmuth @ 2006-11-02 10:45 UTC (permalink / raw)
Hi,
is there a first-line comment directive or a \setupoutput[] parameter to
force usage of XeTeX just like the --xtx commandline switch?
Consider the following document:
----------------------
% ??? = xetex???
\starttext
This is a piece of text
\stoptext
----------------------
I just experimentally tried "engine=xetex", "tex=xetex" and
"output=xetex" on the first line. The first two actually launch XeTeX,
but they bail out with the comment "you should use pdfetex instad" and a
\wait command, and the last one runs pdfetex instead and produces a DVI
file.
Philipp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Forcing XeTeX output
2006-11-02 10:45 Forcing XeTeX output Philipp Reichmuth
@ 2006-11-02 10:48 ` Hans Hagen
2006-11-02 12:18 ` Philipp Reichmuth
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-11-02 10:48 UTC (permalink / raw)
Philipp Reichmuth wrote:
> Hi,
>
> is there a first-line comment directive or a \setupoutput[] parameter to
> force usage of XeTeX just like the --xtx commandline switch?
>
> Consider the following document:
>
> ----------------------
> % ??? = xetex???
> \starttext
> This is a piece of text
> \stoptext
> ----------------------
>
> I just experimentally tried "engine=xetex", "tex=xetex" and
> "output=xetex" on the first line. The first two actually launch XeTeX,
> but they bail out with the comment "you should use pdfetex instad" and a
> \wait command, and the last one runs pdfetex instead and produces a DVI
> file.
>
% engine=xetex
should work
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Forcing XeTeX output
2006-11-02 10:48 ` Hans Hagen
@ 2006-11-02 12:18 ` Philipp Reichmuth
0 siblings, 0 replies; 3+ messages in thread
From: Philipp Reichmuth @ 2006-11-02 12:18 UTC (permalink / raw)
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.
<read *>
\wait ->\begingroup \read 16 to \wait
\endgroup
l.78 ...tems}{you should use pdfTeX binaries}\wait
End of file on the terminal!
Here is how much of TeX's memory you used:
516 strings out of 108051
8931 string characters out of 549268
4570410 words of memory out of 8006461
40019 multiletter control sequences out of 10000+50000
74893 words of font info for 37 fonts, out of 2000000 for 2000
416 hyphenation exceptions out of 8191
33i,1n,26p,220b,401s stack positions out of 3000i,500n,5000p,200000b,5000s
No pages of output.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-02 12:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-02 10:45 Forcing XeTeX output Philipp Reichmuth
2006-11-02 10:48 ` Hans Hagen
2006-11-02 12:18 ` Philipp Reichmuth
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).