My university has provided a thesis project template with tons of files in it. My current working directory looks a bit like this:
package1.sty
package2.sty
package3.sty
classFile.bst
classFile.cls
ttlps.def
logo.ps
... lots of other stuff ...
mythesis.tex <-- these are the only files I work with
chapter01.tex <--
chapter02.tex <--
I was wondering if there is a good way to move all those files "out of the way", without installing them globally (all these packages are only useful for this specific project). Is there a way to make my directory structure look a bit more like this one?
out/ <--- .pdf, .dvi, .aux, .log, etc go here
stuff/ <--- all the custom packages, logos, etc go here.
mythesis.tex
chapter01.tex
chapter02.tex
I managed to separate the output files by passing a --output-directory
flag when I invoke latex but I have no idea if there is a way to move all the other things to a separate folder. The closest I managed so far was to cd
into the stuff
folder when running latex but that forces me reference all my tex files as ../chapterXX
instead of chapterXX
, even in include
directives and things like that.
I'm wondering if there is a way to do what I want without needing to resort to extra tools such as snapshot or arlatex, as suggested in this other question
.tex
chapter files with into a new folder namedChapters
. Then put\input{Chapters/chapter01}
in your master filemythesis.tex
to include them.