Am Dienstag, 10. Mai 2005 16:59 schrieb Matej Cepl:
> Kevin Pfeiffer scripsit:
> > I'm using the following shell script as part of the latex->dvi LyX
> > converter and I want to use a relative path to the needed "index-list"
> > file (located in same dir as LyX document). Is there a way that LyX 
can
> > pass its current document path to this script?
> 
> What about
> 
> INDEXLIST=$(dirname $1)

It will not work when using a temp dir, because it will return the temp 
dir. And it is not needed when using no temp dir, because the relative 
filename works as is :-(


Georg

Reply via email to