Can You Run LaTeX from a USB Drive?

  • Context: LaTeX 
  • Thread starter Thread starter zeta101
  • Start date Start date
  • Tags Tags
    Drive Latex Usb
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 6K views
zeta101
Messages
44
Reaction score
0
Is it possible to "install" LaTeX (for windows) on, say, a USB pocketdrive? Or better yet could I just copy over all the directories from an existing computer and then be able to compile .tex files using the packages I have installed?

I know you can get other pieces of software that run off USB drives (i.e., Firefox) but there needs to be certain modifications made to the binary etc. because each time you plug a USB drive into a different machine the drive letter that gets assigned (on windows, don't know about *nix) could, and most likely will be, a different one...

Does anyone know if this would be a problem for LaTeX? if it is does anyone know if anyone else has made the modifications needed? I've tried various googling but I can't find anything relavent at all! I'd like to be able to do the same on an OSX machine too (obviously I'd need a separate installation with OSX binaries).

Thanks
 
Physics news on Phys.org
zeta101 said:
Is it possible to "install" LaTeX (for windows) on, say, a USB pocketdrive? Or better yet could I just copy over all the directories from an existing computer and then be able to compile .tex files using the packages I have installed?

I know you can get other pieces of software that run off USB drives (i.e., Firefox) but there needs to be certain modifications made to the binary etc. because each time you plug a USB drive into a different machine the drive letter that gets assigned (on windows, don't know about *nix) could, and most likely will be, a different one...

Does anyone know if this would be a problem for LaTeX? if it is does anyone know if anyone else has made the modifications needed? I've tried various googling but I can't find anything relavent at all! I'd like to be able to do the same on an OSX machine too (obviously I'd need a separate installation with OSX binaries).

Thanks

as long as the TeX binaries know where to find all the components (style files, font metrics, etc) you should have no problem running TeX/LaTeX off a USB drive. It's largely a matter of setting a few environment variables correctly so that TeX/LaTeX knows where to find things.