MiKTeX and proTeXt ⇒ running latex from a USB stick
running latex from a USB stick
I write documents in latex in multiple locations, and I often have to use public computers that don't have these programs installed on them and for which I don't have administrator privileges. Naturally, I got pretty excited when I saw there was a portable version of miktex. I spent about 5 hours yesterday trying to get it to work and I failed. I tried downloading this thing called USBtex, which as far as I can tell just basically bundles miktex, an outdated version of Texmaker and a PDF viewing program and configures them to load off a USB stick -- this would be awesome (although, obviously, updating to the newer version of Texmaker would be preferred) but whenever I try to install new packages on a public computer, I get an "access denied" error message, which I thought was not supposed to happen.
I was wondering if someone out there could just give me straightforward, step-by-step instructions on how to get this thing up and running and for which installing packages could be done from any computer. Much appreciated!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
running latex from a USB stick
If TeX Live is an option for you, there is a how-to available here and some more information here.
Cheers,
Tomek
Re: running latex from a USB stick
Thanks for the quick and thoughtful reply. I had no idea about the Texlive option, and I have tried following the directions on the link you sent without success. I get an error message saying "Texlive installation failed" or something to that effect. Such is life, I suppose.
Re: running latex from a USB stick
I can try to help you work out the problems but I will need more detailed information about what went wrong.
Cheers,
Tomek
Re: running latex from a USB stick
pdflatex -interaction=nonstopmode %.tex
which I don't understand -- it doesn't seem to be associated with portable miktex specifically.
Thanks for all your help thus far, Tomek.
running latex from a USB stick
Code: Select all
path %~d0\path to MiKTeX root directory\miktex\bin;%path%
start "" "%~d0\path to\texmaker.exe" %*
Cheers,
Tomek
Re: running latex from a USB stick
Thanks for your help.
Re: running latex from a USB stick
Cheers,
Tomek
Re: running latex from a USB stick
I'm using MikTex portable 2.8 and have the same problem. Is it possible to give relative paths?
A batch file changing the path variable of the system is no good solution for me, as AFAIK you need special rights to do so, don't you?
Or is there a way to get out of this with a variable in the config files of TexMaker, that resolves the drive letter of the USB stick?