From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13274 Path: main.gmane.org!not-for-mail From: "George N. White III" Newsgroups: gmane.comp.tex.context Subject: Re: problems with embedded spaces in file paths (Win32) Date: Tue, 16 Sep 2003 18:13:28 -0300 (ADT) Sender: ntg-context-admin@ntg.nl Message-ID: References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1063746811 18031 80.91.224.253 (16 Sep 2003 21:13:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2003 21:13:31 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 16 23:13:27 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zN8Z-0005d2-00 for ; Tue, 16 Sep 2003 23:13:27 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9344310B31; Tue, 16 Sep 2003 23:13:24 +0200 (MEST) Original-Received: from halifax.chebucto.ns.ca (chebucto.ns.Ca [192.75.95.75]) by ref.ntg.nl (Postfix) with ESMTP id 1C48E10B2B for ; Tue, 16 Sep 2003 23:07:42 +0200 (MEST) Original-Received: from Dyip-190.chebucto.ns.Ca ([192.75.95.190]:34473 "EHLO cerberus.cwmannwn.nowhere") by halifax.chebucto.ns.ca with ESMTP id ; Tue, 16 Sep 2003 18:07:30 -0300 X-X-Sender: gwhite@cerberus.cwmannwn.nowhere Original-To: ntg-context@ntg.nl In-Reply-To: Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: "George N. White III" List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13274 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13274 On Mon, 15 Sep 2003, Fabrice Popineau wrote: > > 1. on Win32, kpsewhich often fails to find texexec.ini. I created a > > I have applied a couple of patches to texexec and texutil. They are > attached. This morning, on Win98, texexec.exe reliably failed to find texexec.ini. I see that the full path of texexec.exe is passed into the backticks: my $IniPath = `$own_quote$kpsewhich$own_quote --format="other text files" -progname=context texexec.$suffix` ; replacing "$kpsewhich" with "kpsewhich" got things working. I wonder if this is some Win98 command buffer length issue. Is it necessary to pass the full path (e.g., C:\PROGRA~1\TEXLIVE\BIN\WIN32\KPSEWHICH.EXE)? > > 2. ConTeXt texexec uses $ENV{"HOME"} to set a value in filename.tmp, > > e.g., on unix: > > I tried your example and this is what I get : > > C:\tmp>cat try.tmp > % try.top > \unprotect > \setupoutput[pdftex] > \setupsystem[\c!gebied={C:/Documents and Settings/popineau/My Documents/}] > \setupsystem[\c!n=2] > \setupsystem[inputfile=try.tex] > \protect > > Which seems correct, isn't it? My guess is that when kpathsea is failing, you are supposed to get a message in "$HOME/cont-err", but instead you end up with text on an extra page, something like: and Settings/popineau/My Documents//cont-err which suggests the error is likely written to C:/Documents. I didn't have a chance to test your patch today. Currently, texexec.pl tries a brute force search if kpathsea fails to find texexec.ini or texexec.rme. On the Win98 PC I'm using, this search takes much longer than I'm willing to wait. Would it be better to exit with a suggestion that the user investigate the problem with kpathsea? -- George N. White III