pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29514: teTeX package does not install listings package correctly



>Number:         29514
>Category:       pkg
>Synopsis:       teTeX package does not install listings package correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 23 19:08:00 +0000 2005
>Originator:     Eric Radman
>Release:        2.0
>Organization:
eradman.com
>Environment:
uname -a
NetBSD ia1600-nb0r 2.0 NetBSD 2.0 (IA1600_LAPTOP) #0: Thu Feb 17 10:23:15 EST 
2005  eradman@ia1600-nb0:/usr/src/sys/arch/i386/compile/IA1600_LAPTOP i386

>Description:
"listings" is a LaTeX package that should be installed with teTex. It's located 
at:

/usr/pkg/share/texmf/source/latex/listings/listings.sty

but I can't import it. The same documents work under Gentoo Linux, which 
installs this file here:

/usr/share/texmf/tex/latex/listings/listings.sty



>How-To-Repeat:
Load a .tex file that uses the listings package:

$ cat test.tex
\documentclass[a4paper]{article}
\usefont{T1}{bch}{b}{n}
\usepackage{listings}

\begin{document}
\noindent

\title{TeX document}
\maketitle

\begin{lstlisting}{}
# useradd -m workflow
# passwd workflow
\end{lstlisting}

$ latex test.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./test.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/pkg/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/pkg/share/texmf/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf/tex/latex/psnfss/t1bch.fd)

! LaTeX Error: File `listings.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
>Fix:
I was able to work around this for the time being by copying listings.sty into 
the folder my document is in. I don't know where to put it so that latex will 
find and use it in processing.




Home | Main Index | Thread Index | Old Index