[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 012/232] gnu: Add texlive-paralist.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 012/232] gnu: Add texlive-paralist. |
Date: |
Sun, 24 Apr 2022 23:55:38 -0400 |
* gnu/packages/tex.scm (texlive-paralist): New variable.
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 46 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 34e9aa1e06..8c31d131b6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
@@ -5417,6 +5417,51 @@ (define-public texlive-latex-mdwtools
array environments; verbatim handling; and syntax diagrams.")
(license license:gpl3+)))
+(define-public texlive-paralist
+ (package
+ (inherit (simple-texlive-package
+ "texlive-paralist"
+ (list "doc/latex/paralist/README"
+ "source/latex/paralist/paralist.dtx"
+ "source/latex/paralist/paralist.ins")
+ (base32 "1lz8yds2i64wkb89a9amydwkzsdbc09s1kbgn7vgh2qsxqrrgwam")))
+ (outputs '("out" "doc"))
+ (arguments
+ (list
+ #:tex-directory "latex/paralist"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'chdir
+ (lambda _
+ (setenv "ROOT_DIR" (getcwd))
+ (chdir "source/latex/paralist")))
+ (add-after 'build 'build-doc
+ (lambda* (#:key outputs tex-directory #:allow-other-keys)
+ (copy-file "paralist.dtx" "build/paralist.dtx")
+ (chdir "build")
+ (invoke "pdflatex" "paralist.dtx")))
+ (replace 'install
+ (lambda* (#:key outputs tex-directory #:allow-other-keys)
+ (let ((doc (string-append (assoc-ref outputs "doc")
+ "/share/doc/" tex-directory))
+ (out (string-append #$output "/share/texmf-dist/tex/"
+ tex-directory)))
+ (install-file "paralist.pdf" doc)
+ (install-file (car (find-files (getenv "ROOT_DIR") "README"))
+ doc)
+ (install-file "paralist.sty" out)))))))
+ (native-inputs (list texlive-latex-base
+ (texlive-updmap.cfg
+ (list texlive-cm
+ texlive-jknappen))))
+ (home-page "https://ctan.org/pkg/paralist")
+ (synopsis "Enumerate and itemize within paragraphs")
+ (description "The @code{paralist} package provides enumerate and itemize
+environments that can be used within paragraphs to format the items either as
+running text or as separate paragraphs with a preceding number or symbol. It
+also provides compacted versions of enumerate and itemize.")
+ (license license:lppl1.0+)))
+
(define-public texlive-latex-polyglossia
(package
(name "texlive-latex-polyglossia")
--
2.34.0
- [bug#55104] [PATCH 022/232] gnu: Add python-defcon-bootstrap., (continued)
- [bug#55104] [PATCH 022/232] gnu: Add python-defcon-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 021/232] gnu: Add python-opentype-sanitizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 035/232] gnu: Add python-ufonormalizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 032/232] gnu: Add python-fontparts., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 038/232] gnu: Add python-jaraco-context-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 043/232] gnu: Add python-pytest-freezegun., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 075/232] gnu: python-scipy: Update to 1.8.0 and enable parallel build., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 083/232] gnu: Add python-compreffor., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 011/232] gnu: python-nbformat: Update to 5.3.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 013/232] gnu: Add texlive-stix2-otf., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 012/232] gnu: Add texlive-paralist.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 014/232] gnu: Add texlive-metalogo., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 019/232] gnu: Add python-pcpp., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 017/232] gnu: Add texlive-cs., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 028/232] gnu: Add python-booleanoperations., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 029/232] gnu: Add python-fontparts-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 044/232] gnu: Add python-pytest-enabler-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 026/232] gnu: Add python-mutatormath., Maxim Cournoyer, 2022/04/25