> main.tex
> chap1/
>     chap1.tex

First, I assume you are familiar with the TeX FAQ about importing bits 
of document from subdirectories(?). There are complications that might 
make you think twice about that sort of organization (but there are 
packages that make it easier as well):

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=docotherdir

> When editing chap1.tex, \ll gives the following.
>
> || I can't find file `main.tex'. main.tex
> || Emergency stop.

This doesn't make much sense to me. Before TeX-LaTeX starts the build, 
it changes to the directory containing the latexmain file. The exception 
to this is when you set the b:fragmentFile parameter, but then it 
ignores the latexmain entirely. So it doesn't make sense that your build 
is finding the latexmain and yet not changing to the right directory.

According to the TeX-LaTeX compiler.vim source, there used to be 
problems on Linux machines with changing to directories with spaces in 
their names. Do any of the directories in the /ABSOULTE/ path have 
spaces? (e.g., are your files stored within a "My Documents" folder?) It 
is possible that your vim is choking on the space and not changing 
directory properly.

When I create a sample main.tex and ch1/ch1.tex, it works fine for me.

Can you post a minimal example that has this problem? (e.g., a 
"main.tex" and a "chap1.tex" and information about the directory 
structure) Perhaps there is something else interesting going on.

--Ted

-- 
Ted Pavlic <t...@tedpavlic.com>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to