Re: Steps towards a portable LyX installation on Windows

2008-11-19 Thread Alex
> 2. start lyxlauncher.exe > > Since there is no tex installed, obviously LyX will not have full > functionality, but the GUI should work. However, two things give > errors: > > 1. configure fails because it cannot find python > 2. LyX fails to convert an EPS to a bitmap, so there is no preview

Re: Steps towards a portable LyX installation on Windows

2008-11-18 Thread Joost Verburg
Thomas Steffen wrote: 1. configure fails because it cannot find python 2. LyX fails to convert an EPS to a bitmap, so there is no preview This is because the directories in Resources\lyxrc.dist are wrong. Joost

Re: Steps towards a portable LyX installation on Windows

2008-11-18 Thread Thomas Steffen
On Mon, Nov 17, 2008 at 8:19 PM, Joost Verburg <[EMAIL PROTECTED]> wrote: > The build-in ImageMagick does not rely on registry keys but uses the > environment variables set by LyXLauncher (see the source for details) to get > the location of the Ghostscript directories. Note that not only @PSdelega

Re: Steps towards a portable LyX installation on Windows

2008-11-17 Thread Joost Verburg
Thomas Steffen wrote: The other issue was that convert would not recognise ghostscript. I read that @PSdelegate@ in delegates.xml relies on registry keys, and indeed replacing it with gswin32c.exe solved the issue. This was necessary to get previews working for eps files. The build-in ImageMagi

Re: Steps towards a portable LyX installation on Windows

2008-11-17 Thread Sophie (itsme213)
"Thomas Steffen" <[EMAIL PROTECTED]> wrote in message > That sounds interesting. I know that LyXLauncher does some magic, but > I was not able to figure out what it was. Is there any way to check > what LyXLauncher does to the environment? Try Sandboxie http://www.sandboxie.com/ Hth

Re: Steps towards a portable LyX installation on Windows

2008-11-17 Thread Thomas Steffen
On Mon, Nov 17, 2008 at 4:03 PM, Joost Verburg <[EMAIL PROTECTED]> wrote: > The standard installer already bundles Ghostscript and ImageMagick in a > portable way (no registry keys need to be modified). That sounds interesting. I know that LyXLauncher does some magic, but I was not able to figure

Re: Steps towards a portable LyX installation on Windows

2008-11-17 Thread Joost Verburg
Thomas Steffen wrote: I used texlive 2008 as my tex installation, which already provides some portability. I follow the same basic approach as tl-portable.bat, but add the necessary environment variables for LyX, convert and ghostscript. Apart from one problem between the bundled convert and the

Steps towards a portable LyX installation on Windows

2008-11-17 Thread Thomas Steffen
Hi All I made quite good progress producing a portable LyX installation based on LyX 1.6.0. What would be the best place to post the instructions? I think wiki.lyx.org may be suitable, but it looks a bit disorganised at the moment, and it seems that only developers have access anyway (?). I used