Bug#267681: tetex-extra: upgrade breaks listings package
"Kristian G. Kvilekval" <kris@cs.ucsb.edu> schrieb:
> I tried a purge and reinstall and still get the error on the following.
>
> t.tex:
> \documentclass{article}
> \usepackage{listings}
> \begin{document}
> \lstset{language=Java}
> \end{document}
I do not get an error with that file. Perhaps you have some local
configuration file lying around? Please add a line containing
"\listfiles" before "\documentclass...", and send us the output. I get:
t.tex
article.cls 2001/04/21 v1.4e Standard LaTeX document class
size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
listings.sty 2004/02/13 1.2 (Carsten Heinz)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
lstpatch.sty 2004/02/18 1.2b (Carsten Heinz)
lstmisc.sty 2004/02/13 1.2 (Carsten Heinz)
listings.cfg 2004/02/13 1.2 listings configuration
lstlang1.sty 2004/02/13 1.2 listings language file
Maybe it's listings.cfg. Compare the output of the following commands to
what I get:
$ kpsewhich listings.cfg
/usr/share/texmf/tex/latex/config/listings.cfg
$ ls -l /usr/share/texmf/tex/latex/config
lrwxrwxrwx 1 root root 16 2004-08-25 19:49 /usr/share/texmf/tex/latex/config -> /etc/texmf/latex
$ md5sum /etc/texmf/latex/listings.cfg
cda21886f370b2a08959be5b7c522bd0 /etc/texmf/latex/listings.cfg
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: