Hallo,
ich möchte mit meinem gimpportable auch eps/ps dateien bearbeiten. Durch meine latexinstallation (auch portabel ) habe ich ein Verzeichniss, in dem Ghostscript und Ghostview incl. Schriften und dem ganzen Kram vorhanden sind. Für meine Latexumgebung funktioniert auch alles hervorragend, aber wie bringe ich gimpportable bei, diese "installation" zu nutzen?
Im Ordner
Z:\Programme\GIMPPortable\App\gimp\lib\gimp\2.0\environ
habe ich die default.env Datei wie folgt angepasst:
GS_PROG=z:\Programme\latexbackend\gs\gs8.61\bin\gswin32c.exe
GS_LIB=z:\Programme\latexbackend\gs\gs8.61\lib;
z:\Programme\latexbackend\gs\fonts;
z:\Programme\latexbackend\gs\gs8.61\Resource
Seitdem kann ich eps-dateien abspeichern, aber nicht wieder laden/öffnen.... Was mache ich hier bloß falsch?
Vielen Dank und liebe Grüße
Thomas
here
Benutzt du GIMP auf nem USB stick oder auf der Festplatte?
Wenn dus von nem Usb Stick benutzt müsstest du die Pfadangaben relativ machen.
Klappt das genze bei einer installierten Version?
Guck mal hier nach.
Mehr kann ich dir leider auch nicht helfen
Da 99% hier englisch reden übersetze ich deinen post mal:
Maybe this helps.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Hi!
Thank you for translating my text, that was my mistake. So the problem is that it works if i have GhostScript and friens installed on my local harddrive. As i am not allowed to install software on my universities computers i have to get the whole thing portable.
I have a *working* solution for my miktex installation. With my (ok, not actually mine, i have copied the most) scripts i can run texmaker and miktex without problems, both find my ghostscript *installation*.
Gimp is harder. Gimp does not seem to accept my script:
cd texmf\
set path=%PATH%;%~dp0texmf\texmf\miktex\bin
start GIMPPortable.exe
the gimpportable.exe is in texmf, together with texmaker. If i run this script for texmaker, texmaker works. If i try exactly the same thing for the gimp it doesn't work. As another solution I tried to set the environment variables at:
App\gimp\lib\gimp\2.0\environ
in the file "default.env" with this piece of code:
GS_PROG=Z:\programme\latexbackend\texmf\gs\gs8.61\bin
GS_LIB=Z:\programme\latexbackend\texmf\gs\gs8.61\lib
This should work because i put the external drive always at drive Z. But as i thought, that didn't work either, so i had another try and set
GS_PROG=%~dp0texmf\texmf\gs\gs8.61\bin
I have to say that i am not really fit with handling those variables, but actually i can't find any mistake. Especially it looks very odd to me, that the schema i used works for miktex and texmaker but not for theGIMP. Please help me!
Thomas
Hi there...
i made a mistake, corrected it, but it still doesn't work properly. I now have changed the settings in default.env to:
GS_PROG=Z:\programme\latexbackend\texmf\gs\gs8.61\bin\gswin32c.exe
now i see a consolewindow for milliseconds which closes very fast, so i changed it to gswin32.exe that i can see some error-output. It now sais: "Can't find initialization file gs_init.gs".
So i guess now the path to Ghostscript is ok for the gimp, but this seems not to be the "whole truth". Perhaps i have to give it some more pathes, e.g. for ghostview?
Thank you
Thomas
HEUREKA!!!
It now works perfectly! It was no other variable to be set, but just a syntax mistake:
The line:
GS_LIB=Z:\programme\latexbackend\texmf\gs\gs8.61\lib\
is ok, BUT one has to add an empty line afterwards (just press two times "Enter" after the "...\lib\" that it works. Otherwise theGimp can't recognize that the "command" is over and stops. Next try for me is to set those variables dynamic, but that is not the problem now that it works.
Thomas
you figured it out yourself.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Hi Thomas,
Could you do a n00b a favor and just repeat what programs are needed to get the import functionality working, please? And maybe you could post all needed lines from the default.env together, too?
That would be awesome.
Regards,
Christian