Import tex-listings-1.4 as print/tex-listings.
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).
This commit is contained in:
parent
cde9056ea1
commit
791f468c14
4 changed files with 42 additions and 0 deletions
10
print/tex-listings/DESCR
Normal file
10
print/tex-listings/DESCR
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
print/tex-listings/Makefile
Normal file
19
print/tex-listings/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# $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"
|
8
print/tex-listings/PLIST
Normal file
8
print/tex-listings/PLIST
Normal file
|
@ -0,0 +1,8 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/03 23:45:46 minskim Exp $
|
||||
share/texmf-dist/tex/latex/listings/listings.cfg
|
||||
share/texmf-dist/tex/latex/listings/listings.sty
|
||||
share/texmf-dist/tex/latex/listings/lstdoc.sty
|
||||
share/texmf-dist/tex/latex/listings/lstlang1.sty
|
||||
share/texmf-dist/tex/latex/listings/lstlang2.sty
|
||||
share/texmf-dist/tex/latex/listings/lstlang3.sty
|
||||
share/texmf-dist/tex/latex/listings/lstmisc.sty
|
5
print/tex-listings/distinfo
Normal file
5
print/tex-listings/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2009/08/03 23:45:46 minskim Exp $
|
||||
|
||||
SHA1 (tex-listings-1.4/listings.tar.lzma) = 3c6afa9a0a502748167d7c96a2ab2739b8221406
|
||||
RMD160 (tex-listings-1.4/listings.tar.lzma) = 01259320f455ce7a048d5610eb299dd023b7f47c
|
||||
Size (tex-listings-1.4/listings.tar.lzma) = 113014 bytes
|
Loading…
Reference in a new issue