I created a .sty file that includes many different packages and new commands that I already use. I put mystyle.sty file here:
/usr/local/texlive/2022/texmf-dist/tex/latex/mystyle/mystyle.sty
Unfortunately, when I try to \usepackage{mystyle}, the file is not found. I try to use TexMaker and TexShop and run the package, but to no avail.
What am I missing? Can anyone point me in the right direction?
Nick
texmf-distpath you'd have to rebuild the ls-R files (index files). But you should consider putting your own style files not into the dist-folder, but into your texmf-home (that is usually~/texmf) therein createtex/latex/mystyle/and put your style file in that folder. The advantage is, that you don't have to rebuild the index files. – Skillmon Nov 27 '23 at 19:42/usr/local/texlive. Your last comment suggests you've installed into your home directory. Those directories are not standard ones to find in your home. What doeskpsewhich --var-value TEXMFgive and how did you install TeX? – cfr Nov 28 '23 at 00:51