Suggestion for Win O/S: MIKTEX_BIN environment variable

STF <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <CANsMTYVsjxgkrdov6oNXt8o0XGJAkBxyEmZdP6x=n1D6XdHk8Q@mail.gmail.com>
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.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.