I tries to run my latex as a project, with each section using a different text file. But I seem unable to let import command do what I want it to do.
Here is the MWE: mainfile
\documentclass{article}
\usepackage{import}
\begin{document}
\section{test}
\import{/section}{testtest}
\end{document}
subfile
testtest
directory structure:
errorquote:
! LaTeX Error: File `test.aux' not found.
Type X to quit or to proceed, or enter new name. (Default extension: aux)
Enter file name:
import
it complicates the processing for only cosmetic benefit but if you do use it/section
would refer to a directory at the root of the filesystem which probably is not what you mean here./section
, if your main file is in the folder above "section" folder, and yourtestest
.tex file is in the "section" folder.{section}
I would use the standard latex\input
not\import