Jean-Marc Lasgouttes: > >>>>> "Per" == Per Olofsson <[EMAIL PROTECTED]> writes: > > Per> Jean-Marc Lasgouttes: > >> What about that: mkdir /tmp/tempuserdir lyx -userdir > >> /tmp/tempuserdir -e latex foo.lyx rm -rf /tmp/tempuserdir > > Per> Yes, I think that's an acceptable workaround. > > Could you confirm that the patch I sent fits your needs?
Works fine, thanks! > Per> When it comes to viewers, it could use xdg-open from > Per> portland.freedesktop.org which uses the user's preferred viewer > Per> (that's what we do in the Debian package). > > How widespread is this code currently? In particular, I am very > interested by the DAPI library. We have os-specific code to use system > viewers on windows and osx, it would be nice to do the same on kde/gnome. xdg-open is a shell script which you can distribute together with LyX, so it doesn't have to be widespread. You use it like: PATH=$PATH:/usr/share/lyx/xdg-utils xdg-open /some/path So if the distribution already has xdg-open, that one will be used instead. -- Pelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]