TeX Live and MacTeXPackages not found by TextMate

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
hyh1048576
Posts: 1
Joined: Fri Feb 08, 2013 7:56 am

Packages not found by TextMate

Post by hyh1048576 »

I'm using LaTeX on a Mac. The editor I use is Textmate 2.

When I hit "typeset & view", what I got is something like this
! LaTeX Error: File `xy.sty' not found.
However, if I do "pdflatex abc.tex" from the command line, everything works fine.

From the information provided by PDFLaTeX, I noticed that the only .sty files my editor can find is in
/usr/local/texlive/2012/texmf-dist/tex/latex/base/,

while the other packages are in places like /usr/local/texlive/2012/texmf-dist/tex/generic/

That seems to cause me the problem. I don't want to shuffle .sty files among folders. Can I make things work by change some settings? Like let the compiler know to look for some .sty files in some other folders under /usr/local/texlive/2012/texmf-dist

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Packages not found by TextMate

Post by localghost »

Question also posted to {TeX} SX and answered by the OP. Please read what our administrator thinks about that.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply