Hi all,
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?
-Kevin (Thanks in advance!)
# A wrapper script before sending tex to LaTeX compiler
latex-indexbuild --words-list \
#"/home/pfeiffer/Documents/scheyer-book-project/index-list" \ <-absolute
# "index-list" is in same dir as LyX file we are working on
"index-list" \ # <-relative (doesn't work)
--latex-file "$1" --includes || {
echo "latex-indexbuild died" >&2
exit 1
}
# run LaTeX compiler
latex "$1"
# end
--
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations