Van Ryckeghem Andr� wrote:
> Dear all,
>
> Thanks for responding my question.
> Now i dare to ask if the following commandfile is ok.
>
> I plan to use following .bat file in winedt:
>
> -----
> echo %1 | pmxa
> echo %1 | pmxa >%1_pmxa.log
> if errorlevel 1 goto end
> pmxb >%1_pmxb.log
> if exist %1.mx1 del %1.mx1
> if exist %1.mx2 del %1.mx2
> C:\TEXMF\MIKTEX\BIN\VIRTEX.EXE &musixtex %1.tex %2 %3 %4 %5 %6 %7 %8 %9
> if errorlevel 2 goto end
> C:\musixtex\musixflx %1.tex
> if errorlevel 1 goto end
> C:\TEXMF\MIKTEX\BIN\VIRTEX.EXE &musixtex %1.tex %2 %3 %4 %5 %6 %7 %8 %9
> C:\TEXMF\MIKTEX\BIN\DVIPS.EXE -e0 -t letter %1 %2 %3 %4 %5 %6 %7 %8 %9
> C:\gstools\gsview\gsview32.exe %1.ps
Why don't you just use the exellent MiKTeX previewer yap ? If you keep the
yap window open the current dvi file will be refreshed each time it is
generated anew.
> :end
> ------
>
> this one produces:
>
> BASENAME_pmxa.log
> BASENAME_pmxb.log
> BASENAME.log (from TeX)
>
> thanks
> A. Van Ryckeghem
--
Christian Mondrup, Computer Programmer
Scandiatransplant, Skejby Hospital, University Hospital of Aarhus
Brendstrupgaardsvej, DK 8200 Aarhus N, Denmark
Phone: +45 89 49 53 01, Telefax: +45 89 49 60 07