Re: preview \cite
2011-04-03 13:29:53 GMT
* 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(Continue reading)
RSS Feed