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

Angelo Graziosi angelo.graziosi at alice.it
Wed Apr 7 11:25:51 CEST 2010


I wrote:
> Really I observe that on Cygwin but NOT on GNU/Linux Kubuntu 9.10
> (K910)! The full output is:
>
> $ latexmk -quiet small2e.tex
> Latexmk: Run number 1 of rule 'latex'
> Latexmk: Running 'latex  -interaction=batchmode -c-style-errors
> "small2e.tex"'
> latex: unrecognized option `-c-style-errors'
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
> entering extended mode
> Latexmk: Run number 2 of rule 'latex'
> Latexmk: Running 'latex  -interaction=batchmode -c-style-errors
> "small2e.tex"'
> latex: unrecognized option `-c-style-errors'
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
> entering extended mode

Looking at 'latexmk.pl' script, I see the block:

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...

Indeed omitting it *completely*,

-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 {

the script works just fine :-)

Ken, what do you think?

Ciao,
Angelo.


More information about the tex-live mailing list