From: Axel T. <Axe...@ph...> - 2003-05-13 09:40:09
|
On Tue, May 13, 2003 at 09:07:50AM +0200, David Kastrup wrote: > Axel Thimm <Axe...@ph...> writes: > > I have some warnings about misplaced sniplets, and somehow the > > preamble isn't cached, but I want to make sure these are not due to > > my (x)emacs versions, so I'll check against newer emacsen first. >=20 > With the default circ.tex? Preamble caching is done with > mylatex.ltx, and \begin{document} must be recognizable for it, and > the standard file ".tex" must be empty and in the TeX search path. O.K., I had misunderstood the way preview-latex works. After exiting emacs I exspected to find some saved state information, now I've read that it is only within a session. After exiting emacs prv_circ.efmt and the directory with preview.ps and prev???.png are erased, and I hadn't examined the filesystem while running emacs. It would be nice to keep these across sessions (BTW mylatex seems to work only for documents which have \begin{document} in the master file, i.e. not \inputed, is that right?). Is that possible? There are a few problems I still observe in circ.tex: o "Einf=EF=BF=BDhrung" is (the only) section which show both the preview and the LaTeX code underneath it (shifted to the right). o Under xemacs the baseline of inline math is sometimes higher than that of= the surrounding text. o There seems to be a parsing problem in the third item of "Einf=EF=BF=BDhrung": + The "y" is displayed left to "\item", + the text shows "... sich $y$ betragsm=EF=BF=BD=EF=BF=BDig <preview of ($\left|\frac...>", i.e. it is displaying the non-preview version of $y$ and has swallowed "h=EF=BF=BDchstens um $1$" into the last preview. entering the last preview reveals the swallowed text and also the preview of $1$ (which is again shifted to the left). o Similar effects exist further below, e.g. the preview for the inline math $x' =3D x+1$ is placed to the left of the paragraph start. Other that the baseline shift everything can be observed with both emacsen (emacs-21.2, xemacs-21.4.8). Hm, bug reports for displayed itmes are difficult, maybe I should make a snapshot and post a URL? > Warnings about "misplaced sniplets"? That would almost point to error > messages getting out of kilter. With circ.tex? _Actually_ misplaced > snippets are often due to a LaTeX that is not 8-bit safe. No, not with circ.tex, but with a large document I am working on. The LaTeX should 8-bit safe, it is from tetex 2.0.2 and I am using it with inputencoding latin1. These are the errors: Parser: Preview snippet 15 out of sequence Parser: Preview snippet 64 out of sequence Parser: Preview snippet 69 out of sequence Parser: Preview snippet 110 out of sequence Parser: Preview snippet 165 out of sequence Parser: Preview snippet 528 out of sequence Parser: Preview snippet 758 out of sequence There are only a few compared to ~900 snippets (7/900 <=3D 1%). I think it may have something to do with footnotes, as some are either footnote symbols or are equations in the vicinity of footnotes. Thanks! --=20 Axe...@ph... |