Hans Hagen wrote:
At 04:10 AM 11/5/2002 -0500, Gregory D. Collins wrote:
The part which is causing the problem is the system() call, when we need to escape the "&" under sh, but not when using the Windows shell. So perhaps the following:
# If $SHELL contains "sh", it is probably UNIXish my $escapeshell = ($ENV{"SHELL"} =~ m/sh/i);
...
# Then later, instead of: unless ($dosish) { if ($TeXFormatFlag == "&") { $TeXFormatFlag = "\\&" } if ($MpFormatFlag == "&") { $MpFormatFlag = "\\&" } }
# We do: unless ($dosish && !$escapeshell) { if ($TeXFormatFlag == "&") { $TeXFormatFlag = "\\&" } if ($MpFormatFlag == "&") { $MpFormatFlag = "\\&" } }
What do you think?
Did you test it? If it works we can do this (i don't have cygwin installed)
I just tested it, it works on my system.
--
Gregory D. Collins