Currently, GeX is the most rapidly developing part of the VTeX system. The online documentation we provide is not likely to be ever complete since new features become frequently.


Why GeX?

Starting with version 6.2, VTeX's PDF backend includes an integrated PostScript processor. This allows easy one-pass handling of GeX replaces the lengthy and bug-prone 3-pass model of

with straightforward one-pass .tex to .pdf conversion.

GeX vs GhostScript

Comparing to .eps inclusion done by GhostScript (or epstopdf) calls, GeX offers much better performance and output quality. Inline PostScript inclusion, on the other hand, is a totally new feature: this is this a feature that only VTeX/GeX supports. The advantage of GeX over GhostScript image embedding is apparent from the following pictures:
GeX
GS

Here we include the same .eps file with both GeX and GhostScript (a new \special{GS+}/\special{GS-} was added to VTeX just for the sake of this comparison). Besides being cleaner, the first picture (GeX output) takes less space and takes less time to compile.

Note: The images in this HTML version of documentation are cropped and magnified; see the PDF documentation for more juicy details.

Note: Three main differences between the pictures are: (1) GhostScript rasterizes fonts into bitmaps, GeX keeps them as Type1; (2) Color rendering done by GeX is identical to what would be produced by Acrobat but different by what is done by GhostScript; (3) some words for unclear reasons dissappeared from the GhostScript output, they are present in both GeX and Distiller outputs. "Running" is set in different fonts: the original picture did not provide the font used for this word; the substitution performed by GeX and GhostScript were different and neither is at fault here.

For reference, this is the VTeX code used to place the pictures:
\hbox to \textwidth{
||\includegraphics[width=5cm]{olympics.eps} \hss
\special{GS+}%
\includegraphics[width=5cm]{olympics.eps}%
\special{GS-}%
||%
}

The .eps inclusion is likely to be the main initial application of GeX. However, in our view it is the inline PostScript which would lead to new and interesting applications.

Why call it GeX?

The GeX name [pronounced g-e-k-s] stands for Graphics EXtensions.

While the current extensions are generally compatible with the PostScript language, GeX is intended to be a TeX-resident extension, not an Acrobat clone. Even in the current implementation there are facilities for communication between TeX and PostScript; these facilities are likely to be further developed. While it is our intention to stay PostScript-compatible to a degree needed for .eps and inline PostScript support we envision further enhancing GeX with features th