Friday, January 12, 2007

Issues on MiKTeX 2.5 and TeXnicCenter, LEd

When MikTex2.5 came out, I tried it immediately, but have found something wrong with my favorite latex editor TeXnicCenter, as well with LEd, so uninstalled immediately. In fact, this is not a big problem, which is caused by default installation root change in MikTex2.5. It is 'C:\texmf' in the 2.4 but 'C:\Program Files\MiKTeX 2.5' in the 2.5 version.
Here is the solution from
  1. Click here to open the TeXnicCenter download site in a new window.
  2. Click on "Downloads" on the left side of the page.
  3. Click on the link next to "TeXnicCenter Setup..." in the "End-User Downloads" section (next the top of the page). (It will probably have a green bar next to it.)
  4. Find the 'Location' that's nearest you, then click on the 'Download' link corresponding to that location. A 'File Download' window will probably pop up after a few seconds - choose to Save the file. Pay attention to where you save the file. It doesn't matter where you save it, but you will have to find it later.
  5. Once the download is finished, run the program that you just downloaded. We recommend accepting the default options, except that you may wish to add a desktop shortcut icon when you are asked.
  6. If you elected to have a shortcut on the desktop, just click the icon on the desktop. Otherwise, click Start on the main Windows window, then 'All Programs', then 'TeXnicCenter', then choose the TeXnicCenter option.
  7. When the program starts, a Tips window will open. Click Close. The program will then walk you through the configuration wizard:
    • When it askes you for the "full path of the directory where the executables" are located, type C:\Program Files\MiKTeX 2.5\miktex\bin (Note: if you changed the default location when installing MiKTeX, then you'll need to replace "C:\Program Files\MiKTeX 2.5" with the directory to which you installed MiKTeX.)
    • If it asks you to pick a PostScript viewer, you may just leave everything blank and just click "Next". Similarly if it asks you to pick a DVI viewer, just leave everything blank and click "Next". (It may or may not ask you these things, depending on how your computer is configured.)
In fact, there is second solution. Just simply change the MikTex 2.5 installation root to 'C:\texmf', TeXnicCenter can auto-configure your latex again like in 2.4.

The problem between MikTex2.5 and LEd is the issue of build-in DVI viewer. Download the patch from or just simply wait for the LEd 0.5 version ;).

PS: I upgraded to MikTex 2.5 today, here are some tips:
1: Don't change the install directory if you are using MiKTeX 2.5.2492 DVD ISO image, or error will occur:
An error occurred: source file: C:\work3\miktex-2.5\Libraries\MiKTeX\Core\process.cpp source line: 298 message: The operation failed for some reason. info: D:\Program Files\MiKTeX 2.5\miktex\bin\initexmf.exe

2: If you want to get rid of
"The DVI document cannot be rendered properly because interpretation of postscript special is disabled. Temporarily enable interpretation of postscript special".
which is created by YAP, simply go to View- Options- display -render, change it to Dvips.

No comments:

Post a Comment