[Top][All Lists]

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

Re: [AUCTeX] preview \cite

From: Ralf Angeli
Subject: Re: [AUCTeX] preview \cite
Date: Sun, 03 Apr 2011 15:29:53 +0200

* emacs user (2011-03-27) writes:

>> Hm, that's odd.  A cause for the problem could be that preview-latex
>> gets confused by some unbalanced parenthesis in the log output.  Looking
>> at the output you sent I could not see anything obvious.  Does it get
>> better if you enable file:line:error messages in your TeX system?
> I used
> %%% Local Variables:
> %%% mode: LaTeX
> %%% LaTeX-command: "latex --file-line-error-style"
> %%% TeX-master: t
> %%% TeX-PDF-mode: t
> %%% End:
> to add this option, and am attaching the log with and without this.
> it didn't seem to help.  best, Eli

In the log you sent I saw that you seem to be running a preview-latex
command other than `preview-document'.  (Something I failed to notice in
the original log you sent.)  Commands like `preview-at-point' or
`preview-buffer' generate previews by running LaTeX on a LaTeX file
which is just a part of the whole file.  However, preview-latex does not
run BibTeX on this file, so the necessary data to resolve the reference
is missing.  That's why you see a question mark in the preview.

You can work around this by running `preview-document' instead one of
the preview commands which only operate on a part of the document (and
make sure that BibTeX was run before) or by running BibTeX manually on
the _region_.tex file mentioned above.  The latter workaround does not
seem very practical, though.

I don't think we'll see preview-latex automatically running stuff like
BibTeX soon because we don't even have this feature yet in AUCTeX.


reply via email to

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