YAP

From Wikipedia, the free encyclopedia

YAP redirects here. For other uses, see Yap (disambiguation).


YAP (which stands for Yet Another Previewer or Yet Another Prolog) is the acronym used for two document previewing applications and one Prolog compiler.

[edit] PostScript

One YAP is a PostScript previewer. It is used to dynamically edit and re-render PostScript as if one was editing a file, unlike the actual PostScript interpreter itself (such as ghostscript), which deals with PostScript input interactively from a user.

YAP first was bundled with the NeXT demos package of NeXTSTEP, which was also bundled with OPENSTEP. It was not carried into its incarnation as Mac OS X, presumably because of PostScript's lessened importance with the OS X subsystems relying on Display PDF instead.

[edit] DVI

YAP (from MiKTeX) running under Windows XP
YAP (from MiKTeX) running under Windows XP

YAP is also the name of the DVI viewer included on the widely used MiKTeX TeX distribution for the Microsoft Windows platform, however the NeXT application and the MiKTeX application are different. YAP allows zooming in and out by several integer factors, besides having a "magnifying glass" feature for local zooming. It supports PostScript specials (for instance, rendering LaTeX documents with PSTricks). Since YAP supports inverse search (when the dvi file was compiled with source specials), it can be configured to launch a LaTeX editor for the source file placing cursor on the corresponding word under the cursor in YAP. YAP is free software published under the GNU GPL. It was written by Christian Schenk.