[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: i
From: |
mirko.vukovic |
Subject: |
[AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument |
Date: |
Mon, 2 Jul 2007 14:48:12 -0400 |
Hello,
When trying to invoke the preview mode I get the error listed in the subject
line.
I am using emacs 22.1 and AucTeX 11.84. I use the cygwin environment, and
ghostscript for windows.
When I try to generate a preview on a region (equation in this example)
\documentclass{article}
\begin{document}
\begin{equation}
a=b
\end{equation}
\end{document}
I get the following in my error buffer:
Preview-LaTeX exited as expected with code 1 at Mon Jul 02 14:32:18
Running `Preview-DviPS' with ``dvips -Pwww "_region_.dvi" -o
"_region_.prv/tmp43288un"/preview.ps''
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.07.02:1432' -> _region_.prv/tmp43288un/preview.ps
<tex.pro><texps.pro><special.pro>. <cmr10.pfb><cmmi10.pfb>[1]
Preview-DviPS finished at Mon Jul 02 14:32:18
DviPS sentinel: Spawning child process: invalid argument
I think that auctex can see dvips and gswin32.exe: It can generate a ps file
and if I invoke the shell command gswin32, I get a gs window with a prompt.
Here is the AucTeX bug-info:
Emacs : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Package: 11.84
current state:
==============
(setq
AUCTeX-date "2007-01-12"
window-system 'w32
LaTeX-version "2e"
TeX-style-path '("style" "auto" "d:/The-Works/Bibliographies/style"
"d:/The-Works/Bibliographies/auto"
"e:/program-files/emacs-22.1/site-lisp/auctex/style"
"e:/program-files/emacs-22.1/var/auctex")
TeX-auto-save t
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil
(plain-tex-mode ams-tex-mode texinfo-mode) :help
"Run plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with HTML output")
("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt" "texexec --once --texutil %(execopts)%t"
TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
(context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX")
("View" "%V" TeX-run-discard t t :help "Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help
"View the printer queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
"Generate PostScript file")
("Index" "makeindex %s" TeX-run-command nil t :help
"Create index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
:help "Check LaTeX file for correctness")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
t :help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help
"Delete generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help
"Run an arbitrary command")
)
)
Thanks,
Mirko
- [AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument,
mirko.vukovic <=