bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Test for mgs leaves puzzling error in *Messages*


From: Tassilo Horn
Subject: Re: [Bug-AUCTeX] Test for mgs leaves puzzling error in *Messages*
Date: Tue, 24 Jun 2014 21:29:38 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Reuben Thomas <address@hidden> writes:

Hi Reuben,

> preview-gs-command contains the following code:
>
>   (or ;; The GS wrapper coming with TeX Live
>       (executable-find "rungs")
>       ;; The MikTeX builtin GS
>       (let ((gs (executable-find "mgs")))
>         ;; Check if mgs is functional for external non-MikTeX apps.
>         ;; See
> http://blog.miktex.org/post/2005/04/07/Starting-mgsexe-at-the-DOS-Prompt.aspx
>         (when (= 0 (shell-command (concat gs " -q -dNODISPLAY -c quit")))
>           gs))
>
> Even if the mgs executable is not found, the test is run, which results in
> a hard-to-diagnose "bash: -q: no such command" error, or similar.

Fixed in git.

Thanks,
Tassilo



reply via email to

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