791f468c14
Typeset programs (programming code) within LaTeX. The source code is read directly by TeX. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Includes support for hyperref. To use, simply \usepackage{listings}, identify the language with \lstset{language=Python}, then employ the \begin{lstlisting} ... \end{lstlisting} environment or the \lstinputlisting{filename.py} command. Short (in-line) listings are also available, using either \lstinline|...| or | ... | (after defining the | token with the \lstMakeShortInline command).
19 lines
653 B
Makefile
19 lines
653 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/08/03 23:45:46 minskim Exp $
|
|
# TeX Live Revision 8662
|
|
|
|
DISTNAME= listings
|
|
PKGNAME= tex-${DISTNAME}-1.4
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
COMMENT= Typeset source code listings using LaTeX
|
|
|
|
CONFLICTS+= teTeX-texmf<=3.0nb20
|
|
DEPENDS+= tex-algorithms-[0-9]*:../../print/tex-algorithms
|
|
DEPENDS+= tex-fancyvrb-[0-9]*:../../print/tex-fancyvrb
|
|
DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
|
|
DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
|
|
DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
|
|
DEPENDS+= tex-ltxmisc-[0-9]*:../../print/tex-ltxmisc
|
|
|
|
.include "../../print/texlive/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|