Revision d232a246
Von Moritz Bunkus vor etwa 13 Jahren hinzugefügt
SL/Template/LaTeX.pm | ||
---|---|---|
388 | 388 |
"> $form->{tmpfile}.err"); |
389 | 389 |
if ($?) { |
390 | 390 |
$ENV{HOME} = $old_home; |
391 |
$self->{"error"} = $form->cleanup(); |
|
392 |
$self->cleanup(); |
|
391 |
$self->{"error"} = $form->cleanup($latex); |
|
393 | 392 |
return 0; |
394 | 393 |
} |
395 | 394 |
} |
... | ... | |
401 | 400 |
|
402 | 401 |
if ($?) { |
403 | 402 |
$self->{"error"} = "dvips : $!"; |
404 |
$self->cleanup(); |
|
403 |
$self->cleanup('dvips');
|
|
405 | 404 |
return 0; |
406 | 405 |
} |
407 | 406 |
$form->{tmpfile} =~ s/dvi$/ps/; |
... | ... | |
433 | 432 |
system("${latex} --interaction=nonstopmode $form->{tmpfile} " . |
434 | 433 |
"> $form->{tmpfile}.err"); |
435 | 434 |
if ($?) { |
436 |
$ENV{HOME} = $old_home; |
|
437 |
$self->{"error"} = $form->cleanup(); |
|
438 |
$self->cleanup(); |
|
435 |
$ENV{HOME} = $old_home; |
|
436 |
$self->{error} = $form->cleanup($latex); |
|
439 | 437 |
return 0; |
440 | 438 |
} |
441 | 439 |
} |
Auch abrufbar als: Unified diff
Bessere Fehlermeldung ausgeben, wenn eine Anwendung wie pdflatex nicht gefunden wird