UltraEdit-32 and LaTeX
Last updated: 25.09.2006


This guide shows you how to set up UltraEdit-32 for use with LaTeX. UltraEdit-32 is not a LaTeX graphical user interface nor a dedicated LaTeX editor, but a powerful text editor with features such as syntax highlighting, user tools, templates, regular expression search and replace, auto-completion, function list, code folding and macros. UltraEdit-32 doesn't provide any symbol repository so you have to be comfortable writing most of the LaTeX code on your own (templates aside).

This guide assumes you have already installed MiKTeX and UltraEdit-32. The screenshots are from version 12.10b of UltraEdit-32.

Adding the user tools

First of all start UltraEdit-32 and go to Advanced > Tool Configuration...

The LaTeX DVI tool

Note: The --src option causes YAP to place small gray circles at the beginning of every paragraph.

The LaTeX PDF tool

The LaTeX Forward Search tool

You can rearrange the order of the tools using the 'Up' and 'Down' buttons.
Note: Be sure to press 'OK' when you're finished or else none of your tools will be saved.

Key Mapping

UltraEdit-32 has already provided your new tools with shortcut keys, but you may want to change them to more sensible ones. Here's how:

Adding the tools to the toolbar

You may want to add your new tools to your toolbar. To do this follow these steps:

Syntax highlighting

It's a shame and a sin, but UltraEdit-32 does a poor job syntax highlighting LaTeX source. I have contacted IDM requesting support for proper LaTeX syntax highlighting and they replied that the request had been passed on to the developers. There are two wordfiles for LaTeX available at the UltraEdit-32 site, but none of them are any good. I have made some adjustments to the TeX/LaTeX ATT98580 wordfile that are available here. Append the content of this file to the end of your wordfile.txt found in the UltraEdit-32 program directory. As you can see, the first line starts with /L20, indicating that this is language number 20. If you don't already have 19 languages in your wordfile you may want to change this number. If you go to View > View As (Highlighting File Type) you can get the number of the next available language (Language ##). If you haven't added any languages before the number is most likely 12.

Inverse search

The standard DVI viewer, YAP, makes it possible to do inverse searches. This means that you can right click anywhere in the DVI file and by selecting 'Edit TeX Source' be placed near the corresponding paragraph in UltraEdit. To enable this feature follow these steps:


You should now be able to comfortably prepare your LaTeX documents with the power of UltraEdit-32 ready at hand. Please support IDM Computer Solutions, Inc. by buying their product.


This guide was put together by Thor Chr. Jacobsen.
If you have any remarks, corrections, suggestions or other feedback please feel free to contact me.