Klat is a LaTeX editor for KDE. It supports a user-configurable menu with commands that can be run on the current document (e.g., "latex" or "dvips").