ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: testing XeTeX with ConTeXt
       [not found] <9E7D4B66-4217-11D9-A593-003065699FE0@ucd.ie>
@ 2004-11-29 17:16 ` Adam Lindsay
  2004-11-29 17:24   ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Lindsay @ 2004-11-29 17:16 UTC (permalink / raw)


[cc'd to list, because it'll be a common problem.]

Charles Doherty said this at Mon, 29 Nov 2004 15:01:59 +0000:

>Dear Adam,
>
>Thank you for implementing XeTeX in ConTeXt. I have followed your 
>instructions following a fresh install from Gerben to ensure everything 
>was up-to-date but I can't seem to generate cont-en.xfmt
>I give the console read-out below. I hope it is of some use:
>
>TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004
>
>
>        TeX hash binary : mktexlsr
>                comment : hashing may take a while ...
>mktexlsr: Updating /usr/local/teTeX/share/texmf.local/ls-R...
>mktexlsr: Updating /usr/local/teTeX/share/texmf.gwtex/ls-R...
>mktexlsr: Updating /usr/local/teTeX/share/texmf.tetex/ls-R...
>mktexlsr: Updating /usr/local/teTeX/share/texmf/ls-R...
>mktexlsr: Updating /var/tmp/texfonts/ls-R...
>mktexlsr: Done.
>xetex: unrecognized option `-translate-file=natural.tcx'

hi Charles, good point. 

XeTeX currently doesn't accept or ignore the -translate-file option that
Hans has chosen as a default for normal ConTeXt operation. I haven't
figured out how to run different "profiles" or configurations within my
current installation, so I just edited the following line in /usr/local/
teTeX/share/texmf.local/context/config/texexec.ini [1] from:

for  tetex  set  TeXPassString  to -progname=context --default-translate-
file=cp8bit

 ...to...

for  tetex  set  TeXPassString  to -progname=context 

 ... I think that should be enough to set you on your way. I run ConTeXt
with both pdfetex and XeTeX under this configuration, and it seems to
work well enough (except for a minor warning).

I'll add this advice to the wiki, but Hans, Gerben, can you offer advice
on how to handle this configuration conflict longer term... we want
ConTeXt to work well out of the box, *and* to make it easy for mac users.
Yes, JK needs to update XeTeX to handle the -default-translate option
better, but there are other reasons for changing texexec.ini as well...

[1] or wherever your texexec is getting its configuration from. Look at
the output of `texexec --verbose` for a line like:
reading : /usr/local/teTeX/share/texmf.local/context/config/texexec.ini

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: testing XeTeX with ConTeXt
  2004-11-29 17:16 ` testing XeTeX with ConTeXt Adam Lindsay
@ 2004-11-29 17:24   ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2004-11-29 17:24 UTC (permalink / raw)
  Cc: Gerben Wierda, Charles Doherty

Adam Lindsay wrote:

> I'll add this advice to the wiki, but Hans, Gerben, can you offer advice
> on how to handle this configuration conflict longer term... we want
> ConTeXt to work well out of the box, *and* to make it easy for mac users.
> Yes, JK needs to update XeTeX to handle the -default-translate option
> better, but there are other reasons for changing texexec.ini as well...

for proper unicode (and xml) support, tex needs to be 8 bit in/out, which is why 
the tcx swiotch is there; i'll probably rewrite most of texexec once i have its 
examplex companion redone (then that one will do the goodies like imposition)


Hans

-----------------------------------------------------------------
                                           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] 2+ messages in thread

end of thread, other threads:[~2004-11-29 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9E7D4B66-4217-11D9-A593-003065699FE0@ucd.ie>
2004-11-29 17:16 ` testing XeTeX with ConTeXt Adam Lindsay
2004-11-29 17:24   ` Hans Hagen

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).