Hi,

there is currently no possibility to disable this feature globally. 
However, you can set

   :let b:Tex_MainFileExpression = expand('%:p')

in the buffers belonging to your tikzfig*.tex files to explicitly set 
the main file for compilation.

Hope this helps,
Gerd


On 03/22/2017 02:12 PM, Christoffer Østfeldt wrote:
> Dear vim-latex comminity
>
> I'm currently working on a somewhat large project in latex, which
> includes several files for individual chapters as well as several
> TikZ-figures. To achieve faster compile-tine when modifying the
> TikZ-figures I use the standalone-class and package, which allows the
> compilation of the figures individually.
>
> When modifying the main text I would like to use the "mainfile"-feature,
> so I don't have to manually switch to main.tex, compile, and go back to
> whatever I was editing. This however does not work if I have my
> TikZ-files in a subfolder, as I will then compile the entire document
> when I just want to compile the figure.
>
> Folder example:
>
> mainfolder/
> |--- main.tex
> |--- main.tex.mainfile
> |--- chapter1.tex
> |--- chapter2.tex
> |--- figs/
>       |--- chapter1figs/
>       |     |--- tikzfig1.tex
>       |     |--- tikzfig2.tex
>       |--- chapter2fig/
>             |--- tikzfig3.tex
>
> Can I disable the backwards search for the mainfile, so only files *in
> the same folder* compiles the mainfile, and I can compile tikzfig1-3
> separately?
>
> Hope you guys can help.
>
> Best regards
> Christoffer
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to