ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: testing XeTeX with ConTeXt
Date: Mon, 29 Nov 2004 17:16:09 +0000	[thread overview]
Message-ID: <20041129171609.7024@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <9E7D4B66-4217-11D9-A593-003065699FE0@ucd.ie>

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

       reply	other threads:[~2004-11-29 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9E7D4B66-4217-11D9-A593-003065699FE0@ucd.ie>
2004-11-29 17:16 ` Adam Lindsay [this message]
2004-11-29 17:24   ` 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=20041129171609.7024@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).