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 <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel