Can You Run LaTeX from a USB Drive?

  • Context: LaTeX 
  • Thread starter Thread starter zeta101
  • Start date Start date
  • Tags Tags
    Drive Latex Usb
Click For Summary
SUMMARY

Running LaTeX from a USB drive is feasible on both Windows and OSX systems, provided that the TeX binaries are configured to locate all necessary components, such as style files and font metrics. Users must set the appropriate environment variables to ensure that LaTeX can access these components correctly. Copying directories from an existing installation is possible, but modifications may be required to accommodate different drive letters on Windows. No specific tools or modifications for OSX were mentioned, but a separate installation with OSX binaries is necessary.

PREREQUISITES
  • Understanding of LaTeX and its directory structure
  • Familiarity with environment variables in Windows and OSX
  • Basic knowledge of USB drive file systems
  • Experience with installing software on Windows and OSX
NEXT STEPS
  • Research how to set environment variables in Windows and OSX for LaTeX
  • Explore portable LaTeX distributions such as TeX Live or MiKTeX
  • Investigate methods to modify binaries for USB portability
  • Learn about managing LaTeX packages and dependencies on different operating systems
USEFUL FOR

This discussion is beneficial for LaTeX users, software developers, and anyone interested in portable software solutions, particularly those looking to run LaTeX on multiple machines using 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.
 

Similar threads

Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
10K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
6K