Hello,

On Sun, Feb 18, 2001 at 12:52:57PM -0800, Bolin Hsu wrote:

> I have a question about citation. I am writing a dissertation with
> several chapters. Every chapter is stored in it's own file and included
> in a main file. Bibliography is in the main file. So I have
>       main.lyx 
>       chapter1.lyx
>       chapter2.lyx
>       ...

I am doing a similar thing, except that I have put the "chapter1.lyx"
files in separate subdirectories ("main.lyx" is in the top-level dir).
It seemed a good idea at the time: it allows me to manage all the
files that go into the figures in a reasonable way.

In the main lyx file, I can use "Input introduction/chapter.lyx", and
it all just works.  What doesn't work is the figures which, of course,
are in the subdirs.  I'm mostly using eps files for the figures and
using "insert->figure".  While editing "introduction/chapter.lyx",
this works fine and I can see the preview &etc.

It doesn't work when I try to generate the PS file from the main lyx
source.  Latex complains that it can't find the figure file.  I have
resorted to setting TEXINPUTS, which seems sub-optimal since it is a
global setting.  Also, after starting the third chapter, changing
TEXINPUTS is getting tedious ...

I'm sure there is some preamble magic to make this work, but I
couldn't figure it out.  Any pointer or tip would be appreciated!

Thanks,
-S

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants

Reply via email to