From: Evan C. <co...@ve...> - 2010-04-25 16:49:23
|
> Seems to be the same rules as TeX Live: > > \include{chapters/chapter1} % OK > \include{../chapters/chapter1} % Forbidden > > i.e. you can include "below" the current directory but not "above". Meaning, the following isn't doable: 1. have a folder called lectures, containing 3 sub-folders, which I'll call master, lecture1, lecture2. 2. in master, I have the skeleton .tex file (which I call master.tex) which currently looks like % include all the basic preamble settings... \input{lecture_settings} % include only specifications \includeonly{../lecture1/lecture1,../lecture2/lecture2} \begin{document} \setcounter{chapter}{0} \mainmatter \include{../lecture1/lecture1} \include{../lecture2/lecture2} \end{document} 3. so, in order for master.tex to 'find the files' it needs to \include, it needs to go back up from \master to \lectures, then down into each of \lecture1 and \lecture2, respectively. Which, apparently, can no longer be done. The only way I seem to be able to get it to work (short of setting the environment variable) is to place master.tex in the \lectures folder, and then use % include all the basic preamble settings... \input{master/lecture_settings} \includeonly{lecture1/lecture1,lecture2/lecture2} \begin{document} \mainmatter \include{lecture1/lecture1} \include{lecture2/lecture2} \end{document} While this is not hugely difficult to do (i.e., moving the main skeleton file (my master.tex file, in this example, into what amounts to the root directory for the document), it is a pain. |