To install:

  + You must have first installed the Qt-4 and poppler libraries,
    including the poppler-qt4 library. These may be available packaged
    for your platform or the sources can be obtained from:

http://qt.nokia.com/downloads/downloads#qt-lib
http://poppler.freedesktop.org/

  + Edit vprerex.pro so INCLUDEPATH and LIBS point to the 
    relevant directories.

  + qmake vprerex.pro (using the Qt-4 qmake)

  + make

  + install the vprerex binary in a suitable directory such as
    $HOME/bin or /usr/local/bin.

If vprerex is applied to a LaTeX file, it calls xterm and the prerex
editor.

On Windows, the Qt-4 and poppler libraries are available for the Cygwin
platform; then vprerex will build and run on the Cygwin X-server.

It is also possible to build and use vprerex on the MinGW platform
in Windows.  Install the Qt-4 libraries for MinGW-4.4 from

http://qt.nokia.com/downloads/windows-cpp

and the poppler libraries from 

http://windows.kde.org/download.php

The headers and libraries for the latter install under

c:\ProgramData\KDE.

so use

INCLUDEPATH  += /c/ProgramData/KDE/include/poppler/qt4
LIBS         += -L/c/ProgramData/KDE/lib -lpoppler-qt4

in vprerex.pro.

The resulting vprerex.exe will run but of course cannot open an xterm
or start prerex; however, prerex can be started separately in a MinGW
shell. To paste from the clipboard, enable QuickEdit mode in the shell:

- Right-click in the title-bar, and then click Properties.

- On the Options tab, click to select the QuickEdit Mode check box.

- Click OK.

Then right-clicking will paste the clipboard text into the prerex
command line.

Or install the following console application and configure it to paste
on right-click:

sourceforge.net/projects/console

