From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Problem with preview-latex Date: Thu, 21 Dec 2006 23:16:49 +0100 Organization: Organization?!? Message-ID: <85r6uszyge.fsf@lola.goethe.zz> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166740838 24906 80.91.229.10 (21 Dec 2006 22:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2006 22:40:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 21 23:40:37 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GxWaV-0000BE-43 for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Dec 2006 23:40:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxWaU-0004wH-LJ for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Dec 2006 17:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:eUPurUz2zBCEdDJ4ubfqByOBp90= Original-Lines: 93 Original-NNTP-Posting-Date: 21 Dec 2006 23:17:09 CET Original-NNTP-Posting-Host: d53f63c7.newsspool4.arcor-online.net Original-X-Trace: DXC=l5IP; 0j\>WG[6=1B@oB@@@4IUKDX`^cBKCCV`H8_`hhQD^9QSCVg3dOFlR6Na List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39820 Archived-At: Florian Lindner writes: > I've tried to use preview latex to use on a newly started document. It works > on other documents but somehow does not like this one: > > I used C-c C-p C-d to preview the entire document but preview-latex only > displays error symbols next to the formulas. Please use M-x preview-report-bug RET for reporting problems. Here is the rub: > Running `Preview-LaTeX' on `Nachrechnung' with ``latex "&prv_Nachrechnung" > Nachrechnung.tex'' prv_Nachrechnung is a predumped format containing the preamble, dumped by using mylatex.ltx. > CUSTOMISED FORMAT. Preloaded files: > . > Nachrechnung.tex > scrartcl.cls 2004/09/16 v2.9t LaTeX2e KOMA document class > fleqn.clo 1998/08/17 v1.1c Standard LaTeX option (flush left > equations) > scrlfile.sty 2004/09/16 v2.9t LaTeX2e KOMA package > size11.clo 2004/02/16 v1.4f Standard LaTeX file (size option) > typearea.sty 2004/09/16 v2.9t LaTeX2e KOMA package > fontenc.sty > t1enc.def 2004/02/22 v1.99f Standard LaTeX file > ngerman.sty 1998/07/08 v2.5e Support for writing german texts (br) > inputenc.sty 2004/02/05 v1.0d Input encoding file > utf8.def 2004/02/09 v1.1b UTF-8 support for inputenc > t1enc.dfu 2004/02/09 v1.1b UTF-8 support for inputenc > ot1enc.dfu 2004/02/09 v1.1b UTF-8 support for inputenc > omsenc.dfu 2004/02/09 v1.1b UTF-8 support for inputenc > amsmath.sty 2000/07/18 v2.13 AMS math features > amstext.sty 2000/06/29 v2.01 > amsgen.sty 1999/11/30 v2.0 > amsbsy.sty 1999/11/29 v1.2d > amsopn.sty 1999/12/14 v2.01 operator names > t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions > t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions Normal. And everything looks normal up to here: > l.27 ...\cdot i_{45} \cdot \eta_{45} = 12.90 Nm \] > > [6] ) > (see the transcript file for additional information) > Output written on Nachrechnung.dvi (6 pages, 2780 bytes). > Transcript written on Nachrechnung.log. > > Preview-LaTeX exited as expected with code 1 at Tue Dec 19 19:05:31 > Running `Preview-DviPS' with ``dvips -Pwww Nachrechnung.dvi -o > Nachrechnung.prv/tm9234lTP/preview.ps'' > This is dvips(k) 5.95b Copyright 2005 Radical Eye Software > (www.radicaleye.com) > ' TeX output 2006.12.19:1905' -> Nachrechnung.prv/tm9234lTP/preview.ps > . > [1] [2] [3] [4] [5] [6] > > Preview-DviPS finished at Tue Dec 19 19:05:32 Fine till here. But now: > Running `Preview-Ghostscript' with ``gs -dOutputFile\=\( > \) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668'' > > Preview-Ghostscript finished at Tue Dec 19 19:05:33 > Running `Preview-Ghostscript' with ``gs -dOutputFile\=\( > \) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 > -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r114.025x112.668'' And so on. Instead of an output file name, here is an empty string. In my comparable test, there is Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(junk.prv/tmp5246ebu/pr1-\%d.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r132.114x132.241'' Preview-Ghostscript finished at Thu Dec 21 23:07:28 So you are doing something that messes up the file name generation of GhostScript within preview-latex. I have no idea what would do that, and doing a proper bug report with the intended commands to the proper channels might help pinpointing this. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum