You are here

MiKTeX, GS, GSViewer, ImageMagick, GraphicsMagick and LyX

44 posts / 0 new
Last post
aehrlich
Offline
Last seen: 14 years 11 months ago
Joined: 2007-10-23 05:54
MiKTeX, GS, GSViewer, ImageMagick, GraphicsMagick and LyX

Hello boys and girls,
I had finished the splitting of my old LyXPortable-Suite.
Now you are able to download:

All apps are able as standalone apps. The launchers are writen in AutoIt. If someone would help me to migrate them to NSIS, I would like it.

ImageMagickPortable, GraphicsMagickPortable and LyXPortable are able to be run as commandline tools for executing the commads for example:
If you use Imagemagick like this "convert image.jpg image.png"
then you have to type "ImageMagickPortable.exe execute convert image.jpg image.png"
The same fpr GraphicsMagick instead of "gm convert image.jpg image.png" you use "GraphicsMagickPortable.exe execute gm convert image.jpg image.png".
LyX has its own tool which associates lyx-Files with LyXPortable.exe with needed commands.

The next what I am doing is porting TeXNiccenter to Stickware. I would like to get some help to understand NSIS to port everything to NSIS. If there is someone speaking german it would be the best solution.

Documentation will follow.
Best regards,
Ehrlich, Andreas

sgp
Offline
Last seen: 3 years 8 months ago
Joined: 2006-10-29 01:38
Thank you for imageMagick

Thank you for imageMagick portable!

abeckstrom
Offline
Last seen: 12 years 11 months ago
Joined: 2006-09-08 10:45
Command Prompt Portable Integration

How would I edit the path variable for Command Prompt Portable to be able to take full portable advantage of these awesome apps?

aehrlich
Offline
Last seen: 14 years 11 months ago
Joined: 2007-10-23 05:54
Not really understud

I did not really understand you question.
If you install all them into the same folder and start LyXPortable, it asks the other apps for their paths, that it intergrates them on its self.
There will be many changes in the portable applications, because I am going to change the way of acting of the launchers. They are very different from the portable apps, and the applications itself are much more complicated than Open Office or even Firefox. Smile
Perhaps that's the reason, why there is no other portable app especially for students. Smile

I like webdesign, especially with some portable apps

nicoj
Offline
Last seen: 14 years 4 months ago
Joined: 2007-11-09 12:37
Not quite sure how this works

I get the xxPortable.exe, but when I start them all I get is blinking icon in the system tray. I can then "lock" the application or "unlock" it.. On LyxPortable, when I rightclick the icon and click "Start Lyx" I get a runtime error:

Microsoft Visual C++ Runtime Library
Runtime error!
Program: E:\Applications\LyxPortable\App\LyX\15\bin\lyxc.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

After that I get another error:

AutoIt Error
Line -1:
ErrorL Unable to execute the external program.
The system cannot find the path specified.

Any ideas on what to do?

Cheers,
Nico

aehrlich
Offline
Last seen: 14 years 11 months ago
Joined: 2007-10-23 05:54
LyX needs some other apps

LyX needs Ghostscript, Imagemagick, Graphicsmagick and MiKTeX, so they are all in their own portable packages.
The Lock-command means that you lock the application to your system, it makes a backup of the registry and loads it's settings to the registry. Unlock deletes your settings from the registry and loads the backup to registry.
Perhaps you did not install the needed portable packages.

Actually I am working on some other launchers that will be faster and also safer.

I like webdesign, especially with some portable apps

aehrlich
Offline
Last seen: 14 years 11 months ago
Joined: 2007-10-23 05:54
You need ...

You need to "install"

to your PortableApps-folder.
Then it should work fine.

I like webdesign, especially with some portable apps

hemmen
Offline
Last seen: 2 weeks 4 days ago
Joined: 2007-08-12 11:33
lyx errors

I get some errors when I try lyx:
*TeX-INFOS in the menu "Werkzeuge" H:/PortableApps/LyXPortable/App/LyX/15/Resources/./scripts/TeXFiles.py
I know the /./ is wrong in the path but where can I correct this?

*If I call dvi, ps or pdf (all buttons), I got "an error during the execution from python -tt H:/PortableApps/LyXPortable/App/LyX/15 occured".

I have MiKTeXPortable-2.7 "installed" and corrected the path in the lyx-preferences.
----
TeXnicCenter will be highly recommend.
Thank you for your great work

reepicheep
Offline
Last seen: 10 years 3 months ago
Joined: 2008-04-29 11:32
Doesn't work for me

I have the same problem as the originial commenter. But having read this advice first I made sure to install all these components. And to avoid any problems with dependeincies installed them in the order Aspell, GhostScript, GSView, ImageMagick, MikTek and finally LyX (which is the same order that I installed MAc versions). I also get the "... error: -1" message instead on occasions.

The use of lock/unlock/etc is inconistent with other portableapps, which makes for great frustration. Using NSIS as the launcher would be preferable. I'll volunteer to help but can't do that until mid-July when my work load reduces.

Sir_R
Offline
Last seen: 10 years 6 months ago
Joined: 2007-12-13 16:57
Same problem in Texmaker

It sounds like a relative/absolute path problem in LyX. I had the same with Texmaker. I think we both need some help with working around it.

Overspice
Offline
Last seen: 14 years 6 months ago
Joined: 2008-03-19 10:15
-

-

gmsms
Offline
Last seen: 11 years 4 months ago
Joined: 2007-12-18 17:05
LyxPortable

Ist das schon das ganz neue Lyx 1.5.3 - so wie das ganz neue MiKTeX 2.7?

Gruß
Matthias

baeumel
Offline
Last seen: 14 years 8 months ago
Joined: 2008-01-14 09:06
Blinking GSView and Ghostscript

Hi everybody,

I just installed GSView and Ghostscript as PortableApps to my computer on work.

But if I open them they online start up as two blinking Icons.

Is there any Possibility to use Ghostscript or GSView to generate a PDF - Whats wrong with them? - Why are the icons just blinking?

Note: Maybe they doesn`t work because on my computer on work I doesn`t have any rights to write to the Windows-Registry or doing some installation.

Greetings,
Patrick

m2
Offline
Last seen: 11 years 7 months ago
Joined: 2006-12-12 12:00
The launchers are writen in

The launchers are writen in AutoIt. If someone would help me to migrate them to NSIS, I would like it.
Why?

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

lv1972
Offline
Last seen: 14 years 7 months ago
Joined: 2008-02-12 15:52
unable to make lyx work

Hi, I have tried to follow your instructions in order to make lyx work as a portable application. I got the same error in 2 different computers. They have different OS, win2000 and winXP. Any update on your installation instructions? The error is similar to the ones reported in previous comments.
BR\

Aciago
Aciago's picture
Offline
Last seen: 3 months 2 weeks ago
Joined: 2007-01-24 14:23
can you

explain me what is GSViewerPortable and GhostscriptPortable for and how to use it?

I'm trying but no idea... Sad

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

caortiz
Offline
Last seen: 14 years 6 months ago
Joined: 2008-03-23 11:40
creating portable WinEdt

Dear Mr. Ehrlich,

You are my hero. Creating portable LyX was a fine and beautiful decision. I would like to know how you did it. Perhaps you could share with me your AutoIT code? I would like to create a portable WinEdt app. WinEdt is a shareware program, for which I have a license, that is optimized for large projects such as my PhD thesis. I use LyX for small tasks like hw, but I want to use a portable version of WinEdt to write my doctoral thesis.

Quite frankly, you've already done all the hard work, all I have to do is imitate what you did to link winedt to miktek and gsviewer.

Please send me an email to caortiz.phy@gmail.com whenever you can!

Carlos

p.s. I apologize for not speaking german. If it is any consolation, my native tongue is spanish, so we're both in a similar boat here.

laihro
Offline
Last seen: 14 years 6 months ago
Joined: 2008-03-27 01:48
How it seems to work

First of all, thank you for the effort you have taken to create a portable latex environment. Never the less, without documentation our effort is wasted. Here is what I figured from the undocumented code of the miktex application.

All entries from the tray menu can also be activated by calling MiKTeXPortable.exe with a parameter.

lock: activates the portable miktex environment
unlock: deactivates the portable miktex environment
package: opens the package manager - does not work with an already activated env.
options: opens the package manager - does not work with an already activated env.
update: ? updates the application ? - does not work with an already activated env.
solvecrash: ?don't know? - should restore the original registry settings
exit: removes the tray icon without deactivating the portable miktex environment

attention: I somehow managed to mess up my local non portable miktex installation by trying out this portable solution. Most likely I did this by clicking the Solve Crash button. So be aware. You can watch some effects of lock/unlock by observing
HKEY_CURRENT_USER\Software\MiKTeX.org\MiKTeX

Suggestions to the author:

  • activate the environment at the start of the application
  • deactivate the environment at the exit of the application
  • remove lock and unlock options
  • allow package, options and update only if activated
  • revise solvecrash
  • remove the blink effect of the tray icon

I don't know autoit and can't perform these changes on my own.

lyxuser
Offline
Last seen: 14 years 6 months ago
Joined: 2008-04-09 07:52
Virus found in MikeTEX, Aspell, Ghostscript and GSViewer

Hi,

this is a nice piece of software. Thanks a lot for the work. Unfortunately my Trend Micro OfficeScan deletes some Applications from my USB-Stick saying that they contain the WORM_AUTORUN.TI virus.

Why is that? Sad

Hi,

schöne Arbeit mit der portablen Lyx-Version. Vielen Dank dafür. Dummerweise schlägt mein Trend Micro OfficeScan Alarm und löscht die im Titel genannten EXE-Files von meinem USB-Stick, weil sie wohl mit WORM_AUTORUN.TI infiziert seien.

Warum passiert das?

ZachHudock
ZachHudock's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2006-12-06 18:07
It's most likely a false

It's most likely a false positive. I haven't checked these packages out personally, but they've gotten quite a few downloads and you are the first to report an issue. I'd recommend scanning the possibly offending files with Jotti and VirusTotal. Both of those online scanners require you to upload the file to their site, and they then scan it with several different anti-virus engines. Please report back here with the results.

The developer formerly known as ZGitRDun8705

lyxuser
Offline
Last seen: 14 years 6 months ago
Joined: 2008-04-09 07:52
not possible

since the virus engine immediately deletes my files, I cannot access the exe-files neither upload them. Deactivating the scanner is not possible due to corporate resctrictions.

ZachHudock
ZachHudock's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2006-12-06 18:07
OK, i'll try to test them

OK, i'll try to test them then. Is the issue the .paf.exe, or after the installer is run, in one of the contained files?

The developer formerly known as ZGitRDun8705

lyxuser
Offline
Last seen: 14 years 6 months ago
Joined: 2008-04-09 07:52
it's all about the contained files

it's all about the contained files. The scanner raises the warning while installing the package or executing the program, e.g. the GSViewerPortable.exe.

ZachHudock
ZachHudock's picture
Offline
Last seen: 4 years 8 months ago
Developer
Joined: 2006-12-06 18:07
GhostscriptPortable.exe
  • GhostscriptPortable.exe detected as suspicious or infected by 6/32 scanners used by VirusTotal
  • ASpellPortable.exe detected as suspicious or infected by 4/32 scanners
  • GSViewerPortable.exe detected as suspicious or infected by 6/32 scanners
  • LyxPortable.exe detected as suspicious or infected by 2/32 scanners
  • MiKTeXPortable.exe detected as suspicious or infected by 6/32 scanners

It's hard to tell if these are truly safe or not, but from what i've seen looking at the source code for those files, they don't do anything malicious.

The developer formerly known as ZGitRDun8705

shahshamik
Offline
Last seen: 13 years 11 months ago
Joined: 2006-08-25 02:09
Portable Lyx

Thank you so much for this portable app. I have been using Lyx and was wondering if I can use it as a portable app on other people's computers.

This was just what the doctor ordered.

nanomir
Offline
Last seen: 14 years 5 months ago
Joined: 2008-04-23 06:56
Getting a problem - Win XP

After the MiKTeXPortable-2.6.paf.exe (or MiKTeXPortable-2.7.paf.exe) is extracted, I run the program, and choose lock from the icon - the very first time, an initialization starts, which for me fails with

Fontconfig error: Cannot load default config file

in initexmf.exe (the last about "default config file" I'm not sure 100% since the command prompt window holds for only a couple of seconds, and will not let me copy text from it) ...

[I found that \MiKTeXPortable\Other\source\MikTeXPortable.au3 contains the commands:

RunWait($path & "\initexmf.exe --dump --mklinks", $path)
RunWait($path & "\initexmf.exe --mkmaps", $path)
RunWait($path & "\initexmf.exe --update-fndb", $path)

Then if I run initexmf --mkmaps -n I get mkfntmap, and when I finally run mkfntmap, I get:
mkfntmap: The config file could not be found.

I found that mkfntmap reads a "updmap.cfg" file; however, that one is present in \MiKTeXPortable\App\MiKTeX\2.7\miktex\config ?? \bin\tex_prtbl\MiKTeXPortable\MiKTeXPortable.exe lock to start the environment before running mkfntmap

and here I read that Well, that message doesn't say that it can't find the fonts, it says that it can't find the fonts.conf file. ]

The same goes for both Miktex 2.6 or 2.7... Of course, if after this I run LyX, it doesn't start...
Any suggestions?

[Edit] Ok, I think I got this solved.. Biggest problem is to get some debug messages back Smile TO do that, run everything from command line - run the environemnt first - and call lyxc instead of lyx (lyxc is apparently config, and it was left hanging as a process each time I unsccesfully tried to run lyx):

cd \LyXPortable
\LyXPortable> LyXPortable.exe lock
\LyXPortable> App\LyX\15\bin\lyxc.exe

this finally said that it couldn't find Python... So, while still in environment (that is, within LyXPortable.exe lock) command prompt, I tried

\LyXPortable> set PATH=%PATH%;C:\Python24

as I had Python from before, ran lyxc again, started getting "+checking for package", lyxc passed, and lyx started Smile
[end EDIT]

arsnecardi
Offline
Last seen: 14 years 4 months ago
Joined: 2008-05-14 04:51
Texmaker

Hi

does anyone know how to use the MikTex 2.7 Portable together with Texmaker 1.7.1 USB Version?
I tried to lock the Miktex but that didn't help.
Do I have to change the command line options in Texmaker?
Wich other applications do I have to Install?
Do the exe file have to be in the same directory?

thx Ars

Badin
Offline
Last seen: 14 years 1 month ago
Joined: 2008-07-17 09:55
Re-upload

Please, anyone can re-upload these apps, I realy need give a try on it.

Thanks in advance.

ceciliaFX
ceciliaFX's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-04-24 14:18
yes, it would be good to use

yes, it would be good to use a portable Aspell with Notepad++

"No one man can terrorize a whole nation unless we are all his accomplices." - Edward R. Murrow

eme
Offline
Last seen: 13 years 12 months ago
Joined: 2008-08-07 08:41
Please, could somebody

Please, could somebody re-upload these apps!!!!

r2mahara
Offline
Last seen: 12 years 2 months ago
Joined: 2008-10-16 06:25
I too would like to see this

I too would like to see this uploaded. If anyone has it, could they please comment here, or contact me at shellshocked at gmail.com?

r2mahara
Offline
Last seen: 12 years 2 months ago
Joined: 2008-10-16 06:25
Never mind - found it
ollydbg23
Offline
Last seen: 2 months 2 days ago
Joined: 2008-04-12 03:11
wow, it's great. But the

wow, it's great. But the portable Lyx version is still 1.5.2.
Now, the Lyx 1.6 is released.

OliverK
OliverK's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2007-03-27 15:21
there orphans, near as we can

there orphans, near as we can tell, there is no member here actively working on them. So it probably won't be updated.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

reepicheep
Offline
Last seen: 10 years 3 months ago
Joined: 2008-04-29 11:32
Real shame

LyX 1.6 is nifty. I wish someone would do a proper port of it to the portableapps environment. I can't because I don't use Windows on my own machines; I'm a Mac user by choice (*). The only Windows system I use are those on customer sites, which is when I need a portable copy of LyX because none of them have it installed.

(*) I know I could install Windows using Parallels or BootCamp ot VMware or Boochs or .... but I'm not prepared to give it disk space. I use portableapps as a way of using the same apps in customer environment as I use on my Macs and Linux machines.

Real shame that the original port of LyX just doesn't work. Shamer still that no one can take it on.

hibob
Offline
Last seen: 13 years 9 months ago
Joined: 2008-12-25 05:18
The link is broken

Can you please upload the files again?

reepicheep
Offline
Last seen: 10 years 3 months ago
Joined: 2008-04-29 11:32
It's more than the link

For those of us wanting to use LyX with portableApps.com there is more than a link broken link involved. The whole set of stuff just didn't work and didn't fit the PA methodology. User had to do too too much extra work for the executables to run and then usually they wouldn't.

[I use LyX on my Mac and would love to carry it with me when I'm at a Windows-only client site. But sadly this stuff just didn't work. And being a Mac user I can't create a Windows version.]

Drazick
Offline
Last seen: 5 days 13 hours ago
Joined: 2010-09-06 06:36
Updated Package

Hello.
Could anyone update the package?

Thanks.

kfleong
Offline
Last seen: 5 years 7 months ago
Joined: 2008-10-14 07:14
MiKTeX Portable

For MiKTeX, get it from the official site:
MiKTeX Portable

brokenclock
Offline
Last seen: 11 years 3 months ago
Joined: 2011-07-07 05:47
Portable Lyx 2.0

Hi,

I've recently published Portable Lyx 2.0 on http://portable-lyx.impossible-exil.info. You may want to give it a try.

Best regards,

BrokenClock

mwayne
Offline
Last seen: 12 hours 35 min ago
Developer
Joined: 2012-01-03 09:23
MiKTeX

Anyone who want to take this project over?

darksabre76
darksabre76's picture
Offline
Last seen: 1 year 4 months ago
Developer
Joined: 2011-04-19 23:28
I kinda have a spiritual

I kinda have a spiritual successor to it going on with proTeXt Portable. It's a package that includes MiKTeX. Unfortunately, I haven't gotten any useful feedback on it.

mwayne
Offline
Last seen: 12 hours 35 min ago
Developer
Joined: 2012-01-03 09:23
Thanks

I will comment your topic if something goes wrong Wink

Drazick
Offline
Last seen: 5 days 13 hours ago
Joined: 2010-09-06 06:36
Portable Bundle of LyX

Hi,

Could you recreate this package?

Thank You.

Log in or register to post comments