I attached three tex files that I am trying to full around. When I 'll'
on the main file, foo.tex. I got warnings as follows:
|| (./foo.aux (./c1.tex.aux)
|15 warning| LaTeX Warning: Reference `fig:StLouisSA' on page 1
undefined on input line 15.
|| (./c1.tex.aux) (./sc2.aux))
|
the figure is defined in c1.tex.
Obviously this is because the files were not appropriately compiled. But
I have no idea how to deal with this issue. Thanks a lot.
On 11/01/2009 11:55 AM, Peter Bjørn Jørgensen wrote:
YueJun Yin wrote:
Hi
I am composing my thesis using vim-latex suite. Every time I use
compile function, it only runs 1 time. I have a main file and several
other files that are \include in the main file. I typed `ll' on the
main file, it only runs 1 time. Could anybody help me on this issue?
Thanks.
If you are using pdflatex for compilation you need to put:
let g:Tex_MultipleCompileFormats='pdf'
in your vimrc.
--
Yue-Jun Yin (Eugene)
PhD Candidate
Civil& Environmental Engineering Dept.
Michigan Tech University
1400 Townsend Dr.
Houghton, MI 49931 USA
phone:(908)998-2573
email:yuej...@mtu.edu
http://www.cee.mtu.edu/~yuejuny/
\section{one}
slkkj
\begin{figure}
\centering
\includegraphics[width=0.9\textwidth]{StLouis_SA.png}
\caption{Spectral acceleration of St Louis}
\label{fig:SLSA}
\end{figure}
\section{Discussion}\label{s3}
In \S~\ref{s2}, we have discussed the spectral
acceleration of St Louis.
\documentclass{article}
\usepackage{graphics}
\usepackage{natbib}
\author{yuejun yin}
\title{this is at es}
\begin{document}
% Section one
\include{c1.tex}
% section two
% in this section a figure in section 1
% is referred to.
\section{Data structure}\label{s2}
seismic Load.
Figure~\ref{fig:SLSA} shows the spectral
acceleration of St Louis.
% section three
% section two is referred to in this section
\include{sc2}
\bibliographystyle{unsrtnat}
% I tried to set g:Tex_BIBINPUTS in vimrc so that
% I don't have to put \bibliography{} in every
% tex file. But it does not work.
\bibliography{/home/yuejun/YinBibDB/YinBib}
\end{document}
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel