LaTeX Can You Run LaTeX from a USB Drive?

  • Thread starter Thread starter zeta101
  • Start date Start date
  • Tags Tags
    Drive Latex Usb
AI Thread Summary
Running LaTeX from a USB drive is possible, provided that the TeX binaries are configured to locate all necessary components like style files and font metrics. Users need to set the appropriate environment variables to ensure LaTeX functions correctly on different machines. While modifications may be necessary due to varying drive letters on Windows, these can be managed with proper setup. Similar considerations apply for OSX, requiring a separate installation with compatible binaries. Overall, with the right adjustments, LaTeX can be effectively run from a USB drive.
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.
 
Back
Top