> > Secondly, this does not work since the fen file is not found in the > temporary lyx directory (and I don't like running with tmpdir off). > > Any ideas to fix the problem?
Two solutions: 1. Change lyxskak.sty so that \loadgame tries to find the file in the path defined by \input@path 2. Change the lyx sources, adding a $$lyxfilepath token to the external inset template that expands to the absolute path to the lyx file when when previewing the file in LyX, and expands to an empty string when exporting to latex. If this is too much work, leave the chess template as is and perhaps I will try to do the changes if I find some time.