On Sat, Oct 06, 2001 at 07:17:24PM +0200, Dekel Tsur wrote:
> Even symbolic links are unnecessary.
> You can put
> 
> \usepackage{graphics,epsfig}
> \newcommand{\setpath}[1]{
>  \def\input@path{{PATH/#1//}}
>  \graphicspath{{PATH/#1//}}
> }
> 
> Where PATH is the path to the directory of the master file e.g /home/me/thesis
> and then put \setpath{chap1} in latex mode before including chapter1.

I have used this method and till today it worked. Now I have a figure
composed by both a .tex part and a .ps one. These parts are generated by
gnuplot and the .tex part calls the .ps one with:

\special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200}

My "main" lyx file is in . and the chapters are in subdirs ./ch1, ./ch2, 
..., ./chN. The subdirs contains the image files of each chapter, too. 
When I run xdvi, it can't find the .ps part of the figure. I have worked
this out sym-linking each .ps file in the main directory, but is there 
an approach similar to the one you suggested for this problem too? I 
don't like the main dir full of sym-links!
Thanks a lot
-- 
A presto,
    Davide Cavallari
GOOD-NIGHT, everybody ... Now I have to go administer FIRST-AID to my
pet LEISURE SUIT!!

Reply via email to