I finally decided to look why I cannot get previews to work here. The answer is that uses "latex" in a hardcoded way (along with dvips and gs). This is not good here where latex should be invoked as "babel" (don't ask why, it is braindead). But it could be the case for other people too.
Would it be possible to make the script use the latex->dvi converter? I know it does not seem easy to do, except maybe by passing this converter as argument. People who have several ghostscript versions installed would probably also appreciate to be able to select the one to use too. JMarc