I'd like to have my LaTeX document be self-contained, that is, if I move to another computer I'd like all of my non-standard packages to work without first installing them. For simple enough packages I can put the .sty
files into the base directory, but this seems like a clunky solution. I can put the packages in a subdirectory but I sometimes than I get dependency errors like
LaTeX Warning: You have requested package style_files/placeins
but the package provides `placeins'.
(/usr/share/texmf-texlive/tex/latex/tools/array.sty)
Is there a right way (tm) to do this, or should I install every package I need on every computer I use?
placeins
using\usepackage{style_files/placeins}
. To avoid this you can add thestyle_files
directory to theTEXINPUTS
environment variable.