You are here

LyX and MiKTeX

15 posts / 0 new
Last post
aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
LyX and MiKTeX

Hello guys and/or girls.
Excuse my bad English, but I am not a native english speaker nor a native german speaker.
I had read a lot of threads about the wish to get a portable MiKTeX and/or LyX.
Well I programmed some useful things, better known as LyXPortable.exe (and MOPortable.bat and MPMPortable.bat, which are also exe-Files, but renamed to bat-Files).
The LyXPortable.exe uses six ini-Files to configure the initialization of Aspell 0.6.5, GraphicsMagick 1.1.0, ImageMagick (you may switch between the last 6.** or 4.*), LyX 1.5.2 and MikTeX 2.6 (if you like you might use 2.7, but you have to do some changes in the ini-File).
There are a few difficulties with LyX and MiKTeX. Both need to be reinitialized when you start them on an other folder structure than before, because both create internal lists of available LaTeX modules. There are two ways to do this:
1) Start MOPortable.bat or MPMPortable.bat, and then start LyXPortable.exe and then let LyX reconfigure itself
2) Open lyxinit.ini, type initialize=1 instead of initialize=0, and then start LyXPortable.exe and then let LyX reconfigure itself
Both way do just the same things.

What does the LyXPortable.exe do?
Well it makes backups of the registries for MikTeX, LyX, ImageMagick and GraphicsMagick. Then it loads its own registries for MikTeX, LyX, ImageMagick and GraphicsMagick, makes a usefull path variable for LyX and then starts LyX.
After turning off LyX, the application loads back to registry the backups of the egistries for MikTeX, LyX, ImageMagick and GraphicsMagick.
All profile settings are kept in the flder strukture, nothing is copied anywhere else. The only access to Windows is the access to the registry. That's all.

I programmed this tool with Autoit, because I did not really understand NSIS.
I put the package to my server, but I did not load the MiKTeX to it, because its more than 600MB big. In my opinion everybody should load MiKTeX on it's own.

I will post the whole scripts a little bit later.

I will load a better description to my server.
Best regards,
Andreas Ehrlich.

PS: The same way I programmed tools for TeamSpeak Portable Multiclient, Skype Portable, DBDesigner4 Portable, Hot Conference Portable, Netbeans Portable and Eclipse Portable.

PPS: Your package of portable apps is the best on the net. Smile I really like it.

There is now a solution for everyone. Just look at A nearly complete LaTeX-Suite and other Tools

sgp
Offline
Last seen: 5 years 2 months ago
Joined: 2006-10-29 01:38
Hello Andreas, any chance

Hello Andreas, any chance that you could also make a stand-alone launcher for imageMagick, since you already have most of the work done? Cf. this thread. Thanks.

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
Hmm... What do you mean?

What do you mean by a stand-alone launcher?
One application for every action?
If yes just take GraphicsMagick. It is under GPL2 and fully compatible to ImageMagick, because it is build on IM5. It is much faster than IM and uses only one or two exe-Files.

I like webdesign, especially with some portable apps

sgp
Offline
Last seen: 5 years 2 months ago
Joined: 2006-10-29 01:38
By stand-alone launche I

By stand-alone launche I mean that I want to run ImageMagick only, from the command prompt, and keep my registry clean afterwards.
I prefer ImageMagick over GraphicsMagick because it's updated more frequently.

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
Actualyly I am breaking them

Actualyly I am breaking them into own portable applications, which will depend on others. MiKTeX is fully portable at present. Next will be ImageMagick and GraphicsMagick, then will follow GhostScript and GhostView. Afterall I will release an other LyXPortable and TeXnicCenterPortable.
So there will be about 6 diffirent portable applications.

I like webdesign, especially with some portable apps

sgp
Offline
Last seen: 5 years 2 months ago
Joined: 2006-10-29 01:38
The break-up is cool,

The break-up is cool, exactly what I was hoping for Smile

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
(No subject)

I like webdesign, especially with some portable apps

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
RE: Hello Andreas, any chance

Just solved and uploaded. Read here

I like webdesign, especially with some portable apps

telenbaas
Offline
Last seen: 16 years 5 months ago
Joined: 2007-10-26 02:56
Thank you!

This was one of the packages I was looking for! I can't wait for you to post it. Thanks in advance.

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
There is nothing to thank for.

There is nothing to thank for. It is not the best solution I programmed.
It's a bundle of programms in one folder.
You might download id from http://download.ehrlichedv.eu/LyXPortable.paf.exe
Just test it. LyX, MiKTeX Basic, ImageMagick, GraphicsMagick and GhostScript are included.
Actualyly I am breaking them into own portable applications, which will depend on others. MiKTeX is fully portable at present. Next will be ImageMagick and GraphicsMagick, then will follow GhostScript and GhostView. Afterall I will release an other LyXPortable and TeXnicCenterPortable.
So there will be about 6 diffirent portable applications.
Source is offcourse included.

[Moderator RM: URLs are automatically made into links. Additionally, you need an equals sign after href]

I like webdesign, especially with some portable apps

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
GhostScript

I'm almost 100% sure GhostScript is portable already. I include it with Scribus Portable (available from the beta forums).

"If you're not part of the solution, you're part of the precipitate."

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
RE: GhostScript

You may use ghostscript with other apps including it to the PATH, but usually it needs some registry settings.

I like webdesign, especially with some portable apps

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Well,

Not as far as I have seen.

"If you're not part of the solution, you're part of the precipitate."

aehrlich
Offline
Last seen: 16 years 4 months ago
Joined: 2007-10-23 05:54
One bigger difficult thing

I do not understand how to get the parameters given to function or to the launcher in NSIS, so programmed it with Autoit.

I like webdesign, especially with some portable apps

Sir_R
Offline
Last seen: 12 years 1 week ago
Joined: 2007-12-13 16:57
Tried to reconfigure but it didn't work

Thanks for an intersting apps, but I can't make it work. I can't find the MOPortable or MPMPortable files or the initilization setting in the kyxinit.ini file, so running the dvi viewer dosn't work.

Regards

Sir_R

Log in or register to post comments