bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] preview-1.287; Installation warns about impossibilities


From: Reinhard Kotucha
Subject: Re: [Bug-AUCTeX] preview-1.287; Installation warns about impossibilities
Date: Sat, 29 Jun 2013 02:12:04 +0200

On 2013-06-26 at 12:18:59 +0200, Tassilo Horn wrote:

 > Yes, the Emacs and Ghostscript requirements are already mentioned
 > in the AUCTeX manual.

BTW, there is rarely a need to install Ghostscript explicitly.  On
Unix systems it's ubiquitous anyway, MacTeX provides Ghostscript, and
both, TeXLive and MikTeX provide a "hidden" (not in PATH) Ghostscript
for Windows.

TeX Live provides a script called "rungs" which invokes the hidden
Ghostscript on Windows or the gs binary in PATH on other platforms.
If you have TeX Live installed, simply run

  rungs -help

This should work on all platforms.  MiKTeX has a similar wrapper.
AFAIK it's called mgs.exe but I don't have Windows and can't check
myself.  But I suppose that under MiKTeX

  mgs -help

prints Ghostscript's help message to screen as well.

As far as AucTeX is concerned, it's probably worthwhile to check first
whether either rungs or mgs exist.  If not, check whether gs is in
PATH.  If everything fails, provide a reasonable error message.

IMO it's best to try to use in the first place what already exists.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:address@hidden
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]