I've the following project structure:
./main.tex
./ch1/ch1.tex
./ch1/tikz1/tikz1.tex
The main.tex looks like:
\documentclass{book}
\begin{document}
\subfile{./ch1/ch1.tex}
\end{document}
The ch1.tex looks like:
\documentclass[../main.tex]{subfiles}
\begin{document}
\begin{figure}[H]
\centering
\subfile{./tikz1/tikz1.tex}
\end{figure}
\end{document}
When I run the ch1.tex everything is ok, it finds the tikz1.tex, but when I run the main.tex it can't find the tikz1.tex.
standalonepackage/class? – kiss my armpit Mar 16 '13 at 01:23subfiles– Marco Daniel Jul 07 '13 at 16:51