I´ve recently discovered this site and you might be able to give me some advice working with LaTeX.
Here´s my problem:
My company is working on several user manuals. Each user manual is located in its own directory (repository for svn etc.).
Basically, all user manuals have the same structure: Main
.tex file (providing all
\inputs to document class, \inputs, tables etc.) --> Chapter -->
.tex file (optional, not always used but pretty often.) There is a lot of cross-referencing going on.
So, our structure is basically t1 -->t2-->t3. t standing for
Our goal is t1-->t2-->t3(-->t4).
We are trying to outsource certain phrases. E.g., the preface is basically always the same. This way, we are able to maintain various user manuals using just one
.tex file (basically 1
.tex file). The problem is: We don´t want to create a directory for common phrases and texts. Our file structure depends on individual repositories/ directories. As a consequence, there is no general relative path that we can use:
A chapter in Manual 1 (t1) requires
chapter/xxx.tex (which inputs
aaa.tex) as an input path.
Chapters in Manual 2 and 3 require
The path used to input the
aaa.tex file referenced in
xxx.tex is based on the main
.tex file (t1) from manual 1. This path won´t work for manual 2 and 3. If I adjust the path for manual 2 and 3, the path won´t work with manual 1.
Is there any way to fix or at least "avoid" this. It would be great to reference to an additional level using a path that will work for several manuals.
I hope you don´t consider this question an annoying noob question and I´ve somehow made myself clear, but I´ve been searching for quite a while now and haven´t found an appropriate solution yet. It would be great if you could help me fix this.