Mike Thank you. It is awesome. It remove Makefile from the folder and found \ll works. Got the same problems as what you got.
As I mentioned in the original email, Makefile works well in the shell. On 12/06/2009 10:06 PM, Mike Richman wrote: > Yue-Jun, > > I don't know if this will be very helpful, but I downloaded the > template and added MyDissertation.tex.latexmain. With no further > changes, it compiles with only this warning: "Index.tex|| LaTeX Font > Warning: Size substitutions with differences". > > What Ted said about vim-latex trying to detect the number and order of > runs is correct; however, in the presence of a Makefile, vim-latex > will defer to that for the compilation rules. On my system, with the > Makefile from the template still in place, vim-latex says it only is > doing one run because it is just running make. If I rename or delete > Makefile, vim-latex correctly runs all the compilation steps and > builds the final pdf (with exactly the same warning message at the > end). > > Have you tried simply running "make" from the shell? > > -Mike > > On Sun, Dec 6, 2009 at 9:07 PM, yuejun yin<yjyi...@gmail.com> wrote: > >> Well, >> MyDissertation.tex.latexmain is in the folder. No problem. >> >> :!which latex returns /usr/bin/latex indicating it works well. I tested a >> simple multi-file latex projects. Everything runs perfectly. >> >> \include is used in the main tex file (MyDissertation.tex). >> >> Could you please try out the package and figure out the reason? Here is the >> link: >> >> http://sgowtham.net/blog/files/20070329/MTUPhDTemplate_Linux.zip >> >> This is very confusing problem. Thank you all. >> >> On Sun, Dec 6, 2009 at 6:15 PM, Ted Pavlic<t...@tedpavlic.com> wrote: >> >>> Yue-Jun -- >>> >>> [ on a slightly unrelated note, make sure your latexmain file is named >>> MyDissertation.latexmain ] >>> >>> I suspect that LaTeX is not being run at all because it is not >>> located in a place where vim-latex expects it. Inside vim, try typing: >>> >>> :!which latex >>> >>> If latex is found in your PATH, then you should see the full path to your >>> latex executable. Otherwise, you'll see something like a blank line and then >>> "shell returned 1". If that occurs, verify that you have LaTeX installed on >>> your system. It is not packaged with vim-latex. It appears like you are >>> running on a Linux system; you should be able to install LaTeX with the >>> package manager that corresponds to your system. >>> >>> Regarding those other files, your MyDissertation.tex should have >>> \input or \include lines that pull in your other tex files. When latex runs >>> on MyDissertation.tex, LaTeX will automatically pull those files in as >>> needed. LaTeX doesn't need to run on each file; it only runs on the main >>> file. >>> >>> vim-latex will try to detect the circumstances when LaTeX needs to >>> run more than once. For example, if you have a table of contents in your >>> dissertation LaTeX won't be able to populate it on a single run. Instead, it >>> will record which sections are on which pages during the first run. During a >>> second run, those pages will be placed on the table of contents. If the >>> table of contents is very long, it will change those numbers, and so LaTeX >>> will run again to update the table of contents with the final page numbers. >>> Again, vim-latex will try to detect when to re-run LaTeX for this case. >>> Notice that it is not re-running LaTeX to handle the additional files. It's >>> re-running LaTeX because latex is designed to be a one-pass parsing engine. >>> >>> Good luck! -- >>> Ted >>> >>> On 12/6/09 6:30 PM, YueJun Yin wrote: >>> >>>> Hi all >>>> I download a thesis template that contains more than one tex files. The >>>> included Make file works well. I added a latexmain file to the folder >>>> and tried to run \ll on the MyDissertation.tex in vim latex. It just >>>> says run 1 time. No dvi or log file was created. Could you please walk >>>> me through this? Thank you very much. >>>> >>>> >>> -- >>> Ted Pavlic<t...@tedpavlic.com> >>> >>> Please visit my 2009 d'Feet ALS walk page: >>> http://web.alsa.org/goto/tedp >>> My family appreciates your support in the fight to defeat ALS. >>> >> >> ------------------------------------------------------------------------------ >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> a free event focused on virtualization and cloud computing. >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> http://p.sf.net/sfu/redhat-sfdev2dev >> _______________________________________________ >> Vim-latex-devel mailing list >> Vim-latex-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel >> >> >> -- Yue-Jun Yin (Eugene) PhD Candidate Civil& Environmental Engineering Dept. Michigan Tech University 1400 Townsend Dr. Houghton, MI 49931 USA http://www.cee.mtu.edu/~yuejuny/ ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel