Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing a latex document in TeXworks and I'm having some problems with a couple of packages I'm using in my file, amsrefs.sty and pcatcode.sty. For some reason TeXworks decided it didn't like those guys and stopped compiling.

I tried updating texlive-latex-base and that didn't work. I then entered

apt-file -x search '/pcatcode$' 

to find the directory the package lives in and I got


I tried cding into this directory, but I was told this directory doesn't exist. I did the same thing for amsrefs.sty and got the same result.

share|improve this question
up vote 3 down vote accepted

The files amsrefs.sty and pcatcode.sty are not included in the package texlive-latex-base so that is probably why you are told that the directory does not exist.

The files you are looking for is found in another TeX Live package, namely texlive-bibtex-extra. Install it and your document should compile. To install it do e.g.

sudo apt-get install texlive-bibtex-extra
share|improve this answer
Thanks a bunch. That fixed the problem! – DivDiff Mar 8 '13 at 3:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.