From b2bc1daf98251250b21b35e9cda902372535fe6b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:15:53 +0200 Subject: gnu: Add texlive-latex-listings. * gnu/packages/tex.scm (texlive-latex-listings): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 625761009d..5e417bf986 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1925,6 +1925,29 @@ the same place. The package also has a range of techniques for labelling footnotes with symbols rather than numbers.") (license license:lppl1.3+))) +(define-public texlive-latex-listings + (package + (name "texlive-latex-listings") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "listings")) + (sha256 + (base32 + "1nsn9wp3wl12b36c0sqrim33lf33cr5wky0h4ncnw8lvqgm7h8wf")))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/listings" + #:build-targets '("listings.ins"))) + (home-page "http://www.ctan.org/pkg/listings") + (synopsis "Typeset source code listings using LaTeX") + (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. Support for @code{hyperref} is provided.") + (license license:lppl1.3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3