Mirko Vukovic, Ph.D. Technology Development Center, US Tokyo Electron America, US Holdings, Inc. 255 Fuller Road, Suite 244 Albany, New York 12203 (518) 320-1948 (office) (518) 320-1983 (fax) [EMAIL PROTECTED]
> -----Original Message----- > From: David Kastrup [mailto:[EMAIL PROTECTED] > Sent: Monday, July 02, 2007 4:12 PM > To: TTCA Vukovic, Mirko > Cc: [email protected] > Subject: Re: [AUCTeX] AucTeX preview error: DviPS sentinel: > Spawning child process: invalid argument > > <[EMAIL PROTECTED]> writes: > > > 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: > > Try reporting your problem with > M-x preview-report-bug RET > since the AUCTeX report contains too little information for diagnosis. > > -- > David Kastrup, Kriemhildstr. 15, 44793 Bochum > Something interesting shows up: Preview's bug report tries to invoke /gswin32c.exe and reports that it cannot find it. (Why the forward slash? Maybe something in one of my path specs?) I have to run home now. I'll look into this some more tomorrow and also try to answer Ralf's questions. Emacs : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Package: 11.84 current state: ============== (setq AUC-TeX-version "11.84" LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)")) image-types '(png gif tiff jpeg xpm xbm pbm) preview-image-type 'png preview-image-creators '((dvipng (open preview-gs-open preview-dvipng-process-setup) (place preview-gs-place) (close preview-dvipng-close)) (png (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) (jpeg (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) (pnm (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) (tiff (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) ) preview-dvipng-image-type 'png preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.png\"" preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc" preview-gs-command "/gswin32c.exe" preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4") preview-gs-image-type-alist '((png png "-sDEVICE=png16m") (dvipng png "-sDEVICE=png16m") (jpeg jpeg "-sDEVICE=jpeg") (pnm pbm "-sDEVICE=pnmraw") (tiff tiff "-sDEVICE=tiff12nc")) preview-fast-conversion t preview-prefer-TeX-bb nil preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000" preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps" preview-scale-function 'preview-scale-from-face preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" ("," . preview-required-option-list) "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble "\\fi}\"%' %t") preview-required-option-list '("active" "tightpage" "auctex" (preview-preserve-counters "counters")) preview-preserve-counters nil preview-default-option-list '("displaymath" "floats" "graphics" "textmath" "sections" "footnotes") preview-default-preamble '("\\RequirePackage[" ("," . preview-default-option-list) "]{preview}[2004/11/05]") preview-LaTeX-command-replacements nil preview-dump-replacements '(preview-LaTeX-command-replacements ("\\`\\([^ ]+\\)\\(\\( +-\\([^ \\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini -interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\5") ) preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\(.*\\)\\'" "\\1 -interaction=nonstopmode \"&" preview-format-name "\" \\2") ) preview-auto-cache-preamble 'ask preview-TeX-style-dir nil ) Output from running `/gswin32c.exe -h': _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
