STF
2013-10-31 16:52:34 UTC
Hi,
I installed MiKTeX in conjunction with EqualX but I have found that
installation in 64-bit Windows O/S is pretty hair-tearing because of MiKTeX
executable folder location.
If I use the 32-bit setup, MiKTeX is installed to directory
C:/Program Files *(x86)*/MiKTeX 2.9/...
If I use the 64-bit setup, "bin" folder has a subfolder called "x64" and
the whole path to executables should be
C:/Program Files/MiKTeX 2.9/miktex/bin/*x64/*...
In either case, EqualX is lost and cannot find the correct path to exe
files. And we have to manually change them in Preferences.
So I would like to give a little suggestion: MiKTeX Setup defines an
environment variable called MIKTEX_BIN pointing to the exact bin path. That
would be
C:\Program Files\MiKTeX 2.9\miktex\bin\ for 32-bit version on
32-bit O/S;
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\ for 32-bit version on
64-bit O/S;
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\ for 64-bit version.
This variable will not only be useful to EqualX (once they are aware of its
existence) but it can be very useful to other programs relying on MiKTeX.
Even MiKTeX itself can be take advantage of it. For example, setup could
rewrite PATH variable in this form:
path=path;%MIKTEX_BIN%
And it's easier to remove it from PATH during uninstallation.
I installed MiKTeX in conjunction with EqualX but I have found that
installation in 64-bit Windows O/S is pretty hair-tearing because of MiKTeX
executable folder location.
If I use the 32-bit setup, MiKTeX is installed to directory
C:/Program Files *(x86)*/MiKTeX 2.9/...
If I use the 64-bit setup, "bin" folder has a subfolder called "x64" and
the whole path to executables should be
C:/Program Files/MiKTeX 2.9/miktex/bin/*x64/*...
In either case, EqualX is lost and cannot find the correct path to exe
files. And we have to manually change them in Preferences.
So I would like to give a little suggestion: MiKTeX Setup defines an
environment variable called MIKTEX_BIN pointing to the exact bin path. That
would be
C:\Program Files\MiKTeX 2.9\miktex\bin\ for 32-bit version on
32-bit O/S;
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\ for 32-bit version on
64-bit O/S;
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\ for 64-bit version.
This variable will not only be useful to EqualX (once they are aware of its
existence) but it can be very useful to other programs relying on MiKTeX.
Even MiKTeX itself can be take advantage of it. For example, setup could
rewrite PATH variable in this form:
path=path;%MIKTEX_BIN%
And it's easier to remove it from PATH during uninstallation.