summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-31 13:13:16 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-18 15:18:58 +0200
commit93df58947f2e8a4f4810334ba203bf3c631705e9 (patch)
treefbdd5503c84bc33cdda773057109c4dde5e7faea /gnu
parent813f561214d81db6180b1516ee7e1cb6700685d1 (diff)
gnu: texlive-latex-acronym: Replace with texlive-acronym.
* gnu/packages/tex.scm (texlive-latex-acronym): Deprecate package. (texlive-acronym): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm59
1 files changed, 39 insertions, 20 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c1be66675d3..4fefb3c944b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8171,28 +8171,47 @@ dvipng, but it also works when you are using PDFTeX for generating PDF
8171files.") 8171files.")
8172 (license license:gpl3+))) 8172 (license license:gpl3+)))
8173 8173
8174(define-public texlive-latex-acronym 8174(define-public texlive-acronym
8175 (package 8175 (let ((template (simple-texlive-package
8176 (name "texlive-latex-acronym") 8176 "texlive-acronym"
8177 (version (number->string %texlive-revision)) 8177 (list "doc/latex/acronym/"
8178 (source (origin 8178 "source/latex/acronym/"
8179 (method svn-fetch) 8179 "tex/latex/acronym/")
8180 (uri (texlive-ref "latex" "acronym")) 8180 (base32
8181 (file-name (string-append name "-" version "-checkout")) 8181 "0p2sws3qy7wv0v6bsy6c5j36n9s1ps7b1z7dmg1370schrjpqnfh"))))
8182 (sha256 8182 (package
8183 (base32 8183 (inherit template)
8184 "09pd4wynksg1y1ddxnqbhk2dc185zw5nyi794d86n3qx8l014ijy")))) 8184 (outputs '("out" "doc"))
8185 (build-system texlive-build-system) 8185 (arguments
8186 (arguments '(#:tex-directory "latex/acronym")) 8186 (substitute-keyword-arguments (package-arguments template)
8187 (home-page "https://www.ctan.org/pkg/acronym") 8187 ((#:tex-directory _ #t) "latex/acronym")
8188 (synopsis "Expand acronyms at least once") 8188 ((#:build-targets _ '()) '(list "acronym.ins"))
8189 (description 8189 ((#:phases phases)
8190 "This package ensures that all acronyms used in the text are spelled out 8190 #~(modify-phases #$phases
8191in full at least once. It also provides an environment to build a list of 8191 (add-after 'unpack 'chdir
8192 (lambda _ (chdir "source/latex/acronym/")))
8193 (replace 'copy-files
8194 (lambda* (#:key inputs #:allow-other-keys)
8195 (let ((origin (assoc-ref inputs "source"))
8196 (source (string-append #$output
8197 "/share/texmf-dist/source"))
8198 (doc (string-append #$output:doc
8199 "/share/texmf-dist/doc")))
8200 (copy-recursively (string-append origin "/source") source)
8201 (copy-recursively (string-append origin "/doc") doc))))))))
8202 (propagated-inputs
8203 (list texlive-bigfoot texlive-relsize texlive-xstring))
8204 (home-page "https://ctan.org/pkg/acronym")
8205 (synopsis "Expand acronyms at least once")
8206 (description
8207 "This package ensures that all acronyms used in the text are spelled
8208out in full at least once. It also provides an environment to build a list of
8192acronyms used. The package is compatible with PDF bookmarks. The package 8209acronyms used. The package is compatible with PDF bookmarks. The package
8193requires the suffix package, which in turn requires that it runs under 8210requires the @code{suffix} package, which in turn requires that it runs under
8194e-TeX.") 8211e-TeX.")
8195 (license license:lppl1.3+))) 8212 (license license:lppl1.3+))))
8213
8214(define-deprecated-package texlive-latex-acronym texlive-acronym)
8196 8215
8197(define-public texlive-pdftex 8216(define-public texlive-pdftex
8198 (package 8217 (package