Re: rel-0-9; Some inline math is shown at the beginning of the line

Sebastian Schubert <[email protected]> Tue, 15 Mar 2005 14:24:49 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
David Kastrup wrote:
>> When I run preview-latex, some of my inline formulas are shown correctly
>> (first two in the example below), some are shown at the beginning of the
>> line while the code is still visible (the others). Actually, I can't say
>> exactly when it happens.
>>
>> \documentclass{article}
>> \begin{document}
>> Eine Punktladung $Q$ befinde sich im Koordinatenursprung, deren
>> Ladungsdichte lautet dann $\rho(\vec{x})=Q\delta(\vec x)$.  Wenn auf
>> beiden Seiten über eine Kugel $K$ mit dem Radius $r$ und
>> \end{document}
> 
> Well, I can.  When international characters are in the same line, in
> particular before the formulas.

Yes, you are right.

> preview-latex is supposed to get along fine with such characters by
> now.  Please post the contents of the run buffer you get with C-c
> C-l.  You might need to post it as an attachment so that prospective
> weird bytes don't get lost in the mail.

The attached file is a copy of what I get with C-c C-l. You'll see that the
ü is not shown correctly when using utf8 (my "normal" encoding). The
corresponding log file created automatically is fine.

Sebastian
log (text/plain, 5.5 KB)
Running `Preview-LaTeX' on `previewtest' with ``latex -ini "&latex" prv_previewtest.ini   "\nonstopmode\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,footnotes]{preview}[2004/11/05]\fi}\input{previewtest.tex}"''
This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (INITEX)
 %&-line parsing enabled.
output format initialized to DVI
entering extended mode
(./prv_previewtest.ini
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for english, dumylang, nohyphenation, ba
sque, czech, slovak, german, ngerman, spanish, catalan, french, italian, dutch,
 polish, portuguese, ukenglish, loaded.
(/opt/Texlive4/texmf-dist/tex/latex/carlisle/mylatex.ltx)
(/opt/Texlive4/texmf-dist/tex/latex/tools/.tex File ignored))
(./previewtest.tex (/opt/Texlive4/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/opt/Texlive4/texmf-dist/tex/latex/base/size10.clo)) )
Beginning to dump on file prv_previewtest.fmt
 (format=prv_previewtest 2005.3.15)
5143 strings of total length 69144
45724 memory locations dumped; current usage is 207&44259
3459 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/5=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
\font\OT1/cmr/m/n/12=cmr12
\font\OT1/cmr/m/n/8=cmr8
\font\OT1/cmr/bx/n/10=cmbx10
\font\OT1/cmr/bx/it/10=cmbxti10
\font\OT1/cmr/m/it/10=cmti10
\font\OT1/cmtt/m/n/10=cmtt10
\font\OT1/cmss/m/n/10=cmss10
5716 words of font info for 21 preloaded fonts
117 hyphenation exceptions
Hyphenation trie of length 60899 has 1804 ops out of 35111
  224 for language 15
  7 for language 14
  194 for language 13
  265 for language 12
  35 for language 11
  88 for language 10
  21 for language 9
  29 for language 8
  235 for language 7
  207 for language 6
  248 for language 5
  63 for language 4
  5 for language 3
  2 for language 1
  181 for language 0
No pages of output.
Transcript written on prv_previewtest.log.

Preview-LaTeX finished at Tue Mar 15 14:02:47
Running `Preview-LaTeX' on `previewtest' with ``latex "&prv_previewtest" previewtest.tex''
This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
 %&-line parsing enabled.
output format initialized to DVI
entering extended mode
(./previewtest.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for english, dumylang, nohyphenation, ba
sque, czech, slovak, german, ngerman, spanish, catalan, french, italian, dutch,
 polish, portuguese, ukenglish, loaded.
CUSTOMISED FORMAT. Preloaded files:
        .
previewtest.tex
 article.cls    2004/02/16 v1.4f Standard LaTeX document class
  size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
        .
(./previewtest.aux) (/opt/Texlive4/texmf-local/tex/latex/preview/preview.sty
(/opt/Texlive4/texmf-local/tex/latex/preview/prtightpage.def)
(/opt/Texlive4/texmf-local/tex/latex/preview/prauctex.def
(/opt/Texlive4/texmf-local/tex/latex/preview/prauctex.cfg))
(/opt/Texlive4/texmf-local/tex/latex/preview/prfootnotes.def)
No auxiliary output files.

Preview: Fontsize 10pt
)
! Preview: Snippet 1 started.
<-><->
      
l.3 Eine Punktladung $
                      Q$ befinde sich im Koordinatenursprung, deren
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(447828+127431x518098).
<-><->
      
l.3 Eine Punktladung $Q$
                         befinde sich im Koordinatenursprung, deren
[1]
! Preview: Snippet 2 started.
<-><->
      
l.4 Ladungsdichte lautet dann $
                               \rho(\vec{x})=Q\delta(\vec x)$ Wenn auf
! Preview: Snippet 2 ended.(491520+163840x3815373).
<-><->
      
l.4 ...lautet dann $\rho(\vec{x})=Q\delta(\vec x)$
                                                   Wenn auf
[2]
! Preview: Snippet 3 started.
<-><->
      
l.5 beiden Seiten über eine Kugel $
                                    K$ mit dem Radius $r$ und
! Preview: Snippet 3 ended.(447828+0x603477).
<-><->
      
l.5 beiden Seiten über eine Kugel $K$
                                       mit dem Radius $r$ und
[3]
! Preview: Snippet 4 started.
<-><->
      
l.5 ...eiten über eine Kugel $K$ mit dem Radius $
                                                  r$ und
! Preview: Snippet 4 ended.(282168+0x313876).
<-><->
      
l.5 ...ten über eine Kugel $K$ mit dem Radius $r$
                                                   und
[4] )
(see the transcript file for additional information)
Output written on previewtest.dvi (4 pages, 1328 bytes).
Transcript written on previewtest.log.

Preview-LaTeX exited as expected with code 1 at Tue Mar 15 14:02:48
Running `Preview-DviPS' with ``dvips -Pwww previewtest.dvi -o previewtest.prv/tmp131684zt/preview.ps''
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.03.15:1402' -> previewtest.prv/tmp131684zt/preview.ps
<tex.pro><texps.pro><special.pro>. <cmr10.pfb><cmmi10.pfb>[1] [2] [3] [4] 

Preview-DviPS finished at Tue Mar 15 14:02:48
Running `Preview-GhostScript' with ``gs -dOutputFile\=\(previewtest.prv/tmp131684zt/pr1-\%d.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r121.808x130.048''

Preview-GhostScript finished at Tue Mar 15 14:02:50