[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Adding commands to Command menu
From: |
David Scott |
Subject: |
Re: [AUCTeX] Adding commands to Command menu |
Date: |
Tue, 11 Dec 2007 21:24:05 +1300 (NZDT) |
On Tue, 11 Dec 2007, Ralf Angeli wrote:
* David Scott (2007-12-11) writes:
(eval-after-load "tex"
'(add-to-list 'TeX-command-list
'("gsview" "start %s.ps" TeX-run-shell t t) t))
The first of these works but the second simply creates cmd.exe window and
fails to run gsview on the postscript file.
Does it work if you use "start \"\" %s.ps"?
Yes and no.
Firstly noting appears to happen for quite some time. Then gsview does
start with the required file, but there is also a message from cmd.exe
saying that the file "myfile.ps" cannot be found. (While it is just being
displayed---isn't Windows simply a wonderful operating system?)
Why does the addition of \"\" make a difference? I understand it adds in
quotes.
David Scott
_________________________________________________________________
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland 1142, NEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
Email: address@hidden
Graduate Officer, Department of Statistics
Director of Consulting, Department of Statistics