RSS

 
WinEdt Macro Library  | LaTEX previous macro  | next macro

ghost

Description

The purpose of this macro is to open either a %n.ps, %n.eps or %n.pdf file in GSview. The priority is the following: if a file %n.eps exists it is preferred, next in hierarchy comes %n.pdf and at last %n.ps.

The background is that I use to edit Gnuplot and pdfLaTEX source files with WinEdt, where GnuPlot is set to create .eps files which I then convert to .pdf files for inclusion into pdfLaTEX. In order to preview both the current .eps file from a GnuPlot macro and the .pdf output from pdfLaTEX, but not the intermediate .pdf converted GnuPlot file with a single menu button, I wrote this macro.

Installation

Put the macro in %b\Macros\LaTeX\, and assign a shortcut to it. Set Requires File to %p\%n.ps?%p\%n.eps?%p\%n.pdf.

Download

LaTeX/ghost.edt

Macro contributed by Uwe Zimmermann <uwezigeocities.com>

WinEdt Macro Library  | LaTEX previous macro  | next macro