Matej Cepl "writet" :-) : > 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) > > ? Read dirname(1) for more.
Sounds good, but I am pretty sure I checked this the day before and found that LyX only passes the filename and not the path in $1. -Kevin -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations