auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] preview \cite


From: emacs user
Subject: Re: [AUCTeX] preview \cite
Date: Sat, 19 Mar 2011 20:02:44 +0200

I hope you dont mind me trying to revive this.  my gs version is 9.01.
 the problem occurs with and without pdf mode.  I am attaching the log
file, perhaps this helps?  thanks in any case, cheers, Eli

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
(format=latex 2010.7.21)  19 MAR 2011 19:58
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex,counters}{p
review}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,flo
ats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi} \input _regi
on_.tex
(./_region_.tex  !name(t.tex)

LaTeX Warning: File `test.bib' already exists on the system.
               Not generating it from this source.

(/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/Users/me/.emacs.d/auctex-installed/auctex/latex/preview.sty
Package: preview 2010/02/14 CVS-1.126 (AUCTeX/preview-latex)

(/Users/me/.emacs.d/auctex-installed/auctex/latex/prtightpage.def
\PreviewBorder=\dimen103
)
(/Users/me/.emacs.d/auctex-installed/auctex/latex/prauctex.def
No auxiliary output files.


\hbadness=\count87
\hfuzz=\dimen104
(/Users/me/.emacs.d/auctex-installed/auctex/latex/prauctex.cfg))
(/Users/me/.emacs.d/auctex-installed/auctex/latex/prcounters.def)
address@hidden
address@hidden
address@hidden
)
No file _region_.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 12.
LaTeX Font Info:    ... okay on input line 12.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 12.
LaTeX Font Info:    ... okay on input line 12.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 12.
LaTeX Font Info:    ... okay on input line 12.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 12.
LaTeX Font Info:    ... okay on input line 12.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 12.
LaTeX Font Info:    ... okay on input line 12.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 12.
LaTeX Font Info:    ... okay on input line 12.
Preview: Fontsize 10pt
 !name(t.tex) !offset(-3)
Preview: Counters {page}{1}:
! Preview: Snippet 1 started.
<-><->

l.16 foo\cite
             {jones:99} bar
Not a real error.


LaTeX Warning: Citation `jones:99' on page 1 undefined on input line 16.

Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(491520+163840x719985).
<-><->

l.16 foo\cite{jones:99}
                        bar
Not a real error.

[1]
No file _region_.bbl.

LaTeX Warning: There were undefined references.

 )
Here is how much of TeX's memory you used:
 394 strings out of 493748
 4789 string characters out of 3143569
 52270 words of memory out of 3000000
 3756 multiletter control sequences out of 15000+200000
 3948 words of font info for 15 fonts, out of 3000000 for 9000
 714 hyphenation exceptions out of 8191
 23i,4n,22p,436b,112s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on _region_.dvi (1 page, 1644 bytes).


On Fri, Jan 14, 2011 at 5:41 PM, Ralf Angeli <address@hidden> wrote:
> * emacs user (2011-01-13) writes:
>
>> Hi all, I am trying to have \cite commands be previewed, so I can see
>> the actual reference.  I put in the preamble of the latex file
>>
>> \usepackage[sections,displaymath,textmath,graphics,floats]{preview}
>> \PreviewMacro[!]{\cite}
>>
>> and then I have ... \cite{myauthor}
>>
>> previewing this in gnu emacs (24.0.50), I get a question mark instead
>> of the reference.  c-c c-l shows that latex complains about the
>> reference being undefined.  I tried to run bibtex before doing the
>> preview, doesn't help.   The reference comes out fine in the pdf file
>> produced by latex.
>>
>> any suggestions as to what I may be doing wrong?
>
> FWIW, the following example is running fine with a development Emacs on
> GNU/Linux with TeX Live 2009:
>
> --8<---------------cut here---------------start------------->8---
> \begin{filecontents}{test.bib}
> @Book{jones:99,
>  author       = {Jones, Steve},
>  title        = {My Life So Far},
>  publisher    = {ACME, Inc.},
>  year         = 1999
> }
> \end{filecontents}
> \documentclass{article}
> \usepackage[sections,displaymath,textmath,graphics,floats]{preview}
> \PreviewMacro[!]{\cite}
> \begin{document}
> foo\cite{jones:99} bar
> \bibliographystyle{plain}
> \bibliography{test}
> \end{document}
>
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: t
> %%% TeX-PDF-mode: t
> %%% End:
> --8<---------------cut here---------------end--------------->8---
>
> The only problem I encountered was that the source for the preview is
> not opened when point is moved over it.  This could be a regression in
> Emacs.
>
> With respect to your problem, does it work if you disable TeX PDF mode?
> Or asked another way: What's your Ghostscript version?
>
> --
> Ralf
>



reply via email to

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