On Fri, 5 Oct 2001, Davide Cavallari wrote:

> On Fri, Oct 05, 2001 at 09:48:31AM +0200, Guenter Milde wrote:
> > There is one limitation, however: If you use graphic files in the subparts,
> > all chapter-files should reside in the same directory.
> 
> do you mean the same directory of the main .lyx file?
> so it's not currently possible to do create a dir for each chapter and
> put in the lyx files and the pictures and then include those file
> from the main which is at the superior level of directory, is it?
> I ask this since I have many figures each chapter, so it would be nice
> to separate the figures in different dir. However I have tried but I get
> this latex error:
> 
> file 'rete.pstex_t' not found.
> \begin{center} \input{rete.pstex_t} \end{center}
> *** (cannot \read from terminal in nonstop modes)
> 
> Cheers
> -- 
Hallo Davide,

unfortunatly it is a problem with LyX to put the pstex_t and pstex 
files anywhere else but the same directory as the lyx-file you
include it into. 

If you want to put each chapter with its included files into a
subdirectory, you can write yourself a script that copies all 
files from your subdirectories and the global file in a temp-directory,
exports the global document and then deletes the temp-files.

If you want an example script, let me know. I am at a party
right now, so I can't get it right now, but tomorrow would 
be no problem.

Michael

Reply via email to