Bug#381622: [Pkg-lyx-devel] Re: [PATCH] bug 2741: configure.py is not run when using batch mode

Per Olofsson pelle at debian.org
Thu Aug 10 09:26:51 UTC 2006


Jean-Marc Lasgouttes:
> What about that:
> mkdir /tmp/tempuserdir
> lyx -userdir /tmp/tempuserdir -e latex foo.lyx
> rm -rf /tmp/tempuserdir

Yes, I think that's an acceptable workaround.

> Per> The best would be if configure.py was removed completely and
> Per> everything was detected at runtime (or defaults used, or
> Per> whatever).
> 
> Yes, this is something I would like to see for at least some of the
> stuff. It is not clear however what the runtime penalty would be.

Much stuff in configure.py only have one alternative, so LyX can
simply check if the program is available. When it comes to viewers, it
could use xdg-open from portland.freedesktop.org which uses the user's
preferred viewer (that's what we do in the Debian package).

I guess the problem is the LaTeX checking stuff. I don't know what to
do about that.

-- 
Pelle




More information about the Pkg-lyx-devel mailing list