From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9717 Path: main.gmane.org!not-for-mail From: "Gregory D. Collins" Newsgroups: gmane.comp.tex.context Subject: [Fwd: Texexec bug] Date: Sun, 03 Nov 2002 12:11:42 -0500 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <3DC558CE.4040204@cs.yale.edu> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036483676 17675 80.91.224.249 (5 Nov 2002 08:07:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 08:07:56 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 188ykc-0004au-00 for ; Tue, 05 Nov 2002 09:07:54 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id AD2A210AE9; Tue, 5 Nov 2002 09:09:19 +0100 (MET) Original-Received: from pantheon-po04.its.yale.edu (pantheon-po04.its.yale.edu [130.132.50.23]) by ref.ntg.nl (Postfix) with ESMTP id 7E87310AE7 for ; Sun, 3 Nov 2002 18:12:02 +0100 (MET) Original-Received: from cs.yale.edu (vpn83.its.yale.edu [130.132.120.83]) by pantheon-po04.its.yale.edu (8.11.6/8.11.6) with ESMTP id gA3HC0Q05703 for ; Sun, 3 Nov 2002 12:12:00 -0500 (EST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en Original-To: ntg-context@ref.vet.uu.nl X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-YaleITSMailFilter: Version 1.0c (attachment(s) not renamed) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk 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:9717 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9717 Hello ntg-context, I have a copy of texexec.pl dated 2002/05/04 which has a bug in it. I use tetex under cygwin in Windows, and was having a lot of trouble getting texexec working. The problem is as follows. There is a line in texexec.pl: my $dosish = ($Config{'osname'} =~ /^(ms)?dos|^os\/2|^(ms|cyg)win/i); The purpose of this is to find out if we are in a "dosish" environment. This is used later: unless ($dosish) ~ { if ($TeXFormatFlag == "&") { $TeXFormatFlag = "\\&" } ~ if ($MpFormatFlag == "&") { $MpFormatFlag = "\\&" } } This breaks badly (and very confusingly) later when we do system() calls if $SHELL=bash. I don't know if the rest of cygwin's environment qualifies as "dosish" or not for the rest of the program, although mine works fine if it's turned off. Is this a known bug? G. - -- Gregory D. Collins GPG key available at pgp.mit.edu keyserver, id 0xD2EECA60