Bug#381622: [Pkg-lyx-devel] Re: [PATCH] bug 2741: configure.py is not
run when using batch mode
Per Olofsson
pelle at debian.org
Fri Aug 11 14:07:34 UTC 2006
Jean-Marc Lasgouttes:
> >>>>> "Per" == Per Olofsson <pelle at debian.org> 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
More information about the Pkg-lyx-devel
mailing list