On Wed, 31 Mar 1999, Pantelis Andreou wrote:

> hello everyone,
> I finally, with a little help from my friends (that is you people)
> got mtx, pmx and miktex to work together in my operating system which is
> Windows NT.  The problem I have is that process of getting a postscript
> file is quite complex. 
> First mtx will run only if you are in the mtx directory, but at least your
> file can be at any other directory.
> Second pmx will run only if you are in the pmx directory and unless the  
> pmx file is in the pmx directory the pmxb command will not work. Then,
> unless I move the file to where I keep musixflx.exe
> musixflx will not work. Of course I can move musixflx.exe into the pmx
> directory but that is a temporary solution.  
> It would be prefered if one could run the whole process from any
> directory. Does anyone have a solution?

With MiKTeX you can just put pmxa.exe, pmxb.exe, and prepmx.exe into 
<drive where you installed MiKTeX>:\texmf\miktex\bin and it should work. 

Alternatively, if you have a local TeXMF tree, you can put those .exe's 
into <local TexMF tree root>\texmf\miktex\bin, and that's preferable from 
the point of view of keeping addons like PMX and M-Tx separate from the 
MiKTeX distribution, but then you have to make sure to add <local TeXMF 
tree root>\texmf\miktex\bin; to the SET PATH= statement in autoexec.bat.

I keep a batch file, Mtx.bat,

prepmx %1
echo %1 | pmxa
pmxb
call musixtex %1

along with the supplied musixtex.bat in the same directory as those three 
.exe's. Then I can just type mtx <file> to run the whole process.

Jerome S. and Jeannette E. H. Colburn
[EMAIL PROTECTED]

Reply via email to