A lot of thanks to Herbert Voss
([EMAIL PROTECTED]), the problem is now
solved.
Some hints are given below for possible use:
1. disable using temporary directories. This means that you
have to delete the temp files in the folders (if not, it may
affect the references)
2. never use an absolute path, just use relative path;
3. all latex preambles in sub-files should be copied into
the main lyx file (the sub-files remain unchanged and can be
compiled separately!)
4. no need to use \graphicspath in sub-files (it seems that
all preambles in the sub-files are ignored?). Hence, never
use the same filename for two figures.
5. the same report class has to be used in all sub-files as
well as the main file
6. put only one reference block at the end of the main lyx
file
Enjoy reporting,
Qingchang
-------- Original Message --------
Subject: why \graphicspath not work in Windows/lyx?
Date: Tue, 04 Jun 2002 17:59:07 +0100
From: Qing-Chang Zhong <[EMAIL PROTECTED]>
Organization: Imperial College, London, UK
To: LyX users <[EMAIL PROTECTED]>
Dear All,
Thanks to Jean-Pierre, \graphicspath would be the best
solution for searching graphics when combining several lyx
files into one file. However, \graphicspath does not work
well in Windows/Lyx/MikTex. It works well with exported tex
files. My lyx is 1.1.6.fix1.
I tried:
\graphicspath{/cygdrive/e/work}
\graphicspath{//e/work}
\graphicspath{e:/work}
but none of them works.
Anyone can help?
Thanks a lot,
Qingchang