Herbert Voss wrote:
> "Kevin W. Bowman" wrote:
> >
> > Hello,
> >
> > I am working on a paper with multiple authors. As a result we have two
> > copies of the same lyx file. However, the location of figures are
> > referenced with respect to the location of the lyx file. If the
> > directory structure is
> > user1/dir1/dir2/
> > and the lyx file is in /user1/dir1/dir2/file.lyx but the graphics file
> > is under /user1/dir1/figure.eps then the figure's location is referenced
> > in the menu as
> > ../figure.eps
> >
> > So the pathname is relative to the location of the lyx file. However,
> > because the other author is modifying his copy of the lyx file in
> > another directory, he needs an absolute pathname for the figures.
>
> try in latex preamble
>
> \def\input@path{{yourInputPathForTheFiles/}}
>
> Herbert
>
> --
> [EMAIL PROTECTED]
> http://perce.de/lyx/
Thank you for the suggestion. I tried it. However, the problem appears not
to be with having available paths with which to search. Rather, it appears
that the pathname is explicitely set to "../filename.ps". So, by using the
"../" in the pathname it will not search anywhere else.
However, I think I have a solution, albeit not entirely satifactory. If I
force my coauthors to have the exact same subdirectory structure as myself,
like /PAPER/PLOTS, and then they keep their lyx file in /PAPER, and I make
sure that all of the plots are in PLOTS, then they can have access to the
plots *if* they soft link their PLOTS subdirectory to my PLOTS subdirectory.
That's rather complicated, but it is the only way I know how to solve this
problem.
Thanks,
Kevin
--
---------------------------------------------------------------------|
Kevin W. Bowman, PhD.
Earth and Space Sciences Division
Jet Propulsion Laboratory
4800 Oak Grove Drive, MS 183-301
Pasadena, CA 91109
---------------------------------------------------------------------|
"Love of fame [is] the ruling passion of the noblest minds."
--Alexander Hamilton
---------------------------------------------------------------------|