(Updated on 2007-10-31 with simpler steps. This post assumes you are running Windows, but it’s actually applicable to Unix users if you replace the MiKTeX terms with their TeX Live counterparts. )
The most recent release of MiKTeX is 2.6 and it ships with pdfLaTeX 1.4. Unfortunately, it is incompatible with Ipe‘s latest release 6.0pre28 because this version of Ipe cannot cope with the PDF generated by pdfLaTeX 1.4. As the next version of Ipe is not coming very soon (Otfried says “Certainly not before spring 2008.”), one solution would be to downgrade to MiKTeX 2.5 so that Ipe can use the pdfLaTeX 1.3 that ships with MiKTeX 2.5. But if you have upgraded to pdfLaTeX 1.4 with a reason (like having fun with
microtype), then you can also keep the two installations side-by-side with some storage overhead (~100MB). Assuming that your MiKTeX 2.6 is installed in
C:\texmf-2.6, here is how you might do the MiKTeX 2.5 installation:
- Get a copy of
basic-miktex-2.5.2580.exe. It’s the self-contained “basic installer” for MiKTeX 2.5 and contains some basic packages. This file does not seem to be available at the official MiKTeX download page any more, but Google can help you find a copy, or you can get a local copy hosted on this server.
- Launch the basic installer and install MiKTeX 2.5 to, say,
- After the installation finishes, remove
C:\texmf-2.5from the PATH environment variable. That way, whenever you run
latex, you are still running pdfLaTeX 1.4.
- Run Yap 2.6 once and you will be prompted to associate .dvi files with it. (The 2.5 installer associates .dvi files with Yap 2.5, of course. And frankly, I recommend dviout over Yap.)
- Set up an environment variable called
IPEPDFLATEXto override IPE’s default pdflatex command, eg,
IPEPDFLATEX=C:\texmf-2.5\miktex\bin\pdflatex.exeif that’s where you installed it to. At this moment, you may also be interested to set up something like
IPELATEXDIR=C:\temp\iperunto control where Ipe generates the temp files.
- If you don’t use any special packages in your Ipe files, then you can skip this step. But for completeness, we can let MiKTeX 2.5 know about the extra packages installed in MiKTeX 2.6. From the Start menu, run MiKTeX 2.5->Settings. In the Roots tab, add
C:\texmf-2.6to the bottom of the search list. Click OK and the filename database will be refreshed. (Unix users: this is the
Kpathseastep. See here.)
At this point, the side-by-side installation is complete. Have fun!