# MikTex Portable + Texmaker not supporting EPS [duplicate]

Keep in mind, I am a beginner to LaTeX in general and not skilled in command lines.

MiKTeX Portable and TeXmaker are installed on my portable drive. TeXmaker has been properly configured to use MiKTeX - in fact normal documents compile correctly, save for EPS graphics. It is a requirement to have a portable latex setup and to use EPS files for me.

The problem

pdfLaTeX doesn't support EPS files, which in itself isn't so much of a problem. This can easily be solved by using the epstopdf package, which will convert EPS graphics on the fly to PDFs which will be correctly processed.

The real problem

• Cannot install the epstopdf package on MiKTeX Portable.

I have searched and I just do not know how to install the package into MiKTeX Portable. Using the Package Manager, it is not listed. When I searched for how to manually install a package, I found that you needed a .dtx file as well as an .ins file for the package. I can only find a .dtx file for epstopdf here.

In it:

Unpacking:
%    (a) If epstopdf.ins is present:
%           tex epstopdf.ins
%    (b) Without epstopdf.ins:
%           tex epstopdf.dtx

I don't know how to use the last line. It this a command I should write? If so, where and how?

• Do LaTeX -> DVI -> PS -> PDF

I am not sure what this involves but I understand we're going from one format to another, and TeXmaker offers the option to do so (build LaTeX, then Dvi->PS then PS->PDF).

Doing the two first works, but PS->PDF brings up this error:

Process started

'mgs.exe' is not recognized as an internal or external command, operable program or batch file.

Process exited normally

After googling a while, I found no quick fix for the 'missing' mgs.exe. There is indeed the mgs.exe file under miktek/bin/ AND the path to ps2pdf.exe is correct. Someone mentionned a problem with the %GSC% environnement variable, but I don't know what that is nor how can I fix it.

• Using \usepackage{epstopdf} brings an error

As opposed to MiKTeX prompting me to download a missing package, the output of TeXmaker is as follow:

Process started

'epstopdf' is not recognized as an internal or external command, operable program or batch file.

And reading the log file I found this:

[1] [2] [3] [4]
Package epstopdf Info: Source file: <decimaux.eps>
(epstopdf)                    date: 2007-01-10 11:02:34
(epstopdf)                    size: 420543 bytes
(epstopdf)             Output file: <decimaux-eps-converted-to.pdf>
(epstopdf)             Command: <epstopdf --outfile=decimaux-eps-converted-to.p
df decimaux.eps>
(epstopdf)             \includegraphics on input line 256.
runsystem(epstopdf --outfile=decimaux-eps-converted-to.pdf decimaux.eps)...exec
uted (allowed).

Package epstopdf Info: Result file: <decimaux-eps-converted-to.pdf>.

See the pdftex.def package documentation for explanation.

So I'm not even sure if I'm using epstopdf correctly.

Thanks for any help! You may have realized I may not understand fully some aspect of LaTeX, so please if you require more information do not hesistate I reply promptfully. If I need to submit more documents, please specify how to get them (or link instructions).