ngz pushed a commit to branch master
in repository guix.
commit ffe2b9c3ad2aa230a36a2a16b7fc7de36c7e3a0c
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Mon Aug 14 10:02:53 2023 +0200
gnu: Add texlive-auto-pst-pdf.
* gnu/packages/tex.scm (texlive-auto-pst-pdf): New variable.
---
gnu/packages/tex.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8a564714ab..216895f7ec 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1907,6 +1907,29 @@ to get onto CTAN.")
converted between Plain TeX and LaTeX by a simple editing action.")
(license license:lppl1.3+)))
+(define-public texlive-auto-pst-pdf
+ (package
+ (name "texlive-auto-pst-pdf")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/auto-pst-pdf/"
+ "source/latex/auto-pst-pdf/"
+ "tex/latex/auto-pst-pdf/")
+ (base32
+ "1lpjwqd0rhdzz3kywl54pjlpj1qsj7kflj0336vj2zb20rxl0hqp")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs (list texlive-ifplatform texlive-iftex texlive-xkeyval))
+ (home-page "https://ctan.org/pkg/auto-pst-pdf")
+ (synopsis "Wrapper for @code{pst-pdf} (with some PSfrag features)")
+ (description
+ "The package uses @samp{--shell-escape} to execute @code{pst-pdf} when
necessary.
+Wrappers are provided for various psfrag-related features so that Matlab
+figures via @code{laprint}, Mathematica figures via MathPSfrag, and regular
+PSfrag figures can all be input consistently and easily.")
+ (license license:lppl1.3c)))
+
(define-public texlive-autoaligne
(package
(name "texlive-autoaligne")