You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to Include/Input some .tex files.
If I'm trying to do this the error message that the file wasn't found occurs. When I'm using the absolute path, to the file, it works.
After I wrote for example "\input{" then sublime text suggests me possible files which are deeper in hierarchy. But there still occurs the error.
The paths in \input are relative to the tex root, hence you need to use \input{context/tables/table1.tex} inside tables.tex.
If you want to use relative paths you can use the import package (for which LaTeXTools also provides completions in the newest version).
Then you write in your main.tex
% ...\usepackage{import}
% ...\begin{document}
% ...\subimport{context/}{tables.tex} % attention the / must be present
I'm trying to Include/Input some .tex files.
If I'm trying to do this the error message that the file wasn't found occurs. When I'm using the absolute path, to the file, it works.
After I wrote for example "\input{" then sublime text suggests me possible files which are deeper in hierarchy. But there still occurs the error.
Example:
-- tables.tex
-- tables/
--- table1.tex
--- table2.tex
Now I like to input files table1.tex and table2.tex into tables.tex.
The text was updated successfully, but these errors were encountered: