From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17317 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: testing XeTeX with ConTeXt Date: Mon, 29 Nov 2004 17:16:09 +0000 Message-ID: <20041129171609.7024@news.comp.lancs.ac.uk> References: <9E7D4B66-4217-11D9-A593-003065699FE0@ucd.ie> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101750003 23302 80.91.229.6 (29 Nov 2004 17:40:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2004 17:40:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 18:39:53 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CYp8V-0006uF-00 for ; Mon, 29 Nov 2004 18:16:27 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17BBD127BE; Mon, 29 Nov 2004 18:16:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27316-03; Mon, 29 Nov 2004 18:16:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6CA60127B1; Mon, 29 Nov 2004 18:16:24 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D37F6127B1 for ; Mon, 29 Nov 2004 18:16:22 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27216-04-2 for ; Mon, 29 Nov 2004 18:16:21 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (unknown [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id E275B1276F for ; Mon, 29 Nov 2004 18:16:21 +0100 (CET) Original-Received: from [192.168.31.100] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id iATHG8qG020983; Mon, 29 Nov 2004 17:16:09 GMT Original-To: "Charles Doherty" , "Mailing List For ConTeXt Users" , "Gerben Wierda" In-Reply-To: <9E7D4B66-4217-11D9-A593-003065699FE0@ucd.ie> X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17317 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17317 [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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-