unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem with preview-latex
@ 2006-12-19 18:28 Florian Lindner
  2006-12-21 22:16 ` David Kastrup
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Lindner @ 2006-12-19 18:28 UTC (permalink / raw)


Hello,
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.


Running `Preview-LaTeX' on `Nachrechnung' with ``latex "&prv_Nachrechnung"
Nachrechnung.tex''
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./Nachrechnung.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish,
tur
kish, ukrainian, nohyphenation, loaded.
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
        .
(./Nachrechnung.aux) (/usr/share/texmf/tex/latex/preview/preview.sty
(/usr/share/texmf/tex/latex/preview/prtightpage.def)
(/usr/share/texmf/tex/latex/preview/prauctex.def
No auxiliary output files.


(/usr/share/texmf/tex/latex/preview/prauctex.cfg))
(/usr/share/texmf/tex/latex/preview/prfootnotes.def)
Preview: Fontsize 10.95pt
)
! Preview: Snippet 1 started.
<-><->
      
l.21 \section
             {Aufgabe 1}
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(668846+183041x27410796).
<-><->
      
l.21 \section{Aufgabe 1}
                        
[1]
! Preview: Snippet 2 started.
<-><->
      
l.23 \subsection
                {Teilaufgabe 1.1}
! Preview: Snippet 2 ended.(573300+152880x27410796).
<-><->
      
l.23 \subsection{Teilaufgabe 1.1}
                                 
[2]
! Preview: Snippet 3 started.
<-><->
      
l.24 \[
        M_{t1} = \frac{P_1}{n_1} = 4.44 Nm \]
! Preview: Snippet 3 ended.(1575739+0x27410796).
<-><->
      
l.24 \[ M_{t1} = \frac{P_1}{n_1} = 4.44 Nm \]
                                             
[3]
! Preview: Snippet 4 started.
<-><->
      
l.25 \[
        M_{t3} = M_{t1} \cdot i_{12} \cdot \eta_{12} = 6.27 Nm \]
! Preview: Snippet 4 ended.(629909+0x27410796).
<-><->
      
l.25 ... \cdot i_{12} \cdot \eta_{12} = 6.27 Nm \]
                                                  
[4]
! Preview: Snippet 5 started.
<-><->
      
l.26 \subsection
                {Teilaufgabe 1.2}
! Preview: Snippet 5 ended.(573300+152880x27410796).
<-><->
      
l.26 \subsection{Teilaufgabe 1.2}
                                 
[5]
! Preview: Snippet 6 started.
<-><->
      
l.27 \[
        M_{t6} = M_{t3} \cdot i_{45} \cdot \eta_{45} = 12.90 Nm \]
! Preview: Snippet 6 ended.(629909+0x27410796).
<-><->
      
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
<tex.pro><texps.pro><special.pro>. <cmsy10.pfb><cmr10.pfb><cmr8.pfb>
<cmmi8.pfb><cmmi10.pfb>[1] [2] [3] [4] [5] [6] 

Preview-DviPS finished at Tue Dec 19 19:05:32
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''

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''

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''

Preview-Ghostscript finished at Tue Dec 19 19:05:34
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:34
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:34



this is the document:

\documentclass[a4paper, fleqn]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}


\title{Maschinenelemente Übung 2b}
\author{Florian Lindner}
\date{}

\begin{document}

\maketitle

\begin{abstract}

\end{abstract}

\section{Aufgabe 1}

\subsection{Teilaufgabe 1.1}
\[ M_{t1} = \frac{P_1}{n_1} = 4.44 Nm \]
\[ M_{t3} = M_{t1} \cdot i_{12} \cdot \eta_{12} = 6.27 Nm \]
\subsection{Teilaufgabe 1.2}
\[ M_{t6} = M_{t3} \cdot i_{45} \cdot \eta_{45} = 12.90 Nm \]


\end{document}


If I invoke just latex the document renders fine. What could be wrong?

Thanks,

Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with preview-latex
  2006-12-19 18:28 Problem with preview-latex Florian Lindner
@ 2006-12-21 22:16 ` David Kastrup
  2006-12-24 12:02   ` Florian Lindner
  0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2006-12-21 22:16 UTC (permalink / raw)


Florian Lindner <Florian.Lindner@xgm.de> 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
> <tex.pro><texps.pro><special.pro>. <cmsy10.pfb><cmr10.pfb><cmr8.pfb>
> <cmmi8.pfb><cmmi10.pfb>[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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with preview-latex
  2006-12-21 22:16 ` David Kastrup
@ 2006-12-24 12:02   ` Florian Lindner
  2007-01-13 12:15     ` David Kastrup
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Lindner @ 2006-12-24 12:02 UTC (permalink / raw)


David Kastrup wrote:

> Florian Lindner <Florian.Lindner@xgm.de> 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.

Done.

Thanks,

Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with preview-latex
  2006-12-24 12:02   ` Florian Lindner
@ 2007-01-13 12:15     ` David Kastrup
  0 siblings, 0 replies; 4+ messages in thread
From: David Kastrup @ 2007-01-13 12:15 UTC (permalink / raw)


Florian Lindner <Florian.Lindner@xgm.de> writes:

> David Kastrup wrote:
>
>> Florian Lindner <Florian.Lindner@xgm.de> 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.
>
> Done.

No bug report made it through to the list apparently, so it might be a
good idea to repeat the process.

There have been some problems with automoderation of SPAM recently, I
don't know whether this might be related to your report not arriving.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-13 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 18:28 Problem with preview-latex Florian Lindner
2006-12-21 22:16 ` David Kastrup
2006-12-24 12:02   ` Florian Lindner
2007-01-13 12:15     ` David Kastrup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).