On Tuesday 17 February 2004 09:46, Helge Hafting wrote: > > I've had one problem that forced me to not use temp dirs: > > Latex code (in ERT or in the preamble or in the preamble/textstyles > of a custom document layout) may use \input, \includegraphics, or > some other command that opens a user-provided file from the working > directory or from some subdirectory thereof. > > The real-life example: I wrote a textbook on algorithms, using a custom > layout. One of the paragraph types was "tip", which included an image of > a little lightbulb in the margin. This was fetched from a subdirectory > "graphichs" under the working directory. There where several other > iamges in that directory too, such as a chapter-page graphic.
[...] Maybe this could be done adding the document directory to the tex searching path. I don't know if this is possible dinamically though... > Helge Hafting -- José Abílio LyX and docbook, a perfect match. :-)