mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-19 09:22:05 -05:00
gnu: texlive-latex-bigfoot: Replace with texlive-bigfoot.
* gnu/packages/tex.scm (texlive-bigfoot): New variable. (texlive-latex-bigfoot): Deprecate package. (texlive-pstool): Use new variable.
This commit is contained in:
parent
dfee2c50f6
commit
813f561214
1 changed files with 48 additions and 34 deletions
|
@ -4865,40 +4865,54 @@ (define-public texlive-latex-amsrefs
|
||||||
conjunction with BibTeX or as a replacement for BibTeX.")
|
conjunction with BibTeX or as a replacement for BibTeX.")
|
||||||
(license license:lppl1.3+)))
|
(license license:lppl1.3+)))
|
||||||
|
|
||||||
(define-public texlive-latex-bigfoot
|
(define-public texlive-bigfoot
|
||||||
(package
|
(let ((template (simple-texlive-package
|
||||||
(name "texlive-latex-bigfoot")
|
"texlive-bigfoot"
|
||||||
(version (number->string %texlive-revision))
|
(list "doc/latex/bigfoot/"
|
||||||
(source (origin
|
"source/latex/bigfoot/"
|
||||||
(method svn-fetch)
|
"tex/latex/bigfoot/")
|
||||||
(uri (texlive-ref "latex" "bigfoot"))
|
(base32
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
"140b4bbjcgajd1flznmi3ga6lx5pna2nxybr2dqm9515lny8gwf0"))))
|
||||||
(sha256
|
(package
|
||||||
(base32
|
(inherit template)
|
||||||
"092g8alnsdwlgl1isdnqrr32l161994295kadr1n05d81xgj5wnv"))))
|
(outputs '("out" "doc"))
|
||||||
(build-system texlive-build-system)
|
(arguments
|
||||||
(arguments
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
'(#:tex-directory "latex/bigfoot"
|
((#:tex-directory _ #t) "latex/bigfoot")
|
||||||
#:phases
|
((#:build-targets _ '()) '(list "bigfoot.ins"))
|
||||||
(modify-phases %standard-phases
|
((#:phases phases)
|
||||||
(add-after 'unpack 'remove-generated-file
|
#~(modify-phases #$phases
|
||||||
(lambda _
|
(add-after 'unpack 'chdir
|
||||||
(for-each delete-file (find-files "." "\\.drv$"))
|
(lambda _ (chdir "source/latex/bigfoot/")))
|
||||||
#t)))))
|
(add-after 'chdir 'delete-drv-files
|
||||||
(home-page "https://www.ctan.org/pkg/bigfoot")
|
(lambda _
|
||||||
(synopsis "Footnotes for critical editions")
|
(for-each delete-file (find-files "." "\\.drv$"))))
|
||||||
(description
|
(replace 'copy-files
|
||||||
"This package aims to provide a one-stop solution to requirements for
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
footnotes. It offers: Multiple footnote apparatus superior to that of
|
(let ((origin (assoc-ref inputs "source"))
|
||||||
|
(source (string-append #$output
|
||||||
|
"/share/texmf-dist/source"))
|
||||||
|
(doc (string-append #$output:doc
|
||||||
|
"/share/texmf-dist/doc")))
|
||||||
|
(copy-recursively (string-append origin "/source") source)
|
||||||
|
(copy-recursively (string-append origin "/doc") doc))))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list texlive-etex texlive-ncctools))
|
||||||
|
(home-page "https://ctan.org/pkg/bigfoot")
|
||||||
|
(synopsis "Footnotes for critical editions")
|
||||||
|
(description
|
||||||
|
"The package aims to provide a one-stop solution to requirements for
|
||||||
|
footnotes. It offers multiple footnote apparatus superior to that of
|
||||||
@code{manyfoot}. Footnotes can be formatted in separate paragraphs, or be run
|
@code{manyfoot}. Footnotes can be formatted in separate paragraphs, or be run
|
||||||
into a single paragraph (this choice may be selected per footnote series);
|
into a single paragraph. Note that the majority of the @code{bigfoot}
|
||||||
Things you might have expected (such as @code{\\verb}-like material in
|
package's interface is identical to that of @code{manyfoot}; users should seek
|
||||||
footnotes, and color selections over page breaks) now work. Note that the
|
information from that package's documentation.
|
||||||
majority of the bigfoot package's interface is identical to that of
|
|
||||||
@code{manyfoot}; users should seek information from that package's
|
The @code{bigfoot} bundle also provides the @code{perpage} and @code{suffix}
|
||||||
documentation. The bigfoot bundle also provides the @code{perpage} and
|
packages.")
|
||||||
@code{suffix} packages.")
|
(license license:gpl2+))))
|
||||||
(license license:gpl2+)))
|
|
||||||
|
(define-deprecated-package texlive-latex-bigfoot texlive-bigfoot)
|
||||||
|
|
||||||
(define-public texlive-latex-blindtext
|
(define-public texlive-latex-blindtext
|
||||||
(package
|
(package
|
||||||
|
@ -5342,7 +5356,7 @@ (define-public texlive-pstool
|
||||||
"12clzcw2cl7g2chr2phgmmiwxw4859cln1gbx1wgp8bl9iw590nc")
|
"12clzcw2cl7g2chr2phgmmiwxw4859cln1gbx1wgp8bl9iw590nc")
|
||||||
#:trivial? #t))
|
#:trivial? #t))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list texlive-latex-bigfoot ; for suffix
|
(list texlive-bigfoot ; for suffix
|
||||||
texlive-filemod
|
texlive-filemod
|
||||||
texlive-latex-graphics
|
texlive-latex-graphics
|
||||||
texlive-latex-ifplatform
|
texlive-latex-ifplatform
|
||||||
|
|
Loading…
Reference in a new issue