[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] latex-preview error: "Parser: End of Preview snippet XX une

From: Silvo
Subject: [Bug-AUCTeX] latex-preview error: "Parser: End of Preview snippet XX unexpected"
Date: Sun, 6 Sep 2009 07:53:21 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)


Sorry if I have posted this in the wrong place -- am I rigth in thinking that
latex-preview questions belong here?

I just installed emacs and AUCTeX, and have been playing around with my existing
LaTeX documents. I managed to write a new test file and use the latex-preview to
preview the maths equation in it successfully, but whenever I try it on some of
my old files, it doesn't work. Originally I suspected that it was because they
were to be compiled as PDFs not DVIs, but I played around with the test file I
made and that obviosuly isn't the issue any more.

I'd love to give you a minimal worked example that reproduces this error, but
honestly I am not sure where the culprit is. I can, however, give you a list of
the packages I am importing -- perhaps one of them is notorious?



As you can see, I'm using a whole bunch of different things, and I suppose that
any one of them could be incompatible with latex-preview. Or maybe they aren't
to blame? I don't know...

The errors that I am getting are all like this:

Parser: End of Preview snippet 45 unexpected
Parser: End of Preview snippet 46 unexpected
Parser: End of Preview snippet 47 unexpected
Preview-PDF2DSC exited abnormally with code 1 at Sun Sep  6 17:34:58
PDF2DSC sentinel: Opening input file: no such file or directory

And earlier on in the error log I get things like this:

! LaTeX Error: \begin{figure} on input line 269 ended by \end{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

and this:

! You can't use `\end' in internal vertical mode.
\enddocument ...cumenthook \deadcycles \z@ \@@end 

And ultimately this:

l.287 \end{document}
! Missing } inserted.
<inserted text> 
l.287 \end{document}

Now, I would have thought that that would imply that there were errors in my
LaTeX code, but I can guarantee that those \end{environment} commands are
definitely there, and it compiles fine with no errors, so I have no idea what is
going on. 

I read somewhere that maybe it is the float package, it could be outdated or
something, but I downloaded what looks to be the latest version of ctan and
there's no change.

I'm sorry for being so vague, but I really don't know what other information
will help you. I could give you the versions I'm using of everything, but
honestly I wouldn't know how to find them out. Are they in Synaptic?

Thanks for your time!

Oh, and by the way, AUCTeX and latex-preview are awesome! (when they work.) I
can see myself switching to emacs very, very quickly.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]