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:  [EMAIL PROTECTED]

Graduate Officer, Department of Statistics
Director of Consulting, Department of Statistics



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to