From: David K. <da...@gn...> - 2005-03-08 15:12:48
|
Tim Janssen <tim...@ya...> writes: > LS, > > I just installed preview-latex and cannot even get the > demo (circ.tex) to work. All my software is pretty > recent and I have checked settings according to the > things listed in Known Problems. All seems ok but I > get "error in EPS file" and the compilation says: "error in EPS file"? The default configuration is not supposed to generate EPS files at all. What do you mean with "you get"? Where do you get? Is there a reason you don't use the bug reporting command M-x preview-report-bug RET mentioned about everywhere in the documentation which would tell us about your settings? What is the output in the run buffer (when typing C-c C-l)? What is the appearance on the screen? > =================================================== > (/usr/share/texmf/tex/latex/base/inputenc.sty > (/usr/share/texmf/tex/latex/base/latin1.def)) > (preview.sty (prauctex.def > )) (circ.aux) > > ! Package Preview Error: Snippet 1 started. > > See the Preview package documentation for explanation. > Type H <return> for immediate help. > ... > > l.41 \begin{abstract} > > [1] > > ! Package Preview Error: Snippet 1 ended. > > See the Preview package documentation for explanation. > Type H <return> for immediate help. > ... > > l.41 \begin{abstract} > > (/usr/share/texmf/tex/latex/base/t1cmtt.fd) > > ! Package Preview Error: Snippet 2 started. > > ....... > ================================================== > and more of the same. > > Can you tell me what is wrong? I really don't have a > clue. Then you could read the FAQ (which is missing section numbers here. Ugh). Troubleshooting *************** Preview causes all sort of strange error messages ================================================= When running preview-latex and taking a look at either log file or terminal output, lots of messages like ! Preview: Snippet 3 started. <-><-> l.52 \item Sie lassen sich als Funktion $ y = f(x)$ darstellen. ! Preview: Snippet 3 ended.(491520+163840x2494310). <-><-> l.52 \item Sie lassen sich als Funktion $y = f(x)$ darstellen. appear (previous versions generated messages looking even more like errors). Those are not real errors (as will be noted in the log file). Or rather, while they *are* really TeX error messages, they are intentional. This currently is the only reliable way to pass the information from the LaTeX run of preview-latex to its Emacs part about where the previews originated in the source text. Since they are actual errors, you will also get AUCTeX to state Preview-LaTeX exited as expected with code 1 at Wed Sep 4 17:03:30 after the LaTeX run in the run buffer. This merely indicates that errors were present, and errors will always be present when preview-latex is operating. There might be also real errors, so in case of doubt, look for them explicitly in either run buffer or the resulting `.log' file. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum |