print/tex-listings 1.11b NetBSD
Typeset source code listings using LaTeX
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- lppl-1.3c
- Categories
- Package size
- 151.8 KiB, 581.9 KiB installed
Description
The package enables the user to typeset programs (programming code) within LaTeX; the source code is read directly by TeX--no front-end processor is needed. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Support for hyperref is provided. To use, \usepackage{listings}, identify the language of the object to typeset, using a construct like: \lstset{language=Python}, then use environment lstlisting for inline code. External files may be formatted using \lstinputlisting to process a given file in the form appropriate for the current language. Short (in-line) listings are also available, using either \lstinline|...| or |...| (after defining the | token with the \lstMakeShortInline command).
Install
Binary package:
pkgin install tex-listings
From pkgsrc:
cd /usr/pkgsrc/print/tex-listings && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.11b |
| NetBSD 10.1 aarch64 | 1.11b |
| SmartOS / illumos x86_64 | 1.11b |
| macOS 15 arm64 | 1.11b |