[tex-live] Unrecognized option '-c-style-errors' [Cygwin]
Ken Brown
kbrow1i at gmail.com
Wed Apr 7 13:22:59 CEST 2010
On 4/7/2010 6:26 AM, Manuel Pégourié-Gonnard wrote:
> Angelo Graziosi a écrit :
>> elsif ( $^O eq "cygwin" ) {
>> [...]
>> # For both fptex and miktex, the following makes error messages explicit:
>> $latex_silent_switch = '-interaction=batchmode -c-style-errors';
>> $pdflatex_silent_switch = '-interaction=batchmode -c-style-errors';
>> [...]
>> }
>> else {
>>
>> so, if I read correctly, on Cygwin TL is confused with fptex or
>> miktex... Really I do not see any reason for that block on current
>> Cygwin-1.7...
>>
> Well, more generally, I think it's wrong to try detecting the distribution using
> the underlying OS as the only information. TeX Live runs on Windows as well as
> MikTeX or fpTeX. (I heard there are also experiments to make MikTeX work on Unix.)
>
> I'm not sure what is "the right way" to detect which TeX distribution is being
> used, but I'm sure it's not just looking at the OS.
And, given that TL includes Cygwin binaries, it is certainly wrong for
the script to test for Cygwin and then decide that TL is *not* being
used. I agree with Angelo.
Ken
More information about the tex-live
mailing list