summaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-07-15 10:42:18 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-07-17 14:01:47 +0200
commit245f1f31e8d8e2097fc69b7258087830e642ec71 (patch)
tree7f731af51b0a54a651698ff85a95812b30179674 /gnu/packages/tex.scm
parent4701946775bbe0a8c4d1585ba65a969637e39a03 (diff)
downloadgnu-guix-245f1f31e8d8e2097fc69b7258087830e642ec71.tar
gnu-guix-245f1f31e8d8e2097fc69b7258087830e642ec71.tar.gz
gnu: Add texlive-latex-enumitem.
* gnu/packages/tex.scm (texlive-latex-enumitem): New variable.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8b5fe12117..271aaf4d62 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3068,6 +3068,42 @@ splines, and filled circles and ellipses. The package uses @code{tpic}
@code{\\special} commands.")
(license license:public-domain)))
+(define-public texlive-latex-enumitem
+ (package
+ (name "texlive-latex-enumitem")
+ (version (number->string %texlive-revision))
+ (source (origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/tex/latex/enumitem"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0q24b1bkdi9l6bw787bpggww83jh2vj8955aw2m5yccqbx4vgr5r"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let ((target (string-append (assoc-ref %outputs "out")
+ "/share/texmf-dist/tex/latex/enumitem")))
+ (mkdir-p target)
+ (copy-recursively (assoc-ref %build-inputs "source") target)
+ #t))))
+ (home-page "http://www.ctan.org/pkg/enumitem")
+ (synopsis "Customize basic list environments")
+ (description
+ "This package is intended to ease customizing the three basic list
+environments: @code{enumerate}, @code{itemize} and @code{description}. It
+extends their syntax to allow an optional argument where a set of parameters
+in the form @code{key=value} are available, for example:
+@code{\\begin{itemize}[itemsep=1ex,leftmargin=1cm]}.")
+ (license license:lppl1.3+)))
+
(define-public texlive-latex-multirow
(package
(name "texlive-latex-multirow")