[tex-live] Unrecognized option '-c-style-errors' [Cygwin]

Manuel Pégourié-Gonnard mpg at elzevir.fr
Wed Apr 7 12:26:50 CEST 2010

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.


More information about the tex-live mailing list