I know a similar question has been asked many times, but I cannot seem to port those answers to my situation.
I have recently installed TeXLive on my Ubuntu 14.04 system. I did this using the install-tl.zip file from texlive.org.
When I try to compile just the basic TeXLive default article, it crashes on every package, giving me (just to pick the first one):
! LaTeX Error: File 'booktabs.sty' not found.
But I know booktabs.sty is on my system:
/usr/local/texlive/2016/texmf-dist/tex/latex/booktabs/booktabs.sty
I have the following lines at the end of my .bashrc:
PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH
export PATH
MANPATH=$MANPATH:/usr/local/texlive/2016/texmf-dist/doc/man
export MANPATH
INFOPATH=$INFOPATH:/usr/local/texlive/2016/texmf-dist/doc/info
export INFOPATH
None of those lines point to the location of any of my .sty files, and I'm not sure what variable should.
Thank you for your help.
MANPATH
. However, that's not the problem here, obviously. Can you compile a document on the command line? If not, what doeswhich pdflatex
give? (Substitute whichever command you use to compile e.g.which xelatex
orwhich context
.) If you can compile at the command line but not in your editor, which editor do you use?/usr/local
, in which case you need to remove it but keep your package manager happy. The answers to the linked question explain the details.which pdflatex
give? Can you compile on the command line?pdflatex test.tex
The problem seems to be with TeXWorks.